Branch indexing 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 bnevis-i for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0788bfb21fb273ad7b45151f543634661d4fb024+a0da80382c0e288d5b5fa5ac238919125b7cf977 (d35b0616ea39b6d55f578417226ce618b344dd01) 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-ssh3008720885977356496.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-ssh17638226442750470454.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-1475/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-1475/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9486546412311055788.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-ssh10348810694162247090.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-1475/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-1475/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5393754235913068436.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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1458 in /w/workspace/gexfoundry_device-sdk-go_PR-1475 [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-1475 # 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/1475/head:refs/remotes/origin/PR-1475 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a0da80382c0e288d5b5fa5ac238919125b7cf977 into PR head commit 0788bfb21fb273ad7b45151f543634661d4fb024 Merge succeeded, producing 689774cde22fe1bc10d81a9252d6d5780f162e05 Checking out Revision 689774cde22fe1bc10d81a9252d6d5780f162e05 (PR-1475) > git config core.sparsecheckout # timeout=10 > git checkout -f 0788bfb21fb273ad7b45151f543634661d4fb024 # 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 a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 689774cde22fe1bc10d81a9252d6d5780f162e05 # timeout=10 Commit message: "Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk eb93298487c7014ed0c97b15ee153db9be8b095f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-07-18T18:41:27.754Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-07-18T18:41:27.813Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-07-18T18:41:27.826Z] ========================================================= [2023-07-18T18:41:27.826Z] EdgeX Global Pipelines Version Info [2023-07-18T18:41:27.826Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:41:28.560Z] ------------------- [2023-07-18T18:41:28.560Z] stable info: [2023-07-18T18:41:28.560Z] ------------------- [2023-07-18T18:41:28.560Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-07-18T18:41:28.560Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-18T18:41:28.560Z] Message: update stable to v1.0.250 [2023-07-18T18:41:29.133Z] ------------------- [2023-07-18T18:41:29.133Z] experimental info: [2023-07-18T18:41:29.133Z] ------------------- [2023-07-18T18:41:29.133Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-07-18T18:41:29.133Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-07-18T18:41:29.133Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-07-18T18:41:29.301Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-07-18T18:41:29.310Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-07-18T18:41:29.318Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-07-18T18:41:29.326Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-07-18T18:41:29.347Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-07-18T18:41:29.367Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-07-18T18:41:29.383Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-07-18T18:41:29.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-07-18T18:41:29.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-07-18T18:41:29.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-07-18T18:41:29.441Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-07-18T18:41:29.458Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-07-18T18:41:29.472Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-07-18T18:41:29.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-07-18T18:41:29.500Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-07-18T18:41:29.513Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T18:41:29.526Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T18:41:29.542Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-07-18T18:41:29.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-07-18T18:41:29.571Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-07-18T18:41:29.586Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-07-18T18:41:29.605Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-07-18T18:41:29.623Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-07-18T18:41:29.634Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-07-18T18:41:29.650Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-07-18T18:41:29.663Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-07-18T18:41:29.679Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-07-18T18:41:29.692Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1475 [Pipeline] echo [2023-07-18T18:41:29.707Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1475 [Pipeline] echo [2023-07-18T18:41:29.720Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1475 [Pipeline] echo [2023-07-18T18:41:29.734Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 689774cde22fe1bc10d81a9252d6d5780f162e05 [Pipeline] echo [2023-07-18T18:41:29.747Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 689774c [Pipeline] echo [2023-07-18T18:41:29.762Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T18:41:29.819Z] provisioning config files... [2023-07-18T18:41:29.833Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config13532162412951588871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:41:30.166Z] ---> docker-login.sh [2023-07-18T18:41:30.166Z] nexus3.edgexfoundry.org:10001 [2023-07-18T18:41:30.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:41:30.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:41:30.697Z] Configure a credential helper to remove this warning. See [2023-07-18T18:41:30.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:41:30.697Z] [2023-07-18T18:41:30.697Z] Login Succeeded [2023-07-18T18:41:30.697Z] nexus3.edgexfoundry.org:10002 [2023-07-18T18:41:30.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:41:30.697Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:41:30.697Z] Configure a credential helper to remove this warning. See [2023-07-18T18:41:30.697Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:41:30.697Z] [2023-07-18T18:41:30.697Z] Login Succeeded [2023-07-18T18:41:30.697Z] nexus3.edgexfoundry.org:10003 [2023-07-18T18:41:30.697Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:41:30.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:41:30.960Z] Configure a credential helper to remove this warning. See [2023-07-18T18:41:30.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:41:30.960Z] [2023-07-18T18:41:30.960Z] Login Succeeded [2023-07-18T18:41:30.960Z] nexus3.edgexfoundry.org:10004 [2023-07-18T18:41:30.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:41:30.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:41:30.960Z] Configure a credential helper to remove this warning. See [2023-07-18T18:41:30.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:41:30.960Z] [2023-07-18T18:41:30.960Z] Login Succeeded [2023-07-18T18:41:30.960Z] docker.io [2023-07-18T18:41:30.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:41:31.220Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:41:31.220Z] Configure a credential helper to remove this warning. See [2023-07-18T18:41:31.220Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:41:31.220Z] [2023-07-18T18:41:31.220Z] Login Succeeded [2023-07-18T18:41:31.220Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T18:41:31.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-07-18T18:41:31.616Z] + git rev-list -1 --merges 689774cde22fe1bc10d81a9252d6d5780f162e05~1..689774cde22fe1bc10d81a9252d6d5780f162e05 [Pipeline] echo [2023-07-18T18:41:31.663Z] -----------> git rev-list -1 --merges 689774cde22fe1bc10d81a9252d6d5780f162e05~1..689774cde22fe1bc10d81a9252d6d5780f162e05 689774cde22fe1bc10d81a9252d6d5780f162e05 [2023-07-18T18:41:31.663Z] 689774cde22fe1bc10d81a9252d6d5780f162e05 [false] [Pipeline] sh [2023-07-18T18:41:31.956Z] + git log --format=format:%s -1 689774cde22fe1bc10d81a9252d6d5780f162e05 [Pipeline] echo [2023-07-18T18:41:31.974Z] ========================================================= [2023-07-18T18:41:31.974Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-07-18T18:41:31.974Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T18:41:32.328Z] + git log --format=format:%s -1 689774cde22fe1bc10d81a9252d6d5780f162e05 [Pipeline] echo [2023-07-18T18:41:32.341Z] [semverPrep] GIT_COMMIT: 689774cde22fe1bc10d81a9252d6d5780f162e05, Commit Message: Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD [Pipeline] echo [2023-07-18T18:41:32.351Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-07-18T18:41:32.739Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-07-18T18:41:32.739Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-07-18T18:41:32.739Z] + [ -e /tmp/ssh_known_hosts ] [2023-07-18T18:41:32.739Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-07-18T18:41:32.739Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-07-18T18:41:32.739Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-07-18T18:41:32.739Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:41:33.165Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T18:41:33.166Z] [2023-07-18T18:41:33.166Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:41:33.461Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T18:41:33.461Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-07-18T18:41:33.461Z] b85a868b505f: Pulling fs layer [2023-07-18T18:41:33.461Z] e2be974225ed: Pulling fs layer [2023-07-18T18:41:33.461Z] 339a4e72a1f5: Pulling fs layer [2023-07-18T18:41:33.461Z] 988bab9f4d93: Pulling fs layer [2023-07-18T18:41:33.461Z] 1469e6f7b9e6: Pulling fs layer [2023-07-18T18:41:33.461Z] eaf3925da568: Pulling fs layer [2023-07-18T18:41:33.461Z] bab4dde63d76: Pulling fs layer [2023-07-18T18:41:33.461Z] bde34c3a00c8: Pulling fs layer [2023-07-18T18:41:33.461Z] b352a97aabf1: Pulling fs layer [2023-07-18T18:41:33.461Z] 4872d77fe225: Pulling fs layer [2023-07-18T18:41:33.461Z] 5851b861e8e6: Pulling fs layer [2023-07-18T18:41:33.461Z] 1469e6f7b9e6: Waiting [2023-07-18T18:41:33.461Z] bde34c3a00c8: Waiting [2023-07-18T18:41:33.461Z] bab4dde63d76: Waiting [2023-07-18T18:41:33.461Z] 5851b861e8e6: Waiting [2023-07-18T18:41:33.461Z] b352a97aabf1: Waiting [2023-07-18T18:41:33.461Z] 988bab9f4d93: Waiting [2023-07-18T18:41:33.461Z] e2be974225ed: Download complete [2023-07-18T18:41:33.461Z] 988bab9f4d93: Verifying Checksum [2023-07-18T18:41:33.461Z] 988bab9f4d93: Download complete [2023-07-18T18:41:33.461Z] 1469e6f7b9e6: Verifying Checksum [2023-07-18T18:41:33.461Z] 1469e6f7b9e6: Download complete [2023-07-18T18:41:33.461Z] 339a4e72a1f5: Verifying Checksum [2023-07-18T18:41:33.461Z] 339a4e72a1f5: Download complete [2023-07-18T18:41:33.461Z] eaf3925da568: Download complete [2023-07-18T18:41:33.720Z] bde34c3a00c8: Verifying Checksum [2023-07-18T18:41:33.720Z] bde34c3a00c8: Download complete [2023-07-18T18:41:33.720Z] b352a97aabf1: Verifying Checksum [2023-07-18T18:41:33.720Z] b352a97aabf1: Download complete [2023-07-18T18:41:33.720Z] 4872d77fe225: Verifying Checksum [2023-07-18T18:41:33.720Z] 4872d77fe225: Download complete [2023-07-18T18:41:33.720Z] 5851b861e8e6: Download complete [2023-07-18T18:41:33.720Z] b85a868b505f: Verifying Checksum [2023-07-18T18:41:33.720Z] b85a868b505f: Download complete [2023-07-18T18:41:33.979Z] bab4dde63d76: Verifying Checksum [2023-07-18T18:41:33.979Z] bab4dde63d76: Download complete [2023-07-18T18:41:34.919Z] b85a868b505f: Pull complete [2023-07-18T18:41:35.178Z] e2be974225ed: Pull complete [2023-07-18T18:41:35.745Z] 339a4e72a1f5: Pull complete [2023-07-18T18:41:35.745Z] 988bab9f4d93: Pull complete [2023-07-18T18:41:36.007Z] 1469e6f7b9e6: Pull complete [2023-07-18T18:41:36.267Z] eaf3925da568: Pull complete [2023-07-18T18:41:38.171Z] bab4dde63d76: Pull complete [2023-07-18T18:41:38.171Z] bde34c3a00c8: Pull complete [2023-07-18T18:41:38.171Z] b352a97aabf1: Pull complete [2023-07-18T18:41:38.431Z] 4872d77fe225: Pull complete [2023-07-18T18:41:38.431Z] 5851b861e8e6: Pull complete [2023-07-18T18:41:38.431Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-07-18T18:41:38.431Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-07-18T18:41:38.431Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T18:41:38.535Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-07-18T18:41:38.569Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@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-devops/py-git-semver:0.1.4 cat [2023-07-18T18:41:41.074Z] $ docker top 73578115d064bed63ef909f52eacb4ae2bbb1a7755fee7c6d42d9b01439700ff -eo pid,comm [2023-07-18T18:41:41.143Z] 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-07-18T18:41:41.143Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-07-18T18:41:41.214Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T18:41:41.214Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T18:41:41.340Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T18:41:41.339Z] $ docker exec 73578115d064bed63ef909f52eacb4ae2bbb1a7755fee7c6d42d9b01439700ff ssh-agent [2023-07-18T18:41:41.447Z] SSH_AUTH_SOCK=/tmp/ssh-JuPB9p7TTnLJ/agent.32 [2023-07-18T18:41:41.447Z] SSH_AGENT_PID=38 [2023-07-18T18:41:41.455Z] Running ssh-add (command line suppressed) [2023-07-18T18:41:41.551Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_15268871725472682412.key (/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_15268871725472682412.key) [2023-07-18T18:41:41.580Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T18:41:41.871Z] + git tag --points-at HEAD [Pipeline] } [2023-07-18T18:41:41.887Z] $ docker exec --env ******** --env ******** 73578115d064bed63ef909f52eacb4ae2bbb1a7755fee7c6d42d9b01439700ff ssh-agent -k [2023-07-18T18:41:41.992Z] unset SSH_AUTH_SOCK; [2023-07-18T18:41:41.993Z] unset SSH_AGENT_PID; [2023-07-18T18:41:41.993Z] echo Agent pid 38 killed; [2023-07-18T18:41:42.007Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-07-18T18:41:42.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-07-18T18:41:42.037Z] [ssh-agent] Looking for ssh-agent implementation... [2023-07-18T18:41:42.146Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-07-18T18:41:42.145Z] $ docker exec 73578115d064bed63ef909f52eacb4ae2bbb1a7755fee7c6d42d9b01439700ff ssh-agent [2023-07-18T18:41:42.274Z] SSH_AUTH_SOCK=/tmp/ssh-4Z8ABH8EP35v/agent.70 [2023-07-18T18:41:42.274Z] SSH_AGENT_PID=76 [2023-07-18T18:41:42.279Z] Running ssh-add (command line suppressed) [2023-07-18T18:41:42.391Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_17257651039497386745.key (/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/private_key_17257651039497386745.key) [2023-07-18T18:41:42.411Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-07-18T18:41:42.706Z] + git semver init [2023-07-18T18:41:42.966Z] 2023-07-18 18:41:42,884 [run_init] DEBUG init version:0.0.0 force:False [2023-07-18T18:41:42.966Z] 2023-07-18 18:41:42,885 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver [2023-07-18T18:41:42.966Z] 2023-07-18 18:41:42,886 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver [2023-07-18T18:41:42.966Z] 2023-07-18 18:41:42,886 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1475, universal_newlines=False, shell=None, istream=None) [2023-07-18T18:41:43.905Z] 2023-07-18 18:41:43,807 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.git/info/exclude [2023-07-18T18:41:43.905Z] 2023-07-18 18:41:43,808 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver/PR-1475 with force:False [2023-07-18T18:41:43.905Z] 2023-07-18 18:41:43,808 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver/PR-1475 [2023-07-18T18:41:43.905Z] 2023-07-18 18:41:43,812 [execute] INFO git cat-file --batch-check [2023-07-18T18:41:43.906Z] 2023-07-18 18:41:43,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver, universal_newlines=False, shell=None, istream=) [2023-07-18T18:41:43.906Z] 2023-07-18 18:41:43,818 [execute] INFO git cat-file --batch [2023-07-18T18:41:43.906Z] 2023-07-18 18:41:43,819 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver, universal_newlines=False, shell=None, istream=) [2023-07-18T18:41:43.906Z] 2023-07-18 18:41:43,824 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1475/.semver/PR-1475 [2023-07-18T18:41:43.906Z] 0.0.0 [Pipeline] } [2023-07-18T18:41:43.911Z] $ docker exec --env ******** --env ******** 73578115d064bed63ef909f52eacb4ae2bbb1a7755fee7c6d42d9b01439700ff ssh-agent -k [2023-07-18T18:41:44.020Z] unset SSH_AUTH_SOCK; [2023-07-18T18:41:44.021Z] unset SSH_AGENT_PID; [2023-07-18T18:41:44.021Z] echo Agent pid 76 killed; [2023-07-18T18:41:44.037Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-07-18T18:41:44.343Z] + git semver [Pipeline] } [2023-07-18T18:41:44.612Z] $ docker stop --time=1 73578115d064bed63ef909f52eacb4ae2bbb1a7755fee7c6d42d9b01439700ff [2023-07-18T18:41:45.872Z] $ docker rm -f --volumes 73578115d064bed63ef909f52eacb4ae2bbb1a7755fee7c6d42d9b01439700ff [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-18T18:41:46.219Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-07-18T18:41:46.419Z] Stashed 1 file(s) [Pipeline] echo [2023-07-18T18:41:46.422Z] [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-07-18T18:41:46.576Z] provisioning config files... [2023-07-18T18:41:46.586Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config12488741757868318577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:41:46.882Z] ---> docker-login.sh [2023-07-18T18:41:46.882Z] nexus3.edgexfoundry.org:10001 [2023-07-18T18:41:46.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:41:46.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:41:46.882Z] Configure a credential helper to remove this warning. See [2023-07-18T18:41:46.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:41:46.882Z] [2023-07-18T18:41:46.882Z] Login Succeeded [2023-07-18T18:41:46.882Z] nexus3.edgexfoundry.org:10002 [2023-07-18T18:41:46.882Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:41:46.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:41:46.882Z] Configure a credential helper to remove this warning. See [2023-07-18T18:41:46.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:41:46.882Z] [2023-07-18T18:41:46.882Z] Login Succeeded [2023-07-18T18:41:46.882Z] nexus3.edgexfoundry.org:10003 [2023-07-18T18:41:47.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:41:47.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:41:47.142Z] Configure a credential helper to remove this warning. See [2023-07-18T18:41:47.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:41:47.142Z] [2023-07-18T18:41:47.142Z] Login Succeeded [2023-07-18T18:41:47.142Z] nexus3.edgexfoundry.org:10004 [2023-07-18T18:41:47.142Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:41:47.142Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:41:47.142Z] Configure a credential helper to remove this warning. See [2023-07-18T18:41:47.142Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:41:47.142Z] [2023-07-18T18:41:47.142Z] Login Succeeded [2023-07-18T18:41:47.142Z] docker.io [2023-07-18T18:41:47.406Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:41:47.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:41:47.406Z] Configure a credential helper to remove this warning. See [2023-07-18T18:41:47.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:41:47.406Z] [2023-07-18T18:41:47.406Z] Login Succeeded [2023-07-18T18:41:47.406Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T18:41:47.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-18T18:41:47.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T18:41:47.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T18:41:47.489Z] ========================================================= [2023-07-18T18:41:47.489Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-07-18T18:41:47.489Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:41:47.792Z] + 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-07-18T18:41:47.792Z] Sending build context to Docker daemon 10.92MB [2023-07-18T18:41:47.792Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T18:41:47.792Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-18T18:41:47.792Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-07-18T18:41:47.792Z] 4db1b89c0bd1: Pulling fs layer [2023-07-18T18:41:47.792Z] 6911f1a30b25: Pulling fs layer [2023-07-18T18:41:47.792Z] e194b8c5c2a9: Pulling fs layer [2023-07-18T18:41:47.792Z] 6863d3e3a2b1: Pulling fs layer [2023-07-18T18:41:47.792Z] ec0bb842ea78: Pulling fs layer [2023-07-18T18:41:47.792Z] 40a00589a448: Pulling fs layer [2023-07-18T18:41:47.792Z] 6c08303d61cc: Pulling fs layer [2023-07-18T18:41:47.792Z] ec0bb842ea78: Waiting [2023-07-18T18:41:47.792Z] 40a00589a448: Waiting [2023-07-18T18:41:47.792Z] 6863d3e3a2b1: Waiting [2023-07-18T18:41:47.792Z] 798269fcf238: Pulling fs layer [2023-07-18T18:41:47.792Z] 798269fcf238: Waiting [2023-07-18T18:41:48.053Z] 6911f1a30b25: Verifying Checksum [2023-07-18T18:41:48.053Z] 6911f1a30b25: Download complete [2023-07-18T18:41:48.053Z] 6863d3e3a2b1: Download complete [2023-07-18T18:41:48.053Z] ec0bb842ea78: Download complete [2023-07-18T18:41:48.053Z] 4db1b89c0bd1: Verifying Checksum [2023-07-18T18:41:48.053Z] 4db1b89c0bd1: Download complete [2023-07-18T18:41:48.053Z] 40a00589a448: Verifying Checksum [2023-07-18T18:41:48.053Z] 40a00589a448: Download complete [2023-07-18T18:41:48.053Z] 4db1b89c0bd1: Pull complete [2023-07-18T18:41:48.318Z] 6911f1a30b25: Pull complete [2023-07-18T18:41:48.911Z] 798269fcf238: Verifying Checksum [2023-07-18T18:41:48.911Z] 798269fcf238: Download complete [2023-07-18T18:41:48.911Z] e194b8c5c2a9: Verifying Checksum [2023-07-18T18:41:48.911Z] e194b8c5c2a9: Download complete [2023-07-18T18:41:49.170Z] 6c08303d61cc: Verifying Checksum [2023-07-18T18:41:49.170Z] 6c08303d61cc: Download complete [2023-07-18T18:41:52.452Z] e194b8c5c2a9: Pull complete [2023-07-18T18:41:52.712Z] 6863d3e3a2b1: Pull complete [2023-07-18T18:41:52.712Z] ec0bb842ea78: Pull complete [2023-07-18T18:41:52.712Z] 40a00589a448: Pull complete [2023-07-18T18:41:55.242Z] 6c08303d61cc: Pull complete [2023-07-18T18:41:56.174Z] 798269fcf238: Pull complete [2023-07-18T18:41:56.174Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-07-18T18:41:56.174Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-07-18T18:41:56.175Z] ---> ec979cd7f677 [2023-07-18T18:41:56.175Z] Step 3/10 : ARG MAKE=make build [2023-07-18T18:42:01.454Z] ---> Running in e37558e55700 [2023-07-18T18:42:01.454Z] Removing intermediate container e37558e55700 [2023-07-18T18:42:01.454Z] ---> 0799608e6344 [2023-07-18T18:42:01.455Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-18T18:42:01.455Z] ---> Running in 3c297e3bc0e4 [2023-07-18T18:42:01.455Z] Removing intermediate container 3c297e3bc0e4 [2023-07-18T18:42:01.455Z] ---> 4aae6e76f1fe [2023-07-18T18:42:01.455Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T18:42:01.455Z] ---> Running in e4db6a2759fc [2023-07-18T18:42:01.455Z] Removing intermediate container e4db6a2759fc [2023-07-18T18:42:01.455Z] ---> 7a6dba88ddbc [2023-07-18T18:42:01.455Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-18T18:42:01.455Z] ---> Running in c166665caec4 [2023-07-18T18:42:01.536Z] Still waiting to schedule task [2023-07-18T18:42:01.536Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-07-18T18:42:01.714Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-18T18:42:01.973Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-18T18:42:02.543Z] OK: 265 MiB in 53 packages [2023-07-18T18:42:02.803Z] Removing intermediate container c166665caec4 [2023-07-18T18:42:02.803Z] ---> 68d94e1bb629 [2023-07-18T18:42:02.803Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-18T18:42:02.803Z] ---> ac5f5ef8b929 [2023-07-18T18:42:02.803Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T18:42:03.063Z] ---> Running in a77fa829bd09 [2023-07-18T18:42:41.826Z] Removing intermediate container a77fa829bd09 [2023-07-18T18:42:41.826Z] ---> 4aafc7a722e0 [2023-07-18T18:42:41.826Z] Step 9/10 : COPY . . [2023-07-18T18:42:41.826Z] ---> c15336e30204 [2023-07-18T18:42:41.826Z] Step 10/10 : RUN ${MAKE} [2023-07-18T18:42:41.826Z] ---> Running in 443cd86200e0 [2023-07-18T18:42:41.826Z] noop [2023-07-18T18:42:41.826Z] Removing intermediate container 443cd86200e0 [2023-07-18T18:42:41.826Z] ---> 9f00ba91b3fb [2023-07-18T18:42:41.826Z] Successfully built 9f00ba91b3fb [2023-07-18T18:42:41.826Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:42:42.148Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-18T18:42:42.148Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T18:42:42.222Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-07-18T18:42:42.250Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@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 ******** -e ******** ci-base-image-x86_64 cat [2023-07-18T18:42:42.572Z] $ docker top bc5ceeedbef7b8088cd0147601ca793aa341edd0f512a20a3b258ea651ab7a8f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T18:42:42.926Z] + go version [2023-07-18T18:42:42.926Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-07-18T18:42:42.933Z] $ docker stop --time=1 bc5ceeedbef7b8088cd0147601ca793aa341edd0f512a20a3b258ea651ab7a8f [2023-07-18T18:42:44.235Z] $ docker rm -f --volumes bc5ceeedbef7b8088cd0147601ca793aa341edd0f512a20a3b258ea651ab7a8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:42:44.655Z] + docker inspect -f . ci-base-image-x86_64 [2023-07-18T18:42:44.655Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T18:42:44.721Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-07-18T18:42:44.755Z] $ 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-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@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 ******** -e ******** ci-base-image-x86_64 cat [2023-07-18T18:42:45.105Z] $ docker top 1b340f4acc6bcea5d1124bdacb758fc520790d3af6861b58dc131f34646b8a02 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T18:42:45.454Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1475 [Pipeline] fileExists [Pipeline] sh [2023-07-18T18:42:45.749Z] + make test [2023-07-18T18:42:45.749Z] go test -race -coverprofile=coverage.out ./... [2023-07-18T18:42:53.871Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-18T18:43:08.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-18T18:43:08.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-18T18:43:08.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-18T18:43:08.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-18T18:43:08.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-18T18:43:08.743Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.074s coverage: 27.6% of statements [2023-07-18T18:43:08.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-18T18:43:08.743Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-18T18:43:08.743Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 80.2% of statements [2023-07-18T18:43:08.743Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.076s coverage: 86.0% of statements [2023-07-18T18:43:09.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-18T18:43:09.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-18T18:43:09.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-18T18:43:09.677Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-18T18:43:09.677Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.113s coverage: 77.5% of statements [2023-07-18T18:43:10.612Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-18T18:43:12.517Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 14.3% of statements [2023-07-18T18:43:12.517Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.070s coverage: 68.5% of statements [2023-07-18T18:43:12.517Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.112s coverage: 89.2% of statements [2023-07-18T18:43:12.517Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.6% of statements [2023-07-18T18:43:34.443Z] GO111MODULE=on go vet ./... [2023-07-18T18:43:36.971Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-18T18:43:36.971Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-18T18:43:36.971Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-18T18:43:36.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-18T18:43:36.990Z] $ docker stop --time=1 1b340f4acc6bcea5d1124bdacb758fc520790d3af6861b58dc131f34646b8a02 [2023-07-18T18:43:37.155Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1459 in /w/workspace/gexfoundry_device-sdk-go_PR-1475 [2023-07-18T18:43:40.598Z] $ docker rm -f --volumes 1b340f4acc6bcea5d1124bdacb758fc520790d3af6861b58dc131f34646b8a02 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-07-18T18:43:40.889Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2023-07-18T18:43:40.921Z] The recommended git tool is: git [2023-07-18T18:43:41.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-18T18:43:41.194Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-07-18T18:43:41.700Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-18T18:43:41.982Z] + ls -al . [2023-07-18T18:43:41.982Z] total 284 [2023-07-18T18:43:41.982Z] drwxrwxr-x 11 jenkins jenkins 4096 Jul 18 18:42 . [2023-07-18T18:43:41.982Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 18:41 .. [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 18:41 .dockerignore [2023-07-18T18:43:41.982Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 18:41 .git [2023-07-18T18:43:41.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 18:41 .github [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 18:41 .gitignore [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 18:41 .golangci.yml [2023-07-18T18:43:41.982Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 18:41 .semver [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 18 18:41 CHANGELOG.md [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 18:41 GOVERNANCE.md [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 18:41 Jenkinsfile [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 18:41 LICENSE [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 18 18:41 Makefile [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 18:41 OWNERS.md [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 18 18:41 README.md [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 18:41 VERSION [2023-07-18T18:43:41.982Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 18:41 bin [2023-07-18T18:43:41.982Z] -rw-r--r-- 1 jenkins jenkins 106395 Jul 18 18:43 coverage.out [2023-07-18T18:43:41.982Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 18:41 example [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 18 18:41 go.mod [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 18 18:41 go.sum [2023-07-18T18:43:41.982Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 18:41 internal [2023-07-18T18:43:41.982Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 18:41 openapi [2023-07-18T18:43:41.982Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 18:41 pkg [2023-07-18T18:43:41.982Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 18:41 snap [2023-07-18T18:43:41.982Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:43:42.378Z] + 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=689774cde22fe1bc10d81a9252d6d5780f162e05 --label arch=amd64 --label version=0.0.0 . [2023-07-18T18:43:42.378Z] Sending build context to Docker daemon 11.02MB [2023-07-18T18:43:42.378Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T18:43:42.378Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-18T18:43:42.378Z] ---> 9f00ba91b3fb [2023-07-18T18:43:42.379Z] Step 3/23 : ARG MAKE=make build [2023-07-18T18:43:42.637Z] ---> Running in 87041c9e5c4b [2023-07-18T18:43:42.637Z] Removing intermediate container 87041c9e5c4b [2023-07-18T18:43:42.637Z] ---> fcf267769e94 [2023-07-18T18:43:42.637Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-18T18:43:42.637Z] ---> Running in 3390e06fa734 [2023-07-18T18:43:42.894Z] Removing intermediate container 3390e06fa734 [2023-07-18T18:43:42.894Z] ---> b0d9287cb2e6 [2023-07-18T18:43:42.894Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T18:43:42.894Z] ---> Running in 23ddb36102fc [2023-07-18T18:43:42.894Z] Removing intermediate container 23ddb36102fc [2023-07-18T18:43:42.894Z] ---> bb67437d7387 [2023-07-18T18:43:42.894Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-18T18:43:42.894Z] ---> Running in 2954a7be702d [2023-07-18T18:43:43.153Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-18T18:43:43.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-18T18:43:43.670Z] OK: 265 MiB in 53 packages [2023-07-18T18:43:43.930Z] Removing intermediate container 2954a7be702d [2023-07-18T18:43:43.930Z] ---> 4cad2a1cb4ae [2023-07-18T18:43:43.930Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-18T18:43:44.188Z] ---> b4dc135aab08 [2023-07-18T18:43:44.188Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T18:43:44.188Z] ---> Running in 9e9a44bd1179 [2023-07-18T18:43:44.757Z] Removing intermediate container 9e9a44bd1179 [2023-07-18T18:43:44.757Z] ---> af0c15bc97c5 [2023-07-18T18:43:44.757Z] Step 9/23 : COPY . . [2023-07-18T18:43:45.325Z] ---> 55086b88c1a5 [2023-07-18T18:43:45.325Z] Step 10/23 : RUN ${MAKE} [2023-07-18T18:43:45.325Z] ---> Running in eb3d2aaf3179 [2023-07-18T18:43:45.570Z] using credential edgex-jenkins-ssh [2023-07-18T18:43:45.584Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-18T18:43:45.589Z] Cloning the remote Git repository [2023-07-18T18:43:45.621Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-07-18T18:43:45.700Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2023-07-18T18:43:45.829Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-18T18:43:45.830Z] > git --version # timeout=10 [2023-07-18T18:43:45.851Z] > git --version # 'git version 2.25.1' [2023-07-18T18:43:45.854Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T18:43:45.998Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-18T18:43:47.520Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-18T18:43:47.542Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-07-18T18:43:49.006Z] Merging remotes/origin/main commit a0da80382c0e288d5b5fa5ac238919125b7cf977 into PR head commit 0788bfb21fb273ad7b45151f543634661d4fb024 [2023-07-18T18:43:49.349Z] Merge succeeded, producing 512ba7d6fbcfbedd7e243df7a60f1bc082c79fd3 [2023-07-18T18:43:49.350Z] Checking out Revision 512ba7d6fbcfbedd7e243df7a60f1bc082c79fd3 (PR-1475) [2023-07-18T18:43:48.343Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-07-18T18:43:48.383Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-07-18T18:43:48.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T18:43:48.401Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1475/head:refs/remotes/origin/PR-1475 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-07-18T18:43:49.015Z] > git config core.sparsecheckout # timeout=10 [2023-07-18T18:43:49.088Z] > git checkout -f 0788bfb21fb273ad7b45151f543634661d4fb024 # timeout=10 [2023-07-18T18:43:49.187Z] > git remote # timeout=10 [2023-07-18T18:43:49.209Z] > git config --get remote.origin.url # timeout=10 [2023-07-18T18:43:49.230Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-07-18T18:43:49.242Z] > git merge a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 [2023-07-18T18:43:49.325Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-07-18T18:43:49.348Z] > git config core.sparsecheckout # timeout=10 [2023-07-18T18:43:49.360Z] > git checkout -f 512ba7d6fbcfbedd7e243df7a60f1bc082c79fd3 # timeout=10 [2023-07-18T18:43:52.861Z] Commit message: "Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD" [2023-07-18T18:43:52.884Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T18:43:53.783Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-07-18T18:43:53.783Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-18T18:43:53.783Z] Dload Upload Total Spent Left Speed [2023-07-18T18:43:53.783Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 62504 0 --:--:-- --:--:-- --:--:-- 62504 [2023-07-18T18:43:52.862Z] > git rev-list --no-walk eb93298487c7014ed0c97b15ee153db9be8b095f # timeout=10 [Pipeline] sh [2023-07-18T18:43:54.452Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-07-18T18:43:54.784Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-07-18T18:43:54.784Z] + sudo tee /etc/docker/daemon.new [2023-07-18T18:43:54.784Z] { [2023-07-18T18:43:54.784Z] "registry-mirrors": [ [2023-07-18T18:43:54.784Z] "https://nexus3.edgexfoundry.org:10001" [2023-07-18T18:43:54.784Z] ], [2023-07-18T18:43:54.784Z] "bip": "10.250.0.254/24", [2023-07-18T18:43:54.784Z] "hosts": [ [2023-07-18T18:43:54.784Z] "tcp://0.0.0.0:5555", [2023-07-18T18:43:54.784Z] "unix:///var/run/docker.sock" [2023-07-18T18:43:54.784Z] ], [2023-07-18T18:43:54.784Z] "mtu": 1458, [2023-07-18T18:43:54.784Z] "selinux-enabled": true, [2023-07-18T18:43:54.784Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-07-18T18:43:54.784Z] } [Pipeline] sh [2023-07-18T18:43:55.111Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-07-18T18:43:55.434Z] + sudo service docker restart [2023-07-18T18:44:07.519Z] Removing intermediate container eb3d2aaf3179 [2023-07-18T18:44:07.519Z] ---> 73daeb6a91d6 [2023-07-18T18:44:07.519Z] Step 11/23 : FROM alpine:3.17 [2023-07-18T18:44:07.519Z] 3.17: Pulling from library/alpine [2023-07-18T18:44:07.519Z] 4db1b89c0bd1: Already exists [2023-07-18T18:44:07.519Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-18T18:44:07.519Z] Status: Downloaded newer image for alpine:3.17 [2023-07-18T18:44:07.519Z] ---> 1f73a9d63274 [2023-07-18T18:44:07.519Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-18T18:44:07.519Z] ---> Running in 5d3a943b7f87 [2023-07-18T18:44:07.519Z] Removing intermediate container 5d3a943b7f87 [2023-07-18T18:44:07.519Z] ---> b9f94706f5ac [2023-07-18T18:44:07.519Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-18T18:44:07.519Z] ---> Running in 3f45d2017916 [2023-07-18T18:44:07.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-07-18T18:44:07.519Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-07-18T18:44:07.794Z] OK: 7 MiB in 15 packages [2023-07-18T18:44:08.052Z] Removing intermediate container 3f45d2017916 [2023-07-18T18:44:08.052Z] ---> 900952a62bea [2023-07-18T18:44:08.052Z] Step 14/23 : WORKDIR / [2023-07-18T18:44:08.052Z] ---> Running in 1a8b31c507b2 [2023-07-18T18:44:08.312Z] Removing intermediate container 1a8b31c507b2 [2023-07-18T18:44:08.312Z] ---> 226ce3945001 [2023-07-18T18:44:08.312Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-18T18:44:08.312Z] ---> d5a7d75f6113 [2023-07-18T18:44:08.312Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-18T18:44:09.251Z] ---> d908fc09d043 [2023-07-18T18:44:09.251Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-18T18:44:09.251Z] ---> dd1b78ae6320 [2023-07-18T18:44:09.251Z] Step 18/23 : EXPOSE 59999 [2023-07-18T18:44:09.251Z] ---> Running in d859107be87a [2023-07-18T18:44:09.251Z] Removing intermediate container d859107be87a [2023-07-18T18:44:09.251Z] ---> a5a6e230be1b [2023-07-18T18:44:09.251Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-18T18:44:09.510Z] ---> Running in 2e0de64a0231 [2023-07-18T18:44:09.510Z] Removing intermediate container 2e0de64a0231 [2023-07-18T18:44:09.510Z] ---> 73ffcd0a1434 [2023-07-18T18:44:09.510Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-18T18:44:09.510Z] ---> Running in abfb47d0bcf5 [2023-07-18T18:44:09.510Z] Removing intermediate container abfb47d0bcf5 [2023-07-18T18:44:09.510Z] ---> 9aa21cca2e19 [2023-07-18T18:44:09.510Z] Step 21/23 : LABEL arch=amd64 [2023-07-18T18:44:09.510Z] ---> Running in e3cf28aa290a [2023-07-18T18:44:09.769Z] Removing intermediate container e3cf28aa290a [2023-07-18T18:44:09.769Z] ---> be7e3f9f35d3 [2023-07-18T18:44:09.769Z] Step 22/23 : LABEL git_sha=689774cde22fe1bc10d81a9252d6d5780f162e05 [2023-07-18T18:44:09.769Z] ---> Running in 4ad609b06fb6 [2023-07-18T18:44:09.769Z] Removing intermediate container 4ad609b06fb6 [2023-07-18T18:44:09.769Z] ---> 636bf16090ce [2023-07-18T18:44:09.769Z] Step 23/23 : LABEL version=0.0.0 [2023-07-18T18:44:09.769Z] ---> Running in 3e0e813deba3 [2023-07-18T18:44:09.769Z] Removing intermediate container 3e0e813deba3 [2023-07-18T18:44:09.769Z] ---> 82393e0d99e3 [2023-07-18T18:44:09.769Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-18T18:44:09.769Z] Successfully built 82393e0d99e3 [2023-07-18T18:44:09.769Z] 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-07-18T18:44:10.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T18:44:10.213Z] [2023-07-18T18:44:10.213Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:44:10.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T18:44:10.512Z] latest: Pulling from edgex-lftools-log-publisher [2023-07-18T18:44:10.512Z] 5eb5b503b376: Pulling fs layer [2023-07-18T18:44:10.512Z] 5c69ac0246d0: Pulling fs layer [2023-07-18T18:44:10.512Z] ec43610c2a17: Pulling fs layer [2023-07-18T18:44:10.512Z] 3a2ae6a8a46f: Pulling fs layer [2023-07-18T18:44:10.512Z] 33b1e0a273af: Pulling fs layer [2023-07-18T18:44:10.512Z] 5d3b04190fa2: Pulling fs layer [2023-07-18T18:44:10.512Z] 3a2ae6a8a46f: Waiting [2023-07-18T18:44:10.512Z] 33b1e0a273af: Waiting [2023-07-18T18:44:10.512Z] 2f39f015ded8: Pulling fs layer [2023-07-18T18:44:10.512Z] 5d3b04190fa2: Waiting [2023-07-18T18:44:10.512Z] 2f39f015ded8: Waiting [2023-07-18T18:44:10.512Z] 5c69ac0246d0: Verifying Checksum [2023-07-18T18:44:10.512Z] 5c69ac0246d0: Download complete [2023-07-18T18:44:10.512Z] 3a2ae6a8a46f: Verifying Checksum [2023-07-18T18:44:10.512Z] 3a2ae6a8a46f: Download complete [2023-07-18T18:44:10.512Z] ec43610c2a17: Verifying Checksum [2023-07-18T18:44:10.512Z] ec43610c2a17: Download complete [2023-07-18T18:44:10.512Z] 33b1e0a273af: Verifying Checksum [2023-07-18T18:44:10.512Z] 33b1e0a273af: Download complete [2023-07-18T18:44:10.512Z] 5d3b04190fa2: Verifying Checksum [2023-07-18T18:44:10.512Z] 5d3b04190fa2: Download complete [2023-07-18T18:44:10.771Z] 5eb5b503b376: Verifying Checksum [2023-07-18T18:44:10.771Z] 5eb5b503b376: Download complete [2023-07-18T18:44:11.337Z] 2f39f015ded8: Download complete [2023-07-18T18:44:11.905Z] 5eb5b503b376: Pull complete [2023-07-18T18:44:12.165Z] 5c69ac0246d0: Pull complete [2023-07-18T18:44:12.732Z] ec43610c2a17: Pull complete [2023-07-18T18:44:12.732Z] 3a2ae6a8a46f: Pull complete [2023-07-18T18:44:12.991Z] 33b1e0a273af: Pull complete [2023-07-18T18:44:12.991Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T18:44:13.686Z] provisioning config files... [2023-07-18T18:44:13.713Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config4283922445914186562tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:44:14.057Z] ---> docker-login.sh [2023-07-18T18:44:14.057Z] nexus3.edgexfoundry.org:10001 [2023-07-18T18:44:14.327Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:44:14.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:44:14.600Z] Configure a credential helper to remove this warning. See [2023-07-18T18:44:14.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:44:14.600Z] [2023-07-18T18:44:14.600Z] Login Succeeded [2023-07-18T18:44:14.600Z] nexus3.edgexfoundry.org:10002 [2023-07-18T18:44:14.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:44:15.138Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:44:15.138Z] Configure a credential helper to remove this warning. See [2023-07-18T18:44:15.138Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:44:15.138Z] [2023-07-18T18:44:15.138Z] Login Succeeded [2023-07-18T18:44:15.139Z] nexus3.edgexfoundry.org:10003 [2023-07-18T18:44:15.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:44:15.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:44:15.409Z] Configure a credential helper to remove this warning. See [2023-07-18T18:44:15.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:44:15.409Z] [2023-07-18T18:44:15.409Z] Login Succeeded [2023-07-18T18:44:15.409Z] nexus3.edgexfoundry.org:10004 [2023-07-18T18:44:15.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:44:15.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:44:15.682Z] Configure a credential helper to remove this warning. See [2023-07-18T18:44:15.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:44:15.682Z] [2023-07-18T18:44:15.682Z] Login Succeeded [2023-07-18T18:44:15.682Z] docker.io [2023-07-18T18:44:15.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-07-18T18:44:16.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-07-18T18:44:16.537Z] Configure a credential helper to remove this warning. See [2023-07-18T18:44:16.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-07-18T18:44:16.537Z] [2023-07-18T18:44:16.537Z] Login Succeeded [2023-07-18T18:44:16.537Z] ---> docker-login.sh ends [Pipeline] } [2023-07-18T18:44:16.551Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-07-18T18:44:16.791Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T18:44:16.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-07-18T18:44:16.823Z] ========================================================= [2023-07-18T18:44:16.823Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-07-18T18:44:16.823Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:44:17.175Z] + 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-07-18T18:44:17.176Z] 2f39f015ded8: Pull complete [2023-07-18T18:44:17.176Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-07-18T18:44:17.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T18:44:17.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T18:44:17.268Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-07-18T18:44:17.295Z] $ 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-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-18T18:44:17.444Z] Sending build context to Docker daemon 5.818MB [2023-07-18T18:44:17.444Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T18:44:17.444Z] Step 2/10 : FROM ${BASE} AS builder [2023-07-18T18:44:17.713Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-07-18T18:44:17.713Z] edb6bdbacee9: Pulling fs layer [2023-07-18T18:44:17.713Z] 5f9638ab2659: Pulling fs layer [2023-07-18T18:44:17.713Z] 8d51d6327a98: Pulling fs layer [2023-07-18T18:44:17.713Z] 8b374f2dd631: Pulling fs layer [2023-07-18T18:44:17.713Z] ec14aa9079de: Pulling fs layer [2023-07-18T18:44:17.713Z] 2f466654f4bb: Pulling fs layer [2023-07-18T18:44:17.713Z] 554e91adad29: Pulling fs layer [2023-07-18T18:44:17.713Z] 8b374f2dd631: Waiting [2023-07-18T18:44:17.713Z] ec14aa9079de: Waiting [2023-07-18T18:44:17.713Z] 2f466654f4bb: Waiting [2023-07-18T18:44:17.713Z] 554e91adad29: Waiting [2023-07-18T18:44:17.713Z] 5f9638ab2659: Verifying Checksum [2023-07-18T18:44:17.713Z] 5f9638ab2659: Download complete [2023-07-18T18:44:17.713Z] 8b374f2dd631: Verifying Checksum [2023-07-18T18:44:17.713Z] 8b374f2dd631: Download complete [2023-07-18T18:44:17.713Z] ec14aa9079de: Verifying Checksum [2023-07-18T18:44:17.713Z] ec14aa9079de: Download complete [2023-07-18T18:44:17.713Z] edb6bdbacee9: Download complete [2023-07-18T18:44:18.682Z] edb6bdbacee9: Pull complete [2023-07-18T18:44:18.960Z] 554e91adad29: Verifying Checksum [2023-07-18T18:44:18.960Z] 554e91adad29: Download complete [2023-07-18T18:44:19.231Z] 5f9638ab2659: Pull complete [2023-07-18T18:44:20.204Z] 8d51d6327a98: Download complete [2023-07-18T18:44:20.204Z] 2f466654f4bb: Verifying Checksum [2023-07-18T18:44:20.204Z] 2f466654f4bb: Download complete [2023-07-18T18:44:21.750Z] $ docker top 618d21de55d3802d08a580e0c768ed35a48bef1ae9d225d453884c22f608123a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:44:22.160Z] ---> job-cost.sh [2023-07-18T18:44:22.160Z] lf-activate-venv: SKIPPING [2023-07-18T18:44:22.160Z] INFO: No Stack... [2023-07-18T18:44:22.420Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-18T18:44:22.989Z] INFO: Archiving Costs [Pipeline] sh [2023-07-18T18:44:23.277Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives/cost.csv [2023-07-18T18:44:23.277Z] + cut -d, -f6 [Pipeline] lock [2023-07-18T18:44:23.290Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1475-3-stack-cost] [2023-07-18T18:44:23.297Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-3-stack-cost] did not exist. Created. [2023-07-18T18:44:23.297Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1475-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-18T18:44:23.603Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-07-18T18:44:23.636Z] Stashed 1 file(s) [Pipeline] } [2023-07-18T18:44:23.645Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-18T18:44:23.659Z] $ docker stop --time=1 618d21de55d3802d08a580e0c768ed35a48bef1ae9d225d453884c22f608123a [2023-07-18T18:44:24.829Z] $ docker rm -f --volumes 618d21de55d3802d08a580e0c768ed35a48bef1ae9d225d453884c22f608123a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-07-18T18:44:32.532Z] 8d51d6327a98: Pull complete [2023-07-18T18:44:32.532Z] 8b374f2dd631: Pull complete [2023-07-18T18:44:32.532Z] ec14aa9079de: Pull complete [2023-07-18T18:44:37.883Z] 2f466654f4bb: Pull complete [2023-07-18T18:44:39.840Z] 554e91adad29: Pull complete [2023-07-18T18:44:40.113Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-07-18T18:44:40.113Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-07-18T18:44:40.113Z] ---> 1e15ea492957 [2023-07-18T18:44:40.113Z] Step 3/10 : ARG MAKE=make build [2023-07-18T18:44:44.370Z] ---> Running in 96ceb27b0c00 [2023-07-18T18:44:44.370Z] Removing intermediate container 96ceb27b0c00 [2023-07-18T18:44:44.370Z] ---> cadc6d53629d [2023-07-18T18:44:44.370Z] Step 4/10 : WORKDIR /device-sdk-go [2023-07-18T18:44:44.639Z] ---> Running in 2d1f6491e5aa [2023-07-18T18:44:44.906Z] Removing intermediate container 2d1f6491e5aa [2023-07-18T18:44:44.906Z] ---> 123815471a16 [2023-07-18T18:44:44.906Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T18:44:44.906Z] ---> Running in 9fba625fef05 [2023-07-18T18:44:45.176Z] Removing intermediate container 9fba625fef05 [2023-07-18T18:44:45.176Z] ---> 638114ca0b95 [2023-07-18T18:44:45.176Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-07-18T18:44:45.176Z] ---> Running in 46fb3b921358 [2023-07-18T18:44:46.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T18:44:46.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T18:44:47.817Z] OK: 263 MiB in 53 packages [2023-07-18T18:44:48.403Z] Removing intermediate container 46fb3b921358 [2023-07-18T18:44:48.403Z] ---> 954c47b2636e [2023-07-18T18:44:48.403Z] Step 7/10 : COPY go.mod vendor* ./ [2023-07-18T18:44:49.000Z] ---> 2876200129be [2023-07-18T18:44:49.000Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T18:44:49.000Z] ---> Running in 954e65292ea9 [2023-07-18T18:45:56.877Z] Removing intermediate container 954e65292ea9 [2023-07-18T18:45:56.877Z] ---> 23e75c3cce3e [2023-07-18T18:45:56.877Z] Step 9/10 : COPY . . [2023-07-18T18:45:56.877Z] ---> 9a0cb4942a70 [2023-07-18T18:45:56.877Z] Step 10/10 : RUN ${MAKE} [2023-07-18T18:45:56.877Z] ---> Running in 0815ff10b524 [2023-07-18T18:45:56.877Z] noop [2023-07-18T18:45:56.877Z] Removing intermediate container 0815ff10b524 [2023-07-18T18:45:56.877Z] ---> 56bf262c7b4e [2023-07-18T18:45:56.877Z] Successfully built 56bf262c7b4e [2023-07-18T18:45:56.877Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:45:57.220Z] + docker inspect -f . ci-base-image-arm64 [2023-07-18T18:45:57.220Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T18:45:57.407Z] prd-ubuntu20.04-docker-arm64-4c-16g-1459 does not seem to be running inside a container [2023-07-18T18:45:57.460Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-07-18T18:45:58.583Z] $ docker top 1e0491abea0b7baa2abe09a6c4b5af8ec651d24656ee07182b26154fe944fa3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T18:45:59.381Z] + go version [2023-07-18T18:45:59.381Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-07-18T18:45:59.396Z] $ docker stop --time=1 1e0491abea0b7baa2abe09a6c4b5af8ec651d24656ee07182b26154fe944fa3d [2023-07-18T18:46:00.961Z] $ docker rm -f --volumes 1e0491abea0b7baa2abe09a6c4b5af8ec651d24656ee07182b26154fe944fa3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:46:01.473Z] + docker inspect -f . ci-base-image-arm64 [2023-07-18T18:46:01.474Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T18:46:01.629Z] prd-ubuntu20.04-docker-arm64-4c-16g-1459 does not seem to be running inside a container [2023-07-18T18:46:01.681Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-07-18T18:46:02.704Z] $ docker top ff09526646fb8aa82968aa80e1e6549ceedcb14cc3716c1b3600a0d7002840b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T18:46:03.178Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2023-07-18T18:46:03.495Z] + make test [2023-07-18T18:46:03.496Z] go test -race -coverprofile=coverage.out ./... [2023-07-18T18:46:42.376Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-07-18T18:48:37.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-07-18T18:48:37.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-07-18T18:48:37.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-07-18T18:48:37.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-07-18T18:48:37.439Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-07-18T18:48:47.527Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.220s coverage: 27.6% of statements [2023-07-18T18:48:49.499Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.250s coverage: 80.2% of statements [2023-07-18T18:49:01.819Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-07-18T18:49:01.819Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-07-18T18:49:01.819Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.707s coverage: 86.0% of statements [2023-07-18T18:49:07.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-07-18T18:49:07.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-07-18T18:49:07.184Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.429s coverage: 77.5% of statements [2023-07-18T18:49:09.767Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.341s coverage: 14.3% of statements [2023-07-18T18:49:12.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-07-18T18:49:12.356Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-07-18T18:49:12.356Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.471s coverage: 68.5% of statements [2023-07-18T18:49:14.312Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.432s coverage: 89.2% of statements [2023-07-18T18:49:16.886Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-07-18T18:49:16.886Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.243s coverage: 5.6% of statements [2023-07-18T18:49:17.468Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-07-18T18:49:17.468Z] GO111MODULE=on go vet ./... [2023-07-18T18:51:39.376Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-07-18T18:51:39.376Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-07-18T18:51:39.376Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-07-18T18:51:39.395Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-07-18T18:51:39.411Z] $ docker stop --time=1 ff09526646fb8aa82968aa80e1e6549ceedcb14cc3716c1b3600a0d7002840b9 [2023-07-18T18:51:41.276Z] $ docker rm -f --volumes ff09526646fb8aa82968aa80e1e6549ceedcb14cc3716c1b3600a0d7002840b9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-07-18T18:51:42.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-07-18T18:51:42.827Z] Warning: overwriting stash ‘coverage-report’ [2023-07-18T18:51:43.318Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-07-18T18:51:43.714Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-07-18T18:51:44.028Z] + ls -al . [2023-07-18T18:51:44.028Z] total 280 [2023-07-18T18:51:44.028Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 18:46 . [2023-07-18T18:51:44.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 18:43 .. [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 18:43 .dockerignore [2023-07-18T18:51:44.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 18:43 .git [2023-07-18T18:51:44.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 18:43 .github [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 18:43 .gitignore [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 18:43 .golangci.yml [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 44878 Jul 18 18:43 CHANGELOG.md [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 18:43 GOVERNANCE.md [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 18:43 Jenkinsfile [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 18:43 LICENSE [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 1714 Jul 18 18:43 Makefile [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 18:43 OWNERS.md [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 4933 Jul 18 18:43 README.md [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 18:41 VERSION [2023-07-18T18:51:44.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 18:43 bin [2023-07-18T18:51:44.028Z] -rw-r--r-- 1 jenkins jenkins 106395 Jul 18 18:49 coverage.out [2023-07-18T18:51:44.028Z] drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 18:43 example [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 3461 Jul 18 18:43 go.mod [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 32143 Jul 18 18:43 go.sum [2023-07-18T18:51:44.028Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 18:43 internal [2023-07-18T18:51:44.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 18:43 openapi [2023-07-18T18:51:44.028Z] drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 18:43 pkg [2023-07-18T18:51:44.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 18:43 snap [2023-07-18T18:51:44.028Z] -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:51:44.367Z] + 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=512ba7d6fbcfbedd7e243df7a60f1bc082c79fd3 --label arch=arm64 --label version=0.0.0 . [2023-07-18T18:51:44.636Z] Sending build context to Docker daemon 5.925MB [2023-07-18T18:51:44.636Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-07-18T18:51:44.636Z] Step 2/23 : FROM ${BASE} AS builder [2023-07-18T18:51:44.636Z] ---> 56bf262c7b4e [2023-07-18T18:51:44.636Z] Step 3/23 : ARG MAKE=make build [2023-07-18T18:51:44.905Z] ---> Running in fc736b020151 [2023-07-18T18:51:45.172Z] Removing intermediate container fc736b020151 [2023-07-18T18:51:45.172Z] ---> c047d51b2034 [2023-07-18T18:51:45.172Z] Step 4/23 : WORKDIR /device-sdk-go [2023-07-18T18:51:45.172Z] ---> Running in 1f2e14e7b6eb [2023-07-18T18:51:45.440Z] Removing intermediate container 1f2e14e7b6eb [2023-07-18T18:51:45.440Z] ---> dcb1f9db8913 [2023-07-18T18:51:45.440Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-07-18T18:51:45.706Z] ---> Running in 2d6410ef1968 [2023-07-18T18:51:45.975Z] Removing intermediate container 2d6410ef1968 [2023-07-18T18:51:45.975Z] ---> fc66ac313a96 [2023-07-18T18:51:45.975Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-07-18T18:51:45.975Z] ---> Running in c020dd04592f [2023-07-18T18:51:46.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T18:51:47.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T18:51:48.480Z] OK: 263 MiB in 53 packages [2023-07-18T18:51:49.444Z] Removing intermediate container c020dd04592f [2023-07-18T18:51:49.444Z] ---> 7bcc782cc25d [2023-07-18T18:51:49.444Z] Step 7/23 : COPY go.mod vendor* ./ [2023-07-18T18:51:49.732Z] ---> 0b587808e31d [2023-07-18T18:51:49.732Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-07-18T18:51:49.732Z] ---> Running in 8b822ce279f3 [2023-07-18T18:51:51.672Z] Removing intermediate container 8b822ce279f3 [2023-07-18T18:51:51.672Z] ---> 21a61875141e [2023-07-18T18:51:51.672Z] Step 9/23 : COPY . . [2023-07-18T18:51:53.088Z] ---> 512118818bc2 [2023-07-18T18:51:53.088Z] Step 10/23 : RUN ${MAKE} [2023-07-18T18:51:53.088Z] ---> Running in 7c598ab09c7d [2023-07-18T18:51:53.671Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-07-18T18:54:00.370Z] Removing intermediate container 7c598ab09c7d [2023-07-18T18:54:00.370Z] ---> 50100366b1bd [2023-07-18T18:54:00.370Z] Step 11/23 : FROM alpine:3.17 [2023-07-18T18:54:00.370Z] 3.17: Pulling from library/alpine [2023-07-18T18:54:00.370Z] edb6bdbacee9: Already exists [2023-07-18T18:54:00.370Z] Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 [2023-07-18T18:54:00.370Z] Status: Downloaded newer image for alpine:3.17 [2023-07-18T18:54:00.370Z] ---> 779605e5fbc0 [2023-07-18T18:54:00.370Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-07-18T18:54:00.370Z] ---> Running in 14dc7b92bed1 [2023-07-18T18:54:00.370Z] Removing intermediate container 14dc7b92bed1 [2023-07-18T18:54:00.370Z] ---> c1d05d48219d [2023-07-18T18:54:00.370Z] Step 13/23 : RUN apk add --update --no-cache [2023-07-18T18:54:00.370Z] ---> Running in 1c73fda358a2 [2023-07-18T18:54:00.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-07-18T18:54:00.370Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-07-18T18:54:00.370Z] OK: 7 MiB in 15 packages [2023-07-18T18:54:02.320Z] Removing intermediate container 1c73fda358a2 [2023-07-18T18:54:02.320Z] ---> 548a76cafe87 [2023-07-18T18:54:02.320Z] Step 14/23 : WORKDIR / [2023-07-18T18:54:02.590Z] ---> Running in abb9e970022a [2023-07-18T18:54:02.857Z] Removing intermediate container abb9e970022a [2023-07-18T18:54:02.857Z] ---> 854a9ee414c5 [2023-07-18T18:54:02.857Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-07-18T18:54:03.124Z] ---> 9742a4c5ed17 [2023-07-18T18:54:03.124Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-07-18T18:54:04.539Z] ---> 693629ec2d5c [2023-07-18T18:54:04.539Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-07-18T18:54:05.128Z] ---> 8f8c6b1f3832 [2023-07-18T18:54:05.128Z] Step 18/23 : EXPOSE 59999 [2023-07-18T18:54:05.128Z] ---> Running in 010769b73bd0 [2023-07-18T18:54:05.398Z] Removing intermediate container 010769b73bd0 [2023-07-18T18:54:05.398Z] ---> 687291004ecf [2023-07-18T18:54:05.398Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-07-18T18:54:05.398Z] ---> Running in d657639d251d [2023-07-18T18:54:05.664Z] Removing intermediate container d657639d251d [2023-07-18T18:54:05.664Z] ---> 53422209c7ce [2023-07-18T18:54:05.664Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-07-18T18:54:05.664Z] ---> Running in 85091cc4edab [2023-07-18T18:54:05.933Z] Removing intermediate container 85091cc4edab [2023-07-18T18:54:05.933Z] ---> 658f49eb0aad [2023-07-18T18:54:05.933Z] Step 21/23 : LABEL arch=arm64 [2023-07-18T18:54:05.933Z] ---> Running in 3cf46210fe4f [2023-07-18T18:54:06.204Z] Removing intermediate container 3cf46210fe4f [2023-07-18T18:54:06.204Z] ---> 13c8aeb828b3 [2023-07-18T18:54:06.204Z] Step 22/23 : LABEL git_sha=512ba7d6fbcfbedd7e243df7a60f1bc082c79fd3 [2023-07-18T18:54:06.472Z] ---> Running in 0f755cd23609 [2023-07-18T18:54:06.739Z] Removing intermediate container 0f755cd23609 [2023-07-18T18:54:06.739Z] ---> 9bc4edc7880b [2023-07-18T18:54:06.739Z] Step 23/23 : LABEL version=0.0.0 [2023-07-18T18:54:06.739Z] ---> Running in c01c35834c60 [2023-07-18T18:54:07.005Z] Removing intermediate container c01c35834c60 [2023-07-18T18:54:07.005Z] ---> dde112756add [2023-07-18T18:54:07.005Z] [Warning] One or more build-args [ARCH] were not consumed [2023-07-18T18:54:07.005Z] Successfully built dde112756add [2023-07-18T18:54:07.005Z] 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-07-18T18:54:07.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T18:54:07.454Z] [2023-07-18T18:54:07.454Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:54:07.785Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T18:54:07.785Z] arm64: Pulling from edgex-lftools-log-publisher [2023-07-18T18:54:07.785Z] 8998bd30e6a1: Pulling fs layer [2023-07-18T18:54:07.785Z] 04944245beec: Pulling fs layer [2023-07-18T18:54:07.785Z] 699f458cf7ca: Pulling fs layer [2023-07-18T18:54:07.785Z] 765212b225bb: Pulling fs layer [2023-07-18T18:54:07.785Z] f23df028b6ca: Pulling fs layer [2023-07-18T18:54:07.785Z] d65c8cfc05b1: Pulling fs layer [2023-07-18T18:54:07.785Z] 2437ff75d9bd: Pulling fs layer [2023-07-18T18:54:07.785Z] 765212b225bb: Waiting [2023-07-18T18:54:07.785Z] f23df028b6ca: Waiting [2023-07-18T18:54:07.785Z] d65c8cfc05b1: Waiting [2023-07-18T18:54:07.785Z] 2437ff75d9bd: Waiting [2023-07-18T18:54:08.066Z] 04944245beec: Verifying Checksum [2023-07-18T18:54:08.066Z] 04944245beec: Download complete [2023-07-18T18:54:08.066Z] 765212b225bb: Verifying Checksum [2023-07-18T18:54:08.066Z] 765212b225bb: Download complete [2023-07-18T18:54:08.066Z] f23df028b6ca: Verifying Checksum [2023-07-18T18:54:08.066Z] f23df028b6ca: Download complete [2023-07-18T18:54:08.066Z] d65c8cfc05b1: Verifying Checksum [2023-07-18T18:54:08.066Z] d65c8cfc05b1: Download complete [2023-07-18T18:54:08.066Z] 699f458cf7ca: Verifying Checksum [2023-07-18T18:54:08.066Z] 699f458cf7ca: Download complete [2023-07-18T18:54:08.654Z] 8998bd30e6a1: Verifying Checksum [2023-07-18T18:54:08.654Z] 8998bd30e6a1: Download complete [2023-07-18T18:54:10.598Z] 2437ff75d9bd: Verifying Checksum [2023-07-18T18:54:10.598Z] 2437ff75d9bd: Download complete [2023-07-18T18:54:12.547Z] 8998bd30e6a1: Pull complete [2023-07-18T18:54:15.116Z] 04944245beec: Pull complete [2023-07-18T18:54:16.522Z] 699f458cf7ca: Pull complete [2023-07-18T18:54:16.522Z] 765212b225bb: Pull complete [2023-07-18T18:54:17.479Z] f23df028b6ca: Pull complete [2023-07-18T18:54:17.479Z] d65c8cfc05b1: Pull complete [2023-07-18T18:54:32.460Z] 2437ff75d9bd: Pull complete [2023-07-18T18:54:32.460Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-07-18T18:54:32.460Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-07-18T18:54:32.460Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T18:54:32.654Z] prd-ubuntu20.04-docker-arm64-4c-16g-1459 does not seem to be running inside a container [2023-07-18T18:54:32.714Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-07-18T18:54:35.132Z] $ docker top 9f1f0a5aed782a39a659a83069719ff2f7c6c0256e2568df6006d2cf0a5e9afc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:54:35.953Z] ---> job-cost.sh [2023-07-18T18:54:35.953Z] lf-activate-venv: SKIPPING [2023-07-18T18:54:35.953Z] INFO: No Stack... [2023-07-18T18:54:36.216Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-07-18T18:54:37.168Z] INFO: Archiving Costs [Pipeline] sh [2023-07-18T18:54:37.880Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2023-07-18T18:54:37.880Z] + cut -d, -f6 [Pipeline] lock [2023-07-18T18:54:37.922Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1475-3-stack-cost] [2023-07-18T18:54:37.928Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-3-stack-cost] did not exist. Created. [2023-07-18T18:54:37.929Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1475-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-07-18T18:54:38.278Z] /w/workspace/device-sdk-go/3@tmp/durable-6b2e729a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-07-18T18:54:38.653Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-07-18T18:54:38.690Z] Warning: overwriting stash ‘stack-cost’ [2023-07-18T18:54:38.768Z] Stashed 1 file(s) [Pipeline] } [2023-07-18T18:54:38.777Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1475-3-stack-cost] [Pipeline] // lock [Pipeline] } [2023-07-18T18:54:38.796Z] $ docker stop --time=1 9f1f0a5aed782a39a659a83069719ff2f7c6c0256e2568df6006d2cf0a5e9afc [2023-07-18T18:54:40.270Z] $ docker rm -f --volumes 9f1f0a5aed782a39a659a83069719ff2f7c6c0256e2568df6006d2cf0a5e9afc [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-07-18T18:54:40.654Z] provisioning config files... [2023-07-18T18:54:40.663Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config2248650278758302704tmp [Pipeline] { [Pipeline] sh [2023-07-18T18:54:40.954Z] + set +x [2023-07-18T18:54:40.954Z] + curl -s https://codecov.io/bash [2023-07-18T18:54:40.954Z] + bash -s -- [2023-07-18T18:54:41.215Z] [2023-07-18T18:54:41.215Z] _____ _ [2023-07-18T18:54:41.215Z] / ____| | | [2023-07-18T18:54:41.215Z] | | ___ __| | ___ ___ _____ __ [2023-07-18T18:54:41.215Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-07-18T18:54:41.215Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-07-18T18:54:41.215Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-07-18T18:54:41.215Z] Bash-1.0.6 [2023-07-18T18:54:41.215Z] [2023-07-18T18:54:41.215Z] [2023-07-18T18:54:41.215Z] ==> git version 2.25.1 found [2023-07-18T18:54:41.215Z] ==> 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-07-18T18:54:41.215Z] Release-Date: 2020-01-08 [2023-07-18T18:54:41.215Z] 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-07-18T18:54:41.215Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-07-18T18:54:41.215Z] ==> Jenkins CI detected. [2023-07-18T18:54:41.215Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1475 [2023-07-18T18:54:41.215Z] project root: . [2023-07-18T18:54:41.215Z] --> token set from env [2023-07-18T18:54:41.215Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-07-18T18:54:41.215Z] ==> Running gcov in . (disable via -X gcov) [2023-07-18T18:54:41.215Z] ==> Python coveragepy not found [2023-07-18T18:54:41.215Z] ==> Searching for coverage reports in: [2023-07-18T18:54:41.215Z] + . [2023-07-18T18:54:41.215Z] -> Found 1 reports [2023-07-18T18:54:41.215Z] ==> Detecting git/mercurial file structure [2023-07-18T18:54:41.215Z] ==> Reading reports [2023-07-18T18:54:41.215Z] + ./coverage.out bytes=106395 [2023-07-18T18:54:41.215Z] ==> Appending adjustments [2023-07-18T18:54:41.215Z] https://docs.codecov.io/docs/fixing-reports [2023-07-18T18:54:41.474Z] + Found adjustments [2023-07-18T18:54:41.474Z] ==> Gzipping contents [2023-07-18T18:54:41.474Z] 16K /tmp/codecov.HEj88k.gz [2023-07-18T18:54:41.474Z] ==> Uploading reports [2023-07-18T18:54:41.474Z] url: https://codecov.io [2023-07-18T18:54:41.474Z] query: branch=PR-1475&commit=689774cde22fe1bc10d81a9252d6d5780f162e05&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1475%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1475&job=&cmd_args= [2023-07-18T18:54:41.474Z] -> Pinging Codecov [2023-07-18T18:54:41.474Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1475&commit=689774cde22fe1bc10d81a9252d6d5780f162e05&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1475%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1475&job=&cmd_args= [2023-07-18T18:54:41.734Z] -> Uploading to [2023-07-18T18:54:41.735Z] https://storage.googleapis.com/codecov/v4/raw/2023-07-18/7E55EF52A471D76F132DFD9A03CDDE97/689774cde22fe1bc10d81a9252d6d5780f162e05/300a9a6d-a24e-4e1f-8e53-db5b73416f6d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230718%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230718T185441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a01b6416d53516467c48bab3056fb15dd3eebddbd43ee1d10540daf3eb74342b [2023-07-18T18:54:41.735Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-07-18T18:54:41.735Z] Dload Upload Total Spent Left Speed [2023-07-18T18:54:41.993Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15164 0 0 100 15164 0 72209 --:--:-- --:--:-- --:--:-- 72209 [2023-07-18T18:54:41.993Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/689774cde22fe1bc10d81a9252d6d5780f162e05 [Pipeline] } [2023-07-18T18:54:41.998Z] 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-07-18T18:54:42.683Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives ] [2023-07-18T18:54:42.684Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives [2023-07-18T18:54:42.684Z] total 16 [2023-07-18T18:54:42.684Z] drwxr-xr-x 3 root root 4096 Jul 18 18:44 . [2023-07-18T18:54:42.684Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 18:44 .. [2023-07-18T18:54:42.684Z] drwxr-xr-x 2 root root 4096 Jul 18 18:44 cost [2023-07-18T18:54:42.684Z] -rw-r--r-- 1 root root 86 Jul 18 18:44 cost.csv [2023-07-18T18:54:42.684Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives [2023-07-18T18:54:42.684Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives [2023-07-18T18:54:42.684Z] total 16 [2023-07-18T18:54:42.684Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 18:44 . [2023-07-18T18:54:42.684Z] drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 18:44 .. [2023-07-18T18:54:42.684Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 18:44 cost [2023-07-18T18:54:42.684Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 18 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:54:42.970Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:54:43.834Z] ---> package-listing.sh [2023-07-18T18:54:43.834Z] ++ facter osfamily [2023-07-18T18:54:43.834Z] ++ tr '[:upper:]' '[:lower:]' [2023-07-18T18:54:44.095Z] + OS_FAMILY=debian [2023-07-18T18:54:44.095Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1475 [2023-07-18T18:54:44.095Z] + START_PACKAGES=/tmp/packages_start.txt [2023-07-18T18:54:44.095Z] + END_PACKAGES=/tmp/packages_end.txt [2023-07-18T18:54:44.095Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-07-18T18:54:44.095Z] + PACKAGES=/tmp/packages_start.txt [2023-07-18T18:54:44.095Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1475 ']' [2023-07-18T18:54:44.095Z] + PACKAGES=/tmp/packages_end.txt [2023-07-18T18:54:44.095Z] + case "${OS_FAMILY}" in [2023-07-18T18:54:44.095Z] + dpkg -l [2023-07-18T18:54:44.095Z] + grep '^ii' [2023-07-18T18:54:44.095Z] + '[' -f /tmp/packages_start.txt ']' [2023-07-18T18:54:44.095Z] + '[' -f /tmp/packages_end.txt ']' [2023-07-18T18:54:44.095Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-07-18T18:54:44.095Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1475 ']' [2023-07-18T18:54:44.095Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives/ [2023-07-18T18:54:44.095Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1475/archives/ [Pipeline] echo [2023-07-18T18:54:44.107Z] 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-1475/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-07-18T18:54:44.397Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-07-18T18:54:44.695Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-07-18T18:54:44.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-07-18T18:54:44.774Z] prd-ubuntu20.04-docker-8c-8g-1458 does not seem to be running inside a container [2023-07-18T18:54:44.800Z] $ 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-1475/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-1475 -v /w/workspace/gexfoundry_device-sdk-go_PR-1475:/w/workspace/gexfoundry_device-sdk-go_PR-1475:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-07-18T18:54:44.987Z] $ docker top af33bbbef7852149152822839bc62308f3ac6b9a4ffc0b7095c153b7ea78b088 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-07-18T18:54:45.329Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-07-18T18:54:45.618Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-07-18T18:54:45.902Z] + ls /var/log/sa-host [2023-07-18T18:54:45.902Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-07-18T18:54:46.055Z] provisioning config files... [2023-07-18T18:54:46.065Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1475@tmp/config15082788184391651633tmp [Pipeline] { [Pipeline] echo [2023-07-18T18:54:46.080Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:54:46.369Z] ---> create-netrc.sh [Pipeline] } [2023-07-18T18:54:46.376Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:54:46.716Z] ---> python-tools-install.sh [Pipeline] echo [2023-07-18T18:54:46.725Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:54:47.021Z] ---> sudo-logs.sh [2023-07-18T18:54:47.021Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-07-18T18:54:47.053Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:54:47.340Z] ---> job-cost.sh [2023-07-18T18:54:47.340Z] lf-activate-venv: SKIPPING [2023-07-18T18:54:47.340Z] DEBUG: total: 0.2199999988079071 [2023-07-18T18:54:47.340Z] INFO: Retrieving Stack Cost... [2023-07-18T18:54:47.600Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-07-18T18:54:48.169Z] INFO: Archiving Costs [Pipeline] echo [2023-07-18T18:54:48.180Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-07-18T18:54:48.463Z] ---> logs-deploy.sh [2023-07-18T18:54:48.463Z] lf-activate-venv: SKIPPING [2023-07-18T18:54:48.463Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1475/3 [2023-07-18T18:54:48.463Z] INFO: archiving workspace using pattern(s): [2023-07-18T18:54:49.402Z] Archives upload complete. [2023-07-18T18:54:49.402Z] INFO: archiving logs to Nexus