Pull request #1550 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fda592ce02a7c523567b60eaa4d22a875e8ea560+4eb5e29dea1939910f88077e170bd5bcfca266de (bd484f2da8e7516b7bc128baf3fc4c5b5083f31f) 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-ssh15376414814157326392.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17232127104114656809.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1550/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-1550/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18085091834870591412.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-1550/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2952822213640416861.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4922858878624919834.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-1550/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-1550/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8419044989461100656.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-26225’ Running on prd-ubuntu20.04-docker-8c-8g-26227 in /w/workspace/gexfoundry_device-sdk-go_PR-1550 [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-1550 # 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/1550/head:refs/remotes/origin/PR-1550 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit fda592ce02a7c523567b60eaa4d22a875e8ea560 Merge succeeded, producing fda592ce02a7c523567b60eaa4d22a875e8ea560 Checking out Revision fda592ce02a7c523567b60eaa4d22a875e8ea560 (PR-1550) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-12-27T04:19:04.317Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f fda592ce02a7c523567b60eaa4d22a875e8ea560 # 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 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f fda592ce02a7c523567b60eaa4d22a875e8ea560 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-12-27T04:19:04.559Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-12-27T04:19:04.721Z] ========================================================= [2023-12-27T04:19:04.722Z] EdgeX Global Pipelines Version Info [2023-12-27T04:19:04.722Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:19:05.879Z] ------------------- [2023-12-27T04:19:05.879Z] stable info: [2023-12-27T04:19:05.879Z] ------------------- [2023-12-27T04:19:05.879Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-12-27T04:19:05.879Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-27T04:19:05.879Z] Message: update stable to v1.0.258 [2023-12-27T04:19:06.446Z] ------------------- [2023-12-27T04:19:06.446Z] experimental info: [2023-12-27T04:19:06.446Z] ------------------- [2023-12-27T04:19:06.446Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-12-27T04:19:06.446Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-27T04:19:06.446Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-12-27T04:19:06.659Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-12-27T04:19:06.720Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-12-27T04:19:06.778Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-12-27T04:19:06.840Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-12-27T04:19:06.903Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-12-27T04:19:07.069Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-12-27T04:19:07.162Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-12-27T04:19:07.228Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-12-27T04:19:07.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-12-27T04:19:07.369Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-12-27T04:19:07.444Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-12-27T04:19:07.513Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-12-27T04:19:07.576Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-12-27T04:19:07.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-12-27T04:19:07.713Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-12-27T04:19:07.781Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-12-27T04:19:07.852Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-12-27T04:19:07.926Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-12-27T04:19:07.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-12-27T04:19:08.062Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-12-27T04:19:08.135Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-12-27T04:19:08.207Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-12-27T04:19:08.286Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-12-27T04:19:08.432Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-12-27T04:19:08.503Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-12-27T04:19:08.577Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-12-27T04:19:08.651Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-12-27T04:19:08.726Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1550 [Pipeline] echo [2023-12-27T04:19:08.802Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1550 [Pipeline] echo [2023-12-27T04:19:08.885Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1550 [Pipeline] echo [2023-12-27T04:19:08.959Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fda592ce02a7c523567b60eaa4d22a875e8ea560 [Pipeline] echo [2023-12-27T04:19:09.032Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fda592c [Pipeline] echo [2023-12-27T04:19:09.104Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-27T04:19:09.270Z] provisioning config files... [2023-12-27T04:19:09.285Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/config7071699005854526388tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:19:09.695Z] ---> ****-login.sh [2023-12-27T04:19:09.695Z] nexus3.edgexfoundry.org:10001 [2023-12-27T04:19:11.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:19:11.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:19:11.606Z] Configure a credential helper to remove this warning. See [2023-12-27T04:19:11.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:19:11.606Z] [2023-12-27T04:19:11.606Z] Login Succeeded [2023-12-27T04:19:11.606Z] nexus3.edgexfoundry.org:10002 [2023-12-27T04:19:11.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:19:11.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:19:11.606Z] Configure a credential helper to remove this warning. See [2023-12-27T04:19:11.606Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:19:11.606Z] [2023-12-27T04:19:11.606Z] Login Succeeded [2023-12-27T04:19:11.606Z] nexus3.edgexfoundry.org:10003 [2023-12-27T04:19:11.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:19:11.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:19:11.866Z] Configure a credential helper to remove this warning. See [2023-12-27T04:19:11.866Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:19:11.866Z] [2023-12-27T04:19:11.866Z] Login Succeeded [2023-12-27T04:19:11.867Z] nexus3.edgexfoundry.org:10004 [2023-12-27T04:19:11.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:19:11.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:19:11.867Z] Configure a credential helper to remove this warning. See [2023-12-27T04:19:11.867Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:19:11.867Z] [2023-12-27T04:19:11.867Z] Login Succeeded [2023-12-27T04:19:11.867Z] ****.io [2023-12-27T04:19:12.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:19:12.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:19:12.128Z] Configure a credential helper to remove this warning. See [2023-12-27T04:19:12.128Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:19:12.128Z] [2023-12-27T04:19:12.128Z] Login Succeeded [2023-12-27T04:19:12.128Z] ---> ****-login.sh ends [Pipeline] } [2023-12-27T04:19:12.157Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-12-27T04:19:12.969Z] + git rev-list -1 --merges fda592ce02a7c523567b60eaa4d22a875e8ea560~1..fda592ce02a7c523567b60eaa4d22a875e8ea560 [Pipeline] echo [2023-12-27T04:19:13.009Z] -----------> git rev-list -1 --merges fda592ce02a7c523567b60eaa4d22a875e8ea560~1..fda592ce02a7c523567b60eaa4d22a875e8ea560 fda592ce02a7c523567b60eaa4d22a875e8ea560 [false] [Pipeline] sh [2023-12-27T04:19:13.341Z] + git log --format=format:%s -1 fda592ce02a7c523567b60eaa4d22a875e8ea560 [Pipeline] echo [2023-12-27T04:19:13.378Z] ========================================================= [2023-12-27T04:19:13.378Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-12-27T04:19:13.378Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-27T04:19:13.953Z] + git log --format=format:%s -1 fda592ce02a7c523567b60eaa4d22a875e8ea560 [Pipeline] echo [2023-12-27T04:19:13.991Z] [semverPrep] GIT_COMMIT: fda592ce02a7c523567b60eaa4d22a875e8ea560, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-12-27T04:19:14.045Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-12-27T04:19:14.460Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-12-27T04:19:14.460Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-12-27T04:19:14.460Z] + [ -e /tmp/ssh_known_hosts ] [2023-12-27T04:19:14.460Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-12-27T04:19:14.460Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-12-27T04:19:14.460Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-12-27T04:19:14.460Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:19:14.974Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-27T04:19:14.974Z] [2023-12-27T04:19:14.974Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:19:15.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-27T04:19:15.948Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-12-27T04:19:15.948Z] b85a868b505f: Pulling fs layer [2023-12-27T04:19:15.948Z] e2be974225ed: Pulling fs layer [2023-12-27T04:19:15.948Z] 339a4e72a1f5: Pulling fs layer [2023-12-27T04:19:15.948Z] 988bab9f4d93: Pulling fs layer [2023-12-27T04:19:15.948Z] 1469e6f7b9e6: Pulling fs layer [2023-12-27T04:19:15.948Z] eaf3925da568: Pulling fs layer [2023-12-27T04:19:15.948Z] bab4dde63d76: Pulling fs layer [2023-12-27T04:19:15.948Z] bde34c3a00c8: Pulling fs layer [2023-12-27T04:19:15.948Z] b352a97aabf1: Pulling fs layer [2023-12-27T04:19:15.948Z] 4872d77fe225: Pulling fs layer [2023-12-27T04:19:15.948Z] 5851b861e8e6: Pulling fs layer [2023-12-27T04:19:15.948Z] 1469e6f7b9e6: Waiting [2023-12-27T04:19:15.948Z] eaf3925da568: Waiting [2023-12-27T04:19:15.948Z] 988bab9f4d93: Waiting [2023-12-27T04:19:15.948Z] bab4dde63d76: Waiting [2023-12-27T04:19:15.948Z] b352a97aabf1: Waiting [2023-12-27T04:19:15.948Z] bde34c3a00c8: Waiting [2023-12-27T04:19:15.948Z] 4872d77fe225: Waiting [2023-12-27T04:19:15.948Z] 5851b861e8e6: Waiting [2023-12-27T04:19:15.948Z] e2be974225ed: Verifying Checksum [2023-12-27T04:19:15.948Z] e2be974225ed: Download complete [2023-12-27T04:19:15.948Z] 988bab9f4d93: Download complete [2023-12-27T04:19:15.948Z] 1469e6f7b9e6: Verifying Checksum [2023-12-27T04:19:15.948Z] 1469e6f7b9e6: Download complete [2023-12-27T04:19:15.948Z] eaf3925da568: Download complete [2023-12-27T04:19:15.949Z] 339a4e72a1f5: Verifying Checksum [2023-12-27T04:19:15.949Z] 339a4e72a1f5: Download complete [2023-12-27T04:19:15.949Z] bde34c3a00c8: Download complete [2023-12-27T04:19:16.207Z] b352a97aabf1: Verifying Checksum [2023-12-27T04:19:16.207Z] b352a97aabf1: Download complete [2023-12-27T04:19:16.207Z] 4872d77fe225: Verifying Checksum [2023-12-27T04:19:16.207Z] 4872d77fe225: Download complete [2023-12-27T04:19:16.207Z] 5851b861e8e6: Verifying Checksum [2023-12-27T04:19:16.207Z] 5851b861e8e6: Download complete [2023-12-27T04:19:16.207Z] b85a868b505f: Verifying Checksum [2023-12-27T04:19:16.207Z] b85a868b505f: Download complete [2023-12-27T04:19:16.467Z] bab4dde63d76: Verifying Checksum [2023-12-27T04:19:16.467Z] bab4dde63d76: Download complete [2023-12-27T04:19:17.404Z] b85a868b505f: Pull complete [2023-12-27T04:19:18.018Z] e2be974225ed: Pull complete [2023-12-27T04:19:18.957Z] 339a4e72a1f5: Pull complete [2023-12-27T04:19:19.225Z] 988bab9f4d93: Pull complete [2023-12-27T04:19:19.794Z] 1469e6f7b9e6: Pull complete [2023-12-27T04:19:20.054Z] eaf3925da568: Pull complete [2023-12-27T04:19:21.959Z] bab4dde63d76: Pull complete [2023-12-27T04:19:22.584Z] bde34c3a00c8: Pull complete [2023-12-27T04:19:23.154Z] b352a97aabf1: Pull complete [2023-12-27T04:19:23.414Z] 4872d77fe225: Pull complete [2023-12-27T04:19:23.674Z] 5851b861e8e6: Pull complete [2023-12-27T04:19:23.934Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-12-27T04:19:23.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-12-27T04:19:23.934Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-27T04:19:24.336Z] prd-ubuntu20.04-docker-8c-8g-26227 does not seem to be running inside a container [2023-12-27T04:19:24.374Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1550 -v /w/workspace/gexfoundry_device-sdk-go_PR-1550:/w/workspace/gexfoundry_device-sdk-go_PR-1550:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-12-27T04:19:32.606Z] $ docker top 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba -eo pid,comm [2023-12-27T04:19:32.723Z] 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-12-27T04:19:32.723Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-12-27T04:19:32.934Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-27T04:19:32.934Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-27T04:19:33.035Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-27T04:19:33.041Z] $ docker exec 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba ssh-agent [2023-12-27T04:19:33.182Z] SSH_AUTH_SOCK=/tmp/ssh-ztOQj6uVs9m9/agent.13 [2023-12-27T04:19:33.182Z] SSH_AGENT_PID=19 [2023-12-27T04:19:33.189Z] Running ssh-add (command line suppressed) [2023-12-27T04:19:33.289Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/private_key_3606645758957906633.key (/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/private_key_3606645758957906633.key) [2023-12-27T04:19:33.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-27T04:19:33.673Z] + git tag --points-at HEAD [Pipeline] } [2023-12-27T04:19:33.702Z] $ docker exec --env ******** --env ******** 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba ssh-agent -k [2023-12-27T04:19:33.805Z] unset SSH_AUTH_SOCK; [2023-12-27T04:19:33.805Z] unset SSH_AGENT_PID; [2023-12-27T04:19:33.805Z] echo Agent pid 19 killed; [2023-12-27T04:19:33.812Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-12-27T04:19:33.953Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-12-27T04:19:33.953Z] [ssh-agent] Looking for ssh-agent implementation... [2023-12-27T04:19:34.081Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-12-27T04:19:34.107Z] $ docker exec 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba ssh-agent [2023-12-27T04:19:34.204Z] SSH_AUTH_SOCK=/tmp/ssh-Q7E7Aei1UAKE/agent.69 [2023-12-27T04:19:34.204Z] SSH_AGENT_PID=75 [2023-12-27T04:19:34.209Z] Running ssh-add (command line suppressed) [2023-12-27T04:19:34.315Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/private_key_896752319728461444.key (/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/private_key_896752319728461444.key) [2023-12-27T04:19:34.326Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-12-27T04:19:34.692Z] + git semver init [2023-12-27T04:19:34.953Z] 2023-12-27 04:19:34,883 [run_init] DEBUG init version:0.0.0 force:False [2023-12-27T04:19:34.953Z] 2023-12-27 04:19:34,885 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver [2023-12-27T04:19:34.953Z] 2023-12-27 04:19:34,886 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver [2023-12-27T04:19:34.953Z] 2023-12-27 04:19:34,887 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1550, universal_newlines=False, shell=None, istream=None) [2023-12-27T04:19:36.854Z] 2023-12-27 04:19:36,476 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550/.git/info/exclude [2023-12-27T04:19:36.854Z] 2023-12-27 04:19:36,477 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver/PR-1550 with force:False [2023-12-27T04:19:36.854Z] 2023-12-27 04:19:36,477 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver/PR-1550 [2023-12-27T04:19:36.854Z] 2023-12-27 04:19:36,481 [execute] INFO git cat-file --batch-check [2023-12-27T04:19:36.854Z] 2023-12-27 04:19:36,482 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver, universal_newlines=False, shell=None, istream=) [2023-12-27T04:19:36.854Z] 2023-12-27 04:19:36,487 [execute] INFO git cat-file --batch [2023-12-27T04:19:36.854Z] 2023-12-27 04:19:36,488 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver, universal_newlines=False, shell=None, istream=) [2023-12-27T04:19:36.854Z] 2023-12-27 04:19:36,493 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1550/.semver/PR-1550 [2023-12-27T04:19:36.854Z] 0.0.0 [Pipeline] } [2023-12-27T04:19:36.883Z] $ docker exec --env ******** --env ******** 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba ssh-agent -k [2023-12-27T04:19:36.979Z] unset SSH_AUTH_SOCK; [2023-12-27T04:19:36.979Z] unset SSH_AGENT_PID; [2023-12-27T04:19:36.979Z] echo Agent pid 75 killed; [2023-12-27T04:19:36.987Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-12-27T04:19:37.529Z] + git semver [Pipeline] } [2023-12-27T04:19:37.818Z] $ docker stop --time=1 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba [2023-12-27T04:19:40.122Z] $ docker rm -f --volumes 85289fb37b1d0b513c05d94d71d1800621d4daab0ae5f1830384c863c0d00aba [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-27T04:19:40.612Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-12-27T04:19:40.988Z] Stashed 1 file(s) [Pipeline] echo [2023-12-27T04:19:41.008Z] [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-12-27T04:19:41.967Z] provisioning config files... [2023-12-27T04:19:41.977Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/config6422490260024681270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:19:42.392Z] ---> ****-login.sh [2023-12-27T04:19:42.393Z] nexus3.edgexfoundry.org:10001 [2023-12-27T04:19:42.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:19:42.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:19:42.393Z] Configure a credential helper to remove this warning. See [2023-12-27T04:19:42.393Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:19:42.393Z] [2023-12-27T04:19:42.393Z] Login Succeeded [2023-12-27T04:19:42.393Z] nexus3.edgexfoundry.org:10002 [2023-12-27T04:19:42.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:19:42.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:19:42.393Z] Configure a credential helper to remove this warning. See [2023-12-27T04:19:42.393Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:19:42.393Z] [2023-12-27T04:19:42.393Z] Login Succeeded [2023-12-27T04:19:42.393Z] nexus3.edgexfoundry.org:10003 [2023-12-27T04:19:42.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:19:42.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:19:42.652Z] Configure a credential helper to remove this warning. See [2023-12-27T04:19:42.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:19:42.652Z] [2023-12-27T04:19:42.652Z] Login Succeeded [2023-12-27T04:19:42.652Z] nexus3.edgexfoundry.org:10004 [2023-12-27T04:19:42.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:19:42.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:19:42.652Z] Configure a credential helper to remove this warning. See [2023-12-27T04:19:42.652Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:19:42.652Z] [2023-12-27T04:19:42.652Z] Login Succeeded [2023-12-27T04:19:42.652Z] ****.io [2023-12-27T04:19:42.913Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:19:42.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:19:42.913Z] Configure a credential helper to remove this warning. See [2023-12-27T04:19:42.913Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:19:42.913Z] [2023-12-27T04:19:42.913Z] Login Succeeded [2023-12-27T04:19:42.913Z] ---> ****-login.sh ends [Pipeline] } [2023-12-27T04:19:42.943Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-27T04:19:43.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-27T04:19:43.334Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-27T04:19:43.397Z] ========================================================= [2023-12-27T04:19:43.397Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-12-27T04:19:43.397Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:19:43.993Z] + 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-12-27T04:19:43.993Z] Sending build context to Docker daemon 21.92MB [2023-12-27T04:19:43.993Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-12-27T04:19:43.993Z] Step 2/10 : FROM ${BASE} AS builder [2023-12-27T04:19:44.254Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-12-27T04:19:44.254Z] 7264a8db6415: Pulling fs layer [2023-12-27T04:19:44.254Z] c4d48a809fc2: Pulling fs layer [2023-12-27T04:19:44.254Z] 4f1c88b9dad5: Pulling fs layer [2023-12-27T04:19:44.254Z] ad3a456e5733: Pulling fs layer [2023-12-27T04:19:44.254Z] 69c7f0334f64: Pulling fs layer [2023-12-27T04:19:44.254Z] 1f1c1a5573a3: Pulling fs layer [2023-12-27T04:19:44.254Z] ce7588e14bc9: Pulling fs layer [2023-12-27T04:19:44.254Z] b5e4710f87ac: Pulling fs layer [2023-12-27T04:19:44.254Z] 69c7f0334f64: Waiting [2023-12-27T04:19:44.254Z] ad3a456e5733: Waiting [2023-12-27T04:19:44.254Z] 1f1c1a5573a3: Waiting [2023-12-27T04:19:44.254Z] b5e4710f87ac: Waiting [2023-12-27T04:19:44.254Z] ce7588e14bc9: Waiting [2023-12-27T04:19:44.254Z] c4d48a809fc2: Download complete [2023-12-27T04:19:44.254Z] ad3a456e5733: Verifying Checksum [2023-12-27T04:19:44.254Z] ad3a456e5733: Download complete [2023-12-27T04:19:44.254Z] 69c7f0334f64: Verifying Checksum [2023-12-27T04:19:44.254Z] 69c7f0334f64: Download complete [2023-12-27T04:19:44.254Z] 7264a8db6415: Verifying Checksum [2023-12-27T04:19:44.254Z] 7264a8db6415: Download complete [2023-12-27T04:19:44.254Z] 1f1c1a5573a3: Verifying Checksum [2023-12-27T04:19:44.254Z] 1f1c1a5573a3: Download complete [2023-12-27T04:19:44.513Z] b5e4710f87ac: Verifying Checksum [2023-12-27T04:19:44.773Z] 7264a8db6415: Pull complete [2023-12-27T04:19:44.773Z] 4f1c88b9dad5: Verifying Checksum [2023-12-27T04:19:44.773Z] 4f1c88b9dad5: Download complete [2023-12-27T04:19:45.032Z] c4d48a809fc2: Pull complete [2023-12-27T04:19:45.291Z] ce7588e14bc9: Verifying Checksum [2023-12-27T04:19:45.291Z] ce7588e14bc9: Download complete [2023-12-27T04:19:48.578Z] 4f1c88b9dad5: Pull complete [2023-12-27T04:19:48.837Z] ad3a456e5733: Pull complete [2023-12-27T04:19:49.097Z] 69c7f0334f64: Pull complete [2023-12-27T04:19:49.667Z] 1f1c1a5573a3: Pull complete [2023-12-27T04:19:52.209Z] ce7588e14bc9: Pull complete [2023-12-27T04:19:52.777Z] b5e4710f87ac: Pull complete [2023-12-27T04:19:52.777Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-12-27T04:19:52.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-12-27T04:19:52.777Z] ---> 88b5674ff536 [2023-12-27T04:19:52.777Z] Step 3/10 : ARG MAKE=make build [2023-12-27T04:19:56.702Z] Still waiting to schedule task [2023-12-27T04:19:56.703Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-26226’ is offline [2023-12-27T04:20:02.790Z] ---> Running in f0e7a8a42450 [2023-12-27T04:20:02.790Z] Removing intermediate container f0e7a8a42450 [2023-12-27T04:20:02.790Z] ---> 0e0794d08bfe [2023-12-27T04:20:02.790Z] Step 4/10 : WORKDIR /device-sdk-go [2023-12-27T04:20:02.790Z] ---> Running in 4151aa90bb94 [2023-12-27T04:20:02.790Z] Removing intermediate container 4151aa90bb94 [2023-12-27T04:20:02.790Z] ---> 14d81cfbd344 [2023-12-27T04:20:02.790Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-27T04:20:02.790Z] ---> Running in 2cc45e484d6a [2023-12-27T04:20:02.790Z] Removing intermediate container 2cc45e484d6a [2023-12-27T04:20:02.790Z] ---> 2df22efc4d2c [2023-12-27T04:20:02.790Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-12-27T04:20:02.790Z] ---> Running in 8001ed7fe3fa [2023-12-27T04:20:02.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-27T04:20:03.049Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-27T04:20:03.308Z] OK: 264 MiB in 52 packages [2023-12-27T04:20:03.875Z] Removing intermediate container 8001ed7fe3fa [2023-12-27T04:20:03.875Z] ---> 8f49752847c2 [2023-12-27T04:20:03.875Z] Step 7/10 : COPY go.mod vendor* ./ [2023-12-27T04:20:04.133Z] ---> 61e569ded3bc [2023-12-27T04:20:04.133Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-27T04:20:04.392Z] ---> Running in cea4074a13f4 [2023-12-27T04:21:26.867Z] Removing intermediate container cea4074a13f4 [2023-12-27T04:21:26.867Z] ---> 3b34c84ad52f [2023-12-27T04:21:26.867Z] Step 9/10 : COPY . . [2023-12-27T04:21:26.867Z] ---> 324f8d774d44 [2023-12-27T04:21:26.867Z] Step 10/10 : RUN ${MAKE} [2023-12-27T04:21:26.867Z] ---> Running in b1f242dbd7f1 [2023-12-27T04:21:26.867Z] noop [2023-12-27T04:21:26.867Z] Removing intermediate container b1f242dbd7f1 [2023-12-27T04:21:26.867Z] ---> 529b6764d175 [2023-12-27T04:21:26.867Z] Successfully built 529b6764d175 [2023-12-27T04:21:26.867Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:21:27.431Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-27T04:21:27.431Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-27T04:21:27.660Z] prd-ubuntu20.04-docker-8c-8g-26227 does not seem to be running inside a container [2023-12-27T04:21:27.695Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1550 -v /w/workspace/gexfoundry_device-sdk-go_PR-1550:/w/workspace/gexfoundry_device-sdk-go_PR-1550:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-27T04:21:28.272Z] $ docker top 29548dbf8eb1aa71b9a9ce73311235085793dbfc2ae0a183cac1ae29b6ffb588 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-27T04:21:28.719Z] + go version [2023-12-27T04:21:28.720Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-12-27T04:21:28.754Z] $ docker stop --time=1 29548dbf8eb1aa71b9a9ce73311235085793dbfc2ae0a183cac1ae29b6ffb588 [2023-12-27T04:21:30.328Z] $ docker rm -f --volumes 29548dbf8eb1aa71b9a9ce73311235085793dbfc2ae0a183cac1ae29b6ffb588 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:21:31.485Z] + docker inspect -f . ci-base-image-x86_64 [2023-12-27T04:21:31.485Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-27T04:21:31.758Z] prd-ubuntu20.04-docker-8c-8g-26227 does not seem to be running inside a container [2023-12-27T04:21:31.788Z] $ 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-1550 -v /w/workspace/gexfoundry_device-sdk-go_PR-1550:/w/workspace/gexfoundry_device-sdk-go_PR-1550:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-12-27T04:21:32.570Z] $ docker top 8352e16e15fb2c00fcf69c1236f612616d7af6ab1fd6888ed5e4faae6bedbc82 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-27T04:21:33.005Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1550 [Pipeline] fileExists [Pipeline] sh [2023-12-27T04:21:33.411Z] + make test [2023-12-27T04:21:33.411Z] go test -race -coverprofile=coverage.out ./... [2023-12-27T04:21:39.985Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-12-27T04:21:44.051Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26228 in /w/workspace/gexfoundry_device-sdk-go_PR-1550 [Pipeline] { [Pipeline] ws [2023-12-27T04:21:44.154Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-12-27T04:21:47.273Z] The recommended git tool is: git [2023-12-27T04:21:52.583Z] using credential edgex-jenkins-ssh [2023-12-27T04:21:52.605Z] Cloning the remote Git repository [2023-12-27T04:21:52.651Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-12-27T04:21:52.742Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-12-27T04:21:52.902Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-12-27T04:21:52.903Z] > git --version # timeout=10 [2023-12-27T04:21:52.923Z] > git --version # 'git version 2.25.1' [2023-12-27T04:21:52.925Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-27T04:21:53.067Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-27T04:21:55.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-12-27T04:21:55.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-12-27T04:21:55.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-12-27T04:21:55.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-12-27T04:21:55.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-12-27T04:21:55.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-12-27T04:21:55.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-12-27T04:21:55.009Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.060s coverage: 27.6% of statements [2023-12-27T04:21:55.009Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-12-27T04:21:55.009Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.052s coverage: 81.5% of statements [2023-12-27T04:21:55.009Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.062s coverage: 86.0% of statements [2023-12-27T04:21:55.945Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.080s coverage: 71.8% of statements [2023-12-27T04:21:55.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-12-27T04:21:55.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-12-27T04:21:55.945Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-12-27T04:21:56.650Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-12-27T04:21:56.673Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-12-27T04:21:57.471Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-12-27T04:21:57.508Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-12-27T04:21:57.509Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-27T04:21:57.524Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1550/head:refs/remotes/origin/PR-1550 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-12-27T04:21:58.121Z] Merging remotes/origin/main commit 4eb5e29dea1939910f88077e170bd5bcfca266de into PR head commit fda592ce02a7c523567b60eaa4d22a875e8ea560 [2023-12-27T04:21:58.417Z] Merge succeeded, producing fda592ce02a7c523567b60eaa4d22a875e8ea560 [2023-12-27T04:21:58.417Z] Checking out Revision fda592ce02a7c523567b60eaa4d22a875e8ea560 (PR-1550) [2023-12-27T04:21:58.955Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-12-27T04:21:58.143Z] > git config core.sparsecheckout # timeout=10 [2023-12-27T04:21:58.207Z] > git checkout -f fda592ce02a7c523567b60eaa4d22a875e8ea560 # timeout=10 [2023-12-27T04:21:58.335Z] > git remote # timeout=10 [2023-12-27T04:21:58.353Z] > git config --get remote.origin.url # timeout=10 [2023-12-27T04:21:58.368Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-12-27T04:21:58.380Z] > git merge 4eb5e29dea1939910f88077e170bd5bcfca266de # timeout=10 [2023-12-27T04:21:58.405Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-12-27T04:21:58.426Z] > git config core.sparsecheckout # timeout=10 [2023-12-27T04:21:58.439Z] > git checkout -f fda592ce02a7c523567b60eaa4d22a875e8ea560 # timeout=10 [2023-12-27T04:21:59.007Z] > git --version # timeout=10 [2023-12-27T04:21:59.019Z] > git --version # 'git version 2.25.1' [2023-12-27T04:21:59.033Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-12-27T04:21:59.232Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.4% of statements [2023-12-27T04:21:59.232Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.978s coverage: 45.9% of statements [2023-12-27T04:21:59.232Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.068s coverage: 68.5% of statements [2023-12-27T04:21:59.232Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.125s coverage: 89.2% of statements [2023-12-27T04:21:59.232Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.038s coverage: 5.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-27T04:22:00.431Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-12-27T04:22:00.431Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-27T04:22:00.431Z] Dload Upload Total Spent Left Speed [2023-12-27T04:22:00.431Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 110k 0 --:--:-- --:--:-- --:--:-- 110k [Pipeline] sh [2023-12-27T04:22:00.777Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-12-27T04:22:01.188Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-12-27T04:22:01.188Z] + sudo tee /etc/docker/daemon.new [2023-12-27T04:22:01.188Z] { [2023-12-27T04:22:01.188Z] "registry-mirrors": [ [2023-12-27T04:22:01.188Z] "https://nexus3.edgexfoundry.org:10001" [2023-12-27T04:22:01.188Z] ], [2023-12-27T04:22:01.188Z] "bip": "10.250.0.254/24", [2023-12-27T04:22:01.188Z] "hosts": [ [2023-12-27T04:22:01.188Z] "tcp://0.0.0.0:5555", [2023-12-27T04:22:01.188Z] "unix:///var/run/docker.sock" [2023-12-27T04:22:01.188Z] ], [2023-12-27T04:22:01.188Z] "mtu": 1458, [2023-12-27T04:22:01.188Z] "selinux-enabled": true, [2023-12-27T04:22:01.188Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-12-27T04:22:01.188Z] } [Pipeline] sh [2023-12-27T04:22:01.531Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-12-27T04:22:01.885Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-27T04:22:20.234Z] provisioning config files... [2023-12-27T04:22:20.258Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config18230660910200755971tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:22:20.752Z] ---> ****-login.sh [2023-12-27T04:22:20.752Z] nexus3.edgexfoundry.org:10001 [2023-12-27T04:22:21.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:22:21.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:22:21.023Z] Configure a credential helper to remove this warning. See [2023-12-27T04:22:21.023Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:22:21.023Z] [2023-12-27T04:22:21.185Z] GO111MODULE=on go vet ./... [2023-12-27T04:22:21.290Z] Login Succeeded [2023-12-27T04:22:21.290Z] nexus3.edgexfoundry.org:10002 [2023-12-27T04:22:21.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:22:21.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:22:21.564Z] Configure a credential helper to remove this warning. See [2023-12-27T04:22:21.564Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:22:21.564Z] [2023-12-27T04:22:21.564Z] Login Succeeded [2023-12-27T04:22:21.564Z] nexus3.edgexfoundry.org:10003 [2023-12-27T04:22:21.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:22:21.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:22:21.833Z] Configure a credential helper to remove this warning. See [2023-12-27T04:22:21.833Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:22:21.833Z] [2023-12-27T04:22:21.833Z] Login Succeeded [2023-12-27T04:22:21.833Z] nexus3.edgexfoundry.org:10004 [2023-12-27T04:22:21.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:22:22.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:22:22.104Z] Configure a credential helper to remove this warning. See [2023-12-27T04:22:22.104Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:22:22.104Z] [2023-12-27T04:22:22.104Z] Login Succeeded [2023-12-27T04:22:22.104Z] ****.io [2023-12-27T04:22:22.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-12-27T04:22:22.376Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-12-27T04:22:22.376Z] Configure a credential helper to remove this warning. See [2023-12-27T04:22:22.376Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-12-27T04:22:22.376Z] [2023-12-27T04:22:22.376Z] Login Succeeded [2023-12-27T04:22:22.376Z] ---> ****-login.sh ends [Pipeline] } [2023-12-27T04:22:22.411Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-12-27T04:22:22.932Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-27T04:22:23.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-12-27T04:22:23.085Z] ========================================================= [2023-12-27T04:22:23.085Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-12-27T04:22:23.085Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:22:23.746Z] + 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-12-27T04:22:23.755Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-27T04:22:23.755Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-27T04:22:23.755Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-27T04:22:24.059Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-27T04:22:24.123Z] $ docker stop --time=1 8352e16e15fb2c00fcf69c1236f612616d7af6ab1fd6888ed5e4faae6bedbc82 [2023-12-27T04:22:25.698Z] #0 building with "default" instance using docker driver [2023-12-27T04:22:25.698Z] [2023-12-27T04:22:25.698Z] #1 [internal] load .dockerignore [2023-12-27T04:22:25.698Z] #1 transferring context: 182B done [2023-12-27T04:22:25.698Z] #1 DONE 0.1s [2023-12-27T04:22:25.698Z] [2023-12-27T04:22:25.698Z] #2 [internal] load build definition from Dockerfile [2023-12-27T04:22:25.698Z] #2 transferring dockerfile: 1.54kB done [2023-12-27T04:22:25.698Z] #2 DONE 0.1s [2023-12-27T04:22:25.698Z] [2023-12-27T04:22:25.698Z] #3 [internal] load metadata for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-12-27T04:22:25.972Z] #3 DONE 0.1s [2023-12-27T04:22:25.972Z] [2023-12-27T04:22:25.972Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-27T04:22:25.972Z] #4 resolve nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 0.0s done [2023-12-27T04:22:25.972Z] #4 sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 1.79kB / 1.79kB done [2023-12-27T04:22:25.972Z] #4 sha256:86de565de09d5564fc8e683dd5e843d211607dc732ec3413b333e21adf3ea5fe 8.50kB / 8.50kB done [2023-12-27T04:22:25.972Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 1.05MB / 3.33MB 0.1s [2023-12-27T04:22:25.972Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0B / 286.30kB 0.1s [2023-12-27T04:22:25.972Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 0B / 63.99MB 0.1s [2023-12-27T04:22:26.262Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s [2023-12-27T04:22:26.262Z] #4 sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 286.30kB / 286.30kB 0.1s done [2023-12-27T04:22:26.262Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s [2023-12-27T04:22:26.262Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d [2023-12-27T04:22:26.262Z] #4 sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 3.33MB / 3.33MB 0.2s done [2023-12-27T04:22:26.262Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 9.44MB / 63.99MB 0.4s [2023-12-27T04:22:26.262Z] #4 sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e 156B / 156B 0.2s done [2023-12-27T04:22:26.262Z] #4 sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 440B / 440B 0.2s done [2023-12-27T04:22:26.262Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 4.19MB / 97.63MB 0.4s [2023-12-27T04:22:26.262Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 2.10MB / 11.40MB 0.4s [2023-12-27T04:22:26.262Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 13.63MB / 63.99MB 0.5s [2023-12-27T04:22:26.262Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 9.44MB / 97.63MB 0.5s [2023-12-27T04:22:26.262Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 5.55MB / 11.40MB 0.5s [2023-12-27T04:22:26.532Z] #4 ... [2023-12-27T04:22:26.532Z] [2023-12-27T04:22:26.532Z] #5 [internal] load build context [2023-12-27T04:22:26.532Z] #5 transferring context: 11.15MB 0.5s done [2023-12-27T04:22:26.532Z] #5 DONE 0.6s [2023-12-27T04:22:26.532Z] [2023-12-27T04:22:26.532Z] #4 [builder 1/7] FROM nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine@sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-12-27T04:22:26.532Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 18.87MB / 63.99MB 0.6s [2023-12-27T04:22:26.532Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 9.44MB / 11.40MB 0.6s [2023-12-27T04:22:26.532Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 29.36MB / 63.99MB 0.8s [2023-12-27T04:22:26.532Z] #4 extracting sha256:9fda8d8052c61740409c4bea888859c141fd8cc3f58ac61943144ff6d1681b2d 0.5s done [2023-12-27T04:22:26.532Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 24.73MB / 97.63MB 0.8s [2023-12-27T04:22:26.532Z] #4 sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 11.40MB / 11.40MB 0.7s done [2023-12-27T04:22:26.799Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 34.60MB / 63.99MB 0.9s [2023-12-27T04:22:26.799Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 30.41MB / 97.63MB 0.9s [2023-12-27T04:22:26.799Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 39.85MB / 63.99MB 1.0s [2023-12-27T04:22:26.799Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 36.61MB / 97.63MB 1.0s [2023-12-27T04:22:26.799Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 [2023-12-27T04:22:27.072Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 44.64MB / 63.99MB 1.1s [2023-12-27T04:22:27.072Z] #4 extracting sha256:5d54e960e981301b0098c80d2e61d694333b5ab480a007a3a8d0fa629662d377 0.2s done [2023-12-27T04:22:27.072Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 55.24MB / 63.99MB 1.3s [2023-12-27T04:22:27.072Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 53.48MB / 97.63MB 1.3s [2023-12-27T04:22:27.339Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 60.53MB / 63.99MB 1.4s [2023-12-27T04:22:27.339Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 59.57MB / 97.63MB 1.4s [2023-12-27T04:22:27.339Z] #4 sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 63.99MB / 63.99MB 1.5s done [2023-12-27T04:22:27.339Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 72.03MB / 97.63MB 1.6s [2023-12-27T04:22:27.605Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 77.59MB / 97.63MB 1.7s [2023-12-27T04:22:27.606Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 [2023-12-27T04:22:27.606Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 83.89MB / 97.63MB 1.8s [2023-12-27T04:22:27.874Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 95.42MB / 97.63MB 2.0s [2023-12-27T04:22:28.142Z] #4 sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 97.63MB / 97.63MB 2.1s done [2023-12-27T04:22:33.498Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 5.6s [2023-12-27T04:22:35.803Z] $ docker rm -f --volumes 8352e16e15fb2c00fcf69c1236f612616d7af6ab1fd6888ed5e4faae6bedbc82 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-27T04:22:36.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-27T04:22:36.819Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-12-27T04:22:37.716Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-27T04:22:38.030Z] + ls -al . [2023-12-27T04:22:38.030Z] total 308 [2023-12-27T04:22:38.030Z] drwxrwxr-x 11 jenkins jenkins 4096 Dec 27 04:21 . [2023-12-27T04:22:38.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 27 04:19 .. [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 27 04:19 .dockerignore [2023-12-27T04:22:38.030Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 27 04:22 .git [2023-12-27T04:22:38.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 27 04:19 .github [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 137 Dec 27 04:19 .gitignore [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 27 04:19 .golangci.yml [2023-12-27T04:22:38.030Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 27 04:19 .semver [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 48109 Dec 27 04:19 CHANGELOG.md [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 27 04:19 GOVERNANCE.md [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 885 Dec 27 04:19 Jenkinsfile [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 27 04:19 LICENSE [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 1842 Dec 27 04:19 Makefile [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 27 04:19 OWNERS.md [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 4933 Dec 27 04:19 README.md [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 27 04:19 VERSION [2023-12-27T04:22:38.030Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 27 04:19 bin [2023-12-27T04:22:38.030Z] -rw-r--r-- 1 jenkins jenkins 122155 Dec 27 04:21 coverage.out [2023-12-27T04:22:38.030Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 27 04:19 example [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 3719 Dec 27 04:19 go.mod [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 33778 Dec 27 04:19 go.sum [2023-12-27T04:22:38.030Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 27 04:19 internal [2023-12-27T04:22:38.030Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 27 04:19 openapi [2023-12-27T04:22:38.030Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 27 04:19 pkg [2023-12-27T04:22:38.030Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 27 04:19 snap [2023-12-27T04:22:38.030Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 27 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:22:38.581Z] + 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=fda592ce02a7c523567b60eaa4d22a875e8ea560 --label arch=amd64 --label version=0.0.0 . [2023-12-27T04:22:38.581Z] Sending build context to Docker daemon 22.05MB [2023-12-27T04:22:38.581Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-12-27T04:22:38.581Z] Step 2/23 : FROM ${BASE} AS builder [2023-12-27T04:22:38.581Z] ---> 529b6764d175 [2023-12-27T04:22:38.581Z] Step 3/23 : ARG MAKE=make build [2023-12-27T04:22:38.848Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 10.7s [2023-12-27T04:22:39.518Z] ---> Running in 74783bdbfe6a [2023-12-27T04:22:39.777Z] Removing intermediate container 74783bdbfe6a [2023-12-27T04:22:39.777Z] ---> 76dbddc1ad1b [2023-12-27T04:22:39.777Z] Step 4/23 : WORKDIR /device-sdk-go [2023-12-27T04:22:40.037Z] ---> Running in d858a50e0a02 [2023-12-27T04:22:40.611Z] Removing intermediate container d858a50e0a02 [2023-12-27T04:22:40.611Z] ---> 9034ced13b6c [2023-12-27T04:22:40.611Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-12-27T04:22:40.947Z] ---> Running in 5cc46b063d04 [2023-12-27T04:22:41.205Z] Removing intermediate container 5cc46b063d04 [2023-12-27T04:22:41.205Z] ---> a73f555cd0b9 [2023-12-27T04:22:41.205Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-12-27T04:22:41.464Z] ---> Running in 2ff49afb9da7 [2023-12-27T04:22:42.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-27T04:22:42.291Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-27T04:22:42.549Z] OK: 264 MiB in 52 packages [2023-12-27T04:22:43.512Z] Removing intermediate container 2ff49afb9da7 [2023-12-27T04:22:43.512Z] ---> 45cef8a644c2 [2023-12-27T04:22:43.512Z] Step 7/23 : COPY go.mod vendor* ./ [2023-12-27T04:22:44.078Z] ---> 9db5324ccf6a [2023-12-27T04:22:44.078Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-27T04:22:44.380Z] #4 extracting sha256:c4a7e357bf2afb491120807d5c1f057a5a5a20538e7ce574e6d4d15f0f245475 16.6s done [2023-12-27T04:22:44.688Z] ---> Running in 29be0b082c62 [2023-12-27T04:22:45.795Z] #4 extracting sha256:f0e02332f6b52e139e0158c3d8d903ddf2c22f866cf8b4937f6ec867389ead7e done [2023-12-27T04:22:45.795Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 [2023-12-27T04:22:45.795Z] #4 extracting sha256:872ee5b61b7b24ecb4310852b1d24038dd5f0ac59b55905f2e0a51b50880d9a1 done [2023-12-27T04:22:45.795Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 [2023-12-27T04:22:46.592Z] Removing intermediate container 29be0b082c62 [2023-12-27T04:22:46.592Z] ---> ec389f71ab37 [2023-12-27T04:22:46.592Z] Step 9/23 : COPY . . [2023-12-27T04:22:49.124Z] ---> 27e6931054c1 [2023-12-27T04:22:49.124Z] Step 10/23 : RUN ${MAKE} [2023-12-27T04:22:49.124Z] ---> Running in 5717861eb2fe [2023-12-27T04:22:49.691Z] 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-12-27T04:22:51.143Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 5.0s [2023-12-27T04:22:55.415Z] #4 extracting sha256:0c6a40ed1a827191370422a71ed3212a50c68d4dd408f823748fd3007cc4ac04 8.9s done [2023-12-27T04:22:55.415Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb [2023-12-27T04:22:56.852Z] #4 extracting sha256:94ae7d8d031caf51c1dafe287a029a279f16e37f70b86d866d23593c59136feb 1.8s done [2023-12-27T04:22:56.852Z] #4 DONE 31.1s [2023-12-27T04:22:57.120Z] [2023-12-27T04:22:57.120Z] #6 [builder 2/7] WORKDIR /device-sdk-go [2023-12-27T04:22:58.533Z] #6 DONE 1.6s [2023-12-27T04:22:58.533Z] [2023-12-27T04:22:58.533Z] #7 [builder 3/7] RUN apk add --update --no-cache make git [2023-12-27T04:22:59.498Z] #7 0.723 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-27T04:22:59.498Z] #7 1.102 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-27T04:23:00.918Z] #7 2.086 OK: 266 MiB in 52 packages [2023-12-27T04:23:00.918Z] #7 DONE 2.3s [2023-12-27T04:23:00.918Z] [2023-12-27T04:23:00.918Z] #8 [builder 4/7] COPY go.mod vendor* ./ [2023-12-27T04:23:00.918Z] #8 DONE 0.1s [2023-12-27T04:23:01.189Z] [2023-12-27T04:23:01.189Z] #9 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-27T04:23:28.444Z] Removing intermediate container 5717861eb2fe [2023-12-27T04:23:28.444Z] ---> ce3a02903171 [2023-12-27T04:23:28.444Z] Step 11/23 : FROM alpine:3.18 [2023-12-27T04:23:28.444Z] 3.18: Pulling from library/alpine [2023-12-27T04:23:28.444Z] c926b61bad3b: Pulling fs layer [2023-12-27T04:23:28.444Z] c926b61bad3b: Verifying Checksum [2023-12-27T04:23:28.444Z] c926b61bad3b: Download complete [2023-12-27T04:23:29.029Z] c926b61bad3b: Pull complete [2023-12-27T04:23:29.601Z] Digest: sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-27T04:23:29.601Z] Status: Downloaded newer image for alpine:3.18 [2023-12-27T04:23:29.601Z] ---> b541f2080109 [2023-12-27T04:23:29.601Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-12-27T04:23:30.981Z] ---> Running in 0a97e01b7a5c [2023-12-27T04:23:31.920Z] Removing intermediate container 0a97e01b7a5c [2023-12-27T04:23:31.920Z] ---> 728535e6af56 [2023-12-27T04:23:31.920Z] Step 13/23 : RUN apk add --update --no-cache [2023-12-27T04:23:32.180Z] ---> Running in 673872c6a24a [2023-12-27T04:23:32.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-12-27T04:23:33.031Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-12-27T04:23:33.303Z] OK: 7 MiB in 15 packages [2023-12-27T04:23:34.689Z] Removing intermediate container 673872c6a24a [2023-12-27T04:23:34.689Z] ---> 82709d531437 [2023-12-27T04:23:34.689Z] Step 14/23 : WORKDIR / [2023-12-27T04:23:34.950Z] ---> Running in 9da8ba452536 [2023-12-27T04:23:35.522Z] Removing intermediate container 9da8ba452536 [2023-12-27T04:23:35.522Z] ---> c78b7dcd9b91 [2023-12-27T04:23:35.522Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-12-27T04:23:36.466Z] ---> 02419bc82b01 [2023-12-27T04:23:36.466Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-12-27T04:23:39.770Z] ---> f5549e0a04e9 [2023-12-27T04:23:39.770Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-12-27T04:23:39.770Z] ---> eee418a07810 [2023-12-27T04:23:39.770Z] Step 18/23 : EXPOSE 59999 [2023-12-27T04:23:40.032Z] ---> Running in 90c384066ba3 [2023-12-27T04:23:40.635Z] Removing intermediate container 90c384066ba3 [2023-12-27T04:23:40.635Z] ---> 7002310999dd [2023-12-27T04:23:40.635Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-12-27T04:23:41.256Z] ---> Running in 126c0752ce10 [2023-12-27T04:23:41.823Z] Removing intermediate container 126c0752ce10 [2023-12-27T04:23:41.823Z] ---> c0f71ebdb943 [2023-12-27T04:23:41.823Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-12-27T04:23:42.474Z] ---> Running in ab3f7856cc69 [2023-12-27T04:23:42.808Z] Removing intermediate container ab3f7856cc69 [2023-12-27T04:23:42.808Z] ---> 55d4ffbe24c8 [2023-12-27T04:23:42.808Z] Step 21/23 : LABEL arch=amd64 [2023-12-27T04:23:43.068Z] ---> Running in fc6150653e5c [2023-12-27T04:23:43.641Z] Removing intermediate container fc6150653e5c [2023-12-27T04:23:43.641Z] ---> 089bf84d12cd [2023-12-27T04:23:43.641Z] Step 22/23 : LABEL git_sha=fda592ce02a7c523567b60eaa4d22a875e8ea560 [2023-12-27T04:23:43.641Z] ---> Running in 3bd57a375bbd [2023-12-27T04:23:44.630Z] Removing intermediate container 3bd57a375bbd [2023-12-27T04:23:44.630Z] ---> 19f0f5775415 [2023-12-27T04:23:44.630Z] Step 23/23 : LABEL version=0.0.0 [2023-12-27T04:23:45.203Z] ---> Running in 8157fe4fd6a1 [2023-12-27T04:23:46.148Z] Removing intermediate container 8157fe4fd6a1 [2023-12-27T04:23:46.148Z] ---> 06973538cb1a [2023-12-27T04:23:46.148Z] [Warning] One or more build-args [ARCH] were not consumed [2023-12-27T04:23:46.148Z] Successfully built 06973538cb1a [2023-12-27T04:23:46.148Z] 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-12-27T04:23:47.496Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-27T04:23:47.496Z] [2023-12-27T04:23:47.496Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:23:47.925Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-27T04:23:47.925Z] latest: Pulling from edgex-lftools-log-publisher [2023-12-27T04:23:47.925Z] 5eb5b503b376: Pulling fs layer [2023-12-27T04:23:47.925Z] 5c69ac0246d0: Pulling fs layer [2023-12-27T04:23:47.925Z] ec43610c2a17: Pulling fs layer [2023-12-27T04:23:47.925Z] 3a2ae6a8a46f: Pulling fs layer [2023-12-27T04:23:47.925Z] 33b1e0a273af: Pulling fs layer [2023-12-27T04:23:47.925Z] 5d3b04190fa2: Pulling fs layer [2023-12-27T04:23:47.925Z] 2f39f015ded8: Pulling fs layer [2023-12-27T04:23:47.925Z] 3a2ae6a8a46f: Waiting [2023-12-27T04:23:47.925Z] 33b1e0a273af: Waiting [2023-12-27T04:23:47.925Z] 5d3b04190fa2: Waiting [2023-12-27T04:23:48.042Z] #9 DONE 39.9s [2023-12-27T04:23:48.042Z] [2023-12-27T04:23:48.042Z] #10 [builder 6/7] COPY . . [2023-12-27T04:23:48.042Z] #10 DONE 0.4s [2023-12-27T04:23:48.042Z] [2023-12-27T04:23:48.042Z] #11 [builder 7/7] RUN echo noop [2023-12-27T04:23:48.042Z] #11 0.576 noop [2023-12-27T04:23:48.042Z] #11 DONE 0.7s [2023-12-27T04:23:48.042Z] [2023-12-27T04:23:48.042Z] #12 exporting to image [2023-12-27T04:23:48.042Z] #12 exporting layers [2023-12-27T04:23:48.184Z] 5c69ac0246d0: Verifying Checksum [2023-12-27T04:23:48.184Z] 5c69ac0246d0: Download complete [2023-12-27T04:23:48.184Z] 3a2ae6a8a46f: Verifying Checksum [2023-12-27T04:23:48.184Z] 3a2ae6a8a46f: Download complete [2023-12-27T04:23:48.184Z] 33b1e0a273af: Verifying Checksum [2023-12-27T04:23:48.184Z] 33b1e0a273af: Download complete [2023-12-27T04:23:48.184Z] ec43610c2a17: Verifying Checksum [2023-12-27T04:23:48.184Z] ec43610c2a17: Download complete [2023-12-27T04:23:48.184Z] 5d3b04190fa2: Verifying Checksum [2023-12-27T04:23:48.184Z] 5d3b04190fa2: Download complete [2023-12-27T04:23:48.184Z] 5eb5b503b376: Verifying Checksum [2023-12-27T04:23:48.184Z] 5eb5b503b376: Download complete [2023-12-27T04:23:49.120Z] 2f39f015ded8: Verifying Checksum [2023-12-27T04:23:49.120Z] 2f39f015ded8: Download complete [2023-12-27T04:23:49.688Z] 5eb5b503b376: Pull complete [2023-12-27T04:23:49.948Z] 5c69ac0246d0: Pull complete [2023-12-27T04:23:51.337Z] ec43610c2a17: Pull complete [2023-12-27T04:23:51.337Z] 3a2ae6a8a46f: Pull complete [2023-12-27T04:23:51.907Z] 33b1e0a273af: Pull complete [2023-12-27T04:23:52.165Z] 5d3b04190fa2: Pull complete [2023-12-27T04:24:06.284Z] #12 exporting layers 22.0s done [2023-12-27T04:24:06.284Z] #12 writing image sha256:7c8e41e62d24f79bb7a9c195ada7d7264376a2874aa924c967ee8d2488e071f6 0.0s done [2023-12-27T04:24:06.284Z] #12 naming to docker.io/library/ci-base-image-arm64 done [2023-12-27T04:24:06.284Z] #12 DONE 22.1s [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:24:06.885Z] + docker inspect -f . ci-base-image-arm64 [2023-12-27T04:24:06.885Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-27T04:24:07.110Z] 2f39f015ded8: Pull complete [2023-12-27T04:24:07.244Z] prd-ubuntu20.04-docker-arm64-4c-16g-26228 does not seem to be running inside a container [2023-12-27T04:24:07.317Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-27T04:24:08.476Z] $ docker top 95b345c6a7e7733f68037d5aa4963ae35ba479a7bb490787393dbc3b77de181a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-27T04:24:09.090Z] + go version [2023-12-27T04:24:09.359Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-12-27T04:24:09.404Z] $ docker stop --time=1 95b345c6a7e7733f68037d5aa4963ae35ba479a7bb490787393dbc3b77de181a [2023-12-27T04:24:10.929Z] $ docker rm -f --volumes 95b345c6a7e7733f68037d5aa4963ae35ba479a7bb490787393dbc3b77de181a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [2023-12-27T04:24:11.398Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-12-27T04:24:11.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-27T04:24:11.398Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] stage [Pipeline] { (Test) [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-27T04:24:11.809Z] prd-ubuntu20.04-docker-8c-8g-26227 does not seem to be running inside a container [2023-12-27T04:24:11.844Z] $ 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-1550 -v /w/workspace/gexfoundry_device-sdk-go_PR-1550:/w/workspace/gexfoundry_device-sdk-go_PR-1550:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-27T04:24:12.830Z] $ docker top d2de4c300056bad41a284ec01dc738e49bfc3fa42e6c4df8f6f502b177319b17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] script [Pipeline] { [2023-12-27T04:24:13.371Z] ---> job-cost.sh [2023-12-27T04:24:13.371Z] lf-activate-venv: SKIPPING [2023-12-27T04:24:13.371Z] INFO: No Stack... [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:24:13.630Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-27T04:24:13.742Z] + docker inspect -f . ci-base-image-arm64 [2023-12-27T04:24:13.742Z] . [Pipeline] } [Pipeline] // withEnv [2023-12-27T04:24:13.888Z] INFO: Archiving Costs [Pipeline] withDockerContainer [2023-12-27T04:24:14.052Z] prd-ubuntu20.04-docker-arm64-4c-16g-26228 does not seem to be running inside a container [2023-12-27T04:24:14.120Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-12-27T04:24:15.048Z] $ docker top 7ea6e07cdd3b9159403c54fbe2bd1cefc60cc5aaee59a0f6bdac5921d3e24344 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-12-27T04:24:15.638Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives/cost.csv [2023-12-27T04:24:15.638Z] + cut -d, -f6 [Pipeline] lock [2023-12-27T04:24:15.680Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] [2023-12-27T04:24:15.688Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] did not exist. Created. [2023-12-27T04:24:15.688Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] [Pipeline] { [2023-12-27T04:24:15.759Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2023-12-27T04:24:16.232Z] + make test [2023-12-27T04:24:16.232Z] go test -race -coverprofile=coverage.out ./... [2023-12-27T04:24:16.271Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-27T04:24:16.331Z] Stashed 1 file(s) [Pipeline] } [2023-12-27T04:24:16.397Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-27T04:24:16.560Z] $ docker stop --time=1 d2de4c300056bad41a284ec01dc738e49bfc3fa42e6c4df8f6f502b177319b17 [2023-12-27T04:24:18.108Z] $ docker rm -f --volumes d2de4c300056bad41a284ec01dc738e49bfc3fa42e6c4df8f6f502b177319b17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-12-27T04:24:48.454Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-12-27T04:25:56.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-12-27T04:25:56.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-12-27T04:25:56.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-12-27T04:25:56.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-12-27T04:25:56.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-12-27T04:25:56.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-12-27T04:25:56.328Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-12-27T04:25:56.328Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.257s coverage: 27.6% of statements [2023-12-27T04:25:56.912Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.274s coverage: 81.5% of statements [2023-12-27T04:25:57.180Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.308s coverage: 86.0% of statements [2023-12-27T04:26:00.531Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-12-27T04:26:01.940Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.469s coverage: 71.8% of statements [2023-12-27T04:26:02.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-12-27T04:26:02.524Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-12-27T04:26:04.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.276s coverage: 14.4% of statements [2023-12-27T04:26:04.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.912s coverage: 45.9% of statements [2023-12-27T04:26:04.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.384s coverage: 68.5% of statements [2023-12-27T04:26:04.459Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.427s coverage: 89.2% of statements [2023-12-27T04:26:04.459Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-12-27T04:26:05.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.219s coverage: 5.5% of statements [2023-12-27T04:26:06.826Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-12-27T04:26:06.826Z] GO111MODULE=on go vet ./... [2023-12-27T04:27:14.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-12-27T04:27:14.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-12-27T04:27:14.713Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-12-27T04:27:14.756Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-12-27T04:27:14.830Z] $ docker stop --time=1 7ea6e07cdd3b9159403c54fbe2bd1cefc60cc5aaee59a0f6bdac5921d3e24344 [2023-12-27T04:27:18.767Z] $ docker rm -f --volumes 7ea6e07cdd3b9159403c54fbe2bd1cefc60cc5aaee59a0f6bdac5921d3e24344 [Pipeline] // withDockerContainer [Pipeline] sh [2023-12-27T04:27:20.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-12-27T04:27:20.520Z] Warning: overwriting stash ‘coverage-report’ [2023-12-27T04:27:21.085Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-12-27T04:27:21.949Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-12-27T04:27:22.310Z] + ls -al . [2023-12-27T04:27:22.310Z] total 304 [2023-12-27T04:27:22.310Z] drwxrwxr-x 10 jenkins jenkins 4096 Dec 27 04:24 . [2023-12-27T04:27:22.310Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 27 04:21 .. [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 140 Dec 27 04:21 .dockerignore [2023-12-27T04:27:22.310Z] drwxrwxr-x 8 jenkins jenkins 4096 Dec 27 04:21 .git [2023-12-27T04:27:22.310Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 27 04:21 .github [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 137 Dec 27 04:21 .gitignore [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 42 Dec 27 04:21 .golangci.yml [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 48109 Dec 27 04:21 CHANGELOG.md [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 677 Dec 27 04:21 GOVERNANCE.md [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 885 Dec 27 04:21 Jenkinsfile [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 11341 Dec 27 04:21 LICENSE [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 1842 Dec 27 04:21 Makefile [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 619 Dec 27 04:21 OWNERS.md [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 4933 Dec 27 04:21 README.md [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 5 Dec 27 04:19 VERSION [2023-12-27T04:27:22.310Z] drwxrwxr-x 2 jenkins jenkins 4096 Dec 27 04:21 bin [2023-12-27T04:27:22.310Z] -rw-r--r-- 1 jenkins jenkins 122153 Dec 27 04:26 coverage.out [2023-12-27T04:27:22.310Z] drwxrwxr-x 5 jenkins jenkins 4096 Dec 27 04:21 example [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 3719 Dec 27 04:21 go.mod [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 33778 Dec 27 04:21 go.sum [2023-12-27T04:27:22.310Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 27 04:21 internal [2023-12-27T04:27:22.310Z] drwxrwxr-x 3 jenkins jenkins 4096 Dec 27 04:21 openapi [2023-12-27T04:27:22.310Z] drwxrwxr-x 6 jenkins jenkins 4096 Dec 27 04:21 pkg [2023-12-27T04:27:22.310Z] drwxrwxr-x 4 jenkins jenkins 4096 Dec 27 04:21 snap [2023-12-27T04:27:22.310Z] -rw-rw-r-- 1 jenkins jenkins 222 Dec 27 04:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:27:22.843Z] + 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=fda592ce02a7c523567b60eaa4d22a875e8ea560 --label arch=arm64 --label version=0.0.0 . [2023-12-27T04:27:23.427Z] #0 building with "default" instance using docker driver [2023-12-27T04:27:23.427Z] [2023-12-27T04:27:23.427Z] #1 [internal] load build definition from Dockerfile [2023-12-27T04:27:23.427Z] #1 transferring dockerfile: 1.54kB done [2023-12-27T04:27:23.427Z] #1 DONE 0.0s [2023-12-27T04:27:23.427Z] [2023-12-27T04:27:23.427Z] #2 [internal] load .dockerignore [2023-12-27T04:27:23.427Z] #2 transferring context: 182B done [2023-12-27T04:27:23.694Z] #2 DONE 0.0s [2023-12-27T04:27:23.694Z] [2023-12-27T04:27:23.694Z] #3 [internal] load metadata for docker.io/library/ci-base-image-arm64:latest [2023-12-27T04:27:23.694Z] #3 DONE 0.0s [2023-12-27T04:27:23.694Z] [2023-12-27T04:27:23.694Z] #4 [internal] load metadata for docker.io/library/alpine:3.18 [2023-12-27T04:27:23.694Z] #4 DONE 0.2s [2023-12-27T04:27:23.694Z] [2023-12-27T04:27:23.694Z] #5 [internal] load build context [2023-12-27T04:27:23.694Z] #5 DONE 0.0s [2023-12-27T04:27:23.694Z] [2023-12-27T04:27:23.694Z] #6 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-27T04:27:23.694Z] #6 DONE 0.0s [2023-12-27T04:27:23.694Z] [2023-12-27T04:27:23.694Z] #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-27T04:27:23.694Z] #7 ... [2023-12-27T04:27:23.694Z] [2023-12-27T04:27:23.694Z] #5 [internal] load build context [2023-12-27T04:27:23.694Z] #5 transferring context: 138.47kB 0.1s done [2023-12-27T04:27:23.694Z] #5 DONE 0.1s [2023-12-27T04:27:23.694Z] [2023-12-27T04:27:23.694Z] #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-27T04:27:23.694Z] #7 resolve docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 0.1s done [2023-12-27T04:27:23.962Z] #7 ... [2023-12-27T04:27:23.962Z] [2023-12-27T04:27:23.962Z] #6 [builder 1/7] FROM docker.io/library/ci-base-image-arm64 [2023-12-27T04:27:23.962Z] #6 DONE 0.2s [2023-12-27T04:27:23.962Z] [2023-12-27T04:27:23.962Z] #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-27T04:27:23.962Z] #7 sha256:98487ac3d99577fbab06f220381fb052c7145a5dbcfea10ca83256f8f37f4f77 1.49kB / 1.49kB done [2023-12-27T04:27:23.962Z] #7 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 2.10MB / 3.33MB 0.1s [2023-12-27T04:27:23.962Z] #7 sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 1.64kB / 1.64kB done [2023-12-27T04:27:23.962Z] #7 sha256:d4ade3639c27579321046d78cc44ec978cea8357d56932611984f601d27e30ac 528B / 528B done [2023-12-27T04:27:23.962Z] #7 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 [2023-12-27T04:27:23.962Z] #7 ... [2023-12-27T04:27:23.962Z] [2023-12-27T04:27:23.962Z] #8 [builder 2/7] WORKDIR /device-sdk-go [2023-12-27T04:27:23.962Z] #8 DONE 0.1s [2023-12-27T04:27:23.962Z] [2023-12-27T04:27:23.962Z] #7 [stage-1 1/6] FROM docker.io/library/alpine:3.18@sha256:34871e7290500828b39e22294660bee86d966bc0017544e848dd9a255cdf59e0 [2023-12-27T04:27:23.962Z] #7 sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 3.33MB / 3.33MB 0.1s done [2023-12-27T04:27:24.548Z] #7 extracting sha256:2c03dbb20264f09924f9eab176da44e5421e74a78b09531d3c63448a7baa7c59 0.5s done [2023-12-27T04:27:24.816Z] #7 DONE 0.9s [2023-12-27T04:27:24.816Z] [2023-12-27T04:27:24.816Z] #9 [stage-1 2/6] RUN apk add --update --no-cache [2023-12-27T04:27:25.086Z] #9 0.574 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-27T04:27:27.665Z] #9 2.898 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-27T04:27:28.625Z] #9 3.924 OK: 8 MiB in 15 packages [2023-12-27T04:27:28.897Z] #9 DONE 4.2s [2023-12-27T04:27:28.897Z] [2023-12-27T04:27:28.897Z] #10 [builder 3/7] RUN apk add --update --no-cache make git [2023-12-27T04:27:28.897Z] #10 0.653 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-12-27T04:27:28.897Z] #10 3.544 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-12-27T04:27:28.897Z] #10 4.610 OK: 266 MiB in 52 packages [2023-12-27T04:27:28.897Z] #10 DONE 4.9s [2023-12-27T04:27:28.897Z] [2023-12-27T04:27:28.897Z] #11 [builder 4/7] COPY go.mod vendor* ./ [2023-12-27T04:27:29.166Z] #11 DONE 0.2s [2023-12-27T04:27:29.166Z] [2023-12-27T04:27:29.166Z] #12 [builder 5/7] RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-12-27T04:27:32.503Z] #12 DONE 3.1s [2023-12-27T04:27:32.503Z] [2023-12-27T04:27:32.503Z] #13 [builder 6/7] COPY . . [2023-12-27T04:27:32.771Z] #13 DONE 0.5s [2023-12-27T04:27:32.772Z] [2023-12-27T04:27:32.772Z] #14 [builder 7/7] RUN make build [2023-12-27T04:27:33.364Z] #14 0.602 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-12-27T04:28:41.620Z] #14 DONE 59.7s [2023-12-27T04:28:41.620Z] [2023-12-27T04:28:41.620Z] #15 [stage-1 3/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-12-27T04:28:41.620Z] #15 DONE 0.1s [2023-12-27T04:28:41.620Z] [2023-12-27T04:28:41.620Z] #16 [stage-1 4/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-12-27T04:28:41.620Z] #16 DONE 0.3s [2023-12-27T04:28:41.620Z] [2023-12-27T04:28:41.620Z] #17 [stage-1 5/6] COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-12-27T04:28:41.620Z] #17 DONE 0.1s [2023-12-27T04:28:41.620Z] [2023-12-27T04:28:41.620Z] #18 exporting to image [2023-12-27T04:28:41.620Z] #18 exporting layers [2023-12-27T04:28:41.620Z] #18 exporting layers 0.3s done [2023-12-27T04:28:41.620Z] #18 writing image sha256:19f20179eef0ae779b49f890e9cf19b0ac48b073aaf24fa1be14b87b914395b7 done [2023-12-27T04:28:41.620Z] #18 naming to docker.io/library/device-sdk-simple-arm64 done [2023-12-27T04:28:41.620Z] #18 DONE 0.3s [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-12-27T04:28:42.964Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-27T04:28:42.964Z] [2023-12-27T04:28:42.964Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:28:43.413Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-27T04:28:43.681Z] arm64: Pulling from edgex-lftools-log-publisher [2023-12-27T04:28:43.681Z] 8998bd30e6a1: Pulling fs layer [2023-12-27T04:28:43.681Z] 04944245beec: Pulling fs layer [2023-12-27T04:28:43.681Z] 699f458cf7ca: Pulling fs layer [2023-12-27T04:28:43.681Z] 765212b225bb: Pulling fs layer [2023-12-27T04:28:43.681Z] f23df028b6ca: Pulling fs layer [2023-12-27T04:28:43.681Z] d65c8cfc05b1: Pulling fs layer [2023-12-27T04:28:43.681Z] 2437ff75d9bd: Pulling fs layer [2023-12-27T04:28:43.681Z] 765212b225bb: Waiting [2023-12-27T04:28:43.681Z] f23df028b6ca: Waiting [2023-12-27T04:28:43.681Z] d65c8cfc05b1: Waiting [2023-12-27T04:28:43.681Z] 2437ff75d9bd: Waiting [2023-12-27T04:28:43.681Z] 04944245beec: Verifying Checksum [2023-12-27T04:28:43.681Z] 04944245beec: Download complete [2023-12-27T04:28:43.681Z] 765212b225bb: Download complete [2023-12-27T04:28:43.951Z] f23df028b6ca: Download complete [2023-12-27T04:28:43.951Z] d65c8cfc05b1: Verifying Checksum [2023-12-27T04:28:43.951Z] d65c8cfc05b1: Download complete [2023-12-27T04:28:43.951Z] 699f458cf7ca: Verifying Checksum [2023-12-27T04:28:43.951Z] 699f458cf7ca: Download complete [2023-12-27T04:28:44.221Z] 8998bd30e6a1: Verifying Checksum [2023-12-27T04:28:44.221Z] 8998bd30e6a1: Download complete [2023-12-27T04:28:46.179Z] 2437ff75d9bd: Verifying Checksum [2023-12-27T04:28:46.179Z] 2437ff75d9bd: Download complete [2023-12-27T04:28:50.451Z] 8998bd30e6a1: Pull complete [2023-12-27T04:28:50.718Z] 04944245beec: Pull complete [2023-12-27T04:28:52.654Z] 699f458cf7ca: Pull complete [2023-12-27T04:28:52.654Z] 765212b225bb: Pull complete [2023-12-27T04:28:53.613Z] f23df028b6ca: Pull complete [2023-12-27T04:28:53.613Z] d65c8cfc05b1: Pull complete [2023-12-27T04:29:15.654Z] 2437ff75d9bd: Pull complete [2023-12-27T04:29:15.654Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-12-27T04:29:15.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-12-27T04:29:15.654Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-27T04:29:16.121Z] prd-ubuntu20.04-docker-arm64-4c-16g-26228 does not seem to be running inside a container [2023-12-27T04:29:16.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-12-27T04:29:18.270Z] $ docker top e4d00510f54341560b83df03981e819b81094fe6b8ce6b1b88ec290be508e2d3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:29:18.888Z] ---> job-cost.sh [2023-12-27T04:29:19.151Z] lf-activate-venv: SKIPPING [2023-12-27T04:29:19.151Z] INFO: No Stack... [2023-12-27T04:29:19.415Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-27T04:29:20.365Z] INFO: Archiving Costs [Pipeline] sh [2023-12-27T04:29:20.701Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-12-27T04:29:20.701Z] + cut -d, -f6 [Pipeline] lock [2023-12-27T04:29:20.783Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] [2023-12-27T04:29:20.788Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] did not exist. Created. [2023-12-27T04:29:20.788Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-12-27T04:29:21.311Z] /w/workspace/device-sdk-go/1@tmp/durable-0a99f1bc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-12-27T04:29:21.654Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-12-27T04:29:21.693Z] Warning: overwriting stash ‘stack-cost’ [2023-12-27T04:29:21.770Z] Stashed 1 file(s) [Pipeline] } [2023-12-27T04:29:21.789Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1550-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-12-27T04:29:22.054Z] $ docker stop --time=1 e4d00510f54341560b83df03981e819b81094fe6b8ce6b1b88ec290be508e2d3 [2023-12-27T04:29:23.434Z] $ docker rm -f --volumes e4d00510f54341560b83df03981e819b81094fe6b8ce6b1b88ec290be508e2d3 [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-12-27T04:29:25.410Z] provisioning config files... [2023-12-27T04:29:25.418Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/config5463638287250346137tmp [Pipeline] { [Pipeline] sh [2023-12-27T04:29:25.855Z] + set +x [2023-12-27T04:29:25.855Z] + bash -s -- [2023-12-27T04:29:25.855Z] + curl -s https://codecov.io/bash [2023-12-27T04:29:25.855Z] [2023-12-27T04:29:25.855Z] _____ _ [2023-12-27T04:29:25.855Z] / ____| | | [2023-12-27T04:29:25.855Z] | | ___ __| | ___ ___ _____ __ [2023-12-27T04:29:25.855Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-12-27T04:29:25.855Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-12-27T04:29:25.855Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-12-27T04:29:25.855Z] Bash-1.0.6 [2023-12-27T04:29:25.855Z] [2023-12-27T04:29:25.855Z] [2023-12-27T04:29:25.855Z] ==> git version 2.25.1 found [2023-12-27T04:29:25.855Z] ==> 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-12-27T04:29:25.855Z] Release-Date: 2020-01-08 [2023-12-27T04:29:25.855Z] 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-12-27T04:29:25.855Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-12-27T04:29:25.855Z] ==> Jenkins CI detected. [2023-12-27T04:29:25.855Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1550 [2023-12-27T04:29:25.855Z] project root: . [2023-12-27T04:29:25.855Z] --> token set from env [2023-12-27T04:29:25.855Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-12-27T04:29:25.855Z] ==> Running gcov in . (disable via -X gcov) [2023-12-27T04:29:25.855Z] ==> Python coveragepy not found [2023-12-27T04:29:25.855Z] ==> Searching for coverage reports in: [2023-12-27T04:29:25.855Z] + . [2023-12-27T04:29:25.855Z] -> Found 1 reports [2023-12-27T04:29:25.855Z] ==> Detecting git/mercurial file structure [2023-12-27T04:29:26.114Z] ==> Reading reports [2023-12-27T04:29:26.114Z] + ./coverage.out bytes=122153 [2023-12-27T04:29:26.114Z] ==> Appending adjustments [2023-12-27T04:29:26.114Z] https://docs.codecov.io/docs/fixing-reports [2023-12-27T04:29:26.373Z] + Found adjustments [2023-12-27T04:29:26.373Z] ==> Gzipping contents [2023-12-27T04:29:26.373Z] 20K /tmp/codecov.Y7Mwkx.gz [2023-12-27T04:29:26.373Z] ==> Uploading reports [2023-12-27T04:29:26.373Z] url: https://codecov.io [2023-12-27T04:29:26.373Z] query: branch=PR-1550&commit=fda592ce02a7c523567b60eaa4d22a875e8ea560&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1550%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1550&job=&cmd_args= [2023-12-27T04:29:26.373Z] -> Pinging Codecov [2023-12-27T04:29:26.374Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1550&commit=fda592ce02a7c523567b60eaa4d22a875e8ea560&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1550%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1550&job=&cmd_args= [2023-12-27T04:29:26.633Z] -> Uploading to [2023-12-27T04:29:26.634Z] https://storage.googleapis.com/codecov/v4/raw/2023-12-27/7E55EF52A471D76F132DFD9A03CDDE97/fda592ce02a7c523567b60eaa4d22a875e8ea560/d24f71a2-63e3-4740-9dc1-9d2b113a4991.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231227T042926Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f19ae0690e16abc87fe05b919f6371f443207115add457cdb7f71bfba76e5b1a [2023-12-27T04:29:26.634Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-12-27T04:29:26.634Z] Dload Upload Total Spent Left Speed [2023-12-27T04:29:26.892Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16779 0 0 100 16779 0 66320 --:--:-- --:--:-- --:--:-- 66320 [2023-12-27T04:29:26.892Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/fda592ce02a7c523567b60eaa4d22a875e8ea560 [Pipeline] } [2023-12-27T04:29:26.919Z] 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-12-27T04:29:30.209Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives ] [2023-12-27T04:29:30.209Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives [2023-12-27T04:29:30.209Z] total 16 [2023-12-27T04:29:30.209Z] drwxr-xr-x 3 root root 4096 Dec 27 04:24 . [2023-12-27T04:29:30.209Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 27 04:24 .. [2023-12-27T04:29:30.209Z] drwxr-xr-x 2 root root 4096 Dec 27 04:24 cost [2023-12-27T04:29:30.209Z] -rw-r--r-- 1 root root 86 Dec 27 04:24 cost.csv [2023-12-27T04:29:30.209Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives [2023-12-27T04:29:30.209Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives [2023-12-27T04:29:30.209Z] total 16 [2023-12-27T04:29:30.209Z] drwxr-xr-x 3 jenkins jenkins 4096 Dec 27 04:24 . [2023-12-27T04:29:30.209Z] drwxrwxr-x 12 jenkins jenkins 4096 Dec 27 04:24 .. [2023-12-27T04:29:30.209Z] drwxr-xr-x 2 jenkins jenkins 4096 Dec 27 04:24 cost [2023-12-27T04:29:30.209Z] -rw-r--r-- 1 jenkins jenkins 86 Dec 27 04:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:29:30.562Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:29:31.446Z] ---> package-listing.sh [2023-12-27T04:29:31.446Z] ++ facter osfamily [2023-12-27T04:29:31.446Z] ++ tr '[:upper:]' '[:lower:]' [2023-12-27T04:29:31.705Z] + OS_FAMILY=debian [2023-12-27T04:29:31.705Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1550 [2023-12-27T04:29:31.705Z] + START_PACKAGES=/tmp/packages_start.txt [2023-12-27T04:29:31.705Z] + END_PACKAGES=/tmp/packages_end.txt [2023-12-27T04:29:31.705Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-12-27T04:29:31.705Z] + PACKAGES=/tmp/packages_start.txt [2023-12-27T04:29:31.705Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1550 ']' [2023-12-27T04:29:31.705Z] + PACKAGES=/tmp/packages_end.txt [2023-12-27T04:29:31.705Z] + case "${OS_FAMILY}" in [2023-12-27T04:29:31.705Z] + dpkg -l [2023-12-27T04:29:31.705Z] + grep '^ii' [2023-12-27T04:29:31.705Z] + '[' -f /tmp/packages_start.txt ']' [2023-12-27T04:29:31.705Z] + '[' -f /tmp/packages_end.txt ']' [2023-12-27T04:29:31.705Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-12-27T04:29:31.705Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1550 ']' [2023-12-27T04:29:31.705Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives/ [2023-12-27T04:29:31.705Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1550/archives/ [Pipeline] echo [2023-12-27T04:29:31.740Z] 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-1550/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-12-27T04:29:32.031Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-12-27T04:29:32.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-12-27T04:29:32.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-12-27T04:29:32.947Z] prd-ubuntu20.04-docker-8c-8g-26227 does not seem to be running inside a container [2023-12-27T04:29:32.978Z] $ 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-1550/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-1550 -v /w/workspace/gexfoundry_device-sdk-go_PR-1550:/w/workspace/gexfoundry_device-sdk-go_PR-1550:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-12-27T04:29:33.188Z] $ docker top 08006c7faeaad78c1fa907e44adfe30ff6156f796bacb61b927761e758dacd52 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-12-27T04:29:33.673Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-12-27T04:29:33.987Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-12-27T04:29:34.302Z] + ls /var/log/sa-host [2023-12-27T04:29:34.302Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-12-27T04:29:34.485Z] provisioning config files... [2023-12-27T04:29:34.494Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1550@tmp/config11577852157518331494tmp [Pipeline] { [Pipeline] echo [2023-12-27T04:29:34.644Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:29:34.954Z] ---> create-netrc.sh [Pipeline] } [2023-12-27T04:29:34.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:29:35.502Z] ---> python-tools-install.sh [Pipeline] echo [2023-12-27T04:29:35.531Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:29:35.838Z] ---> sudo-logs.sh [2023-12-27T04:29:35.838Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-12-27T04:29:35.974Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:29:36.286Z] ---> job-cost.sh [2023-12-27T04:29:36.286Z] lf-activate-venv: SKIPPING [2023-12-27T04:29:36.286Z] DEBUG: total: 0.2199999988079071 [2023-12-27T04:29:36.286Z] INFO: Retrieving Stack Cost... [2023-12-27T04:29:36.854Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-12-27T04:29:37.114Z] INFO: Archiving Costs [Pipeline] echo [2023-12-27T04:29:37.153Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-12-27T04:29:37.472Z] ---> logs-deploy.sh [2023-12-27T04:29:37.472Z] lf-activate-venv: SKIPPING [2023-12-27T04:29:37.472Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1550/1 [2023-12-27T04:29:37.472Z] INFO: archiving workspace using pattern(s): [2023-12-27T04:29:38.408Z] Archives upload complete. [2023-12-27T04:29:38.408Z] INFO: archiving logs to Nexus