Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7951b8c72b787c8c13599feadf581ebd8b475afa+4b1bca24a13eee0fbd94f91607ff04ee351fa403 (c923afe501f7b2ccf69de0ea373287e4abbb3d67) 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-ssh11697526022881638194.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh14111184415385038462.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh17486146700531059993.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh1412145495438969512.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-ssh4897332163139273914.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63610 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 4b1bca24a13eee0fbd94f91607ff04ee351fa403 into PR head commit 7951b8c72b787c8c13599feadf581ebd8b475afa Merge succeeded, producing 9f9958038495a98ff772ec244fc5607be7881180 Checking out Revision 9f9958038495a98ff772ec244fc5607be7881180 (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 7951b8c72b787c8c13599feadf581ebd8b475afa # 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 4b1bca24a13eee0fbd94f91607ff04ee351fa403 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f9958038495a98ff772ec244fc5607be7881180 # timeout=10 Commit message: "Merge commit '4b1bca24a13eee0fbd94f91607ff04ee351fa403' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-13T22:41:21.174Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-13T22:41:21.240Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-13T22:41:21.259Z] ========================================================= [2022-05-13T22:41:21.259Z] EdgeX Global Pipelines Version Info [2022-05-13T22:41:21.260Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 61de60c7d4fac2e184f52580ea15e2058faed5dc # timeout=10 [2022-05-13T22:41:22.056Z] ------------------- [2022-05-13T22:41:22.056Z] stable info: [2022-05-13T22:41:22.056Z] ------------------- [2022-05-13T22:41:22.056Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-13T22:41:22.056Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-13T22:41:22.056Z] Message: update stable to v1.0.230 [2022-05-13T22:41:22.630Z] ------------------- [2022-05-13T22:41:22.630Z] experimental info: [2022-05-13T22:41:22.630Z] ------------------- [2022-05-13T22:41:22.630Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-13T22:41:22.630Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-13T22:41:22.630Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-13T22:41:22.758Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-05-13T22:41:22.774Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-05-13T22:41:22.790Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-13T22:41:22.810Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-13T22:41:22.828Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-13T22:41:22.846Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-13T22:41:22.861Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-13T22:41:22.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-05-13T22:41:22.893Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-13T22:41:22.903Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-13T22:41:22.915Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-13T22:41:22.934Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-05-13T22:41:22.952Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-13T22:41:22.969Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-13T22:41:22.980Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-13T22:41:22.995Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-05-13T22:41:23.056Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-13T22:41:23.067Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-13T22:41:23.079Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-13T22:41:23.098Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-13T22:41:23.117Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-05-13T22:41:23.131Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-05-13T22:41:23.143Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-13T22:41:23.158Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-13T22:41:23.173Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-13T22:41:23.184Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-13T22:41:23.200Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo [2022-05-13T22:41:23.214Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo [2022-05-13T22:41:23.228Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo [2022-05-13T22:41:23.243Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f9958038495a98ff772ec244fc5607be7881180 [Pipeline] echo [2022-05-13T22:41:23.261Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f99580 [Pipeline] echo [2022-05-13T22:41:23.275Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-13T22:41:23.322Z] provisioning config files... [2022-05-13T22:41:23.335Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config3183308411326934451tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-13T22:41:23.655Z] ---> docker-login.sh [2022-05-13T22:41:23.655Z] nexus3.edgexfoundry.org:10001 [2022-05-13T22:41:24.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:41:24.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:41:24.489Z] Configure a credential helper to remove this warning. See [2022-05-13T22:41:24.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:41:24.489Z] [2022-05-13T22:41:24.489Z] Login Succeeded [2022-05-13T22:41:24.489Z] nexus3.edgexfoundry.org:10002 [2022-05-13T22:41:24.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:41:24.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:41:24.489Z] Configure a credential helper to remove this warning. See [2022-05-13T22:41:24.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:41:24.489Z] [2022-05-13T22:41:24.489Z] Login Succeeded [2022-05-13T22:41:24.489Z] nexus3.edgexfoundry.org:10003 [2022-05-13T22:41:24.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:41:24.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:41:24.749Z] Configure a credential helper to remove this warning. See [2022-05-13T22:41:24.750Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:41:24.750Z] [2022-05-13T22:41:24.750Z] Login Succeeded [2022-05-13T22:41:24.750Z] nexus3.edgexfoundry.org:10004 [2022-05-13T22:41:24.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:41:25.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:41:25.013Z] Configure a credential helper to remove this warning. See [2022-05-13T22:41:25.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:41:25.013Z] [2022-05-13T22:41:25.013Z] Login Succeeded [2022-05-13T22:41:25.013Z] docker.io [2022-05-13T22:41:25.013Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:41:25.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:41:25.275Z] Configure a credential helper to remove this warning. See [2022-05-13T22:41:25.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:41:25.275Z] [2022-05-13T22:41:25.275Z] Login Succeeded [2022-05-13T22:41:25.275Z] ---> docker-login.sh ends [Pipeline] } [2022-05-13T22:41:25.285Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-13T22:41:25.671Z] + git rev-list -1 --merges 9f9958038495a98ff772ec244fc5607be7881180~1..9f9958038495a98ff772ec244fc5607be7881180 [Pipeline] echo [2022-05-13T22:41:25.802Z] -----------> git rev-list -1 --merges 9f9958038495a98ff772ec244fc5607be7881180~1..9f9958038495a98ff772ec244fc5607be7881180 9f9958038495a98ff772ec244fc5607be7881180 [2022-05-13T22:41:25.802Z] 9f9958038495a98ff772ec244fc5607be7881180 [false] [Pipeline] sh [2022-05-13T22:41:26.103Z] + git log --format=format:%s -1 9f9958038495a98ff772ec244fc5607be7881180 [Pipeline] echo [2022-05-13T22:41:26.121Z] ========================================================= [2022-05-13T22:41:26.121Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-13T22:41:26.121Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-13T22:41:26.461Z] + git log --format=format:%s -1 9f9958038495a98ff772ec244fc5607be7881180 [Pipeline] echo [2022-05-13T22:41:26.475Z] [semverPrep] GIT_COMMIT: 9f9958038495a98ff772ec244fc5607be7881180, Commit Message: Merge commit '4b1bca24a13eee0fbd94f91607ff04ee351fa403' into HEAD [Pipeline] echo [2022-05-13T22:41:26.487Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-13T22:41:26.913Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-13T22:41:26.913Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-13T22:41:26.913Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-13T22:41:26.913Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-13T22:41:26.913Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-13T22:41:26.913Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-13T22:41:26.913Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:41:27.341Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-13T22:41:27.342Z] [2022-05-13T22:41:27.342Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:41:27.644Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-13T22:41:27.907Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-13T22:41:27.907Z] 1fe172e4850f: Pulling fs layer [2022-05-13T22:41:27.907Z] caf521ccaac6: Pulling fs layer [2022-05-13T22:41:27.907Z] 3ead6fa29328: Pulling fs layer [2022-05-13T22:41:27.907Z] 5c2a1cbceb83: Pulling fs layer [2022-05-13T22:41:27.907Z] a8d5f1318db7: Pulling fs layer [2022-05-13T22:41:27.907Z] c427282e49a2: Pulling fs layer [2022-05-13T22:41:27.907Z] 1827001aaf11: Pulling fs layer [2022-05-13T22:41:27.907Z] 0714d37db230: Pulling fs layer [2022-05-13T22:41:27.907Z] ac28cf19c067: Pulling fs layer [2022-05-13T22:41:27.907Z] ca983d60f3e2: Pulling fs layer [2022-05-13T22:41:27.907Z] 9f894cec8388: Pulling fs layer [2022-05-13T22:41:27.907Z] 1827001aaf11: Waiting [2022-05-13T22:41:27.907Z] a8d5f1318db7: Waiting [2022-05-13T22:41:27.907Z] ac28cf19c067: Waiting [2022-05-13T22:41:27.907Z] c427282e49a2: Waiting [2022-05-13T22:41:27.907Z] 9f894cec8388: Waiting [2022-05-13T22:41:27.907Z] 0714d37db230: Waiting [2022-05-13T22:41:27.907Z] ca983d60f3e2: Waiting [2022-05-13T22:41:27.907Z] caf521ccaac6: Download complete [2022-05-13T22:41:27.907Z] 5c2a1cbceb83: Verifying Checksum [2022-05-13T22:41:27.907Z] 5c2a1cbceb83: Download complete [2022-05-13T22:41:27.907Z] a8d5f1318db7: Verifying Checksum [2022-05-13T22:41:27.907Z] a8d5f1318db7: Download complete [2022-05-13T22:41:27.907Z] c427282e49a2: Verifying Checksum [2022-05-13T22:41:27.907Z] c427282e49a2: Download complete [2022-05-13T22:41:27.907Z] 3ead6fa29328: Verifying Checksum [2022-05-13T22:41:27.907Z] 3ead6fa29328: Download complete [2022-05-13T22:41:27.907Z] 0714d37db230: Verifying Checksum [2022-05-13T22:41:27.907Z] 0714d37db230: Download complete [2022-05-13T22:41:28.168Z] ac28cf19c067: Verifying Checksum [2022-05-13T22:41:28.168Z] ac28cf19c067: Download complete [2022-05-13T22:41:28.168Z] 1fe172e4850f: Verifying Checksum [2022-05-13T22:41:28.168Z] 1fe172e4850f: Download complete [2022-05-13T22:41:28.168Z] ca983d60f3e2: Verifying Checksum [2022-05-13T22:41:28.168Z] ca983d60f3e2: Download complete [2022-05-13T22:41:28.168Z] 9f894cec8388: Verifying Checksum [2022-05-13T22:41:28.168Z] 9f894cec8388: Download complete [2022-05-13T22:41:28.428Z] 1827001aaf11: Verifying Checksum [2022-05-13T22:41:28.428Z] 1827001aaf11: Download complete [2022-05-13T22:41:29.369Z] 1fe172e4850f: Pull complete [2022-05-13T22:41:29.630Z] caf521ccaac6: Pull complete [2022-05-13T22:41:30.201Z] 3ead6fa29328: Pull complete [2022-05-13T22:41:30.201Z] 5c2a1cbceb83: Pull complete [2022-05-13T22:41:30.462Z] a8d5f1318db7: Pull complete [2022-05-13T22:41:30.462Z] c427282e49a2: Pull complete [2022-05-13T22:41:32.375Z] 1827001aaf11: Pull complete [2022-05-13T22:41:32.375Z] 0714d37db230: Pull complete [2022-05-13T22:41:32.636Z] ac28cf19c067: Pull complete [2022-05-13T22:41:32.636Z] ca983d60f3e2: Pull complete [2022-05-13T22:41:32.636Z] 9f894cec8388: Pull complete [2022-05-13T22:41:32.636Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-13T22:41:32.636Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-13T22:41:32.636Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-13T22:41:32.712Z] prd-ubuntu20.04-docker-8c-8g-63610 does not seem to be running inside a container [2022-05-13T22:41:32.754Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-13T22:41:34.570Z] $ docker top e14492c252f98881cd695368415cc69da48c9d3a16b44e0a634512f51b65ff8b -eo pid,comm [2022-05-13T22:41:34.641Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-13T22:41:34.641Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-13T22:41:34.690Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-13T22:41:34.690Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-13T22:41:34.834Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-13T22:41:34.841Z] $ docker exec e14492c252f98881cd695368415cc69da48c9d3a16b44e0a634512f51b65ff8b ssh-agent [2022-05-13T22:41:34.963Z] SSH_AUTH_SOCK=/tmp/ssh-pB3uCqK7beZy/agent.33 [2022-05-13T22:41:34.963Z] SSH_AGENT_PID=39 [2022-05-13T22:41:34.975Z] Running ssh-add (command line suppressed) [2022-05-13T22:41:35.111Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_8418798244646325513.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_8418798244646325513.key) [2022-05-13T22:41:35.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-13T22:41:35.419Z] + git tag --points-at HEAD [Pipeline] } [2022-05-13T22:41:35.442Z] $ docker exec --env ******** --env ******** e14492c252f98881cd695368415cc69da48c9d3a16b44e0a634512f51b65ff8b ssh-agent -k [2022-05-13T22:41:35.567Z] unset SSH_AUTH_SOCK; [2022-05-13T22:41:35.567Z] unset SSH_AGENT_PID; [2022-05-13T22:41:35.567Z] echo Agent pid 39 killed; [2022-05-13T22:41:35.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-13T22:41:35.601Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-13T22:41:35.601Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-13T22:41:35.745Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-13T22:41:35.751Z] $ docker exec e14492c252f98881cd695368415cc69da48c9d3a16b44e0a634512f51b65ff8b ssh-agent [2022-05-13T22:41:35.887Z] SSH_AUTH_SOCK=/tmp/ssh-HBqSIA0CbG3H/agent.71 [2022-05-13T22:41:35.887Z] SSH_AGENT_PID=78 [2022-05-13T22:41:35.893Z] Running ssh-add (command line suppressed) [2022-05-13T22:41:36.012Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_2780038206135789644.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_2780038206135789644.key) [2022-05-13T22:41:36.028Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-13T22:41:36.319Z] + git semver init [2022-05-13T22:41:36.580Z] 2022-05-13 22:41:36,506 [run_init] DEBUG init version:0.0.0 force:False [2022-05-13T22:41:36.580Z] 2022-05-13 22:41:36,507 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-05-13T22:41:36.580Z] 2022-05-13 22:41:36,507 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [2022-05-13T22:41:36.580Z] 2022-05-13 22:41:36,507 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144, universal_newlines=False, shell=None, istream=None) [2022-05-13T22:41:37.526Z] 2022-05-13 22:41:37,388 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.git/info/exclude [2022-05-13T22:41:37.526Z] 2022-05-13 22:41:37,388 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 with force:False [2022-05-13T22:41:37.526Z] 2022-05-13 22:41:37,389 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-05-13T22:41:37.526Z] 2022-05-13 22:41:37,393 [execute] INFO git cat-file --batch-check [2022-05-13T22:41:37.526Z] 2022-05-13 22:41:37,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-05-13T22:41:37.526Z] 2022-05-13 22:41:37,399 [execute] INFO git cat-file --batch [2022-05-13T22:41:37.526Z] 2022-05-13 22:41:37,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver, universal_newlines=False, shell=None, istream=) [2022-05-13T22:41:37.526Z] 2022-05-13 22:41:37,404 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver/PR-1144 [2022-05-13T22:41:37.526Z] 0.0.0 [Pipeline] } [2022-05-13T22:41:37.540Z] $ docker exec --env ******** --env ******** e14492c252f98881cd695368415cc69da48c9d3a16b44e0a634512f51b65ff8b ssh-agent -k [2022-05-13T22:41:37.652Z] unset SSH_AUTH_SOCK; [2022-05-13T22:41:37.653Z] unset SSH_AGENT_PID; [2022-05-13T22:41:37.653Z] echo Agent pid 78 killed; [2022-05-13T22:41:37.662Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-13T22:41:37.980Z] + git semver [Pipeline] } [2022-05-13T22:41:38.581Z] $ docker stop --time=1 e14492c252f98881cd695368415cc69da48c9d3a16b44e0a634512f51b65ff8b [2022-05-13T22:41:39.921Z] $ docker rm -f e14492c252f98881cd695368415cc69da48c9d3a16b44e0a634512f51b65ff8b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-13T22:41:40.279Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-13T22:41:40.531Z] Stashed 1 file(s) [Pipeline] echo [2022-05-13T22:41:40.536Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-13T22:41:40.662Z] provisioning config files... [2022-05-13T22:41:40.673Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config8176170236230001716tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-13T22:41:40.979Z] ---> docker-login.sh [2022-05-13T22:41:40.979Z] nexus3.edgexfoundry.org:10001 [2022-05-13T22:41:40.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:41:40.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:41:40.979Z] Configure a credential helper to remove this warning. See [2022-05-13T22:41:40.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:41:40.979Z] [2022-05-13T22:41:40.979Z] Login Succeeded [2022-05-13T22:41:40.979Z] nexus3.edgexfoundry.org:10002 [2022-05-13T22:41:40.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:41:41.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:41:41.242Z] Configure a credential helper to remove this warning. See [2022-05-13T22:41:41.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:41:41.242Z] [2022-05-13T22:41:41.242Z] Login Succeeded [2022-05-13T22:41:41.242Z] nexus3.edgexfoundry.org:10003 [2022-05-13T22:41:41.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:41:41.242Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:41:41.242Z] Configure a credential helper to remove this warning. See [2022-05-13T22:41:41.242Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:41:41.242Z] [2022-05-13T22:41:41.242Z] Login Succeeded [2022-05-13T22:41:41.242Z] nexus3.edgexfoundry.org:10004 [2022-05-13T22:41:41.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:41:41.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:41:41.504Z] Configure a credential helper to remove this warning. See [2022-05-13T22:41:41.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:41:41.504Z] [2022-05-13T22:41:41.504Z] Login Succeeded [2022-05-13T22:41:41.504Z] docker.io [2022-05-13T22:41:41.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:41:41.766Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:41:41.766Z] Configure a credential helper to remove this warning. See [2022-05-13T22:41:41.766Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:41:41.766Z] [2022-05-13T22:41:41.766Z] Login Succeeded [2022-05-13T22:41:41.766Z] ---> docker-login.sh ends [Pipeline] } [2022-05-13T22:41:41.776Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-13T22:41:41.842Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-13T22:41:41.853Z] ========================================================= [2022-05-13T22:41:41.853Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-13T22:41:41.853Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:41:42.177Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-13T22:41:42.177Z] Sending build context to Docker daemon 9.771MB [2022-05-13T22:41:42.177Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-13T22:41:42.177Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-13T22:41:42.440Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-13T22:41:42.440Z] 59bf1c3509f3: Pulling fs layer [2022-05-13T22:41:42.440Z] 666ba61612fd: Pulling fs layer [2022-05-13T22:41:42.440Z] 8ed8ca486205: Pulling fs layer [2022-05-13T22:41:42.440Z] 4fe6c5a15a65: Pulling fs layer [2022-05-13T22:41:42.440Z] 22a0e8bec74d: Pulling fs layer [2022-05-13T22:41:42.440Z] ca2b28591e48: Pulling fs layer [2022-05-13T22:41:42.440Z] a51346096db8: Pulling fs layer [2022-05-13T22:41:42.440Z] daebc70d1ce1: Pulling fs layer [2022-05-13T22:41:42.440Z] 0e18a0eac166: Pulling fs layer [2022-05-13T22:41:42.440Z] 22a0e8bec74d: Waiting [2022-05-13T22:41:42.440Z] ca2b28591e48: Waiting [2022-05-13T22:41:42.440Z] 4fe6c5a15a65: Waiting [2022-05-13T22:41:42.440Z] 0e18a0eac166: Waiting [2022-05-13T22:41:42.440Z] a51346096db8: Waiting [2022-05-13T22:41:42.440Z] daebc70d1ce1: Waiting [2022-05-13T22:41:42.440Z] 8ed8ca486205: Verifying Checksum [2022-05-13T22:41:42.440Z] 8ed8ca486205: Download complete [2022-05-13T22:41:42.440Z] 666ba61612fd: Verifying Checksum [2022-05-13T22:41:42.440Z] 666ba61612fd: Download complete [2022-05-13T22:41:42.440Z] 22a0e8bec74d: Verifying Checksum [2022-05-13T22:41:42.440Z] 22a0e8bec74d: Download complete [2022-05-13T22:41:42.440Z] ca2b28591e48: Download complete [2022-05-13T22:41:42.440Z] a51346096db8: Verifying Checksum [2022-05-13T22:41:42.440Z] a51346096db8: Download complete [2022-05-13T22:41:42.440Z] 59bf1c3509f3: Verifying Checksum [2022-05-13T22:41:42.440Z] 59bf1c3509f3: Download complete [2022-05-13T22:41:42.440Z] daebc70d1ce1: Verifying Checksum [2022-05-13T22:41:42.440Z] daebc70d1ce1: Download complete [2022-05-13T22:41:42.440Z] 59bf1c3509f3: Pull complete [2022-05-13T22:41:42.703Z] 666ba61612fd: Pull complete [2022-05-13T22:41:42.703Z] 8ed8ca486205: Pull complete [2022-05-13T22:41:42.966Z] 0e18a0eac166: Verifying Checksum [2022-05-13T22:41:42.966Z] 0e18a0eac166: Download complete [2022-05-13T22:41:43.227Z] 4fe6c5a15a65: Verifying Checksum [2022-05-13T22:41:43.227Z] 4fe6c5a15a65: Download complete [2022-05-13T22:41:47.425Z] 4fe6c5a15a65: Pull complete [2022-05-13T22:41:47.425Z] 22a0e8bec74d: Pull complete [2022-05-13T22:41:47.425Z] ca2b28591e48: Pull complete [2022-05-13T22:41:47.425Z] a51346096db8: Pull complete [2022-05-13T22:41:47.425Z] daebc70d1ce1: Pull complete [2022-05-13T22:41:49.968Z] 0e18a0eac166: Pull complete [2022-05-13T22:41:49.968Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-13T22:41:49.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-13T22:41:49.968Z] ---> f018257e8ee9 [2022-05-13T22:41:49.968Z] Step 3/11 : ARG MAKE=make build [2022-05-13T22:41:51.889Z] ---> Running in 2aee5063121d [2022-05-13T22:41:51.889Z] Removing intermediate container 2aee5063121d [2022-05-13T22:41:51.889Z] ---> eff235d9fc6c [2022-05-13T22:41:51.889Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-13T22:41:51.889Z] ---> Running in 7939fdd17391 [2022-05-13T22:41:51.889Z] Removing intermediate container 7939fdd17391 [2022-05-13T22:41:51.889Z] ---> 5835ffd10011 [2022-05-13T22:41:51.889Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-13T22:41:51.889Z] ---> Running in 5d278334ffec [2022-05-13T22:41:52.150Z] Removing intermediate container 5d278334ffec [2022-05-13T22:41:52.150Z] ---> f3ef102ce172 [2022-05-13T22:41:52.150Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-13T22:41:52.150Z] ---> Running in 4cd7957577bb [2022-05-13T22:41:52.721Z] Removing intermediate container 4cd7957577bb [2022-05-13T22:41:52.721Z] ---> 9519403c11b8 [2022-05-13T22:41:52.721Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-13T22:41:52.721Z] ---> Running in 42608c902d54 [2022-05-13T22:41:52.983Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-13T22:41:53.928Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-13T22:41:54.190Z] OK: 221 MiB in 52 packages [2022-05-13T22:41:54.764Z] Removing intermediate container 42608c902d54 [2022-05-13T22:41:54.764Z] ---> 2efd42d646eb [2022-05-13T22:41:54.764Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-13T22:41:54.764Z] ---> f6965f65ba11 [2022-05-13T22:41:54.764Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-13T22:41:55.025Z] ---> Running in 65df1d09aece [2022-05-13T22:41:55.630Z] Still waiting to schedule task [2022-05-13T22:41:55.630Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-05-13T22:42:13.151Z] Removing intermediate container 65df1d09aece [2022-05-13T22:42:13.151Z] ---> cb518bf0b87a [2022-05-13T22:42:13.151Z] Step 10/11 : COPY . . [2022-05-13T22:42:13.151Z] ---> 97211dab66ef [2022-05-13T22:42:13.151Z] Step 11/11 : RUN ${MAKE} [2022-05-13T22:42:13.151Z] ---> Running in 4cc2a4b60219 [2022-05-13T22:42:13.151Z] noop [2022-05-13T22:42:13.151Z] Removing intermediate container 4cc2a4b60219 [2022-05-13T22:42:13.151Z] ---> e10ff5dd4065 [2022-05-13T22:42:13.151Z] Successfully built e10ff5dd4065 [2022-05-13T22:42:13.151Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:42:13.449Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-13T22:42:13.450Z] . [Pipeline] withDockerContainer [2022-05-13T22:42:13.525Z] prd-ubuntu20.04-docker-8c-8g-63610 does not seem to be running inside a container [2022-05-13T22:42:13.571Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-13T22:42:13.970Z] $ docker top c9c91b895f4f6e2f9e98a58b4e65d5deea7a3a391a85ab002c9b210748e15873 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-13T22:42:14.328Z] + go version [2022-05-13T22:42:14.328Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-13T22:42:14.343Z] $ docker stop --time=1 c9c91b895f4f6e2f9e98a58b4e65d5deea7a3a391a85ab002c9b210748e15873 [2022-05-13T22:42:15.715Z] $ docker rm -f c9c91b895f4f6e2f9e98a58b4e65d5deea7a3a391a85ab002c9b210748e15873 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:42:16.144Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-13T22:42:16.144Z] . [Pipeline] withDockerContainer [2022-05-13T22:42:16.216Z] prd-ubuntu20.04-docker-8c-8g-63610 does not seem to be running inside a container [2022-05-13T22:42:16.255Z] $ 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 ******** ci-base-image-x86_64 cat [2022-05-13T22:42:16.635Z] $ docker top d5592140fbc0127e2e2ef9bba29ae50541013717d4e0213c8e7d09f6da65d7e0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-13T22:42:17.059Z] + make test [2022-05-13T22:42:17.059Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-13T22:42:22.407Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-13T22:42:37.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-13T22:42:37.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-13T22:42:37.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-13T22:42:37.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.084s coverage: 23.3% of statements [2022-05-13T22:42:37.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-13T22:42:37.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.062s coverage: 27.6% of statements [2022-05-13T22:42:37.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.111s coverage: 78.9% of statements [2022-05-13T22:42:37.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.085s coverage: 10.8% of statements [2022-05-13T22:42:37.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.072s coverage: 60.0% of statements [2022-05-13T22:42:37.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-13T22:42:37.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-13T22:42:37.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 34.8% of statements [2022-05-13T22:42:37.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-13T22:42:37.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.080s coverage: 86.5% of statements [2022-05-13T22:42:37.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-13T22:42:37.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-13T22:42:37.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.114s coverage: 65.1% of statements [2022-05-13T22:42:37.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.845s coverage: 89.2% of statements [2022-05-13T22:42:37.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-13T22:42:37.302Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.070s coverage: 4.7% of statements [2022-05-13T22:42:37.302Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-13T22:42:52.199Z] GO111MODULE=on go vet ./... [2022-05-13T22:42:56.403Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-13T22:42:56.403Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-13T22:42:56.403Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-13T22:42:56.991Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-13T22:42:57.009Z] $ docker stop --time=1 d5592140fbc0127e2e2ef9bba29ae50541013717d4e0213c8e7d09f6da65d7e0 [2022-05-13T22:42:59.262Z] $ docker rm -f d5592140fbc0127e2e2ef9bba29ae50541013717d4e0213c8e7d09f6da65d7e0 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-13T22:42:59.777Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-13T22:42:59.840Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-13T22:43:00.558Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-13T22:43:00.850Z] + ls -al . [2022-05-13T22:43:00.850Z] total 300 [2022-05-13T22:43:00.850Z] drwxrwxr-x 11 jenkins jenkins 4096 May 13 22:42 . [2022-05-13T22:43:00.850Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 22:41 .. [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 140 May 13 22:41 .dockerignore [2022-05-13T22:43:00.850Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 22:41 .git [2022-05-13T22:43:00.850Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 22:41 .github [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 131 May 13 22:41 .gitignore [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 42 May 13 22:41 .golangci.yml [2022-05-13T22:43:00.850Z] drwxr-xr-x 3 jenkins jenkins 4096 May 13 22:41 .semver [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 13 22:41 CHANGELOG.md [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 677 May 13 22:41 GOVERNANCE.md [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 880 May 13 22:41 Jenkinsfile [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 13 22:41 LICENSE [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 13 22:41 Makefile [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 619 May 13 22:41 OWNERS.md [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 13 22:41 README.md [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 22:41 VERSION [2022-05-13T22:43:00.850Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 22:41 bin [2022-05-13T22:43:00.850Z] -rw-r--r-- 1 jenkins jenkins 130739 May 13 22:42 coverage.out [2022-05-13T22:43:00.850Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 22:41 example [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 13 22:41 go.mod [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 34898 May 13 22:41 go.sum [2022-05-13T22:43:00.850Z] drwxrwxr-x 15 jenkins jenkins 4096 May 13 22:41 internal [2022-05-13T22:43:00.850Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 22:41 openapi [2022-05-13T22:43:00.850Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 22:41 pkg [2022-05-13T22:43:00.850Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 22:41 snap [2022-05-13T22:43:00.850Z] -rw-rw-r-- 1 jenkins jenkins 222 May 13 22:41 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:43:01.165Z] + 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=9f9958038495a98ff772ec244fc5607be7881180 --label arch=amd64 --label version=0.0.0 . [2022-05-13T22:43:01.165Z] Sending build context to Docker daemon 9.903MB [2022-05-13T22:43:01.165Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-13T22:43:01.165Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-13T22:43:01.165Z] ---> e10ff5dd4065 [2022-05-13T22:43:01.165Z] Step 3/25 : ARG MAKE=make build [2022-05-13T22:43:01.428Z] ---> Running in 96e62a7e0f6c [2022-05-13T22:43:01.428Z] Removing intermediate container 96e62a7e0f6c [2022-05-13T22:43:01.428Z] ---> 0a6f51c9697b [2022-05-13T22:43:01.428Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-13T22:43:01.428Z] ---> Running in 8d75ad5b12cf [2022-05-13T22:43:01.690Z] Removing intermediate container 8d75ad5b12cf [2022-05-13T22:43:01.690Z] ---> 30c2597b6e4a [2022-05-13T22:43:01.690Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-13T22:43:01.690Z] ---> Running in a26928e5de93 [2022-05-13T22:43:01.690Z] Removing intermediate container a26928e5de93 [2022-05-13T22:43:01.690Z] ---> 79f24aa62f56 [2022-05-13T22:43:01.690Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-13T22:43:01.690Z] ---> Running in e2750e47b631 [2022-05-13T22:43:02.630Z] Removing intermediate container e2750e47b631 [2022-05-13T22:43:02.630Z] ---> 0c9e3cdb921b [2022-05-13T22:43:02.630Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-13T22:43:02.630Z] ---> Running in 6bccd875f464 [2022-05-13T22:43:02.890Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-13T22:43:03.460Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-13T22:43:04.030Z] OK: 221 MiB in 52 packages [2022-05-13T22:43:04.289Z] Removing intermediate container 6bccd875f464 [2022-05-13T22:43:04.289Z] ---> af1ad4691d5e [2022-05-13T22:43:04.289Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-13T22:43:04.289Z] ---> 0ca44097dc67 [2022-05-13T22:43:04.289Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-13T22:43:04.550Z] ---> Running in 9c7fcd72543e [2022-05-13T22:43:05.120Z] Removing intermediate container 9c7fcd72543e [2022-05-13T22:43:05.120Z] ---> 294deeeb9fdf [2022-05-13T22:43:05.120Z] Step 10/25 : COPY . . [2022-05-13T22:43:05.692Z] ---> 0172558b88a9 [2022-05-13T22:43:05.692Z] Step 11/25 : RUN ${MAKE} [2022-05-13T22:43:05.692Z] ---> Running in ee0cc367f713 [2022-05-13T22:43:05.953Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-13T22:43:24.159Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-13T22:43:27.452Z] Removing intermediate container ee0cc367f713 [2022-05-13T22:43:27.452Z] ---> 782087896356 [2022-05-13T22:43:27.452Z] Step 12/25 : FROM alpine:3.14 [2022-05-13T22:43:27.714Z] 3.14: Pulling from library/alpine [2022-05-13T22:43:27.880Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63611 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws [2022-05-13T22:43:27.892Z] Running in /w/workspace/device-sdk-go/16 [Pipeline] { [Pipeline] checkout [2022-05-13T22:43:27.975Z] 8663204ce13b: Pulling fs layer [2022-05-13T22:43:27.975Z] 8663204ce13b: Verifying Checksum [2022-05-13T22:43:27.975Z] 8663204ce13b: Download complete [2022-05-13T22:43:28.234Z] 8663204ce13b: Pull complete [2022-05-13T22:43:28.234Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-13T22:43:28.234Z] Status: Downloaded newer image for alpine:3.14 [2022-05-13T22:43:28.234Z] ---> e04c818066af [2022-05-13T22:43:28.234Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-13T22:43:28.287Z] The recommended git tool is: git [2022-05-13T22:43:28.493Z] ---> Running in 09f4ad9f7470 [2022-05-13T22:43:28.493Z] Removing intermediate container 09f4ad9f7470 [2022-05-13T22:43:28.493Z] ---> 274ee29f6193 [2022-05-13T22:43:28.493Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-13T22:43:28.493Z] ---> Running in 2fb527940a54 [2022-05-13T22:43:29.065Z] Removing intermediate container 2fb527940a54 [2022-05-13T22:43:29.065Z] ---> 6c4af7b9e480 [2022-05-13T22:43:29.065Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-13T22:43:29.065Z] ---> Running in 64f420f354bb [2022-05-13T22:43:29.325Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-13T22:43:30.267Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-13T22:43:30.532Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-13T22:43:30.532Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-13T22:43:30.793Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-13T22:43:30.793Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-13T22:43:30.793Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-13T22:43:31.055Z] Executing busybox-1.33.1-r7.trigger [2022-05-13T22:43:31.055Z] OK: 8 MiB in 19 packages [2022-05-13T22:43:31.314Z] Removing intermediate container 64f420f354bb [2022-05-13T22:43:31.314Z] ---> 05066d1668b2 [2022-05-13T22:43:31.314Z] Step 16/25 : WORKDIR / [2022-05-13T22:43:31.576Z] ---> Running in ea72c6994891 [2022-05-13T22:43:31.576Z] Removing intermediate container ea72c6994891 [2022-05-13T22:43:31.576Z] ---> fe8233f1dc6b [2022-05-13T22:43:31.576Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-13T22:43:31.835Z] ---> e601fd70d12c [2022-05-13T22:43:31.835Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-13T22:43:32.405Z] ---> 04e7a1bf43a1 [2022-05-13T22:43:32.405Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-13T22:43:32.672Z] ---> d48870daaa64 [2022-05-13T22:43:32.672Z] Step 20/25 : EXPOSE 59999 [2022-05-13T22:43:32.672Z] ---> Running in de4c2b551d5d [2022-05-13T22:43:32.672Z] Removing intermediate container de4c2b551d5d [2022-05-13T22:43:32.672Z] ---> 9b5b23f9d427 [2022-05-13T22:43:32.672Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-13T22:43:32.936Z] ---> Running in 942d261226a7 [2022-05-13T22:43:32.936Z] Removing intermediate container 942d261226a7 [2022-05-13T22:43:32.936Z] ---> 096d3210b888 [2022-05-13T22:43:32.936Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-13T22:43:32.936Z] ---> Running in 8c1f627c399d [2022-05-13T22:43:32.936Z] Removing intermediate container 8c1f627c399d [2022-05-13T22:43:32.936Z] ---> a45ea652b42b [2022-05-13T22:43:32.936Z] Step 23/25 : LABEL arch=amd64 [2022-05-13T22:43:33.200Z] ---> Running in 6cf4bb60b8f0 [2022-05-13T22:43:33.200Z] Removing intermediate container 6cf4bb60b8f0 [2022-05-13T22:43:33.200Z] ---> 3046de670573 [2022-05-13T22:43:33.200Z] Step 24/25 : LABEL git_sha=9f9958038495a98ff772ec244fc5607be7881180 [2022-05-13T22:43:33.200Z] ---> Running in cdc7b413a1e1 [2022-05-13T22:43:33.200Z] Removing intermediate container cdc7b413a1e1 [2022-05-13T22:43:33.200Z] ---> c52c9c5f694e [2022-05-13T22:43:33.200Z] Step 25/25 : LABEL version=0.0.0 [2022-05-13T22:43:33.460Z] ---> Running in 2e024e7fd6cd [2022-05-13T22:43:33.460Z] Removing intermediate container 2e024e7fd6cd [2022-05-13T22:43:33.460Z] ---> c3185da0dfc3 [2022-05-13T22:43:33.460Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-13T22:43:33.460Z] Successfully built c3185da0dfc3 [2022-05-13T22:43:33.460Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:43:33.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-13T22:43:33.900Z] [2022-05-13T22:43:33.900Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:43:34.200Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-13T22:43:34.200Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-13T22:43:34.200Z] 5eb5b503b376: Pulling fs layer [2022-05-13T22:43:34.200Z] 5c69ac0246d0: Pulling fs layer [2022-05-13T22:43:34.200Z] ec43610c2a17: Pulling fs layer [2022-05-13T22:43:34.200Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-13T22:43:34.200Z] 33b1e0a273af: Pulling fs layer [2022-05-13T22:43:34.200Z] 5d3b04190fa2: Pulling fs layer [2022-05-13T22:43:34.200Z] 2f39f015ded8: Pulling fs layer [2022-05-13T22:43:34.200Z] 33b1e0a273af: Waiting [2022-05-13T22:43:34.200Z] 5d3b04190fa2: Waiting [2022-05-13T22:43:34.200Z] 2f39f015ded8: Waiting [2022-05-13T22:43:34.200Z] 3a2ae6a8a46f: Waiting [2022-05-13T22:43:34.200Z] 5c69ac0246d0: Download complete [2022-05-13T22:43:34.200Z] 3a2ae6a8a46f: Verifying Checksum [2022-05-13T22:43:34.200Z] 3a2ae6a8a46f: Download complete [2022-05-13T22:43:34.200Z] 33b1e0a273af: Verifying Checksum [2022-05-13T22:43:34.200Z] 33b1e0a273af: Download complete [2022-05-13T22:43:34.200Z] 5d3b04190fa2: Verifying Checksum [2022-05-13T22:43:34.200Z] 5d3b04190fa2: Download complete [2022-05-13T22:43:34.200Z] ec43610c2a17: Verifying Checksum [2022-05-13T22:43:34.200Z] ec43610c2a17: Download complete [2022-05-13T22:43:34.459Z] 5eb5b503b376: Verifying Checksum [2022-05-13T22:43:34.459Z] 5eb5b503b376: Download complete [2022-05-13T22:43:34.830Z] using credential edgex-jenkins-ssh [2022-05-13T22:43:34.847Z] Cloning the remote Git repository [2022-05-13T22:43:35.026Z] 2f39f015ded8: Verifying Checksum [2022-05-13T22:43:35.026Z] 2f39f015ded8: Download complete [2022-05-13T22:43:35.595Z] 5eb5b503b376: Pull complete [2022-05-13T22:43:34.923Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-05-13T22:43:35.000Z] > git init /w/workspace/device-sdk-go/16 # timeout=10 [2022-05-13T22:43:35.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-13T22:43:35.113Z] > git --version # timeout=10 [2022-05-13T22:43:35.140Z] > git --version # 'git version 2.25.1' [2022-05-13T22:43:35.142Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-13T22:43:35.238Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-13T22:43:35.854Z] 5c69ac0246d0: Pull complete [2022-05-13T22:43:36.114Z] ec43610c2a17: Pull complete [2022-05-13T22:43:36.114Z] 3a2ae6a8a46f: Pull complete [2022-05-13T22:43:36.374Z] 33b1e0a273af: Pull complete [2022-05-13T22:43:36.374Z] 5d3b04190fa2: Pull complete [2022-05-13T22:43:36.781Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-13T22:43:36.796Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-13T22:43:36.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-05-13T22:43:36.866Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-05-13T22:43:36.866Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-13T22:43:36.878Z] > 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-05-13T22:43:37.444Z] Merging remotes/origin/main commit 4b1bca24a13eee0fbd94f91607ff04ee351fa403 into PR head commit 7951b8c72b787c8c13599feadf581ebd8b475afa [2022-05-13T22:43:37.719Z] Merge succeeded, producing b6e26fa9ecf16ea5494d9bb28f3e8fdad2338724 [2022-05-13T22:43:37.720Z] Checking out Revision b6e26fa9ecf16ea5494d9bb28f3e8fdad2338724 (PR-1144) [2022-05-13T22:43:37.465Z] > git config core.sparsecheckout # timeout=10 [2022-05-13T22:43:37.478Z] > git checkout -f 7951b8c72b787c8c13599feadf581ebd8b475afa # timeout=10 [2022-05-13T22:43:37.585Z] > git remote # timeout=10 [2022-05-13T22:43:37.600Z] > git config --get remote.origin.url # timeout=10 [2022-05-13T22:43:37.612Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-13T22:43:37.622Z] > git merge 4b1bca24a13eee0fbd94f91607ff04ee351fa403 # timeout=10 [2022-05-13T22:43:37.708Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-13T22:43:37.731Z] > git config core.sparsecheckout # timeout=10 [2022-05-13T22:43:37.759Z] > git checkout -f b6e26fa9ecf16ea5494d9bb28f3e8fdad2338724 # timeout=10 [2022-05-13T22:43:41.655Z] 2f39f015ded8: Pull complete [2022-05-13T22:43:41.655Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-13T22:43:41.655Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-13T22:43:41.655Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-13T22:43:41.722Z] prd-ubuntu20.04-docker-8c-8g-63610 does not seem to be running inside a container [2022-05-13T22:43:41.760Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-13T22:43:41.851Z] Commit message: "Merge commit '4b1bca24a13eee0fbd94f91607ff04ee351fa403' into HEAD" [2022-05-13T22:43:41.878Z] First time build. Skipping changelog. [2022-05-13T22:43:42.247Z] [2022-05-13T22:43:42.247Z] GitHub has been notified of this commit’s build result [2022-05-13T22:43:42.247Z] [2022-05-13T22:43:41.868Z] > git rev-list --no-walk 61de60c7d4fac2e184f52580ea15e2058faed5dc # timeout=10 [2022-05-13T22:43:43.890Z] $ docker top 0c2657f72edffbbeb619d3d8cbe65c26e43f0c5a3493dc895c4d185cd153fdf5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-13T22:43:44.326Z] ---> job-cost.sh [2022-05-13T22:43:44.326Z] lf-activate-venv: SKIPPING [2022-05-13T22:43:44.326Z] INFO: No Stack... [2022-05-13T22:43:44.610Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-13T22:43:44.610Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-13T22:43:44.610Z] Dload Upload Total Spent Left Speed [2022-05-13T22:43:44.610Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 50632 0 --:--:-- --:--:-- --:--:-- 50842 [Pipeline] sh [2022-05-13T22:43:44.896Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-13T22:43:45.112Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-13T22:43:45.157Z] INFO: Archiving Costs [Pipeline] sh [2022-05-13T22:43:45.448Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-13T22:43:45.449Z] + sudo tee /etc/docker/daemon.new [2022-05-13T22:43:45.449Z] { [2022-05-13T22:43:45.449Z] "registry-mirrors": [ [2022-05-13T22:43:45.449Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-13T22:43:45.449Z] ], [2022-05-13T22:43:45.449Z] "bip": "10.250.0.254/24", [2022-05-13T22:43:45.449Z] "hosts": [ [2022-05-13T22:43:45.449Z] "tcp://0.0.0.0:5555", [2022-05-13T22:43:45.449Z] "unix:///var/run/docker.sock" [2022-05-13T22:43:45.449Z] ], [2022-05-13T22:43:45.449Z] "mtu": 1458, [2022-05-13T22:43:45.449Z] "selinux-enabled": true, [2022-05-13T22:43:45.449Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-13T22:43:45.449Z] } [Pipeline] sh [2022-05-13T22:43:45.478Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv [2022-05-13T22:43:45.478Z] + cut -d, -f6 [Pipeline] lock [2022-05-13T22:43:45.542Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-16-stack-cost] [2022-05-13T22:43:45.549Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-16-stack-cost] did not exist. Created. [2022-05-13T22:43:45.549Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-13T22:43:45.791Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-13T22:43:45.854Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-13T22:43:45.940Z] Stashed 1 file(s) [Pipeline] } [2022-05-13T22:43:45.948Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-13T22:43:45.969Z] $ docker stop --time=1 0c2657f72edffbbeb619d3d8cbe65c26e43f0c5a3493dc895c4d185cd153fdf5 [2022-05-13T22:43:46.135Z] + sudo service docker restart [2022-05-13T22:43:47.377Z] $ docker rm -f 0c2657f72edffbbeb619d3d8cbe65c26e43f0c5a3493dc895c4d185cd153fdf5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-13T22:44:04.462Z] provisioning config files... [2022-05-13T22:44:04.489Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/16@tmp/config1027674042142015643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-13T22:44:04.848Z] ---> docker-login.sh [2022-05-13T22:44:04.848Z] nexus3.edgexfoundry.org:10001 [2022-05-13T22:44:05.446Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:44:05.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:44:05.721Z] Configure a credential helper to remove this warning. See [2022-05-13T22:44:05.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:44:05.721Z] [2022-05-13T22:44:05.721Z] Login Succeeded [2022-05-13T22:44:05.721Z] nexus3.edgexfoundry.org:10002 [2022-05-13T22:44:05.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:44:05.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:44:05.996Z] Configure a credential helper to remove this warning. See [2022-05-13T22:44:05.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:44:05.997Z] [2022-05-13T22:44:05.997Z] Login Succeeded [2022-05-13T22:44:06.271Z] nexus3.edgexfoundry.org:10003 [2022-05-13T22:44:06.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:44:06.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:44:06.546Z] Configure a credential helper to remove this warning. See [2022-05-13T22:44:06.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:44:06.546Z] [2022-05-13T22:44:06.546Z] Login Succeeded [2022-05-13T22:44:06.546Z] nexus3.edgexfoundry.org:10004 [2022-05-13T22:44:06.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:44:07.105Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:44:07.105Z] Configure a credential helper to remove this warning. See [2022-05-13T22:44:07.105Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:44:07.105Z] [2022-05-13T22:44:07.105Z] Login Succeeded [2022-05-13T22:44:07.105Z] docker.io [2022-05-13T22:44:07.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-13T22:44:07.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-13T22:44:07.976Z] Configure a credential helper to remove this warning. See [2022-05-13T22:44:07.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-13T22:44:07.976Z] [2022-05-13T22:44:07.976Z] Login Succeeded [2022-05-13T22:44:07.976Z] ---> docker-login.sh ends [Pipeline] } [2022-05-13T22:44:07.995Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-13T22:44:08.536Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-13T22:44:08.548Z] ========================================================= [2022-05-13T22:44:08.549Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-13T22:44:08.549Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:44:08.905Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-13T22:44:09.520Z] Sending build context to Docker daemon 5.265MB [2022-05-13T22:44:09.521Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-05-13T22:44:09.521Z] Step 2/11 : FROM ${BASE} AS builder [2022-05-13T22:44:09.521Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-13T22:44:09.521Z] 9b3977197b4f: Pulling fs layer [2022-05-13T22:44:09.521Z] 1a89e8eeedd5: Pulling fs layer [2022-05-13T22:44:09.521Z] 94645a83ff95: Pulling fs layer [2022-05-13T22:44:09.521Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-13T22:44:09.521Z] 0c92f367c5e7: Pulling fs layer [2022-05-13T22:44:09.521Z] 3096ccb668a1: Pulling fs layer [2022-05-13T22:44:09.521Z] e8cf19c19ddd: Pulling fs layer [2022-05-13T22:44:09.521Z] a4caa8a26152: Pulling fs layer [2022-05-13T22:44:09.521Z] 0c92f367c5e7: Waiting [2022-05-13T22:44:09.521Z] 3096ccb668a1: Waiting [2022-05-13T22:44:09.521Z] e8cf19c19ddd: Waiting [2022-05-13T22:44:09.521Z] a4caa8a26152: Waiting [2022-05-13T22:44:09.521Z] 3f3a8bcf1eab: Waiting [2022-05-13T22:44:09.521Z] 94645a83ff95: Download complete [2022-05-13T22:44:09.521Z] 1a89e8eeedd5: Verifying Checksum [2022-05-13T22:44:09.521Z] 1a89e8eeedd5: Download complete [2022-05-13T22:44:09.521Z] 0c92f367c5e7: Verifying Checksum [2022-05-13T22:44:09.521Z] 0c92f367c5e7: Download complete [2022-05-13T22:44:09.521Z] 3096ccb668a1: Download complete [2022-05-13T22:44:09.797Z] 9b3977197b4f: Verifying Checksum [2022-05-13T22:44:09.797Z] 9b3977197b4f: Download complete [2022-05-13T22:44:09.797Z] e8cf19c19ddd: Verifying Checksum [2022-05-13T22:44:09.797Z] e8cf19c19ddd: Download complete [2022-05-13T22:44:10.400Z] 9b3977197b4f: Pull complete [2022-05-13T22:44:11.005Z] 1a89e8eeedd5: Pull complete [2022-05-13T22:44:11.284Z] 94645a83ff95: Pull complete [2022-05-13T22:44:11.884Z] a4caa8a26152: Verifying Checksum [2022-05-13T22:44:11.884Z] a4caa8a26152: Download complete [2022-05-13T22:44:12.159Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-13T22:44:12.159Z] 3f3a8bcf1eab: Download complete [2022-05-13T22:44:24.580Z] 3f3a8bcf1eab: Pull complete [2022-05-13T22:44:24.580Z] 0c92f367c5e7: Pull complete [2022-05-13T22:44:24.580Z] 3096ccb668a1: Pull complete [2022-05-13T22:44:24.580Z] e8cf19c19ddd: Pull complete [2022-05-13T22:44:31.361Z] a4caa8a26152: Pull complete [2022-05-13T22:44:31.361Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-13T22:44:31.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-13T22:44:31.361Z] ---> 725f1c02e7f9 [2022-05-13T22:44:31.361Z] Step 3/11 : ARG MAKE=make build [2022-05-13T22:44:31.637Z] ---> Running in 5ea4edb10704 [2022-05-13T22:44:31.912Z] Removing intermediate container 5ea4edb10704 [2022-05-13T22:44:31.912Z] ---> 2fb0489f4c1b [2022-05-13T22:44:31.912Z] Step 4/11 : WORKDIR /device-sdk-go [2022-05-13T22:44:31.912Z] ---> Running in 57abf3421328 [2022-05-13T22:44:32.189Z] Removing intermediate container 57abf3421328 [2022-05-13T22:44:32.189Z] ---> e9351e83d619 [2022-05-13T22:44:32.189Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-13T22:44:32.472Z] ---> Running in 9c1e60e836fa [2022-05-13T22:44:32.759Z] Removing intermediate container 9c1e60e836fa [2022-05-13T22:44:32.759Z] ---> 9fe2bcf1ea5d [2022-05-13T22:44:32.759Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-13T22:44:32.759Z] ---> Running in 13856b4b993b [2022-05-13T22:44:34.748Z] Removing intermediate container 13856b4b993b [2022-05-13T22:44:34.748Z] ---> 0268d187c12f [2022-05-13T22:44:34.748Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-13T22:44:34.748Z] ---> Running in a9fb413ec0fd [2022-05-13T22:44:35.729Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-13T22:44:36.326Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-13T22:44:37.341Z] OK: 220 MiB in 52 packages [2022-05-13T22:44:38.788Z] Removing intermediate container a9fb413ec0fd [2022-05-13T22:44:38.788Z] ---> b2f7e48ea998 [2022-05-13T22:44:38.788Z] Step 8/11 : COPY go.mod vendor* ./ [2022-05-13T22:44:39.390Z] ---> d7aff782db6b [2022-05-13T22:44:39.390Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-13T22:44:39.390Z] ---> Running in 6ca708410224 [2022-05-13T22:45:26.431Z] Removing intermediate container 6ca708410224 [2022-05-13T22:45:26.431Z] ---> 54b78aa05978 [2022-05-13T22:45:26.431Z] Step 10/11 : COPY . . [2022-05-13T22:45:26.431Z] ---> 0c4ef9036e89 [2022-05-13T22:45:26.431Z] Step 11/11 : RUN ${MAKE} [2022-05-13T22:45:26.431Z] ---> Running in 091089fa6301 [2022-05-13T22:45:26.431Z] noop [2022-05-13T22:45:26.431Z] Removing intermediate container 091089fa6301 [2022-05-13T22:45:26.431Z] ---> eb328f9f1428 [2022-05-13T22:45:26.431Z] Successfully built eb328f9f1428 [2022-05-13T22:45:26.431Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:45:26.778Z] + docker inspect -f . ci-base-image-arm64 [2022-05-13T22:45:26.778Z] . [Pipeline] withDockerContainer [2022-05-13T22:45:27.026Z] prd-ubuntu20.04-docker-arm64-4c-16g-63611 does not seem to be running inside a container [2022-05-13T22:45:27.118Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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-05-13T22:45:28.410Z] $ docker top 8c822dc582de33d087182a1081206423babd4f9801ffda523ae30cee43b99b2c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-13T22:45:29.318Z] + go version [2022-05-13T22:45:29.319Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-13T22:45:29.351Z] $ docker stop --time=1 8c822dc582de33d087182a1081206423babd4f9801ffda523ae30cee43b99b2c [2022-05-13T22:45:31.007Z] $ docker rm -f 8c822dc582de33d087182a1081206423babd4f9801ffda523ae30cee43b99b2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:45:31.613Z] + docker inspect -f . ci-base-image-arm64 [2022-05-13T22:45:31.613Z] . [Pipeline] withDockerContainer [2022-05-13T22:45:31.850Z] prd-ubuntu20.04-docker-arm64-4c-16g-63611 does not seem to be running inside a container [2022-05-13T22:45:31.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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-05-13T22:45:33.257Z] $ docker top 9762600dfe044034e3c34c096e694a9e208e4b6e43b7120cc65e5e5a8d099185 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-13T22:45:34.185Z] + make test [2022-05-13T22:45:34.186Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2022-05-13T22:46:01.009Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-05-13T22:47:37.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-05-13T22:47:37.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-05-13T22:47:37.903Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-05-13T22:47:42.241Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.327s coverage: 23.3% of statements [2022-05-13T22:47:42.241Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-05-13T22:47:42.848Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.297s coverage: 27.6% of statements [2022-05-13T22:47:43.461Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.355s coverage: 78.9% of statements [2022-05-13T22:47:44.451Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.211s coverage: 10.8% of statements [2022-05-13T22:47:51.239Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.628s coverage: 60.0% of statements [2022-05-13T22:47:51.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-05-13T22:47:51.239Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-05-13T22:47:54.673Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.396s coverage: 34.8% of statements [2022-05-13T22:47:54.674Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-05-13T22:47:54.946Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.253s coverage: 86.5% of statements [2022-05-13T22:47:54.946Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-05-13T22:47:54.946Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-05-13T22:47:54.946Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.435s coverage: 65.1% of statements [2022-05-13T22:47:58.348Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.105s coverage: 89.2% of statements [2022-05-13T22:47:58.348Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-05-13T22:48:00.974Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.232s coverage: 4.7% of statements [2022-05-13T22:48:00.974Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-05-13T22:48:01.952Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-13T22:48:01.952Z] GO111MODULE=on go vet ./... [2022-05-13T22:49:23.800Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-13T22:49:23.800Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-13T22:49:23.800Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-13T22:49:23.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-13T22:49:23.850Z] $ docker stop --time=1 9762600dfe044034e3c34c096e694a9e208e4b6e43b7120cc65e5e5a8d099185 [2022-05-13T22:49:25.698Z] $ docker rm -f 9762600dfe044034e3c34c096e694a9e208e4b6e43b7120cc65e5e5a8d099185 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-13T22:49:27.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-13T22:49:27.050Z] Warning: overwriting stash ‘coverage-report’ [2022-05-13T22:49:27.651Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-13T22:49:28.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-13T22:49:28.399Z] + ls -al . [2022-05-13T22:49:28.400Z] total 296 [2022-05-13T22:49:28.400Z] drwxrwxr-x 10 jenkins jenkins 4096 May 13 22:49 . [2022-05-13T22:49:28.400Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 22:43 .. [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 140 May 13 22:43 .dockerignore [2022-05-13T22:49:28.400Z] drwxrwxr-x 8 jenkins jenkins 4096 May 13 22:43 .git [2022-05-13T22:49:28.400Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 22:43 .github [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 131 May 13 22:43 .gitignore [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 42 May 13 22:43 .golangci.yml [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 29536 May 13 22:43 CHANGELOG.md [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 677 May 13 22:43 GOVERNANCE.md [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 880 May 13 22:43 Jenkinsfile [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 13 22:43 LICENSE [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 2015 May 13 22:43 Makefile [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 619 May 13 22:43 OWNERS.md [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 4881 May 13 22:43 README.md [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 5 May 13 22:41 VERSION [2022-05-13T22:49:28.400Z] drwxrwxr-x 2 jenkins jenkins 4096 May 13 22:43 bin [2022-05-13T22:49:28.400Z] -rw-r--r-- 1 jenkins jenkins 130739 May 13 22:48 coverage.out [2022-05-13T22:49:28.400Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 22:43 example [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 3159 May 13 22:43 go.mod [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 34898 May 13 22:43 go.sum [2022-05-13T22:49:28.400Z] drwxrwxr-x 15 jenkins jenkins 4096 May 13 22:43 internal [2022-05-13T22:49:28.400Z] drwxrwxr-x 3 jenkins jenkins 4096 May 13 22:43 openapi [2022-05-13T22:49:28.400Z] drwxrwxr-x 5 jenkins jenkins 4096 May 13 22:43 pkg [2022-05-13T22:49:28.400Z] drwxrwxr-x 4 jenkins jenkins 4096 May 13 22:43 snap [2022-05-13T22:49:28.400Z] -rw-rw-r-- 1 jenkins jenkins 222 May 13 22:43 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:49:28.740Z] + 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=b6e26fa9ecf16ea5494d9bb28f3e8fdad2338724 --label arch=arm64 --label version=0.0.0 . [2022-05-13T22:49:29.335Z] Sending build context to Docker daemon 5.396MB [2022-05-13T22:49:29.335Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-13T22:49:29.335Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-13T22:49:29.335Z] ---> eb328f9f1428 [2022-05-13T22:49:29.335Z] Step 3/25 : ARG MAKE=make build [2022-05-13T22:49:29.335Z] ---> Running in 38b786ecb7cc [2022-05-13T22:49:29.612Z] Removing intermediate container 38b786ecb7cc [2022-05-13T22:49:29.612Z] ---> e85f98840549 [2022-05-13T22:49:29.612Z] Step 4/25 : WORKDIR /device-sdk-go [2022-05-13T22:49:29.612Z] ---> Running in 707525a6ea7b [2022-05-13T22:49:29.889Z] Removing intermediate container 707525a6ea7b [2022-05-13T22:49:29.889Z] ---> 61cd1b423a57 [2022-05-13T22:49:29.889Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-13T22:49:30.175Z] ---> Running in 916638402b78 [2022-05-13T22:49:30.447Z] Removing intermediate container 916638402b78 [2022-05-13T22:49:30.447Z] ---> c8ee5d0190bb [2022-05-13T22:49:30.447Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-13T22:49:30.447Z] ---> Running in 14a041559ac0 [2022-05-13T22:49:32.429Z] Removing intermediate container 14a041559ac0 [2022-05-13T22:49:32.429Z] ---> c679873bb623 [2022-05-13T22:49:32.429Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-05-13T22:49:32.429Z] ---> Running in da1952093e8e [2022-05-13T22:49:33.025Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-13T22:49:34.016Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-13T22:49:35.001Z] OK: 220 MiB in 52 packages [2022-05-13T22:49:35.604Z] Removing intermediate container da1952093e8e [2022-05-13T22:49:35.604Z] ---> cec72abd8fe3 [2022-05-13T22:49:35.604Z] Step 8/25 : COPY go.mod vendor* ./ [2022-05-13T22:49:36.211Z] ---> 81d89b9107ec [2022-05-13T22:49:36.211Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-13T22:49:36.211Z] ---> Running in 5db3eae125da [2022-05-13T22:49:38.193Z] Removing intermediate container 5db3eae125da [2022-05-13T22:49:38.193Z] ---> b0e9b7c79c10 [2022-05-13T22:49:38.193Z] Step 10/25 : COPY . . [2022-05-13T22:49:39.189Z] ---> 02af9ca4eba6 [2022-05-13T22:49:39.189Z] Step 11/25 : RUN ${MAKE} [2022-05-13T22:49:39.468Z] ---> Running in 4e87d33b0127 [2022-05-13T22:49:40.456Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2022-05-13T22:51:32.337Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-05-13T22:51:34.979Z] Removing intermediate container 4e87d33b0127 [2022-05-13T22:51:34.979Z] ---> 8b055f9e01b8 [2022-05-13T22:51:34.979Z] Step 12/25 : FROM alpine:3.14 [2022-05-13T22:51:35.576Z] 3.14: Pulling from library/alpine [2022-05-13T22:51:35.576Z] 455c02918c45: Pulling fs layer [2022-05-13T22:51:35.849Z] 455c02918c45: Verifying Checksum [2022-05-13T22:51:35.849Z] 455c02918c45: Download complete [2022-05-13T22:51:36.448Z] 455c02918c45: Pull complete [2022-05-13T22:51:36.448Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-13T22:51:36.448Z] Status: Downloaded newer image for alpine:3.14 [2022-05-13T22:51:36.448Z] ---> ac73e934f311 [2022-05-13T22:51:36.448Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-05-13T22:51:36.722Z] ---> Running in 7ffd86c2fb53 [2022-05-13T22:51:36.999Z] Removing intermediate container 7ffd86c2fb53 [2022-05-13T22:51:36.999Z] ---> 13251451773c [2022-05-13T22:51:36.999Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-13T22:51:36.999Z] ---> Running in 99c209d1100c [2022-05-13T22:51:39.005Z] Removing intermediate container 99c209d1100c [2022-05-13T22:51:39.005Z] ---> 5c0eed71572a [2022-05-13T22:51:39.005Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-05-13T22:51:39.005Z] ---> Running in aa0fb5086d47 [2022-05-13T22:51:39.602Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-13T22:51:40.580Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-13T22:51:41.559Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-05-13T22:51:41.559Z] (2/5) Installing libsodium (1.0.18-r0) [2022-05-13T22:51:41.559Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-13T22:51:41.559Z] (4/5) Installing libzmq (4.3.4-r0) [2022-05-13T22:51:41.833Z] (5/5) Installing zeromq (4.3.4-r0) [2022-05-13T22:51:41.833Z] Executing busybox-1.33.1-r7.trigger [2022-05-13T22:51:41.833Z] OK: 8 MiB in 19 packages [2022-05-13T22:51:42.817Z] Removing intermediate container aa0fb5086d47 [2022-05-13T22:51:42.817Z] ---> 887775161685 [2022-05-13T22:51:42.817Z] Step 16/25 : WORKDIR / [2022-05-13T22:51:42.817Z] ---> Running in 0ff098fbb993 [2022-05-13T22:51:43.090Z] Removing intermediate container 0ff098fbb993 [2022-05-13T22:51:43.090Z] ---> 5e7d45bfa799 [2022-05-13T22:51:43.090Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-05-13T22:51:43.689Z] ---> 15a432f3d551 [2022-05-13T22:51:43.689Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-05-13T22:51:45.136Z] ---> 2c4c65733cf2 [2022-05-13T22:51:45.136Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-05-13T22:51:45.735Z] ---> 1d9fc5899c4c [2022-05-13T22:51:45.735Z] Step 20/25 : EXPOSE 59999 [2022-05-13T22:51:45.735Z] ---> Running in 7014e3038e1b [2022-05-13T22:51:46.015Z] Removing intermediate container 7014e3038e1b [2022-05-13T22:51:46.015Z] ---> 25ffcd37ef14 [2022-05-13T22:51:46.015Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-05-13T22:51:46.291Z] ---> Running in c61001ce2b57 [2022-05-13T22:51:46.567Z] Removing intermediate container c61001ce2b57 [2022-05-13T22:51:46.567Z] ---> c40c2ed59128 [2022-05-13T22:51:46.567Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-05-13T22:51:46.567Z] ---> Running in daed4e4ae839 [2022-05-13T22:51:46.842Z] Removing intermediate container daed4e4ae839 [2022-05-13T22:51:46.842Z] ---> fa55e82fbe9f [2022-05-13T22:51:46.842Z] Step 23/25 : LABEL arch=arm64 [2022-05-13T22:51:46.842Z] ---> Running in c55c07f42194 [2022-05-13T22:51:47.128Z] Removing intermediate container c55c07f42194 [2022-05-13T22:51:47.128Z] ---> a0d603c649c0 [2022-05-13T22:51:47.128Z] Step 24/25 : LABEL git_sha=b6e26fa9ecf16ea5494d9bb28f3e8fdad2338724 [2022-05-13T22:51:47.404Z] ---> Running in b8d7c4bd9c76 [2022-05-13T22:51:47.682Z] Removing intermediate container b8d7c4bd9c76 [2022-05-13T22:51:47.682Z] ---> 2347f84423c3 [2022-05-13T22:51:47.682Z] Step 25/25 : LABEL version=0.0.0 [2022-05-13T22:51:47.682Z] ---> Running in 97a0d03c0fa5 [2022-05-13T22:51:47.957Z] Removing intermediate container 97a0d03c0fa5 [2022-05-13T22:51:47.957Z] ---> bcbf9572a1e3 [2022-05-13T22:51:47.957Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-13T22:51:47.957Z] Successfully built bcbf9572a1e3 [2022-05-13T22:51:47.957Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:51:48.390Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-13T22:51:48.390Z] [2022-05-13T22:51:48.390Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:51:48.749Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-13T22:51:49.032Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-13T22:51:49.032Z] 8998bd30e6a1: Pulling fs layer [2022-05-13T22:51:49.032Z] 04944245beec: Pulling fs layer [2022-05-13T22:51:49.032Z] 699f458cf7ca: Pulling fs layer [2022-05-13T22:51:49.032Z] 765212b225bb: Pulling fs layer [2022-05-13T22:51:49.032Z] f23df028b6ca: Pulling fs layer [2022-05-13T22:51:49.032Z] d65c8cfc05b1: Pulling fs layer [2022-05-13T22:51:49.032Z] 2437ff75d9bd: Pulling fs layer [2022-05-13T22:51:49.032Z] f23df028b6ca: Waiting [2022-05-13T22:51:49.032Z] d65c8cfc05b1: Waiting [2022-05-13T22:51:49.032Z] 2437ff75d9bd: Waiting [2022-05-13T22:51:49.032Z] 765212b225bb: Waiting [2022-05-13T22:51:49.032Z] 04944245beec: Verifying Checksum [2022-05-13T22:51:49.032Z] 04944245beec: Download complete [2022-05-13T22:51:49.032Z] 765212b225bb: Download complete [2022-05-13T22:51:49.033Z] f23df028b6ca: Verifying Checksum [2022-05-13T22:51:49.033Z] f23df028b6ca: Download complete [2022-05-13T22:51:49.033Z] d65c8cfc05b1: Verifying Checksum [2022-05-13T22:51:49.033Z] d65c8cfc05b1: Download complete [2022-05-13T22:51:49.313Z] 699f458cf7ca: Verifying Checksum [2022-05-13T22:51:49.313Z] 699f458cf7ca: Download complete [2022-05-13T22:51:49.592Z] 8998bd30e6a1: Verifying Checksum [2022-05-13T22:51:49.592Z] 8998bd30e6a1: Download complete [2022-05-13T22:51:51.603Z] 2437ff75d9bd: Verifying Checksum [2022-05-13T22:51:51.603Z] 2437ff75d9bd: Download complete [2022-05-13T22:51:54.232Z] 8998bd30e6a1: Pull complete [2022-05-13T22:51:54.232Z] 04944245beec: Pull complete [2022-05-13T22:51:55.678Z] 699f458cf7ca: Pull complete [2022-05-13T22:51:55.953Z] 765212b225bb: Pull complete [2022-05-13T22:51:56.942Z] f23df028b6ca: Pull complete [2022-05-13T22:51:57.216Z] d65c8cfc05b1: Pull complete [2022-05-13T22:52:12.347Z] 2437ff75d9bd: Pull complete [2022-05-13T22:52:12.347Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-13T22:52:12.347Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-13T22:52:12.347Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-13T22:52:12.602Z] prd-ubuntu20.04-docker-arm64-4c-16g-63611 does not seem to be running inside a container [2022-05-13T22:52:12.705Z] $ 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/16 -v /w/workspace/device-sdk-go/16:/w/workspace/device-sdk-go/16:rw,z -v /w/workspace/device-sdk-go/16@tmp:/w/workspace/device-sdk-go/16@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-05-13T22:52:15.204Z] $ docker top 959ceefb522194328ece8fb6af3b65230a1eebdb035e2a895138fa70a9b76244 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-13T22:52:16.107Z] ---> job-cost.sh [2022-05-13T22:52:16.107Z] lf-activate-venv: SKIPPING [2022-05-13T22:52:16.107Z] INFO: No Stack... [2022-05-13T22:52:16.706Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-13T22:52:17.301Z] INFO: Archiving Costs [Pipeline] sh [2022-05-13T22:52:17.980Z] + cat /w/workspace/device-sdk-go/16/archives/cost.csv [2022-05-13T22:52:17.980Z] + cut -d, -f6 [Pipeline] lock [2022-05-13T22:52:18.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-16-stack-cost] [2022-05-13T22:52:18.056Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-16-stack-cost] did not exist. Created. [2022-05-13T22:52:18.056Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-13T22:52:18.740Z] /w/workspace/device-sdk-go/16@tmp/durable-3be95f03/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-13T22:52:19.425Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-13T22:52:19.446Z] Warning: overwriting stash ‘stack-cost’ [2022-05-13T22:52:19.510Z] Stashed 1 file(s) [Pipeline] } [2022-05-13T22:52:19.517Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-16-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-13T22:52:19.547Z] $ docker stop --time=1 959ceefb522194328ece8fb6af3b65230a1eebdb035e2a895138fa70a9b76244 [2022-05-13T22:52:21.024Z] $ docker rm -f 959ceefb522194328ece8fb6af3b65230a1eebdb035e2a895138fa70a9b76244 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-05-13T22:52:21.536Z] provisioning config files... [2022-05-13T22:52:21.545Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config4225775618506199784tmp [Pipeline] { [Pipeline] sh [2022-05-13T22:52:21.840Z] + set +x [2022-05-13T22:52:21.840Z] + curl -s https://codecov.io/bash [2022-05-13T22:52:21.840Z] + bash -s -- [2022-05-13T22:52:21.840Z] [2022-05-13T22:52:21.840Z] _____ _ [2022-05-13T22:52:21.840Z] / ____| | | [2022-05-13T22:52:21.840Z] | | ___ __| | ___ ___ _____ __ [2022-05-13T22:52:21.840Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-13T22:52:21.840Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-13T22:52:21.840Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-13T22:52:21.840Z] Bash-1.0.6 [2022-05-13T22:52:21.840Z] [2022-05-13T22:52:21.840Z] [2022-05-13T22:52:21.840Z] ==> git version 2.25.1 found [2022-05-13T22:52:21.840Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-13T22:52:21.840Z] Release-Date: 2020-01-08 [2022-05-13T22:52:21.840Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-13T22:52:21.840Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-13T22:52:21.840Z] ==> Jenkins CI detected. [2022-05-13T22:52:21.840Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-05-13T22:52:21.840Z] project root: . [2022-05-13T22:52:21.840Z] --> token set from env [2022-05-13T22:52:21.840Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-13T22:52:21.840Z] ==> Running gcov in . (disable via -X gcov) [2022-05-13T22:52:21.840Z] ==> Python coveragepy not found [2022-05-13T22:52:21.840Z] ==> Searching for coverage reports in: [2022-05-13T22:52:21.840Z] + . [2022-05-13T22:52:21.840Z] -> Found 1 reports [2022-05-13T22:52:21.840Z] ==> Detecting git/mercurial file structure [2022-05-13T22:52:21.840Z] ==> Reading reports [2022-05-13T22:52:22.100Z] + ./coverage.out bytes=130739 [2022-05-13T22:52:22.100Z] ==> Appending adjustments [2022-05-13T22:52:22.100Z] https://docs.codecov.io/docs/fixing-reports [2022-05-13T22:52:22.360Z] + Found adjustments [2022-05-13T22:52:22.360Z] ==> Gzipping contents [2022-05-13T22:52:22.360Z] 20K /tmp/codecov.Av1PHS.gz [2022-05-13T22:52:22.360Z] ==> Uploading reports [2022-05-13T22:52:22.360Z] url: https://codecov.io [2022-05-13T22:52:22.360Z] query: branch=PR-1144&commit=9f9958038495a98ff772ec244fc5607be7881180&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-05-13T22:52:22.360Z] -> Pinging Codecov [2022-05-13T22:52:22.360Z] 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=9f9958038495a98ff772ec244fc5607be7881180&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= [2022-05-13T22:52:22.622Z] -> Uploading to [2022-05-13T22:52:22.622Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-13/7E55EF52A471D76F132DFD9A03CDDE97/9f9958038495a98ff772ec244fc5607be7881180/658b5a6a-7b46-48f3-8c2f-58020e34ec61.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220513T225222Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c944c876bf1af6535f487e42188292c7d0c8b35e08a2223c6fd7c5ce1ede7bc [2022-05-13T22:52:22.622Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-13T22:52:22.622Z] Dload Upload Total Spent Left Speed [2022-05-13T22:52:22.883Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16812 0 0 100 16812 0 62731 --:--:-- --:--:-- --:--:-- 62731 [2022-05-13T22:52:22.883Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9f9958038495a98ff772ec244fc5607be7881180 [Pipeline] } [2022-05-13T22:52:22.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-13T22:52:23.666Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] [2022-05-13T22:52:23.666Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-13T22:52:23.666Z] total 16 [2022-05-13T22:52:23.666Z] drwxr-xr-x 3 root root 4096 May 13 22:43 . [2022-05-13T22:52:23.666Z] drwxrwxr-x 12 jenkins jenkins 4096 May 13 22:43 .. [2022-05-13T22:52:23.666Z] drwxr-xr-x 2 root root 4096 May 13 22:43 cost [2022-05-13T22:52:23.666Z] -rw-r--r-- 1 root root 86 May 13 22:43 cost.csv [2022-05-13T22:52:23.666Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-13T22:52:23.666Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives [2022-05-13T22:52:23.666Z] total 16 [2022-05-13T22:52:23.666Z] drwxr-xr-x 3 jenkins jenkins 4096 May 13 22:43 . [2022-05-13T22:52:23.666Z] drwxrwxr-x 12 jenkins jenkins 4096 May 13 22:43 .. [2022-05-13T22:52:23.666Z] drwxr-xr-x 2 jenkins jenkins 4096 May 13 22:43 cost [2022-05-13T22:52:23.666Z] -rw-r--r-- 1 jenkins jenkins 86 May 13 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-13T22:52:23.959Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T22:52:24.828Z] ---> package-listing.sh [2022-05-13T22:52:24.828Z] ++ facter osfamily [2022-05-13T22:52:24.828Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-13T22:52:25.089Z] + OS_FAMILY=debian [2022-05-13T22:52:25.089Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 [2022-05-13T22:52:25.089Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-13T22:52:25.089Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-13T22:52:25.089Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-13T22:52:25.089Z] + PACKAGES=/tmp/packages_start.txt [2022-05-13T22:52:25.089Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-05-13T22:52:25.089Z] + PACKAGES=/tmp/packages_end.txt [2022-05-13T22:52:25.089Z] + case "${OS_FAMILY}" in [2022-05-13T22:52:25.089Z] + dpkg -l [2022-05-13T22:52:25.089Z] + grep '^ii' [2022-05-13T22:52:25.089Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-13T22:52:25.089Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-13T22:52:25.089Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-13T22:52:25.089Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' [2022-05-13T22:52:25.089Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [2022-05-13T22:52:25.089Z] + 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-05-13T22:52:25.103Z] 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-05-13T22:52:25.393Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-13T22:52:25.955Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-13T22:52:25.956Z] . [Pipeline] withDockerContainer [2022-05-13T22:52:26.022Z] prd-ubuntu20.04-docker-8c-8g-63610 does not seem to be running inside a container [2022-05-13T22:52:26.057Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-13T22:52:26.291Z] $ docker top c61a46e5b6e987e8522aa9aa99a11bdc8521eb489ae9cde325348f29449137c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-13T22:52:26.645Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-13T22:52:26.934Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-13T22:52:27.223Z] + ls /var/log/sa-host [2022-05-13T22:52:27.223Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-13T22:52:27.446Z] provisioning config files... [2022-05-13T22:52:27.455Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config5119815004350394365tmp [Pipeline] { [Pipeline] echo [2022-05-13T22:52:27.469Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T22:52:27.751Z] ---> create-netrc.sh [Pipeline] } [2022-05-13T22:52:27.758Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-13T22:52:28.088Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-13T22:52:28.099Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T22:52:28.387Z] ---> sudo-logs.sh [2022-05-13T22:52:28.387Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-13T22:52:28.416Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T22:52:28.701Z] ---> job-cost.sh [2022-05-13T22:52:28.701Z] lf-activate-venv: SKIPPING [2022-05-13T22:52:28.701Z] DEBUG: total: 0.2199999988079071 [2022-05-13T22:52:28.701Z] INFO: Retrieving Stack Cost... [2022-05-13T22:52:29.272Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-13T22:52:29.843Z] INFO: Archiving Costs [Pipeline] echo [2022-05-13T22:52:29.858Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-13T22:52:30.145Z] ---> logs-deploy.sh [2022-05-13T22:52:30.145Z] lf-activate-venv: SKIPPING [2022-05-13T22:52:30.145Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/16 [2022-05-13T22:52:30.145Z] INFO: archiving workspace using pattern(s): [2022-05-13T22:52:31.088Z] Archives upload complete. [2022-05-13T22:52:31.088Z] INFO: archiving logs to Nexus