Pull request #1403 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 bf4714df1638a110c1e7e71e4be0d145f1583768+92ae96e570b0e90887048770798fafa65e025b58 (34ef13f63bc965b3f948bba81891b2605f5e90c0) 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-ssh7932384795520163393.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh996194361952451555.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1403/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-1403/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3339609712609901709.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh7357307563239112964.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-1403/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-1403/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13285133916953610267.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5321 in /w/workspace/gexfoundry_device-sdk-go_PR-1403 [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-1403 # 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/1403/head:refs/remotes/origin/PR-1403 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit bf4714df1638a110c1e7e71e4be0d145f1583768 Merge succeeded, producing bf4714df1638a110c1e7e71e4be0d145f1583768 Checking out Revision bf4714df1638a110c1e7e71e4be0d145f1583768 (PR-1403) > git config core.sparsecheckout # timeout=10 > git checkout -f bf4714df1638a110c1e7e71e4be0d145f1583768 # 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 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bf4714df1638a110c1e7e71e4be0d145f1583768 # timeout=10 Commit message: "build: Update to latest module w/o TOML package" First time build. Skipping changelog. > git rev-list --no-walk 2662c4136101ac24cf3f5ec7d6fe3830fa88e0ef # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-22T22:41:54.909Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-22T22:41:54.949Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-22T22:41:54.962Z] ========================================================= [2023-03-22T22:41:54.962Z] EdgeX Global Pipelines Version Info [2023-03-22T22:41:54.963Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:41:55.675Z] ------------------- [2023-03-22T22:41:55.675Z] stable info: [2023-03-22T22:41:55.675Z] ------------------- [2023-03-22T22:41:55.675Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-22T22:41:55.675Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-22T22:41:55.675Z] Message: update stable to v1.0.245 [2023-03-22T22:41:56.245Z] ------------------- [2023-03-22T22:41:56.245Z] experimental info: [2023-03-22T22:41:56.245Z] ------------------- [2023-03-22T22:41:56.245Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-22T22:41:56.245Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-03-22T22:41:56.245Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-22T22:41:56.443Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-22T22:41:56.456Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-22T22:41:56.469Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-22T22:41:56.480Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-22T22:41:56.495Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-22T22:41:56.512Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-22T22:41:56.524Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-22T22:41:56.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-22T22:41:56.549Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-22T22:41:56.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-22T22:41:56.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-22T22:41:56.589Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-22T22:41:56.600Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-22T22:41:56.611Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-22T22:41:56.623Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-22T22:41:56.638Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T22:41:56.649Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T22:41:56.663Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-22T22:41:56.674Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-22T22:41:56.689Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-22T22:41:56.700Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-22T22:41:56.708Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-22T22:41:56.716Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-22T22:41:56.725Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-22T22:41:56.733Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-22T22:41:56.741Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-22T22:41:56.759Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-22T22:41:56.775Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1403 [Pipeline] echo [2023-03-22T22:41:56.785Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1403 [Pipeline] echo [2023-03-22T22:41:56.797Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1403 [Pipeline] echo [2023-03-22T22:41:56.811Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bf4714df1638a110c1e7e71e4be0d145f1583768 [Pipeline] echo [2023-03-22T22:41:56.821Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bf4714d [Pipeline] echo [2023-03-22T22:41:56.831Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T22:41:56.867Z] provisioning config files... [2023-03-22T22:41:56.881Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/config1002342379059644193tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:41:57.176Z] ---> docker-login.sh [2023-03-22T22:41:57.176Z] nexus3.edgexfoundry.org:10001 [2023-03-22T22:41:57.444Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:41:57.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:41:57.709Z] Configure a credential helper to remove this warning. See [2023-03-22T22:41:57.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:41:57.709Z] [2023-03-22T22:41:57.709Z] Login Succeeded [2023-03-22T22:41:57.709Z] nexus3.edgexfoundry.org:10002 [2023-03-22T22:41:57.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:41:57.709Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:41:57.709Z] Configure a credential helper to remove this warning. See [2023-03-22T22:41:57.709Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:41:57.709Z] [2023-03-22T22:41:57.709Z] Login Succeeded [2023-03-22T22:41:57.709Z] nexus3.edgexfoundry.org:10003 [2023-03-22T22:41:57.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:41:57.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:41:57.969Z] Configure a credential helper to remove this warning. See [2023-03-22T22:41:57.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:41:57.969Z] [2023-03-22T22:41:57.969Z] Login Succeeded [2023-03-22T22:41:57.969Z] nexus3.edgexfoundry.org:10004 [2023-03-22T22:41:57.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:41:57.969Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:41:57.969Z] Configure a credential helper to remove this warning. See [2023-03-22T22:41:57.969Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:41:57.969Z] [2023-03-22T22:41:57.969Z] Login Succeeded [2023-03-22T22:41:57.969Z] docker.io [2023-03-22T22:41:57.969Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:41:58.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:41:58.230Z] Configure a credential helper to remove this warning. See [2023-03-22T22:41:58.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:41:58.230Z] [2023-03-22T22:41:58.230Z] Login Succeeded [2023-03-22T22:41:58.230Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T22:41:58.238Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-22T22:41:58.600Z] + git rev-list -1 --merges bf4714df1638a110c1e7e71e4be0d145f1583768~1..bf4714df1638a110c1e7e71e4be0d145f1583768 [Pipeline] echo [2023-03-22T22:41:58.651Z] -----------> git rev-list -1 --merges bf4714df1638a110c1e7e71e4be0d145f1583768~1..bf4714df1638a110c1e7e71e4be0d145f1583768 bf4714df1638a110c1e7e71e4be0d145f1583768 [false] [Pipeline] sh [2023-03-22T22:41:58.939Z] + git log --format=format:%s -1 bf4714df1638a110c1e7e71e4be0d145f1583768 [Pipeline] echo [2023-03-22T22:41:58.953Z] ========================================================= [2023-03-22T22:41:58.953Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-22T22:41:58.953Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T22:41:59.275Z] + git log --format=format:%s -1 bf4714df1638a110c1e7e71e4be0d145f1583768 [Pipeline] echo [2023-03-22T22:41:59.285Z] [semverPrep] GIT_COMMIT: bf4714df1638a110c1e7e71e4be0d145f1583768, Commit Message: build: Update to latest module w/o TOML package [Pipeline] echo [2023-03-22T22:41:59.292Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-22T22:41:59.699Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-22T22:41:59.699Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-22T22:41:59.699Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-22T22:41:59.699Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-22T22:41:59.699Z] + + sudoecho tee -a github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= /etc/ssh/ssh_known_hosts [2023-03-22T22:41:59.699Z] [2023-03-22T22:41:59.699Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:42:00.038Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T22:42:00.038Z] [2023-03-22T22:42:00.038Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:42:00.343Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T22:42:00.343Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-22T22:42:00.343Z] b85a868b505f: Pulling fs layer [2023-03-22T22:42:00.343Z] e2be974225ed: Pulling fs layer [2023-03-22T22:42:00.343Z] 339a4e72a1f5: Pulling fs layer [2023-03-22T22:42:00.343Z] 988bab9f4d93: Pulling fs layer [2023-03-22T22:42:00.343Z] 1469e6f7b9e6: Pulling fs layer [2023-03-22T22:42:00.343Z] eaf3925da568: Pulling fs layer [2023-03-22T22:42:00.343Z] bab4dde63d76: Pulling fs layer [2023-03-22T22:42:00.343Z] bde34c3a00c8: Pulling fs layer [2023-03-22T22:42:00.343Z] b352a97aabf1: Pulling fs layer [2023-03-22T22:42:00.343Z] 4872d77fe225: Pulling fs layer [2023-03-22T22:42:00.343Z] 5851b861e8e6: Pulling fs layer [2023-03-22T22:42:00.343Z] eaf3925da568: Waiting [2023-03-22T22:42:00.343Z] bab4dde63d76: Waiting [2023-03-22T22:42:00.343Z] bde34c3a00c8: Waiting [2023-03-22T22:42:00.343Z] b352a97aabf1: Waiting [2023-03-22T22:42:00.343Z] 4872d77fe225: Waiting [2023-03-22T22:42:00.343Z] 5851b861e8e6: Waiting [2023-03-22T22:42:00.343Z] 988bab9f4d93: Waiting [2023-03-22T22:42:00.343Z] 1469e6f7b9e6: Waiting [2023-03-22T22:42:00.343Z] e2be974225ed: Verifying Checksum [2023-03-22T22:42:00.343Z] e2be974225ed: Download complete [2023-03-22T22:42:00.343Z] 988bab9f4d93: Verifying Checksum [2023-03-22T22:42:00.343Z] 988bab9f4d93: Download complete [2023-03-22T22:42:00.603Z] 1469e6f7b9e6: Verifying Checksum [2023-03-22T22:42:00.603Z] 1469e6f7b9e6: Download complete [2023-03-22T22:42:00.603Z] 339a4e72a1f5: Verifying Checksum [2023-03-22T22:42:00.603Z] 339a4e72a1f5: Download complete [2023-03-22T22:42:00.603Z] eaf3925da568: Verifying Checksum [2023-03-22T22:42:00.603Z] eaf3925da568: Download complete [2023-03-22T22:42:00.603Z] bde34c3a00c8: Download complete [2023-03-22T22:42:00.603Z] b352a97aabf1: Verifying Checksum [2023-03-22T22:42:00.603Z] b352a97aabf1: Download complete [2023-03-22T22:42:00.603Z] 4872d77fe225: Verifying Checksum [2023-03-22T22:42:00.603Z] 4872d77fe225: Download complete [2023-03-22T22:42:00.603Z] 5851b861e8e6: Verifying Checksum [2023-03-22T22:42:00.603Z] 5851b861e8e6: Download complete [2023-03-22T22:42:00.603Z] b85a868b505f: Verifying Checksum [2023-03-22T22:42:00.603Z] b85a868b505f: Download complete [2023-03-22T22:42:01.214Z] bab4dde63d76: Verifying Checksum [2023-03-22T22:42:01.214Z] bab4dde63d76: Download complete [2023-03-22T22:42:01.808Z] b85a868b505f: Pull complete [2023-03-22T22:42:02.067Z] e2be974225ed: Pull complete [2023-03-22T22:42:02.634Z] 339a4e72a1f5: Pull complete [2023-03-22T22:42:02.634Z] 988bab9f4d93: Pull complete [2023-03-22T22:42:02.892Z] 1469e6f7b9e6: Pull complete [2023-03-22T22:42:02.892Z] eaf3925da568: Pull complete [2023-03-22T22:42:04.270Z] bab4dde63d76: Pull complete [2023-03-22T22:42:04.270Z] bde34c3a00c8: Pull complete [2023-03-22T22:42:04.530Z] b352a97aabf1: Pull complete [2023-03-22T22:42:04.530Z] 4872d77fe225: Pull complete [2023-03-22T22:42:04.530Z] 5851b861e8e6: Pull complete [2023-03-22T22:42:04.530Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-22T22:42:04.530Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-22T22:42:04.792Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:42:04.888Z] prd-ubuntu20.04-docker-8c-8g-5321 does not seem to be running inside a container [2023-03-22T22:42:04.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1403 -v /w/workspace/gexfoundry_device-sdk-go_PR-1403:/w/workspace/gexfoundry_device-sdk-go_PR-1403:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-22T22:42:06.245Z] $ docker top 325b253f5e8ba893c3d15897ab6530a13c2303f47ac6fac0ae7edf82f74c4ba0 -eo pid,comm [2023-03-22T22:42:06.297Z] 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-03-22T22:42:06.297Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-22T22:42:06.327Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T22:42:06.327Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T22:42:06.440Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T22:42:06.444Z] $ docker exec 325b253f5e8ba893c3d15897ab6530a13c2303f47ac6fac0ae7edf82f74c4ba0 ssh-agent [2023-03-22T22:42:06.552Z] SSH_AUTH_SOCK=/tmp/ssh-aWFY5lipdUvV/agent.33 [2023-03-22T22:42:06.552Z] SSH_AGENT_PID=39 [2023-03-22T22:42:06.560Z] Running ssh-add (command line suppressed) [2023-03-22T22:42:06.650Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/private_key_2681154763293364342.key (/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/private_key_2681154763293364342.key) [2023-03-22T22:42:06.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T22:42:06.949Z] + git tag --points-at HEAD [Pipeline] } [2023-03-22T22:42:06.964Z] $ docker exec --env ******** --env ******** 325b253f5e8ba893c3d15897ab6530a13c2303f47ac6fac0ae7edf82f74c4ba0 ssh-agent -k [2023-03-22T22:42:07.061Z] unset SSH_AUTH_SOCK; [2023-03-22T22:42:07.061Z] unset SSH_AGENT_PID; [2023-03-22T22:42:07.061Z] echo Agent pid 39 killed; [2023-03-22T22:42:07.072Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-22T22:42:07.096Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-22T22:42:07.096Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-22T22:42:07.197Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-22T22:42:07.200Z] $ docker exec 325b253f5e8ba893c3d15897ab6530a13c2303f47ac6fac0ae7edf82f74c4ba0 ssh-agent [2023-03-22T22:42:07.300Z] SSH_AUTH_SOCK=/tmp/ssh-4CWqntoeEw1r/agent.71 [2023-03-22T22:42:07.300Z] SSH_AGENT_PID=77 [2023-03-22T22:42:07.305Z] Running ssh-add (command line suppressed) [2023-03-22T22:42:07.406Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/private_key_16270336302377341511.key (/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/private_key_16270336302377341511.key) [2023-03-22T22:42:07.417Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-22T22:42:07.702Z] + git semver init [2023-03-22T22:42:07.960Z] 2023-03-22 22:42:07,872 [run_init] DEBUG init version:0.0.0 force:False [2023-03-22T22:42:07.960Z] 2023-03-22 22:42:07,873 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver [2023-03-22T22:42:07.960Z] 2023-03-22 22:42:07,874 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver [2023-03-22T22:42:07.960Z] 2023-03-22 22:42:07,874 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1403, universal_newlines=False, shell=None, istream=None) [2023-03-22T22:42:08.899Z] 2023-03-22 22:42:08,701 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403/.git/info/exclude [2023-03-22T22:42:08.899Z] 2023-03-22 22:42:08,702 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver/PR-1403 with force:False [2023-03-22T22:42:08.899Z] 2023-03-22 22:42:08,702 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver/PR-1403 [2023-03-22T22:42:08.899Z] 2023-03-22 22:42:08,706 [execute] INFO git cat-file --batch-check [2023-03-22T22:42:08.899Z] 2023-03-22 22:42:08,706 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T22:42:08.899Z] 2023-03-22 22:42:08,711 [execute] INFO git cat-file --batch [2023-03-22T22:42:08.899Z] 2023-03-22 22:42:08,711 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver, universal_newlines=False, shell=None, istream=) [2023-03-22T22:42:08.899Z] 2023-03-22 22:42:08,715 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1403/.semver/PR-1403 [2023-03-22T22:42:08.899Z] 0.0.0 [Pipeline] } [2023-03-22T22:42:08.910Z] $ docker exec --env ******** --env ******** 325b253f5e8ba893c3d15897ab6530a13c2303f47ac6fac0ae7edf82f74c4ba0 ssh-agent -k [2023-03-22T22:42:09.007Z] unset SSH_AUTH_SOCK; [2023-03-22T22:42:09.007Z] unset SSH_AGENT_PID; [2023-03-22T22:42:09.008Z] echo Agent pid 77 killed; [2023-03-22T22:42:09.017Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-22T22:42:09.313Z] + git semver [Pipeline] } [2023-03-22T22:42:09.588Z] $ docker stop --time=1 325b253f5e8ba893c3d15897ab6530a13c2303f47ac6fac0ae7edf82f74c4ba0 [2023-03-22T22:42:10.886Z] $ docker rm -f --volumes 325b253f5e8ba893c3d15897ab6530a13c2303f47ac6fac0ae7edf82f74c4ba0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T22:42:11.211Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-22T22:42:11.406Z] Stashed 1 file(s) [Pipeline] echo [2023-03-22T22:42:11.408Z] [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-03-22T22:42:11.561Z] provisioning config files... [2023-03-22T22:42:11.569Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/config17897986521446526090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:42:11.865Z] ---> docker-login.sh [2023-03-22T22:42:11.865Z] nexus3.edgexfoundry.org:10001 [2023-03-22T22:42:11.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:42:11.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:42:11.865Z] Configure a credential helper to remove this warning. See [2023-03-22T22:42:11.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:42:11.865Z] [2023-03-22T22:42:11.865Z] Login Succeeded [2023-03-22T22:42:11.865Z] nexus3.edgexfoundry.org:10002 [2023-03-22T22:42:11.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:42:11.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:42:11.865Z] Configure a credential helper to remove this warning. See [2023-03-22T22:42:11.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:42:11.866Z] [2023-03-22T22:42:11.866Z] Login Succeeded [2023-03-22T22:42:11.866Z] nexus3.edgexfoundry.org:10003 [2023-03-22T22:42:12.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:42:12.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:42:12.124Z] Configure a credential helper to remove this warning. See [2023-03-22T22:42:12.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:42:12.124Z] [2023-03-22T22:42:12.124Z] Login Succeeded [2023-03-22T22:42:12.124Z] nexus3.edgexfoundry.org:10004 [2023-03-22T22:42:12.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:42:12.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:42:12.124Z] Configure a credential helper to remove this warning. See [2023-03-22T22:42:12.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:42:12.124Z] [2023-03-22T22:42:12.124Z] Login Succeeded [2023-03-22T22:42:12.124Z] docker.io [2023-03-22T22:42:12.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:42:12.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:42:12.383Z] Configure a credential helper to remove this warning. See [2023-03-22T22:42:12.383Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:42:12.383Z] [2023-03-22T22:42:12.383Z] Login Succeeded [2023-03-22T22:42:12.383Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T22:42:12.390Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T22:42:12.446Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:42:12.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:42:12.465Z] ========================================================= [2023-03-22T22:42:12.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-22T22:42:12.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:42:12.766Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T22:42:12.766Z] Sending build context to Docker daemon 10.83MB [2023-03-22T22:42:12.766Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:42:12.766Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T22:42:12.766Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-22T22:42:12.766Z] 63b65145d645: Pulling fs layer [2023-03-22T22:42:12.766Z] a2d21d5440eb: Pulling fs layer [2023-03-22T22:42:12.766Z] 935e6c44a52c: Pulling fs layer [2023-03-22T22:42:12.766Z] 94cc34f8dd06: Pulling fs layer [2023-03-22T22:42:12.766Z] 30dea6a524f1: Pulling fs layer [2023-03-22T22:42:12.766Z] a2aff8979fd8: Pulling fs layer [2023-03-22T22:42:12.766Z] 6808be2612f2: Pulling fs layer [2023-03-22T22:42:12.766Z] 94cc34f8dd06: Waiting [2023-03-22T22:42:12.766Z] f25807f1079a: Pulling fs layer [2023-03-22T22:42:12.766Z] 30dea6a524f1: Waiting [2023-03-22T22:42:12.766Z] a2aff8979fd8: Waiting [2023-03-22T22:42:12.766Z] f25807f1079a: Waiting [2023-03-22T22:42:12.766Z] a2d21d5440eb: Verifying Checksum [2023-03-22T22:42:12.766Z] a2d21d5440eb: Download complete [2023-03-22T22:42:13.026Z] 94cc34f8dd06: Verifying Checksum [2023-03-22T22:42:13.026Z] 94cc34f8dd06: Download complete [2023-03-22T22:42:13.026Z] 30dea6a524f1: Verifying Checksum [2023-03-22T22:42:13.026Z] 30dea6a524f1: Download complete [2023-03-22T22:42:13.026Z] 63b65145d645: Verifying Checksum [2023-03-22T22:42:13.026Z] 63b65145d645: Download complete [2023-03-22T22:42:13.026Z] a2aff8979fd8: Verifying Checksum [2023-03-22T22:42:13.026Z] a2aff8979fd8: Download complete [2023-03-22T22:42:13.026Z] 63b65145d645: Pull complete [2023-03-22T22:42:13.295Z] a2d21d5440eb: Pull complete [2023-03-22T22:42:13.557Z] 935e6c44a52c: Verifying Checksum [2023-03-22T22:42:13.557Z] 935e6c44a52c: Download complete [2023-03-22T22:42:13.557Z] f25807f1079a: Verifying Checksum [2023-03-22T22:42:13.557Z] f25807f1079a: Download complete [2023-03-22T22:42:13.814Z] 6808be2612f2: Verifying Checksum [2023-03-22T22:42:13.814Z] 6808be2612f2: Download complete [2023-03-22T22:42:16.341Z] 935e6c44a52c: Pull complete [2023-03-22T22:42:16.599Z] 94cc34f8dd06: Pull complete [2023-03-22T22:42:16.599Z] 30dea6a524f1: Pull complete [2023-03-22T22:42:16.599Z] a2aff8979fd8: Pull complete [2023-03-22T22:42:19.126Z] 6808be2612f2: Pull complete [2023-03-22T22:42:19.384Z] f25807f1079a: Pull complete [2023-03-22T22:42:19.384Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-22T22:42:19.384Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-22T22:42:19.384Z] ---> 3b553350e43f [2023-03-22T22:42:19.384Z] Step 3/10 : ARG MAKE=make build [2023-03-22T22:42:21.288Z] ---> Running in a9920dae84a8 [2023-03-22T22:42:21.288Z] Removing intermediate container a9920dae84a8 [2023-03-22T22:42:21.288Z] ---> 38807d64a2a0 [2023-03-22T22:42:21.288Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T22:42:21.288Z] ---> Running in 1f09e5ad96e1 [2023-03-22T22:42:21.288Z] Removing intermediate container 1f09e5ad96e1 [2023-03-22T22:42:21.288Z] ---> c83f5e8edec2 [2023-03-22T22:42:21.288Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T22:42:21.288Z] ---> Running in 1a3622c73b52 [2023-03-22T22:42:21.288Z] Removing intermediate container 1a3622c73b52 [2023-03-22T22:42:21.288Z] ---> 9fcddf29a9bc [2023-03-22T22:42:21.288Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T22:42:21.288Z] ---> Running in c3a004cf89a9 [2023-03-22T22:42:21.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T22:42:21.806Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T22:42:21.806Z] OK: 265 MiB in 53 packages [2023-03-22T22:42:22.374Z] Removing intermediate container c3a004cf89a9 [2023-03-22T22:42:22.374Z] ---> d52ac7fa85aa [2023-03-22T22:42:22.374Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T22:42:22.374Z] ---> 0e5c16bfb0cd [2023-03-22T22:42:22.374Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:42:22.374Z] ---> Running in 7a2e70c6c802 [2023-03-22T22:42:26.515Z] Still waiting to schedule task [2023-03-22T22:42:26.515Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-22T22:42:44.306Z] Removing intermediate container 7a2e70c6c802 [2023-03-22T22:42:44.307Z] ---> 7b946e0aa650 [2023-03-22T22:42:44.307Z] Step 9/10 : COPY . . [2023-03-22T22:42:44.307Z] ---> af851cefa8d4 [2023-03-22T22:42:44.307Z] Step 10/10 : RUN ${MAKE} [2023-03-22T22:42:44.307Z] ---> Running in b41926cf1a4b [2023-03-22T22:42:44.307Z] noop [2023-03-22T22:42:44.307Z] Removing intermediate container b41926cf1a4b [2023-03-22T22:42:44.307Z] ---> 891f1cd21ef2 [2023-03-22T22:42:44.307Z] Successfully built 891f1cd21ef2 [2023-03-22T22:42:44.307Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:42:44.620Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T22:42:44.620Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:42:44.684Z] prd-ubuntu20.04-docker-8c-8g-5321 does not seem to be running inside a container [2023-03-22T22:42:44.718Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1403 -v /w/workspace/gexfoundry_device-sdk-go_PR-1403:/w/workspace/gexfoundry_device-sdk-go_PR-1403:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T22:42:45.060Z] $ docker top 4828b05dcb9461cea72ef9ea8d17d79d78c59e5da4fb712b46b17faf985ed541 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:42:45.404Z] + go version [2023-03-22T22:42:45.404Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-22T22:42:45.420Z] $ docker stop --time=1 4828b05dcb9461cea72ef9ea8d17d79d78c59e5da4fb712b46b17faf985ed541 [2023-03-22T22:42:46.696Z] $ docker rm -f --volumes 4828b05dcb9461cea72ef9ea8d17d79d78c59e5da4fb712b46b17faf985ed541 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:42:47.100Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-22T22:42:47.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:42:47.166Z] prd-ubuntu20.04-docker-8c-8g-5321 does not seem to be running inside a container [2023-03-22T22:42:47.200Z] $ 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-1403 -v /w/workspace/gexfoundry_device-sdk-go_PR-1403:/w/workspace/gexfoundry_device-sdk-go_PR-1403:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-22T22:42:47.538Z] $ docker top 1b53c98fe700c9ae70a03e625f816d6d23e24145e5757e783cda134325b3c6dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:42:47.873Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1403 [Pipeline] fileExists [Pipeline] sh [2023-03-22T22:42:48.166Z] + make test [2023-03-22T22:42:48.166Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T22:42:54.747Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T22:43:09.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-22T22:43:09.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T22:43:09.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T22:43:09.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-22T22:43:09.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T22:43:09.614Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.049s coverage: 27.6% of statements [2023-03-22T22:43:09.614Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 78.9% of statements [2023-03-22T22:43:09.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T22:43:09.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T22:43:09.614Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.073s coverage: 86.0% of statements [2023-03-22T22:43:09.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T22:43:09.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T22:43:09.614Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 75.9% of statements [2023-03-22T22:43:09.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T22:43:09.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T22:43:10.180Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-22T22:43:12.706Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 15.2% of statements [2023-03-22T22:43:12.706Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 68.5% of statements [2023-03-22T22:43:12.706Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.115s coverage: 89.2% of statements [2023-03-22T22:43:12.706Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 5.5% of statements [2023-03-22T22:43:30.780Z] GO111MODULE=on go vet ./... [2023-03-22T22:43:33.317Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T22:43:33.317Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T22:43:33.317Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T22:43:33.330Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T22:43:33.349Z] $ docker stop --time=1 1b53c98fe700c9ae70a03e625f816d6d23e24145e5757e783cda134325b3c6dc [2023-03-22T22:43:35.294Z] $ docker rm -f --volumes 1b53c98fe700c9ae70a03e625f816d6d23e24145e5757e783cda134325b3c6dc [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T22:43:35.789Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T22:43:35.849Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-22T22:43:36.383Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T22:43:36.665Z] + ls -al . [2023-03-22T22:43:36.665Z] total 272 [2023-03-22T22:43:36.665Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 22 22:42 . [2023-03-22T22:43:36.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:41 .. [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 22:41 .dockerignore [2023-03-22T22:43:36.665Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:42 .git [2023-03-22T22:43:36.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:41 .github [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 22:41 .gitignore [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 22:41 .golangci.yml [2023-03-22T22:43:36.665Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:42 .semver [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 22:41 CHANGELOG.md [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:41 GOVERNANCE.md [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 22:41 Jenkinsfile [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 22:41 LICENSE [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 22:41 Makefile [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 22:41 OWNERS.md [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 22:41 README.md [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:42 VERSION [2023-03-22T22:43:36.665Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:41 bin [2023-03-22T22:43:36.665Z] -rw-r--r-- 1 jenkins jenkins 105657 Mar 22 22:43 coverage.out [2023-03-22T22:43:36.665Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 22:41 example [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 22 22:41 go.mod [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 22 22:41 go.sum [2023-03-22T22:43:36.665Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 22:41 internal [2023-03-22T22:43:36.665Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:41 openapi [2023-03-22T22:43:36.665Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 22:41 pkg [2023-03-22T22:43:36.665Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:41 snap [2023-03-22T22:43:36.665Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 22:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:43:36.968Z] + 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=bf4714df1638a110c1e7e71e4be0d145f1583768 --label arch=amd64 --label version=0.0.0 . [2023-03-22T22:43:36.968Z] Sending build context to Docker daemon 10.94MB [2023-03-22T22:43:36.968Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:43:36.968Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-22T22:43:36.968Z] ---> 891f1cd21ef2 [2023-03-22T22:43:36.968Z] Step 3/23 : ARG MAKE=make build [2023-03-22T22:43:36.968Z] ---> Running in c75643411026 [2023-03-22T22:43:37.225Z] Removing intermediate container c75643411026 [2023-03-22T22:43:37.225Z] ---> dfd61f1e8fbd [2023-03-22T22:43:37.225Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-22T22:43:37.225Z] ---> Running in 94c44203c7a3 [2023-03-22T22:43:37.225Z] Removing intermediate container 94c44203c7a3 [2023-03-22T22:43:37.225Z] ---> 27d909e34895 [2023-03-22T22:43:37.225Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T22:43:37.225Z] ---> Running in 7e0f320cc6e8 [2023-03-22T22:43:37.225Z] Removing intermediate container 7e0f320cc6e8 [2023-03-22T22:43:37.225Z] ---> 2f68569f59f0 [2023-03-22T22:43:37.225Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-22T22:43:37.225Z] ---> Running in 0e49920cd96d [2023-03-22T22:43:37.483Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T22:43:37.741Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T22:43:37.741Z] OK: 265 MiB in 53 packages [2023-03-22T22:43:38.308Z] Removing intermediate container 0e49920cd96d [2023-03-22T22:43:38.308Z] ---> 562df3f0100f [2023-03-22T22:43:38.308Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-22T22:43:38.308Z] ---> 0746326f4adf [2023-03-22T22:43:38.308Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:43:38.308Z] ---> Running in 9674754646c2 [2023-03-22T22:43:39.241Z] Removing intermediate container 9674754646c2 [2023-03-22T22:43:39.241Z] ---> d8fbaa44bbcb [2023-03-22T22:43:39.241Z] Step 9/23 : COPY . . [2023-03-22T22:43:39.498Z] ---> f65eed7e1bc8 [2023-03-22T22:43:39.498Z] Step 10/23 : RUN ${MAKE} [2023-03-22T22:43:39.498Z] ---> Running in 0daeab607136 [2023-03-22T22:43:39.756Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-22T22:43:54.619Z] Removing intermediate container 0daeab607136 [2023-03-22T22:43:54.619Z] ---> e77338647a46 [2023-03-22T22:43:54.619Z] Step 11/23 : FROM alpine:3.17 [2023-03-22T22:43:54.876Z] 3.17: Pulling from library/alpine [2023-03-22T22:43:54.876Z] 63b65145d645: Already exists [2023-03-22T22:43:55.134Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T22:43:55.134Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T22:43:55.134Z] ---> b2aa39c304c2 [2023-03-22T22:43:55.134Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T22:43:55.134Z] ---> Running in 3e6296fedf1a [2023-03-22T22:43:55.134Z] Removing intermediate container 3e6296fedf1a [2023-03-22T22:43:55.134Z] ---> 421a26a6b209 [2023-03-22T22:43:55.134Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-22T22:43:55.134Z] ---> Running in 18eb9f60c256 [2023-03-22T22:43:55.392Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-22T22:43:55.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-22T22:43:55.650Z] OK: 7 MiB in 15 packages [2023-03-22T22:43:56.217Z] Removing intermediate container 18eb9f60c256 [2023-03-22T22:43:56.217Z] ---> cf3c60ff3289 [2023-03-22T22:43:56.217Z] Step 14/23 : WORKDIR / [2023-03-22T22:43:56.217Z] ---> Running in ad2bcc34e418 [2023-03-22T22:43:56.217Z] Removing intermediate container ad2bcc34e418 [2023-03-22T22:43:56.217Z] ---> 3e15b328fbe3 [2023-03-22T22:43:56.217Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-22T22:43:56.217Z] ---> 1d4bc901e860 [2023-03-22T22:43:56.217Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-22T22:43:56.783Z] ---> e792739bd32b [2023-03-22T22:43:56.783Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-22T22:43:56.783Z] ---> b0afe5f79005 [2023-03-22T22:43:56.783Z] Step 18/23 : EXPOSE 59999 [2023-03-22T22:43:56.783Z] ---> Running in b8ccbec22485 [2023-03-22T22:43:57.041Z] Removing intermediate container b8ccbec22485 [2023-03-22T22:43:57.041Z] ---> dddc726c9b8b [2023-03-22T22:43:57.041Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-22T22:43:57.041Z] ---> Running in 93664d423584 [2023-03-22T22:43:57.041Z] Removing intermediate container 93664d423584 [2023-03-22T22:43:57.041Z] ---> b772d9e71f30 [2023-03-22T22:43:57.041Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T22:43:57.041Z] ---> Running in b7a325dbf36c [2023-03-22T22:43:57.041Z] Removing intermediate container b7a325dbf36c [2023-03-22T22:43:57.041Z] ---> adaeec3e12c7 [2023-03-22T22:43:57.041Z] Step 21/23 : LABEL arch=amd64 [2023-03-22T22:43:57.041Z] ---> Running in f448a3b67664 [2023-03-22T22:43:57.300Z] Removing intermediate container f448a3b67664 [2023-03-22T22:43:57.300Z] ---> 693b3d430428 [2023-03-22T22:43:57.300Z] Step 22/23 : LABEL git_sha=bf4714df1638a110c1e7e71e4be0d145f1583768 [2023-03-22T22:43:57.300Z] ---> Running in c387ec70cdd0 [2023-03-22T22:43:57.300Z] Removing intermediate container c387ec70cdd0 [2023-03-22T22:43:57.300Z] ---> 9dad050b28ee [2023-03-22T22:43:57.300Z] Step 23/23 : LABEL version=0.0.0 [2023-03-22T22:43:57.300Z] ---> Running in dde41ab38a48 [2023-03-22T22:43:57.300Z] Removing intermediate container dde41ab38a48 [2023-03-22T22:43:57.300Z] ---> 59ac23ae7c1a [2023-03-22T22:43:57.300Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T22:43:57.300Z] Successfully built 59ac23ae7c1a [2023-03-22T22:43:57.300Z] 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-03-22T22:43:57.724Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:43:57.724Z] [2023-03-22T22:43:57.724Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:43:58.024Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:43:58.024Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-22T22:43:58.024Z] 5eb5b503b376: Pulling fs layer [2023-03-22T22:43:58.024Z] 5c69ac0246d0: Pulling fs layer [2023-03-22T22:43:58.024Z] ec43610c2a17: Pulling fs layer [2023-03-22T22:43:58.025Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-22T22:43:58.025Z] 33b1e0a273af: Pulling fs layer [2023-03-22T22:43:58.025Z] 5d3b04190fa2: Pulling fs layer [2023-03-22T22:43:58.025Z] 2f39f015ded8: Pulling fs layer [2023-03-22T22:43:58.025Z] 3a2ae6a8a46f: Waiting [2023-03-22T22:43:58.025Z] 5d3b04190fa2: Waiting [2023-03-22T22:43:58.025Z] 5c69ac0246d0: Download complete [2023-03-22T22:43:58.025Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-22T22:43:58.025Z] 3a2ae6a8a46f: Download complete [2023-03-22T22:43:58.284Z] ec43610c2a17: Verifying Checksum [2023-03-22T22:43:58.284Z] ec43610c2a17: Download complete [2023-03-22T22:43:58.284Z] 33b1e0a273af: Verifying Checksum [2023-03-22T22:43:58.284Z] 33b1e0a273af: Download complete [2023-03-22T22:43:58.284Z] 5d3b04190fa2: Download complete [2023-03-22T22:43:58.284Z] 5eb5b503b376: Verifying Checksum [2023-03-22T22:43:58.284Z] 5eb5b503b376: Download complete [2023-03-22T22:43:58.849Z] 2f39f015ded8: Download complete [2023-03-22T22:43:59.413Z] 5eb5b503b376: Pull complete [2023-03-22T22:43:59.413Z] 5c69ac0246d0: Pull complete [2023-03-22T22:43:59.978Z] ec43610c2a17: Pull complete [2023-03-22T22:43:59.978Z] 3a2ae6a8a46f: Pull complete [2023-03-22T22:43:59.978Z] 33b1e0a273af: Pull complete [2023-03-22T22:44:00.236Z] 5d3b04190fa2: Pull complete [2023-03-22T22:44:04.413Z] 2f39f015ded8: Pull complete [2023-03-22T22:44:04.413Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-22T22:44:04.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:44:04.413Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:44:04.500Z] prd-ubuntu20.04-docker-8c-8g-5321 does not seem to be running inside a container [2023-03-22T22:44:04.535Z] $ 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-1403 -v /w/workspace/gexfoundry_device-sdk-go_PR-1403:/w/workspace/gexfoundry_device-sdk-go_PR-1403:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-22T22:44:05.693Z] $ docker top 5149dc583e0b3d1e14cd8b899b3be4be90fe97f249b2fbe4f8526135a6952c96 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:44:06.047Z] ---> job-cost.sh [2023-03-22T22:44:06.047Z] lf-activate-venv: SKIPPING [2023-03-22T22:44:06.047Z] INFO: No Stack... [2023-03-22T22:44:06.305Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T22:44:06.871Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T22:44:07.156Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives/cost.csv [2023-03-22T22:44:07.156Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T22:44:07.169Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1403-2-stack-cost] [2023-03-22T22:44:07.174Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1403-2-stack-cost] did not exist. Created. [2023-03-22T22:44:07.175Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1403-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T22:44:07.469Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-22T22:44:07.505Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T22:44:07.511Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1403-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T22:44:07.535Z] $ docker stop --time=1 5149dc583e0b3d1e14cd8b899b3be4be90fe97f249b2fbe4f8526135a6952c96 [2023-03-22T22:44:08.680Z] $ docker rm -f --volumes 5149dc583e0b3d1e14cd8b899b3be4be90fe97f249b2fbe4f8526135a6952c96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-22T22:46:43.028Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5322 in /w/workspace/gexfoundry_device-sdk-go_PR-1403 [Pipeline] { [Pipeline] ws [2023-03-22T22:46:43.040Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-03-22T22:46:43.071Z] The recommended git tool is: git [2023-03-22T22:46:49.111Z] using credential edgex-jenkins-ssh [2023-03-22T22:46:49.128Z] Cloning the remote Git repository [2023-03-22T22:46:49.178Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T22:46:49.281Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-03-22T22:46:49.449Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T22:46:49.451Z] > git --version # timeout=10 [2023-03-22T22:46:49.480Z] > git --version # 'git version 2.25.1' [2023-03-22T22:46:49.484Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T22:46:49.668Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T22:46:53.515Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T22:46:53.537Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-22T22:46:54.542Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-22T22:46:54.598Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-22T22:46:54.599Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T22:46:54.619Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1403/head:refs/remotes/origin/PR-1403 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-22T22:46:55.295Z] Merging remotes/origin/main commit 92ae96e570b0e90887048770798fafa65e025b58 into PR head commit bf4714df1638a110c1e7e71e4be0d145f1583768 [2023-03-22T22:46:55.634Z] Merge succeeded, producing bf4714df1638a110c1e7e71e4be0d145f1583768 [2023-03-22T22:46:55.634Z] Checking out Revision bf4714df1638a110c1e7e71e4be0d145f1583768 (PR-1403) [2023-03-22T22:46:55.316Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T22:46:55.401Z] > git checkout -f bf4714df1638a110c1e7e71e4be0d145f1583768 # timeout=10 [2023-03-22T22:46:55.520Z] > git remote # timeout=10 [2023-03-22T22:46:55.540Z] > git config --get remote.origin.url # timeout=10 [2023-03-22T22:46:55.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-22T22:46:55.584Z] > git merge 92ae96e570b0e90887048770798fafa65e025b58 # timeout=10 [2023-03-22T22:46:55.613Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-22T22:46:55.642Z] > git config core.sparsecheckout # timeout=10 [2023-03-22T22:46:55.662Z] > git checkout -f bf4714df1638a110c1e7e71e4be0d145f1583768 # timeout=10 [2023-03-22T22:46:59.361Z] Commit message: "build: Update to latest module w/o TOML package" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T22:47:00.395Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-22T22:47:00.395Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T22:47:00.395Z] Dload Upload Total Spent Left Speed [2023-03-22T22:47:00.395Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 84443 0 --:--:-- --:--:-- --:--:-- 84443 [Pipeline] sh [2023-03-22T22:47:01.127Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-22T22:47:01.476Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-22T22:47:01.476Z] + sudo tee /etc/docker/daemon.new [2023-03-22T22:47:01.476Z] { [2023-03-22T22:47:01.476Z] "registry-mirrors": [ [2023-03-22T22:47:01.476Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-22T22:47:01.476Z] ], [2023-03-22T22:47:01.476Z] "bip": "10.250.0.254/24", [2023-03-22T22:47:01.476Z] "hosts": [ [2023-03-22T22:47:01.476Z] "tcp://0.0.0.0:5555", [2023-03-22T22:47:01.476Z] "unix:///var/run/docker.sock" [2023-03-22T22:47:01.476Z] ], [2023-03-22T22:47:01.476Z] "mtu": 1458, [2023-03-22T22:47:01.476Z] "selinux-enabled": true, [2023-03-22T22:47:01.476Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-22T22:47:01.476Z] } [Pipeline] sh [2023-03-22T22:47:01.823Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-22T22:47:02.166Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T22:47:24.323Z] provisioning config files... [2023-03-22T22:47:24.353Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config14590607309845684367tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:47:24.720Z] ---> docker-login.sh [2023-03-22T22:47:24.720Z] nexus3.edgexfoundry.org:10001 [2023-03-22T22:47:25.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:47:25.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:47:25.310Z] Configure a credential helper to remove this warning. See [2023-03-22T22:47:25.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:47:25.310Z] [2023-03-22T22:47:25.310Z] Login Succeeded [2023-03-22T22:47:25.310Z] nexus3.edgexfoundry.org:10002 [2023-03-22T22:47:25.580Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:47:25.849Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:47:25.849Z] Configure a credential helper to remove this warning. See [2023-03-22T22:47:25.849Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:47:25.849Z] [2023-03-22T22:47:25.849Z] Login Succeeded [2023-03-22T22:47:25.849Z] nexus3.edgexfoundry.org:10003 [2023-03-22T22:47:26.124Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:47:26.124Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:47:26.124Z] Configure a credential helper to remove this warning. See [2023-03-22T22:47:26.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:47:26.124Z] [2023-03-22T22:47:26.124Z] Login Succeeded [2023-03-22T22:47:26.124Z] nexus3.edgexfoundry.org:10004 [2023-03-22T22:47:26.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:47:26.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:47:26.672Z] Configure a credential helper to remove this warning. See [2023-03-22T22:47:26.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:47:26.672Z] [2023-03-22T22:47:26.672Z] Login Succeeded [2023-03-22T22:47:26.672Z] docker.io [2023-03-22T22:47:26.941Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-22T22:47:27.212Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-22T22:47:27.212Z] Configure a credential helper to remove this warning. See [2023-03-22T22:47:27.212Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-22T22:47:27.212Z] [2023-03-22T22:47:27.212Z] Login Succeeded [2023-03-22T22:47:27.212Z] ---> docker-login.sh ends [Pipeline] } [2023-03-22T22:47:27.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-22T22:47:27.496Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:47:27.513Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-22T22:47:27.525Z] ========================================================= [2023-03-22T22:47:27.525Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-22T22:47:27.525Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:47:27.880Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-22T22:47:28.473Z] Sending build context to Docker daemon 5.823MB [2023-03-22T22:47:28.473Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:47:28.473Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-22T22:47:28.473Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-22T22:47:28.473Z] af6eaf76a39c: Pulling fs layer [2023-03-22T22:47:28.473Z] 55522c791124: Pulling fs layer [2023-03-22T22:47:28.473Z] ce5c4a1c91eb: Pulling fs layer [2023-03-22T22:47:28.473Z] 169dfbe0d373: Pulling fs layer [2023-03-22T22:47:28.473Z] e1ff8fa3b103: Pulling fs layer [2023-03-22T22:47:28.473Z] 52ebb69f0ebf: Pulling fs layer [2023-03-22T22:47:28.473Z] 5abe8eddf0d5: Pulling fs layer [2023-03-22T22:47:28.473Z] 169dfbe0d373: Waiting [2023-03-22T22:47:28.473Z] e1ff8fa3b103: Waiting [2023-03-22T22:47:28.473Z] 52ebb69f0ebf: Waiting [2023-03-22T22:47:28.474Z] 5abe8eddf0d5: Waiting [2023-03-22T22:47:28.474Z] 55522c791124: Verifying Checksum [2023-03-22T22:47:28.474Z] 55522c791124: Download complete [2023-03-22T22:47:28.749Z] 169dfbe0d373: Verifying Checksum [2023-03-22T22:47:28.749Z] 169dfbe0d373: Download complete [2023-03-22T22:47:28.749Z] e1ff8fa3b103: Verifying Checksum [2023-03-22T22:47:28.749Z] e1ff8fa3b103: Download complete [2023-03-22T22:47:28.749Z] af6eaf76a39c: Download complete [2023-03-22T22:47:29.725Z] af6eaf76a39c: Pull complete [2023-03-22T22:47:29.999Z] 5abe8eddf0d5: Verifying Checksum [2023-03-22T22:47:29.999Z] 5abe8eddf0d5: Download complete [2023-03-22T22:47:30.275Z] 55522c791124: Pull complete [2023-03-22T22:47:31.244Z] ce5c4a1c91eb: Verifying Checksum [2023-03-22T22:47:31.244Z] ce5c4a1c91eb: Download complete [2023-03-22T22:47:31.244Z] 52ebb69f0ebf: Verifying Checksum [2023-03-22T22:47:31.244Z] 52ebb69f0ebf: Download complete [2023-03-22T22:47:43.583Z] ce5c4a1c91eb: Pull complete [2023-03-22T22:47:43.583Z] 169dfbe0d373: Pull complete [2023-03-22T22:47:43.583Z] e1ff8fa3b103: Pull complete [2023-03-22T22:47:48.945Z] 52ebb69f0ebf: Pull complete [2023-03-22T22:47:51.561Z] 5abe8eddf0d5: Pull complete [2023-03-22T22:47:51.562Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-22T22:47:51.562Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-22T22:47:51.562Z] ---> 6cb57ee374ae [2023-03-22T22:47:51.562Z] Step 3/10 : ARG MAKE=make build [2023-03-22T22:47:53.519Z] ---> Running in 3900df0767e9 [2023-03-22T22:47:53.519Z] Removing intermediate container 3900df0767e9 [2023-03-22T22:47:53.519Z] ---> 17dcb46b9230 [2023-03-22T22:47:53.519Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-22T22:47:53.519Z] ---> Running in 835435da69be [2023-03-22T22:47:53.788Z] Removing intermediate container 835435da69be [2023-03-22T22:47:53.789Z] ---> d113fe572b45 [2023-03-22T22:47:53.789Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T22:47:54.060Z] ---> Running in b1daf15973e9 [2023-03-22T22:47:54.327Z] Removing intermediate container b1daf15973e9 [2023-03-22T22:47:54.327Z] ---> cac8d0f77b45 [2023-03-22T22:47:54.327Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-22T22:47:54.596Z] ---> Running in 97e89a3bea64 [2023-03-22T22:47:55.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T22:47:56.525Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T22:47:57.496Z] OK: 263 MiB in 53 packages [2023-03-22T22:47:58.919Z] Removing intermediate container 97e89a3bea64 [2023-03-22T22:47:58.919Z] ---> 479ef8638475 [2023-03-22T22:47:58.919Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-22T22:47:59.188Z] ---> b6cddabb1a7e [2023-03-22T22:47:59.188Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:47:59.457Z] ---> Running in 3d1987523534 [2023-03-22T22:49:21.108Z] Removing intermediate container 3d1987523534 [2023-03-22T22:49:21.108Z] ---> 73e297855fbd [2023-03-22T22:49:21.108Z] Step 9/10 : COPY . . [2023-03-22T22:49:21.108Z] ---> b1e77c76ae9e [2023-03-22T22:49:21.108Z] Step 10/10 : RUN ${MAKE} [2023-03-22T22:49:21.108Z] ---> Running in 57271132ae65 [2023-03-22T22:49:21.108Z] noop [2023-03-22T22:49:21.108Z] Removing intermediate container 57271132ae65 [2023-03-22T22:49:21.108Z] ---> 254a4078772f [2023-03-22T22:49:21.108Z] Successfully built 254a4078772f [2023-03-22T22:49:21.108Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:49:21.464Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T22:49:21.464Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:49:21.680Z] prd-ubuntu20.04-docker-arm64-4c-16g-5322 does not seem to be running inside a container [2023-03-22T22:49:21.751Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-03-22T22:49:22.957Z] $ docker top f1360824391fbb9d2270b1448a7ab08f8f7e50fd6fa49743a2f1f17dbdb5f4aa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:49:23.790Z] + go version [2023-03-22T22:49:23.790Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-22T22:49:23.809Z] $ docker stop --time=1 f1360824391fbb9d2270b1448a7ab08f8f7e50fd6fa49743a2f1f17dbdb5f4aa [2023-03-22T22:49:25.434Z] $ docker rm -f --volumes f1360824391fbb9d2270b1448a7ab08f8f7e50fd6fa49743a2f1f17dbdb5f4aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:49:25.977Z] + docker inspect -f . ci-base-image-arm64 [2023-03-22T22:49:25.977Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:49:26.169Z] prd-ubuntu20.04-docker-arm64-4c-16g-5322 does not seem to be running inside a container [2023-03-22T22:49:26.235Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-03-22T22:49:29.504Z] $ docker top 00c60097457a8dc80eb795b3c406a3cb540740e67433a0ac57030d95677d4def -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:49:30.330Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-03-22T22:49:30.979Z] + make test [2023-03-22T22:49:30.979Z] go test -race -coverprofile=coverage.out ./... [2023-03-22T22:50:17.829Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-22T22:52:39.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-22T22:52:39.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-22T22:52:39.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-22T22:52:39.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-22T22:52:39.575Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-22T22:52:49.666Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.221s coverage: 27.6% of statements [2023-03-22T22:52:50.251Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.282s coverage: 78.9% of statements [2023-03-22T22:53:05.264Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-22T22:53:05.264Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-22T22:53:05.264Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.380s coverage: 86.0% of statements [2023-03-22T22:53:10.620Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-22T22:53:10.892Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.469s coverage: 75.9% of statements [2023-03-22T22:53:16.248Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-22T22:53:17.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-22T22:53:17.211Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-22T22:53:18.635Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.293s coverage: 15.2% of statements [2023-03-22T22:53:18.636Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.457s coverage: 68.5% of statements [2023-03-22T22:53:21.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.468s coverage: 89.2% of statements [2023-03-22T22:53:22.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-22T22:53:23.285Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.5% of statements [2023-03-22T22:53:24.285Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-22T22:53:24.285Z] GO111MODULE=on go vet ./... [2023-03-22T22:56:01.127Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-22T22:56:01.127Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-22T22:56:01.127Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-22T22:56:01.146Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-22T22:56:01.159Z] $ docker stop --time=1 00c60097457a8dc80eb795b3c406a3cb540740e67433a0ac57030d95677d4def [2023-03-22T22:56:03.013Z] $ docker rm -f --volumes 00c60097457a8dc80eb795b3c406a3cb540740e67433a0ac57030d95677d4def [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-22T22:56:04.578Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-22T22:56:04.601Z] Warning: overwriting stash ‘coverage-report’ [2023-03-22T22:56:05.190Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-22T22:56:05.579Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-22T22:56:05.897Z] + ls -al . [2023-03-22T22:56:05.897Z] total 268 [2023-03-22T22:56:05.897Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 22 22:49 . [2023-03-22T22:56:05.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:46 .. [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 22 22:46 .dockerignore [2023-03-22T22:56:05.897Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 22 22:46 .git [2023-03-22T22:56:05.897Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:46 .github [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 22 22:46 .gitignore [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 22 22:46 .golangci.yml [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 22 22:46 CHANGELOG.md [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 22 22:46 GOVERNANCE.md [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 22 22:46 Jenkinsfile [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 22 22:46 LICENSE [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 22 22:46 Makefile [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 22 22:46 OWNERS.md [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 22 22:46 README.md [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 22 22:42 VERSION [2023-03-22T22:56:05.897Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 22 22:46 bin [2023-03-22T22:56:05.897Z] -rw-r--r-- 1 jenkins jenkins 105657 Mar 22 22:53 coverage.out [2023-03-22T22:56:05.897Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 22 22:46 example [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 3243 Mar 22 22:46 go.mod [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 30606 Mar 22 22:46 go.sum [2023-03-22T22:56:05.897Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 22:46 internal [2023-03-22T22:56:05.897Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 22 22:46 openapi [2023-03-22T22:56:05.897Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 22 22:46 pkg [2023-03-22T22:56:05.897Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 22 22:46 snap [2023-03-22T22:56:05.897Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 22 22:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:56:06.233Z] + 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=bf4714df1638a110c1e7e71e4be0d145f1583768 --label arch=arm64 --label version=0.0.0 . [2023-03-22T22:56:06.821Z] Sending build context to Docker daemon 5.93MB [2023-03-22T22:56:06.821Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-22T22:56:06.821Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-22T22:56:06.821Z] ---> 254a4078772f [2023-03-22T22:56:06.821Z] Step 3/23 : ARG MAKE=make build [2023-03-22T22:56:06.821Z] ---> Running in 4376b64c7b68 [2023-03-22T22:56:07.092Z] Removing intermediate container 4376b64c7b68 [2023-03-22T22:56:07.092Z] ---> 5e91da3f6ea4 [2023-03-22T22:56:07.092Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-22T22:56:07.362Z] ---> Running in 208341f85f85 [2023-03-22T22:56:07.631Z] Removing intermediate container 208341f85f85 [2023-03-22T22:56:07.631Z] ---> 94adb12b30ec [2023-03-22T22:56:07.631Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-22T22:56:07.631Z] ---> Running in 92d527da67ca [2023-03-22T22:56:07.899Z] Removing intermediate container 92d527da67ca [2023-03-22T22:56:07.899Z] ---> 7bae956e7445 [2023-03-22T22:56:07.899Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-22T22:56:07.899Z] ---> Running in 69f4b8394102 [2023-03-22T22:56:08.858Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T22:56:09.449Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T22:56:10.406Z] OK: 263 MiB in 53 packages [2023-03-22T22:56:12.346Z] Removing intermediate container 69f4b8394102 [2023-03-22T22:56:12.346Z] ---> 70651ec90886 [2023-03-22T22:56:12.346Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-22T22:56:12.928Z] ---> df7a33abf44c [2023-03-22T22:56:12.928Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-22T22:56:12.928Z] ---> Running in e35ebfb6691b [2023-03-22T22:56:15.504Z] Removing intermediate container e35ebfb6691b [2023-03-22T22:56:15.504Z] ---> 11e639037678 [2023-03-22T22:56:15.504Z] Step 9/23 : COPY . . [2023-03-22T22:56:16.911Z] ---> 753a7f60ee2d [2023-03-22T22:56:16.911Z] Step 10/23 : RUN ${MAKE} [2023-03-22T22:56:16.911Z] ---> Running in cfaa94a7d0a5 [2023-03-22T22:56:17.493Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-22T22:58:39.164Z] Removing intermediate container cfaa94a7d0a5 [2023-03-22T22:58:39.164Z] ---> 27e90245fc8e [2023-03-22T22:58:39.164Z] Step 11/23 : FROM alpine:3.17 [2023-03-22T22:58:39.164Z] 3.17: Pulling from library/alpine [2023-03-22T22:58:39.164Z] af6eaf76a39c: Already exists [2023-03-22T22:58:39.164Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-22T22:58:39.164Z] Status: Downloaded newer image for alpine:3.17 [2023-03-22T22:58:39.164Z] ---> d74e625d9115 [2023-03-22T22:58:39.164Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-22T22:58:39.164Z] ---> Running in e1e48e3034ac [2023-03-22T22:58:39.164Z] Removing intermediate container e1e48e3034ac [2023-03-22T22:58:39.164Z] ---> 209ef6afd877 [2023-03-22T22:58:39.164Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-22T22:58:39.164Z] ---> Running in d536412406c3 [2023-03-22T22:58:39.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-22T22:58:39.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-22T22:58:39.164Z] OK: 7 MiB in 15 packages [2023-03-22T22:58:39.164Z] Removing intermediate container d536412406c3 [2023-03-22T22:58:39.164Z] ---> ccec33122a94 [2023-03-22T22:58:39.164Z] Step 14/23 : WORKDIR / [2023-03-22T22:58:39.164Z] ---> Running in 4051fd4a6a2e [2023-03-22T22:58:39.164Z] Removing intermediate container 4051fd4a6a2e [2023-03-22T22:58:39.164Z] ---> 1514300372dd [2023-03-22T22:58:39.164Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-22T22:58:39.164Z] ---> ca0723550ee7 [2023-03-22T22:58:39.164Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-22T22:58:39.164Z] ---> 782e5a150806 [2023-03-22T22:58:39.164Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-22T22:58:39.164Z] ---> 2fa116477b1b [2023-03-22T22:58:39.164Z] Step 18/23 : EXPOSE 59999 [2023-03-22T22:58:39.164Z] ---> Running in 3f85961fd06b [2023-03-22T22:58:39.164Z] Removing intermediate container 3f85961fd06b [2023-03-22T22:58:39.164Z] ---> 51e18476bcab [2023-03-22T22:58:39.164Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-22T22:58:39.164Z] ---> Running in bfdf7e9c4e00 [2023-03-22T22:58:39.164Z] Removing intermediate container bfdf7e9c4e00 [2023-03-22T22:58:39.164Z] ---> 982dd99b813e [2023-03-22T22:58:39.164Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-22T22:58:39.164Z] ---> Running in 8cab455b1e2d [2023-03-22T22:58:39.164Z] Removing intermediate container 8cab455b1e2d [2023-03-22T22:58:39.164Z] ---> b9cfb9935fa5 [2023-03-22T22:58:39.164Z] Step 21/23 : LABEL arch=arm64 [2023-03-22T22:58:39.164Z] ---> Running in f54129a35f4d [2023-03-22T22:58:39.164Z] Removing intermediate container f54129a35f4d [2023-03-22T22:58:39.164Z] ---> 9eea2af2951d [2023-03-22T22:58:39.164Z] Step 22/23 : LABEL git_sha=bf4714df1638a110c1e7e71e4be0d145f1583768 [2023-03-22T22:58:39.164Z] ---> Running in 8e3ef9f1ac0e [2023-03-22T22:58:39.164Z] Removing intermediate container 8e3ef9f1ac0e [2023-03-22T22:58:39.164Z] ---> 9507b370a90e [2023-03-22T22:58:39.164Z] Step 23/23 : LABEL version=0.0.0 [2023-03-22T22:58:39.164Z] ---> Running in abd0423bb900 [2023-03-22T22:58:39.164Z] Removing intermediate container abd0423bb900 [2023-03-22T22:58:39.164Z] ---> 45a5c0694318 [2023-03-22T22:58:39.164Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-22T22:58:39.164Z] Successfully built 45a5c0694318 [2023-03-22T22:58:39.164Z] 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-03-22T22:58:39.563Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T22:58:39.563Z] [2023-03-22T22:58:39.563Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:58:39.883Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T22:58:39.883Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-22T22:58:39.883Z] 8998bd30e6a1: Pulling fs layer [2023-03-22T22:58:39.883Z] 04944245beec: Pulling fs layer [2023-03-22T22:58:39.883Z] 699f458cf7ca: Pulling fs layer [2023-03-22T22:58:39.883Z] 765212b225bb: Pulling fs layer [2023-03-22T22:58:39.883Z] f23df028b6ca: Pulling fs layer [2023-03-22T22:58:39.883Z] d65c8cfc05b1: Pulling fs layer [2023-03-22T22:58:39.883Z] 2437ff75d9bd: Pulling fs layer [2023-03-22T22:58:39.883Z] f23df028b6ca: Waiting [2023-03-22T22:58:39.883Z] 765212b225bb: Waiting [2023-03-22T22:58:39.883Z] d65c8cfc05b1: Waiting [2023-03-22T22:58:39.883Z] 2437ff75d9bd: Waiting [2023-03-22T22:58:40.153Z] 04944245beec: Verifying Checksum [2023-03-22T22:58:40.153Z] 04944245beec: Download complete [2023-03-22T22:58:40.153Z] 765212b225bb: Verifying Checksum [2023-03-22T22:58:40.153Z] 765212b225bb: Download complete [2023-03-22T22:58:40.153Z] f23df028b6ca: Verifying Checksum [2023-03-22T22:58:40.153Z] f23df028b6ca: Download complete [2023-03-22T22:58:40.153Z] d65c8cfc05b1: Verifying Checksum [2023-03-22T22:58:40.153Z] d65c8cfc05b1: Download complete [2023-03-22T22:58:40.153Z] 699f458cf7ca: Verifying Checksum [2023-03-22T22:58:40.153Z] 699f458cf7ca: Download complete [2023-03-22T22:58:40.740Z] 8998bd30e6a1: Verifying Checksum [2023-03-22T22:58:40.740Z] 8998bd30e6a1: Download complete [2023-03-22T22:58:43.326Z] 2437ff75d9bd: Verifying Checksum [2023-03-22T22:58:43.326Z] 2437ff75d9bd: Download complete [2023-03-22T22:58:44.736Z] 8998bd30e6a1: Pull complete [2023-03-22T22:58:45.318Z] 04944245beec: Pull complete [2023-03-22T22:58:46.723Z] 699f458cf7ca: Pull complete [2023-03-22T22:58:46.723Z] 765212b225bb: Pull complete [2023-03-22T22:58:47.307Z] f23df028b6ca: Pull complete [2023-03-22T22:58:47.574Z] d65c8cfc05b1: Pull complete [2023-03-22T22:59:02.561Z] 2437ff75d9bd: Pull complete [2023-03-22T22:59:02.561Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-22T22:59:02.561Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-22T22:59:02.561Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:59:02.745Z] prd-ubuntu20.04-docker-arm64-4c-16g-5322 does not seem to be running inside a container [2023-03-22T22:59:02.804Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-22T22:59:06.450Z] $ docker top a8222a9fd5c27331a09363dddc3de0526db4662b0c997adb92a9cb506b37d48e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:59:07.285Z] ---> job-cost.sh [2023-03-22T22:59:07.285Z] lf-activate-venv: SKIPPING [2023-03-22T22:59:07.285Z] INFO: No Stack... [2023-03-22T22:59:07.553Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-22T22:59:08.510Z] INFO: Archiving Costs [Pipeline] sh [2023-03-22T22:59:09.140Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-03-22T22:59:09.140Z] + cut -d, -f6 [Pipeline] lock [2023-03-22T22:59:09.198Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1403-2-stack-cost] [2023-03-22T22:59:09.206Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1403-2-stack-cost] did not exist. Created. [2023-03-22T22:59:09.207Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1403-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-22T22:59:09.865Z] /w/workspace/device-sdk-go/2@tmp/durable-338dca7f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-22T22:59:10.508Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-22T22:59:10.524Z] Warning: overwriting stash ‘stack-cost’ [2023-03-22T22:59:10.589Z] Stashed 1 file(s) [Pipeline] } [2023-03-22T22:59:10.601Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1403-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-22T22:59:10.616Z] $ docker stop --time=1 a8222a9fd5c27331a09363dddc3de0526db4662b0c997adb92a9cb506b37d48e [2023-03-22T22:59:12.100Z] $ docker rm -f --volumes a8222a9fd5c27331a09363dddc3de0526db4662b0c997adb92a9cb506b37d48e [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-03-22T22:59:12.457Z] provisioning config files... [2023-03-22T22:59:12.466Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/config4518294813667295704tmp [Pipeline] { [Pipeline] sh [2023-03-22T22:59:12.759Z] + set +x [2023-03-22T22:59:12.759Z] + curl -s https://codecov.io/bash [2023-03-22T22:59:12.759Z] + bash -s -- [2023-03-22T22:59:12.759Z] [2023-03-22T22:59:12.759Z] _____ _ [2023-03-22T22:59:12.759Z] / ____| | | [2023-03-22T22:59:12.759Z] | | ___ __| | ___ ___ _____ __ [2023-03-22T22:59:12.759Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-22T22:59:12.759Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-22T22:59:12.759Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-22T22:59:12.759Z] Bash-1.0.6 [2023-03-22T22:59:12.759Z] [2023-03-22T22:59:12.759Z] [2023-03-22T22:59:12.759Z] ==> git version 2.25.1 found [2023-03-22T22:59:12.759Z] ==> 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-03-22T22:59:12.759Z] Release-Date: 2020-01-08 [2023-03-22T22:59:12.759Z] 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-03-22T22:59:12.759Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-22T22:59:12.759Z] ==> Jenkins CI detected. [2023-03-22T22:59:12.759Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1403 [2023-03-22T22:59:12.759Z] project root: . [2023-03-22T22:59:12.759Z] --> token set from env [2023-03-22T22:59:12.759Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-22T22:59:12.759Z] ==> Running gcov in . (disable via -X gcov) [2023-03-22T22:59:12.759Z] ==> Python coveragepy not found [2023-03-22T22:59:12.759Z] ==> Searching for coverage reports in: [2023-03-22T22:59:12.759Z] + . [2023-03-22T22:59:12.759Z] -> Found 1 reports [2023-03-22T22:59:12.759Z] ==> Detecting git/mercurial file structure [2023-03-22T22:59:12.759Z] ==> Reading reports [2023-03-22T22:59:12.759Z] + ./coverage.out bytes=105657 [2023-03-22T22:59:12.759Z] ==> Appending adjustments [2023-03-22T22:59:12.759Z] https://docs.codecov.io/docs/fixing-reports [2023-03-22T22:59:13.017Z] + Found adjustments [2023-03-22T22:59:13.276Z] ==> Gzipping contents [2023-03-22T22:59:13.276Z] 16K /tmp/codecov.ATdt3Q.gz [2023-03-22T22:59:13.276Z] ==> Uploading reports [2023-03-22T22:59:13.276Z] url: https://codecov.io [2023-03-22T22:59:13.276Z] query: branch=PR-1403&commit=bf4714df1638a110c1e7e71e4be0d145f1583768&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1403%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1403&job=&cmd_args= [2023-03-22T22:59:13.276Z] -> Pinging Codecov [2023-03-22T22:59:13.276Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1403&commit=bf4714df1638a110c1e7e71e4be0d145f1583768&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1403%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1403&job=&cmd_args= [2023-03-22T22:59:13.276Z] -> Uploading to [2023-03-22T22:59:13.276Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-22/7E55EF52A471D76F132DFD9A03CDDE97/bf4714df1638a110c1e7e71e4be0d145f1583768/6dba743c-4881-4969-8209-320d4c02cebe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230322%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230322T225913Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=81103fadc15f4c9d7abc7692c7c94ae2a1ba2a654af87c8c91fe8c082adf38bb [2023-03-22T22:59:13.276Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-22T22:59:13.276Z] Dload Upload Total Spent Left Speed [2023-03-22T22:59:13.535Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14990 0 0 100 14990 0 54708 --:--:-- --:--:-- --:--:-- 54708 [2023-03-22T22:59:13.535Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bf4714df1638a110c1e7e71e4be0d145f1583768 [Pipeline] } [2023-03-22T22:59:13.541Z] 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-03-22T22:59:14.234Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives ] [2023-03-22T22:59:14.234Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives [2023-03-22T22:59:14.234Z] total 16 [2023-03-22T22:59:14.234Z] drwxr-xr-x 3 root root 4096 Mar 22 22:44 . [2023-03-22T22:59:14.234Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 22:44 .. [2023-03-22T22:59:14.234Z] drwxr-xr-x 2 root root 4096 Mar 22 22:44 cost [2023-03-22T22:59:14.234Z] -rw-r--r-- 1 root root 86 Mar 22 22:44 cost.csv [2023-03-22T22:59:14.234Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives [2023-03-22T22:59:14.234Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives [2023-03-22T22:59:14.234Z] total 16 [2023-03-22T22:59:14.234Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 22 22:44 . [2023-03-22T22:59:14.234Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 22 22:44 .. [2023-03-22T22:59:14.234Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 22 22:44 cost [2023-03-22T22:59:14.234Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 22 22:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:59:14.522Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:59:15.378Z] ---> package-listing.sh [2023-03-22T22:59:15.378Z] ++ facter osfamily [2023-03-22T22:59:15.378Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-22T22:59:15.638Z] + OS_FAMILY=debian [2023-03-22T22:59:15.638Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1403 [2023-03-22T22:59:15.638Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-22T22:59:15.638Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-22T22:59:15.638Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-22T22:59:15.638Z] + PACKAGES=/tmp/packages_start.txt [2023-03-22T22:59:15.638Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1403 ']' [2023-03-22T22:59:15.638Z] + PACKAGES=/tmp/packages_end.txt [2023-03-22T22:59:15.638Z] + case "${OS_FAMILY}" in [2023-03-22T22:59:15.638Z] + dpkg -l [2023-03-22T22:59:15.638Z] + grep '^ii' [2023-03-22T22:59:15.638Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-22T22:59:15.638Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-22T22:59:15.638Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-22T22:59:15.638Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1403 ']' [2023-03-22T22:59:15.638Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives/ [2023-03-22T22:59:15.638Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1403/archives/ [Pipeline] echo [2023-03-22T22:59:15.648Z] 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-1403/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-22T22:59:15.925Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-22T22:59:16.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-22T22:59:16.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-22T22:59:16.555Z] prd-ubuntu20.04-docker-8c-8g-5321 does not seem to be running inside a container [2023-03-22T22:59:16.591Z] $ 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-1403/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-1403 -v /w/workspace/gexfoundry_device-sdk-go_PR-1403:/w/workspace/gexfoundry_device-sdk-go_PR-1403:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1403@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-03-22T22:59:16.785Z] $ docker top 5783a9f69babff3f8055c25e09b9181f3af83978b6aa77b78889b45bbdd44853 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-22T22:59:17.129Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-22T22:59:17.414Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-22T22:59:17.697Z] + ls /var/log/sa-host [2023-03-22T22:59:17.697Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-22T22:59:17.773Z] provisioning config files... [2023-03-22T22:59:17.781Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1403@tmp/config89085524714174033tmp [Pipeline] { [Pipeline] echo [2023-03-22T22:59:17.795Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:59:18.077Z] ---> create-netrc.sh [Pipeline] } [2023-03-22T22:59:18.087Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:59:18.419Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-22T22:59:18.429Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:59:18.708Z] ---> sudo-logs.sh [2023-03-22T22:59:18.708Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-22T22:59:18.731Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:59:19.013Z] ---> job-cost.sh [2023-03-22T22:59:19.013Z] lf-activate-venv: SKIPPING [2023-03-22T22:59:19.013Z] DEBUG: total: 0.2199999988079071 [2023-03-22T22:59:19.013Z] INFO: Retrieving Stack Cost... [2023-03-22T22:59:19.581Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-22T22:59:19.840Z] INFO: Archiving Costs [Pipeline] echo [2023-03-22T22:59:19.850Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-22T22:59:20.136Z] ---> logs-deploy.sh [2023-03-22T22:59:20.136Z] lf-activate-venv: SKIPPING [2023-03-22T22:59:20.136Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1403/2 [2023-03-22T22:59:20.136Z] INFO: archiving workspace using pattern(s): [2023-03-22T22:59:21.071Z] Archives upload complete. [2023-03-22T22:59:21.071Z] INFO: archiving logs to Nexus