Pull request #1542 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f2933931a1e6c9fed2d60317b9eedf111839d028+50dd63d392f370c86a33393d79501a04f0565adc (4b916c3b9c9e3026834f08093e31a298a1f78c57) 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-ssh7074390777156184903.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh8671143152568306853.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1542/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1542/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16895442328523834795.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1542/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9758963024112452179.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh17384131963950241963.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1542/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1542/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh397613517864881358.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-356 in /w/workspace/gexfoundry_device-sdk-go_PR-1542 [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-1542 # 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/1542/head:refs/remotes/origin/PR-1542 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 50dd63d392f370c86a33393d79501a04f0565adc into PR head commit f2933931a1e6c9fed2d60317b9eedf111839d028 Merge succeeded, producing f2933931a1e6c9fed2d60317b9eedf111839d028 Checking out Revision f2933931a1e6c9fed2d60317b9eedf111839d028 (PR-1542) Commit message: "build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f f2933931a1e6c9fed2d60317b9eedf111839d028 # 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 50dd63d392f370c86a33393d79501a04f0565adc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2933931a1e6c9fed2d60317b9eedf111839d028 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-21T22:21:45.271Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-21T22:21:45.524Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-21T22:21:45.644Z] ========================================================= [2023-11-21T22:21:45.644Z] EdgeX Global Pipelines Version Info [2023-11-21T22:21:45.644Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:21:48.738Z] ------------------- [2023-11-21T22:21:48.738Z] stable info: [2023-11-21T22:21:48.738Z] ------------------- [2023-11-21T22:21:48.738Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-21T22:21:48.738Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:21:48.738Z] Message: update stable to v1.0.258 [2023-11-21T22:21:49.001Z] ------------------- [2023-11-21T22:21:49.001Z] experimental info: [2023-11-21T22:21:49.001Z] ------------------- [2023-11-21T22:21:49.001Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-21T22:21:49.001Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-21T22:21:49.001Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-21T22:21:49.236Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-21T22:21:49.296Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-21T22:21:49.373Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-21T22:21:49.450Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-21T22:21:49.534Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-21T22:21:49.603Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-21T22:21:49.698Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-21T22:21:49.776Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-21T22:21:49.852Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-21T22:21:49.937Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-21T22:21:50.050Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-21T22:21:50.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-21T22:21:50.270Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-21T22:21:50.379Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-21T22:21:50.457Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-21T22:21:50.540Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:21:50.625Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:21:50.742Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-21T22:21:50.841Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-21T22:21:50.922Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-21T22:21:51.019Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-21T22:21:51.123Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-21T22:21:51.222Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-21T22:21:51.326Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-21T22:21:51.426Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-21T22:21:51.541Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-21T22:21:51.653Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-21T22:21:51.800Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1542 [Pipeline] echo [2023-11-21T22:21:51.939Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1542 [Pipeline] echo [2023-11-21T22:21:52.061Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1542 [Pipeline] echo [2023-11-21T22:21:52.165Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2933931a1e6c9fed2d60317b9eedf111839d028 [Pipeline] echo [2023-11-21T22:21:52.284Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f293393 [Pipeline] echo [2023-11-21T22:21:52.415Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:21:52.769Z] provisioning config files... [2023-11-21T22:21:52.791Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp/config8949215634390209158tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:21:53.281Z] ---> ****-login.sh [2023-11-21T22:21:53.281Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:21:53.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:53.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:53.565Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:53.565Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:53.565Z] [2023-11-21T22:21:53.565Z] Login Succeeded [2023-11-21T22:21:53.565Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:21:53.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:53.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:53.565Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:53.565Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:53.565Z] [2023-11-21T22:21:53.565Z] Login Succeeded [2023-11-21T22:21:53.565Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:21:53.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:53.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:53.830Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:53.830Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:53.830Z] [2023-11-21T22:21:53.830Z] Login Succeeded [2023-11-21T22:21:53.830Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:21:53.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:53.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:53.830Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:53.830Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:53.830Z] [2023-11-21T22:21:53.830Z] Login Succeeded [2023-11-21T22:21:53.830Z] ****.io [2023-11-21T22:21:54.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:21:54.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:21:54.109Z] Configure a credential helper to remove this warning. See [2023-11-21T22:21:54.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:21:54.109Z] [2023-11-21T22:21:54.109Z] Login Succeeded [2023-11-21T22:21:54.109Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:21:54.169Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-21T22:21:55.119Z] + git rev-list -1 --merges f2933931a1e6c9fed2d60317b9eedf111839d028~1..f2933931a1e6c9fed2d60317b9eedf111839d028 [Pipeline] echo [2023-11-21T22:21:55.199Z] -----------> git rev-list -1 --merges f2933931a1e6c9fed2d60317b9eedf111839d028~1..f2933931a1e6c9fed2d60317b9eedf111839d028 f2933931a1e6c9fed2d60317b9eedf111839d028 [false] [Pipeline] sh [2023-11-21T22:21:55.567Z] + git log --format=format:%s -1 f2933931a1e6c9fed2d60317b9eedf111839d028 [Pipeline] echo [2023-11-21T22:21:55.611Z] ========================================================= [2023-11-21T22:21:55.611Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-21T22:21:55.611Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:21:56.253Z] + git log --format=format:%s -1 f2933931a1e6c9fed2d60317b9eedf111839d028 [Pipeline] echo [2023-11-21T22:21:56.314Z] [semverPrep] GIT_COMMIT: f2933931a1e6c9fed2d60317b9eedf111839d028, Commit Message: build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 [Pipeline] echo [2023-11-21T22:21:56.385Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-21T22:21:56.823Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-21T22:21:56.823Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-21T22:21:56.823Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-21T22:21:56.823Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-21T22:21:56.823Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-21T22:21:56.823Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-21T22:21:56.823Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:21:57.407Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:21:57.407Z] [2023-11-21T22:21:57.407Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:21:57.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:21:58.456Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-21T22:21:58.456Z] b85a868b505f: Pulling fs layer [2023-11-21T22:21:58.456Z] e2be974225ed: Pulling fs layer [2023-11-21T22:21:58.456Z] 339a4e72a1f5: Pulling fs layer [2023-11-21T22:21:58.456Z] 988bab9f4d93: Pulling fs layer [2023-11-21T22:21:58.456Z] 1469e6f7b9e6: Pulling fs layer [2023-11-21T22:21:58.456Z] eaf3925da568: Pulling fs layer [2023-11-21T22:21:58.456Z] bab4dde63d76: Pulling fs layer [2023-11-21T22:21:58.456Z] bde34c3a00c8: Pulling fs layer [2023-11-21T22:21:58.456Z] b352a97aabf1: Pulling fs layer [2023-11-21T22:21:58.456Z] 4872d77fe225: Pulling fs layer [2023-11-21T22:21:58.456Z] 5851b861e8e6: Pulling fs layer [2023-11-21T22:21:58.456Z] 988bab9f4d93: Waiting [2023-11-21T22:21:58.456Z] 1469e6f7b9e6: Waiting [2023-11-21T22:21:58.456Z] eaf3925da568: Waiting [2023-11-21T22:21:58.456Z] bab4dde63d76: Waiting [2023-11-21T22:21:58.456Z] bde34c3a00c8: Waiting [2023-11-21T22:21:58.456Z] b352a97aabf1: Waiting [2023-11-21T22:21:58.456Z] 4872d77fe225: Waiting [2023-11-21T22:21:58.456Z] 5851b861e8e6: Waiting [2023-11-21T22:21:58.456Z] e2be974225ed: Download complete [2023-11-21T22:21:58.456Z] 988bab9f4d93: Verifying Checksum [2023-11-21T22:21:58.456Z] 988bab9f4d93: Download complete [2023-11-21T22:21:58.456Z] 1469e6f7b9e6: Verifying Checksum [2023-11-21T22:21:58.456Z] 1469e6f7b9e6: Download complete [2023-11-21T22:21:58.456Z] eaf3925da568: Verifying Checksum [2023-11-21T22:21:58.456Z] eaf3925da568: Download complete [2023-11-21T22:21:58.716Z] 339a4e72a1f5: Verifying Checksum [2023-11-21T22:21:58.716Z] 339a4e72a1f5: Download complete [2023-11-21T22:21:58.716Z] bde34c3a00c8: Verifying Checksum [2023-11-21T22:21:58.716Z] bde34c3a00c8: Download complete [2023-11-21T22:21:58.716Z] b352a97aabf1: Download complete [2023-11-21T22:21:58.716Z] 4872d77fe225: Verifying Checksum [2023-11-21T22:21:58.716Z] 4872d77fe225: Download complete [2023-11-21T22:21:58.716Z] 5851b861e8e6: Verifying Checksum [2023-11-21T22:21:58.716Z] 5851b861e8e6: Download complete [2023-11-21T22:21:58.716Z] b85a868b505f: Download complete [2023-11-21T22:21:59.651Z] bab4dde63d76: Verifying Checksum [2023-11-21T22:21:59.651Z] bab4dde63d76: Download complete [2023-11-21T22:22:00.629Z] b85a868b505f: Pull complete [2023-11-21T22:22:01.199Z] e2be974225ed: Pull complete [2023-11-21T22:22:02.136Z] 339a4e72a1f5: Pull complete [2023-11-21T22:22:03.073Z] 988bab9f4d93: Pull complete [2023-11-21T22:22:03.337Z] 1469e6f7b9e6: Pull complete [2023-11-21T22:22:03.611Z] eaf3925da568: Pull complete [2023-11-21T22:22:05.524Z] bab4dde63d76: Pull complete [2023-11-21T22:22:05.524Z] bde34c3a00c8: Pull complete [2023-11-21T22:22:05.524Z] b352a97aabf1: Pull complete [2023-11-21T22:22:05.794Z] 4872d77fe225: Pull complete [2023-11-21T22:22:05.794Z] 5851b861e8e6: Pull complete [2023-11-21T22:22:05.794Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-21T22:22:05.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-21T22:22:05.794Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:22:06.423Z] prd-ubuntu20.04-docker-8c-8g-356 does not seem to be running inside a container [2023-11-21T22:22:06.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1542 -v /w/workspace/gexfoundry_device-sdk-go_PR-1542:/w/workspace/gexfoundry_device-sdk-go_PR-1542:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1542@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-21T22:22:14.665Z] $ docker top 4c27244a9acc9e0eb04f4a5cd82a80c1799ed71a11f5f9ab1d24d1a926c184b6 -eo pid,comm [2023-11-21T22:22:14.563Z] 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-11-21T22:22:14.563Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-21T22:22:14.932Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:22:14.932Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:22:15.059Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:22:15.225Z] $ docker exec 4c27244a9acc9e0eb04f4a5cd82a80c1799ed71a11f5f9ab1d24d1a926c184b6 ssh-agent [2023-11-21T22:22:15.168Z] SSH_AUTH_SOCK=/tmp/ssh-293NxNy1hAXw/agent.33 [2023-11-21T22:22:15.168Z] SSH_AGENT_PID=39 [2023-11-21T22:22:15.178Z] Running ssh-add (command line suppressed) [2023-11-21T22:22:15.462Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp/private_key_3988009668099841801.key (/w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp/private_key_3988009668099841801.key) [2023-11-21T22:22:15.333Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:22:15.719Z] + git tag --points-at HEAD [Pipeline] } [2023-11-21T22:22:15.912Z] $ docker exec --env ******** --env ******** 4c27244a9acc9e0eb04f4a5cd82a80c1799ed71a11f5f9ab1d24d1a926c184b6 ssh-agent -k [2023-11-21T22:22:16.003Z] unset SSH_AUTH_SOCK; [2023-11-21T22:22:16.003Z] unset SSH_AGENT_PID; [2023-11-21T22:22:16.003Z] echo Agent pid 39 killed; [2023-11-21T22:22:15.851Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-21T22:22:16.036Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-21T22:22:16.036Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-21T22:22:16.149Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-21T22:22:16.316Z] $ docker exec 4c27244a9acc9e0eb04f4a5cd82a80c1799ed71a11f5f9ab1d24d1a926c184b6 ssh-agent [2023-11-21T22:22:16.248Z] SSH_AUTH_SOCK=/tmp/ssh-bZaL4APmsvQ1/agent.71 [2023-11-21T22:22:16.248Z] SSH_AGENT_PID=77 [2023-11-21T22:22:16.253Z] Running ssh-add (command line suppressed) [2023-11-21T22:22:16.518Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp/private_key_15073072513235774896.key (/w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp/private_key_15073072513235774896.key) [2023-11-21T22:22:16.368Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-21T22:22:16.729Z] + git semver init [2023-11-21T22:22:16.989Z] 2023-11-21 22:22:17,067 [run_init] DEBUG init version:0.0.0 force:False [2023-11-21T22:22:16.989Z] 2023-11-21 22:22:17,069 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1542/.semver [2023-11-21T22:22:16.989Z] 2023-11-21 22:22:17,070 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1542/.semver [2023-11-21T22:22:16.989Z] 2023-11-21 22:22:17,071 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1542/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1542, universal_newlines=False, shell=None, istream=None) [2023-11-21T22:22:18.369Z] 2023-11-21 22:22:18,532 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1542/.git/info/exclude [2023-11-21T22:22:18.369Z] 2023-11-21 22:22:18,533 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1542/.semver/PR-1542 with force:False [2023-11-21T22:22:18.369Z] 2023-11-21 22:22:18,533 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1542/.semver/PR-1542 [2023-11-21T22:22:18.631Z] 2023-11-21 22:22:18,537 [execute] INFO git cat-file --batch-check [2023-11-21T22:22:18.631Z] 2023-11-21 22:22:18,537 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1542/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:22:18.631Z] 2023-11-21 22:22:18,543 [execute] INFO git cat-file --batch [2023-11-21T22:22:18.631Z] 2023-11-21 22:22:18,544 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1542/.semver, universal_newlines=False, shell=None, istream=) [2023-11-21T22:22:18.631Z] 2023-11-21 22:22:18,549 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1542/.semver/PR-1542 [2023-11-21T22:22:18.631Z] 0.0.0 [Pipeline] } [2023-11-21T22:22:18.869Z] $ docker exec --env ******** --env ******** 4c27244a9acc9e0eb04f4a5cd82a80c1799ed71a11f5f9ab1d24d1a926c184b6 ssh-agent -k [2023-11-21T22:22:18.961Z] unset SSH_AUTH_SOCK; [2023-11-21T22:22:18.962Z] unset SSH_AGENT_PID; [2023-11-21T22:22:18.963Z] echo Agent pid 77 killed; [2023-11-21T22:22:18.807Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-21T22:22:19.419Z] + git semver [Pipeline] } [2023-11-21T22:22:19.867Z] $ docker stop --time=1 4c27244a9acc9e0eb04f4a5cd82a80c1799ed71a11f5f9ab1d24d1a926c184b6 [2023-11-21T22:22:21.187Z] $ docker rm -f --volumes 4c27244a9acc9e0eb04f4a5cd82a80c1799ed71a11f5f9ab1d24d1a926c184b6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:22:21.487Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-21T22:22:21.826Z] Stashed 1 file(s) [Pipeline] echo [2023-11-21T22:22:21.854Z] [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-11-21T22:22:23.078Z] provisioning config files... [2023-11-21T22:22:23.088Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp/config10120432959854699606tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:22:23.532Z] ---> ****-login.sh [2023-11-21T22:22:23.532Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:22:23.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.532Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.532Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.532Z] [2023-11-21T22:22:23.532Z] Login Succeeded [2023-11-21T22:22:23.532Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:22:23.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.532Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.532Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.532Z] [2023-11-21T22:22:23.532Z] Login Succeeded [2023-11-21T22:22:23.532Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:22:23.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.793Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.793Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.793Z] [2023-11-21T22:22:23.793Z] Login Succeeded [2023-11-21T22:22:23.793Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:22:23.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:23.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:23.793Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:23.793Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:23.793Z] [2023-11-21T22:22:23.793Z] Login Succeeded [2023-11-21T22:22:23.793Z] ****.io [2023-11-21T22:22:24.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:22:24.053Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:22:24.053Z] Configure a credential helper to remove this warning. See [2023-11-21T22:22:24.053Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:22:24.053Z] [2023-11-21T22:22:24.053Z] Login Succeeded [2023-11-21T22:22:24.053Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:22:24.079Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:22:24.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:22:24.528Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:22:24.599Z] ========================================================= [2023-11-21T22:22:24.599Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-21T22:22:24.599Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:22:25.259Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-21T22:22:25.259Z] Sending build context to Docker daemon 21.95MB [2023-11-21T22:22:25.259Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:22:25.259Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-21T22:22:25.518Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-21T22:22:25.518Z] 7264a8db6415: Pulling fs layer [2023-11-21T22:22:25.518Z] c4d48a809fc2: Pulling fs layer [2023-11-21T22:22:25.518Z] 4f1c88b9dad5: Pulling fs layer [2023-11-21T22:22:25.518Z] ad3a456e5733: Pulling fs layer [2023-11-21T22:22:25.518Z] 69c7f0334f64: Pulling fs layer [2023-11-21T22:22:25.518Z] 1f1c1a5573a3: Pulling fs layer [2023-11-21T22:22:25.518Z] ce7588e14bc9: Pulling fs layer [2023-11-21T22:22:25.518Z] b5e4710f87ac: Pulling fs layer [2023-11-21T22:22:25.518Z] ad3a456e5733: Waiting [2023-11-21T22:22:25.518Z] ce7588e14bc9: Waiting [2023-11-21T22:22:25.518Z] 1f1c1a5573a3: Waiting [2023-11-21T22:22:25.518Z] b5e4710f87ac: Waiting [2023-11-21T22:22:25.518Z] c4d48a809fc2: Verifying Checksum [2023-11-21T22:22:25.518Z] c4d48a809fc2: Download complete [2023-11-21T22:22:25.518Z] ad3a456e5733: Verifying Checksum [2023-11-21T22:22:25.518Z] 69c7f0334f64: Verifying Checksum [2023-11-21T22:22:25.518Z] 69c7f0334f64: Download complete [2023-11-21T22:22:25.780Z] 1f1c1a5573a3: Verifying Checksum [2023-11-21T22:22:25.780Z] 1f1c1a5573a3: Download complete [2023-11-21T22:22:25.780Z] 7264a8db6415: Verifying Checksum [2023-11-21T22:22:25.780Z] 7264a8db6415: Download complete [2023-11-21T22:22:26.040Z] 7264a8db6415: Pull complete [2023-11-21T22:22:26.040Z] c4d48a809fc2: Pull complete [2023-11-21T22:22:26.040Z] b5e4710f87ac: Verifying Checksum [2023-11-21T22:22:26.040Z] b5e4710f87ac: Download complete [2023-11-21T22:22:26.606Z] 4f1c88b9dad5: Verifying Checksum [2023-11-21T22:22:26.606Z] 4f1c88b9dad5: Download complete [2023-11-21T22:22:27.782Z] ce7588e14bc9: Verifying Checksum [2023-11-21T22:22:27.782Z] ce7588e14bc9: Download complete [2023-11-21T22:22:29.724Z] 4f1c88b9dad5: Pull complete [2023-11-21T22:22:29.982Z] ad3a456e5733: Pull complete [2023-11-21T22:22:29.982Z] 69c7f0334f64: Pull complete [2023-11-21T22:22:29.982Z] 1f1c1a5573a3: Pull complete [2023-11-21T22:22:33.264Z] ce7588e14bc9: Pull complete [2023-11-21T22:22:33.522Z] b5e4710f87ac: Pull complete [2023-11-21T22:22:33.780Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-21T22:22:33.780Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-21T22:22:33.780Z] ---> 88b5674ff536 [2023-11-21T22:22:33.780Z] Step 3/10 : ARG MAKE=make build [2023-11-21T22:22:37.714Z] Still waiting to schedule task [2023-11-21T22:22:37.714Z] ‘prd-centos7-blackbox-4c-2g-162’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.714Z] ‘prd-centos7-blackbox-4c-2g-163’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.714Z] ‘prd-ubuntu20.04-docker-8c-8g-359’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.714Z] ‘prd-ubuntu20.04-docker-8c-8g-362’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.714Z] ‘prd-ubuntu20.04-docker-8c-8g-363’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.714Z] ‘prd-ubuntu20.04-docker-8c-8g-364’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.714Z] ‘prd-ubuntu20.04-docker-8c-8g-365’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.714Z] ‘prd-ubuntu20.04-docker-8c-8g-366’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.714Z] ‘prd-ubuntu20.04-docker-8c-8g-367’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-21T22:22:37.714Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-358’ is offline [2023-11-21T22:22:43.753Z] ---> Running in 52a6766b759a [2023-11-21T22:22:43.753Z] Removing intermediate container 52a6766b759a [2023-11-21T22:22:43.753Z] ---> 8384fda8cfe7 [2023-11-21T22:22:43.753Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-21T22:22:43.753Z] ---> Running in 7b7f0bf687ca [2023-11-21T22:22:43.753Z] Removing intermediate container 7b7f0bf687ca [2023-11-21T22:22:43.753Z] ---> 9b61a707fbdd [2023-11-21T22:22:43.753Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-21T22:22:43.753Z] ---> Running in 3388bec7dc2f [2023-11-21T22:22:43.753Z] Removing intermediate container 3388bec7dc2f [2023-11-21T22:22:43.753Z] ---> 2e22bd5e70fd [2023-11-21T22:22:43.753Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-21T22:22:44.012Z] ---> Running in 6a1295240e4b [2023-11-21T22:22:44.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:44.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:22:44.532Z] OK: 264 MiB in 52 packages [2023-11-21T22:22:44.792Z] Removing intermediate container 6a1295240e4b [2023-11-21T22:22:44.792Z] ---> 3b25e5bceea0 [2023-11-21T22:22:44.792Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-21T22:22:45.052Z] ---> 71593a646910 [2023-11-21T22:22:45.052Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:22:45.052Z] ---> Running in bbcdbf0fc994 [2023-11-21T22:23:41.345Z] Removing intermediate container bbcdbf0fc994 [2023-11-21T22:23:41.345Z] ---> 012b73ada706 [2023-11-21T22:23:41.345Z] Step 9/10 : COPY . . [2023-11-21T22:23:41.345Z] ---> 4c44aad917e6 [2023-11-21T22:23:41.345Z] Step 10/10 : RUN ${MAKE} [2023-11-21T22:23:41.345Z] ---> Running in 2be670527128 [2023-11-21T22:23:41.345Z] noop [2023-11-21T22:23:41.345Z] Removing intermediate container 2be670527128 [2023-11-21T22:23:41.345Z] ---> ad2473450149 [2023-11-21T22:23:41.345Z] Successfully built ad2473450149 [2023-11-21T22:23:41.345Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:23:41.871Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:23:41.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:23:42.081Z] prd-ubuntu20.04-docker-8c-8g-356 does not seem to be running inside a container [2023-11-21T22:23:42.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1542 -v /w/workspace/gexfoundry_device-sdk-go_PR-1542:/w/workspace/gexfoundry_device-sdk-go_PR-1542:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1542@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 ******** ci-base-image-x86_64 cat [2023-11-21T22:23:42.471Z] $ docker top 4af6b11f8531ac8d25889fd7cc7dbb9c8704593276c15b1a45dde169ba70aff7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:23:42.931Z] + go version [2023-11-21T22:23:42.931Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-21T22:23:42.949Z] $ docker stop --time=1 4af6b11f8531ac8d25889fd7cc7dbb9c8704593276c15b1a45dde169ba70aff7 [2023-11-21T22:23:44.180Z] $ docker rm -f --volumes 4af6b11f8531ac8d25889fd7cc7dbb9c8704593276c15b1a45dde169ba70aff7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:23:45.192Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-21T22:23:45.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:23:45.392Z] prd-ubuntu20.04-docker-8c-8g-356 does not seem to be running inside a container [2023-11-21T22:23:45.414Z] $ 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-1542 -v /w/workspace/gexfoundry_device-sdk-go_PR-1542:/w/workspace/gexfoundry_device-sdk-go_PR-1542:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1542@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 ******** ci-base-image-x86_64 cat [2023-11-21T22:23:45.738Z] $ docker top d14e07f8fb7376a95faa49cc05876c01abdc2f1a23c5eb8be03eedb71d394ad9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:23:46.182Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1542 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:23:46.563Z] + make test [2023-11-21T22:23:46.563Z] go test -race -coverprofile=coverage.out ./... [2023-11-21T22:23:53.121Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-21T22:24:05.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-21T22:24:05.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-21T22:24:05.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-21T22:24:05.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-21T22:24:05.308Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-21T22:24:06.244Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-21T22:24:06.244Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-21T22:24:07.178Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.038s coverage: 27.6% of statements [2023-11-21T22:24:07.178Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-21T22:24:07.178Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.046s coverage: 81.5% of statements [2023-11-21T22:24:07.178Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.058s coverage: 86.0% of statements [2023-11-21T22:24:08.114Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-21T22:24:08.114Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-21T22:24:08.114Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.075s coverage: 71.8% of statements [2023-11-21T22:24:08.386Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-21T22:24:11.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.4% of statements [2023-11-21T22:24:11.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.113s coverage: 45.9% of statements [2023-11-21T22:24:11.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.062s coverage: 68.5% of statements [2023-11-21T22:24:11.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.112s coverage: 89.2% of statements [2023-11-21T22:24:11.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements [2023-11-21T22:24:33.583Z] GO111MODULE=on go vet ./... [2023-11-21T22:24:34.151Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:24:34.151Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:24:34.151Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:24:34.434Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:24:34.489Z] $ docker stop --time=1 d14e07f8fb7376a95faa49cc05876c01abdc2f1a23c5eb8be03eedb71d394ad9 [2023-11-21T22:24:40.217Z] $ docker rm -f --volumes d14e07f8fb7376a95faa49cc05876c01abdc2f1a23c5eb8be03eedb71d394ad9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:24:40.887Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:24:40.995Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-21T22:24:41.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:24:42.158Z] + ls -al . [2023-11-21T22:24:42.158Z] total 308 [2023-11-21T22:24:42.158Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 21 22:23 . [2023-11-21T22:24:42.158Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:21 .. [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 21 22:21 .dockerignore [2023-11-21T22:24:42.158Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:24 .git [2023-11-21T22:24:42.158Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 .github [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 21 22:21 .gitignore [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 21 22:21 .golangci.yml [2023-11-21T22:24:42.158Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:22 .semver [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 21 22:21 CHANGELOG.md [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:21 GOVERNANCE.md [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 21 22:21 Jenkinsfile [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 21 22:21 LICENSE [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 21 22:21 Makefile [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 21 22:21 OWNERS.md [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 21 22:21 README.md [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:22 VERSION [2023-11-21T22:24:42.158Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:21 bin [2023-11-21T22:24:42.158Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 21 22:24 coverage.out [2023-11-21T22:24:42.158Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 21 22:21 example [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 21 22:21 go.mod [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 21 22:21 go.sum [2023-11-21T22:24:42.158Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 21 22:21 internal [2023-11-21T22:24:42.158Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:21 openapi [2023-11-21T22:24:42.158Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 21 22:21 pkg [2023-11-21T22:24:42.158Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:21 snap [2023-11-21T22:24:42.158Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 21 22:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:24:42.628Z] + 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=f2933931a1e6c9fed2d60317b9eedf111839d028 --label arch=amd64 --label version=0.0.0 . [2023-11-21T22:24:42.628Z] Sending build context to Docker daemon 22.07MB [2023-11-21T22:24:42.628Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:24:42.628Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-21T22:24:42.628Z] ---> ad2473450149 [2023-11-21T22:24:42.628Z] Step 3/23 : ARG MAKE=make build [2023-11-21T22:24:44.615Z] ---> Running in 1373b76c5c83 [2023-11-21T22:24:44.875Z] Removing intermediate container 1373b76c5c83 [2023-11-21T22:24:44.875Z] ---> 6f2afabab72d [2023-11-21T22:24:44.875Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-21T22:24:44.875Z] ---> Running in 3a315196f41f [2023-11-21T22:24:44.875Z] Removing intermediate container 3a315196f41f [2023-11-21T22:24:44.875Z] ---> f40f0a9714ea [2023-11-21T22:24:44.875Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-21T22:24:44.875Z] ---> Running in eebbfcc0772c [2023-11-21T22:24:45.135Z] Removing intermediate container eebbfcc0772c [2023-11-21T22:24:45.135Z] ---> 230ef8e521a5 [2023-11-21T22:24:45.135Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-21T22:24:45.135Z] ---> Running in d41369f20d66 [2023-11-21T22:24:45.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:24:45.393Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:24:45.652Z] OK: 264 MiB in 52 packages [2023-11-21T22:24:46.219Z] Removing intermediate container d41369f20d66 [2023-11-21T22:24:46.219Z] ---> 13ecb0af3d9d [2023-11-21T22:24:46.219Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-21T22:24:46.219Z] ---> e0b000875bec [2023-11-21T22:24:46.219Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:24:46.219Z] ---> Running in 6a453611a6a2 [2023-11-21T22:24:46.789Z] Removing intermediate container 6a453611a6a2 [2023-11-21T22:24:46.789Z] ---> 065d01adfbb3 [2023-11-21T22:24:46.789Z] Step 9/23 : COPY . . [2023-11-21T22:24:47.728Z] ---> 4d9c384fa9ad [2023-11-21T22:24:47.728Z] Step 10/23 : RUN ${MAKE} [2023-11-21T22:24:47.728Z] ---> Running in efe1fa822412 [2023-11-21T22:24:47.728Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-21T22:25:09.698Z] Removing intermediate container efe1fa822412 [2023-11-21T22:25:09.698Z] ---> 6563967695ef [2023-11-21T22:25:09.698Z] Step 11/23 : FROM alpine:3.18 [2023-11-21T22:25:09.698Z] 3.18: Pulling from library/alpine [2023-11-21T22:25:09.698Z] 96526aa774ef: Pulling fs layer [2023-11-21T22:25:09.698Z] 96526aa774ef: Verifying Checksum [2023-11-21T22:25:09.698Z] 96526aa774ef: Download complete [2023-11-21T22:25:09.698Z] 96526aa774ef: Pull complete [2023-11-21T22:25:09.698Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:25:09.698Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:25:09.698Z] ---> 8ca4688f4f35 [2023-11-21T22:25:09.698Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-21T22:25:09.698Z] ---> Running in 99ecfa2ac42b [2023-11-21T22:25:09.698Z] Removing intermediate container 99ecfa2ac42b [2023-11-21T22:25:09.698Z] ---> 2a968ad3cec0 [2023-11-21T22:25:09.698Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-21T22:25:09.698Z] ---> Running in 81631f964965 [2023-11-21T22:25:09.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:09.698Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-21T22:25:09.698Z] OK: 7 MiB in 15 packages [2023-11-21T22:25:09.956Z] Removing intermediate container 81631f964965 [2023-11-21T22:25:09.956Z] ---> 8c42f6b8c69a [2023-11-21T22:25:09.956Z] Step 14/23 : WORKDIR / [2023-11-21T22:25:09.956Z] ---> Running in 1011dbc8f5cf [2023-11-21T22:25:09.956Z] Removing intermediate container 1011dbc8f5cf [2023-11-21T22:25:09.956Z] ---> 40f1ea01e45c [2023-11-21T22:25:09.957Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-21T22:25:09.957Z] ---> b6cd24eb28f9 [2023-11-21T22:25:09.957Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-21T22:25:11.023Z] ---> a373aaab3700 [2023-11-21T22:25:11.023Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-21T22:25:11.023Z] ---> 0a85410474b3 [2023-11-21T22:25:11.023Z] Step 18/23 : EXPOSE 59999 [2023-11-21T22:25:11.023Z] ---> Running in 57fb9f9e6071 [2023-11-21T22:25:11.023Z] Removing intermediate container 57fb9f9e6071 [2023-11-21T22:25:11.023Z] ---> c4bde18faf1e [2023-11-21T22:25:11.023Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-21T22:25:11.023Z] ---> Running in 1178292397a7 [2023-11-21T22:25:11.023Z] Removing intermediate container 1178292397a7 [2023-11-21T22:25:11.023Z] ---> c1593f6986cd [2023-11-21T22:25:11.023Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-21T22:25:11.291Z] ---> Running in 19250e102039 [2023-11-21T22:25:11.291Z] Removing intermediate container 19250e102039 [2023-11-21T22:25:11.291Z] ---> 3dff6715b59c [2023-11-21T22:25:11.291Z] Step 21/23 : LABEL arch=amd64 [2023-11-21T22:25:11.291Z] ---> Running in 038ccfb20354 [2023-11-21T22:25:11.291Z] Removing intermediate container 038ccfb20354 [2023-11-21T22:25:11.291Z] ---> e3b178ba4b01 [2023-11-21T22:25:11.291Z] Step 22/23 : LABEL git_sha=f2933931a1e6c9fed2d60317b9eedf111839d028 [2023-11-21T22:25:11.291Z] ---> Running in e564ea0b4f88 [2023-11-21T22:25:11.549Z] Removing intermediate container e564ea0b4f88 [2023-11-21T22:25:11.549Z] ---> 99c7cf006ab1 [2023-11-21T22:25:11.549Z] Step 23/23 : LABEL version=0.0.0 [2023-11-21T22:25:11.549Z] ---> Running in 230c87575fbb [2023-11-21T22:25:11.549Z] Removing intermediate container 230c87575fbb [2023-11-21T22:25:11.549Z] ---> 142c6c5c2c14 [2023-11-21T22:25:11.549Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:25:11.549Z] Successfully built 142c6c5c2c14 [2023-11-21T22:25:11.549Z] 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-11-21T22:25:12.770Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:25:12.770Z] [2023-11-21T22:25:12.770Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:25:13.188Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:25:13.188Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-21T22:25:13.188Z] 5eb5b503b376: Pulling fs layer [2023-11-21T22:25:13.188Z] 5c69ac0246d0: Pulling fs layer [2023-11-21T22:25:13.188Z] ec43610c2a17: Pulling fs layer [2023-11-21T22:25:13.188Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-21T22:25:13.188Z] 33b1e0a273af: Pulling fs layer [2023-11-21T22:25:13.188Z] 5d3b04190fa2: Pulling fs layer [2023-11-21T22:25:13.188Z] 2f39f015ded8: Pulling fs layer [2023-11-21T22:25:13.188Z] 3a2ae6a8a46f: Waiting [2023-11-21T22:25:13.188Z] 33b1e0a273af: Waiting [2023-11-21T22:25:13.188Z] 5d3b04190fa2: Waiting [2023-11-21T22:25:13.188Z] 2f39f015ded8: Waiting [2023-11-21T22:25:13.188Z] 5c69ac0246d0: Download complete [2023-11-21T22:25:13.188Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-21T22:25:13.188Z] 3a2ae6a8a46f: Download complete [2023-11-21T22:25:13.447Z] ec43610c2a17: Verifying Checksum [2023-11-21T22:25:13.447Z] ec43610c2a17: Download complete [2023-11-21T22:25:13.447Z] 33b1e0a273af: Verifying Checksum [2023-11-21T22:25:13.447Z] 33b1e0a273af: Download complete [2023-11-21T22:25:13.447Z] 5d3b04190fa2: Download complete [2023-11-21T22:25:13.447Z] 5eb5b503b376: Verifying Checksum [2023-11-21T22:25:13.447Z] 5eb5b503b376: Download complete [2023-11-21T22:25:14.023Z] 2f39f015ded8: Download complete [2023-11-21T22:25:14.592Z] 5eb5b503b376: Pull complete [2023-11-21T22:25:14.851Z] 5c69ac0246d0: Pull complete [2023-11-21T22:25:15.110Z] ec43610c2a17: Pull complete [2023-11-21T22:25:15.110Z] 3a2ae6a8a46f: Pull complete [2023-11-21T22:25:15.369Z] 33b1e0a273af: Pull complete [2023-11-21T22:25:15.369Z] 5d3b04190fa2: Pull complete [2023-11-21T22:25:19.558Z] 2f39f015ded8: Pull complete [2023-11-21T22:25:19.818Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-21T22:25:19.818Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:25:19.818Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:25:20.193Z] prd-ubuntu20.04-docker-8c-8g-356 does not seem to be running inside a container [2023-11-21T22:25:20.202Z] $ 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-1542 -v /w/workspace/gexfoundry_device-sdk-go_PR-1542:/w/workspace/gexfoundry_device-sdk-go_PR-1542:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-21T22:25:25.152Z] $ docker top b7c5d45087f5d95ecdc7f7183d07c8b5b629a2eb42c7e23e300bab3ece8aa7d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:25:25.677Z] ---> job-cost.sh [2023-11-21T22:25:25.677Z] lf-activate-venv: SKIPPING [2023-11-21T22:25:25.677Z] INFO: No Stack... [2023-11-21T22:25:25.938Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:25:26.198Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:25:26.509Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1542/archives/cost.csv [2023-11-21T22:25:26.509Z] + cut -d, -f6 [Pipeline] lock [2023-11-21T22:25:26.542Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1542-1-stack-cost] [2023-11-21T22:25:26.547Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1542-1-stack-cost] did not exist. Created. [2023-11-21T22:25:26.547Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1542-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:25:27.006Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-21T22:25:27.059Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:25:27.113Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1542-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:25:27.234Z] $ docker stop --time=1 b7c5d45087f5d95ecdc7f7183d07c8b5b629a2eb42c7e23e300bab3ece8aa7d3 [2023-11-21T22:25:28.388Z] $ docker rm -f --volumes b7c5d45087f5d95ecdc7f7183d07c8b5b629a2eb42c7e23e300bab3ece8aa7d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-21T22:37:08.601Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-749 in /w/workspace/gexfoundry_device-sdk-go_PR-1542 [Pipeline] { [Pipeline] ws [2023-11-21T22:37:08.696Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-11-21T22:37:11.819Z] The recommended git tool is: git [2023-11-21T22:37:18.167Z] using credential edgex-jenkins-ssh [2023-11-21T22:37:18.188Z] Cloning the remote Git repository [2023-11-21T22:37:18.239Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-21T22:37:18.360Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-11-21T22:37:18.539Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-21T22:37:18.541Z] > git --version # timeout=10 [2023-11-21T22:37:18.565Z] > git --version # 'git version 2.25.1' [2023-11-21T22:37:18.568Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:18.750Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:37:22.472Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-21T22:37:22.502Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-21T22:37:24.326Z] Merging remotes/origin/main commit 50dd63d392f370c86a33393d79501a04f0565adc into PR head commit f2933931a1e6c9fed2d60317b9eedf111839d028 [2023-11-21T22:37:24.704Z] Merge succeeded, producing f2933931a1e6c9fed2d60317b9eedf111839d028 [2023-11-21T22:37:24.705Z] Checking out Revision f2933931a1e6c9fed2d60317b9eedf111839d028 (PR-1542) [2023-11-21T22:37:23.640Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-21T22:37:23.689Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-21T22:37:23.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:23.712Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1542/head:refs/remotes/origin/PR-1542 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-21T22:37:24.348Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:37:24.436Z] > git checkout -f f2933931a1e6c9fed2d60317b9eedf111839d028 # timeout=10 [2023-11-21T22:37:24.582Z] > git remote # timeout=10 [2023-11-21T22:37:24.606Z] > git config --get remote.origin.url # timeout=10 [2023-11-21T22:37:24.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-21T22:37:24.645Z] > git merge 50dd63d392f370c86a33393d79501a04f0565adc # timeout=10 [2023-11-21T22:37:24.683Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-21T22:37:24.712Z] > git config core.sparsecheckout # timeout=10 [2023-11-21T22:37:24.732Z] > git checkout -f f2933931a1e6c9fed2d60317b9eedf111839d028 # timeout=10 [2023-11-21T22:37:25.437Z] Commit message: "build(deps): bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1" [2023-11-21T22:37:25.501Z] > git --version # timeout=10 [2023-11-21T22:37:25.514Z] > git --version # 'git version 2.25.1' [2023-11-21T22:37:25.537Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:37:26.922Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-21T22:37:26.923Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:37:26.923Z] Dload Upload Total Spent Left Speed [2023-11-21T22:37:26.923Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 54 12682 54 6881 0 0 44108 0 --:--:-- --:--:-- --:--:-- 43828 100 12682 100 12682 0 0 80265 0 --:--:-- --:--:-- --:--:-- 80265 [Pipeline] sh [2023-11-21T22:37:27.283Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-21T22:37:27.649Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-21T22:37:27.649Z] + sudo tee /etc/docker/daemon.new [2023-11-21T22:37:27.649Z] { [2023-11-21T22:37:27.649Z] "registry-mirrors": [ [2023-11-21T22:37:27.649Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-21T22:37:27.649Z] ], [2023-11-21T22:37:27.649Z] "bip": "10.250.0.254/24", [2023-11-21T22:37:27.649Z] "hosts": [ [2023-11-21T22:37:27.649Z] "tcp://0.0.0.0:5555", [2023-11-21T22:37:27.649Z] "unix:///var/run/docker.sock" [2023-11-21T22:37:27.649Z] ], [2023-11-21T22:37:27.649Z] "mtu": 1458, [2023-11-21T22:37:27.649Z] "selinux-enabled": true, [2023-11-21T22:37:27.649Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-21T22:37:27.649Z] } [Pipeline] sh [2023-11-21T22:37:28.028Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-21T22:37:28.397Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:37:47.958Z] provisioning config files... [2023-11-21T22:37:47.999Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15592289016627824890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:37:48.583Z] ---> ****-login.sh [2023-11-21T22:37:48.583Z] nexus3.edgexfoundry.org:10001 [2023-11-21T22:37:49.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:49.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:49.454Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:49.454Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:49.454Z] [2023-11-21T22:37:49.454Z] Login Succeeded [2023-11-21T22:37:49.454Z] nexus3.edgexfoundry.org:10002 [2023-11-21T22:37:49.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:49.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:49.726Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:49.726Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:49.726Z] [2023-11-21T22:37:49.726Z] Login Succeeded [2023-11-21T22:37:49.726Z] nexus3.edgexfoundry.org:10003 [2023-11-21T22:37:49.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:49.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:49.998Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:49.998Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:49.998Z] [2023-11-21T22:37:49.998Z] Login Succeeded [2023-11-21T22:37:49.998Z] nexus3.edgexfoundry.org:10004 [2023-11-21T22:37:50.273Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:50.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:50.558Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:50.558Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:50.558Z] [2023-11-21T22:37:50.558Z] Login Succeeded [2023-11-21T22:37:50.558Z] ****.io [2023-11-21T22:37:52.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-21T22:37:52.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-21T22:37:52.521Z] Configure a credential helper to remove this warning. See [2023-11-21T22:37:52.521Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-21T22:37:52.521Z] [2023-11-21T22:37:52.521Z] Login Succeeded [2023-11-21T22:37:52.791Z] ---> ****-login.sh ends [Pipeline] } [2023-11-21T22:37:52.820Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-21T22:37:53.383Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:37:53.459Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-21T22:37:53.538Z] ========================================================= [2023-11-21T22:37:53.538Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-21T22:37:53.538Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:37:54.229Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-11-21T22:37:54.823Z] Sending build context to Docker daemon 11.38MB [2023-11-21T22:37:54.823Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:37:54.823Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-21T22:37:54.823Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-21T22:37:54.823Z] 9fda8d8052c6: Pulling fs layer [2023-11-21T22:37:54.823Z] 5d54e960e981: Pulling fs layer [2023-11-21T22:37:54.823Z] c4a7e357bf2a: Pulling fs layer [2023-11-21T22:37:54.823Z] f0e02332f6b5: Pulling fs layer [2023-11-21T22:37:54.823Z] 872ee5b61b7b: Pulling fs layer [2023-11-21T22:37:54.823Z] 0c6a40ed1a82: Pulling fs layer [2023-11-21T22:37:54.823Z] 94ae7d8d031c: Pulling fs layer [2023-11-21T22:37:54.823Z] f0e02332f6b5: Waiting [2023-11-21T22:37:54.823Z] 872ee5b61b7b: Waiting [2023-11-21T22:37:54.823Z] 0c6a40ed1a82: Waiting [2023-11-21T22:37:54.823Z] 94ae7d8d031c: Waiting [2023-11-21T22:37:55.097Z] 5d54e960e981: Verifying Checksum [2023-11-21T22:37:55.097Z] 5d54e960e981: Download complete [2023-11-21T22:37:55.097Z] f0e02332f6b5: Download complete [2023-11-21T22:37:55.097Z] 872ee5b61b7b: Verifying Checksum [2023-11-21T22:37:55.097Z] 872ee5b61b7b: Download complete [2023-11-21T22:37:55.097Z] 9fda8d8052c6: Verifying Checksum [2023-11-21T22:37:55.097Z] 9fda8d8052c6: Download complete [2023-11-21T22:37:55.693Z] 94ae7d8d031c: Verifying Checksum [2023-11-21T22:37:55.694Z] 94ae7d8d031c: Download complete [2023-11-21T22:37:55.967Z] 9fda8d8052c6: Pull complete [2023-11-21T22:37:56.556Z] 5d54e960e981: Pull complete [2023-11-21T22:37:56.828Z] c4a7e357bf2a: Verifying Checksum [2023-11-21T22:37:56.828Z] c4a7e357bf2a: Download complete [2023-11-21T22:37:58.251Z] 0c6a40ed1a82: Verifying Checksum [2023-11-21T22:37:58.251Z] 0c6a40ed1a82: Download complete [2023-11-21T22:38:10.873Z] c4a7e357bf2a: Pull complete [2023-11-21T22:38:10.873Z] f0e02332f6b5: Pull complete [2023-11-21T22:38:10.873Z] 872ee5b61b7b: Pull complete [2023-11-21T22:38:21.164Z] 0c6a40ed1a82: Pull complete [2023-11-21T22:38:22.584Z] 94ae7d8d031c: Pull complete [2023-11-21T22:38:22.584Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-21T22:38:22.584Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-21T22:38:22.584Z] ---> 86de565de09d [2023-11-21T22:38:22.584Z] Step 3/10 : ARG MAKE=make build [2023-11-21T22:38:24.006Z] ---> Running in 066e3e04a348 [2023-11-21T22:38:24.277Z] Removing intermediate container 066e3e04a348 [2023-11-21T22:38:24.277Z] ---> d7bcf2a648e3 [2023-11-21T22:38:24.277Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-21T22:38:24.547Z] ---> Running in 17bd423d87c8 [2023-11-21T22:38:24.816Z] Removing intermediate container 17bd423d87c8 [2023-11-21T22:38:24.816Z] ---> e7777dd5fe74 [2023-11-21T22:38:24.816Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-21T22:38:24.816Z] ---> Running in a13a37f91d1b [2023-11-21T22:38:25.411Z] Removing intermediate container a13a37f91d1b [2023-11-21T22:38:25.411Z] ---> 7bf7beb38520 [2023-11-21T22:38:25.411Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-21T22:38:25.411Z] ---> Running in 678782c86477 [2023-11-21T22:38:26.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:38:27.109Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:38:28.529Z] OK: 266 MiB in 52 packages [2023-11-21T22:38:29.497Z] Removing intermediate container 678782c86477 [2023-11-21T22:38:29.497Z] ---> cd29f601706a [2023-11-21T22:38:29.497Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-21T22:38:30.093Z] ---> f913813d1b1d [2023-11-21T22:38:30.093Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:38:30.093Z] ---> Running in 392ea819ed40 [2023-11-21T22:40:06.808Z] Removing intermediate container 392ea819ed40 [2023-11-21T22:40:06.808Z] ---> a090db7f83f8 [2023-11-21T22:40:06.808Z] Step 9/10 : COPY . . [2023-11-21T22:40:06.808Z] ---> 2c90f7f51286 [2023-11-21T22:40:06.808Z] Step 10/10 : RUN ${MAKE} [2023-11-21T22:40:06.808Z] ---> Running in b4b98c3e1414 [2023-11-21T22:40:06.808Z] noop [2023-11-21T22:40:06.808Z] Removing intermediate container b4b98c3e1414 [2023-11-21T22:40:06.808Z] ---> dcefc33c60cf [2023-11-21T22:40:06.808Z] Successfully built dcefc33c60cf [2023-11-21T22:40:06.808Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:40:07.446Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:40:07.446Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:40:07.854Z] prd-ubuntu20.04-docker-arm64-4c-16g-749 does not seem to be running inside a container [2023-11-21T22:40:07.933Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-11-21T22:40:09.264Z] $ docker top 406b0244d2c7392ed59b1b1c4d44308017c7bc6d3307f7e9923af0fe216b1ebc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:40:10.275Z] + go version [2023-11-21T22:40:10.275Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-21T22:40:10.318Z] $ docker stop --time=1 406b0244d2c7392ed59b1b1c4d44308017c7bc6d3307f7e9923af0fe216b1ebc [2023-11-21T22:40:12.035Z] $ docker rm -f --volumes 406b0244d2c7392ed59b1b1c4d44308017c7bc6d3307f7e9923af0fe216b1ebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:40:13.254Z] + docker inspect -f . ci-base-image-arm64 [2023-11-21T22:40:13.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:40:13.632Z] prd-ubuntu20.04-docker-arm64-4c-16g-749 does not seem to be running inside a container [2023-11-21T22:40:13.725Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat [2023-11-21T22:40:15.098Z] $ docker top 2d19c69d9cd7da3bfc5c34943f071b4262f32dbb873fffa0e3e697d2e3797e06 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:40:16.087Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-21T22:40:16.842Z] + make test [2023-11-21T22:40:16.842Z] go test -race -coverprofile=coverage.out ./... [2023-11-21T22:41:03.734Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-21T22:43:40.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-21T22:43:40.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-21T22:43:40.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-21T22:43:40.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-21T22:43:40.717Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-21T22:43:48.958Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.219s coverage: 27.6% of statements [2023-11-21T22:43:59.068Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.315s coverage: 81.5% of statements [2023-11-21T22:44:09.193Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-21T22:44:09.193Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-21T22:44:09.785Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.387s coverage: 86.0% of statements [2023-11-21T22:44:16.465Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-21T22:44:16.734Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.445s coverage: 71.8% of statements [2023-11-21T22:44:20.092Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.270s coverage: 14.4% of statements [2023-11-21T22:44:20.092Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.196s coverage: 45.9% of statements [2023-11-21T22:44:21.058Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-21T22:44:21.058Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-21T22:44:22.474Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.458s coverage: 68.5% of statements [2023-11-21T22:44:25.094Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.445s coverage: 89.2% of statements [2023-11-21T22:44:26.519Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-21T22:44:27.490Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.260s coverage: 5.5% of statements [2023-11-21T22:44:28.480Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-21T22:44:28.480Z] GO111MODULE=on go vet ./... [2023-11-21T22:46:50.366Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-21T22:46:50.366Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-21T22:46:50.366Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-21T22:46:50.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-21T22:46:50.479Z] $ docker stop --time=1 2d19c69d9cd7da3bfc5c34943f071b4262f32dbb873fffa0e3e697d2e3797e06 [2023-11-21T22:46:52.523Z] $ docker rm -f --volumes 2d19c69d9cd7da3bfc5c34943f071b4262f32dbb873fffa0e3e697d2e3797e06 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-21T22:46:54.451Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-21T22:46:54.487Z] Warning: overwriting stash ‘coverage-report’ [2023-11-21T22:46:55.110Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-21T22:46:55.941Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-21T22:46:56.279Z] + ls -al . [2023-11-21T22:46:56.279Z] total 304 [2023-11-21T22:46:56.279Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 21 22:40 . [2023-11-21T22:46:56.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:37 .. [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 21 22:37 .dockerignore [2023-11-21T22:46:56.279Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 21 22:37 .git [2023-11-21T22:46:56.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 .github [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 21 22:37 .gitignore [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 21 22:37 .golangci.yml [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 21 22:37 CHANGELOG.md [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 21 22:37 GOVERNANCE.md [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 21 22:37 Jenkinsfile [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 21 22:37 LICENSE [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 21 22:37 Makefile [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 21 22:37 OWNERS.md [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 21 22:37 README.md [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 21 22:22 VERSION [2023-11-21T22:46:56.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 21 22:37 bin [2023-11-21T22:46:56.279Z] -rw-r--r-- 1 jenkins jenkins 122155 Nov 21 22:44 coverage.out [2023-11-21T22:46:56.279Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 21 22:37 example [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 21 22:37 go.mod [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 21 22:37 go.sum [2023-11-21T22:46:56.279Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 21 22:37 internal [2023-11-21T22:46:56.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 21 22:37 openapi [2023-11-21T22:46:56.279Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 21 22:37 pkg [2023-11-21T22:46:56.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 21 22:37 snap [2023-11-21T22:46:56.279Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 21 22:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:46:56.783Z] + 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=f2933931a1e6c9fed2d60317b9eedf111839d028 --label arch=arm64 --label version=0.0.0 . [2023-11-21T22:46:57.369Z] Sending build context to Docker daemon 11.5MB [2023-11-21T22:46:57.369Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-21T22:46:57.369Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-21T22:46:57.369Z] ---> dcefc33c60cf [2023-11-21T22:46:57.369Z] Step 3/23 : ARG MAKE=make build [2023-11-21T22:46:57.636Z] ---> Running in 636c61578890 [2023-11-21T22:46:57.904Z] Removing intermediate container 636c61578890 [2023-11-21T22:46:57.904Z] ---> b2ead032c1b2 [2023-11-21T22:46:57.904Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-21T22:46:57.904Z] ---> Running in 8a2570ee3f98 [2023-11-21T22:46:58.171Z] Removing intermediate container 8a2570ee3f98 [2023-11-21T22:46:58.171Z] ---> 8bfcc3ffa669 [2023-11-21T22:46:58.171Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-21T22:46:58.438Z] ---> Running in a8ec219d0547 [2023-11-21T22:46:58.707Z] Removing intermediate container a8ec219d0547 [2023-11-21T22:46:58.707Z] ---> 8bf4be92fa0f [2023-11-21T22:46:58.707Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-21T22:46:58.707Z] ---> Running in 97d1c55c4206 [2023-11-21T22:47:00.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:47:00.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:47:01.799Z] OK: 266 MiB in 52 packages [2023-11-21T22:47:06.185Z] Removing intermediate container 97d1c55c4206 [2023-11-21T22:47:06.185Z] ---> 60bc6038b4e3 [2023-11-21T22:47:06.185Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-21T22:47:06.185Z] ---> 9362dc0ad53e [2023-11-21T22:47:06.185Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-21T22:47:06.517Z] ---> Running in d4a8e3b1337e [2023-11-21T22:47:08.550Z] Removing intermediate container d4a8e3b1337e [2023-11-21T22:47:08.550Z] ---> 422df10ade3a [2023-11-21T22:47:08.550Z] Step 9/23 : COPY . . [2023-11-21T22:47:10.516Z] ---> e68c845ab177 [2023-11-21T22:47:10.516Z] Step 10/23 : RUN ${MAKE} [2023-11-21T22:47:10.516Z] ---> Running in 0a35d6bf4416 [2023-11-21T22:47:11.097Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-21T22:49:17.763Z] Removing intermediate container 0a35d6bf4416 [2023-11-21T22:49:17.763Z] ---> 02e8ab8e9dfc [2023-11-21T22:49:17.763Z] Step 11/23 : FROM alpine:3.18 [2023-11-21T22:49:17.763Z] 3.18: Pulling from library/alpine [2023-11-21T22:49:17.763Z] 579b34f0a95b: Pulling fs layer [2023-11-21T22:49:17.763Z] 579b34f0a95b: Verifying Checksum [2023-11-21T22:49:17.763Z] 579b34f0a95b: Download complete [2023-11-21T22:49:17.763Z] 579b34f0a95b: Pull complete [2023-11-21T22:49:17.763Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-21T22:49:17.763Z] Status: Downloaded newer image for alpine:3.18 [2023-11-21T22:49:17.763Z] ---> 3cc203321400 [2023-11-21T22:49:17.763Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-21T22:49:17.763Z] ---> Running in 14537f1665c7 [2023-11-21T22:49:17.763Z] Removing intermediate container 14537f1665c7 [2023-11-21T22:49:17.763Z] ---> 3b35fc78f31f [2023-11-21T22:49:17.763Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-21T22:49:17.763Z] ---> Running in ac90701734ec [2023-11-21T22:49:17.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-21T22:49:17.763Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-21T22:49:17.763Z] OK: 8 MiB in 15 packages [2023-11-21T22:49:17.763Z] Removing intermediate container ac90701734ec [2023-11-21T22:49:17.763Z] ---> 19f7a2baddb3 [2023-11-21T22:49:17.763Z] Step 14/23 : WORKDIR / [2023-11-21T22:49:17.763Z] ---> Running in aff8de026e69 [2023-11-21T22:49:17.763Z] Removing intermediate container aff8de026e69 [2023-11-21T22:49:17.763Z] ---> a616b1f4478e [2023-11-21T22:49:17.763Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-21T22:49:17.763Z] ---> 34001dd23eb8 [2023-11-21T22:49:17.763Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-21T22:49:18.033Z] ---> 04742b608a7c [2023-11-21T22:49:18.033Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-21T22:49:18.614Z] ---> 26f820d634a6 [2023-11-21T22:49:18.614Z] Step 18/23 : EXPOSE 59999 [2023-11-21T22:49:18.614Z] ---> Running in 5a98b156d8e0 [2023-11-21T22:49:18.881Z] Removing intermediate container 5a98b156d8e0 [2023-11-21T22:49:18.881Z] ---> 92e39df4ff62 [2023-11-21T22:49:18.881Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-21T22:49:18.881Z] ---> Running in 7ad621bca2c8 [2023-11-21T22:49:19.147Z] Removing intermediate container 7ad621bca2c8 [2023-11-21T22:49:19.147Z] ---> 828013e70630 [2023-11-21T22:49:19.147Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-21T22:49:19.414Z] ---> Running in 38aabcb02b5a [2023-11-21T22:49:19.680Z] Removing intermediate container 38aabcb02b5a [2023-11-21T22:49:19.681Z] ---> 8c6ca2a5f1fb [2023-11-21T22:49:19.681Z] Step 21/23 : LABEL arch=arm64 [2023-11-21T22:49:19.681Z] ---> Running in 0cca29242550 [2023-11-21T22:49:19.947Z] Removing intermediate container 0cca29242550 [2023-11-21T22:49:19.947Z] ---> 84497d810e67 [2023-11-21T22:49:19.947Z] Step 22/23 : LABEL git_sha=f2933931a1e6c9fed2d60317b9eedf111839d028 [2023-11-21T22:49:19.947Z] ---> Running in e8ecd433a9e8 [2023-11-21T22:49:20.533Z] Removing intermediate container e8ecd433a9e8 [2023-11-21T22:49:20.533Z] ---> 0c81890afff9 [2023-11-21T22:49:20.533Z] Step 23/23 : LABEL version=0.0.0 [2023-11-21T22:49:20.533Z] ---> Running in d5c6516f59f8 [2023-11-21T22:49:20.800Z] Removing intermediate container d5c6516f59f8 [2023-11-21T22:49:20.800Z] ---> 4bfacc2dea51 [2023-11-21T22:49:20.800Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-21T22:49:20.800Z] Successfully built 4bfacc2dea51 [2023-11-21T22:49:20.800Z] 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-11-21T22:49:22.040Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:49:22.040Z] [2023-11-21T22:49:22.040Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:49:22.496Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:49:22.496Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-21T22:49:22.496Z] 8998bd30e6a1: Pulling fs layer [2023-11-21T22:49:22.496Z] 04944245beec: Pulling fs layer [2023-11-21T22:49:22.496Z] 699f458cf7ca: Pulling fs layer [2023-11-21T22:49:22.496Z] 765212b225bb: Pulling fs layer [2023-11-21T22:49:22.496Z] f23df028b6ca: Pulling fs layer [2023-11-21T22:49:22.496Z] 765212b225bb: Waiting [2023-11-21T22:49:22.496Z] d65c8cfc05b1: Pulling fs layer [2023-11-21T22:49:22.496Z] 2437ff75d9bd: Pulling fs layer [2023-11-21T22:49:22.496Z] d65c8cfc05b1: Waiting [2023-11-21T22:49:22.496Z] 2437ff75d9bd: Waiting [2023-11-21T22:49:22.765Z] 04944245beec: Verifying Checksum [2023-11-21T22:49:22.765Z] 04944245beec: Download complete [2023-11-21T22:49:22.765Z] 765212b225bb: Verifying Checksum [2023-11-21T22:49:22.765Z] 765212b225bb: Download complete [2023-11-21T22:49:22.765Z] f23df028b6ca: Verifying Checksum [2023-11-21T22:49:22.765Z] f23df028b6ca: Download complete [2023-11-21T22:49:22.765Z] d65c8cfc05b1: Verifying Checksum [2023-11-21T22:49:22.765Z] d65c8cfc05b1: Download complete [2023-11-21T22:49:23.037Z] 699f458cf7ca: Verifying Checksum [2023-11-21T22:49:23.037Z] 699f458cf7ca: Download complete [2023-11-21T22:49:23.620Z] 8998bd30e6a1: Verifying Checksum [2023-11-21T22:49:23.620Z] 8998bd30e6a1: Download complete [2023-11-21T22:49:26.196Z] 2437ff75d9bd: Verifying Checksum [2023-11-21T22:49:26.196Z] 2437ff75d9bd: Download complete [2023-11-21T22:49:29.538Z] 8998bd30e6a1: Pull complete [2023-11-21T22:49:29.805Z] 04944245beec: Pull complete [2023-11-21T22:49:31.743Z] 699f458cf7ca: Pull complete [2023-11-21T22:49:31.743Z] 765212b225bb: Pull complete [2023-11-21T22:49:32.330Z] f23df028b6ca: Pull complete [2023-11-21T22:49:32.597Z] d65c8cfc05b1: Pull complete [2023-11-21T22:49:50.808Z] 2437ff75d9bd: Pull complete [2023-11-21T22:49:50.808Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-21T22:49:50.808Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-21T22:49:50.808Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:49:51.319Z] prd-ubuntu20.04-docker-arm64-4c-16g-749 does not seem to be running inside a container [2023-11-21T22:49:51.382Z] $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-21T22:49:56.840Z] $ docker top 80f8d701653924f0a051428590ffa88ce1993223368748625f67ea1351931ef4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:49:57.822Z] ---> job-cost.sh [2023-11-21T22:49:57.823Z] lf-activate-venv: SKIPPING [2023-11-21T22:49:57.823Z] INFO: No Stack... [2023-11-21T22:49:58.404Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-21T22:49:58.985Z] INFO: Archiving Costs [Pipeline] sh [2023-11-21T22:49:59.644Z] + cut -d, -f6 [2023-11-21T22:49:59.644Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-11-21T22:49:59.724Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1542-1-stack-cost] [2023-11-21T22:49:59.728Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1542-1-stack-cost] did not exist. Created. [2023-11-21T22:49:59.728Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1542-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-21T22:50:00.555Z] /w/workspace/device-sdk-go/1@tmp/durable-ff16f215/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-21T22:50:01.220Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-21T22:50:01.254Z] Warning: overwriting stash ‘stack-cost’ [2023-11-21T22:50:01.342Z] Stashed 1 file(s) [Pipeline] } [2023-11-21T22:50:01.357Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1542-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-21T22:50:01.528Z] $ docker stop --time=1 80f8d701653924f0a051428590ffa88ce1993223368748625f67ea1351931ef4 [2023-11-21T22:50:03.056Z] $ docker rm -f --volumes 80f8d701653924f0a051428590ffa88ce1993223368748625f67ea1351931ef4 [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-11-21T22:50:05.052Z] provisioning config files... [2023-11-21T22:50:05.060Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp/config17875125775424802414tmp [Pipeline] { [Pipeline] sh [2023-11-21T22:50:05.490Z] + set +x [2023-11-21T22:50:05.490Z] + curl -s https://codecov.io/bash [2023-11-21T22:50:05.490Z] + bash -s -- [2023-11-21T22:50:05.490Z] [2023-11-21T22:50:05.490Z] _____ _ [2023-11-21T22:50:05.490Z] / ____| | | [2023-11-21T22:50:05.490Z] | | ___ __| | ___ ___ _____ __ [2023-11-21T22:50:05.490Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-21T22:50:05.490Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-21T22:50:05.490Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-21T22:50:05.490Z] Bash-1.0.6 [2023-11-21T22:50:05.490Z] [2023-11-21T22:50:05.490Z] [2023-11-21T22:50:05.490Z] ==> git version 2.25.1 found [2023-11-21T22:50:05.491Z] ==> 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-11-21T22:50:05.491Z] Release-Date: 2020-01-08 [2023-11-21T22:50:05.491Z] 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-11-21T22:50:05.491Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-21T22:50:05.491Z] ==> Jenkins CI detected. [2023-11-21T22:50:05.491Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1542 [2023-11-21T22:50:05.491Z] project root: . [2023-11-21T22:50:05.491Z] --> token set from env [2023-11-21T22:50:05.491Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-21T22:50:05.491Z] ==> Running gcov in . (disable via -X gcov) [2023-11-21T22:50:05.491Z] ==> Python coveragepy not found [2023-11-21T22:50:05.491Z] ==> Searching for coverage reports in: [2023-11-21T22:50:05.491Z] + . [2023-11-21T22:50:05.750Z] -> Found 1 reports [2023-11-21T22:50:05.750Z] ==> Detecting git/mercurial file structure [2023-11-21T22:50:05.750Z] ==> Reading reports [2023-11-21T22:50:05.750Z] + ./coverage.out bytes=122155 [2023-11-21T22:50:05.750Z] ==> Appending adjustments [2023-11-21T22:50:05.750Z] https://docs.codecov.io/docs/fixing-reports [2023-11-21T22:50:06.009Z] + Found adjustments [2023-11-21T22:50:06.009Z] ==> Gzipping contents [2023-11-21T22:50:06.009Z] 20K /tmp/codecov.6efMSJ.gz [2023-11-21T22:50:06.009Z] ==> Uploading reports [2023-11-21T22:50:06.009Z] url: https://codecov.io [2023-11-21T22:50:06.009Z] query: branch=PR-1542&commit=f2933931a1e6c9fed2d60317b9eedf111839d028&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1542%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1542&job=&cmd_args= [2023-11-21T22:50:06.009Z] -> Pinging Codecov [2023-11-21T22:50:06.009Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1542&commit=f2933931a1e6c9fed2d60317b9eedf111839d028&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1542%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1542&job=&cmd_args= [2023-11-21T22:50:06.268Z] -> Uploading to [2023-11-21T22:50:06.268Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-21/7E55EF52A471D76F132DFD9A03CDDE97/f2933931a1e6c9fed2d60317b9eedf111839d028/a33488e5-4421-42c7-a051-d9a4ddb5d4bd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231121%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231121T225005Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=346e6dd05c83b0e8832639c193c8c662d8d47c5dbe6d21c114f3b9dc47c37f60 [2023-11-21T22:50:06.268Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-21T22:50:06.268Z] Dload Upload Total Spent Left Speed [2023-11-21T22:50:06.527Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 67257 --:--:-- --:--:-- --:--:-- 67257 [2023-11-21T22:50:06.527Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f2933931a1e6c9fed2d60317b9eedf111839d028 [Pipeline] } [2023-11-21T22:50:06.555Z] 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-11-21T22:50:09.813Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1542/archives ] [2023-11-21T22:50:09.813Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1542/archives [2023-11-21T22:50:09.813Z] total 16 [2023-11-21T22:50:09.813Z] drwxr-xr-x 3 root root 4096 Nov 21 22:25 . [2023-11-21T22:50:09.813Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 21 22:25 .. [2023-11-21T22:50:09.813Z] drwxr-xr-x 2 root root 4096 Nov 21 22:25 cost [2023-11-21T22:50:09.813Z] -rw-r--r-- 1 root root 86 Nov 21 22:25 cost.csv [2023-11-21T22:50:09.813Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1542/archives [2023-11-21T22:50:09.813Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1542/archives [2023-11-21T22:50:09.813Z] total 16 [2023-11-21T22:50:09.813Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 21 22:25 . [2023-11-21T22:50:09.813Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 21 22:25 .. [2023-11-21T22:50:09.813Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 21 22:25 cost [2023-11-21T22:50:09.813Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 21 22:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:50:10.137Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:50:11.028Z] ---> package-listing.sh [2023-11-21T22:50:11.028Z] ++ facter osfamily [2023-11-21T22:50:11.028Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-21T22:50:11.288Z] + OS_FAMILY=debian [2023-11-21T22:50:11.288Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1542 [2023-11-21T22:50:11.288Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-21T22:50:11.288Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-21T22:50:11.288Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-21T22:50:11.288Z] + PACKAGES=/tmp/packages_start.txt [2023-11-21T22:50:11.288Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1542 ']' [2023-11-21T22:50:11.288Z] + PACKAGES=/tmp/packages_end.txt [2023-11-21T22:50:11.288Z] + case "${OS_FAMILY}" in [2023-11-21T22:50:11.288Z] + dpkg -l [2023-11-21T22:50:11.288Z] + grep '^ii' [2023-11-21T22:50:11.288Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-21T22:50:11.289Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-21T22:50:11.289Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-21T22:50:11.289Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1542 ']' [2023-11-21T22:50:11.289Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1542/archives/ [2023-11-21T22:50:11.289Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1542/archives/ [Pipeline] echo [2023-11-21T22:50:11.325Z] 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-1542/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-21T22:50:11.617Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-21T22:50:12.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-21T22:50:12.288Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-21T22:50:12.538Z] prd-ubuntu20.04-docker-8c-8g-356 does not seem to be running inside a container [2023-11-21T22:50:12.542Z] $ 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-1542/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-1542 -v /w/workspace/gexfoundry_device-sdk-go_PR-1542:/w/workspace/gexfoundry_device-sdk-go_PR-1542:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1542@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-21T22:50:12.732Z] $ docker top f6e02c1dcd5e740d47e0d4c8813eecc0dda0670d13be35da147034a16a8b6e1f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-21T22:50:13.255Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-21T22:50:13.687Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-21T22:50:14.041Z] + ls /var/log/sa-host [2023-11-21T22:50:14.041Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-21T22:50:14.226Z] provisioning config files... [2023-11-21T22:50:14.235Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1542@tmp/config17337516794841906432tmp [Pipeline] { [Pipeline] echo [2023-11-21T22:50:14.383Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:50:14.694Z] ---> create-netrc.sh [Pipeline] } [2023-11-21T22:50:14.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:50:15.212Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-21T22:50:15.242Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:50:15.551Z] ---> sudo-logs.sh [2023-11-21T22:50:15.551Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-21T22:50:15.693Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:50:16.006Z] ---> job-cost.sh [2023-11-21T22:50:16.006Z] lf-activate-venv: SKIPPING [2023-11-21T22:50:16.006Z] DEBUG: total: 0.2199999988079071 [2023-11-21T22:50:16.006Z] INFO: Retrieving Stack Cost... [2023-11-21T22:50:16.266Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-21T22:50:16.833Z] INFO: Archiving Costs [Pipeline] echo [2023-11-21T22:50:16.868Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-21T22:50:17.186Z] ---> logs-deploy.sh [2023-11-21T22:50:17.186Z] lf-activate-venv: SKIPPING [2023-11-21T22:50:17.186Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1542/1 [2023-11-21T22:50:17.186Z] INFO: archiving workspace using pattern(s): [2023-11-21T22:50:18.122Z] Archives upload complete. [2023-11-21T22:50:18.122Z] INFO: archiving logs to Nexus [2023-11-21T22:50:18.691Z] ---> uname -a: [2023-11-21T22:50:18.691Z] Linux prd-ubuntu20-04-docker-8c-8g-356 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-11-21T22:50:18.691Z] [2023-11-21T22:50:18.691Z] [2023-11-21T22:50:18.691Z] ---> lscpu: [2023-11-21T22:50:18.691Z] Architecture: x86_64 [2023-11-21T22:50:18.691Z] CPU op-mode(s): 32-bit, 64-bit [2023-11-21T22:50:18.691Z] Byte Order: Little Endian [2023-11-21T22:50:18.691Z] Address sizes: 40 bits physical, 48 bits virtual [2023-11-21T22:50:18.691Z] CPU(s): 8 [2023-11-21T22:50:18.691Z] On-line CPU(s) list: 0-7 [2023-11-21T22:50:18.691Z] Thread(s) per core: 1 [2023-11-21T22:50:18.691Z] Core(s) per socket: 1 [2023-11-21T22:50:18.691Z] Socket(s): 8 [2023-11-21T22:50:18.691Z] NUMA node(s): 1 [2023-11-21T22:50:18.691Z] Vendor ID: AuthenticAMD [2023-11-21T22:50:18.691Z] CPU family: 23 [2023-11-21T22:50:18.691Z] Model: 49 [2023-11-21T22:50:18.691Z] Model name: AMD EPYC-Rome Processor [2023-11-21T22:50:18.691Z] Stepping: 0 [2023-11-21T22:50:18.691Z] CPU MHz: 2800.000 [2023-11-21T22:50:18.691Z] BogoMIPS: 5600.00 [2023-11-21T22:50:18.691Z] Virtualization: AMD-V [2023-11-21T22:50:18.691Z] Hypervisor vendor: KVM [2023-11-21T22:50:18.691Z] Virtualization type: full [2023-11-21T22:50:18.691Z] L1d cache: 256 KiB [2023-11-21T22:50:18.691Z] L1i cache: 256 KiB [2023-11-21T22:50:18.691Z] L2 cache: 4 MiB [2023-11-21T22:50:18.691Z] L3 cache: 128 MiB [2023-11-21T22:50:18.691Z] NUMA node0 CPU(s): 0-7 [2023-11-21T22:50:18.691Z] Vulnerability Itlb multihit: Not affected [2023-11-21T22:50:18.691Z] Vulnerability L1tf: Not affected [2023-11-21T22:50:18.691Z] Vulnerability Mds: Not affected [2023-11-21T22:50:18.691Z] Vulnerability Meltdown: Not affected [2023-11-21T22:50:18.691Z] Vulnerability Mmio stale data: Not affected [2023-11-21T22:50:18.692Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-11-21T22:50:18.692Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-11-21T22:50:18.692Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-11-21T22:50:18.692Z] Vulnerability Srbds: Not affected [2023-11-21T22:50:18.692Z] Vulnerability Tsx async abort: Not affected [2023-11-21T22:50:18.692Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-11-21T22:50:18.692Z] [2023-11-21T22:50:18.692Z] [2023-11-21T22:50:18.692Z] ---> nproc: [2023-11-21T22:50:18.692Z] 8 [2023-11-21T22:50:18.692Z] [2023-11-21T22:50:18.692Z]