Pull request #1540 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb3b780b49bdb40d95a497fa6cff623f428380a1+7730e9b2488ebe82cf8f1ec58f41fa934430b51b (a67688406113c5d7ba2a5342de36e84590f2a83d) 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-ssh12470272168234349276.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-ssh4573126356673208364.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 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-1540/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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14026793374267050501.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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13004014798063166139.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6375147a0d0ca7a67a13085e8428bd7204efc6d4 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6375147a0d0ca7a67a13085e8428bd7204efc6d4 # timeout=10 Commit message: "Merge pull request #446 from ernestojeda/add-go-lts-image" > 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-ssh1557628492801241660.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-1540/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-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14883717184213435288.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 6375147a0d0ca7a67a13085e8428bd7204efc6d4 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-17509 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [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-1540 # 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/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing bb3b780b49bdb40d95a497fa6cff623f428380a1 Checking out Revision bb3b780b49bdb40d95a497fa6cff623f428380a1 (PR-1540) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # 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 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 Commit message: "fix: Address CVE in Alpine base image" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-14T18:37:47.100Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-14T18:37:47.364Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-14T18:37:47.477Z] ========================================================= [2023-11-14T18:37:47.477Z] EdgeX Global Pipelines Version Info [2023-11-14T18:37:47.477Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:37:48.678Z] ------------------- [2023-11-14T18:37:48.678Z] stable info: [2023-11-14T18:37:48.678Z] ------------------- [2023-11-14T18:37:48.678Z] Commited By: ad_eojeda ad_eojeda@nswe-ubuntu01.amr.corp.intel.com [2023-11-14T18:37:48.678Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:37:48.678Z] Message: update stable to v1.0.257 [2023-11-14T18:37:48.939Z] ------------------- [2023-11-14T18:37:48.939Z] experimental info: [2023-11-14T18:37:48.939Z] ------------------- [2023-11-14T18:37:48.939Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-14T18:37:48.939Z] Commit SHA: 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [2023-11-14T18:37:48.939Z] Message: update experimental to v1.0.257 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-14T18:37:49.250Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-14T18:37:49.295Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-14T18:37:49.341Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-14T18:37:49.389Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-14T18:37:49.429Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-14T18:37:49.472Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-14T18:37:49.517Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-14T18:37:49.561Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-14T18:37:49.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-14T18:37:49.650Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-14T18:37:49.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-14T18:37:49.746Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-14T18:37:49.798Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-14T18:37:49.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-14T18:37:49.894Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-14T18:37:49.944Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:37:49.990Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:37:50.035Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-14T18:37:50.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-14T18:37:50.143Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-14T18:37:50.191Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-14T18:37:50.238Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-14T18:37:50.280Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-14T18:37:50.324Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-14T18:37:50.366Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-14T18:37:50.409Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-14T18:37:50.454Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-14T18:37:50.494Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo [2023-11-14T18:37:50.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo [2023-11-14T18:37:50.581Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo [2023-11-14T18:37:50.626Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb3b780b49bdb40d95a497fa6cff623f428380a1 [Pipeline] echo [2023-11-14T18:37:50.667Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb3b780 [Pipeline] echo [2023-11-14T18:37:50.712Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:37:50.836Z] provisioning config files... [2023-11-14T18:37:50.850Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config2914348346345772232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:37:51.196Z] ---> docker-login.sh [2023-11-14T18:37:51.196Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:37:51.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:37:51.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:37:51.719Z] Configure a credential helper to remove this warning. See [2023-11-14T18:37:51.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:37:51.719Z] [2023-11-14T18:37:51.719Z] Login Succeeded [2023-11-14T18:37:51.719Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:37:51.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:37:51.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:37:51.719Z] Configure a credential helper to remove this warning. See [2023-11-14T18:37:51.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:37:51.719Z] [2023-11-14T18:37:51.719Z] Login Succeeded [2023-11-14T18:37:51.719Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:37:51.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:37:51.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:37:51.979Z] Configure a credential helper to remove this warning. See [2023-11-14T18:37:51.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:37:51.979Z] [2023-11-14T18:37:51.979Z] Login Succeeded [2023-11-14T18:37:51.979Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:37:51.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:37:51.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:37:51.979Z] Configure a credential helper to remove this warning. See [2023-11-14T18:37:51.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:37:51.979Z] [2023-11-14T18:37:51.979Z] Login Succeeded [2023-11-14T18:37:51.979Z] docker.io [2023-11-14T18:37:51.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:37:52.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:37:52.240Z] Configure a credential helper to remove this warning. See [2023-11-14T18:37:52.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:37:52.240Z] [2023-11-14T18:37:52.240Z] Login Succeeded [2023-11-14T18:37:52.240Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:37:52.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-14T18:37:52.892Z] + git rev-list -1 --merges bb3b780b49bdb40d95a497fa6cff623f428380a1~1..bb3b780b49bdb40d95a497fa6cff623f428380a1 [Pipeline] echo [2023-11-14T18:37:52.924Z] -----------> git rev-list -1 --merges bb3b780b49bdb40d95a497fa6cff623f428380a1~1..bb3b780b49bdb40d95a497fa6cff623f428380a1 bb3b780b49bdb40d95a497fa6cff623f428380a1 [false] [Pipeline] sh [2023-11-14T18:37:53.241Z] + git log --format=format:%s -1 bb3b780b49bdb40d95a497fa6cff623f428380a1 [Pipeline] echo [2023-11-14T18:37:53.273Z] ========================================================= [2023-11-14T18:37:53.273Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-14T18:37:53.273Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:37:53.703Z] + git log --format=format:%s -1 bb3b780b49bdb40d95a497fa6cff623f428380a1 [Pipeline] echo [2023-11-14T18:37:53.739Z] [semverPrep] GIT_COMMIT: bb3b780b49bdb40d95a497fa6cff623f428380a1, Commit Message: fix: Address CVE in Alpine base image [Pipeline] echo [2023-11-14T18:37:53.771Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-14T18:37:54.150Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-14T18:37:54.150Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-14T18:37:54.150Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-14T18:37:54.150Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-14T18:37:54.150Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-14T18:37:54.151Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-14T18:37:54.151Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:37:54.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:37:54.591Z] [2023-11-14T18:37:54.591Z] 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-14T18:37:54.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:37:54.964Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-14T18:37:54.964Z] b85a868b505f: Pulling fs layer [2023-11-14T18:37:54.964Z] e2be974225ed: Pulling fs layer [2023-11-14T18:37:54.964Z] 339a4e72a1f5: Pulling fs layer [2023-11-14T18:37:54.964Z] 988bab9f4d93: Pulling fs layer [2023-11-14T18:37:54.964Z] 1469e6f7b9e6: Pulling fs layer [2023-11-14T18:37:54.964Z] eaf3925da568: Pulling fs layer [2023-11-14T18:37:54.964Z] bab4dde63d76: Pulling fs layer [2023-11-14T18:37:54.964Z] bde34c3a00c8: Pulling fs layer [2023-11-14T18:37:54.964Z] b352a97aabf1: Pulling fs layer [2023-11-14T18:37:54.964Z] 4872d77fe225: Pulling fs layer [2023-11-14T18:37:54.964Z] 5851b861e8e6: Pulling fs layer [2023-11-14T18:37:54.964Z] 988bab9f4d93: Waiting [2023-11-14T18:37:54.964Z] 1469e6f7b9e6: Waiting [2023-11-14T18:37:54.964Z] eaf3925da568: Waiting [2023-11-14T18:37:54.964Z] bab4dde63d76: Waiting [2023-11-14T18:37:54.964Z] bde34c3a00c8: Waiting [2023-11-14T18:37:54.964Z] b352a97aabf1: Waiting [2023-11-14T18:37:54.964Z] 4872d77fe225: Waiting [2023-11-14T18:37:54.964Z] 5851b861e8e6: Waiting [2023-11-14T18:37:54.964Z] e2be974225ed: Verifying Checksum [2023-11-14T18:37:54.964Z] e2be974225ed: Download complete [2023-11-14T18:37:54.964Z] 988bab9f4d93: Verifying Checksum [2023-11-14T18:37:54.964Z] 988bab9f4d93: Download complete [2023-11-14T18:37:54.964Z] 1469e6f7b9e6: Verifying Checksum [2023-11-14T18:37:54.964Z] 1469e6f7b9e6: Download complete [2023-11-14T18:37:55.226Z] 339a4e72a1f5: Verifying Checksum [2023-11-14T18:37:55.226Z] 339a4e72a1f5: Download complete [2023-11-14T18:37:55.226Z] eaf3925da568: Verifying Checksum [2023-11-14T18:37:55.226Z] eaf3925da568: Download complete [2023-11-14T18:37:55.226Z] bde34c3a00c8: Verifying Checksum [2023-11-14T18:37:55.226Z] bde34c3a00c8: Download complete [2023-11-14T18:37:55.226Z] b352a97aabf1: Verifying Checksum [2023-11-14T18:37:55.226Z] b352a97aabf1: Download complete [2023-11-14T18:37:55.226Z] 4872d77fe225: Download complete [2023-11-14T18:37:55.226Z] 5851b861e8e6: Verifying Checksum [2023-11-14T18:37:55.226Z] 5851b861e8e6: Download complete [2023-11-14T18:37:55.226Z] b85a868b505f: Download complete [2023-11-14T18:37:55.488Z] bab4dde63d76: Verifying Checksum [2023-11-14T18:37:56.428Z] b85a868b505f: Pull complete [2023-11-14T18:37:56.428Z] e2be974225ed: Pull complete [2023-11-14T18:37:57.000Z] 339a4e72a1f5: Pull complete [2023-11-14T18:37:57.000Z] 988bab9f4d93: Pull complete [2023-11-14T18:37:57.262Z] 1469e6f7b9e6: Pull complete [2023-11-14T18:37:57.262Z] eaf3925da568: Pull complete [2023-11-14T18:37:59.171Z] bab4dde63d76: Pull complete [2023-11-14T18:37:59.171Z] bde34c3a00c8: Pull complete [2023-11-14T18:37:59.432Z] b352a97aabf1: Pull complete [2023-11-14T18:37:59.432Z] 4872d77fe225: Pull complete [2023-11-14T18:37:59.432Z] 5851b861e8e6: Pull complete [2023-11-14T18:37:59.432Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-14T18:37:59.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-14T18:37:59.432Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:37:59.662Z] prd-ubuntu20.04-docker-8c-8g-17509 does not seem to be running inside a container [2023-11-14T18:37:59.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@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-devops/py-git-semver:0.1.4 cat [2023-11-14T18:38:04.471Z] $ docker top b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f -eo pid,comm [2023-11-14T18:38:04.523Z] 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-14T18:38:04.523Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-14T18:38:04.649Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:38:04.650Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:38:04.761Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:38:04.766Z] $ docker exec b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f ssh-agent [2023-11-14T18:38:04.856Z] SSH_AUTH_SOCK=/tmp/ssh-RT06SFphOKQQ/agent.32 [2023-11-14T18:38:04.856Z] SSH_AGENT_PID=38 [2023-11-14T18:38:04.863Z] Running ssh-add (command line suppressed) [2023-11-14T18:38:04.959Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_9671634344404890378.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_9671634344404890378.key) [2023-11-14T18:38:04.974Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:38:05.322Z] + git tag --points-at HEAD [Pipeline] } [2023-11-14T18:38:05.353Z] $ docker exec --env ******** --env ******** b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f ssh-agent -k [2023-11-14T18:38:05.431Z] unset SSH_AUTH_SOCK; [2023-11-14T18:38:05.433Z] unset SSH_AGENT_PID; [2023-11-14T18:38:05.433Z] echo Agent pid 38 killed; [2023-11-14T18:38:05.439Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-14T18:38:05.539Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-14T18:38:05.539Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-14T18:38:05.642Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-14T18:38:05.647Z] $ docker exec b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f ssh-agent [2023-11-14T18:38:05.744Z] SSH_AUTH_SOCK=/tmp/ssh-E55H3kV0G8KB/agent.70 [2023-11-14T18:38:05.744Z] SSH_AGENT_PID=76 [2023-11-14T18:38:05.748Z] Running ssh-add (command line suppressed) [2023-11-14T18:38:05.854Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_15796075950857280160.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_15796075950857280160.key) [2023-11-14T18:38:05.863Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-14T18:38:06.210Z] + git semver init [2023-11-14T18:38:06.469Z] 2023-11-14 18:38:06,399 [run_init] DEBUG init version:0.0.0 force:False [2023-11-14T18:38:06.469Z] 2023-11-14 18:38:06,400 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-11-14T18:38:06.469Z] 2023-11-14 18:38:06,400 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-11-14T18:38:06.469Z] 2023-11-14 18:38:06,400 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) [2023-11-14T18:38:08.381Z] 2023-11-14 18:38:07,911 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude [2023-11-14T18:38:08.381Z] 2023-11-14 18:38:07,912 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False [2023-11-14T18:38:08.381Z] 2023-11-14 18:38:07,912 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-11-14T18:38:08.381Z] 2023-11-14 18:38:07,917 [execute] INFO git cat-file --batch-check [2023-11-14T18:38:08.381Z] 2023-11-14 18:38:07,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:38:08.381Z] 2023-11-14 18:38:07,926 [execute] INFO git cat-file --batch [2023-11-14T18:38:08.381Z] 2023-11-14 18:38:07,926 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-11-14T18:38:08.381Z] 2023-11-14 18:38:07,933 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-11-14T18:38:08.381Z] 0.0.0 [Pipeline] } [2023-11-14T18:38:08.412Z] $ docker exec --env ******** --env ******** b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f ssh-agent -k [2023-11-14T18:38:08.520Z] unset SSH_AUTH_SOCK; [2023-11-14T18:38:08.521Z] unset SSH_AGENT_PID; [2023-11-14T18:38:08.521Z] echo Agent pid 76 killed; [2023-11-14T18:38:08.528Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-14T18:38:08.961Z] + git semver [Pipeline] } [2023-11-14T18:38:09.245Z] $ docker stop --time=1 b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f [2023-11-14T18:38:10.503Z] $ docker rm -f --volumes b1e98d1f37f757d25804af917e67f70e4f0da0f3dd2009459bd4caeb402a815f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:38:10.900Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-14T18:38:11.175Z] Stashed 1 file(s) [Pipeline] echo [2023-11-14T18:38:11.193Z] [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-14T18:38:11.805Z] provisioning config files... [2023-11-14T18:38:11.814Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config6798704615456277096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:38:12.168Z] ---> docker-login.sh [2023-11-14T18:38:12.168Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:38:12.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:12.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:12.168Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:12.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:12.168Z] [2023-11-14T18:38:12.168Z] Login Succeeded [2023-11-14T18:38:12.168Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:38:12.168Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:12.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:12.168Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:12.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:12.168Z] [2023-11-14T18:38:12.168Z] Login Succeeded [2023-11-14T18:38:12.168Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:38:12.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:12.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:12.427Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:12.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:12.427Z] [2023-11-14T18:38:12.427Z] Login Succeeded [2023-11-14T18:38:12.427Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:38:12.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:12.427Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:12.427Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:12.427Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:12.427Z] [2023-11-14T18:38:12.427Z] Login Succeeded [2023-11-14T18:38:12.427Z] docker.io [2023-11-14T18:38:12.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:38:12.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:38:12.687Z] Configure a credential helper to remove this warning. See [2023-11-14T18:38:12.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:38:12.687Z] [2023-11-14T18:38:12.687Z] Login Succeeded [2023-11-14T18:38:12.687Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:38:12.716Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:38:12.902Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:38:12.940Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:38:12.979Z] ========================================================= [2023-11-14T18:38:12.979Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-14T18:38:12.979Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:38:13.449Z] + 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-14T18:38:13.449Z] Sending build context to Docker daemon 21.94MB [2023-11-14T18:38:13.449Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:38:13.449Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-14T18:38:13.708Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-14T18:38:13.708Z] 7264a8db6415: Pulling fs layer [2023-11-14T18:38:13.708Z] c4d48a809fc2: Pulling fs layer [2023-11-14T18:38:13.708Z] 4f1c88b9dad5: Pulling fs layer [2023-11-14T18:38:13.708Z] ad3a456e5733: Pulling fs layer [2023-11-14T18:38:13.708Z] 69c7f0334f64: Pulling fs layer [2023-11-14T18:38:13.708Z] 1f1c1a5573a3: Pulling fs layer [2023-11-14T18:38:13.708Z] ce7588e14bc9: Pulling fs layer [2023-11-14T18:38:13.708Z] b5e4710f87ac: Pulling fs layer [2023-11-14T18:38:13.708Z] ad3a456e5733: Waiting [2023-11-14T18:38:13.708Z] 69c7f0334f64: Waiting [2023-11-14T18:38:13.708Z] 1f1c1a5573a3: Waiting [2023-11-14T18:38:13.708Z] ce7588e14bc9: Waiting [2023-11-14T18:38:13.708Z] b5e4710f87ac: Waiting [2023-11-14T18:38:13.708Z] c4d48a809fc2: Download complete [2023-11-14T18:38:13.708Z] ad3a456e5733: Verifying Checksum [2023-11-14T18:38:13.708Z] ad3a456e5733: Download complete [2023-11-14T18:38:13.708Z] 69c7f0334f64: Verifying Checksum [2023-11-14T18:38:13.708Z] 69c7f0334f64: Download complete [2023-11-14T18:38:13.708Z] 7264a8db6415: Download complete [2023-11-14T18:38:13.708Z] 1f1c1a5573a3: Verifying Checksum [2023-11-14T18:38:13.708Z] 1f1c1a5573a3: Download complete [2023-11-14T18:38:13.969Z] 7264a8db6415: Pull complete [2023-11-14T18:38:13.969Z] c4d48a809fc2: Pull complete [2023-11-14T18:38:13.969Z] b5e4710f87ac: Verifying Checksum [2023-11-14T18:38:13.969Z] b5e4710f87ac: Download complete [2023-11-14T18:38:14.230Z] 4f1c88b9dad5: Verifying Checksum [2023-11-14T18:38:14.230Z] 4f1c88b9dad5: Download complete [2023-11-14T18:38:14.490Z] ce7588e14bc9: Verifying Checksum [2023-11-14T18:38:14.490Z] ce7588e14bc9: Download complete [2023-11-14T18:38:17.776Z] 4f1c88b9dad5: Pull complete [2023-11-14T18:38:17.776Z] ad3a456e5733: Pull complete [2023-11-14T18:38:17.776Z] 69c7f0334f64: Pull complete [2023-11-14T18:38:17.776Z] 1f1c1a5573a3: Pull complete [2023-11-14T18:38:19.674Z] ce7588e14bc9: Pull complete [2023-11-14T18:38:20.240Z] b5e4710f87ac: Pull complete [2023-11-14T18:38:20.240Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-14T18:38:20.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-14T18:38:20.240Z] ---> 88b5674ff536 [2023-11-14T18:38:20.240Z] Step 3/10 : ARG MAKE=make build [2023-11-14T18:38:26.635Z] Still waiting to schedule task [2023-11-14T18:38:26.635Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-14T18:38:32.488Z] ---> Running in 733d09e9612b [2023-11-14T18:38:32.488Z] Removing intermediate container 733d09e9612b [2023-11-14T18:38:32.488Z] ---> ff80afa79e32 [2023-11-14T18:38:32.488Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-14T18:38:32.488Z] ---> Running in d965cab1586b [2023-11-14T18:38:32.488Z] Removing intermediate container d965cab1586b [2023-11-14T18:38:32.488Z] ---> 0481e0ff5e9b [2023-11-14T18:38:32.488Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-14T18:38:32.488Z] ---> Running in 00953daebd9b [2023-11-14T18:38:32.488Z] Removing intermediate container 00953daebd9b [2023-11-14T18:38:32.488Z] ---> 52b60ceb4a8a [2023-11-14T18:38:32.488Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-14T18:38:32.488Z] ---> Running in fbb511fbb615 [2023-11-14T18:38:32.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:38:32.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:38:32.488Z] OK: 264 MiB in 52 packages [2023-11-14T18:38:32.488Z] Removing intermediate container fbb511fbb615 [2023-11-14T18:38:32.488Z] ---> e5e039ed440f [2023-11-14T18:38:32.488Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-14T18:38:32.488Z] ---> 8299eca06676 [2023-11-14T18:38:32.488Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:38:32.488Z] ---> Running in 3336675cea1f [2023-11-14T18:39:28.714Z] Removing intermediate container 3336675cea1f [2023-11-14T18:39:28.714Z] ---> bfbe48d42175 [2023-11-14T18:39:28.714Z] Step 9/10 : COPY . . [2023-11-14T18:39:28.714Z] ---> b242f7c7a9ad [2023-11-14T18:39:28.714Z] Step 10/10 : RUN ${MAKE} [2023-11-14T18:39:28.714Z] ---> Running in d6104be9a1b2 [2023-11-14T18:39:28.714Z] noop [2023-11-14T18:39:28.714Z] Removing intermediate container d6104be9a1b2 [2023-11-14T18:39:28.714Z] ---> 6b8de2af4bd1 [2023-11-14T18:39:28.714Z] Successfully built 6b8de2af4bd1 [2023-11-14T18:39:28.714Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:39:29.171Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:39:29.171Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:39:29.321Z] prd-ubuntu20.04-docker-8c-8g-17509 does not seem to be running inside a container [2023-11-14T18:39:29.392Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-14T18:39:29.735Z] $ docker top 57837dd85bd25b8f4975bdc65e643d6b29dbbd9a5a4ae195d8e6a2e99402bd4f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:39:30.141Z] + go version [2023-11-14T18:39:30.142Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-14T18:39:30.177Z] $ docker stop --time=1 57837dd85bd25b8f4975bdc65e643d6b29dbbd9a5a4ae195d8e6a2e99402bd4f [2023-11-14T18:39:31.447Z] $ docker rm -f --volumes 57837dd85bd25b8f4975bdc65e643d6b29dbbd9a5a4ae195d8e6a2e99402bd4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:39:32.146Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-14T18:39:32.146Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:39:32.302Z] prd-ubuntu20.04-docker-8c-8g-17509 does not seem to be running inside a container [2023-11-14T18:39:32.340Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-14T18:39:32.657Z] $ docker top 1be9fdc4d6c09ee6670ddd2037805d03ce67190a70e148cca8cace9af8f991d1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:39:33.055Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:39:33.418Z] + make test [2023-11-14T18:39:33.418Z] go test -race -coverprofile=coverage.out ./... [2023-11-14T18:39:39.988Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-14T18:39:52.180Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-14T18:39:52.180Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-14T18:39:52.180Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-14T18:39:52.180Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-14T18:39:52.180Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-14T18:39:52.180Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-14T18:39:52.180Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-14T18:39:52.180Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-14T18:39:52.747Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.059s coverage: 27.6% of statements [2023-11-14T18:39:52.747Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.045s coverage: 81.5% of statements [2023-11-14T18:39:52.747Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.071s coverage: 86.0% of statements [2023-11-14T18:39:53.005Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.060s coverage: 71.8% of statements [2023-11-14T18:39:53.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-14T18:39:53.006Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-14T18:39:53.939Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-14T18:39:57.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.4% of statements [2023-11-14T18:39:57.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.968s coverage: 45.9% of statements [2023-11-14T18:39:57.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.063s coverage: 68.5% of statements [2023-11-14T18:39:57.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.106s coverage: 89.2% of statements [2023-11-14T18:39:57.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-11-14T18:40:15.338Z] GO111MODULE=on go vet ./... [2023-11-14T18:40:16.275Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:40:16.275Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:40:16.275Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:40:16.313Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:40:16.342Z] $ docker stop --time=1 1be9fdc4d6c09ee6670ddd2037805d03ce67190a70e148cca8cace9af8f991d1 [2023-11-14T18:40:24.369Z] $ docker rm -f --volumes 1be9fdc4d6c09ee6670ddd2037805d03ce67190a70e148cca8cace9af8f991d1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:40:24.952Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:40:25.044Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-14T18:40:25.665Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:40:25.973Z] + ls -al . [2023-11-14T18:40:25.973Z] total 308 [2023-11-14T18:40:25.973Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 14 18:39 . [2023-11-14T18:40:25.973Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:37 .. [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 18:37 .dockerignore [2023-11-14T18:40:25.973Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:39 .git [2023-11-14T18:40:25.973Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:37 .github [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 14 18:37 .gitignore [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 14 18:37 .golangci.yml [2023-11-14T18:40:25.973Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:38 .semver [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 14 18:37 CHANGELOG.md [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:37 GOVERNANCE.md [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 14 18:37 Jenkinsfile [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 14 18:37 LICENSE [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 14 18:37 Makefile [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 14 18:37 OWNERS.md [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 14 18:37 README.md [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:38 VERSION [2023-11-14T18:40:25.973Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:37 bin [2023-11-14T18:40:25.973Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 14 18:39 coverage.out [2023-11-14T18:40:25.973Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 14 18:37 example [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 14 18:37 go.mod [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 14 18:37 go.sum [2023-11-14T18:40:25.973Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 14 18:37 internal [2023-11-14T18:40:25.973Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:37 openapi [2023-11-14T18:40:25.973Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 14 18:37 pkg [2023-11-14T18:40:25.973Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:37 snap [2023-11-14T18:40:25.973Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 14 18:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:40:26.371Z] + 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=bb3b780b49bdb40d95a497fa6cff623f428380a1 --label arch=amd64 --label version=0.0.0 . [2023-11-14T18:40:26.372Z] Sending build context to Docker daemon 22.06MB [2023-11-14T18:40:26.372Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:40:26.372Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-14T18:40:26.372Z] ---> 6b8de2af4bd1 [2023-11-14T18:40:26.372Z] Step 3/24 : ARG MAKE=make build [2023-11-14T18:40:27.307Z] ---> Running in 9a4789e64a1a [2023-11-14T18:40:27.565Z] Removing intermediate container 9a4789e64a1a [2023-11-14T18:40:27.565Z] ---> f19d8af61e3b [2023-11-14T18:40:27.565Z] Step 4/24 : WORKDIR /device-sdk-go [2023-11-14T18:40:27.565Z] ---> Running in 58187195d412 [2023-11-14T18:40:27.565Z] Removing intermediate container 58187195d412 [2023-11-14T18:40:27.565Z] ---> 0e8b967c2008 [2023-11-14T18:40:27.565Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-14T18:40:27.565Z] ---> Running in 6b94a79812aa [2023-11-14T18:40:27.565Z] Removing intermediate container 6b94a79812aa [2023-11-14T18:40:27.565Z] ---> 91921efd48cb [2023-11-14T18:40:27.565Z] Step 6/24 : RUN apk add --update --no-cache make git [2023-11-14T18:40:27.565Z] ---> Running in 1c458211a67c [2023-11-14T18:40:28.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:40:28.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:40:28.698Z] OK: 264 MiB in 52 packages [2023-11-14T18:40:28.957Z] Removing intermediate container 1c458211a67c [2023-11-14T18:40:28.957Z] ---> d110e55564ab [2023-11-14T18:40:28.957Z] Step 7/24 : COPY go.mod vendor* ./ [2023-11-14T18:40:28.957Z] ---> 67d9be2c3411 [2023-11-14T18:40:28.957Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:40:28.957Z] ---> Running in 47b1f32dbe15 [2023-11-14T18:40:29.523Z] Removing intermediate container 47b1f32dbe15 [2023-11-14T18:40:29.523Z] ---> 06ab8fa7ad61 [2023-11-14T18:40:29.523Z] Step 9/24 : COPY . . [2023-11-14T18:40:30.908Z] ---> ba7f119ecced [2023-11-14T18:40:30.908Z] Step 10/24 : RUN ${MAKE} [2023-11-14T18:40:30.908Z] ---> Running in 6052ee2c05b0 [2023-11-14T18:40:31.166Z] 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-14T18:40:53.122Z] Removing intermediate container 6052ee2c05b0 [2023-11-14T18:40:53.122Z] ---> e2847d0d87a3 [2023-11-14T18:40:53.122Z] Step 11/24 : FROM alpine:3.18 [2023-11-14T18:40:53.691Z] 3.18: Pulling from library/alpine [2023-11-14T18:40:53.952Z] 96526aa774ef: Pulling fs layer [2023-11-14T18:40:53.952Z] 96526aa774ef: Verifying Checksum [2023-11-14T18:40:53.952Z] 96526aa774ef: Download complete [2023-11-14T18:40:54.307Z] 96526aa774ef: Pull complete [2023-11-14T18:40:54.307Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T18:40:54.307Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T18:40:54.307Z] ---> 8ca4688f4f35 [2023-11-14T18:40:54.307Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-14T18:40:54.569Z] ---> Running in 770f0b7beed6 [2023-11-14T18:40:54.569Z] Removing intermediate container 770f0b7beed6 [2023-11-14T18:40:54.569Z] ---> cf9e169236a0 [2023-11-14T18:40:54.569Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2023-11-14T18:40:54.569Z] ---> Running in 58226c838398 [2023-11-14T18:40:54.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:40:54.828Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:40:55.395Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T18:40:55.395Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T18:40:55.395Z] OK: 7 MiB in 16 packages [2023-11-14T18:40:55.654Z] Removing intermediate container 58226c838398 [2023-11-14T18:40:55.654Z] ---> 7db166fc04c5 [2023-11-14T18:40:55.654Z] Step 14/24 : RUN apk --no-cache upgrade [2023-11-14T18:40:55.654Z] ---> Running in be033e5f22d8 [2023-11-14T18:40:55.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-14T18:40:55.914Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-14T18:40:56.173Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:40:56.173Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:40:56.173Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T18:40:56.173Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:40:56.173Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:40:56.173Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:40:56.173Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:40:56.173Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:40:56.173Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:40:56.173Z] OK: 7 MiB in 16 packages [2023-11-14T18:40:57.119Z] Removing intermediate container be033e5f22d8 [2023-11-14T18:40:57.119Z] ---> 1a6f7b988a70 [2023-11-14T18:40:57.119Z] Step 15/24 : WORKDIR / [2023-11-14T18:40:57.119Z] ---> Running in 189ed7670737 [2023-11-14T18:40:57.119Z] Removing intermediate container 189ed7670737 [2023-11-14T18:40:57.119Z] ---> ff3a6996a1a4 [2023-11-14T18:40:57.119Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-14T18:40:57.119Z] ---> 1de4b3ca4c34 [2023-11-14T18:40:57.119Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-14T18:40:58.493Z] ---> 6be99cd355ec [2023-11-14T18:40:58.493Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-14T18:40:58.493Z] ---> cb9419cbfa73 [2023-11-14T18:40:58.493Z] Step 19/24 : EXPOSE 59999 [2023-11-14T18:40:58.493Z] ---> Running in 93e6af5079eb [2023-11-14T18:40:58.493Z] Removing intermediate container 93e6af5079eb [2023-11-14T18:40:58.493Z] ---> 99e2f35e9659 [2023-11-14T18:40:58.493Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2023-11-14T18:40:58.493Z] ---> Running in 3d5b5d7de7ba [2023-11-14T18:40:58.493Z] Removing intermediate container 3d5b5d7de7ba [2023-11-14T18:40:58.493Z] ---> 79d9002de2b1 [2023-11-14T18:40:58.493Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T18:40:58.493Z] ---> Running in 5db788243c25 [2023-11-14T18:40:58.752Z] Removing intermediate container 5db788243c25 [2023-11-14T18:40:58.752Z] ---> 678e299ddb1d [2023-11-14T18:40:58.752Z] Step 22/24 : LABEL arch=amd64 [2023-11-14T18:40:58.752Z] ---> Running in 38f01da1229c [2023-11-14T18:40:58.752Z] Removing intermediate container 38f01da1229c [2023-11-14T18:40:58.752Z] ---> a741d7676f18 [2023-11-14T18:40:58.752Z] Step 23/24 : LABEL git_sha=bb3b780b49bdb40d95a497fa6cff623f428380a1 [2023-11-14T18:40:58.752Z] ---> Running in 48b2cd2195a2 [2023-11-14T18:40:58.752Z] Removing intermediate container 48b2cd2195a2 [2023-11-14T18:40:58.752Z] ---> 5f406b07bea2 [2023-11-14T18:40:58.752Z] Step 24/24 : LABEL version=0.0.0 [2023-11-14T18:40:59.010Z] ---> Running in b300345ee706 [2023-11-14T18:40:59.010Z] Removing intermediate container b300345ee706 [2023-11-14T18:40:59.010Z] ---> 37c63d9ec69b [2023-11-14T18:40:59.010Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T18:40:59.010Z] Successfully built 37c63d9ec69b [2023-11-14T18:40:59.010Z] 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-14T18:40:59.883Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:40:59.883Z] [2023-11-14T18:40:59.883Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:41:00.266Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:41:00.267Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-14T18:41:00.267Z] 5eb5b503b376: Pulling fs layer [2023-11-14T18:41:00.267Z] 5c69ac0246d0: Pulling fs layer [2023-11-14T18:41:00.267Z] ec43610c2a17: Pulling fs layer [2023-11-14T18:41:00.267Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-14T18:41:00.267Z] 33b1e0a273af: Pulling fs layer [2023-11-14T18:41:00.267Z] 5d3b04190fa2: Pulling fs layer [2023-11-14T18:41:00.267Z] 2f39f015ded8: Pulling fs layer [2023-11-14T18:41:00.267Z] 2f39f015ded8: Waiting [2023-11-14T18:41:00.267Z] 33b1e0a273af: Waiting [2023-11-14T18:41:00.267Z] 5d3b04190fa2: Waiting [2023-11-14T18:41:00.267Z] 3a2ae6a8a46f: Waiting [2023-11-14T18:41:00.267Z] 5c69ac0246d0: Verifying Checksum [2023-11-14T18:41:00.267Z] 5c69ac0246d0: Download complete [2023-11-14T18:41:00.267Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-14T18:41:00.267Z] 3a2ae6a8a46f: Download complete [2023-11-14T18:41:00.267Z] 33b1e0a273af: Verifying Checksum [2023-11-14T18:41:00.267Z] 33b1e0a273af: Download complete [2023-11-14T18:41:00.267Z] ec43610c2a17: Verifying Checksum [2023-11-14T18:41:00.267Z] ec43610c2a17: Download complete [2023-11-14T18:41:00.267Z] 5d3b04190fa2: Download complete [2023-11-14T18:41:00.537Z] 5eb5b503b376: Verifying Checksum [2023-11-14T18:41:00.537Z] 5eb5b503b376: Download complete [2023-11-14T18:41:01.105Z] 2f39f015ded8: Verifying Checksum [2023-11-14T18:41:01.105Z] 2f39f015ded8: Download complete [2023-11-14T18:41:01.675Z] 5eb5b503b376: Pull complete [2023-11-14T18:41:01.675Z] 5c69ac0246d0: Pull complete [2023-11-14T18:41:02.238Z] ec43610c2a17: Pull complete [2023-11-14T18:41:02.238Z] 3a2ae6a8a46f: Pull complete [2023-11-14T18:41:02.497Z] 33b1e0a273af: Pull complete [2023-11-14T18:41:02.497Z] 5d3b04190fa2: Pull complete [2023-11-14T18:41:06.681Z] 2f39f015ded8: Pull complete [2023-11-14T18:41:06.681Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-14T18:41:06.681Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:41:06.681Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:41:06.909Z] prd-ubuntu20.04-docker-8c-8g-17509 does not seem to be running inside a container [2023-11-14T18:41:06.949Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-14T18:41:16.673Z] $ docker top e04aa5784bbd2746cc98a40386617baeeaf48bba2ee7aab0df28dd129cbad90c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:41:17.100Z] ---> job-cost.sh [2023-11-14T18:41:17.100Z] lf-activate-venv: SKIPPING [2023-11-14T18:41:17.100Z] INFO: No Stack... [2023-11-14T18:41:17.359Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T18:41:17.619Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T18:41:17.933Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv [2023-11-14T18:41:17.933Z] + cut -d, -f6 [Pipeline] lock [2023-11-14T18:41:17.971Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] [2023-11-14T18:41:17.976Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] did not exist. Created. [2023-11-14T18:41:17.976Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T18:41:18.197Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-17512 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws [2023-11-14T18:41:18.258Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-11-14T18:41:18.369Z] + echo total: 0.2199999988079071 [2023-11-14T18:41:18.377Z] The recommended git tool is: git [Pipeline] stash [2023-11-14T18:41:18.421Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T18:41:18.448Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T18:41:18.527Z] $ docker stop --time=1 e04aa5784bbd2746cc98a40386617baeeaf48bba2ee7aab0df28dd129cbad90c [2023-11-14T18:41:19.654Z] $ docker rm -f --volumes e04aa5784bbd2746cc98a40386617baeeaf48bba2ee7aab0df28dd129cbad90c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-14T18:41:27.926Z] using credential edgex-jenkins-ssh [2023-11-14T18:41:27.947Z] Cloning the remote Git repository [2023-11-14T18:41:28.018Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-14T18:41:28.163Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-11-14T18:41:28.424Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-14T18:41:28.426Z] > git --version # timeout=10 [2023-11-14T18:41:28.457Z] > git --version # 'git version 2.25.1' [2023-11-14T18:41:28.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:41:28.742Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:41:31.543Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-14T18:41:31.590Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-14T18:41:33.438Z] Merging remotes/origin/main commit 7730e9b2488ebe82cf8f1ec58f41fa934430b51b into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 [2023-11-14T18:41:33.847Z] Merge succeeded, producing bb3b780b49bdb40d95a497fa6cff623f428380a1 [2023-11-14T18:41:33.847Z] Checking out Revision bb3b780b49bdb40d95a497fa6cff623f428380a1 (PR-1540) [2023-11-14T18:41:32.641Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-14T18:41:32.686Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-14T18:41:32.687Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:41:32.704Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-14T18:41:33.461Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:41:33.565Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2023-11-14T18:41:33.692Z] > git remote # timeout=10 [2023-11-14T18:41:33.711Z] > git config --get remote.origin.url # timeout=10 [2023-11-14T18:41:33.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-14T18:41:33.797Z] > git merge 7730e9b2488ebe82cf8f1ec58f41fa934430b51b # timeout=10 [2023-11-14T18:41:33.830Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-14T18:41:33.855Z] > git config core.sparsecheckout # timeout=10 [2023-11-14T18:41:33.869Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2023-11-14T18:41:37.416Z] Commit message: "fix: Address CVE in Alpine base image" [2023-11-14T18:41:37.477Z] > git --version # timeout=10 [2023-11-14T18:41:37.490Z] > git --version # 'git version 2.25.1' [2023-11-14T18:41:37.506Z] fatal: bad object 6375147a0d0ca7a67a13085e8428bd7204efc6d4 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:41:38.677Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-14T18:41:38.677Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T18:41:38.677Z] Dload Upload Total Spent Left Speed [2023-11-14T18:41:38.677Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 84546 0 --:--:-- --:--:-- --:--:-- 84546 [Pipeline] sh [2023-11-14T18:41:39.370Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-14T18:41:39.718Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-14T18:41:39.718Z] + sudo tee /etc/docker/daemon.new [2023-11-14T18:41:39.718Z] { [2023-11-14T18:41:39.718Z] "registry-mirrors": [ [2023-11-14T18:41:39.718Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-14T18:41:39.718Z] ], [2023-11-14T18:41:39.718Z] "bip": "10.250.0.254/24", [2023-11-14T18:41:39.718Z] "hosts": [ [2023-11-14T18:41:39.718Z] "tcp://0.0.0.0:5555", [2023-11-14T18:41:39.718Z] "unix:///var/run/docker.sock" [2023-11-14T18:41:39.718Z] ], [2023-11-14T18:41:39.718Z] "mtu": 1458, [2023-11-14T18:41:39.718Z] "selinux-enabled": true, [2023-11-14T18:41:39.718Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-14T18:41:39.718Z] } [Pipeline] sh [2023-11-14T18:41:40.072Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-14T18:41:40.427Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:41:58.799Z] provisioning config files... [2023-11-14T18:41:58.831Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16105673383734801321tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:41:59.250Z] ---> docker-login.sh [2023-11-14T18:41:59.250Z] nexus3.edgexfoundry.org:10001 [2023-11-14T18:41:59.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:42:00.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:42:00.110Z] Configure a credential helper to remove this warning. See [2023-11-14T18:42:00.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:42:00.110Z] [2023-11-14T18:42:00.110Z] Login Succeeded [2023-11-14T18:42:00.110Z] nexus3.edgexfoundry.org:10002 [2023-11-14T18:42:00.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:42:00.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:42:00.382Z] Configure a credential helper to remove this warning. See [2023-11-14T18:42:00.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:42:00.382Z] [2023-11-14T18:42:00.382Z] Login Succeeded [2023-11-14T18:42:00.382Z] nexus3.edgexfoundry.org:10003 [2023-11-14T18:42:00.665Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:42:00.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:42:00.939Z] Configure a credential helper to remove this warning. See [2023-11-14T18:42:00.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:42:00.939Z] [2023-11-14T18:42:00.939Z] Login Succeeded [2023-11-14T18:42:00.939Z] nexus3.edgexfoundry.org:10004 [2023-11-14T18:42:01.209Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:42:01.209Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:42:01.209Z] Configure a credential helper to remove this warning. See [2023-11-14T18:42:01.209Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:42:01.209Z] [2023-11-14T18:42:01.209Z] Login Succeeded [2023-11-14T18:42:01.209Z] docker.io [2023-11-14T18:42:01.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-14T18:42:01.751Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-14T18:42:01.751Z] Configure a credential helper to remove this warning. See [2023-11-14T18:42:01.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-14T18:42:01.752Z] [2023-11-14T18:42:01.752Z] Login Succeeded [2023-11-14T18:42:01.752Z] ---> docker-login.sh ends [Pipeline] } [2023-11-14T18:42:01.782Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-14T18:42:02.294Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:42:02.332Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-14T18:42:02.368Z] ========================================================= [2023-11-14T18:42:02.368Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-14T18:42:02.368Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:42:02.885Z] + 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-14T18:42:05.477Z] Sending build context to Docker daemon 11.38MB [2023-11-14T18:42:05.477Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:42:05.477Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-14T18:42:05.747Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-14T18:42:05.747Z] 9fda8d8052c6: Pulling fs layer [2023-11-14T18:42:05.747Z] 5d54e960e981: Pulling fs layer [2023-11-14T18:42:05.747Z] c4a7e357bf2a: Pulling fs layer [2023-11-14T18:42:05.747Z] f0e02332f6b5: Pulling fs layer [2023-11-14T18:42:05.747Z] 872ee5b61b7b: Pulling fs layer [2023-11-14T18:42:05.747Z] 0c6a40ed1a82: Pulling fs layer [2023-11-14T18:42:05.747Z] 94ae7d8d031c: Pulling fs layer [2023-11-14T18:42:05.747Z] 872ee5b61b7b: Waiting [2023-11-14T18:42:05.747Z] 0c6a40ed1a82: Waiting [2023-11-14T18:42:05.747Z] f0e02332f6b5: Waiting [2023-11-14T18:42:05.747Z] 94ae7d8d031c: Waiting [2023-11-14T18:42:05.747Z] 5d54e960e981: Verifying Checksum [2023-11-14T18:42:05.747Z] 5d54e960e981: Download complete [2023-11-14T18:42:06.018Z] 9fda8d8052c6: Verifying Checksum [2023-11-14T18:42:06.018Z] 9fda8d8052c6: Download complete [2023-11-14T18:42:06.018Z] f0e02332f6b5: Verifying Checksum [2023-11-14T18:42:06.018Z] f0e02332f6b5: Download complete [2023-11-14T18:42:06.018Z] 872ee5b61b7b: Verifying Checksum [2023-11-14T18:42:06.018Z] 872ee5b61b7b: Download complete [2023-11-14T18:42:06.606Z] 94ae7d8d031c: Verifying Checksum [2023-11-14T18:42:06.606Z] 94ae7d8d031c: Download complete [2023-11-14T18:42:06.880Z] 9fda8d8052c6: Pull complete [2023-11-14T18:42:07.848Z] 5d54e960e981: Pull complete [2023-11-14T18:42:08.120Z] c4a7e357bf2a: Verifying Checksum [2023-11-14T18:42:08.120Z] c4a7e357bf2a: Download complete [2023-11-14T18:42:09.084Z] 0c6a40ed1a82: Verifying Checksum [2023-11-14T18:42:09.084Z] 0c6a40ed1a82: Download complete [2023-11-14T18:42:21.418Z] c4a7e357bf2a: Pull complete [2023-11-14T18:42:21.418Z] f0e02332f6b5: Pull complete [2023-11-14T18:42:21.687Z] 872ee5b61b7b: Pull complete [2023-11-14T18:42:29.903Z] 0c6a40ed1a82: Pull complete [2023-11-14T18:42:34.176Z] 94ae7d8d031c: Pull complete [2023-11-14T18:42:34.176Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-14T18:42:34.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-14T18:42:34.176Z] ---> 86de565de09d [2023-11-14T18:42:34.176Z] Step 3/10 : ARG MAKE=make build [2023-11-14T18:42:35.623Z] ---> Running in a4c8bdf751eb [2023-11-14T18:42:35.894Z] Removing intermediate container a4c8bdf751eb [2023-11-14T18:42:35.894Z] ---> 31cd0e6900f6 [2023-11-14T18:42:35.894Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-14T18:42:36.167Z] ---> Running in 5e0e54414977 [2023-11-14T18:42:36.435Z] Removing intermediate container 5e0e54414977 [2023-11-14T18:42:36.435Z] ---> 20a06da1f1b0 [2023-11-14T18:42:36.435Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-14T18:42:36.435Z] ---> Running in 9bad6a9e4e00 [2023-11-14T18:42:36.712Z] Removing intermediate container 9bad6a9e4e00 [2023-11-14T18:42:36.713Z] ---> 24d2d6d85acc [2023-11-14T18:42:36.713Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-14T18:42:36.981Z] ---> Running in 119fdb24d3ae [2023-11-14T18:42:37.950Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:42:38.547Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:42:39.959Z] OK: 266 MiB in 52 packages [2023-11-14T18:42:40.545Z] Removing intermediate container 119fdb24d3ae [2023-11-14T18:42:40.545Z] ---> 621792bf6741 [2023-11-14T18:42:40.545Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-14T18:42:41.131Z] ---> 4d18e03766ef [2023-11-14T18:42:41.131Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:42:41.131Z] ---> Running in 84dd07713dcb [2023-11-14T18:44:02.785Z] Removing intermediate container 84dd07713dcb [2023-11-14T18:44:02.785Z] ---> 59ecf18dbc27 [2023-11-14T18:44:02.785Z] Step 9/10 : COPY . . [2023-11-14T18:44:02.785Z] ---> 89900b0f3cac [2023-11-14T18:44:02.785Z] Step 10/10 : RUN ${MAKE} [2023-11-14T18:44:02.785Z] ---> Running in c9d11b64da8e [2023-11-14T18:44:02.785Z] noop [2023-11-14T18:44:02.785Z] Removing intermediate container c9d11b64da8e [2023-11-14T18:44:02.785Z] ---> 11e91d90f7da [2023-11-14T18:44:02.785Z] Successfully built 11e91d90f7da [2023-11-14T18:44:02.785Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:44:03.269Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:44:03.269Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:44:03.565Z] prd-ubuntu20.04-docker-arm64-4c-16g-17512 does not seem to be running inside a container [2023-11-14T18:44:03.635Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T18:44:04.920Z] $ docker top fcf56e28ca5d1fa18c5da8063b83e8d0a0a90a66bf36a9ac8a86ea5f2304e480 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:44:05.816Z] + go version [2023-11-14T18:44:05.816Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-14T18:44:05.853Z] $ docker stop --time=1 fcf56e28ca5d1fa18c5da8063b83e8d0a0a90a66bf36a9ac8a86ea5f2304e480 [2023-11-14T18:44:07.548Z] $ docker rm -f --volumes fcf56e28ca5d1fa18c5da8063b83e8d0a0a90a66bf36a9ac8a86ea5f2304e480 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:44:08.457Z] + docker inspect -f . ci-base-image-arm64 [2023-11-14T18:44:08.457Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:44:08.755Z] prd-ubuntu20.04-docker-arm64-4c-16g-17512 does not seem to be running inside a container [2023-11-14T18:44:08.834Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-14T18:44:10.158Z] $ docker top 2236ce78bc662f53223bdfe248c4bb5334d1677f8090be2448ed0d576a610bff -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:44:11.059Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-11-14T18:44:11.797Z] + make test [2023-11-14T18:44:11.797Z] go test -race -coverprofile=coverage.out ./... [2023-11-14T18:44:58.662Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-14T18:46:50.343Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-14T18:46:50.343Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-14T18:46:50.343Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-14T18:46:50.343Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-14T18:46:50.343Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-14T18:46:53.702Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.230s coverage: 27.6% of statements [2023-11-14T18:47:03.794Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.302s coverage: 81.5% of statements [2023-11-14T18:47:13.988Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-14T18:47:13.988Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-14T18:47:13.988Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.374s coverage: 86.0% of statements [2023-11-14T18:47:19.357Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-14T18:47:20.769Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.452s coverage: 71.8% of statements [2023-11-14T18:47:24.118Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.290s coverage: 14.4% of statements [2023-11-14T18:47:24.118Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.980s coverage: 45.9% of statements [2023-11-14T18:47:24.702Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-14T18:47:24.702Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-14T18:47:26.110Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.398s coverage: 68.5% of statements [2023-11-14T18:47:28.692Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.439s coverage: 89.2% of statements [2023-11-14T18:47:29.662Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-14T18:47:31.068Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.244s coverage: 5.5% of statements [2023-11-14T18:47:31.655Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-14T18:47:31.655Z] GO111MODULE=on go vet ./... [2023-11-14T18:49:23.346Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-14T18:49:23.346Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-14T18:49:23.346Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-14T18:49:23.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-14T18:49:23.417Z] $ docker stop --time=1 2236ce78bc662f53223bdfe248c4bb5334d1677f8090be2448ed0d576a610bff [2023-11-14T18:49:25.344Z] $ docker rm -f --volumes 2236ce78bc662f53223bdfe248c4bb5334d1677f8090be2448ed0d576a610bff [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-14T18:49:27.093Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-14T18:49:27.130Z] Warning: overwriting stash ‘coverage-report’ [2023-11-14T18:49:27.855Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-14T18:49:28.454Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-14T18:49:28.801Z] + ls -al . [2023-11-14T18:49:28.801Z] total 304 [2023-11-14T18:49:28.801Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 14 18:44 . [2023-11-14T18:49:28.801Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:41 .. [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 14 18:41 .dockerignore [2023-11-14T18:49:28.801Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 14 18:41 .git [2023-11-14T18:49:28.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:41 .github [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 14 18:41 .gitignore [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 14 18:41 .golangci.yml [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 14 18:41 CHANGELOG.md [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 14 18:41 GOVERNANCE.md [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 14 18:41 Jenkinsfile [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 14 18:41 LICENSE [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 14 18:41 Makefile [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 14 18:41 OWNERS.md [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 14 18:41 README.md [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 14 18:38 VERSION [2023-11-14T18:49:28.801Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 14 18:41 bin [2023-11-14T18:49:28.801Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 14 18:47 coverage.out [2023-11-14T18:49:28.801Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 14 18:41 example [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 14 18:41 go.mod [2023-11-14T18:49:28.801Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 14 18:41 go.sum [2023-11-14T18:49:28.801Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 14 18:41 internal [2023-11-14T18:49:28.801Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 14 18:41 openapi [2023-11-14T18:49:28.801Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 14 18:41 pkg [2023-11-14T18:49:28.802Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 14 18:41 snap [2023-11-14T18:49:28.802Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 14 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:49:29.242Z] + 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=bb3b780b49bdb40d95a497fa6cff623f428380a1 --label arch=arm64 --label version=0.0.0 . [2023-11-14T18:49:29.829Z] Sending build context to Docker daemon 11.5MB [2023-11-14T18:49:29.829Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-14T18:49:29.829Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-14T18:49:29.829Z] ---> 11e91d90f7da [2023-11-14T18:49:29.829Z] Step 3/24 : ARG MAKE=make build [2023-11-14T18:49:30.096Z] ---> Running in 99e574f59b86 [2023-11-14T18:49:30.374Z] Removing intermediate container 99e574f59b86 [2023-11-14T18:49:30.374Z] ---> 74a7888d2f4d [2023-11-14T18:49:30.374Z] Step 4/24 : WORKDIR /device-sdk-go [2023-11-14T18:49:30.374Z] ---> Running in fb148b983c84 [2023-11-14T18:49:30.642Z] Removing intermediate container fb148b983c84 [2023-11-14T18:49:30.642Z] ---> 6ef39c056ec9 [2023-11-14T18:49:30.642Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-14T18:49:30.910Z] ---> Running in 1a61adbca4a1 [2023-11-14T18:49:31.179Z] Removing intermediate container 1a61adbca4a1 [2023-11-14T18:49:31.179Z] ---> 4dc1fd0595e7 [2023-11-14T18:49:31.179Z] Step 6/24 : RUN apk add --update --no-cache make git [2023-11-14T18:49:31.179Z] ---> Running in c4d5bfb3af84 [2023-11-14T18:49:32.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:49:32.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:49:34.025Z] OK: 266 MiB in 52 packages [2023-11-14T18:49:35.004Z] Removing intermediate container c4d5bfb3af84 [2023-11-14T18:49:35.004Z] ---> 02b28bbc463c [2023-11-14T18:49:35.004Z] Step 7/24 : COPY go.mod vendor* ./ [2023-11-14T18:49:35.272Z] ---> 786f4f837de2 [2023-11-14T18:49:35.272Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-14T18:49:35.540Z] ---> Running in df72614983c7 [2023-11-14T18:49:37.499Z] Removing intermediate container df72614983c7 [2023-11-14T18:49:37.499Z] ---> a05b99643109 [2023-11-14T18:49:37.499Z] Step 9/24 : COPY . . [2023-11-14T18:49:38.910Z] ---> 1eb6a39b63ba [2023-11-14T18:49:38.910Z] Step 10/24 : RUN ${MAKE} [2023-11-14T18:49:39.185Z] ---> Running in 9a2bf131d376 [2023-11-14T18:49:40.147Z] 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-14T18:51:46.838Z] Removing intermediate container 9a2bf131d376 [2023-11-14T18:51:46.838Z] ---> fb2b345d41ab [2023-11-14T18:51:46.838Z] Step 11/24 : FROM alpine:3.18 [2023-11-14T18:51:47.427Z] 3.18: Pulling from library/alpine [2023-11-14T18:51:47.427Z] 579b34f0a95b: Pulling fs layer [2023-11-14T18:51:47.696Z] 579b34f0a95b: Verifying Checksum [2023-11-14T18:51:47.696Z] 579b34f0a95b: Download complete [2023-11-14T18:51:48.661Z] 579b34f0a95b: Pull complete [2023-11-14T18:51:48.661Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-14T18:51:48.661Z] Status: Downloaded newer image for alpine:3.18 [2023-11-14T18:51:48.661Z] ---> 3cc203321400 [2023-11-14T18:51:48.661Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-14T18:51:48.661Z] ---> Running in aa0471f1f079 [2023-11-14T18:51:48.927Z] Removing intermediate container aa0471f1f079 [2023-11-14T18:51:48.927Z] ---> ba85219485b6 [2023-11-14T18:51:48.927Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2023-11-14T18:51:48.927Z] ---> Running in 32ef366d5f45 [2023-11-14T18:51:50.358Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:51:50.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:51:52.039Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-14T18:51:52.039Z] Executing busybox-1.36.1-r2.trigger [2023-11-14T18:51:52.039Z] OK: 8 MiB in 16 packages [2023-11-14T18:51:53.001Z] Removing intermediate container 32ef366d5f45 [2023-11-14T18:51:53.001Z] ---> f3b134356312 [2023-11-14T18:51:53.001Z] Step 14/24 : RUN apk --no-cache upgrade [2023-11-14T18:51:53.001Z] ---> Running in 297cd4e0c8cd [2023-11-14T18:51:53.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-14T18:51:54.551Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-14T18:51:55.520Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:51:55.520Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:51:55.791Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-14T18:51:55.791Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:51:55.791Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:51:55.791Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-14T18:51:55.791Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-14T18:51:55.791Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-14T18:51:55.791Z] Executing busybox-1.36.1-r5.trigger [2023-11-14T18:51:55.791Z] OK: 8 MiB in 16 packages [2023-11-14T18:51:57.312Z] Removing intermediate container 297cd4e0c8cd [2023-11-14T18:51:57.312Z] ---> 5b9f9c1ea3f0 [2023-11-14T18:51:57.312Z] Step 15/24 : WORKDIR / [2023-11-14T18:51:57.312Z] ---> Running in 283ff656e879 [2023-11-14T18:51:57.594Z] Removing intermediate container 283ff656e879 [2023-11-14T18:51:57.594Z] ---> 128361d26f02 [2023-11-14T18:51:57.594Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-14T18:51:58.194Z] ---> 47018f17c6cc [2023-11-14T18:51:58.194Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-14T18:52:00.204Z] ---> 0e3b7867daf9 [2023-11-14T18:52:00.204Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-14T18:52:00.477Z] ---> aab8dad32dfb [2023-11-14T18:52:00.477Z] Step 19/24 : EXPOSE 59999 [2023-11-14T18:52:00.477Z] ---> Running in 77bfb9f0fa8c [2023-11-14T18:52:00.792Z] Removing intermediate container 77bfb9f0fa8c [2023-11-14T18:52:00.792Z] ---> b83b3284102c [2023-11-14T18:52:00.792Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2023-11-14T18:52:01.068Z] ---> Running in 1609cdb99571 [2023-11-14T18:52:01.342Z] Removing intermediate container 1609cdb99571 [2023-11-14T18:52:01.342Z] ---> 63fcec222aeb [2023-11-14T18:52:01.342Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-14T18:52:01.342Z] ---> Running in 542f5ba12138 [2023-11-14T18:52:01.613Z] Removing intermediate container 542f5ba12138 [2023-11-14T18:52:01.613Z] ---> d7da1db8264c [2023-11-14T18:52:01.613Z] Step 22/24 : LABEL arch=arm64 [2023-11-14T18:52:01.881Z] ---> Running in 7ae09f1d46eb [2023-11-14T18:52:02.150Z] Removing intermediate container 7ae09f1d46eb [2023-11-14T18:52:02.150Z] ---> a13893ed56b7 [2023-11-14T18:52:02.150Z] Step 23/24 : LABEL git_sha=bb3b780b49bdb40d95a497fa6cff623f428380a1 [2023-11-14T18:52:02.150Z] ---> Running in 8832c4827209 [2023-11-14T18:52:02.735Z] Removing intermediate container 8832c4827209 [2023-11-14T18:52:02.735Z] ---> 4c53f1f680d7 [2023-11-14T18:52:02.735Z] Step 24/24 : LABEL version=0.0.0 [2023-11-14T18:52:02.735Z] ---> Running in acefb1aaac99 [2023-11-14T18:52:03.003Z] Removing intermediate container acefb1aaac99 [2023-11-14T18:52:03.003Z] ---> 26176cb10076 [2023-11-14T18:52:03.003Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-14T18:52:03.003Z] Successfully built 26176cb10076 [2023-11-14T18:52:03.003Z] 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-14T18:52:03.802Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:52:03.802Z] [2023-11-14T18:52:03.802Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:52:04.216Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:52:07.558Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-14T18:52:07.558Z] 8998bd30e6a1: Pulling fs layer [2023-11-14T18:52:07.558Z] 04944245beec: Pulling fs layer [2023-11-14T18:52:07.558Z] 699f458cf7ca: Pulling fs layer [2023-11-14T18:52:07.558Z] 765212b225bb: Pulling fs layer [2023-11-14T18:52:07.558Z] f23df028b6ca: Pulling fs layer [2023-11-14T18:52:07.558Z] d65c8cfc05b1: Pulling fs layer [2023-11-14T18:52:07.558Z] 2437ff75d9bd: Pulling fs layer [2023-11-14T18:52:07.558Z] 765212b225bb: Waiting [2023-11-14T18:52:07.558Z] f23df028b6ca: Waiting [2023-11-14T18:52:07.558Z] d65c8cfc05b1: Waiting [2023-11-14T18:52:07.558Z] 2437ff75d9bd: Waiting [2023-11-14T18:52:07.558Z] 04944245beec: Verifying Checksum [2023-11-14T18:52:07.558Z] 04944245beec: Download complete [2023-11-14T18:52:07.558Z] 765212b225bb: Verifying Checksum [2023-11-14T18:52:07.558Z] 765212b225bb: Download complete [2023-11-14T18:52:07.558Z] f23df028b6ca: Verifying Checksum [2023-11-14T18:52:07.558Z] f23df028b6ca: Download complete [2023-11-14T18:52:07.558Z] d65c8cfc05b1: Verifying Checksum [2023-11-14T18:52:07.558Z] d65c8cfc05b1: Download complete [2023-11-14T18:52:07.826Z] 699f458cf7ca: Verifying Checksum [2023-11-14T18:52:07.826Z] 699f458cf7ca: Download complete [2023-11-14T18:52:08.094Z] 8998bd30e6a1: Verifying Checksum [2023-11-14T18:52:08.094Z] 8998bd30e6a1: Download complete [2023-11-14T18:52:10.679Z] 2437ff75d9bd: Verifying Checksum [2023-11-14T18:52:10.679Z] 2437ff75d9bd: Download complete [2023-11-14T18:52:13.260Z] 8998bd30e6a1: Pull complete [2023-11-14T18:52:13.526Z] 04944245beec: Pull complete [2023-11-14T18:52:14.935Z] 699f458cf7ca: Pull complete [2023-11-14T18:52:15.203Z] 765212b225bb: Pull complete [2023-11-14T18:52:16.164Z] f23df028b6ca: Pull complete [2023-11-14T18:52:16.432Z] d65c8cfc05b1: Pull complete [2023-11-14T18:52:38.497Z] 2437ff75d9bd: Pull complete [2023-11-14T18:52:38.497Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-14T18:52:38.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-14T18:52:38.497Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:52:38.842Z] prd-ubuntu20.04-docker-arm64-4c-16g-17512 does not seem to be running inside a container [2023-11-14T18:52:38.924Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-14T18:52:42.265Z] $ docker top a4858c1c86188d109ca68d572b93fb83a1c7b14d8e7cd2d4804dae28cc431e04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:52:43.222Z] ---> job-cost.sh [2023-11-14T18:52:43.222Z] lf-activate-venv: SKIPPING [2023-11-14T18:52:43.222Z] INFO: No Stack... [2023-11-14T18:52:43.807Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-14T18:52:44.772Z] INFO: Archiving Costs [Pipeline] sh [2023-11-14T18:52:45.450Z] + + cutcat -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 [2023-11-14T18:52:45.450Z] [Pipeline] lock [2023-11-14T18:52:45.559Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] [2023-11-14T18:52:45.564Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] did not exist. Created. [2023-11-14T18:52:45.564Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-14T18:52:46.313Z] /w/workspace/device-sdk-go/1@tmp/durable-9dd14be1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-14T18:52:46.857Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-14T18:52:46.892Z] Warning: overwriting stash ‘stack-cost’ [2023-11-14T18:52:46.985Z] Stashed 1 file(s) [Pipeline] } [2023-11-14T18:52:47.001Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-14T18:52:47.110Z] $ docker stop --time=1 a4858c1c86188d109ca68d572b93fb83a1c7b14d8e7cd2d4804dae28cc431e04 [2023-11-14T18:52:51.289Z] $ docker rm -f --volumes a4858c1c86188d109ca68d572b93fb83a1c7b14d8e7cd2d4804dae28cc431e04 [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-14T18:52:52.341Z] provisioning config files... [2023-11-14T18:52:52.349Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config13250037864281172115tmp [Pipeline] { [Pipeline] sh [2023-11-14T18:52:52.689Z] + set +x [2023-11-14T18:52:52.689Z] + curl -s https://codecov.io/bash [2023-11-14T18:52:52.689Z] + bash -s -- [2023-11-14T18:52:52.689Z] [2023-11-14T18:52:52.689Z] _____ _ [2023-11-14T18:52:52.689Z] / ____| | | [2023-11-14T18:52:52.689Z] | | ___ __| | ___ ___ _____ __ [2023-11-14T18:52:52.689Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-14T18:52:52.689Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-14T18:52:52.689Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-14T18:52:52.689Z] Bash-1.0.6 [2023-11-14T18:52:52.689Z] [2023-11-14T18:52:52.689Z] [2023-11-14T18:52:52.689Z] ==> git version 2.25.1 found [2023-11-14T18:52:52.689Z] ==> 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-14T18:52:52.689Z] Release-Date: 2020-01-08 [2023-11-14T18:52:52.689Z] 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-14T18:52:52.689Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-14T18:52:52.689Z] ==> Jenkins CI detected. [2023-11-14T18:52:52.689Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-11-14T18:52:52.689Z] project root: . [2023-11-14T18:52:52.689Z] --> token set from env [2023-11-14T18:52:52.689Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-14T18:52:52.689Z] ==> Running gcov in . (disable via -X gcov) [2023-11-14T18:52:52.689Z] ==> Python coveragepy not found [2023-11-14T18:52:52.689Z] ==> Searching for coverage reports in: [2023-11-14T18:52:52.689Z] + . [2023-11-14T18:52:52.689Z] -> Found 1 reports [2023-11-14T18:52:52.689Z] ==> Detecting git/mercurial file structure [2023-11-14T18:52:52.689Z] ==> Reading reports [2023-11-14T18:52:52.689Z] + ./coverage.out bytes=122153 [2023-11-14T18:52:52.689Z] ==> Appending adjustments [2023-11-14T18:52:52.689Z] https://docs.codecov.io/docs/fixing-reports [2023-11-14T18:52:53.262Z] + Found adjustments [2023-11-14T18:52:53.262Z] ==> Gzipping contents [2023-11-14T18:52:53.262Z] 20K /tmp/codecov.J9jjvx.gz [2023-11-14T18:52:53.262Z] ==> Uploading reports [2023-11-14T18:52:53.262Z] url: https://codecov.io [2023-11-14T18:52:53.262Z] query: branch=PR-1540&commit=bb3b780b49bdb40d95a497fa6cff623f428380a1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-11-14T18:52:53.262Z] -> Pinging Codecov [2023-11-14T18:52:53.262Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1540&commit=bb3b780b49bdb40d95a497fa6cff623f428380a1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-11-14T18:52:53.262Z] -> Uploading to [2023-11-14T18:52:53.262Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-14/7E55EF52A471D76F132DFD9A03CDDE97/bb3b780b49bdb40d95a497fa6cff623f428380a1/3f1776f6-6e8c-407c-aeee-816dbb213094.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231114%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231114T185253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=558bbc24ab9d347a338be20ff0dc167737d6927f4d3e4635efc85dd9ab8465e8 [2023-11-14T18:52:53.262Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-14T18:52:53.262Z] Dload Upload Total Spent Left Speed [2023-11-14T18:52:53.522Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 69202 --:--:-- --:--:-- --:--:-- 69202 [2023-11-14T18:52:53.522Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bb3b780b49bdb40d95a497fa6cff623f428380a1 [Pipeline] } [2023-11-14T18:52:53.549Z] 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-14T18:52:55.364Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] [2023-11-14T18:52:55.364Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-11-14T18:52:55.364Z] total 16 [2023-11-14T18:52:55.364Z] drwxr-xr-x 3 root root 4096 Nov 14 18:41 . [2023-11-14T18:52:55.364Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 14 18:41 .. [2023-11-14T18:52:55.364Z] drwxr-xr-x 2 root root 4096 Nov 14 18:41 cost [2023-11-14T18:52:55.364Z] -rw-r--r-- 1 root root 86 Nov 14 18:41 cost.csv [2023-11-14T18:52:55.364Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-11-14T18:52:55.364Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-11-14T18:52:55.364Z] total 16 [2023-11-14T18:52:55.364Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 14 18:41 . [2023-11-14T18:52:55.364Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 14 18:41 .. [2023-11-14T18:52:55.364Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 14 18:41 cost [2023-11-14T18:52:55.364Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 14 18:41 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:52:55.706Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:52:56.600Z] ---> package-listing.sh [2023-11-14T18:52:56.600Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-14T18:52:56.600Z] ++ facter osfamily [2023-11-14T18:52:56.861Z] + OS_FAMILY=debian [2023-11-14T18:52:56.861Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-11-14T18:52:56.861Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-14T18:52:56.861Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-14T18:52:56.861Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-14T18:52:56.861Z] + PACKAGES=/tmp/packages_start.txt [2023-11-14T18:52:56.861Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-11-14T18:52:56.861Z] + PACKAGES=/tmp/packages_end.txt [2023-11-14T18:52:56.861Z] + case "${OS_FAMILY}" in [2023-11-14T18:52:56.861Z] + dpkg -l [2023-11-14T18:52:56.861Z] + grep '^ii' [2023-11-14T18:52:56.861Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-14T18:52:56.861Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-14T18:52:56.861Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-14T18:52:56.861Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-11-14T18:52:56.861Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [2023-11-14T18:52:56.861Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo [2023-11-14T18:52:56.901Z] 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-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-14T18:52:57.196Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-14T18:52:57.830Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-14T18:52:57.830Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-14T18:52:57.989Z] prd-ubuntu20.04-docker-8c-8g-17509 does not seem to be running inside a container [2023-11-14T18:52:58.021Z] $ 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-1540/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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-14T18:52:58.200Z] $ docker top 7256f998131232157aa216ca85b1bd5063931de42bb974ce2819ff72dfc66519 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-14T18:52:58.614Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-14T18:52:58.922Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-14T18:52:59.231Z] + ls /var/log/sa-host [2023-11-14T18:52:59.232Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-14T18:52:59.380Z] provisioning config files... [2023-11-14T18:52:59.393Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config16817749849339328751tmp [Pipeline] { [Pipeline] echo [2023-11-14T18:52:59.449Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:52:59.764Z] ---> create-netrc.sh [Pipeline] } [2023-11-14T18:52:59.799Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:53:00.210Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-14T18:53:00.244Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:53:00.555Z] ---> sudo-logs.sh [2023-11-14T18:53:00.555Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-14T18:53:00.664Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:53:00.974Z] ---> job-cost.sh [2023-11-14T18:53:00.974Z] lf-activate-venv: SKIPPING [2023-11-14T18:53:00.974Z] DEBUG: total: 0.2199999988079071 [2023-11-14T18:53:00.974Z] INFO: Retrieving Stack Cost... [2023-11-14T18:53:01.234Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-14T18:53:01.803Z] INFO: Archiving Costs [Pipeline] echo [2023-11-14T18:53:01.846Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-14T18:53:02.159Z] ---> logs-deploy.sh [2023-11-14T18:53:02.159Z] lf-activate-venv: SKIPPING [2023-11-14T18:53:02.159Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/1 [2023-11-14T18:53:02.159Z] INFO: archiving workspace using pattern(s): [2023-11-14T18:53:03.099Z] Archives upload complete. [2023-11-14T18:53:03.099Z] INFO: archiving logs to Nexus