Pull request #1521 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0d00688335e91370ca010c747d70ea44e6fb41bf+1f885853b7afeee748945214d1e34d19c3162505 (9ca452c18c5e8da43eff809c9f2900e45be71766) 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-ssh6770653883512163956.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11771247179978221789.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh 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-1521/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-1521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17448341619659560367.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-1521/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3960608674092396313.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh16404529645092310353.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-1521/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-1521/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4957334107466317560.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 e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8445 in /w/workspace/gexfoundry_device-sdk-go_PR-1521 [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-1521 # 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/1521/head:refs/remotes/origin/PR-1521 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1f885853b7afeee748945214d1e34d19c3162505 into PR head commit 0d00688335e91370ca010c747d70ea44e6fb41bf Merge succeeded, producing 0d00688335e91370ca010c747d70ea44e6fb41bf Checking out Revision 0d00688335e91370ca010c747d70ea44e6fb41bf (PR-1521) 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 e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-04T04:16:34.297Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 0d00688335e91370ca010c747d70ea44e6fb41bf # 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 1f885853b7afeee748945214d1e34d19c3162505 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d00688335e91370ca010c747d70ea44e6fb41bf # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-04T04:16:34.490Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-04T04:16:34.592Z] ========================================================= [2023-10-04T04:16:34.592Z] EdgeX Global Pipelines Version Info [2023-10-04T04:16:34.592Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:16:35.320Z] ------------------- [2023-10-04T04:16:35.320Z] stable info: [2023-10-04T04:16:35.320Z] ------------------- [2023-10-04T04:16:35.320Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-04T04:16:35.320Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T04:16:35.320Z] Message: update stable to v1.0.254 [2023-10-04T04:16:35.890Z] ------------------- [2023-10-04T04:16:35.890Z] experimental info: [2023-10-04T04:16:35.890Z] ------------------- [2023-10-04T04:16:35.890Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-04T04:16:35.890Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T04:16:35.890Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-04T04:16:36.193Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-04T04:16:36.232Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-04T04:16:36.275Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-04T04:16:36.321Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-04T04:16:36.358Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-04T04:16:36.396Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-04T04:16:36.435Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-04T04:16:36.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-04T04:16:36.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-04T04:16:36.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-04T04:16:36.599Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-04T04:16:36.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-04T04:16:36.687Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-04T04:16:36.730Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-04T04:16:36.774Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-04T04:16:36.811Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T04:16:36.849Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T04:16:36.888Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-04T04:16:36.928Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-04T04:16:36.968Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-04T04:16:37.006Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-04T04:16:37.047Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-04T04:16:37.088Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-04T04:16:37.127Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-04T04:16:37.178Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-04T04:16:37.218Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-04T04:16:37.257Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-04T04:16:37.296Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1521 [Pipeline] echo [2023-10-04T04:16:37.340Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1521 [Pipeline] echo [2023-10-04T04:16:37.391Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1521 [Pipeline] echo [2023-10-04T04:16:37.432Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d00688335e91370ca010c747d70ea44e6fb41bf [Pipeline] echo [2023-10-04T04:16:37.477Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d00688 [Pipeline] echo [2023-10-04T04:16:37.526Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T04:16:37.643Z] provisioning config files... [2023-10-04T04:16:37.665Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp/config12945076375235727444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:16:38.017Z] ---> docker-login.sh [2023-10-04T04:16:38.017Z] nexus3.edgexfoundry.org:10001 [2023-10-04T04:16:38.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:16:38.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:16:38.278Z] Configure a credential helper to remove this warning. See [2023-10-04T04:16:38.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:16:38.278Z] [2023-10-04T04:16:38.278Z] Login Succeeded [2023-10-04T04:16:38.278Z] nexus3.edgexfoundry.org:10002 [2023-10-04T04:16:38.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:16:38.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:16:38.540Z] Configure a credential helper to remove this warning. See [2023-10-04T04:16:38.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:16:38.540Z] [2023-10-04T04:16:38.540Z] Login Succeeded [2023-10-04T04:16:38.540Z] nexus3.edgexfoundry.org:10003 [2023-10-04T04:16:38.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:16:38.540Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:16:38.540Z] Configure a credential helper to remove this warning. See [2023-10-04T04:16:38.540Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:16:38.540Z] [2023-10-04T04:16:38.540Z] Login Succeeded [2023-10-04T04:16:38.540Z] nexus3.edgexfoundry.org:10004 [2023-10-04T04:16:38.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:16:38.800Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:16:38.801Z] Configure a credential helper to remove this warning. See [2023-10-04T04:16:38.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:16:38.801Z] [2023-10-04T04:16:38.801Z] Login Succeeded [2023-10-04T04:16:38.801Z] docker.io [2023-10-04T04:16:38.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:16:39.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:16:39.061Z] Configure a credential helper to remove this warning. See [2023-10-04T04:16:39.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:16:39.061Z] [2023-10-04T04:16:39.061Z] Login Succeeded [2023-10-04T04:16:39.061Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T04:16:39.088Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-04T04:16:39.706Z] + git rev-list -1 --merges 0d00688335e91370ca010c747d70ea44e6fb41bf~1..0d00688335e91370ca010c747d70ea44e6fb41bf [Pipeline] echo [2023-10-04T04:16:39.765Z] -----------> git rev-list -1 --merges 0d00688335e91370ca010c747d70ea44e6fb41bf~1..0d00688335e91370ca010c747d70ea44e6fb41bf 0d00688335e91370ca010c747d70ea44e6fb41bf [false] [Pipeline] sh [2023-10-04T04:16:40.090Z] + git log --format=format:%s -1 0d00688335e91370ca010c747d70ea44e6fb41bf [Pipeline] echo [2023-10-04T04:16:40.126Z] ========================================================= [2023-10-04T04:16:40.126Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-04T04:16:40.126Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T04:16:40.571Z] + git log --format=format:%s -1 0d00688335e91370ca010c747d70ea44e6fb41bf [Pipeline] echo [2023-10-04T04:16:40.604Z] [semverPrep] GIT_COMMIT: 0d00688335e91370ca010c747d70ea44e6fb41bf, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-10-04T04:16:40.635Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-04T04:16:41.030Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-04T04:16:41.030Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-04T04:16:41.030Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-04T04:16:41.030Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-04T04:16:41.030Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-04T04:16:41.030Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-04T04:16:41.030Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:16:41.536Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T04:16:41.536Z] [2023-10-04T04:16:41.536Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:16:41.922Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T04:16:41.922Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-04T04:16:41.922Z] b85a868b505f: Pulling fs layer [2023-10-04T04:16:41.922Z] e2be974225ed: Pulling fs layer [2023-10-04T04:16:41.922Z] 339a4e72a1f5: Pulling fs layer [2023-10-04T04:16:41.922Z] 988bab9f4d93: Pulling fs layer [2023-10-04T04:16:41.922Z] 1469e6f7b9e6: Pulling fs layer [2023-10-04T04:16:41.922Z] eaf3925da568: Pulling fs layer [2023-10-04T04:16:41.922Z] bab4dde63d76: Pulling fs layer [2023-10-04T04:16:41.922Z] bde34c3a00c8: Pulling fs layer [2023-10-04T04:16:41.922Z] b352a97aabf1: Pulling fs layer [2023-10-04T04:16:41.922Z] 4872d77fe225: Pulling fs layer [2023-10-04T04:16:41.922Z] 5851b861e8e6: Pulling fs layer [2023-10-04T04:16:41.922Z] 988bab9f4d93: Waiting [2023-10-04T04:16:41.922Z] 1469e6f7b9e6: Waiting [2023-10-04T04:16:41.922Z] bab4dde63d76: Waiting [2023-10-04T04:16:41.922Z] b352a97aabf1: Waiting [2023-10-04T04:16:41.922Z] eaf3925da568: Waiting [2023-10-04T04:16:41.922Z] 4872d77fe225: Waiting [2023-10-04T04:16:41.922Z] 5851b861e8e6: Waiting [2023-10-04T04:16:41.922Z] bde34c3a00c8: Waiting [2023-10-04T04:16:41.922Z] e2be974225ed: Verifying Checksum [2023-10-04T04:16:41.922Z] e2be974225ed: Download complete [2023-10-04T04:16:41.922Z] 988bab9f4d93: Verifying Checksum [2023-10-04T04:16:41.922Z] 988bab9f4d93: Download complete [2023-10-04T04:16:42.182Z] 1469e6f7b9e6: Verifying Checksum [2023-10-04T04:16:42.182Z] 1469e6f7b9e6: Download complete [2023-10-04T04:16:42.182Z] eaf3925da568: Verifying Checksum [2023-10-04T04:16:42.182Z] 339a4e72a1f5: Verifying Checksum [2023-10-04T04:16:42.182Z] 339a4e72a1f5: Download complete [2023-10-04T04:16:42.182Z] bde34c3a00c8: Download complete [2023-10-04T04:16:42.182Z] b352a97aabf1: Verifying Checksum [2023-10-04T04:16:42.182Z] b352a97aabf1: Download complete [2023-10-04T04:16:42.182Z] 4872d77fe225: Verifying Checksum [2023-10-04T04:16:42.182Z] 4872d77fe225: Download complete [2023-10-04T04:16:42.182Z] 5851b861e8e6: Verifying Checksum [2023-10-04T04:16:42.182Z] 5851b861e8e6: Download complete [2023-10-04T04:16:42.182Z] b85a868b505f: Verifying Checksum [2023-10-04T04:16:42.182Z] b85a868b505f: Download complete [2023-10-04T04:16:42.441Z] bab4dde63d76: Verifying Checksum [2023-10-04T04:16:42.441Z] bab4dde63d76: Download complete [2023-10-04T04:16:43.377Z] b85a868b505f: Pull complete [2023-10-04T04:16:43.637Z] e2be974225ed: Pull complete [2023-10-04T04:16:44.205Z] 339a4e72a1f5: Pull complete [2023-10-04T04:16:44.205Z] 988bab9f4d93: Pull complete [2023-10-04T04:16:44.464Z] 1469e6f7b9e6: Pull complete [2023-10-04T04:16:44.464Z] eaf3925da568: Pull complete [2023-10-04T04:16:46.369Z] bab4dde63d76: Pull complete [2023-10-04T04:16:46.369Z] bde34c3a00c8: Pull complete [2023-10-04T04:16:46.369Z] b352a97aabf1: Pull complete [2023-10-04T04:16:46.369Z] 4872d77fe225: Pull complete [2023-10-04T04:16:46.369Z] 5851b861e8e6: Pull complete [2023-10-04T04:16:46.369Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-04T04:16:46.369Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-04T04:16:46.369Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:16:46.619Z] prd-ubuntu20.04-docker-8c-8g-8445 does not seem to be running inside a container [2023-10-04T04:16:46.663Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1521 -v /w/workspace/gexfoundry_device-sdk-go_PR-1521:/w/workspace/gexfoundry_device-sdk-go_PR-1521:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1521@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-10-04T04:16:49.181Z] $ docker top 614b9493e1d290ae6f54d96348687ec0eb719a23ddfab5428e94ea5ac04adcc8 -eo pid,comm [2023-10-04T04:16:49.228Z] 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-10-04T04:16:49.228Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-04T04:16:49.357Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T04:16:49.357Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T04:16:49.462Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T04:16:49.467Z] $ docker exec 614b9493e1d290ae6f54d96348687ec0eb719a23ddfab5428e94ea5ac04adcc8 ssh-agent [2023-10-04T04:16:49.580Z] SSH_AUTH_SOCK=/tmp/ssh-Pvi5t3pDj7dO/agent.31 [2023-10-04T04:16:49.580Z] SSH_AGENT_PID=37 [2023-10-04T04:16:49.586Z] Running ssh-add (command line suppressed) [2023-10-04T04:16:49.681Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp/private_key_9354248607814295607.key (/w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp/private_key_9354248607814295607.key) [2023-10-04T04:16:49.691Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T04:16:50.019Z] + git tag --points-at HEAD [Pipeline] } [2023-10-04T04:16:50.047Z] $ docker exec --env ******** --env ******** 614b9493e1d290ae6f54d96348687ec0eb719a23ddfab5428e94ea5ac04adcc8 ssh-agent -k [2023-10-04T04:16:50.138Z] unset SSH_AUTH_SOCK; [2023-10-04T04:16:50.138Z] unset SSH_AGENT_PID; [2023-10-04T04:16:50.139Z] echo Agent pid 37 killed; [2023-10-04T04:16:50.146Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-04T04:16:50.238Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-04T04:16:50.238Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-04T04:16:50.353Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-04T04:16:50.358Z] $ docker exec 614b9493e1d290ae6f54d96348687ec0eb719a23ddfab5428e94ea5ac04adcc8 ssh-agent [2023-10-04T04:16:50.463Z] SSH_AUTH_SOCK=/tmp/ssh-faRRCjtmj43i/agent.69 [2023-10-04T04:16:50.463Z] SSH_AGENT_PID=75 [2023-10-04T04:16:50.468Z] Running ssh-add (command line suppressed) [2023-10-04T04:16:50.569Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp/private_key_9098614690744278216.key (/w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp/private_key_9098614690744278216.key) [2023-10-04T04:16:50.580Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-04T04:16:50.909Z] + git semver init [2023-10-04T04:16:51.168Z] 2023-10-04 04:16:51,081 [run_init] DEBUG init version:0.0.0 force:False [2023-10-04T04:16:51.168Z] 2023-10-04 04:16:51,082 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1521/.semver [2023-10-04T04:16:51.168Z] 2023-10-04 04:16:51,082 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1521/.semver [2023-10-04T04:16:51.168Z] 2023-10-04 04:16:51,083 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1521/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1521, universal_newlines=False, shell=None, istream=None) [2023-10-04T04:16:52.105Z] 2023-10-04 04:16:52,072 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1521/.git/info/exclude [2023-10-04T04:16:52.105Z] 2023-10-04 04:16:52,073 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1521/.semver/PR-1521 with force:False [2023-10-04T04:16:52.105Z] 2023-10-04 04:16:52,073 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1521/.semver/PR-1521 [2023-10-04T04:16:52.105Z] 2023-10-04 04:16:52,077 [execute] INFO git cat-file --batch-check [2023-10-04T04:16:52.105Z] 2023-10-04 04:16:52,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1521/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T04:16:52.105Z] 2023-10-04 04:16:52,083 [execute] INFO git cat-file --batch [2023-10-04T04:16:52.105Z] 2023-10-04 04:16:52,083 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1521/.semver, universal_newlines=False, shell=None, istream=) [2023-10-04T04:16:52.105Z] 2023-10-04 04:16:52,088 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1521/.semver/PR-1521 [2023-10-04T04:16:52.105Z] 0.0.0 [Pipeline] } [2023-10-04T04:16:52.134Z] $ docker exec --env ******** --env ******** 614b9493e1d290ae6f54d96348687ec0eb719a23ddfab5428e94ea5ac04adcc8 ssh-agent -k [2023-10-04T04:16:52.235Z] unset SSH_AUTH_SOCK; [2023-10-04T04:16:52.237Z] unset SSH_AGENT_PID; [2023-10-04T04:16:52.237Z] echo Agent pid 75 killed; [2023-10-04T04:16:52.243Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-04T04:16:52.671Z] + git semver [Pipeline] } [2023-10-04T04:16:52.961Z] $ docker stop --time=1 614b9493e1d290ae6f54d96348687ec0eb719a23ddfab5428e94ea5ac04adcc8 [2023-10-04T04:16:54.256Z] $ docker rm -f --volumes 614b9493e1d290ae6f54d96348687ec0eb719a23ddfab5428e94ea5ac04adcc8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T04:16:54.667Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-04T04:16:54.917Z] Stashed 1 file(s) [Pipeline] echo [2023-10-04T04:16:54.938Z] [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-10-04T04:16:55.569Z] provisioning config files... [2023-10-04T04:16:55.579Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp/config14960707896829976286tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:16:55.930Z] ---> docker-login.sh [2023-10-04T04:16:55.930Z] nexus3.edgexfoundry.org:10001 [2023-10-04T04:16:55.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:16:55.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:16:55.930Z] Configure a credential helper to remove this warning. See [2023-10-04T04:16:55.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:16:55.930Z] [2023-10-04T04:16:55.930Z] Login Succeeded [2023-10-04T04:16:55.930Z] nexus3.edgexfoundry.org:10002 [2023-10-04T04:16:55.930Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:16:55.930Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:16:55.930Z] Configure a credential helper to remove this warning. See [2023-10-04T04:16:55.930Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:16:55.930Z] [2023-10-04T04:16:55.930Z] Login Succeeded [2023-10-04T04:16:55.930Z] nexus3.edgexfoundry.org:10003 [2023-10-04T04:16:56.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:16:56.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:16:56.189Z] Configure a credential helper to remove this warning. See [2023-10-04T04:16:56.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:16:56.189Z] [2023-10-04T04:16:56.189Z] Login Succeeded [2023-10-04T04:16:56.189Z] nexus3.edgexfoundry.org:10004 [2023-10-04T04:16:56.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:16:56.189Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:16:56.189Z] Configure a credential helper to remove this warning. See [2023-10-04T04:16:56.189Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:16:56.189Z] [2023-10-04T04:16:56.189Z] Login Succeeded [2023-10-04T04:16:56.189Z] docker.io [2023-10-04T04:16:56.189Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:16:56.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:16:56.448Z] Configure a credential helper to remove this warning. See [2023-10-04T04:16:56.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:16:56.448Z] [2023-10-04T04:16:56.448Z] Login Succeeded [2023-10-04T04:16:56.448Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T04:16:56.477Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-04T04:16:56.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T04:16:56.719Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T04:16:56.751Z] ========================================================= [2023-10-04T04:16:56.751Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-04T04:16:56.751Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:16:57.227Z] + 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-10-04T04:16:57.227Z] Sending build context to Docker daemon 11.22MB [2023-10-04T04:16:57.227Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T04:16:57.227Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-04T04:16:57.227Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-04T04:16:57.227Z] 7264a8db6415: Pulling fs layer [2023-10-04T04:16:57.227Z] c4d48a809fc2: Pulling fs layer [2023-10-04T04:16:57.227Z] 4f1c88b9dad5: Pulling fs layer [2023-10-04T04:16:57.227Z] ad3a456e5733: Pulling fs layer [2023-10-04T04:16:57.227Z] 33e27b845d1e: Pulling fs layer [2023-10-04T04:16:57.227Z] c68163c4e522: Pulling fs layer [2023-10-04T04:16:57.227Z] 50da416c3ac9: Pulling fs layer [2023-10-04T04:16:57.227Z] 23d2d4c4bb30: Pulling fs layer [2023-10-04T04:16:57.227Z] ad3a456e5733: Waiting [2023-10-04T04:16:57.227Z] 33e27b845d1e: Waiting [2023-10-04T04:16:57.227Z] 50da416c3ac9: Waiting [2023-10-04T04:16:57.488Z] c4d48a809fc2: Verifying Checksum [2023-10-04T04:16:57.488Z] c4d48a809fc2: Download complete [2023-10-04T04:16:57.488Z] ad3a456e5733: Verifying Checksum [2023-10-04T04:16:57.488Z] ad3a456e5733: Download complete [2023-10-04T04:16:57.488Z] 33e27b845d1e: Verifying Checksum [2023-10-04T04:16:57.488Z] 33e27b845d1e: Download complete [2023-10-04T04:16:57.488Z] 7264a8db6415: Verifying Checksum [2023-10-04T04:16:57.488Z] 7264a8db6415: Download complete [2023-10-04T04:16:57.748Z] c68163c4e522: Verifying Checksum [2023-10-04T04:16:57.748Z] c68163c4e522: Download complete [2023-10-04T04:16:57.748Z] 7264a8db6415: Pull complete [2023-10-04T04:16:57.748Z] c4d48a809fc2: Pull complete [2023-10-04T04:16:58.007Z] 23d2d4c4bb30: Verifying Checksum [2023-10-04T04:16:58.007Z] 23d2d4c4bb30: Download complete [2023-10-04T04:16:58.007Z] 4f1c88b9dad5: Verifying Checksum [2023-10-04T04:16:58.007Z] 4f1c88b9dad5: Download complete [2023-10-04T04:16:58.574Z] 50da416c3ac9: Verifying Checksum [2023-10-04T04:16:58.574Z] 50da416c3ac9: Download complete [2023-10-04T04:17:01.104Z] 4f1c88b9dad5: Pull complete [2023-10-04T04:17:01.104Z] ad3a456e5733: Pull complete [2023-10-04T04:17:01.365Z] 33e27b845d1e: Pull complete [2023-10-04T04:17:01.365Z] c68163c4e522: Pull complete [2023-10-04T04:17:03.892Z] 50da416c3ac9: Pull complete [2023-10-04T04:17:04.151Z] 23d2d4c4bb30: Pull complete [2023-10-04T04:17:04.151Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-04T04:17:04.151Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-04T04:17:04.151Z] ---> 0786185ac409 [2023-10-04T04:17:04.151Z] Step 3/10 : ARG MAKE=make build [2023-10-04T04:17:07.550Z] ---> Running in 2f6a49956cb0 [2023-10-04T04:17:07.550Z] Removing intermediate container 2f6a49956cb0 [2023-10-04T04:17:07.550Z] ---> 902c550f83ba [2023-10-04T04:17:07.550Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-04T04:17:07.550Z] ---> Running in 11a248d21843 [2023-10-04T04:17:07.550Z] Removing intermediate container 11a248d21843 [2023-10-04T04:17:07.550Z] ---> b7e3da622a69 [2023-10-04T04:17:07.550Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T04:17:07.550Z] ---> Running in f317e1dd12cf [2023-10-04T04:17:07.550Z] Removing intermediate container f317e1dd12cf [2023-10-04T04:17:07.550Z] ---> cea5be645b03 [2023-10-04T04:17:07.550Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-04T04:17:07.550Z] ---> Running in 5ec780756ea4 [2023-10-04T04:17:07.810Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T04:17:08.068Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T04:17:08.328Z] OK: 264 MiB in 52 packages [2023-10-04T04:17:08.586Z] Removing intermediate container 5ec780756ea4 [2023-10-04T04:17:08.586Z] ---> ca72594779e7 [2023-10-04T04:17:08.586Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-04T04:17:08.845Z] ---> a8badf81f867 [2023-10-04T04:17:08.845Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T04:17:08.845Z] ---> Running in 38cd678bb4fe [2023-10-04T04:17:10.382Z] Still waiting to schedule task [2023-10-04T04:17:10.382Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-04T04:17:55.533Z] Removing intermediate container 38cd678bb4fe [2023-10-04T04:17:55.533Z] ---> 8475cb71fc78 [2023-10-04T04:17:55.533Z] Step 9/10 : COPY . . [2023-10-04T04:17:55.533Z] ---> 02b85c710a07 [2023-10-04T04:17:55.533Z] Step 10/10 : RUN ${MAKE} [2023-10-04T04:17:55.533Z] ---> Running in 0875338906a6 [2023-10-04T04:17:55.533Z] noop [2023-10-04T04:17:55.533Z] Removing intermediate container 0875338906a6 [2023-10-04T04:17:55.533Z] ---> b83ef1e839ee [2023-10-04T04:17:55.533Z] Successfully built b83ef1e839ee [2023-10-04T04:17:55.533Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:17:55.990Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T04:17:55.990Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:17:56.133Z] prd-ubuntu20.04-docker-8c-8g-8445 does not seem to be running inside a container [2023-10-04T04:17:56.160Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1521 -v /w/workspace/gexfoundry_device-sdk-go_PR-1521:/w/workspace/gexfoundry_device-sdk-go_PR-1521:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1521@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-10-04T04:17:56.482Z] $ docker top 745b1f2fffa90adb614ef73dc8971f6efc60d8ba762851c9c2a99dfd23a67325 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T04:17:56.869Z] + go version [2023-10-04T04:17:56.869Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-04T04:17:56.902Z] $ docker stop --time=1 745b1f2fffa90adb614ef73dc8971f6efc60d8ba762851c9c2a99dfd23a67325 [2023-10-04T04:17:58.156Z] $ docker rm -f --volumes 745b1f2fffa90adb614ef73dc8971f6efc60d8ba762851c9c2a99dfd23a67325 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:17:58.861Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-04T04:17:58.861Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:17:59.004Z] prd-ubuntu20.04-docker-8c-8g-8445 does not seem to be running inside a container [2023-10-04T04:17:59.034Z] $ 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-1521 -v /w/workspace/gexfoundry_device-sdk-go_PR-1521:/w/workspace/gexfoundry_device-sdk-go_PR-1521:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1521@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-10-04T04:17:59.358Z] $ docker top 4cbd1e447bb7df3d6c076de615f2fd608c8855b127633e16bac09fe0ad5b5373 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T04:17:59.745Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1521 [Pipeline] fileExists [Pipeline] sh [2023-10-04T04:18:00.102Z] + make test [2023-10-04T04:18:00.102Z] go test -race -coverprofile=coverage.out ./... [2023-10-04T04:18:06.663Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-04T04:18:16.631Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-04T04:18:16.631Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-04T04:18:16.631Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-04T04:18:16.631Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-04T04:18:16.631Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-04T04:18:17.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-04T04:18:17.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-04T04:18:17.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-04T04:18:18.506Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.049s coverage: 27.6% of statements [2023-10-04T04:18:18.506Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.060s coverage: 81.5% of statements [2023-10-04T04:18:18.506Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.070s coverage: 86.0% of statements [2023-10-04T04:18:18.506Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.064s coverage: 71.8% of statements [2023-10-04T04:18:18.506Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-04T04:18:18.506Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-04T04:18:19.440Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-04T04:18:21.971Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.055s coverage: 14.4% of statements [2023-10-04T04:18:21.971Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.906s coverage: 45.6% of statements [2023-10-04T04:18:21.971Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.059s coverage: 68.5% of statements [2023-10-04T04:18:21.971Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.094s coverage: 89.2% of statements [2023-10-04T04:18:21.971Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.043s coverage: 5.5% of statements [2023-10-04T04:18:40.080Z] GO111MODULE=on go vet ./... [2023-10-04T04:18:41.252Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8446 in /w/workspace/gexfoundry_device-sdk-go_PR-1521 [Pipeline] { [Pipeline] ws [2023-10-04T04:18:41.318Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-10-04T04:18:41.397Z] The recommended git tool is: git [2023-10-04T04:18:44.306Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T04:18:44.306Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T04:18:44.306Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T04:18:44.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T04:18:44.373Z] $ docker stop --time=1 4cbd1e447bb7df3d6c076de615f2fd608c8855b127633e16bac09fe0ad5b5373 [2023-10-04T04:18:46.190Z] using credential edgex-jenkins-ssh [2023-10-04T04:18:46.205Z] Cloning the remote Git repository [2023-10-04T04:18:46.249Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-04T04:18:46.338Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-10-04T04:18:46.466Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-04T04:18:46.467Z] > git --version # timeout=10 [2023-10-04T04:18:46.488Z] > git --version # 'git version 2.25.1' [2023-10-04T04:18:46.490Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T04:18:46.635Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T04:18:48.593Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-04T04:18:48.616Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-04T04:18:48.957Z] $ docker rm -f --volumes 4cbd1e447bb7df3d6c076de615f2fd608c8855b127633e16bac09fe0ad5b5373 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T04:18:49.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T04:18:49.662Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-04T04:18:50.089Z] Merging remotes/origin/main commit 1f885853b7afeee748945214d1e34d19c3162505 into PR head commit 0d00688335e91370ca010c747d70ea44e6fb41bf [2023-10-04T04:18:49.429Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-04T04:18:49.468Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-04T04:18:49.469Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T04:18:49.489Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1521/head:refs/remotes/origin/PR-1521 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-04T04:18:50.356Z] + sudo chown -R jenkins:jenkins . [2023-10-04T04:18:50.379Z] Merge succeeded, producing 0d00688335e91370ca010c747d70ea44e6fb41bf [2023-10-04T04:18:50.380Z] Checking out Revision 0d00688335e91370ca010c747d70ea44e6fb41bf (PR-1521) [Pipeline] sh [2023-10-04T04:18:50.673Z] + ls -al . [2023-10-04T04:18:50.673Z] total 304 [2023-10-04T04:18:50.673Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 04:18 . [2023-10-04T04:18:50.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:16 .. [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:16 .dockerignore [2023-10-04T04:18:50.673Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:18 .git [2023-10-04T04:18:50.673Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:16 .github [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 04:16 .gitignore [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:16 .golangci.yml [2023-10-04T04:18:50.673Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:16 .semver [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 4 04:16 CHANGELOG.md [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:16 GOVERNANCE.md [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 04:16 Jenkinsfile [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:16 LICENSE [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 04:16 Makefile [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:16 OWNERS.md [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 4 04:16 README.md [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 04:16 VERSION [2023-10-04T04:18:50.673Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:16 bin [2023-10-04T04:18:50.673Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 4 04:18 coverage.out [2023-10-04T04:18:50.673Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:16 example [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 3722 Oct 4 04:16 go.mod [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 34806 Oct 4 04:16 go.sum [2023-10-04T04:18:50.673Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:16 internal [2023-10-04T04:18:50.673Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:16 openapi [2023-10-04T04:18:50.673Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:16 pkg [2023-10-04T04:18:50.673Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:16 snap [2023-10-04T04:18:50.673Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:18:50.884Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-10-04T04:18:50.931Z] > git --version # timeout=10 [2023-10-04T04:18:50.943Z] > git --version # 'git version 2.25.1' [2023-10-04T04:18:50.960Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-04T04:18:51.083Z] + 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=0d00688335e91370ca010c747d70ea44e6fb41bf --label arch=amd64 --label version=0.0.0 . [2023-10-04T04:18:51.083Z] Sending build context to Docker daemon 11.35MB [2023-10-04T04:18:51.083Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T04:18:51.083Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-04T04:18:51.083Z] ---> b83ef1e839ee [2023-10-04T04:18:51.083Z] Step 3/23 : ARG MAKE=make build [Pipeline] withEnv [Pipeline] { [2023-10-04T04:18:51.341Z] ---> Running in 03ebfb0868ed [2023-10-04T04:18:51.342Z] Removing intermediate container 03ebfb0868ed [2023-10-04T04:18:51.342Z] ---> 2215eeefb450 [2023-10-04T04:18:51.342Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-04T04:18:51.342Z] ---> Running in 657ece0c9417 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-10-04T04:18:50.110Z] > git config core.sparsecheckout # timeout=10 [2023-10-04T04:18:50.172Z] > git checkout -f 0d00688335e91370ca010c747d70ea44e6fb41bf # timeout=10 [2023-10-04T04:18:50.280Z] > git remote # timeout=10 [2023-10-04T04:18:50.299Z] > git config --get remote.origin.url # timeout=10 [2023-10-04T04:18:50.327Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-04T04:18:50.341Z] > git merge 1f885853b7afeee748945214d1e34d19c3162505 # timeout=10 [2023-10-04T04:18:50.366Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-04T04:18:50.390Z] > git config core.sparsecheckout # timeout=10 [2023-10-04T04:18:50.404Z] > git checkout -f 0d00688335e91370ca010c747d70ea44e6fb41bf # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T04:18:51.603Z] Removing intermediate container 657ece0c9417 [2023-10-04T04:18:51.603Z] ---> 1cd20332d306 [2023-10-04T04:18:51.603Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T04:18:51.603Z] ---> Running in 28929af9b12b [2023-10-04T04:18:51.603Z] Removing intermediate container 28929af9b12b [2023-10-04T04:18:51.603Z] ---> 7b55b2bb173d [2023-10-04T04:18:51.603Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-04T04:18:51.603Z] ---> Running in 435c74883580 [2023-10-04T04:18:51.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T04:18:52.046Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-04T04:18:52.047Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T04:18:52.047Z] Dload Upload Total Spent Left Speed [2023-10-04T04:18:52.047Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [2023-10-04T04:18:52.120Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T04:18:52.120Z] OK: 264 MiB in 52 packages [Pipeline] sh [2023-10-04T04:18:52.615Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-04T04:18:52.697Z] Removing intermediate container 435c74883580 [2023-10-04T04:18:52.697Z] ---> 2f3610f06db6 [2023-10-04T04:18:52.697Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-04T04:18:52.697Z] ---> 329d319de324 [2023-10-04T04:18:52.697Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T04:18:52.697Z] ---> Running in 0ef9769aa9af [2023-10-04T04:18:52.959Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-04T04:18:52.959Z] + sudo tee /etc/docker/daemon.new [2023-10-04T04:18:52.959Z] { [2023-10-04T04:18:52.959Z] "registry-mirrors": [ [2023-10-04T04:18:52.959Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-04T04:18:52.959Z] ], [2023-10-04T04:18:52.959Z] "bip": "10.250.0.254/24", [2023-10-04T04:18:52.959Z] "hosts": [ [2023-10-04T04:18:52.959Z] "tcp://0.0.0.0:5555", [2023-10-04T04:18:52.959Z] "unix:///var/run/docker.sock" [2023-10-04T04:18:52.959Z] ], [2023-10-04T04:18:52.959Z] "mtu": 1458, [2023-10-04T04:18:52.959Z] "selinux-enabled": true, [2023-10-04T04:18:52.959Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-04T04:18:52.959Z] } [Pipeline] sh [2023-10-04T04:18:53.263Z] Removing intermediate container 0ef9769aa9af [2023-10-04T04:18:53.263Z] ---> 617782d0d7e0 [2023-10-04T04:18:53.263Z] Step 9/23 : COPY . . [2023-10-04T04:18:53.306Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-04T04:18:53.652Z] + sudo service docker restart [2023-10-04T04:18:53.829Z] ---> 50ba09005e97 [2023-10-04T04:18:53.829Z] Step 10/23 : RUN ${MAKE} [2023-10-04T04:18:53.829Z] ---> Running in 6d8e9395ff3c [2023-10-04T04:18:54.088Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T04:19:11.954Z] provisioning config files... [2023-10-04T04:19:11.979Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4252845615019955090tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:19:12.163Z] Removing intermediate container 6d8e9395ff3c [2023-10-04T04:19:12.163Z] ---> d54d87be0bb3 [2023-10-04T04:19:12.163Z] Step 11/23 : FROM alpine:3.18 [2023-10-04T04:19:12.163Z] 3.18: Pulling from library/alpine [2023-10-04T04:19:12.163Z] 96526aa774ef: Pulling fs layer [2023-10-04T04:19:12.163Z] 96526aa774ef: Download complete [2023-10-04T04:19:12.368Z] ---> docker-login.sh [2023-10-04T04:19:12.368Z] nexus3.edgexfoundry.org:10001 [2023-10-04T04:19:12.424Z] 96526aa774ef: Pull complete [2023-10-04T04:19:12.424Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T04:19:12.424Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T04:19:12.424Z] ---> 8ca4688f4f35 [2023-10-04T04:19:12.424Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-04T04:19:12.424Z] ---> Running in 42cb7f19e279 [2023-10-04T04:19:12.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:19:12.682Z] Removing intermediate container 42cb7f19e279 [2023-10-04T04:19:12.682Z] ---> 2d8586848ac0 [2023-10-04T04:19:12.682Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-04T04:19:12.682Z] ---> Running in a7be8fe17c2e [2023-10-04T04:19:12.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:19:12.918Z] Configure a credential helper to remove this warning. See [2023-10-04T04:19:12.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:19:12.918Z] [2023-10-04T04:19:12.918Z] Login Succeeded [2023-10-04T04:19:12.918Z] nexus3.edgexfoundry.org:10002 [2023-10-04T04:19:12.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-04T04:19:12.941Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-04T04:19:13.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:19:13.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:19:13.187Z] Configure a credential helper to remove this warning. See [2023-10-04T04:19:13.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:19:13.187Z] [2023-10-04T04:19:13.187Z] Login Succeeded [2023-10-04T04:19:13.187Z] nexus3.edgexfoundry.org:10003 [2023-10-04T04:19:13.457Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:19:13.507Z] OK: 7 MiB in 15 packages [2023-10-04T04:19:13.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:19:13.728Z] Configure a credential helper to remove this warning. See [2023-10-04T04:19:13.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:19:13.728Z] [2023-10-04T04:19:13.728Z] Login Succeeded [2023-10-04T04:19:13.728Z] nexus3.edgexfoundry.org:10004 [2023-10-04T04:19:13.764Z] Removing intermediate container a7be8fe17c2e [2023-10-04T04:19:13.764Z] ---> 2b63404d1943 [2023-10-04T04:19:13.764Z] Step 14/23 : WORKDIR / [2023-10-04T04:19:13.764Z] ---> Running in 98cf74b21354 [2023-10-04T04:19:13.765Z] Removing intermediate container 98cf74b21354 [2023-10-04T04:19:13.765Z] ---> 44881b7441a4 [2023-10-04T04:19:13.765Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-04T04:19:13.765Z] ---> cb8f0a9417b7 [2023-10-04T04:19:13.765Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-04T04:19:13.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:19:13.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:19:13.998Z] Configure a credential helper to remove this warning. See [2023-10-04T04:19:13.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:19:13.998Z] [2023-10-04T04:19:13.998Z] Login Succeeded [2023-10-04T04:19:13.998Z] docker.io [2023-10-04T04:19:14.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-04T04:19:14.532Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-04T04:19:14.532Z] Configure a credential helper to remove this warning. See [2023-10-04T04:19:14.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-04T04:19:14.532Z] [2023-10-04T04:19:14.532Z] Login Succeeded [2023-10-04T04:19:14.532Z] ---> docker-login.sh ends [Pipeline] } [2023-10-04T04:19:14.561Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [2023-10-04T04:19:14.697Z] ---> 9111838f69e9 [2023-10-04T04:19:14.697Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-04T04:19:14.697Z] ---> 81a88658a9a0 [2023-10-04T04:19:14.697Z] Step 18/23 : EXPOSE 59999 [2023-10-04T04:19:14.697Z] ---> Running in 743898fced61 [2023-10-04T04:19:14.697Z] Removing intermediate container 743898fced61 [2023-10-04T04:19:14.697Z] ---> bd3aefd02e0b [2023-10-04T04:19:14.697Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-04T04:19:14.697Z] ---> Running in 5db17adc08bb [Pipeline] unstash [Pipeline] echo [2023-10-04T04:19:14.937Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-10-04T04:19:14.955Z] Removing intermediate container 5db17adc08bb [2023-10-04T04:19:14.955Z] ---> d9630a70dba8 [2023-10-04T04:19:14.955Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-04T04:19:14.955Z] ---> Running in f6e86e72a3d4 [2023-10-04T04:19:14.955Z] Removing intermediate container f6e86e72a3d4 [2023-10-04T04:19:14.955Z] ---> cd625dde4937 [2023-10-04T04:19:14.955Z] Step 21/23 : LABEL arch=amd64 [2023-10-04T04:19:14.955Z] ---> Running in 21ce1c8d4baa [2023-10-04T04:19:14.955Z] Removing intermediate container 21ce1c8d4baa [2023-10-04T04:19:14.955Z] ---> 77015f337cdd [2023-10-04T04:19:14.955Z] Step 22/23 : LABEL git_sha=0d00688335e91370ca010c747d70ea44e6fb41bf [2023-10-04T04:19:14.955Z] ---> Running in d28852c79cab [Pipeline] echo [2023-10-04T04:19:14.993Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-04T04:19:15.031Z] ========================================================= [2023-10-04T04:19:15.031Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-04T04:19:15.031Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-10-04T04:19:15.214Z] Removing intermediate container d28852c79cab [2023-10-04T04:19:15.214Z] ---> e4399aca80d2 [2023-10-04T04:19:15.214Z] Step 23/23 : LABEL version=0.0.0 [2023-10-04T04:19:15.214Z] ---> Running in 83d56bde282e [2023-10-04T04:19:15.214Z] Removing intermediate container 83d56bde282e [2023-10-04T04:19:15.214Z] ---> 6289eeb2084f [2023-10-04T04:19:15.214Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T04:19:15.214Z] Successfully built 6289eeb2084f [2023-10-04T04:19:15.214Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] sh [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [2023-10-04T04:19:15.567Z] + 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 . [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [2023-10-04T04:19:15.838Z] Sending build context to Docker daemon 6.004MB [2023-10-04T04:19:15.838Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T04:19:15.838Z] Step 2/10 : FROM ${BASE} AS builder [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:19:16.109Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-04T04:19:16.109Z] 9fda8d8052c6: Pulling fs layer [2023-10-04T04:19:16.109Z] 5d54e960e981: Pulling fs layer [2023-10-04T04:19:16.109Z] c4a7e357bf2a: Pulling fs layer [2023-10-04T04:19:16.109Z] f0e02332f6b5: Pulling fs layer [2023-10-04T04:19:16.109Z] cefa15bbcfad: Pulling fs layer [2023-10-04T04:19:16.109Z] 17808c966233: Pulling fs layer [2023-10-04T04:19:16.109Z] f4c1fc716caa: Pulling fs layer [2023-10-04T04:19:16.109Z] f0e02332f6b5: Waiting [2023-10-04T04:19:16.109Z] 17808c966233: Waiting [2023-10-04T04:19:16.109Z] cefa15bbcfad: Waiting [2023-10-04T04:19:16.109Z] f4c1fc716caa: Waiting [2023-10-04T04:19:16.109Z] 5d54e960e981: Verifying Checksum [2023-10-04T04:19:16.109Z] 5d54e960e981: Download complete [2023-10-04T04:19:16.109Z] f0e02332f6b5: Verifying Checksum [2023-10-04T04:19:16.109Z] f0e02332f6b5: Download complete [2023-10-04T04:19:16.109Z] cefa15bbcfad: Verifying Checksum [2023-10-04T04:19:16.109Z] cefa15bbcfad: Download complete [2023-10-04T04:19:16.244Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T04:19:16.244Z] [2023-10-04T04:19:16.244Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:19:16.383Z] 9fda8d8052c6: Verifying Checksum [2023-10-04T04:19:16.383Z] 9fda8d8052c6: Download complete [2023-10-04T04:19:16.625Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T04:19:16.625Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-04T04:19:16.625Z] 5eb5b503b376: Pulling fs layer [2023-10-04T04:19:16.625Z] 5c69ac0246d0: Pulling fs layer [2023-10-04T04:19:16.625Z] ec43610c2a17: Pulling fs layer [2023-10-04T04:19:16.625Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-04T04:19:16.625Z] 33b1e0a273af: Pulling fs layer [2023-10-04T04:19:16.625Z] 5d3b04190fa2: Pulling fs layer [2023-10-04T04:19:16.625Z] 2f39f015ded8: Pulling fs layer [2023-10-04T04:19:16.625Z] 5d3b04190fa2: Waiting [2023-10-04T04:19:16.625Z] 3a2ae6a8a46f: Waiting [2023-10-04T04:19:16.625Z] 2f39f015ded8: Waiting [2023-10-04T04:19:16.625Z] 33b1e0a273af: Waiting [2023-10-04T04:19:16.625Z] 5c69ac0246d0: Download complete [2023-10-04T04:19:16.625Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-04T04:19:16.625Z] 3a2ae6a8a46f: Download complete [2023-10-04T04:19:16.625Z] 33b1e0a273af: Verifying Checksum [2023-10-04T04:19:16.625Z] 33b1e0a273af: Download complete [2023-10-04T04:19:16.659Z] f4c1fc716caa: Verifying Checksum [2023-10-04T04:19:16.659Z] f4c1fc716caa: Download complete [2023-10-04T04:19:16.885Z] 5d3b04190fa2: Verifying Checksum [2023-10-04T04:19:16.885Z] 5d3b04190fa2: Download complete [2023-10-04T04:19:16.885Z] ec43610c2a17: Verifying Checksum [2023-10-04T04:19:16.885Z] 5eb5b503b376: Verifying Checksum [2023-10-04T04:19:16.885Z] 5eb5b503b376: Download complete [2023-10-04T04:19:17.035Z] 9fda8d8052c6: Pull complete [2023-10-04T04:19:17.450Z] 2f39f015ded8: Download complete [2023-10-04T04:19:17.642Z] 5d54e960e981: Pull complete [2023-10-04T04:19:18.016Z] 5eb5b503b376: Pull complete [2023-10-04T04:19:18.228Z] c4a7e357bf2a: Verifying Checksum [2023-10-04T04:19:18.229Z] c4a7e357bf2a: Download complete [2023-10-04T04:19:18.275Z] 5c69ac0246d0: Pull complete [2023-10-04T04:19:18.535Z] ec43610c2a17: Pull complete [2023-10-04T04:19:18.794Z] 3a2ae6a8a46f: Pull complete [2023-10-04T04:19:18.794Z] 33b1e0a273af: Pull complete [2023-10-04T04:19:18.815Z] 17808c966233: Verifying Checksum [2023-10-04T04:19:18.815Z] 17808c966233: Download complete [2023-10-04T04:19:19.054Z] 5d3b04190fa2: Pull complete [2023-10-04T04:19:23.240Z] 2f39f015ded8: Pull complete [2023-10-04T04:19:23.240Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-04T04:19:23.240Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T04:19:23.240Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:19:23.484Z] prd-ubuntu20.04-docker-8c-8g-8445 does not seem to be running inside a container [2023-10-04T04:19:23.521Z] $ 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-1521 -v /w/workspace/gexfoundry_device-sdk-go_PR-1521:/w/workspace/gexfoundry_device-sdk-go_PR-1521:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1521@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-10-04T04:19:26.307Z] $ docker top 949c34771c717ed78aaeebfcdc7b9c36b9562dd5f5cdfa0a0e9db980b187bb72 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:19:26.755Z] ---> job-cost.sh [2023-10-04T04:19:26.756Z] lf-activate-venv: SKIPPING [2023-10-04T04:19:26.756Z] INFO: No Stack... [2023-10-04T04:19:27.014Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T04:19:27.273Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T04:19:27.590Z] + cut -d, -f6 [2023-10-04T04:19:27.590Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1521/archives/cost.csv [Pipeline] lock [2023-10-04T04:19:27.629Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1521-1-stack-cost] [2023-10-04T04:19:27.634Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1521-1-stack-cost] did not exist. Created. [2023-10-04T04:19:27.634Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T04:19:28.033Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-04T04:19:28.093Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T04:19:28.121Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1521-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T04:19:28.209Z] $ docker stop --time=1 949c34771c717ed78aaeebfcdc7b9c36b9562dd5f5cdfa0a0e9db980b187bb72 [2023-10-04T04:19:28.904Z] c4a7e357bf2a: Pull complete [2023-10-04T04:19:28.905Z] f0e02332f6b5: Pull complete [2023-10-04T04:19:29.172Z] cefa15bbcfad: Pull complete [2023-10-04T04:19:29.349Z] $ docker rm -f --volumes 949c34771c717ed78aaeebfcdc7b9c36b9562dd5f5cdfa0a0e9db980b187bb72 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-04T04:19:35.840Z] 17808c966233: Pull complete [2023-10-04T04:19:37.258Z] f4c1fc716caa: Pull complete [2023-10-04T04:19:37.258Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-04T04:19:37.258Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-04T04:19:37.258Z] ---> ea914061e18c [2023-10-04T04:19:37.258Z] Step 3/10 : ARG MAKE=make build [2023-10-04T04:19:38.662Z] ---> Running in 5ef7e441ea03 [2023-10-04T04:19:38.929Z] Removing intermediate container 5ef7e441ea03 [2023-10-04T04:19:38.929Z] ---> 9eafb2d8cdc0 [2023-10-04T04:19:38.929Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-04T04:19:38.929Z] ---> Running in 6e132c802e6c [2023-10-04T04:19:39.519Z] Removing intermediate container 6e132c802e6c [2023-10-04T04:19:39.519Z] ---> 18dd13455521 [2023-10-04T04:19:39.519Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T04:19:39.519Z] ---> Running in bf4dffb1f2fe [2023-10-04T04:19:39.786Z] Removing intermediate container bf4dffb1f2fe [2023-10-04T04:19:39.786Z] ---> 0124fdbaadfe [2023-10-04T04:19:39.786Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-04T04:19:39.786Z] ---> Running in 3db0c255c230 [2023-10-04T04:19:40.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T04:19:41.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T04:19:42.291Z] OK: 266 MiB in 52 packages [2023-10-04T04:19:42.876Z] Removing intermediate container 3db0c255c230 [2023-10-04T04:19:42.876Z] ---> bfb340459e12 [2023-10-04T04:19:42.876Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-04T04:19:43.461Z] ---> 5cb855730f3f [2023-10-04T04:19:43.461Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T04:19:43.461Z] ---> Running in 0934cedefae6 [2023-10-04T04:20:51.335Z] Removing intermediate container 0934cedefae6 [2023-10-04T04:20:51.335Z] ---> c045c6affbfe [2023-10-04T04:20:51.335Z] Step 9/10 : COPY . . [2023-10-04T04:20:51.335Z] ---> 4cf11f76de7d [2023-10-04T04:20:51.335Z] Step 10/10 : RUN ${MAKE} [2023-10-04T04:20:51.335Z] ---> Running in daccd97bc55f [2023-10-04T04:20:51.335Z] noop [2023-10-04T04:20:51.603Z] Removing intermediate container daccd97bc55f [2023-10-04T04:20:51.603Z] ---> 95fd2deb313a [2023-10-04T04:20:51.603Z] Successfully built 95fd2deb313a [2023-10-04T04:20:51.603Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:20:52.346Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T04:20:52.346Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:20:52.620Z] prd-ubuntu20.04-docker-arm64-4c-16g-8446 does not seem to be running inside a container [2023-10-04T04:20:52.684Z] $ 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-10-04T04:20:53.832Z] $ docker top a5c9e575b6dc9b341c61cdf8360b6a99d540b2a80fedf0cb51cadd56e73b0dd6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T04:20:54.715Z] + go version [2023-10-04T04:20:54.715Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-04T04:20:54.752Z] $ docker stop --time=1 a5c9e575b6dc9b341c61cdf8360b6a99d540b2a80fedf0cb51cadd56e73b0dd6 [2023-10-04T04:20:56.319Z] $ docker rm -f --volumes a5c9e575b6dc9b341c61cdf8360b6a99d540b2a80fedf0cb51cadd56e73b0dd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:20:57.208Z] + docker inspect -f . ci-base-image-arm64 [2023-10-04T04:20:57.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:20:57.457Z] prd-ubuntu20.04-docker-arm64-4c-16g-8446 does not seem to be running inside a container [2023-10-04T04:20:57.517Z] $ 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-10-04T04:20:58.623Z] $ docker top 58f15ff0eff14b7bc15e40e453506fa318d4545c5fa25f0f38826a06a6725c45 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T04:20:59.172Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-04T04:20:59.560Z] + make test [2023-10-04T04:20:59.560Z] go test -race -coverprofile=coverage.out ./... [2023-10-04T04:21:31.959Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-04T04:23:08.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-04T04:23:08.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-04T04:23:08.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-04T04:23:08.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-04T04:23:08.590Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-04T04:23:08.590Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.198s coverage: 27.6% of statements [2023-10-04T04:23:13.931Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.284s coverage: 81.5% of statements [2023-10-04T04:23:23.988Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-04T04:23:23.988Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-04T04:23:23.988Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.471s coverage: 86.0% of statements [2023-10-04T04:23:28.247Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-04T04:23:30.199Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.576s coverage: 71.8% of statements [2023-10-04T04:23:33.537Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.304s coverage: 14.4% of statements [2023-10-04T04:23:33.537Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.986s coverage: 45.9% of statements [2023-10-04T04:23:34.130Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-04T04:23:34.130Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-04T04:23:35.534Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.505s coverage: 68.5% of statements [2023-10-04T04:23:38.882Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.414s coverage: 89.2% of statements [2023-10-04T04:23:39.466Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-04T04:23:40.426Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.230s coverage: 5.5% of statements [2023-10-04T04:23:41.390Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-04T04:23:41.390Z] GO111MODULE=on go vet ./... [2023-10-04T04:25:33.723Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-04T04:25:33.723Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-04T04:25:33.723Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-04T04:25:34.022Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-04T04:25:34.057Z] $ docker stop --time=1 58f15ff0eff14b7bc15e40e453506fa318d4545c5fa25f0f38826a06a6725c45 [2023-10-04T04:25:35.960Z] $ docker rm -f --volumes 58f15ff0eff14b7bc15e40e453506fa318d4545c5fa25f0f38826a06a6725c45 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-04T04:25:37.603Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-04T04:25:37.640Z] Warning: overwriting stash ‘coverage-report’ [2023-10-04T04:25:38.131Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-04T04:25:38.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-04T04:25:39.042Z] + ls -al . [2023-10-04T04:25:39.042Z] total 300 [2023-10-04T04:25:39.042Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 04:21 . [2023-10-04T04:25:39.042Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:18 .. [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 04:18 .dockerignore [2023-10-04T04:25:39.042Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 04:18 .git [2023-10-04T04:25:39.042Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:18 .github [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 04:18 .gitignore [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 4 04:18 .golangci.yml [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 4 04:18 CHANGELOG.md [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 04:18 GOVERNANCE.md [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 04:18 Jenkinsfile [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 04:18 LICENSE [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 04:18 Makefile [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 04:18 OWNERS.md [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 4 04:18 README.md [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 04:16 VERSION [2023-10-04T04:25:39.042Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 04:18 bin [2023-10-04T04:25:39.042Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 4 04:23 coverage.out [2023-10-04T04:25:39.042Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 04:18 example [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 3722 Oct 4 04:18 go.mod [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 34806 Oct 4 04:18 go.sum [2023-10-04T04:25:39.042Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:18 internal [2023-10-04T04:25:39.042Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 04:18 openapi [2023-10-04T04:25:39.042Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 04:18 pkg [2023-10-04T04:25:39.042Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 04:18 snap [2023-10-04T04:25:39.042Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 04:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:25:39.469Z] + 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=0d00688335e91370ca010c747d70ea44e6fb41bf --label arch=arm64 --label version=0.0.0 . [2023-10-04T04:25:39.738Z] Sending build context to Docker daemon 6.127MB [2023-10-04T04:25:39.738Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-04T04:25:39.738Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-04T04:25:39.738Z] ---> 95fd2deb313a [2023-10-04T04:25:39.738Z] Step 3/23 : ARG MAKE=make build [2023-10-04T04:25:40.005Z] ---> Running in c48453cf8fcd [2023-10-04T04:25:40.271Z] Removing intermediate container c48453cf8fcd [2023-10-04T04:25:40.271Z] ---> 855a9c82f559 [2023-10-04T04:25:40.271Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-04T04:25:40.271Z] ---> Running in de962a7872c5 [2023-10-04T04:25:40.538Z] Removing intermediate container de962a7872c5 [2023-10-04T04:25:40.538Z] ---> bf8df2e23a81 [2023-10-04T04:25:40.538Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-04T04:25:40.538Z] ---> Running in ad2093cb1967 [2023-10-04T04:25:40.804Z] Removing intermediate container ad2093cb1967 [2023-10-04T04:25:40.804Z] ---> 21af0877ed1a [2023-10-04T04:25:40.804Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-04T04:25:41.071Z] ---> Running in 20f099f79c4a [2023-10-04T04:25:42.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T04:25:42.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T04:25:43.704Z] OK: 266 MiB in 52 packages [2023-10-04T04:25:44.295Z] Removing intermediate container 20f099f79c4a [2023-10-04T04:25:44.295Z] ---> 80a6ad674ec4 [2023-10-04T04:25:44.295Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-04T04:25:44.565Z] ---> 42b26956b2fb [2023-10-04T04:25:44.565Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-04T04:25:44.832Z] ---> Running in 1dea6c13c7ab [2023-10-04T04:25:49.072Z] Removing intermediate container 1dea6c13c7ab [2023-10-04T04:25:49.072Z] ---> 6bc6f1494a7c [2023-10-04T04:25:49.072Z] Step 9/23 : COPY . . [2023-10-04T04:25:49.654Z] ---> 7b5bc35b8b7f [2023-10-04T04:25:49.654Z] Step 10/23 : RUN ${MAKE} [2023-10-04T04:25:49.654Z] ---> Running in 1341edbc2bfe [2023-10-04T04:25:50.615Z] 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-10-04T04:27:42.453Z] Removing intermediate container 1341edbc2bfe [2023-10-04T04:27:42.453Z] ---> 376ea36bf5c4 [2023-10-04T04:27:42.453Z] Step 11/23 : FROM alpine:3.18 [2023-10-04T04:27:42.453Z] 3.18: Pulling from library/alpine [2023-10-04T04:27:42.453Z] 579b34f0a95b: Pulling fs layer [2023-10-04T04:27:42.453Z] 579b34f0a95b: Verifying Checksum [2023-10-04T04:27:42.453Z] 579b34f0a95b: Download complete [2023-10-04T04:27:42.453Z] 579b34f0a95b: Pull complete [2023-10-04T04:27:42.453Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-04T04:27:42.453Z] Status: Downloaded newer image for alpine:3.18 [2023-10-04T04:27:42.453Z] ---> 3cc203321400 [2023-10-04T04:27:42.453Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-04T04:27:42.453Z] ---> Running in 1e7fedb4a878 [2023-10-04T04:27:42.453Z] Removing intermediate container 1e7fedb4a878 [2023-10-04T04:27:42.453Z] ---> fd678a6dfa4c [2023-10-04T04:27:42.453Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-04T04:27:42.453Z] ---> Running in 6e5ac749a89e [2023-10-04T04:27:42.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-04T04:27:42.453Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-04T04:27:42.453Z] OK: 8 MiB in 15 packages [2023-10-04T04:27:42.453Z] Removing intermediate container 6e5ac749a89e [2023-10-04T04:27:42.453Z] ---> e602dae53aaa [2023-10-04T04:27:42.453Z] Step 14/23 : WORKDIR / [2023-10-04T04:27:42.453Z] ---> Running in 120864519b7f [2023-10-04T04:27:42.453Z] Removing intermediate container 120864519b7f [2023-10-04T04:27:42.453Z] ---> 3168411b37a2 [2023-10-04T04:27:42.453Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-04T04:27:42.453Z] ---> 105723642f57 [2023-10-04T04:27:42.453Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-04T04:27:42.453Z] ---> 3e08d90a57a7 [2023-10-04T04:27:42.453Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-04T04:27:42.453Z] ---> e70bb2028a44 [2023-10-04T04:27:42.453Z] Step 18/23 : EXPOSE 59999 [2023-10-04T04:27:42.453Z] ---> Running in 7b25de4846bc [2023-10-04T04:27:42.453Z] Removing intermediate container 7b25de4846bc [2023-10-04T04:27:42.453Z] ---> 6b841433c92d [2023-10-04T04:27:42.453Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-04T04:27:42.453Z] ---> Running in 1f4b6dc24305 [2023-10-04T04:27:42.453Z] Removing intermediate container 1f4b6dc24305 [2023-10-04T04:27:42.453Z] ---> 17600596fab3 [2023-10-04T04:27:42.453Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-04T04:27:42.453Z] ---> Running in 7d607c3ff3a1 [2023-10-04T04:27:42.453Z] Removing intermediate container 7d607c3ff3a1 [2023-10-04T04:27:42.453Z] ---> 6e31f0a24b8a [2023-10-04T04:27:42.453Z] Step 21/23 : LABEL arch=arm64 [2023-10-04T04:27:42.453Z] ---> Running in 5182ee9f1a53 [2023-10-04T04:27:42.453Z] Removing intermediate container 5182ee9f1a53 [2023-10-04T04:27:42.453Z] ---> bc41969d7576 [2023-10-04T04:27:42.453Z] Step 22/23 : LABEL git_sha=0d00688335e91370ca010c747d70ea44e6fb41bf [2023-10-04T04:27:42.453Z] ---> Running in cebbb4935ce8 [2023-10-04T04:27:42.453Z] Removing intermediate container cebbb4935ce8 [2023-10-04T04:27:42.453Z] ---> c7c01654a0d6 [2023-10-04T04:27:42.453Z] Step 23/23 : LABEL version=0.0.0 [2023-10-04T04:27:42.453Z] ---> Running in 440fcfbc170c [2023-10-04T04:27:42.453Z] Removing intermediate container 440fcfbc170c [2023-10-04T04:27:42.453Z] ---> 04688775ace4 [2023-10-04T04:27:42.453Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-04T04:27:42.453Z] Successfully built 04688775ace4 [2023-10-04T04:27:42.453Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:27:43.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T04:27:43.289Z] [2023-10-04T04:27:43.289Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:27:43.703Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T04:27:43.703Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-04T04:27:43.703Z] 8998bd30e6a1: Pulling fs layer [2023-10-04T04:27:43.703Z] 04944245beec: Pulling fs layer [2023-10-04T04:27:43.703Z] 699f458cf7ca: Pulling fs layer [2023-10-04T04:27:43.703Z] 765212b225bb: Pulling fs layer [2023-10-04T04:27:43.703Z] f23df028b6ca: Pulling fs layer [2023-10-04T04:27:43.703Z] d65c8cfc05b1: Pulling fs layer [2023-10-04T04:27:43.703Z] 2437ff75d9bd: Pulling fs layer [2023-10-04T04:27:43.703Z] 765212b225bb: Waiting [2023-10-04T04:27:43.703Z] f23df028b6ca: Waiting [2023-10-04T04:27:43.703Z] d65c8cfc05b1: Waiting [2023-10-04T04:27:43.703Z] 2437ff75d9bd: Waiting [2023-10-04T04:27:43.970Z] 04944245beec: Verifying Checksum [2023-10-04T04:27:43.970Z] 04944245beec: Download complete [2023-10-04T04:27:43.970Z] 765212b225bb: Verifying Checksum [2023-10-04T04:27:43.970Z] 765212b225bb: Download complete [2023-10-04T04:27:43.970Z] f23df028b6ca: Download complete [2023-10-04T04:27:43.970Z] d65c8cfc05b1: Verifying Checksum [2023-10-04T04:27:43.970Z] d65c8cfc05b1: Download complete [2023-10-04T04:27:43.970Z] 699f458cf7ca: Verifying Checksum [2023-10-04T04:27:43.970Z] 699f458cf7ca: Download complete [2023-10-04T04:27:44.578Z] 8998bd30e6a1: Verifying Checksum [2023-10-04T04:27:44.578Z] 8998bd30e6a1: Download complete [2023-10-04T04:27:46.519Z] 2437ff75d9bd: Verifying Checksum [2023-10-04T04:27:46.519Z] 2437ff75d9bd: Download complete [2023-10-04T04:27:48.459Z] 8998bd30e6a1: Pull complete [2023-10-04T04:27:48.727Z] 04944245beec: Pull complete [2023-10-04T04:27:50.134Z] 699f458cf7ca: Pull complete [2023-10-04T04:27:50.134Z] 765212b225bb: Pull complete [2023-10-04T04:27:51.092Z] f23df028b6ca: Pull complete [2023-10-04T04:27:51.092Z] d65c8cfc05b1: Pull complete [2023-10-04T04:28:06.081Z] 2437ff75d9bd: Pull complete [2023-10-04T04:28:06.081Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-04T04:28:06.081Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-04T04:28:06.081Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:28:06.417Z] prd-ubuntu20.04-docker-arm64-4c-16g-8446 does not seem to be running inside a container [2023-10-04T04:28:06.478Z] $ 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-10-04T04:28:08.944Z] $ docker top 0904ef3dc59f26832a8796994b97ff666291f1a668d731664f82090c5c032085 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:28:09.517Z] ---> job-cost.sh [2023-10-04T04:28:09.786Z] lf-activate-venv: SKIPPING [2023-10-04T04:28:09.786Z] INFO: No Stack... [2023-10-04T04:28:10.368Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-04T04:28:10.949Z] INFO: Archiving Costs [Pipeline] sh [2023-10-04T04:28:11.600Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-10-04T04:28:11.600Z] + cut -d, -f6 [Pipeline] lock [2023-10-04T04:28:11.669Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1521-1-stack-cost] [2023-10-04T04:28:11.674Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1521-1-stack-cost] did not exist. Created. [2023-10-04T04:28:11.674Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1521-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-04T04:28:12.090Z] /w/workspace/device-sdk-go/1@tmp/durable-dc5d1b92/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-04T04:28:12.443Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-04T04:28:12.480Z] Warning: overwriting stash ‘stack-cost’ [2023-10-04T04:28:12.556Z] Stashed 1 file(s) [Pipeline] } [2023-10-04T04:28:12.570Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1521-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-04T04:28:12.658Z] $ docker stop --time=1 0904ef3dc59f26832a8796994b97ff666291f1a668d731664f82090c5c032085 [2023-10-04T04:28:14.134Z] $ docker rm -f --volumes 0904ef3dc59f26832a8796994b97ff666291f1a668d731664f82090c5c032085 [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-10-04T04:28:15.141Z] provisioning config files... [2023-10-04T04:28:15.148Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp/config12383629144552058999tmp [Pipeline] { [Pipeline] sh [2023-10-04T04:28:15.489Z] + set +x [2023-10-04T04:28:15.489Z] + curl -s https://codecov.io/bash [2023-10-04T04:28:15.489Z] + bash -s -- [2023-10-04T04:28:15.748Z] [2023-10-04T04:28:15.748Z] _____ _ [2023-10-04T04:28:15.748Z] / ____| | | [2023-10-04T04:28:15.748Z] | | ___ __| | ___ ___ _____ __ [2023-10-04T04:28:15.748Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-04T04:28:15.748Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-04T04:28:15.748Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-04T04:28:15.748Z] Bash-1.0.6 [2023-10-04T04:28:15.748Z] [2023-10-04T04:28:15.748Z] [2023-10-04T04:28:15.749Z] ==> git version 2.25.1 found [2023-10-04T04:28:15.749Z] ==> 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-10-04T04:28:15.749Z] Release-Date: 2020-01-08 [2023-10-04T04:28:15.749Z] 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-10-04T04:28:15.749Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-04T04:28:15.749Z] ==> Jenkins CI detected. [2023-10-04T04:28:15.749Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1521 [2023-10-04T04:28:15.749Z] project root: . [2023-10-04T04:28:15.749Z] --> token set from env [2023-10-04T04:28:15.749Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-04T04:28:15.749Z] ==> Running gcov in . (disable via -X gcov) [2023-10-04T04:28:15.749Z] ==> Python coveragepy not found [2023-10-04T04:28:15.749Z] ==> Searching for coverage reports in: [2023-10-04T04:28:15.749Z] + . [2023-10-04T04:28:15.749Z] -> Found 1 reports [2023-10-04T04:28:15.749Z] ==> Detecting git/mercurial file structure [2023-10-04T04:28:15.749Z] ==> Reading reports [2023-10-04T04:28:15.749Z] + ./coverage.out bytes=122153 [2023-10-04T04:28:15.749Z] ==> Appending adjustments [2023-10-04T04:28:15.749Z] https://docs.codecov.io/docs/fixing-reports [2023-10-04T04:28:16.007Z] + Found adjustments [2023-10-04T04:28:16.007Z] ==> Gzipping contents [2023-10-04T04:28:16.007Z] 20K /tmp/codecov.K5NIpf.gz [2023-10-04T04:28:16.007Z] ==> Uploading reports [2023-10-04T04:28:16.007Z] url: https://codecov.io [2023-10-04T04:28:16.007Z] query: branch=PR-1521&commit=0d00688335e91370ca010c747d70ea44e6fb41bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1521%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1521&job=&cmd_args= [2023-10-04T04:28:16.007Z] -> Pinging Codecov [2023-10-04T04:28:16.007Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1521&commit=0d00688335e91370ca010c747d70ea44e6fb41bf&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1521%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1521&job=&cmd_args= [2023-10-04T04:28:16.267Z] -> Uploading to [2023-10-04T04:28:16.267Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-04/7E55EF52A471D76F132DFD9A03CDDE97/0d00688335e91370ca010c747d70ea44e6fb41bf/dd4c9729-e89f-4037-9d61-9d10de1ef81f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231004%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231004T042816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d69cc5e6725faee05af6fa2c09ccb8638769eae77bba26c41c7fc871134b00e [2023-10-04T04:28:16.267Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-04T04:28:16.267Z] Dload Upload Total Spent Left Speed [2023-10-04T04:28:16.526Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 80903 --:--:-- --:--:-- --:--:-- 80514 100 16747 0 0 100 16747 0 65163 --:--:-- --:--:-- --:--:-- 64910 [2023-10-04T04:28:16.526Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0d00688335e91370ca010c747d70ea44e6fb41bf [Pipeline] } [2023-10-04T04:28:16.557Z] 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-10-04T04:28:18.386Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1521/archives ] [2023-10-04T04:28:18.387Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1521/archives [2023-10-04T04:28:18.387Z] total 16 [2023-10-04T04:28:18.387Z] drwxr-xr-x 3 root root 4096 Oct 4 04:19 . [2023-10-04T04:28:18.387Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:19 .. [2023-10-04T04:28:18.387Z] drwxr-xr-x 2 root root 4096 Oct 4 04:19 cost [2023-10-04T04:28:18.387Z] -rw-r--r-- 1 root root 86 Oct 4 04:19 cost.csv [2023-10-04T04:28:18.387Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1521/archives [2023-10-04T04:28:18.387Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1521/archives [2023-10-04T04:28:18.387Z] total 16 [2023-10-04T04:28:18.387Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 04:19 . [2023-10-04T04:28:18.387Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 04:19 .. [2023-10-04T04:28:18.387Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 04:19 cost [2023-10-04T04:28:18.387Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 4 04:19 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:28:18.713Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:28:19.597Z] ---> package-listing.sh [2023-10-04T04:28:19.597Z] ++ facter osfamily [2023-10-04T04:28:19.597Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-04T04:28:19.856Z] + OS_FAMILY=debian [2023-10-04T04:28:19.856Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1521 [2023-10-04T04:28:19.856Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-04T04:28:19.856Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-04T04:28:19.856Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-04T04:28:19.856Z] + PACKAGES=/tmp/packages_start.txt [2023-10-04T04:28:19.856Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1521 ']' [2023-10-04T04:28:19.856Z] + PACKAGES=/tmp/packages_end.txt [2023-10-04T04:28:19.856Z] + case "${OS_FAMILY}" in [2023-10-04T04:28:19.856Z] + dpkg -l [2023-10-04T04:28:19.856Z] + grep '^ii' [2023-10-04T04:28:19.856Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-04T04:28:19.856Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-04T04:28:19.856Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-04T04:28:19.856Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1521 ']' [2023-10-04T04:28:19.856Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1521/archives/ [2023-10-04T04:28:19.856Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1521/archives/ [Pipeline] echo [2023-10-04T04:28:19.889Z] 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-1521/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-04T04:28:20.181Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-04T04:28:20.814Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-04T04:28:20.814Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-04T04:28:20.963Z] prd-ubuntu20.04-docker-8c-8g-8445 does not seem to be running inside a container [2023-10-04T04:28:20.996Z] $ 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-1521/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-1521 -v /w/workspace/gexfoundry_device-sdk-go_PR-1521:/w/workspace/gexfoundry_device-sdk-go_PR-1521:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1521@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-10-04T04:28:21.185Z] $ docker top 5bc23d087eff0b0f4bf5017e182175170520e86b1e6532992982ad03c7e73322 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-04T04:28:21.577Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-04T04:28:21.898Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-04T04:28:22.208Z] + ls /var/log/sa-host [2023-10-04T04:28:22.209Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-04T04:28:22.432Z] provisioning config files... [2023-10-04T04:28:22.441Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1521@tmp/config8512864318523618780tmp [Pipeline] { [Pipeline] echo [2023-10-04T04:28:22.499Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:28:22.813Z] ---> create-netrc.sh [Pipeline] } [2023-10-04T04:28:22.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:28:23.250Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-04T04:28:23.286Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:28:23.603Z] ---> sudo-logs.sh [2023-10-04T04:28:23.603Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-04T04:28:23.685Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:28:23.995Z] ---> job-cost.sh [2023-10-04T04:28:23.995Z] lf-activate-venv: SKIPPING [2023-10-04T04:28:23.995Z] DEBUG: total: 0.2199999988079071 [2023-10-04T04:28:23.995Z] INFO: Retrieving Stack Cost... [2023-10-04T04:28:24.565Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-04T04:28:24.825Z] INFO: Archiving Costs [Pipeline] echo [2023-10-04T04:28:24.860Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-04T04:28:25.169Z] ---> logs-deploy.sh [2023-10-04T04:28:25.169Z] lf-activate-venv: SKIPPING [2023-10-04T04:28:25.169Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1521/1 [2023-10-04T04:28:25.169Z] INFO: archiving workspace using pattern(s): [2023-10-04T04:28:26.105Z] Archives upload complete. [2023-10-04T04:28:26.105Z] INFO: archiving logs to Nexus