Pull request #1488 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lindseysimple for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ca6e439590fd3e0d96364bc20f1a7957a2569ef1+5a7d05295c20c4306666c126d05bdc304538796c (2e28d83b569bad9d48bcd3186298b793c1df5d54) 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-ssh15214210850833241829.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh7001501669232891184.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-1488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-1488/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8546221971196728912.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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 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-ssh17940584693862855760.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-1488/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-1488/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7693571432963069137.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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/v3]] ========================================================= [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.20 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/v3 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 SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-2806 in /w/workspace/gexfoundry_device-sdk-go_PR-1488 [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-1488 # 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 > 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/1488/head:refs/remotes/origin/PR-1488 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5a7d05295c20c4306666c126d05bdc304538796c into PR head commit ca6e439590fd3e0d96364bc20f1a7957a2569ef1 Merge succeeded, producing ca6e439590fd3e0d96364bc20f1a7957a2569ef1 Checking out Revision ca6e439590fd3e0d96364bc20f1a7957a2569ef1 (PR-1488) > git config core.sparsecheckout # timeout=10 > git checkout -f ca6e439590fd3e0d96364bc20f1a7957a2569ef1 # 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 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca6e439590fd3e0d96364bc20f1a7957a2569ef1 # timeout=10 Commit message: "fix: Use WrapHandler func from go-mod-bootstrap" > git rev-list --no-walk 93fdda3beb2e14b4e733fb76d164ead49978cb57 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-03T04:19:54.760Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-03T04:19:54.814Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-03T04:19:54.829Z] ========================================================= [2023-08-03T04:19:54.829Z] EdgeX Global Pipelines Version Info [2023-08-03T04:19:54.829Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:19:55.541Z] ------------------- [2023-08-03T04:19:55.541Z] stable info: [2023-08-03T04:19:55.541Z] ------------------- [2023-08-03T04:19:55.541Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-03T04:19:55.541Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-03T04:19:55.541Z] Message: update stable to v1.0.250 [2023-08-03T04:19:56.111Z] ------------------- [2023-08-03T04:19:56.111Z] experimental info: [2023-08-03T04:19:56.111Z] ------------------- [2023-08-03T04:19:56.111Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-03T04:19:56.111Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-08-03T04:19:56.111Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-03T04:19:56.328Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-03T04:19:56.339Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-03T04:19:56.348Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-03T04:19:56.357Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-03T04:19:56.366Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-03T04:19:56.375Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-03T04:19:56.384Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-03T04:19:56.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-03T04:19:56.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-03T04:19:56.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-03T04:19:56.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-03T04:19:56.428Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-03T04:19:56.436Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-03T04:19:56.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-03T04:19:56.458Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-03T04:19:56.473Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-03T04:19:56.482Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-03T04:19:56.491Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-03T04:19:56.499Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-03T04:19:56.508Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-03T04:19:56.517Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-03T04:19:56.526Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-03T04:19:56.536Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-03T04:19:56.546Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-03T04:19:56.556Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-03T04:19:56.565Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-03T04:19:56.619Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-03T04:19:56.630Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1488 [Pipeline] echo [2023-08-03T04:19:56.639Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1488 [Pipeline] echo [2023-08-03T04:19:56.647Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1488 [Pipeline] echo [2023-08-03T04:19:56.656Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca6e439590fd3e0d96364bc20f1a7957a2569ef1 [Pipeline] echo [2023-08-03T04:19:56.665Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca6e439 [Pipeline] echo [2023-08-03T04:19:56.673Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-03T04:19:56.713Z] provisioning config files... [2023-08-03T04:19:56.726Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/config9867458300025916564tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:19:57.030Z] ---> docker-login.sh [2023-08-03T04:19:57.030Z] nexus3.edgexfoundry.org:10001 [2023-08-03T04:19:57.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:19:57.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:19:57.600Z] Configure a credential helper to remove this warning. See [2023-08-03T04:19:57.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:19:57.600Z] [2023-08-03T04:19:57.600Z] Login Succeeded [2023-08-03T04:19:57.600Z] nexus3.edgexfoundry.org:10002 [2023-08-03T04:19:57.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:19:57.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:19:57.600Z] Configure a credential helper to remove this warning. See [2023-08-03T04:19:57.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:19:57.600Z] [2023-08-03T04:19:57.600Z] Login Succeeded [2023-08-03T04:19:57.600Z] nexus3.edgexfoundry.org:10003 [2023-08-03T04:19:57.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:19:57.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:19:57.600Z] Configure a credential helper to remove this warning. See [2023-08-03T04:19:57.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:19:57.600Z] [2023-08-03T04:19:57.600Z] Login Succeeded [2023-08-03T04:19:57.600Z] nexus3.edgexfoundry.org:10004 [2023-08-03T04:19:57.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:19:57.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:19:57.859Z] Configure a credential helper to remove this warning. See [2023-08-03T04:19:57.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:19:57.859Z] [2023-08-03T04:19:57.859Z] Login Succeeded [2023-08-03T04:19:57.859Z] docker.io [2023-08-03T04:19:57.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:19:58.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:19:58.120Z] Configure a credential helper to remove this warning. See [2023-08-03T04:19:58.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:19:58.120Z] [2023-08-03T04:19:58.120Z] Login Succeeded [2023-08-03T04:19:58.120Z] ---> docker-login.sh ends [Pipeline] } [2023-08-03T04:19:58.127Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-03T04:19:58.474Z] + git rev-list -1 --merges ca6e439590fd3e0d96364bc20f1a7957a2569ef1~1..ca6e439590fd3e0d96364bc20f1a7957a2569ef1 [Pipeline] echo [2023-08-03T04:19:58.527Z] -----------> git rev-list -1 --merges ca6e439590fd3e0d96364bc20f1a7957a2569ef1~1..ca6e439590fd3e0d96364bc20f1a7957a2569ef1 ca6e439590fd3e0d96364bc20f1a7957a2569ef1 [false] [Pipeline] sh [2023-08-03T04:19:58.812Z] + git log --format=format:%s -1 ca6e439590fd3e0d96364bc20f1a7957a2569ef1 [Pipeline] echo [2023-08-03T04:19:58.827Z] ========================================================= [2023-08-03T04:19:58.827Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-03T04:19:58.827Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-03T04:19:59.164Z] + git log --format=format:%s -1 ca6e439590fd3e0d96364bc20f1a7957a2569ef1 [Pipeline] echo [2023-08-03T04:19:59.176Z] [semverPrep] GIT_COMMIT: ca6e439590fd3e0d96364bc20f1a7957a2569ef1, Commit Message: fix: Use WrapHandler func from go-mod-bootstrap [Pipeline] echo [2023-08-03T04:19:59.185Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-03T04:19:59.530Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-03T04:19:59.530Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-03T04:19:59.530Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-03T04:19:59.530Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-03T04:19:59.530Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-03T04:19:59.530Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-03T04:19:59.530Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:19:59.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-03T04:19:59.876Z] [2023-08-03T04:19:59.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:20:00.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-03T04:20:00.172Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-03T04:20:00.172Z] b85a868b505f: Pulling fs layer [2023-08-03T04:20:00.172Z] e2be974225ed: Pulling fs layer [2023-08-03T04:20:00.172Z] 339a4e72a1f5: Pulling fs layer [2023-08-03T04:20:00.172Z] 988bab9f4d93: Pulling fs layer [2023-08-03T04:20:00.172Z] 1469e6f7b9e6: Pulling fs layer [2023-08-03T04:20:00.172Z] eaf3925da568: Pulling fs layer [2023-08-03T04:20:00.172Z] bab4dde63d76: Pulling fs layer [2023-08-03T04:20:00.172Z] bde34c3a00c8: Pulling fs layer [2023-08-03T04:20:00.172Z] b352a97aabf1: Pulling fs layer [2023-08-03T04:20:00.172Z] 4872d77fe225: Pulling fs layer [2023-08-03T04:20:00.172Z] 5851b861e8e6: Pulling fs layer [2023-08-03T04:20:00.172Z] 988bab9f4d93: Waiting [2023-08-03T04:20:00.172Z] bab4dde63d76: Waiting [2023-08-03T04:20:00.172Z] 1469e6f7b9e6: Waiting [2023-08-03T04:20:00.172Z] eaf3925da568: Waiting [2023-08-03T04:20:00.172Z] bde34c3a00c8: Waiting [2023-08-03T04:20:00.172Z] b352a97aabf1: Waiting [2023-08-03T04:20:00.172Z] 5851b861e8e6: Waiting [2023-08-03T04:20:00.172Z] 4872d77fe225: Waiting [2023-08-03T04:20:00.172Z] e2be974225ed: Verifying Checksum [2023-08-03T04:20:00.172Z] e2be974225ed: Download complete [2023-08-03T04:20:00.172Z] 988bab9f4d93: Verifying Checksum [2023-08-03T04:20:00.172Z] 988bab9f4d93: Download complete [2023-08-03T04:20:00.172Z] 1469e6f7b9e6: Verifying Checksum [2023-08-03T04:20:00.172Z] 1469e6f7b9e6: Download complete [2023-08-03T04:20:00.172Z] 339a4e72a1f5: Verifying Checksum [2023-08-03T04:20:00.172Z] 339a4e72a1f5: Download complete [2023-08-03T04:20:00.433Z] eaf3925da568: Verifying Checksum [2023-08-03T04:20:00.433Z] eaf3925da568: Download complete [2023-08-03T04:20:00.433Z] bde34c3a00c8: Verifying Checksum [2023-08-03T04:20:00.433Z] bde34c3a00c8: Download complete [2023-08-03T04:20:00.433Z] b352a97aabf1: Download complete [2023-08-03T04:20:00.433Z] 4872d77fe225: Verifying Checksum [2023-08-03T04:20:00.433Z] 4872d77fe225: Download complete [2023-08-03T04:20:00.433Z] 5851b861e8e6: Verifying Checksum [2023-08-03T04:20:00.433Z] 5851b861e8e6: Download complete [2023-08-03T04:20:00.433Z] b85a868b505f: Verifying Checksum [2023-08-03T04:20:00.433Z] b85a868b505f: Download complete [2023-08-03T04:20:00.691Z] bab4dde63d76: Verifying Checksum [2023-08-03T04:20:00.691Z] bab4dde63d76: Download complete [2023-08-03T04:20:01.626Z] b85a868b505f: Pull complete [2023-08-03T04:20:01.626Z] e2be974225ed: Pull complete [2023-08-03T04:20:02.193Z] 339a4e72a1f5: Pull complete [2023-08-03T04:20:02.193Z] 988bab9f4d93: Pull complete [2023-08-03T04:20:02.451Z] 1469e6f7b9e6: Pull complete [2023-08-03T04:20:02.451Z] eaf3925da568: Pull complete [2023-08-03T04:20:04.357Z] bab4dde63d76: Pull complete [2023-08-03T04:20:04.357Z] bde34c3a00c8: Pull complete [2023-08-03T04:20:04.357Z] b352a97aabf1: Pull complete [2023-08-03T04:20:04.357Z] 4872d77fe225: Pull complete [2023-08-03T04:20:04.357Z] 5851b861e8e6: Pull complete [2023-08-03T04:20:04.357Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-03T04:20:04.357Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-03T04:20:04.357Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T04:20:04.452Z] prd-ubuntu20.04-docker-8c-8g-2806 does not seem to be running inside a container [2023-08-03T04:20:04.498Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@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-devops/py-git-semver:0.1.4 cat [2023-08-03T04:20:06.932Z] $ docker top bddcbc96eb99ed54ad17a3a980fd9f89ea1c21cfc655ec285d9e960705fafcd3 -eo pid,comm [2023-08-03T04:20:06.969Z] 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). [2023-08-03T04:20:06.969Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-03T04:20:07.005Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-03T04:20:07.006Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-03T04:20:07.137Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-03T04:20:07.155Z] $ docker exec bddcbc96eb99ed54ad17a3a980fd9f89ea1c21cfc655ec285d9e960705fafcd3 ssh-agent [2023-08-03T04:20:07.253Z] SSH_AUTH_SOCK=/tmp/ssh-2FNwN2LLBwHO/agent.32 [2023-08-03T04:20:07.253Z] SSH_AGENT_PID=38 [2023-08-03T04:20:07.259Z] Running ssh-add (command line suppressed) [2023-08-03T04:20:07.376Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_12972535310790064627.key (/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_12972535310790064627.key) [2023-08-03T04:20:07.375Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-03T04:20:07.664Z] + git tag --points-at HEAD [Pipeline] } [2023-08-03T04:20:07.690Z] $ docker exec --env ******** --env ******** bddcbc96eb99ed54ad17a3a980fd9f89ea1c21cfc655ec285d9e960705fafcd3 ssh-agent -k [2023-08-03T04:20:07.772Z] unset SSH_AUTH_SOCK; [2023-08-03T04:20:07.772Z] unset SSH_AGENT_PID; [2023-08-03T04:20:07.773Z] echo Agent pid 38 killed; [2023-08-03T04:20:07.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-03T04:20:07.798Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-03T04:20:07.798Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-03T04:20:07.918Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-03T04:20:07.936Z] $ docker exec bddcbc96eb99ed54ad17a3a980fd9f89ea1c21cfc655ec285d9e960705fafcd3 ssh-agent [2023-08-03T04:20:08.036Z] SSH_AUTH_SOCK=/tmp/ssh-mnUZGHAzrz6A/agent.70 [2023-08-03T04:20:08.036Z] SSH_AGENT_PID=76 [2023-08-03T04:20:08.040Z] Running ssh-add (command line suppressed) [2023-08-03T04:20:08.154Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_10074691154171018748.key (/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/private_key_10074691154171018748.key) [2023-08-03T04:20:08.154Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-03T04:20:08.443Z] + git semver init [2023-08-03T04:20:08.703Z] 2023-08-03 04:20:08,616 [run_init] DEBUG init version:0.0.0 force:False [2023-08-03T04:20:08.703Z] 2023-08-03 04:20:08,616 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver [2023-08-03T04:20:08.703Z] 2023-08-03 04:20:08,617 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver [2023-08-03T04:20:08.703Z] 2023-08-03 04:20:08,617 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1488, universal_newlines=False, shell=None, istream=None) [2023-08-03T04:20:09.645Z] 2023-08-03 04:20:09,640 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.git/info/exclude [2023-08-03T04:20:09.645Z] 2023-08-03 04:20:09,641 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver/PR-1488 with force:False [2023-08-03T04:20:09.645Z] 2023-08-03 04:20:09,641 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver/PR-1488 [2023-08-03T04:20:09.645Z] 2023-08-03 04:20:09,645 [execute] INFO git cat-file --batch-check [2023-08-03T04:20:09.645Z] 2023-08-03 04:20:09,646 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver, universal_newlines=False, shell=None, istream=) [2023-08-03T04:20:09.645Z] 2023-08-03 04:20:09,653 [execute] INFO git cat-file --batch [2023-08-03T04:20:09.645Z] 2023-08-03 04:20:09,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver, universal_newlines=False, shell=None, istream=) [2023-08-03T04:20:09.645Z] 2023-08-03 04:20:09,659 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1488/.semver/PR-1488 [2023-08-03T04:20:09.645Z] 0.0.0 [Pipeline] } [2023-08-03T04:20:09.929Z] $ docker exec --env ******** --env ******** bddcbc96eb99ed54ad17a3a980fd9f89ea1c21cfc655ec285d9e960705fafcd3 ssh-agent -k [2023-08-03T04:20:10.027Z] unset SSH_AUTH_SOCK; [2023-08-03T04:20:10.027Z] unset SSH_AGENT_PID; [2023-08-03T04:20:10.027Z] echo Agent pid 76 killed; [2023-08-03T04:20:10.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-03T04:20:10.334Z] + git semver [Pipeline] } [2023-08-03T04:20:10.623Z] $ docker stop --time=1 bddcbc96eb99ed54ad17a3a980fd9f89ea1c21cfc655ec285d9e960705fafcd3 [2023-08-03T04:20:11.907Z] $ docker rm -f --volumes bddcbc96eb99ed54ad17a3a980fd9f89ea1c21cfc655ec285d9e960705fafcd3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-03T04:20:12.233Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-03T04:20:12.439Z] Stashed 1 file(s) [Pipeline] echo [2023-08-03T04:20:12.442Z] [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 [2023-08-03T04:20:12.568Z] provisioning config files... [2023-08-03T04:20:12.577Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/config16127038751311365718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:20:12.872Z] ---> docker-login.sh [2023-08-03T04:20:12.872Z] nexus3.edgexfoundry.org:10001 [2023-08-03T04:20:12.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:20:12.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:20:12.872Z] Configure a credential helper to remove this warning. See [2023-08-03T04:20:12.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:20:12.872Z] [2023-08-03T04:20:12.872Z] Login Succeeded [2023-08-03T04:20:12.872Z] nexus3.edgexfoundry.org:10002 [2023-08-03T04:20:12.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:20:12.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:20:12.872Z] Configure a credential helper to remove this warning. See [2023-08-03T04:20:12.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:20:12.872Z] [2023-08-03T04:20:12.872Z] Login Succeeded [2023-08-03T04:20:12.872Z] nexus3.edgexfoundry.org:10003 [2023-08-03T04:20:13.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:20:13.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:20:13.133Z] Configure a credential helper to remove this warning. See [2023-08-03T04:20:13.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:20:13.133Z] [2023-08-03T04:20:13.133Z] Login Succeeded [2023-08-03T04:20:13.133Z] nexus3.edgexfoundry.org:10004 [2023-08-03T04:20:13.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:20:13.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:20:13.133Z] Configure a credential helper to remove this warning. See [2023-08-03T04:20:13.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:20:13.133Z] [2023-08-03T04:20:13.133Z] Login Succeeded [2023-08-03T04:20:13.133Z] docker.io [2023-08-03T04:20:13.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:20:13.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:20:13.393Z] Configure a credential helper to remove this warning. See [2023-08-03T04:20:13.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:20:13.393Z] [2023-08-03T04:20:13.393Z] Login Succeeded [2023-08-03T04:20:13.393Z] ---> docker-login.sh ends [Pipeline] } [2023-08-03T04:20:13.401Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-03T04:20:13.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-03T04:20:13.477Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-03T04:20:13.490Z] ========================================================= [2023-08-03T04:20:13.490Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-03T04:20:13.490Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:20:13.802Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-03T04:20:13.802Z] Sending build context to Docker daemon 11.16MB [2023-08-03T04:20:13.802Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-03T04:20:13.802Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-03T04:20:13.802Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-03T04:20:13.802Z] 4db1b89c0bd1: Pulling fs layer [2023-08-03T04:20:13.802Z] 6911f1a30b25: Pulling fs layer [2023-08-03T04:20:13.802Z] e194b8c5c2a9: Pulling fs layer [2023-08-03T04:20:13.802Z] 6863d3e3a2b1: Pulling fs layer [2023-08-03T04:20:13.802Z] ec0bb842ea78: Pulling fs layer [2023-08-03T04:20:13.802Z] 40a00589a448: Pulling fs layer [2023-08-03T04:20:13.802Z] 6c08303d61cc: Pulling fs layer [2023-08-03T04:20:13.802Z] 798269fcf238: Pulling fs layer [2023-08-03T04:20:13.802Z] ec0bb842ea78: Waiting [2023-08-03T04:20:13.802Z] 798269fcf238: Waiting [2023-08-03T04:20:13.802Z] 40a00589a448: Waiting [2023-08-03T04:20:13.802Z] 6c08303d61cc: Waiting [2023-08-03T04:20:13.802Z] 6863d3e3a2b1: Waiting [2023-08-03T04:20:13.802Z] 6911f1a30b25: Verifying Checksum [2023-08-03T04:20:13.802Z] 6911f1a30b25: Download complete [2023-08-03T04:20:14.063Z] 6863d3e3a2b1: Verifying Checksum [2023-08-03T04:20:14.063Z] 6863d3e3a2b1: Download complete [2023-08-03T04:20:14.063Z] ec0bb842ea78: Verifying Checksum [2023-08-03T04:20:14.063Z] ec0bb842ea78: Download complete [2023-08-03T04:20:14.063Z] 4db1b89c0bd1: Verifying Checksum [2023-08-03T04:20:14.063Z] 4db1b89c0bd1: Download complete [2023-08-03T04:20:14.063Z] 40a00589a448: Verifying Checksum [2023-08-03T04:20:14.063Z] 40a00589a448: Download complete [2023-08-03T04:20:14.063Z] 4db1b89c0bd1: Pull complete [2023-08-03T04:20:14.328Z] 6911f1a30b25: Pull complete [2023-08-03T04:20:14.587Z] 798269fcf238: Verifying Checksum [2023-08-03T04:20:14.587Z] 798269fcf238: Download complete [2023-08-03T04:20:14.587Z] e194b8c5c2a9: Verifying Checksum [2023-08-03T04:20:14.587Z] e194b8c5c2a9: Download complete [2023-08-03T04:20:14.845Z] 6c08303d61cc: Verifying Checksum [2023-08-03T04:20:14.845Z] 6c08303d61cc: Download complete [2023-08-03T04:20:18.132Z] e194b8c5c2a9: Pull complete [2023-08-03T04:20:18.132Z] 6863d3e3a2b1: Pull complete [2023-08-03T04:20:18.132Z] ec0bb842ea78: Pull complete [2023-08-03T04:20:18.132Z] 40a00589a448: Pull complete [2023-08-03T04:20:20.036Z] 6c08303d61cc: Pull complete [2023-08-03T04:20:20.986Z] 798269fcf238: Pull complete [2023-08-03T04:20:20.986Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-03T04:20:20.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-03T04:20:20.986Z] ---> ec979cd7f677 [2023-08-03T04:20:20.986Z] Step 3/10 : ARG MAKE=make build [2023-08-03T04:20:25.192Z] ---> Running in ffc5289eef60 [2023-08-03T04:20:25.192Z] Removing intermediate container ffc5289eef60 [2023-08-03T04:20:25.192Z] ---> 53a6c52a76ad [2023-08-03T04:20:25.192Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-03T04:20:25.192Z] ---> Running in 4ce8c536bfe1 [2023-08-03T04:20:25.192Z] Removing intermediate container 4ce8c536bfe1 [2023-08-03T04:20:25.192Z] ---> 2cda37af599a [2023-08-03T04:20:25.192Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-03T04:20:25.192Z] ---> Running in c5c6e3ca494b [2023-08-03T04:20:25.192Z] Removing intermediate container c5c6e3ca494b [2023-08-03T04:20:25.192Z] ---> 68f2ae520b4f [2023-08-03T04:20:25.192Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-03T04:20:25.192Z] ---> Running in e608e30c7dae [2023-08-03T04:20:25.192Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-03T04:20:25.452Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-03T04:20:25.712Z] OK: 265 MiB in 53 packages [2023-08-03T04:20:25.971Z] Removing intermediate container e608e30c7dae [2023-08-03T04:20:25.971Z] ---> f54b9e0a01a8 [2023-08-03T04:20:25.971Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-03T04:20:26.232Z] ---> e5a6a4461e41 [2023-08-03T04:20:26.232Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-03T04:20:26.232Z] ---> Running in 118dbb7b2103 [2023-08-03T04:20:27.524Z] Still waiting to schedule task [2023-08-03T04:20:27.524Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2807’ [2023-08-03T04:20:52.791Z] Removing intermediate container 118dbb7b2103 [2023-08-03T04:20:52.791Z] ---> 391a7071ac2d [2023-08-03T04:20:52.791Z] Step 9/10 : COPY . . [2023-08-03T04:20:52.791Z] ---> 5d9fb2f1b812 [2023-08-03T04:20:52.791Z] Step 10/10 : RUN ${MAKE} [2023-08-03T04:20:52.791Z] ---> Running in f406f1641beb [2023-08-03T04:20:52.791Z] noop [2023-08-03T04:20:52.791Z] Removing intermediate container f406f1641beb [2023-08-03T04:20:52.791Z] ---> ccf8bc8a971d [2023-08-03T04:20:52.791Z] Successfully built ccf8bc8a971d [2023-08-03T04:20:52.791Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:20:53.108Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-03T04:20:53.108Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T04:20:53.181Z] prd-ubuntu20.04-docker-8c-8g-2806 does not seem to be running inside a container [2023-08-03T04:20:53.225Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-03T04:20:53.545Z] $ docker top 0fd1d44473dc34e4f6064503c698fc2ad3809f41374b9486cddf6c38a7e7c0ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-03T04:20:53.870Z] + go version [2023-08-03T04:20:53.870Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-03T04:20:53.896Z] $ docker stop --time=1 0fd1d44473dc34e4f6064503c698fc2ad3809f41374b9486cddf6c38a7e7c0ec [2023-08-03T04:20:55.172Z] $ docker rm -f --volumes 0fd1d44473dc34e4f6064503c698fc2ad3809f41374b9486cddf6c38a7e7c0ec [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:20:55.574Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-03T04:20:55.574Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T04:20:55.649Z] prd-ubuntu20.04-docker-8c-8g-2806 does not seem to be running inside a container [2023-08-03T04:20:55.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-03T04:20:56.083Z] $ docker top fdb2ae04e590ef400da742e482a60738c802514f5ed65e29211a3a0112836f2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-03T04:20:56.407Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1488 [Pipeline] fileExists [Pipeline] sh [2023-08-03T04:20:56.699Z] + make test [2023-08-03T04:20:56.699Z] go test -race -coverprofile=coverage.out ./... [2023-08-03T04:21:03.257Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-03T04:21:15.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-03T04:21:15.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-03T04:21:15.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-03T04:21:15.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-03T04:21:15.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-03T04:21:15.699Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.075s coverage: 27.6% of statements [2023-08-03T04:21:15.699Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 80.2% of statements [2023-08-03T04:21:15.699Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-03T04:21:15.699Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-03T04:21:15.956Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-03T04:21:15.956Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.102s coverage: 86.0% of statements [2023-08-03T04:21:15.956Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.081s coverage: 71.8% of statements [2023-08-03T04:21:17.329Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-03T04:21:17.329Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-03T04:21:17.329Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-03T04:21:19.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.061s coverage: 14.3% of statements [2023-08-03T04:21:19.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.854s coverage: 43.8% of statements [2023-08-03T04:21:19.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.087s coverage: 68.5% of statements [2023-08-03T04:21:19.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.128s coverage: 89.2% of statements [2023-08-03T04:21:19.230Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements [2023-08-03T04:21:41.137Z] GO111MODULE=on go vet ./... [2023-08-03T04:21:42.068Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-03T04:21:42.327Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-03T04:21:42.327Z] ./bin/test-attribution-txt.sh [2023-08-03T04:21:42.327Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-03T04:21:42.327Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-03T04:21:42.327Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-03T04:21:42.327Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-03T04:21:42.327Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-03T04:21:42.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-03T04:21:42.372Z] $ docker stop --time=1 fdb2ae04e590ef400da742e482a60738c802514f5ed65e29211a3a0112836f2a [2023-08-03T04:21:46.601Z] $ docker rm -f --volumes fdb2ae04e590ef400da742e482a60738c802514f5ed65e29211a3a0112836f2a [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-03T04:21:47.111Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-03T04:21:47.178Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-03T04:21:47.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-03T04:21:48.013Z] + ls -al . [2023-08-03T04:21:48.013Z] total 304 [2023-08-03T04:21:48.013Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 3 04:20 . [2023-08-03T04:21:48.013Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 04:19 .. [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 3 04:19 .dockerignore [2023-08-03T04:21:48.013Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 04:20 .git [2023-08-03T04:21:48.013Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 04:19 .github [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 3 04:19 .gitignore [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 3 04:19 .golangci.yml [2023-08-03T04:21:48.013Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 04:20 .semver [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 3 04:19 CHANGELOG.md [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 3 04:19 GOVERNANCE.md [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 3 04:19 Jenkinsfile [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 3 04:19 LICENSE [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 3 04:19 Makefile [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 3 04:19 OWNERS.md [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 3 04:19 README.md [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 3 04:20 VERSION [2023-08-03T04:21:48.013Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 04:19 bin [2023-08-03T04:21:48.013Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 3 04:21 coverage.out [2023-08-03T04:21:48.013Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 3 04:19 example [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 3 04:19 go.mod [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 3 04:19 go.sum [2023-08-03T04:21:48.013Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 3 04:19 internal [2023-08-03T04:21:48.013Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 04:19 openapi [2023-08-03T04:21:48.013Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 3 04:19 pkg [2023-08-03T04:21:48.013Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 04:19 snap [2023-08-03T04:21:48.013Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 3 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:21:48.343Z] + 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=ca6e439590fd3e0d96364bc20f1a7957a2569ef1 --label arch=amd64 --label version=0.0.0 . [2023-08-03T04:21:48.343Z] Sending build context to Docker daemon 11.28MB [2023-08-03T04:21:48.343Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-03T04:21:48.343Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-03T04:21:48.343Z] ---> ccf8bc8a971d [2023-08-03T04:21:48.343Z] Step 3/23 : ARG MAKE=make build [2023-08-03T04:21:48.601Z] ---> Running in c2d7544705e7 [2023-08-03T04:21:48.601Z] Removing intermediate container c2d7544705e7 [2023-08-03T04:21:48.601Z] ---> 890e7ec87998 [2023-08-03T04:21:48.602Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-03T04:21:48.602Z] ---> Running in c2cd7fc29ab3 [2023-08-03T04:21:48.602Z] Removing intermediate container c2cd7fc29ab3 [2023-08-03T04:21:48.602Z] ---> 1b324c248b8c [2023-08-03T04:21:48.602Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-03T04:21:48.602Z] ---> Running in 4fbb43e0e0b4 [2023-08-03T04:21:48.860Z] Removing intermediate container 4fbb43e0e0b4 [2023-08-03T04:21:48.860Z] ---> 500d0518d69b [2023-08-03T04:21:48.860Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-03T04:21:48.860Z] ---> Running in 43fa8d07ecee [2023-08-03T04:21:49.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-03T04:21:49.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-03T04:21:49.636Z] OK: 265 MiB in 53 packages [2023-08-03T04:21:49.895Z] Removing intermediate container 43fa8d07ecee [2023-08-03T04:21:49.895Z] ---> fdf84de2093f [2023-08-03T04:21:49.895Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-03T04:21:49.895Z] ---> 91baf9ab92b9 [2023-08-03T04:21:49.895Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-03T04:21:49.895Z] ---> Running in 298520a91367 [2023-08-03T04:21:50.460Z] Removing intermediate container 298520a91367 [2023-08-03T04:21:50.460Z] ---> 773726fde734 [2023-08-03T04:21:50.460Z] Step 9/23 : COPY . . [2023-08-03T04:21:51.026Z] ---> 16178eaf9b7c [2023-08-03T04:21:51.026Z] Step 10/23 : RUN ${MAKE} [2023-08-03T04:21:51.026Z] ---> Running in 8e928d382195 [2023-08-03T04:21:51.284Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-03T04:22:13.457Z] Removing intermediate container 8e928d382195 [2023-08-03T04:22:13.457Z] ---> 77cb57e7d4c1 [2023-08-03T04:22:13.457Z] Step 11/23 : FROM alpine:3.17 [2023-08-03T04:22:13.457Z] 3.17: Pulling from library/alpine [2023-08-03T04:22:13.457Z] 4db1b89c0bd1: Already exists [2023-08-03T04:22:13.457Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-03T04:22:13.457Z] Status: Downloaded newer image for alpine:3.17 [2023-08-03T04:22:13.457Z] ---> 1f73a9d63274 [2023-08-03T04:22:13.457Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-03T04:22:13.457Z] ---> Running in b3be76416e48 [2023-08-03T04:22:13.458Z] Removing intermediate container b3be76416e48 [2023-08-03T04:22:13.458Z] ---> f920131ea5e8 [2023-08-03T04:22:13.458Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-03T04:22:13.458Z] ---> Running in 59badc6760b9 [2023-08-03T04:22:13.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-03T04:22:13.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-03T04:22:13.458Z] OK: 7 MiB in 15 packages [2023-08-03T04:22:13.458Z] Removing intermediate container 59badc6760b9 [2023-08-03T04:22:13.458Z] ---> 72542c739e8b [2023-08-03T04:22:13.458Z] Step 14/23 : WORKDIR / [2023-08-03T04:22:13.458Z] ---> Running in 135ef312038d [2023-08-03T04:22:13.458Z] Removing intermediate container 135ef312038d [2023-08-03T04:22:13.458Z] ---> e17ebdd4c1b7 [2023-08-03T04:22:13.458Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-03T04:22:13.458Z] ---> dbc8c993872c [2023-08-03T04:22:13.458Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-03T04:22:13.458Z] ---> 11586943e96c [2023-08-03T04:22:13.458Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-03T04:22:13.458Z] ---> 02a5e4fa0910 [2023-08-03T04:22:13.458Z] Step 18/23 : EXPOSE 59999 [2023-08-03T04:22:13.458Z] ---> Running in 3e1db316a168 [2023-08-03T04:22:13.458Z] Removing intermediate container 3e1db316a168 [2023-08-03T04:22:13.458Z] ---> 3032d18eace1 [2023-08-03T04:22:13.458Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-03T04:22:13.458Z] ---> Running in bc6be41ed8aa [2023-08-03T04:22:13.458Z] Removing intermediate container bc6be41ed8aa [2023-08-03T04:22:13.458Z] ---> be67c841f02e [2023-08-03T04:22:13.458Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-03T04:22:13.458Z] ---> Running in f68f5ba2d6fa [2023-08-03T04:22:13.458Z] Removing intermediate container f68f5ba2d6fa [2023-08-03T04:22:13.458Z] ---> c20f121d7b81 [2023-08-03T04:22:13.458Z] Step 21/23 : LABEL arch=amd64 [2023-08-03T04:22:13.458Z] ---> Running in 1a20a5829581 [2023-08-03T04:22:13.458Z] Removing intermediate container 1a20a5829581 [2023-08-03T04:22:13.458Z] ---> cb7046e6135f [2023-08-03T04:22:13.458Z] Step 22/23 : LABEL git_sha=ca6e439590fd3e0d96364bc20f1a7957a2569ef1 [2023-08-03T04:22:13.458Z] ---> Running in 2e8b9db60926 [2023-08-03T04:22:13.458Z] Removing intermediate container 2e8b9db60926 [2023-08-03T04:22:13.458Z] ---> 47eb6b3fa831 [2023-08-03T04:22:13.458Z] Step 23/23 : LABEL version=0.0.0 [2023-08-03T04:22:13.458Z] ---> Running in 19d2445a1d65 [2023-08-03T04:22:13.458Z] Removing intermediate container 19d2445a1d65 [2023-08-03T04:22:13.458Z] ---> 96131b4d906e [2023-08-03T04:22:13.458Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-03T04:22:13.458Z] Successfully built 96131b4d906e [2023-08-03T04:22:13.458Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:22:13.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-03T04:22:13.876Z] [2023-08-03T04:22:13.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:22:14.175Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-03T04:22:14.175Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-03T04:22:14.175Z] 5eb5b503b376: Pulling fs layer [2023-08-03T04:22:14.175Z] 5c69ac0246d0: Pulling fs layer [2023-08-03T04:22:14.175Z] ec43610c2a17: Pulling fs layer [2023-08-03T04:22:14.175Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-03T04:22:14.175Z] 33b1e0a273af: Pulling fs layer [2023-08-03T04:22:14.175Z] 5d3b04190fa2: Pulling fs layer [2023-08-03T04:22:14.175Z] 2f39f015ded8: Pulling fs layer [2023-08-03T04:22:14.175Z] 3a2ae6a8a46f: Waiting [2023-08-03T04:22:14.175Z] 5d3b04190fa2: Waiting [2023-08-03T04:22:14.175Z] 2f39f015ded8: Waiting [2023-08-03T04:22:14.175Z] 5c69ac0246d0: Download complete [2023-08-03T04:22:14.175Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-03T04:22:14.175Z] 3a2ae6a8a46f: Download complete [2023-08-03T04:22:14.175Z] 33b1e0a273af: Verifying Checksum [2023-08-03T04:22:14.175Z] 33b1e0a273af: Download complete [2023-08-03T04:22:14.175Z] 5d3b04190fa2: Verifying Checksum [2023-08-03T04:22:14.175Z] 5d3b04190fa2: Download complete [2023-08-03T04:22:14.175Z] ec43610c2a17: Verifying Checksum [2023-08-03T04:22:14.175Z] ec43610c2a17: Download complete [2023-08-03T04:22:14.433Z] 5eb5b503b376: Verifying Checksum [2023-08-03T04:22:14.433Z] 5eb5b503b376: Download complete [2023-08-03T04:22:15.000Z] 2f39f015ded8: Download complete [2023-08-03T04:22:15.565Z] 5eb5b503b376: Pull complete [2023-08-03T04:22:15.565Z] 5c69ac0246d0: Pull complete [2023-08-03T04:22:16.129Z] ec43610c2a17: Pull complete [2023-08-03T04:22:16.129Z] 3a2ae6a8a46f: Pull complete [2023-08-03T04:22:16.388Z] 33b1e0a273af: Pull complete [2023-08-03T04:22:16.388Z] 5d3b04190fa2: Pull complete [2023-08-03T04:22:20.570Z] 2f39f015ded8: Pull complete [2023-08-03T04:22:20.570Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-03T04:22:20.570Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-03T04:22:20.570Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T04:22:20.661Z] prd-ubuntu20.04-docker-8c-8g-2806 does not seem to be running inside a container [2023-08-03T04:22:20.706Z] $ 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-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-03T04:22:25.061Z] $ docker top 5ff50c4084026b3e82e5f97d7f26b9463b0147a523246b57a0fafef457913ca8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:22:25.457Z] ---> job-cost.sh [2023-08-03T04:22:25.457Z] lf-activate-venv: SKIPPING [2023-08-03T04:22:25.457Z] INFO: No Stack... [2023-08-03T04:22:25.735Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-03T04:22:26.305Z] INFO: Archiving Costs [Pipeline] sh [2023-08-03T04:22:26.597Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives/cost.csv [2023-08-03T04:22:26.597Z] + cut -d, -f6 [Pipeline] lock [2023-08-03T04:22:26.610Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1488-3-stack-cost] [2023-08-03T04:22:26.616Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-3-stack-cost] did not exist. Created. [2023-08-03T04:22:26.616Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1488-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-03T04:22:26.913Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-03T04:22:26.939Z] Stashed 1 file(s) [Pipeline] } [2023-08-03T04:22:26.945Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-03T04:22:26.983Z] $ docker stop --time=1 5ff50c4084026b3e82e5f97d7f26b9463b0147a523246b57a0fafef457913ca8 [2023-08-03T04:22:28.147Z] $ docker rm -f --volumes 5ff50c4084026b3e82e5f97d7f26b9463b0147a523246b57a0fafef457913ca8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-03T04:23:17.189Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2808 in /w/workspace/gexfoundry_device-sdk-go_PR-1488 [Pipeline] { [Pipeline] ws [2023-08-03T04:23:17.203Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-08-03T04:23:17.233Z] The recommended git tool is: git [2023-08-03T04:23:22.181Z] using credential edgex-jenkins-ssh [2023-08-03T04:23:22.196Z] Cloning the remote Git repository [2023-08-03T04:23:22.243Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-03T04:23:22.334Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-08-03T04:23:22.469Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-03T04:23:22.470Z] > git --version # timeout=10 [2023-08-03T04:23:22.490Z] > git --version # 'git version 2.25.1' [2023-08-03T04:23:22.493Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-03T04:23:22.637Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-03T04:23:24.265Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-03T04:23:24.299Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-03T04:23:25.879Z] Merging remotes/origin/main commit 5a7d05295c20c4306666c126d05bdc304538796c into PR head commit ca6e439590fd3e0d96364bc20f1a7957a2569ef1 [2023-08-03T04:23:25.122Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-03T04:23:25.164Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-03T04:23:25.165Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-03T04:23:25.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1488/head:refs/remotes/origin/PR-1488 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-03T04:23:25.898Z] > git config core.sparsecheckout # timeout=10 [2023-08-03T04:23:26.175Z] Merge succeeded, producing ca6e439590fd3e0d96364bc20f1a7957a2569ef1 [2023-08-03T04:23:26.175Z] Checking out Revision ca6e439590fd3e0d96364bc20f1a7957a2569ef1 (PR-1488) [2023-08-03T04:23:25.966Z] > git checkout -f ca6e439590fd3e0d96364bc20f1a7957a2569ef1 # timeout=10 [2023-08-03T04:23:26.072Z] > git remote # timeout=10 [2023-08-03T04:23:26.091Z] > git config --get remote.origin.url # timeout=10 [2023-08-03T04:23:26.114Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-03T04:23:26.129Z] > git merge 5a7d05295c20c4306666c126d05bdc304538796c # timeout=10 [2023-08-03T04:23:26.157Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-03T04:23:26.182Z] > git config core.sparsecheckout # timeout=10 [2023-08-03T04:23:26.201Z] > git checkout -f ca6e439590fd3e0d96364bc20f1a7957a2569ef1 # timeout=10 [2023-08-03T04:23:29.670Z] Commit message: "fix: Use WrapHandler func from go-mod-bootstrap" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-03T04:23:30.481Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-03T04:23:30.481Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-03T04:23:30.481Z] Dload Upload Total Spent Left Speed [2023-08-03T04:23:30.481Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 111k 0 --:--:-- --:--:-- --:--:-- 111k [Pipeline] sh [2023-08-03T04:23:31.204Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-03T04:23:31.527Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-03T04:23:31.527Z] + sudo tee /etc/docker/daemon.new [2023-08-03T04:23:31.527Z] { [2023-08-03T04:23:31.527Z] "registry-mirrors": [ [2023-08-03T04:23:31.527Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-03T04:23:31.527Z] ], [2023-08-03T04:23:31.527Z] "bip": "10.250.0.254/24", [2023-08-03T04:23:31.527Z] "hosts": [ [2023-08-03T04:23:31.527Z] "tcp://0.0.0.0:5555", [2023-08-03T04:23:31.527Z] "unix:///var/run/docker.sock" [2023-08-03T04:23:31.527Z] ], [2023-08-03T04:23:31.527Z] "mtu": 1458, [2023-08-03T04:23:31.527Z] "selinux-enabled": true, [2023-08-03T04:23:31.527Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-03T04:23:31.527Z] } [Pipeline] sh [2023-08-03T04:23:31.870Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-03T04:23:32.204Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-03T04:23:51.994Z] provisioning config files... [2023-08-03T04:23:52.014Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config13298200409661070679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:23:53.211Z] ---> docker-login.sh [2023-08-03T04:23:53.211Z] nexus3.edgexfoundry.org:10001 [2023-08-03T04:23:53.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:23:54.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:23:54.064Z] Configure a credential helper to remove this warning. See [2023-08-03T04:23:54.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:23:54.064Z] [2023-08-03T04:23:54.064Z] Login Succeeded [2023-08-03T04:23:54.064Z] nexus3.edgexfoundry.org:10002 [2023-08-03T04:23:54.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:23:54.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:23:54.333Z] Configure a credential helper to remove this warning. See [2023-08-03T04:23:54.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:23:54.333Z] [2023-08-03T04:23:54.333Z] Login Succeeded [2023-08-03T04:23:54.333Z] nexus3.edgexfoundry.org:10003 [2023-08-03T04:23:54.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:23:54.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:23:54.606Z] Configure a credential helper to remove this warning. See [2023-08-03T04:23:54.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:23:54.606Z] [2023-08-03T04:23:54.606Z] Login Succeeded [2023-08-03T04:23:54.606Z] nexus3.edgexfoundry.org:10004 [2023-08-03T04:23:54.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:23:54.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:23:54.875Z] Configure a credential helper to remove this warning. See [2023-08-03T04:23:54.875Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:23:54.875Z] [2023-08-03T04:23:54.875Z] Login Succeeded [2023-08-03T04:23:54.875Z] docker.io [2023-08-03T04:23:55.144Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-03T04:23:55.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-03T04:23:55.414Z] Configure a credential helper to remove this warning. See [2023-08-03T04:23:55.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-03T04:23:55.414Z] [2023-08-03T04:23:55.414Z] Login Succeeded [2023-08-03T04:23:55.414Z] ---> docker-login.sh ends [Pipeline] } [2023-08-03T04:23:55.428Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-03T04:23:55.625Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-03T04:23:55.641Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-03T04:23:55.654Z] ========================================================= [2023-08-03T04:23:55.654Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-03T04:23:55.654Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:23:55.997Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-03T04:23:56.266Z] Sending build context to Docker daemon 6.02MB [2023-08-03T04:23:56.266Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-03T04:23:56.266Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-03T04:23:56.534Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-03T04:23:56.534Z] edb6bdbacee9: Pulling fs layer [2023-08-03T04:23:56.534Z] 5f9638ab2659: Pulling fs layer [2023-08-03T04:23:56.534Z] 8d51d6327a98: Pulling fs layer [2023-08-03T04:23:56.534Z] 8b374f2dd631: Pulling fs layer [2023-08-03T04:23:56.534Z] ec14aa9079de: Pulling fs layer [2023-08-03T04:23:56.534Z] 2f466654f4bb: Pulling fs layer [2023-08-03T04:23:56.534Z] 554e91adad29: Pulling fs layer [2023-08-03T04:23:56.534Z] 8b374f2dd631: Waiting [2023-08-03T04:23:56.534Z] ec14aa9079de: Waiting [2023-08-03T04:23:56.534Z] 2f466654f4bb: Waiting [2023-08-03T04:23:56.534Z] 554e91adad29: Waiting [2023-08-03T04:23:56.534Z] 5f9638ab2659: Verifying Checksum [2023-08-03T04:23:56.534Z] 5f9638ab2659: Download complete [2023-08-03T04:23:56.534Z] 8b374f2dd631: Verifying Checksum [2023-08-03T04:23:56.534Z] 8b374f2dd631: Download complete [2023-08-03T04:23:56.534Z] ec14aa9079de: Verifying Checksum [2023-08-03T04:23:56.534Z] ec14aa9079de: Download complete [2023-08-03T04:23:56.534Z] edb6bdbacee9: Verifying Checksum [2023-08-03T04:23:56.534Z] edb6bdbacee9: Download complete [2023-08-03T04:23:57.510Z] edb6bdbacee9: Pull complete [2023-08-03T04:23:58.099Z] 554e91adad29: Verifying Checksum [2023-08-03T04:23:58.099Z] 554e91adad29: Download complete [2023-08-03T04:23:58.099Z] 5f9638ab2659: Pull complete [2023-08-03T04:23:59.062Z] 8d51d6327a98: Download complete [2023-08-03T04:23:59.330Z] 2f466654f4bb: Verifying Checksum [2023-08-03T04:23:59.330Z] 2f466654f4bb: Download complete [2023-08-03T04:24:11.675Z] 8d51d6327a98: Pull complete [2023-08-03T04:24:11.675Z] 8b374f2dd631: Pull complete [2023-08-03T04:24:11.675Z] ec14aa9079de: Pull complete [2023-08-03T04:24:17.037Z] 2f466654f4bb: Pull complete [2023-08-03T04:24:19.616Z] 554e91adad29: Pull complete [2023-08-03T04:24:19.616Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-03T04:24:19.616Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-03T04:24:19.616Z] ---> 1e15ea492957 [2023-08-03T04:24:19.616Z] Step 3/10 : ARG MAKE=make build [2023-08-03T04:24:21.562Z] ---> Running in c094f118f829 [2023-08-03T04:24:21.830Z] Removing intermediate container c094f118f829 [2023-08-03T04:24:21.830Z] ---> 629e081e09da [2023-08-03T04:24:21.830Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-03T04:24:21.830Z] ---> Running in 76898b38c46c [2023-08-03T04:24:22.098Z] Removing intermediate container 76898b38c46c [2023-08-03T04:24:22.098Z] ---> 372cb10bd638 [2023-08-03T04:24:22.098Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-03T04:24:22.098Z] ---> Running in 732981b91d9e [2023-08-03T04:24:22.374Z] Removing intermediate container 732981b91d9e [2023-08-03T04:24:22.374Z] ---> db1a8e606c97 [2023-08-03T04:24:22.374Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-03T04:24:22.645Z] ---> Running in 2d2a4cfa53fc [2023-08-03T04:24:23.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-03T04:24:24.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-03T04:24:25.149Z] OK: 263 MiB in 53 packages [2023-08-03T04:24:25.741Z] Removing intermediate container 2d2a4cfa53fc [2023-08-03T04:24:25.741Z] ---> 732b9dfae37a [2023-08-03T04:24:25.741Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-03T04:24:26.327Z] ---> 76b03fa40f53 [2023-08-03T04:24:26.327Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-03T04:24:26.327Z] ---> Running in f166de666a4a [2023-08-03T04:25:34.191Z] Removing intermediate container f166de666a4a [2023-08-03T04:25:34.191Z] ---> e5315e12a19f [2023-08-03T04:25:34.191Z] Step 9/10 : COPY . . [2023-08-03T04:25:34.191Z] ---> e12d7afd76c3 [2023-08-03T04:25:34.191Z] Step 10/10 : RUN ${MAKE} [2023-08-03T04:25:34.191Z] ---> Running in ef06c98da090 [2023-08-03T04:25:34.191Z] noop [2023-08-03T04:25:34.191Z] Removing intermediate container ef06c98da090 [2023-08-03T04:25:34.191Z] ---> e76ad51d930a [2023-08-03T04:25:34.191Z] Successfully built e76ad51d930a [2023-08-03T04:25:34.191Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:25:34.542Z] + docker inspect -f . ci-base-image-arm64 [2023-08-03T04:25:34.542Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T04:25:34.721Z] prd-ubuntu20.04-docker-arm64-4c-16g-2808 does not seem to be running inside a container [2023-08-03T04:25:34.786Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-03T04:25:35.997Z] $ docker top 916aa6339b7eb8d9eec9ebbcc19b6c3f6ccd5c83c53e35a30b1cee5eca0da227 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-03T04:25:36.823Z] + go version [2023-08-03T04:25:36.823Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-03T04:25:36.846Z] $ docker stop --time=1 916aa6339b7eb8d9eec9ebbcc19b6c3f6ccd5c83c53e35a30b1cee5eca0da227 [2023-08-03T04:25:38.424Z] $ docker rm -f --volumes 916aa6339b7eb8d9eec9ebbcc19b6c3f6ccd5c83c53e35a30b1cee5eca0da227 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:25:38.961Z] + docker inspect -f . ci-base-image-arm64 [2023-08-03T04:25:38.961Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T04:25:39.144Z] prd-ubuntu20.04-docker-arm64-4c-16g-2808 does not seem to be running inside a container [2023-08-03T04:25:39.205Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-08-03T04:25:40.340Z] $ docker top 3ade29e8f73cb36b114abd5956a64ba09a7fd62c7c71c4460a8cf3763045f324 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-03T04:25:40.833Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-08-03T04:25:41.160Z] + make test [2023-08-03T04:25:41.160Z] go test -race -coverprofile=coverage.out ./... [2023-08-03T04:26:20.033Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-03T04:28:26.690Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-03T04:28:26.690Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-03T04:28:26.690Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-03T04:28:26.690Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-03T04:28:26.690Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-03T04:28:35.622Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.218s coverage: 27.6% of statements [2023-08-03T04:28:42.276Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.385s coverage: 80.2% of statements [2023-08-03T04:28:54.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-03T04:28:54.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-03T04:28:54.596Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.336s coverage: 86.0% of statements [2023-08-03T04:29:01.241Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-03T04:29:01.241Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.479s coverage: 71.8% of statements [2023-08-03T04:29:04.596Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.283s coverage: 14.3% of statements [2023-08-03T04:29:06.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-03T04:29:06.546Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-03T04:29:07.518Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.795s coverage: 43.8% of statements [2023-08-03T04:29:07.518Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.395s coverage: 68.5% of statements [2023-08-03T04:29:10.101Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.419s coverage: 89.2% of statements [2023-08-03T04:29:12.038Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-03T04:29:12.038Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.236s coverage: 5.5% of statements [2023-08-03T04:29:12.997Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-03T04:29:12.997Z] GO111MODULE=on go vet ./... [2023-08-03T04:31:34.672Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-03T04:31:34.672Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-03T04:31:34.672Z] ./bin/test-attribution-txt.sh [2023-08-03T04:31:34.672Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-03T04:31:34.672Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-03T04:31:34.672Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-03T04:31:34.672Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-03T04:31:34.672Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-03T04:31:34.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-03T04:31:34.706Z] $ docker stop --time=1 3ade29e8f73cb36b114abd5956a64ba09a7fd62c7c71c4460a8cf3763045f324 [2023-08-03T04:31:36.577Z] $ docker rm -f --volumes 3ade29e8f73cb36b114abd5956a64ba09a7fd62c7c71c4460a8cf3763045f324 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-03T04:31:38.077Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-03T04:31:38.098Z] Warning: overwriting stash ‘coverage-report’ [2023-08-03T04:31:38.621Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-03T04:31:39.010Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-03T04:31:39.319Z] + ls -al . [2023-08-03T04:31:39.319Z] total 300 [2023-08-03T04:31:39.319Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 3 04:25 . [2023-08-03T04:31:39.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 04:23 .. [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 3 04:23 .dockerignore [2023-08-03T04:31:39.319Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 3 04:23 .git [2023-08-03T04:31:39.319Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 04:23 .github [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 3 04:23 .gitignore [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 3 04:23 .golangci.yml [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 3 04:23 CHANGELOG.md [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 3 04:23 GOVERNANCE.md [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 3 04:23 Jenkinsfile [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 3 04:23 LICENSE [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 3 04:23 Makefile [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 3 04:23 OWNERS.md [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 3 04:23 README.md [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 3 04:20 VERSION [2023-08-03T04:31:39.319Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 3 04:23 bin [2023-08-03T04:31:39.319Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 3 04:29 coverage.out [2023-08-03T04:31:39.319Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 3 04:23 example [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 3 04:23 go.mod [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 3 04:23 go.sum [2023-08-03T04:31:39.319Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 3 04:23 internal [2023-08-03T04:31:39.319Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 3 04:23 openapi [2023-08-03T04:31:39.319Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 3 04:23 pkg [2023-08-03T04:31:39.319Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 3 04:23 snap [2023-08-03T04:31:39.319Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 3 04:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:31:39.649Z] + 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=ca6e439590fd3e0d96364bc20f1a7957a2569ef1 --label arch=arm64 --label version=0.0.0 . [2023-08-03T04:31:39.914Z] Sending build context to Docker daemon 6.141MB [2023-08-03T04:31:40.183Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-03T04:31:40.183Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-03T04:31:40.183Z] ---> e76ad51d930a [2023-08-03T04:31:40.183Z] Step 3/23 : ARG MAKE=make build [2023-08-03T04:31:40.183Z] ---> Running in 78b9603d48fb [2023-08-03T04:31:40.450Z] Removing intermediate container 78b9603d48fb [2023-08-03T04:31:40.450Z] ---> 3822f9e7952d [2023-08-03T04:31:40.450Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-03T04:31:40.450Z] ---> Running in 27822b5b88d7 [2023-08-03T04:31:43.574Z] Removing intermediate container 27822b5b88d7 [2023-08-03T04:31:43.574Z] ---> c4076a8c5fa2 [2023-08-03T04:31:43.574Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-03T04:31:43.574Z] ---> Running in 85770ec06c5f [2023-08-03T04:31:43.841Z] Removing intermediate container 85770ec06c5f [2023-08-03T04:31:43.841Z] ---> 229580030552 [2023-08-03T04:31:43.841Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-03T04:31:43.841Z] ---> Running in a8cad9282003 [2023-08-03T04:31:44.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-03T04:31:45.376Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-03T04:31:46.331Z] OK: 263 MiB in 53 packages [2023-08-03T04:31:47.292Z] Removing intermediate container a8cad9282003 [2023-08-03T04:31:47.292Z] ---> 7b2dab13bbf2 [2023-08-03T04:31:47.292Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-03T04:31:47.567Z] ---> 800cfe4bb6ab [2023-08-03T04:31:47.567Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-03T04:31:47.567Z] ---> Running in 158e98baaa06 [2023-08-03T04:31:50.140Z] Removing intermediate container 158e98baaa06 [2023-08-03T04:31:50.140Z] ---> ccb6743ae8aa [2023-08-03T04:31:50.140Z] Step 9/23 : COPY . . [2023-08-03T04:31:51.097Z] ---> bf78fb53392d [2023-08-03T04:31:51.097Z] Step 10/23 : RUN ${MAKE} [2023-08-03T04:31:51.097Z] ---> Running in 9321dfa19a02 [2023-08-03T04:31:52.051Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-03T04:33:58.704Z] Removing intermediate container 9321dfa19a02 [2023-08-03T04:33:58.704Z] ---> d910f43d9ec6 [2023-08-03T04:33:58.704Z] Step 11/23 : FROM alpine:3.17 [2023-08-03T04:33:58.704Z] 3.17: Pulling from library/alpine [2023-08-03T04:33:58.704Z] edb6bdbacee9: Already exists [2023-08-03T04:33:58.704Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-08-03T04:33:58.704Z] Status: Downloaded newer image for alpine:3.17 [2023-08-03T04:33:58.704Z] ---> 779605e5fbc0 [2023-08-03T04:33:58.704Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-03T04:33:58.704Z] ---> Running in 6c8b8a1d80f6 [2023-08-03T04:33:58.969Z] Removing intermediate container 6c8b8a1d80f6 [2023-08-03T04:33:58.969Z] ---> 9d86af76535c [2023-08-03T04:33:58.969Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-03T04:33:58.969Z] ---> Running in af30188eb867 [2023-08-03T04:33:59.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-03T04:34:00.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-03T04:34:01.460Z] OK: 7 MiB in 15 packages [2023-08-03T04:34:02.429Z] Removing intermediate container af30188eb867 [2023-08-03T04:34:02.429Z] ---> f74dc3eb579c [2023-08-03T04:34:02.429Z] Step 14/23 : WORKDIR / [2023-08-03T04:34:02.429Z] ---> Running in 880a747874ee [2023-08-03T04:34:02.695Z] Removing intermediate container 880a747874ee [2023-08-03T04:34:02.695Z] ---> 6c60eca0db04 [2023-08-03T04:34:02.695Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-03T04:34:02.961Z] ---> 83e6746b5906 [2023-08-03T04:34:02.961Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-03T04:34:04.369Z] ---> 4538260a4ec7 [2023-08-03T04:34:04.369Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-03T04:34:04.951Z] ---> 33a931425c77 [2023-08-03T04:34:04.951Z] Step 18/23 : EXPOSE 59999 [2023-08-03T04:34:04.951Z] ---> Running in df58dcafdc7c [2023-08-03T04:34:05.218Z] Removing intermediate container df58dcafdc7c [2023-08-03T04:34:05.218Z] ---> a06fa8cd9525 [2023-08-03T04:34:05.218Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-03T04:34:05.218Z] ---> Running in 2e3e7010410f [2023-08-03T04:34:05.485Z] Removing intermediate container 2e3e7010410f [2023-08-03T04:34:05.485Z] ---> e2b1da1cb02d [2023-08-03T04:34:05.485Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-03T04:34:05.765Z] ---> Running in ca17cc9d9310 [2023-08-03T04:34:06.031Z] Removing intermediate container ca17cc9d9310 [2023-08-03T04:34:06.031Z] ---> c227d0321bc2 [2023-08-03T04:34:06.031Z] Step 21/23 : LABEL arch=arm64 [2023-08-03T04:34:06.031Z] ---> Running in f6e5a16c7dec [2023-08-03T04:34:06.307Z] Removing intermediate container f6e5a16c7dec [2023-08-03T04:34:06.307Z] ---> 8c413b08d5a1 [2023-08-03T04:34:06.307Z] Step 22/23 : LABEL git_sha=ca6e439590fd3e0d96364bc20f1a7957a2569ef1 [2023-08-03T04:34:06.307Z] ---> Running in c14faa3e2491 [2023-08-03T04:34:06.575Z] Removing intermediate container c14faa3e2491 [2023-08-03T04:34:06.575Z] ---> d809d60b4c53 [2023-08-03T04:34:06.575Z] Step 23/23 : LABEL version=0.0.0 [2023-08-03T04:34:06.840Z] ---> Running in 1176f65783da [2023-08-03T04:34:07.765Z] Removing intermediate container 1176f65783da [2023-08-03T04:34:07.765Z] ---> 0e5e91e49682 [2023-08-03T04:34:07.765Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-03T04:34:07.765Z] Successfully built 0e5e91e49682 [2023-08-03T04:34:07.765Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:34:08.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-03T04:34:08.188Z] [2023-08-03T04:34:08.188Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:34:08.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-03T04:34:08.526Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-03T04:34:08.526Z] 8998bd30e6a1: Pulling fs layer [2023-08-03T04:34:08.526Z] 04944245beec: Pulling fs layer [2023-08-03T04:34:08.526Z] 699f458cf7ca: Pulling fs layer [2023-08-03T04:34:08.526Z] 765212b225bb: Pulling fs layer [2023-08-03T04:34:08.526Z] f23df028b6ca: Pulling fs layer [2023-08-03T04:34:08.526Z] d65c8cfc05b1: Pulling fs layer [2023-08-03T04:34:08.526Z] 2437ff75d9bd: Pulling fs layer [2023-08-03T04:34:08.526Z] 765212b225bb: Waiting [2023-08-03T04:34:08.526Z] f23df028b6ca: Waiting [2023-08-03T04:34:08.526Z] d65c8cfc05b1: Waiting [2023-08-03T04:34:08.526Z] 2437ff75d9bd: Waiting [2023-08-03T04:34:08.793Z] 04944245beec: Verifying Checksum [2023-08-03T04:34:08.793Z] 04944245beec: Download complete [2023-08-03T04:34:08.793Z] 765212b225bb: Verifying Checksum [2023-08-03T04:34:08.793Z] 765212b225bb: Download complete [2023-08-03T04:34:08.793Z] f23df028b6ca: Download complete [2023-08-03T04:34:08.793Z] d65c8cfc05b1: Download complete [2023-08-03T04:34:08.793Z] 699f458cf7ca: Verifying Checksum [2023-08-03T04:34:08.793Z] 699f458cf7ca: Download complete [2023-08-03T04:34:09.375Z] 8998bd30e6a1: Verifying Checksum [2023-08-03T04:34:09.375Z] 8998bd30e6a1: Download complete [2023-08-03T04:34:11.314Z] 2437ff75d9bd: Verifying Checksum [2023-08-03T04:34:11.314Z] 2437ff75d9bd: Download complete [2023-08-03T04:34:13.254Z] 8998bd30e6a1: Pull complete [2023-08-03T04:34:13.520Z] 04944245beec: Pull complete [2023-08-03T04:34:14.926Z] 699f458cf7ca: Pull complete [2023-08-03T04:34:15.194Z] 765212b225bb: Pull complete [2023-08-03T04:34:15.776Z] f23df028b6ca: Pull complete [2023-08-03T04:34:16.043Z] d65c8cfc05b1: Pull complete [2023-08-03T04:34:31.031Z] 2437ff75d9bd: Pull complete [2023-08-03T04:34:31.031Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-03T04:34:31.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-03T04:34:31.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T04:34:31.217Z] prd-ubuntu20.04-docker-arm64-4c-16g-2808 does not seem to be running inside a container [2023-08-03T04:34:31.280Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-08-03T04:34:33.775Z] $ docker top b61986c5e4cb7ae4af4b255f35578de7fb59ae30185b4e561f216580e76504aa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:34:34.595Z] ---> job-cost.sh [2023-08-03T04:34:34.595Z] lf-activate-venv: SKIPPING [2023-08-03T04:34:34.595Z] INFO: No Stack... [2023-08-03T04:34:34.858Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-03T04:34:35.809Z] INFO: Archiving Costs [Pipeline] sh [2023-08-03T04:34:36.125Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-08-03T04:34:36.125Z] + cut -d, -f6 [Pipeline] lock [2023-08-03T04:34:36.416Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1488-3-stack-cost] [2023-08-03T04:34:36.425Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-3-stack-cost] did not exist. Created. [2023-08-03T04:34:36.425Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1488-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-03T04:34:36.760Z] /w/workspace/device-sdk-go/3@tmp/durable-7ab09808/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-03T04:34:37.090Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-03T04:34:37.104Z] Warning: overwriting stash ‘stack-cost’ [2023-08-03T04:34:37.174Z] Stashed 1 file(s) [Pipeline] } [2023-08-03T04:34:37.180Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1488-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-03T04:34:37.199Z] $ docker stop --time=1 b61986c5e4cb7ae4af4b255f35578de7fb59ae30185b4e561f216580e76504aa [2023-08-03T04:34:38.658Z] $ docker rm -f --volumes b61986c5e4cb7ae4af4b255f35578de7fb59ae30185b4e561f216580e76504aa [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 [2023-08-03T04:34:39.048Z] provisioning config files... [2023-08-03T04:34:39.057Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/config7335485802903599602tmp [Pipeline] { [Pipeline] sh [2023-08-03T04:34:39.373Z] + set +x [2023-08-03T04:34:39.373Z] + bash -s -- [2023-08-03T04:34:39.373Z] + curl -s https://codecov.io/bash [2023-08-03T04:34:39.373Z] [2023-08-03T04:34:39.373Z] _____ _ [2023-08-03T04:34:39.373Z] / ____| | | [2023-08-03T04:34:39.373Z] | | ___ __| | ___ ___ _____ __ [2023-08-03T04:34:39.373Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-03T04:34:39.373Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-03T04:34:39.373Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-03T04:34:39.373Z] Bash-1.0.6 [2023-08-03T04:34:39.373Z] [2023-08-03T04:34:39.373Z] [2023-08-03T04:34:39.373Z] ==> git version 2.25.1 found [2023-08-03T04:34:39.373Z] ==> 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 [2023-08-03T04:34:39.373Z] Release-Date: 2020-01-08 [2023-08-03T04:34:39.373Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-08-03T04:34:39.373Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-03T04:34:39.373Z] ==> Jenkins CI detected. [2023-08-03T04:34:39.373Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1488 [2023-08-03T04:34:39.373Z] project root: . [2023-08-03T04:34:39.373Z] --> token set from env [2023-08-03T04:34:39.373Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-03T04:34:39.373Z] ==> Running gcov in . (disable via -X gcov) [2023-08-03T04:34:39.373Z] ==> Python coveragepy not found [2023-08-03T04:34:39.373Z] ==> Searching for coverage reports in: [2023-08-03T04:34:39.373Z] + . [2023-08-03T04:34:39.373Z] -> Found 1 reports [2023-08-03T04:34:39.373Z] ==> Detecting git/mercurial file structure [2023-08-03T04:34:39.641Z] ==> Reading reports [2023-08-03T04:34:39.641Z] + ./coverage.out bytes=120271 [2023-08-03T04:34:39.641Z] ==> Appending adjustments [2023-08-03T04:34:39.641Z] https://docs.codecov.io/docs/fixing-reports [2023-08-03T04:34:39.903Z] + Found adjustments [2023-08-03T04:34:39.903Z] ==> Gzipping contents [2023-08-03T04:34:39.903Z] 20K /tmp/codecov.1pwBgT.gz [2023-08-03T04:34:39.903Z] ==> Uploading reports [2023-08-03T04:34:39.903Z] url: https://codecov.io [2023-08-03T04:34:39.903Z] query: branch=PR-1488&commit=ca6e439590fd3e0d96364bc20f1a7957a2569ef1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1488%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1488&job=&cmd_args= [2023-08-03T04:34:39.903Z] -> Pinging Codecov [2023-08-03T04:34:39.903Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1488&commit=ca6e439590fd3e0d96364bc20f1a7957a2569ef1&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1488%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1488&job=&cmd_args= [2023-08-03T04:34:39.903Z] -> Uploading to [2023-08-03T04:34:39.903Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-03/7E55EF52A471D76F132DFD9A03CDDE97/ca6e439590fd3e0d96364bc20f1a7957a2569ef1/da2e4396-6859-4810-8e34-d3abcea93fbd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230803%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230803T043439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3cc8e9f3a8ba8146cfdebbe29f8100d5ce79b1d66ea58a264b5acc702b8dd9a4 [2023-08-03T04:34:39.903Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-03T04:34:39.903Z] Dload Upload Total Spent Left Speed [2023-08-03T04:34:40.165Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16432 0 0 100 16432 0 80945 --:--:-- --:--:-- --:--:-- 80945 [2023-08-03T04:34:40.165Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/ca6e439590fd3e0d96364bc20f1a7957a2569ef1 [Pipeline] } [2023-08-03T04:34:40.173Z] 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 [2023-08-03T04:34:40.898Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives ] [2023-08-03T04:34:40.898Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives [2023-08-03T04:34:40.898Z] total 16 [2023-08-03T04:34:40.898Z] drwxr-xr-x 3 root root 4096 Aug 3 04:22 . [2023-08-03T04:34:40.898Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 3 04:22 .. [2023-08-03T04:34:40.898Z] drwxr-xr-x 2 root root 4096 Aug 3 04:22 cost [2023-08-03T04:34:40.898Z] -rw-r--r-- 1 root root 86 Aug 3 04:22 cost.csv [2023-08-03T04:34:40.898Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives [2023-08-03T04:34:40.898Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives [2023-08-03T04:34:40.898Z] total 16 [2023-08-03T04:34:40.898Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 3 04:22 . [2023-08-03T04:34:40.898Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 3 04:22 .. [2023-08-03T04:34:40.898Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 3 04:22 cost [2023-08-03T04:34:40.898Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 3 04:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:34:41.189Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:34:42.046Z] ---> package-listing.sh [2023-08-03T04:34:42.047Z] ++ facter osfamily [2023-08-03T04:34:42.047Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-03T04:34:42.306Z] + OS_FAMILY=debian [2023-08-03T04:34:42.306Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1488 [2023-08-03T04:34:42.306Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-03T04:34:42.306Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-03T04:34:42.306Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-03T04:34:42.306Z] + PACKAGES=/tmp/packages_start.txt [2023-08-03T04:34:42.306Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1488 ']' [2023-08-03T04:34:42.306Z] + PACKAGES=/tmp/packages_end.txt [2023-08-03T04:34:42.306Z] + case "${OS_FAMILY}" in [2023-08-03T04:34:42.306Z] + dpkg -l [2023-08-03T04:34:42.306Z] + grep '^ii' [2023-08-03T04:34:42.306Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-03T04:34:42.306Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-03T04:34:42.306Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-03T04:34:42.306Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1488 ']' [2023-08-03T04:34:42.306Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives/ [2023-08-03T04:34:42.306Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1488/archives/ [Pipeline] echo [2023-08-03T04:34:42.316Z] 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-1488/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-03T04:34:42.595Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-03T04:34:43.153Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-03T04:34:43.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-03T04:34:43.221Z] prd-ubuntu20.04-docker-8c-8g-2806 does not seem to be running inside a container [2023-08-03T04:34:43.278Z] $ 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-1488/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-1488 -v /w/workspace/gexfoundry_device-sdk-go_PR-1488:/w/workspace/gexfoundry_device-sdk-go_PR-1488:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-03T04:34:43.489Z] $ docker top f30f30ee4e37b7eef9610ce2441f0ab0d51fafed5a22807f85d45f534dca8448 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-03T04:34:43.812Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-03T04:34:44.095Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-03T04:34:44.376Z] + ls /var/log/sa-host [2023-08-03T04:34:44.376Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-03T04:34:44.447Z] provisioning config files... [2023-08-03T04:34:44.455Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1488@tmp/config14721560380244824472tmp [Pipeline] { [Pipeline] echo [2023-08-03T04:34:44.469Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:34:44.748Z] ---> create-netrc.sh [Pipeline] } [2023-08-03T04:34:44.756Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:34:45.072Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-03T04:34:45.082Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:34:45.364Z] ---> sudo-logs.sh [2023-08-03T04:34:45.364Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-03T04:34:45.387Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:34:45.672Z] ---> job-cost.sh [2023-08-03T04:34:45.672Z] lf-activate-venv: SKIPPING [2023-08-03T04:34:45.672Z] DEBUG: total: 0.2199999988079071 [2023-08-03T04:34:45.672Z] INFO: Retrieving Stack Cost... [2023-08-03T04:34:45.930Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-03T04:34:47.167Z] INFO: Archiving Costs [Pipeline] echo [2023-08-03T04:34:47.177Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-03T04:34:47.459Z] ---> logs-deploy.sh [2023-08-03T04:34:47.459Z] lf-activate-venv: SKIPPING [2023-08-03T04:34:47.459Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1488/3 [2023-08-03T04:34:47.459Z] INFO: archiving workspace using pattern(s): [2023-08-03T04:34:48.395Z] Archives upload complete. [2023-08-03T04:34:48.395Z] INFO: archiving logs to Nexus