Pull request #1510 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c9970c7cbf5f8827d41e6511481345721542ce1c+8e06685c5bed515b18a4f19b1b2841e63869493f (88f7a0be58eec4ab5b9040130d13ed2fb4b1e07d) 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-ssh15740074103389564900.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh5512309978644846521.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1510/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-1510/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11134767166594876207.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh8162430665188679705.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-1510/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-1510/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14310343022847182066.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.21 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5946’ Running on prd-ubuntu20.04-docker-8c-8g-5951 in /w/workspace/gexfoundry_device-sdk-go_PR-1510 [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-1510 # 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/1510/head:refs/remotes/origin/PR-1510 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8e06685c5bed515b18a4f19b1b2841e63869493f into PR head commit c9970c7cbf5f8827d41e6511481345721542ce1c Merge succeeded, producing c9970c7cbf5f8827d41e6511481345721542ce1c Checking out Revision c9970c7cbf5f8827d41e6511481345721542ce1c (PR-1510) > git config core.sparsecheckout # timeout=10 > git checkout -f c9970c7cbf5f8827d41e6511481345721542ce1c # 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 8e06685c5bed515b18a4f19b1b2841e63869493f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c9970c7cbf5f8827d41e6511481345721542ce1c # timeout=10 Commit message: "fix: Fixed failing unit test" > git rev-list --no-walk c74f7021228062efc83ce0a9047b044313071e85 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T18:30:05.114Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T18:30:05.161Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T18:30:05.175Z] ========================================================= [2023-09-12T18:30:05.175Z] EdgeX Global Pipelines Version Info [2023-09-12T18:30:05.175Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:30:05.876Z] ------------------- [2023-09-12T18:30:05.876Z] stable info: [2023-09-12T18:30:05.876Z] ------------------- [2023-09-12T18:30:05.876Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T18:30:05.876Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T18:30:05.876Z] Message: update stable to v1.0.254 [2023-09-12T18:30:06.445Z] ------------------- [2023-09-12T18:30:06.445Z] experimental info: [2023-09-12T18:30:06.445Z] ------------------- [2023-09-12T18:30:06.445Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T18:30:06.445Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T18:30:06.445Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T18:30:06.598Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-12T18:30:06.610Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-12T18:30:06.627Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T18:30:06.642Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T18:30:06.659Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T18:30:06.670Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T18:30:06.683Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T18:30:06.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-12T18:30:06.708Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T18:30:06.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T18:30:06.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T18:30:06.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-12T18:30:06.788Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T18:30:06.807Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T18:30:06.821Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T18:30:06.834Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T18:30:06.845Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T18:30:06.859Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T18:30:06.872Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T18:30:06.888Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T18:30:06.901Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-12T18:30:06.914Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-12T18:30:06.928Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T18:30:06.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T18:30:06.962Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T18:30:06.974Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T18:30:06.993Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T18:30:07.012Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1510 [Pipeline] echo [2023-09-12T18:30:07.031Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1510 [Pipeline] echo [2023-09-12T18:30:07.051Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1510 [Pipeline] echo [2023-09-12T18:30:07.071Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c9970c7cbf5f8827d41e6511481345721542ce1c [Pipeline] echo [2023-09-12T18:30:07.090Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c9970c7 [Pipeline] echo [2023-09-12T18:30:07.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T18:30:07.169Z] provisioning config files... [2023-09-12T18:30:07.183Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/config17391992039207379893tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:30:07.482Z] ---> docker-login.sh [2023-09-12T18:30:07.482Z] nexus3.edgexfoundry.org:10001 [2023-09-12T18:30:07.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:30:07.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:30:07.742Z] Configure a credential helper to remove this warning. See [2023-09-12T18:30:07.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:30:07.742Z] [2023-09-12T18:30:07.742Z] Login Succeeded [2023-09-12T18:30:07.742Z] nexus3.edgexfoundry.org:10002 [2023-09-12T18:30:07.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:30:07.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:30:07.742Z] Configure a credential helper to remove this warning. See [2023-09-12T18:30:07.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:30:07.742Z] [2023-09-12T18:30:07.742Z] Login Succeeded [2023-09-12T18:30:07.742Z] nexus3.edgexfoundry.org:10003 [2023-09-12T18:30:08.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:30:08.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:30:08.003Z] Configure a credential helper to remove this warning. See [2023-09-12T18:30:08.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:30:08.003Z] [2023-09-12T18:30:08.003Z] Login Succeeded [2023-09-12T18:30:08.003Z] nexus3.edgexfoundry.org:10004 [2023-09-12T18:30:08.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:30:08.003Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:30:08.003Z] Configure a credential helper to remove this warning. See [2023-09-12T18:30:08.003Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:30:08.003Z] [2023-09-12T18:30:08.003Z] Login Succeeded [2023-09-12T18:30:08.003Z] docker.io [2023-09-12T18:30:08.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:30:08.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:30:08.575Z] Configure a credential helper to remove this warning. See [2023-09-12T18:30:08.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:30:08.575Z] [2023-09-12T18:30:08.575Z] Login Succeeded [2023-09-12T18:30:08.575Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T18:30:08.584Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T18:30:08.980Z] + git rev-list -1 --merges c9970c7cbf5f8827d41e6511481345721542ce1c~1..c9970c7cbf5f8827d41e6511481345721542ce1c [Pipeline] echo [2023-09-12T18:30:09.029Z] -----------> git rev-list -1 --merges c9970c7cbf5f8827d41e6511481345721542ce1c~1..c9970c7cbf5f8827d41e6511481345721542ce1c c9970c7cbf5f8827d41e6511481345721542ce1c [false] [Pipeline] sh [2023-09-12T18:30:09.319Z] + git log --format=format:%s -1 c9970c7cbf5f8827d41e6511481345721542ce1c [Pipeline] echo [2023-09-12T18:30:09.335Z] ========================================================= [2023-09-12T18:30:09.335Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T18:30:09.335Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T18:30:09.686Z] + git log --format=format:%s -1 c9970c7cbf5f8827d41e6511481345721542ce1c [Pipeline] echo [2023-09-12T18:30:09.696Z] [semverPrep] GIT_COMMIT: c9970c7cbf5f8827d41e6511481345721542ce1c, Commit Message: fix: Fixed failing unit test [Pipeline] echo [2023-09-12T18:30:09.703Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T18:30:10.130Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T18:30:10.130Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T18:30:10.130Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T18:30:10.130Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T18:30:10.130Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T18:30:10.130Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T18:30:10.130Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:30:10.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T18:30:10.568Z] [2023-09-12T18:30:10.568Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:30:10.864Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T18:30:10.864Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T18:30:10.864Z] b85a868b505f: Pulling fs layer [2023-09-12T18:30:10.864Z] e2be974225ed: Pulling fs layer [2023-09-12T18:30:10.864Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T18:30:10.864Z] 988bab9f4d93: Pulling fs layer [2023-09-12T18:30:10.864Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T18:30:10.864Z] eaf3925da568: Pulling fs layer [2023-09-12T18:30:10.864Z] bab4dde63d76: Pulling fs layer [2023-09-12T18:30:10.864Z] bde34c3a00c8: Pulling fs layer [2023-09-12T18:30:10.864Z] b352a97aabf1: Pulling fs layer [2023-09-12T18:30:10.864Z] 4872d77fe225: Pulling fs layer [2023-09-12T18:30:10.864Z] 5851b861e8e6: Pulling fs layer [2023-09-12T18:30:10.864Z] bab4dde63d76: Waiting [2023-09-12T18:30:10.864Z] 4872d77fe225: Waiting [2023-09-12T18:30:10.864Z] bde34c3a00c8: Waiting [2023-09-12T18:30:10.864Z] b352a97aabf1: Waiting [2023-09-12T18:30:10.864Z] 5851b861e8e6: Waiting [2023-09-12T18:30:10.864Z] eaf3925da568: Waiting [2023-09-12T18:30:10.864Z] 1469e6f7b9e6: Waiting [2023-09-12T18:30:10.864Z] 988bab9f4d93: Waiting [2023-09-12T18:30:10.864Z] e2be974225ed: Verifying Checksum [2023-09-12T18:30:10.864Z] e2be974225ed: Download complete [2023-09-12T18:30:10.864Z] 988bab9f4d93: Verifying Checksum [2023-09-12T18:30:10.864Z] 988bab9f4d93: Download complete [2023-09-12T18:30:10.864Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T18:30:10.864Z] 339a4e72a1f5: Download complete [2023-09-12T18:30:11.139Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T18:30:11.139Z] 1469e6f7b9e6: Download complete [2023-09-12T18:30:11.139Z] eaf3925da568: Verifying Checksum [2023-09-12T18:30:11.139Z] eaf3925da568: Download complete [2023-09-12T18:30:11.139Z] bde34c3a00c8: Verifying Checksum [2023-09-12T18:30:11.139Z] bde34c3a00c8: Download complete [2023-09-12T18:30:11.139Z] b352a97aabf1: Download complete [2023-09-12T18:30:11.139Z] 4872d77fe225: Verifying Checksum [2023-09-12T18:30:11.139Z] 4872d77fe225: Download complete [2023-09-12T18:30:11.429Z] 5851b861e8e6: Verifying Checksum [2023-09-12T18:30:11.429Z] 5851b861e8e6: Download complete [2023-09-12T18:30:11.429Z] b85a868b505f: Verifying Checksum [2023-09-12T18:30:11.429Z] b85a868b505f: Download complete [2023-09-12T18:30:11.690Z] bab4dde63d76: Verifying Checksum [2023-09-12T18:30:11.690Z] bab4dde63d76: Download complete [2023-09-12T18:30:12.624Z] b85a868b505f: Pull complete [2023-09-12T18:30:12.882Z] e2be974225ed: Pull complete [2023-09-12T18:30:13.141Z] 339a4e72a1f5: Pull complete [2023-09-12T18:30:13.403Z] 988bab9f4d93: Pull complete [2023-09-12T18:30:13.662Z] 1469e6f7b9e6: Pull complete [2023-09-12T18:30:13.662Z] eaf3925da568: Pull complete [2023-09-12T18:30:15.565Z] bab4dde63d76: Pull complete [2023-09-12T18:30:15.565Z] bde34c3a00c8: Pull complete [2023-09-12T18:30:15.565Z] b352a97aabf1: Pull complete [2023-09-12T18:30:15.565Z] 4872d77fe225: Pull complete [2023-09-12T18:30:15.565Z] 5851b861e8e6: Pull complete [2023-09-12T18:30:15.565Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T18:30:15.565Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T18:30:15.565Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T18:30:15.663Z] prd-ubuntu20.04-docker-8c-8g-5951 does not seem to be running inside a container [2023-09-12T18:30:15.679Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1510 -v /w/workspace/gexfoundry_device-sdk-go_PR-1510:/w/workspace/gexfoundry_device-sdk-go_PR-1510:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-12T18:30:18.629Z] $ docker top 0a2f8f63f4735b4aba44e1efe17ee0e4d118935a9d4c8a766d9601939aa3d708 -eo pid,comm [2023-09-12T18:30:18.700Z] 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-09-12T18:30:18.700Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T18:30:18.745Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T18:30:18.745Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T18:30:18.864Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T18:30:18.849Z] $ docker exec 0a2f8f63f4735b4aba44e1efe17ee0e4d118935a9d4c8a766d9601939aa3d708 ssh-agent [2023-09-12T18:30:18.980Z] SSH_AUTH_SOCK=/tmp/ssh-Gdf88982fF0M/agent.32 [2023-09-12T18:30:18.980Z] SSH_AGENT_PID=38 [2023-09-12T18:30:18.987Z] Running ssh-add (command line suppressed) [2023-09-12T18:30:19.072Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/private_key_3512896369347635041.key (/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/private_key_3512896369347635041.key) [2023-09-12T18:30:19.105Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T18:30:19.389Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T18:30:19.383Z] $ docker exec --env ******** --env ******** 0a2f8f63f4735b4aba44e1efe17ee0e4d118935a9d4c8a766d9601939aa3d708 ssh-agent -k [2023-09-12T18:30:19.490Z] unset SSH_AUTH_SOCK; [2023-09-12T18:30:19.491Z] unset SSH_AGENT_PID; [2023-09-12T18:30:19.491Z] echo Agent pid 38 killed; [2023-09-12T18:30:19.519Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T18:30:19.550Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T18:30:19.550Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T18:30:19.675Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T18:30:19.660Z] $ docker exec 0a2f8f63f4735b4aba44e1efe17ee0e4d118935a9d4c8a766d9601939aa3d708 ssh-agent [2023-09-12T18:30:19.802Z] SSH_AUTH_SOCK=/tmp/ssh-4vo1nouk3rgB/agent.70 [2023-09-12T18:30:19.802Z] SSH_AGENT_PID=76 [2023-09-12T18:30:19.807Z] Running ssh-add (command line suppressed) [2023-09-12T18:30:19.887Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/private_key_12461914006347751178.key (/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/private_key_12461914006347751178.key) [2023-09-12T18:30:19.917Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T18:30:20.203Z] + git semver init [2023-09-12T18:30:20.463Z] 2023-09-12 18:30:20,368 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T18:30:20.463Z] 2023-09-12 18:30:20,368 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver [2023-09-12T18:30:20.463Z] 2023-09-12 18:30:20,369 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver [2023-09-12T18:30:20.463Z] 2023-09-12 18:30:20,369 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1510, universal_newlines=False, shell=None, istream=None) [2023-09-12T18:30:21.403Z] 2023-09-12 18:30:21,304 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1510/.git/info/exclude [2023-09-12T18:30:21.403Z] 2023-09-12 18:30:21,305 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver/PR-1510 with force:False [2023-09-12T18:30:21.403Z] 2023-09-12 18:30:21,305 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver/PR-1510 [2023-09-12T18:30:21.403Z] 2023-09-12 18:30:21,309 [execute] INFO git cat-file --batch-check [2023-09-12T18:30:21.403Z] 2023-09-12 18:30:21,310 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T18:30:21.403Z] 2023-09-12 18:30:21,316 [execute] INFO git cat-file --batch [2023-09-12T18:30:21.403Z] 2023-09-12 18:30:21,316 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T18:30:21.403Z] 2023-09-12 18:30:21,320 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1510/.semver/PR-1510 [2023-09-12T18:30:21.403Z] 0.0.0 [Pipeline] } [2023-09-12T18:30:21.394Z] $ docker exec --env ******** --env ******** 0a2f8f63f4735b4aba44e1efe17ee0e4d118935a9d4c8a766d9601939aa3d708 ssh-agent -k [2023-09-12T18:30:21.491Z] unset SSH_AUTH_SOCK; [2023-09-12T18:30:21.492Z] unset SSH_AGENT_PID; [2023-09-12T18:30:21.492Z] echo Agent pid 76 killed; [2023-09-12T18:30:21.520Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T18:30:21.820Z] + git semver [Pipeline] } [2023-09-12T18:30:22.074Z] $ docker stop --time=1 0a2f8f63f4735b4aba44e1efe17ee0e4d118935a9d4c8a766d9601939aa3d708 [2023-09-12T18:30:23.370Z] $ docker rm -f --volumes 0a2f8f63f4735b4aba44e1efe17ee0e4d118935a9d4c8a766d9601939aa3d708 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T18:30:23.727Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T18:30:23.912Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T18:30:23.915Z] [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-09-12T18:30:24.050Z] provisioning config files... [2023-09-12T18:30:24.058Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/config12839297049745182460tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:30:24.353Z] ---> docker-login.sh [2023-09-12T18:30:24.353Z] nexus3.edgexfoundry.org:10001 [2023-09-12T18:30:24.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:30:24.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:30:24.353Z] Configure a credential helper to remove this warning. See [2023-09-12T18:30:24.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:30:24.353Z] [2023-09-12T18:30:24.353Z] Login Succeeded [2023-09-12T18:30:24.353Z] nexus3.edgexfoundry.org:10002 [2023-09-12T18:30:24.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:30:24.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:30:24.353Z] Configure a credential helper to remove this warning. See [2023-09-12T18:30:24.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:30:24.353Z] [2023-09-12T18:30:24.353Z] Login Succeeded [2023-09-12T18:30:24.353Z] nexus3.edgexfoundry.org:10003 [2023-09-12T18:30:24.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:30:24.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:30:24.614Z] Configure a credential helper to remove this warning. See [2023-09-12T18:30:24.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:30:24.614Z] [2023-09-12T18:30:24.614Z] Login Succeeded [2023-09-12T18:30:24.614Z] nexus3.edgexfoundry.org:10004 [2023-09-12T18:30:24.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:30:24.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:30:24.614Z] Configure a credential helper to remove this warning. See [2023-09-12T18:30:24.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:30:24.614Z] [2023-09-12T18:30:24.614Z] Login Succeeded [2023-09-12T18:30:24.614Z] docker.io [2023-09-12T18:30:24.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:30:24.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:30:24.873Z] Configure a credential helper to remove this warning. See [2023-09-12T18:30:24.873Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:30:24.873Z] [2023-09-12T18:30:24.873Z] Login Succeeded [2023-09-12T18:30:24.873Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T18:30:24.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T18:30:24.945Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T18:30:24.955Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T18:30:24.962Z] ========================================================= [2023-09-12T18:30:24.962Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T18:30:24.962Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:30:25.272Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T18:30:25.272Z] Sending build context to Docker daemon 11.16MB [2023-09-12T18:30:25.273Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T18:30:25.273Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T18:30:25.273Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T18:30:25.273Z] 7264a8db6415: Pulling fs layer [2023-09-12T18:30:25.273Z] c4d48a809fc2: Pulling fs layer [2023-09-12T18:30:25.273Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T18:30:25.273Z] ad3a456e5733: Pulling fs layer [2023-09-12T18:30:25.273Z] 9e4f439ed901: Pulling fs layer [2023-09-12T18:30:25.273Z] feaf6a47b606: Pulling fs layer [2023-09-12T18:30:25.273Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T18:30:25.273Z] 8ac70367396e: Pulling fs layer [2023-09-12T18:30:25.273Z] 6db16350a2e2: Pulling fs layer [2023-09-12T18:30:25.273Z] 9250d5d63582: Pulling fs layer [2023-09-12T18:30:25.273Z] 9e4f439ed901: Waiting [2023-09-12T18:30:25.273Z] 5e8b037d7d82: Waiting [2023-09-12T18:30:25.273Z] 8ac70367396e: Waiting [2023-09-12T18:30:25.273Z] feaf6a47b606: Waiting [2023-09-12T18:30:25.273Z] 6db16350a2e2: Waiting [2023-09-12T18:30:25.273Z] 9250d5d63582: Waiting [2023-09-12T18:30:25.273Z] ad3a456e5733: Waiting [2023-09-12T18:30:25.533Z] c4d48a809fc2: Download complete [2023-09-12T18:30:25.533Z] ad3a456e5733: Download complete [2023-09-12T18:30:25.533Z] 9e4f439ed901: Download complete [2023-09-12T18:30:25.533Z] 7264a8db6415: Download complete [2023-09-12T18:30:25.533Z] feaf6a47b606: Verifying Checksum [2023-09-12T18:30:25.533Z] feaf6a47b606: Download complete [2023-09-12T18:30:25.533Z] 7264a8db6415: Pull complete [2023-09-12T18:30:25.794Z] 8ac70367396e: Verifying Checksum [2023-09-12T18:30:25.794Z] 8ac70367396e: Download complete [2023-09-12T18:30:25.794Z] c4d48a809fc2: Pull complete [2023-09-12T18:30:25.794Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T18:30:25.794Z] 4f1c88b9dad5: Download complete [2023-09-12T18:30:26.053Z] 6db16350a2e2: Verifying Checksum [2023-09-12T18:30:26.053Z] 6db16350a2e2: Download complete [2023-09-12T18:30:26.310Z] 5e8b037d7d82: Download complete [2023-09-12T18:30:26.310Z] 9250d5d63582: Verifying Checksum [2023-09-12T18:30:26.310Z] 9250d5d63582: Download complete [2023-09-12T18:30:29.598Z] 4f1c88b9dad5: Pull complete [2023-09-12T18:30:29.598Z] ad3a456e5733: Pull complete [2023-09-12T18:30:29.598Z] 9e4f439ed901: Pull complete [2023-09-12T18:30:29.598Z] feaf6a47b606: Pull complete [2023-09-12T18:30:31.497Z] 5e8b037d7d82: Pull complete [2023-09-12T18:30:32.063Z] 8ac70367396e: Pull complete [2023-09-12T18:30:32.321Z] 6db16350a2e2: Pull complete [2023-09-12T18:30:32.887Z] 9250d5d63582: Pull complete [2023-09-12T18:30:32.887Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T18:30:33.155Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T18:30:33.155Z] ---> fa269f55d9b9 [2023-09-12T18:30:33.155Z] Step 3/10 : ARG MAKE=make build [2023-09-12T18:30:37.365Z] ---> Running in e7da4bd04538 [2023-09-12T18:30:37.365Z] Removing intermediate container e7da4bd04538 [2023-09-12T18:30:37.365Z] ---> b85940d39a3f [2023-09-12T18:30:37.365Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T18:30:37.365Z] ---> Running in 6c5e4b60dc23 [2023-09-12T18:30:37.365Z] Removing intermediate container 6c5e4b60dc23 [2023-09-12T18:30:37.365Z] ---> bc11325aeea6 [2023-09-12T18:30:37.365Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T18:30:37.365Z] ---> Running in f1fa941ac2d6 [2023-09-12T18:30:37.365Z] Removing intermediate container f1fa941ac2d6 [2023-09-12T18:30:37.365Z] ---> 093756c4e787 [2023-09-12T18:30:37.365Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T18:30:37.365Z] ---> Running in 2c6af79aea94 [2023-09-12T18:30:37.623Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T18:30:37.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T18:30:38.447Z] OK: 265 MiB in 56 packages [2023-09-12T18:30:38.705Z] Removing intermediate container 2c6af79aea94 [2023-09-12T18:30:38.706Z] ---> 200952130688 [2023-09-12T18:30:38.706Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T18:30:38.706Z] ---> c9f99a196a8e [2023-09-12T18:30:38.706Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T18:30:38.706Z] ---> Running in 9d5ae094358f [2023-09-12T18:30:39.019Z] Still waiting to schedule task [2023-09-12T18:30:39.020Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5949’ is offline [2023-09-12T18:31:10.798Z] Removing intermediate container 9d5ae094358f [2023-09-12T18:31:10.798Z] ---> edfc5072705f [2023-09-12T18:31:10.798Z] Step 9/10 : COPY . . [2023-09-12T18:31:10.798Z] ---> 24358fdf6ed7 [2023-09-12T18:31:10.798Z] Step 10/10 : RUN ${MAKE} [2023-09-12T18:31:10.798Z] ---> Running in 0f286d1264d0 [2023-09-12T18:31:10.798Z] noop [2023-09-12T18:31:10.798Z] Removing intermediate container 0f286d1264d0 [2023-09-12T18:31:10.798Z] ---> c7c372184869 [2023-09-12T18:31:10.798Z] Successfully built c7c372184869 [2023-09-12T18:31:10.798Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:31:11.117Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T18:31:11.117Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T18:31:11.181Z] prd-ubuntu20.04-docker-8c-8g-5951 does not seem to be running inside a container [2023-09-12T18:31:11.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1510 -v /w/workspace/gexfoundry_device-sdk-go_PR-1510:/w/workspace/gexfoundry_device-sdk-go_PR-1510:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T18:31:11.516Z] $ docker top f4912d68688645ca6def72341a8dd501cb15f5bbc0b8be709b4ed0a1a9dd21c2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T18:31:11.877Z] + go version [2023-09-12T18:31:11.877Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T18:31:11.871Z] $ docker stop --time=1 f4912d68688645ca6def72341a8dd501cb15f5bbc0b8be709b4ed0a1a9dd21c2 [2023-09-12T18:31:13.106Z] $ docker rm -f --volumes f4912d68688645ca6def72341a8dd501cb15f5bbc0b8be709b4ed0a1a9dd21c2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:31:13.532Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T18:31:13.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T18:31:13.609Z] prd-ubuntu20.04-docker-8c-8g-5951 does not seem to be running inside a container [2023-09-12T18:31:13.620Z] $ 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-1510 -v /w/workspace/gexfoundry_device-sdk-go_PR-1510:/w/workspace/gexfoundry_device-sdk-go_PR-1510:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T18:31:13.911Z] $ docker top a94df325e38843458e1036327b762c9a598313efc75411c1a3a342e1f1e1e6b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T18:31:14.271Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1510 [Pipeline] fileExists [Pipeline] sh [2023-09-12T18:31:14.566Z] + make test [2023-09-12T18:31:14.566Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T18:31:21.121Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T18:31:33.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T18:31:33.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T18:31:33.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T18:31:33.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T18:31:33.305Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T18:31:33.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T18:31:33.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T18:31:34.803Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.040s coverage: 27.6% of statements [2023-09-12T18:31:34.803Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T18:31:34.803Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.053s coverage: 80.2% of statements [2023-09-12T18:31:34.803Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.059s coverage: 86.0% of statements [2023-09-12T18:31:35.736Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.062s coverage: 71.8% of statements [2023-09-12T18:31:35.736Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T18:31:35.736Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T18:31:35.993Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T18:31:39.277Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.049s coverage: 14.1% of statements [2023-09-12T18:31:39.277Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.895s coverage: 44.2% of statements [2023-09-12T18:31:39.277Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.052s coverage: 68.5% of statements [2023-09-12T18:31:39.277Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.117s coverage: 89.2% of statements [2023-09-12T18:31:39.277Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.045s coverage: 5.5% of statements [2023-09-12T18:31:54.159Z] GO111MODULE=on go vet ./... [2023-09-12T18:31:57.441Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T18:31:57.699Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T18:31:57.699Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T18:31:57.774Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T18:31:57.779Z] $ docker stop --time=1 a94df325e38843458e1036327b762c9a598313efc75411c1a3a342e1f1e1e6b7 [2023-09-12T18:32:01.855Z] $ docker rm -f --volumes a94df325e38843458e1036327b762c9a598313efc75411c1a3a342e1f1e1e6b7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T18:32:02.365Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T18:32:02.430Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T18:32:02.831Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5952 in /w/workspace/gexfoundry_device-sdk-go_PR-1510 [Pipeline] { [Pipeline] ws [2023-09-12T18:32:02.844Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-09-12T18:32:02.878Z] The recommended git tool is: git [2023-09-12T18:32:02.950Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T18:32:03.230Z] + ls -al . [2023-09-12T18:32:03.230Z] total 304 [2023-09-12T18:32:03.230Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 18:31 . [2023-09-12T18:32:03.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 18:29 .. [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 18:30 .dockerignore [2023-09-12T18:32:03.230Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 18:31 .git [2023-09-12T18:32:03.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 18:30 .github [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 18:30 .gitignore [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 18:30 .golangci.yml [2023-09-12T18:32:03.230Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 18:30 .semver [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 18:30 CHANGELOG.md [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 18:30 GOVERNANCE.md [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 18:30 Jenkinsfile [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 18:30 LICENSE [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 18:30 Makefile [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 18:30 OWNERS.md [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 18:30 README.md [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 18:30 VERSION [2023-09-12T18:32:03.230Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 18:30 bin [2023-09-12T18:32:03.230Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 18:31 coverage.out [2023-09-12T18:32:03.230Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 18:30 example [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 18:30 go.mod [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 18:30 go.sum [2023-09-12T18:32:03.230Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 18:30 internal [2023-09-12T18:32:03.230Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 18:30 openapi [2023-09-12T18:32:03.230Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 18:30 pkg [2023-09-12T18:32:03.230Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 18:30 snap [2023-09-12T18:32:03.230Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 18:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:32:03.577Z] + 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=c9970c7cbf5f8827d41e6511481345721542ce1c --label arch=amd64 --label version=0.0.0 . [2023-09-12T18:32:03.577Z] Sending build context to Docker daemon 11.28MB [2023-09-12T18:32:03.577Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T18:32:03.577Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T18:32:03.577Z] ---> c7c372184869 [2023-09-12T18:32:03.577Z] Step 3/23 : ARG MAKE=make build [2023-09-12T18:32:03.834Z] ---> Running in 02a36462d08d [2023-09-12T18:32:03.834Z] Removing intermediate container 02a36462d08d [2023-09-12T18:32:03.834Z] ---> 18d467662173 [2023-09-12T18:32:03.834Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T18:32:03.834Z] ---> Running in 1eaaa6cf5464 [2023-09-12T18:32:04.093Z] Removing intermediate container 1eaaa6cf5464 [2023-09-12T18:32:04.093Z] ---> 8b6236d2f082 [2023-09-12T18:32:04.093Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T18:32:04.093Z] ---> Running in f43168695eb3 [2023-09-12T18:32:04.093Z] Removing intermediate container f43168695eb3 [2023-09-12T18:32:04.093Z] ---> 30a60d36b507 [2023-09-12T18:32:04.093Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T18:32:04.093Z] ---> Running in fd9d59ac743d [2023-09-12T18:32:04.352Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T18:32:04.612Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T18:32:04.872Z] OK: 265 MiB in 56 packages [2023-09-12T18:32:05.133Z] Removing intermediate container fd9d59ac743d [2023-09-12T18:32:05.133Z] ---> 3ad5e87aaa46 [2023-09-12T18:32:05.133Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T18:32:05.133Z] ---> 87fce71efcb2 [2023-09-12T18:32:05.133Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T18:32:05.133Z] ---> Running in d7189f82af38 [2023-09-12T18:32:06.069Z] Removing intermediate container d7189f82af38 [2023-09-12T18:32:06.069Z] ---> 4970aa14870f [2023-09-12T18:32:06.069Z] Step 9/23 : COPY . . [2023-09-12T18:32:06.328Z] ---> e14d4b9195a7 [2023-09-12T18:32:06.328Z] Step 10/23 : RUN ${MAKE} [2023-09-12T18:32:06.586Z] ---> Running in c095c07d3abc [2023-09-12T18:32:06.586Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T18:32:07.772Z] using credential edgex-jenkins-ssh [2023-09-12T18:32:07.787Z] Cloning the remote Git repository [2023-09-12T18:32:07.813Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T18:32:07.908Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-09-12T18:32:08.037Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T18:32:08.038Z] > git --version # timeout=10 [2023-09-12T18:32:08.055Z] > git --version # 'git version 2.25.1' [2023-09-12T18:32:08.057Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T18:32:08.194Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T18:32:09.667Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-12T18:32:09.700Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T18:32:11.214Z] Merging remotes/origin/main commit 8e06685c5bed515b18a4f19b1b2841e63869493f into PR head commit c9970c7cbf5f8827d41e6511481345721542ce1c [2023-09-12T18:32:11.513Z] Merge succeeded, producing c9970c7cbf5f8827d41e6511481345721542ce1c [2023-09-12T18:32:11.513Z] Checking out Revision c9970c7cbf5f8827d41e6511481345721542ce1c (PR-1510) [2023-09-12T18:32:10.503Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-12T18:32:10.547Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T18:32:10.548Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T18:32:10.566Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1510/head:refs/remotes/origin/PR-1510 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-12T18:32:11.216Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T18:32:11.290Z] > git checkout -f c9970c7cbf5f8827d41e6511481345721542ce1c # timeout=10 [2023-09-12T18:32:11.401Z] > git remote # timeout=10 [2023-09-12T18:32:11.420Z] > git config --get remote.origin.url # timeout=10 [2023-09-12T18:32:11.441Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T18:32:11.453Z] > git merge 8e06685c5bed515b18a4f19b1b2841e63869493f # timeout=10 [2023-09-12T18:32:11.480Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-12T18:32:11.506Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T18:32:11.521Z] > git checkout -f c9970c7cbf5f8827d41e6511481345721542ce1c # timeout=10 [2023-09-12T18:32:15.031Z] Commit message: "fix: Fixed failing unit test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T18:32:15.854Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T18:32:15.854Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T18:32:15.854Z] Dload Upload Total Spent Left Speed [2023-09-12T18:32:15.854Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-09-12T18:32:16.513Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T18:32:16.847Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T18:32:16.847Z] + sudo tee /etc/docker/daemon.new [2023-09-12T18:32:16.847Z] { [2023-09-12T18:32:16.847Z] "registry-mirrors": [ [2023-09-12T18:32:16.848Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T18:32:16.848Z] ], [2023-09-12T18:32:16.848Z] "bip": "10.250.0.254/24", [2023-09-12T18:32:16.848Z] "hosts": [ [2023-09-12T18:32:16.848Z] "tcp://0.0.0.0:5555", [2023-09-12T18:32:16.848Z] "unix:///var/run/docker.sock" [2023-09-12T18:32:16.848Z] ], [2023-09-12T18:32:16.848Z] "mtu": 1458, [2023-09-12T18:32:16.848Z] "selinux-enabled": true, [2023-09-12T18:32:16.848Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T18:32:16.848Z] } [Pipeline] sh [2023-09-12T18:32:17.170Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T18:32:17.495Z] + sudo service docker restart [2023-09-12T18:32:24.653Z] Removing intermediate container c095c07d3abc [2023-09-12T18:32:24.653Z] ---> 1a2fe24337d7 [2023-09-12T18:32:24.653Z] Step 11/23 : FROM alpine:3.17 [2023-09-12T18:32:24.653Z] 3.17: Pulling from library/alpine [2023-09-12T18:32:24.653Z] 9398808236ff: Pulling fs layer [2023-09-12T18:32:24.653Z] 9398808236ff: Verifying Checksum [2023-09-12T18:32:24.653Z] 9398808236ff: Download complete [2023-09-12T18:32:24.653Z] 9398808236ff: Pull complete [2023-09-12T18:32:24.654Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-12T18:32:24.654Z] Status: Downloaded newer image for alpine:3.17 [2023-09-12T18:32:24.654Z] ---> 1e0b8b5322fc [2023-09-12T18:32:24.654Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T18:32:24.654Z] ---> Running in 55b55b143aa0 [2023-09-12T18:32:24.654Z] Removing intermediate container 55b55b143aa0 [2023-09-12T18:32:24.654Z] ---> 97543fcc1566 [2023-09-12T18:32:24.654Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T18:32:24.654Z] ---> Running in c35971f28b42 [2023-09-12T18:32:24.654Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-12T18:32:24.912Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-12T18:32:25.170Z] OK: 7 MiB in 15 packages [2023-09-12T18:32:25.430Z] Removing intermediate container c35971f28b42 [2023-09-12T18:32:25.430Z] ---> 7ce274d23f2a [2023-09-12T18:32:25.430Z] Step 14/23 : WORKDIR / [2023-09-12T18:32:25.430Z] ---> Running in 5450742bc940 [2023-09-12T18:32:25.430Z] Removing intermediate container 5450742bc940 [2023-09-12T18:32:25.430Z] ---> ced3868c1212 [2023-09-12T18:32:25.430Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T18:32:25.689Z] ---> 99dad287751c [2023-09-12T18:32:25.689Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T18:32:26.620Z] ---> 7d3ccdaf0288 [2023-09-12T18:32:26.620Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T18:32:26.620Z] ---> 65af7ad81074 [2023-09-12T18:32:26.620Z] Step 18/23 : EXPOSE 59999 [2023-09-12T18:32:26.620Z] ---> Running in aedfd479dfaf [2023-09-12T18:32:26.620Z] Removing intermediate container aedfd479dfaf [2023-09-12T18:32:26.620Z] ---> 6b72df4fc0e0 [2023-09-12T18:32:26.620Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T18:32:26.620Z] ---> Running in 711c7930b0ff [2023-09-12T18:32:26.878Z] Removing intermediate container 711c7930b0ff [2023-09-12T18:32:26.878Z] ---> c3eabd899ee5 [2023-09-12T18:32:26.878Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T18:32:26.878Z] ---> Running in 750f836febf9 [2023-09-12T18:32:26.878Z] Removing intermediate container 750f836febf9 [2023-09-12T18:32:26.878Z] ---> 50b39d309457 [2023-09-12T18:32:26.878Z] Step 21/23 : LABEL arch=amd64 [2023-09-12T18:32:26.878Z] ---> Running in fa565b9768bb [2023-09-12T18:32:26.878Z] Removing intermediate container fa565b9768bb [2023-09-12T18:32:26.878Z] ---> a2589a4be4dc [2023-09-12T18:32:26.878Z] Step 22/23 : LABEL git_sha=c9970c7cbf5f8827d41e6511481345721542ce1c [2023-09-12T18:32:26.878Z] ---> Running in e245c0625ac0 [2023-09-12T18:32:27.138Z] Removing intermediate container e245c0625ac0 [2023-09-12T18:32:27.138Z] ---> b05fd3695575 [2023-09-12T18:32:27.138Z] Step 23/23 : LABEL version=0.0.0 [2023-09-12T18:32:27.138Z] ---> Running in cbfd404a8d9b [2023-09-12T18:32:27.138Z] Removing intermediate container cbfd404a8d9b [2023-09-12T18:32:27.138Z] ---> 2af492304543 [2023-09-12T18:32:27.138Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T18:32:27.138Z] Successfully built 2af492304543 [2023-09-12T18:32:27.138Z] 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-09-12T18:32:27.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T18:32:27.547Z] [2023-09-12T18:32:27.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:32:27.837Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T18:32:27.837Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T18:32:27.837Z] 5eb5b503b376: Pulling fs layer [2023-09-12T18:32:27.837Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T18:32:27.837Z] ec43610c2a17: Pulling fs layer [2023-09-12T18:32:27.837Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T18:32:27.837Z] 33b1e0a273af: Pulling fs layer [2023-09-12T18:32:27.837Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T18:32:27.837Z] 2f39f015ded8: Pulling fs layer [2023-09-12T18:32:27.837Z] 5d3b04190fa2: Waiting [2023-09-12T18:32:27.837Z] 3a2ae6a8a46f: Waiting [2023-09-12T18:32:27.837Z] 33b1e0a273af: Waiting [2023-09-12T18:32:27.837Z] 2f39f015ded8: Waiting [2023-09-12T18:32:27.837Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T18:32:27.837Z] 5c69ac0246d0: Download complete [2023-09-12T18:32:27.837Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T18:32:27.837Z] 3a2ae6a8a46f: Download complete [2023-09-12T18:32:27.837Z] 33b1e0a273af: Verifying Checksum [2023-09-12T18:32:27.837Z] 33b1e0a273af: Download complete [2023-09-12T18:32:27.837Z] 5d3b04190fa2: Verifying Checksum [2023-09-12T18:32:27.837Z] 5d3b04190fa2: Download complete [2023-09-12T18:32:27.837Z] ec43610c2a17: Verifying Checksum [2023-09-12T18:32:27.837Z] ec43610c2a17: Download complete [2023-09-12T18:32:28.097Z] 5eb5b503b376: Verifying Checksum [2023-09-12T18:32:28.097Z] 5eb5b503b376: Download complete [2023-09-12T18:32:28.664Z] 2f39f015ded8: Verifying Checksum [2023-09-12T18:32:28.664Z] 2f39f015ded8: Download complete [2023-09-12T18:32:29.231Z] 5eb5b503b376: Pull complete [2023-09-12T18:32:29.231Z] 5c69ac0246d0: Pull complete [2023-09-12T18:32:29.796Z] ec43610c2a17: Pull complete [2023-09-12T18:32:29.796Z] 3a2ae6a8a46f: Pull complete [2023-09-12T18:32:29.796Z] 33b1e0a273af: Pull complete [2023-09-12T18:32:30.055Z] 5d3b04190fa2: Pull complete [2023-09-12T18:32:34.237Z] 2f39f015ded8: Pull complete [2023-09-12T18:32:34.237Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T18:32:34.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T18:32:34.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T18:32:34.311Z] prd-ubuntu20.04-docker-8c-8g-5951 does not seem to be running inside a container [2023-09-12T18:32:34.341Z] $ 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-1510 -v /w/workspace/gexfoundry_device-sdk-go_PR-1510:/w/workspace/gexfoundry_device-sdk-go_PR-1510:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1510@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-09-12T18:32:37.652Z] $ docker top 8c04235cc9f1b1532985859e9e8aaf650f2570c54b59d5ccb6cfb463e18b2bc3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider [2023-09-12T18:32:37.786Z] provisioning config files... [2023-09-12T18:32:37.811Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config9329962493983894608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:32:38.038Z] ---> job-cost.sh [2023-09-12T18:32:38.038Z] lf-activate-venv: SKIPPING [2023-09-12T18:32:38.038Z] INFO: No Stack... [2023-09-12T18:32:38.156Z] ---> docker-login.sh [2023-09-12T18:32:38.156Z] nexus3.edgexfoundry.org:10001 [2023-09-12T18:32:38.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:32:38.605Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T18:32:38.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:32:38.701Z] Configure a credential helper to remove this warning. See [2023-09-12T18:32:38.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:32:38.701Z] [2023-09-12T18:32:38.701Z] Login Succeeded [2023-09-12T18:32:38.701Z] nexus3.edgexfoundry.org:10002 [2023-09-12T18:32:38.864Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T18:32:38.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:32:38.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:32:38.972Z] Configure a credential helper to remove this warning. See [2023-09-12T18:32:38.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:32:38.972Z] [2023-09-12T18:32:38.972Z] Login Succeeded [2023-09-12T18:32:38.972Z] nexus3.edgexfoundry.org:10003 [2023-09-12T18:32:39.152Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives/cost.csv [2023-09-12T18:32:39.152Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T18:32:39.165Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1510-2-stack-cost] [2023-09-12T18:32:39.174Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1510-2-stack-cost] did not exist. Created. [2023-09-12T18:32:39.174Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1510-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T18:32:39.246Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:32:39.478Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T18:32:39.512Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:32:39.512Z] Configure a credential helper to remove this warning. See [2023-09-12T18:32:39.512Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:32:39.512Z] [2023-09-12T18:32:39.512Z] Login Succeeded [2023-09-12T18:32:39.512Z] nexus3.edgexfoundry.org:10004 [2023-09-12T18:32:39.513Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T18:32:39.520Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1510-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T18:32:39.541Z] $ docker stop --time=1 8c04235cc9f1b1532985859e9e8aaf650f2570c54b59d5ccb6cfb463e18b2bc3 [2023-09-12T18:32:40.677Z] $ docker rm -f --volumes 8c04235cc9f1b1532985859e9e8aaf650f2570c54b59d5ccb6cfb463e18b2bc3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T18:32:41.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:32:41.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:32:41.460Z] Configure a credential helper to remove this warning. See [2023-09-12T18:32:41.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:32:41.460Z] [2023-09-12T18:32:41.460Z] Login Succeeded [2023-09-12T18:32:41.460Z] docker.io [2023-09-12T18:32:41.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T18:32:41.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T18:32:41.992Z] Configure a credential helper to remove this warning. See [2023-09-12T18:32:41.992Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T18:32:41.992Z] [2023-09-12T18:32:41.992Z] Login Succeeded [2023-09-12T18:32:41.992Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T18:32:42.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T18:32:42.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T18:32:42.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T18:32:42.256Z] ========================================================= [2023-09-12T18:32:42.256Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T18:32:42.256Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:32:42.590Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T18:32:42.865Z] Sending build context to Docker daemon 5.982MB [2023-09-12T18:32:42.865Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T18:32:42.865Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T18:32:43.141Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T18:32:43.141Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T18:32:43.141Z] 5d54e960e981: Pulling fs layer [2023-09-12T18:32:43.141Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T18:32:43.141Z] f0e02332f6b5: Pulling fs layer [2023-09-12T18:32:43.141Z] 66412af1f25a: Pulling fs layer [2023-09-12T18:32:43.141Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T18:32:43.141Z] 9a37bb91b891: Pulling fs layer [2023-09-12T18:32:43.141Z] a29adfc67d43: Pulling fs layer [2023-09-12T18:32:43.141Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T18:32:43.141Z] f0e02332f6b5: Waiting [2023-09-12T18:32:43.141Z] 66412af1f25a: Waiting [2023-09-12T18:32:43.141Z] 1baf3a5c0e64: Waiting [2023-09-12T18:32:43.141Z] 9a37bb91b891: Waiting [2023-09-12T18:32:43.141Z] a29adfc67d43: Waiting [2023-09-12T18:32:43.141Z] d5de9f91c1a4: Waiting [2023-09-12T18:32:43.141Z] 5d54e960e981: Verifying Checksum [2023-09-12T18:32:43.141Z] 5d54e960e981: Download complete [2023-09-12T18:32:43.141Z] f0e02332f6b5: Verifying Checksum [2023-09-12T18:32:43.141Z] f0e02332f6b5: Download complete [2023-09-12T18:32:43.141Z] 66412af1f25a: Download complete [2023-09-12T18:32:43.141Z] 9fda8d8052c6: Verifying Checksum [2023-09-12T18:32:43.141Z] 9fda8d8052c6: Download complete [2023-09-12T18:32:43.746Z] 9a37bb91b891: Verifying Checksum [2023-09-12T18:32:43.746Z] 9a37bb91b891: Download complete [2023-09-12T18:32:44.344Z] 9fda8d8052c6: Pull complete [2023-09-12T18:32:44.344Z] a29adfc67d43: Verifying Checksum [2023-09-12T18:32:44.344Z] a29adfc67d43: Download complete [2023-09-12T18:32:44.939Z] 5d54e960e981: Pull complete [2023-09-12T18:32:44.939Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T18:32:44.939Z] d5de9f91c1a4: Download complete [2023-09-12T18:32:44.939Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T18:32:44.939Z] c4a7e357bf2a: Download complete [2023-09-12T18:32:45.906Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T18:32:45.906Z] 1baf3a5c0e64: Download complete [2023-09-12T18:32:55.991Z] c4a7e357bf2a: Pull complete [2023-09-12T18:32:55.991Z] f0e02332f6b5: Pull complete [2023-09-12T18:32:55.991Z] 66412af1f25a: Pull complete [2023-09-12T18:33:02.666Z] 1baf3a5c0e64: Pull complete [2023-09-12T18:33:04.084Z] 9a37bb91b891: Pull complete [2023-09-12T18:33:05.500Z] a29adfc67d43: Pull complete [2023-09-12T18:33:06.910Z] d5de9f91c1a4: Pull complete [2023-09-12T18:33:06.910Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T18:33:06.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T18:33:06.910Z] ---> 746ca1b523b5 [2023-09-12T18:33:06.910Z] Step 3/10 : ARG MAKE=make build [2023-09-12T18:33:08.898Z] ---> Running in 6178a53f99ff [2023-09-12T18:33:08.898Z] Removing intermediate container 6178a53f99ff [2023-09-12T18:33:08.898Z] ---> 1d62e6d956e3 [2023-09-12T18:33:08.898Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T18:33:08.898Z] ---> Running in bc875fe36e8d [2023-09-12T18:33:09.169Z] Removing intermediate container bc875fe36e8d [2023-09-12T18:33:09.169Z] ---> e9dd0ec0ec76 [2023-09-12T18:33:09.169Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T18:33:09.435Z] ---> Running in bdb7e93217f6 [2023-09-12T18:33:09.702Z] Removing intermediate container bdb7e93217f6 [2023-09-12T18:33:09.702Z] ---> 20d1e342c212 [2023-09-12T18:33:09.702Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T18:33:09.702Z] ---> Running in 212c827a6f74 [2023-09-12T18:33:10.664Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T18:33:11.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T18:33:12.208Z] OK: 267 MiB in 56 packages [2023-09-12T18:33:12.803Z] Removing intermediate container 212c827a6f74 [2023-09-12T18:33:12.803Z] ---> 55b55b05a007 [2023-09-12T18:33:12.803Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T18:33:13.386Z] ---> ac08d59e1503 [2023-09-12T18:33:13.386Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T18:33:13.386Z] ---> Running in 17903387619c [2023-09-12T18:34:21.235Z] Removing intermediate container 17903387619c [2023-09-12T18:34:21.235Z] ---> 6fa54df117bd [2023-09-12T18:34:21.235Z] Step 9/10 : COPY . . [2023-09-12T18:34:21.235Z] ---> bf343a8ceee2 [2023-09-12T18:34:21.235Z] Step 10/10 : RUN ${MAKE} [2023-09-12T18:34:21.235Z] ---> Running in e2d2bb3f0f29 [2023-09-12T18:34:21.235Z] noop [2023-09-12T18:34:21.235Z] Removing intermediate container e2d2bb3f0f29 [2023-09-12T18:34:21.235Z] ---> a5b73505181e [2023-09-12T18:34:21.235Z] Successfully built a5b73505181e [2023-09-12T18:34:21.235Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:34:21.577Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T18:34:21.577Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T18:34:21.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-5952 does not seem to be running inside a container [2023-09-12T18:34:21.841Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T18:34:23.037Z] $ docker top 4dfdab456e2ba9d013a46fa9b1cc6f8d4b5383c1fe60979eb7eb88b4409bb190 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T18:34:23.843Z] + go version [2023-09-12T18:34:23.843Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T18:34:23.875Z] $ docker stop --time=1 4dfdab456e2ba9d013a46fa9b1cc6f8d4b5383c1fe60979eb7eb88b4409bb190 [2023-09-12T18:34:25.483Z] $ docker rm -f --volumes 4dfdab456e2ba9d013a46fa9b1cc6f8d4b5383c1fe60979eb7eb88b4409bb190 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:34:26.006Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T18:34:26.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T18:34:26.181Z] prd-ubuntu20.04-docker-arm64-4c-16g-5952 does not seem to be running inside a container [2023-09-12T18:34:26.255Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T18:34:29.201Z] $ docker top 0981f63731b1509be6258c3f88817a2728a0cd52820e90d0d9472c5f4d76448a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T18:34:29.682Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-09-12T18:34:30.278Z] + make test [2023-09-12T18:34:30.278Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T18:35:02.495Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T18:36:39.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T18:36:39.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T18:36:39.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T18:36:39.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T18:36:39.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T18:36:39.129Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.291s coverage: 27.6% of statements [2023-09-12T18:36:41.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.245s coverage: 80.2% of statements [2023-09-12T18:36:54.024Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T18:36:54.024Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T18:36:54.024Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.424s coverage: 86.0% of statements [2023-09-12T18:37:00.683Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T18:37:00.953Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.438s coverage: 71.8% of statements [2023-09-12T18:37:04.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.395s coverage: 14.1% of statements [2023-09-12T18:37:04.299Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.158s coverage: 44.2% of statements [2023-09-12T18:37:04.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T18:37:04.299Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T18:37:05.704Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.434s coverage: 68.5% of statements [2023-09-12T18:37:09.294Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.491s coverage: 89.2% of statements [2023-09-12T18:37:09.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T18:37:10.761Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.239s coverage: 5.5% of statements [2023-09-12T18:37:12.729Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T18:37:12.729Z] GO111MODULE=on go vet ./... [2023-09-12T18:38:49.405Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T18:38:49.405Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T18:38:49.405Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T18:38:49.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T18:38:49.465Z] $ docker stop --time=1 0981f63731b1509be6258c3f88817a2728a0cd52820e90d0d9472c5f4d76448a [2023-09-12T18:38:51.407Z] $ docker rm -f --volumes 0981f63731b1509be6258c3f88817a2728a0cd52820e90d0d9472c5f4d76448a [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T18:38:53.005Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T18:38:53.027Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T18:38:53.525Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T18:38:53.917Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T18:38:54.231Z] + ls -al . [2023-09-12T18:38:54.231Z] total 300 [2023-09-12T18:38:54.231Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 18:34 . [2023-09-12T18:38:54.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 18:32 .. [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 18:32 .dockerignore [2023-09-12T18:38:54.231Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 18:32 .git [2023-09-12T18:38:54.231Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 18:32 .github [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 18:32 .gitignore [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 18:32 .golangci.yml [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 18:32 CHANGELOG.md [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 18:32 GOVERNANCE.md [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 18:32 Jenkinsfile [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 18:32 LICENSE [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 18:32 Makefile [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 18:32 OWNERS.md [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 18:32 README.md [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 18:30 VERSION [2023-09-12T18:38:54.231Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 18:32 bin [2023-09-12T18:38:54.231Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 18:37 coverage.out [2023-09-12T18:38:54.231Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 18:32 example [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 18:32 go.mod [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 18:32 go.sum [2023-09-12T18:38:54.231Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 18:32 internal [2023-09-12T18:38:54.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 18:32 openapi [2023-09-12T18:38:54.231Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 18:32 pkg [2023-09-12T18:38:54.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 18:32 snap [2023-09-12T18:38:54.231Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 18:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:38:54.557Z] + 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=c9970c7cbf5f8827d41e6511481345721542ce1c --label arch=arm64 --label version=0.0.0 . [2023-09-12T18:38:54.825Z] Sending build context to Docker daemon 6.104MB [2023-09-12T18:38:54.825Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-12T18:38:54.825Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T18:38:54.825Z] ---> a5b73505181e [2023-09-12T18:38:54.825Z] Step 3/23 : ARG MAKE=make build [2023-09-12T18:38:55.094Z] ---> Running in ae0eeeff5003 [2023-09-12T18:38:55.362Z] Removing intermediate container ae0eeeff5003 [2023-09-12T18:38:55.362Z] ---> 6275dd5a860d [2023-09-12T18:38:55.362Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T18:38:55.362Z] ---> Running in 070b8fe93c71 [2023-09-12T18:38:55.630Z] Removing intermediate container 070b8fe93c71 [2023-09-12T18:38:55.630Z] ---> 5b79ce98c702 [2023-09-12T18:38:55.630Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T18:38:55.898Z] ---> Running in ec364c0d9129 [2023-09-12T18:38:56.164Z] Removing intermediate container ec364c0d9129 [2023-09-12T18:38:56.164Z] ---> f19fcc9b3251 [2023-09-12T18:38:56.164Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T18:38:56.164Z] ---> Running in 27e96faa14ca [2023-09-12T18:38:57.126Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T18:38:57.709Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T18:38:59.117Z] OK: 267 MiB in 56 packages [2023-09-12T18:39:00.089Z] Removing intermediate container 27e96faa14ca [2023-09-12T18:39:00.089Z] ---> 527d10a2c0a7 [2023-09-12T18:39:00.089Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T18:39:00.360Z] ---> 90ad83dde8e4 [2023-09-12T18:39:00.360Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T18:39:00.633Z] ---> Running in 88d0b34a39a1 [2023-09-12T18:39:02.576Z] Removing intermediate container 88d0b34a39a1 [2023-09-12T18:39:02.576Z] ---> b8ddcc4b1df7 [2023-09-12T18:39:02.576Z] Step 9/23 : COPY . . [2023-09-12T18:39:03.983Z] ---> a7261f857179 [2023-09-12T18:39:03.984Z] Step 10/23 : RUN ${MAKE} [2023-09-12T18:39:03.984Z] ---> Running in 2496faa59052 [2023-09-12T18:39:04.565Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T18:40:56.199Z] Removing intermediate container 2496faa59052 [2023-09-12T18:40:56.199Z] ---> a636970a0051 [2023-09-12T18:40:56.199Z] Step 11/23 : FROM alpine:3.17 [2023-09-12T18:40:56.199Z] 3.17: Pulling from library/alpine [2023-09-12T18:40:56.199Z] 4060ece20d7a: Pulling fs layer [2023-09-12T18:40:56.199Z] 4060ece20d7a: Verifying Checksum [2023-09-12T18:40:56.199Z] 4060ece20d7a: Download complete [2023-09-12T18:40:56.199Z] 4060ece20d7a: Pull complete [2023-09-12T18:40:56.199Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-12T18:40:56.199Z] Status: Downloaded newer image for alpine:3.17 [2023-09-12T18:40:56.199Z] ---> 8650cd65339b [2023-09-12T18:40:56.199Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T18:40:56.199Z] ---> Running in c9088966e4b5 [2023-09-12T18:40:56.199Z] Removing intermediate container c9088966e4b5 [2023-09-12T18:40:56.199Z] ---> b76ec0c574a2 [2023-09-12T18:40:56.199Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T18:40:56.199Z] ---> Running in 7a626b86ea36 [2023-09-12T18:40:56.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-12T18:40:56.199Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-12T18:40:56.199Z] OK: 7 MiB in 15 packages [2023-09-12T18:40:56.199Z] Removing intermediate container 7a626b86ea36 [2023-09-12T18:40:56.199Z] ---> 5af76e5a6c78 [2023-09-12T18:40:56.199Z] Step 14/23 : WORKDIR / [2023-09-12T18:40:56.199Z] ---> Running in 4e7104c634a0 [2023-09-12T18:40:56.199Z] Removing intermediate container 4e7104c634a0 [2023-09-12T18:40:56.199Z] ---> f9598ba3dc77 [2023-09-12T18:40:56.199Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T18:40:56.199Z] ---> b4489786ce47 [2023-09-12T18:40:56.199Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T18:40:56.199Z] ---> 7ed5b0a511ed [2023-09-12T18:40:56.199Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T18:40:56.464Z] ---> 9d5831aa25d3 [2023-09-12T18:40:56.464Z] Step 18/23 : EXPOSE 59999 [2023-09-12T18:40:56.464Z] ---> Running in 687e2ca0788d [2023-09-12T18:40:56.738Z] Removing intermediate container 687e2ca0788d [2023-09-12T18:40:56.738Z] ---> 21fb2ec49330 [2023-09-12T18:40:56.738Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T18:40:56.738Z] ---> Running in 020b040e959c [2023-09-12T18:40:57.320Z] Removing intermediate container 020b040e959c [2023-09-12T18:40:57.320Z] ---> b974a4ac64fe [2023-09-12T18:40:57.320Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T18:40:57.320Z] ---> Running in 7ff0a00f1484 [2023-09-12T18:40:57.589Z] Removing intermediate container 7ff0a00f1484 [2023-09-12T18:40:57.589Z] ---> d55a28fb066f [2023-09-12T18:40:57.589Z] Step 21/23 : LABEL arch=arm64 [2023-09-12T18:40:57.589Z] ---> Running in 3e1cf9edc149 [2023-09-12T18:40:57.859Z] Removing intermediate container 3e1cf9edc149 [2023-09-12T18:40:57.859Z] ---> 3478783ab27d [2023-09-12T18:40:57.859Z] Step 22/23 : LABEL git_sha=c9970c7cbf5f8827d41e6511481345721542ce1c [2023-09-12T18:40:57.859Z] ---> Running in f548580a4cf9 [2023-09-12T18:40:58.127Z] Removing intermediate container f548580a4cf9 [2023-09-12T18:40:58.127Z] ---> 2246d8d78328 [2023-09-12T18:40:58.127Z] Step 23/23 : LABEL version=0.0.0 [2023-09-12T18:40:58.394Z] ---> Running in 9a11130d4554 [2023-09-12T18:40:58.661Z] Removing intermediate container 9a11130d4554 [2023-09-12T18:40:58.661Z] ---> f8ae110c3b03 [2023-09-12T18:40:58.661Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T18:40:58.661Z] Successfully built f8ae110c3b03 [2023-09-12T18:40:58.661Z] 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-09-12T18:40:59.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T18:40:59.102Z] [2023-09-12T18:40:59.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:40:59.428Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T18:40:59.428Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T18:40:59.428Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T18:40:59.428Z] 04944245beec: Pulling fs layer [2023-09-12T18:40:59.428Z] 699f458cf7ca: Pulling fs layer [2023-09-12T18:40:59.428Z] 765212b225bb: Pulling fs layer [2023-09-12T18:40:59.428Z] f23df028b6ca: Pulling fs layer [2023-09-12T18:40:59.428Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T18:40:59.428Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T18:40:59.428Z] 765212b225bb: Waiting [2023-09-12T18:40:59.428Z] d65c8cfc05b1: Waiting [2023-09-12T18:40:59.428Z] 2437ff75d9bd: Waiting [2023-09-12T18:40:59.428Z] f23df028b6ca: Waiting [2023-09-12T18:40:59.696Z] 04944245beec: Verifying Checksum [2023-09-12T18:40:59.696Z] 04944245beec: Download complete [2023-09-12T18:40:59.696Z] 765212b225bb: Verifying Checksum [2023-09-12T18:40:59.696Z] 765212b225bb: Download complete [2023-09-12T18:40:59.696Z] f23df028b6ca: Download complete [2023-09-12T18:40:59.696Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T18:40:59.696Z] d65c8cfc05b1: Download complete [2023-09-12T18:40:59.967Z] 699f458cf7ca: Verifying Checksum [2023-09-12T18:40:59.967Z] 699f458cf7ca: Download complete [2023-09-12T18:41:00.234Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T18:41:00.234Z] 8998bd30e6a1: Download complete [2023-09-12T18:41:02.819Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T18:41:02.819Z] 2437ff75d9bd: Download complete [2023-09-12T18:41:04.224Z] 8998bd30e6a1: Pull complete [2023-09-12T18:41:04.808Z] 04944245beec: Pull complete [2023-09-12T18:41:06.216Z] 699f458cf7ca: Pull complete [2023-09-12T18:41:06.216Z] 765212b225bb: Pull complete [2023-09-12T18:41:06.801Z] f23df028b6ca: Pull complete [2023-09-12T18:41:07.068Z] d65c8cfc05b1: Pull complete [2023-09-12T18:41:22.048Z] 2437ff75d9bd: Pull complete [2023-09-12T18:41:22.048Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T18:41:22.048Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T18:41:22.048Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T18:41:22.216Z] prd-ubuntu20.04-docker-arm64-4c-16g-5952 does not seem to be running inside a container [2023-09-12T18:41:22.278Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T18:41:24.909Z] $ docker top 912a6443d9f48f259e606b42b726d61d8590652aac06e8ce5be220558867c8a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:41:25.415Z] ---> job-cost.sh [2023-09-12T18:41:25.682Z] lf-activate-venv: SKIPPING [2023-09-12T18:41:25.682Z] INFO: No Stack... [2023-09-12T18:41:26.264Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T18:41:26.846Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T18:41:27.163Z] + cut -d, -f6 [2023-09-12T18:41:27.163Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2023-09-12T18:41:27.225Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1510-2-stack-cost] [2023-09-12T18:41:27.231Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1510-2-stack-cost] did not exist. Created. [2023-09-12T18:41:27.232Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1510-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T18:41:27.567Z] /w/workspace/device-sdk-go/2@tmp/durable-62178f66/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T18:41:27.895Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T18:41:27.910Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T18:41:27.984Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T18:41:27.991Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1510-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T18:41:28.017Z] $ docker stop --time=1 912a6443d9f48f259e606b42b726d61d8590652aac06e8ce5be220558867c8a5 [2023-09-12T18:41:29.486Z] $ docker rm -f --volumes 912a6443d9f48f259e606b42b726d61d8590652aac06e8ce5be220558867c8a5 [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-09-12T18:41:29.856Z] provisioning config files... [2023-09-12T18:41:29.864Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/config5532769882258065694tmp [Pipeline] { [Pipeline] sh [2023-09-12T18:41:30.159Z] + set +x [2023-09-12T18:41:30.159Z] + curl -s https://codecov.io/bash [2023-09-12T18:41:30.159Z] + bash -s -- [2023-09-12T18:41:30.159Z] [2023-09-12T18:41:30.159Z] _____ _ [2023-09-12T18:41:30.159Z] / ____| | | [2023-09-12T18:41:30.159Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T18:41:30.159Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T18:41:30.159Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T18:41:30.159Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T18:41:30.159Z] Bash-1.0.6 [2023-09-12T18:41:30.159Z] [2023-09-12T18:41:30.159Z] [2023-09-12T18:41:30.159Z] ==> git version 2.25.1 found [2023-09-12T18:41:30.159Z] ==> 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-09-12T18:41:30.159Z] Release-Date: 2020-01-08 [2023-09-12T18:41:30.160Z] 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-09-12T18:41:30.160Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T18:41:30.160Z] ==> Jenkins CI detected. [2023-09-12T18:41:30.160Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1510 [2023-09-12T18:41:30.160Z] project root: . [2023-09-12T18:41:30.160Z] --> token set from env [2023-09-12T18:41:30.160Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T18:41:30.160Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T18:41:30.160Z] ==> Python coveragepy not found [2023-09-12T18:41:30.160Z] ==> Searching for coverage reports in: [2023-09-12T18:41:30.160Z] + . [2023-09-12T18:41:30.160Z] -> Found 1 reports [2023-09-12T18:41:30.160Z] ==> Detecting git/mercurial file structure [2023-09-12T18:41:30.419Z] ==> Reading reports [2023-09-12T18:41:30.419Z] + ./coverage.out bytes=120468 [2023-09-12T18:41:30.419Z] ==> Appending adjustments [2023-09-12T18:41:30.419Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T18:41:30.679Z] + Found adjustments [2023-09-12T18:41:30.679Z] ==> Gzipping contents [2023-09-12T18:41:30.679Z] 20K /tmp/codecov.4pY7CT.gz [2023-09-12T18:41:30.679Z] ==> Uploading reports [2023-09-12T18:41:30.679Z] url: https://codecov.io [2023-09-12T18:41:30.679Z] query: branch=PR-1510&commit=c9970c7cbf5f8827d41e6511481345721542ce1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1510%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1510&job=&cmd_args= [2023-09-12T18:41:30.679Z] -> Pinging Codecov [2023-09-12T18:41:30.679Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1510&commit=c9970c7cbf5f8827d41e6511481345721542ce1c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1510%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1510&job=&cmd_args= [2023-09-12T18:41:30.679Z] -> Uploading to [2023-09-12T18:41:30.679Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7E55EF52A471D76F132DFD9A03CDDE97/c9970c7cbf5f8827d41e6511481345721542ce1c/65ed8e3c-997a-4e8a-bf21-3cdecd12d6c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T184130Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7461ea5c5dabb825576cd20bc53257a238ff3fdce57e9dea6689d953f8c30509 [2023-09-12T18:41:30.679Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T18:41:30.679Z] Dload Upload Total Spent Left Speed [2023-09-12T18:41:30.939Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16430 0 0 100 16430 0 87393 --:--:-- --:--:-- --:--:-- 87393 [2023-09-12T18:41:30.939Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c9970c7cbf5f8827d41e6511481345721542ce1c [Pipeline] } [2023-09-12T18:41:30.947Z] 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-09-12T18:41:31.641Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives ] [2023-09-12T18:41:31.641Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives [2023-09-12T18:41:31.641Z] total 16 [2023-09-12T18:41:31.641Z] drwxr-xr-x 3 root root 4096 Sep 12 18:32 . [2023-09-12T18:41:31.641Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 18:32 .. [2023-09-12T18:41:31.641Z] drwxr-xr-x 2 root root 4096 Sep 12 18:32 cost [2023-09-12T18:41:31.641Z] -rw-r--r-- 1 root root 86 Sep 12 18:32 cost.csv [2023-09-12T18:41:31.641Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives [2023-09-12T18:41:31.641Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives [2023-09-12T18:41:31.641Z] total 16 [2023-09-12T18:41:31.641Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 18:32 . [2023-09-12T18:41:31.641Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 18:32 .. [2023-09-12T18:41:31.641Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 18:32 cost [2023-09-12T18:41:31.641Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 12 18:32 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:41:31.934Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:41:32.792Z] ---> package-listing.sh [2023-09-12T18:41:32.792Z] ++ facter osfamily [2023-09-12T18:41:32.792Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T18:41:33.051Z] + OS_FAMILY=debian [2023-09-12T18:41:33.051Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1510 [2023-09-12T18:41:33.051Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T18:41:33.051Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T18:41:33.051Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T18:41:33.051Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T18:41:33.051Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1510 ']' [2023-09-12T18:41:33.051Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T18:41:33.051Z] + case "${OS_FAMILY}" in [2023-09-12T18:41:33.051Z] + dpkg -l [2023-09-12T18:41:33.051Z] + grep '^ii' [2023-09-12T18:41:33.051Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T18:41:33.051Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T18:41:33.051Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T18:41:33.051Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1510 ']' [2023-09-12T18:41:33.051Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives/ [2023-09-12T18:41:33.051Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1510/archives/ [Pipeline] echo [2023-09-12T18:41:33.061Z] 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-1510/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-12T18:41:33.339Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T18:41:33.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T18:41:33.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T18:41:33.955Z] prd-ubuntu20.04-docker-8c-8g-5951 does not seem to be running inside a container [2023-09-12T18:41:33.969Z] $ 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-1510/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-1510 -v /w/workspace/gexfoundry_device-sdk-go_PR-1510:/w/workspace/gexfoundry_device-sdk-go_PR-1510:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T18:41:34.142Z] $ docker top d8643416e92edd77ef1ac0eb945e07a8dff76de0658996807e2697f4a111bf29 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T18:41:34.497Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T18:41:34.778Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T18:41:35.062Z] + ls /var/log/sa-host [2023-09-12T18:41:35.062Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T18:41:35.122Z] provisioning config files... [2023-09-12T18:41:35.131Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1510@tmp/config12814189310282137663tmp [Pipeline] { [Pipeline] echo [2023-09-12T18:41:35.147Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:41:35.428Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T18:41:35.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:41:35.748Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T18:41:35.756Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:41:36.037Z] ---> sudo-logs.sh [2023-09-12T18:41:36.037Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T18:41:36.065Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:41:36.349Z] ---> job-cost.sh [2023-09-12T18:41:36.349Z] lf-activate-venv: SKIPPING [2023-09-12T18:41:36.349Z] DEBUG: total: 0.2199999988079071 [2023-09-12T18:41:36.349Z] INFO: Retrieving Stack Cost... [2023-09-12T18:41:36.917Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T18:41:37.176Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T18:41:37.187Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T18:41:37.488Z] ---> logs-deploy.sh [2023-09-12T18:41:37.488Z] lf-activate-venv: SKIPPING [2023-09-12T18:41:37.488Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1510/2 [2023-09-12T18:41:37.488Z] INFO: archiving workspace using pattern(s): [2023-09-12T18:41:38.426Z] Archives upload complete. [2023-09-12T18:41:38.426Z] INFO: archiving logs to Nexus