Pull request #1415 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec+661b18549173505f3afdb4be110c3839c952cb0c (efcd64990d6ce9f4c98e022eaac995c4a46a56e2) 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-ssh13993005173484175080.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh8409108386402047567.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh 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-1415/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-1415/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4514751589615791933.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-1415/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9030758793045852971.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh15245539312137976113.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-1415/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-1415/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10328697291035421027.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 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6960 in /w/workspace/gexfoundry_device-sdk-go_PR-1415 [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-1415 # 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/1415/head:refs/remotes/origin/PR-1415 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 661b18549173505f3afdb4be110c3839c952cb0c into PR head commit aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec Merge succeeded, producing aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec Checking out Revision aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec (PR-1415) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv > git config core.sparsecheckout # timeout=10 > git checkout -f aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec # 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 661b18549173505f3afdb4be110c3839c952cb0c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec # timeout=10 [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-06T04:58:53.000Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-06T04:58:53.189Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-06T04:58:53.279Z] ========================================================= [2023-04-06T04:58:53.280Z] EdgeX Global Pipelines Version Info [2023-04-06T04:58:53.280Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:58:54.019Z] ------------------- [2023-04-06T04:58:54.019Z] stable info: [2023-04-06T04:58:54.019Z] ------------------- [2023-04-06T04:58:54.019Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-04-06T04:58:54.019Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-04-06T04:58:54.019Z] Message: update stable to v1.0.245 [2023-04-06T04:58:54.589Z] ------------------- [2023-04-06T04:58:54.589Z] experimental info: [2023-04-06T04:58:54.589Z] ------------------- [2023-04-06T04:58:54.589Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-06T04:58:54.589Z] Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 [2023-04-06T04:58:54.589Z] Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-06T04:58:54.844Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-06T04:58:54.882Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-06T04:58:54.918Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-06T04:58:54.954Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-06T04:58:54.992Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-06T04:58:55.026Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-06T04:58:55.065Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-06T04:58:55.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-06T04:58:55.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-06T04:58:55.175Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-06T04:58:55.211Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-06T04:58:55.251Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-06T04:58:55.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-06T04:58:55.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-06T04:58:55.363Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-06T04:58:55.402Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T04:58:55.442Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T04:58:55.483Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-06T04:58:55.524Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-06T04:58:55.565Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-06T04:58:55.603Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-06T04:58:55.642Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-06T04:58:55.679Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-06T04:58:55.723Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-06T04:58:55.760Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-06T04:58:55.800Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-06T04:58:55.839Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-06T04:58:55.878Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1415 [Pipeline] echo [2023-04-06T04:58:55.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1415 [Pipeline] echo [2023-04-06T04:58:55.954Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1415 [Pipeline] echo [2023-04-06T04:58:55.993Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec [Pipeline] echo [2023-04-06T04:58:56.037Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aa30970 [Pipeline] echo [2023-04-06T04:58:56.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T04:58:56.186Z] provisioning config files... [2023-04-06T04:58:56.203Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/config6580982858953832280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:58:56.542Z] ---> docker-login.sh [2023-04-06T04:58:56.542Z] nexus3.edgexfoundry.org:10001 [2023-04-06T04:58:56.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:58:57.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:58:57.064Z] Configure a credential helper to remove this warning. See [2023-04-06T04:58:57.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:58:57.064Z] [2023-04-06T04:58:57.064Z] Login Succeeded [2023-04-06T04:58:57.064Z] nexus3.edgexfoundry.org:10002 [2023-04-06T04:58:57.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:58:57.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:58:57.064Z] Configure a credential helper to remove this warning. See [2023-04-06T04:58:57.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:58:57.064Z] [2023-04-06T04:58:57.064Z] Login Succeeded [2023-04-06T04:58:57.064Z] nexus3.edgexfoundry.org:10003 [2023-04-06T04:58:57.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:58:57.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:58:57.328Z] Configure a credential helper to remove this warning. See [2023-04-06T04:58:57.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:58:57.328Z] [2023-04-06T04:58:57.328Z] Login Succeeded [2023-04-06T04:58:57.328Z] nexus3.edgexfoundry.org:10004 [2023-04-06T04:58:57.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:58:57.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:58:57.328Z] Configure a credential helper to remove this warning. See [2023-04-06T04:58:57.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:58:57.328Z] [2023-04-06T04:58:57.328Z] Login Succeeded [2023-04-06T04:58:57.328Z] docker.io [2023-04-06T04:58:57.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:58:57.590Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:58:57.590Z] Configure a credential helper to remove this warning. See [2023-04-06T04:58:57.590Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:58:57.590Z] [2023-04-06T04:58:57.590Z] Login Succeeded [2023-04-06T04:58:57.590Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T04:58:57.619Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-06T04:58:58.232Z] + git rev-list -1 --merges aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec~1..aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec [Pipeline] echo [2023-04-06T04:58:58.299Z] -----------> git rev-list -1 --merges aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec~1..aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec [false] [Pipeline] sh [2023-04-06T04:58:58.608Z] + git log --format=format:%s -1 aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec [Pipeline] echo [2023-04-06T04:58:58.641Z] ========================================================= [2023-04-06T04:58:58.641Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-06T04:58:58.641Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T04:58:59.056Z] + git log --format=format:%s -1 aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec [Pipeline] echo [2023-04-06T04:58:59.091Z] [semverPrep] GIT_COMMIT: aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-04-06T04:58:59.118Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-06T04:58:59.510Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-06T04:58:59.510Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-06T04:58:59.510Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-06T04:58:59.510Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-06T04:58:59.510Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-06T04:58:59.510Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-06T04:58:59.510Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:58:59.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T04:58:59.986Z] [2023-04-06T04:58:59.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:59:00.353Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T04:59:00.353Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-06T04:59:00.353Z] b85a868b505f: Pulling fs layer [2023-04-06T04:59:00.353Z] e2be974225ed: Pulling fs layer [2023-04-06T04:59:00.353Z] 339a4e72a1f5: Pulling fs layer [2023-04-06T04:59:00.353Z] 988bab9f4d93: Pulling fs layer [2023-04-06T04:59:00.353Z] 1469e6f7b9e6: Pulling fs layer [2023-04-06T04:59:00.353Z] eaf3925da568: Pulling fs layer [2023-04-06T04:59:00.353Z] bab4dde63d76: Pulling fs layer [2023-04-06T04:59:00.353Z] bde34c3a00c8: Pulling fs layer [2023-04-06T04:59:00.353Z] b352a97aabf1: Pulling fs layer [2023-04-06T04:59:00.353Z] 4872d77fe225: Pulling fs layer [2023-04-06T04:59:00.353Z] 5851b861e8e6: Pulling fs layer [2023-04-06T04:59:00.353Z] 988bab9f4d93: Waiting [2023-04-06T04:59:00.353Z] eaf3925da568: Waiting [2023-04-06T04:59:00.353Z] bab4dde63d76: Waiting [2023-04-06T04:59:00.353Z] bde34c3a00c8: Waiting [2023-04-06T04:59:00.353Z] b352a97aabf1: Waiting [2023-04-06T04:59:00.353Z] 5851b861e8e6: Waiting [2023-04-06T04:59:00.353Z] 4872d77fe225: Waiting [2023-04-06T04:59:00.353Z] 1469e6f7b9e6: Waiting [2023-04-06T04:59:00.353Z] e2be974225ed: Verifying Checksum [2023-04-06T04:59:00.353Z] e2be974225ed: Download complete [2023-04-06T04:59:00.353Z] 988bab9f4d93: Verifying Checksum [2023-04-06T04:59:00.353Z] 988bab9f4d93: Download complete [2023-04-06T04:59:00.613Z] 1469e6f7b9e6: Verifying Checksum [2023-04-06T04:59:00.613Z] 1469e6f7b9e6: Download complete [2023-04-06T04:59:00.613Z] eaf3925da568: Verifying Checksum [2023-04-06T04:59:00.613Z] eaf3925da568: Download complete [2023-04-06T04:59:00.613Z] 339a4e72a1f5: Verifying Checksum [2023-04-06T04:59:00.613Z] 339a4e72a1f5: Download complete [2023-04-06T04:59:00.613Z] bde34c3a00c8: Verifying Checksum [2023-04-06T04:59:00.613Z] bde34c3a00c8: Download complete [2023-04-06T04:59:00.613Z] b352a97aabf1: Download complete [2023-04-06T04:59:00.613Z] 4872d77fe225: Download complete [2023-04-06T04:59:00.613Z] 5851b861e8e6: Verifying Checksum [2023-04-06T04:59:00.613Z] 5851b861e8e6: Download complete [2023-04-06T04:59:00.613Z] b85a868b505f: Verifying Checksum [2023-04-06T04:59:00.613Z] b85a868b505f: Download complete [2023-04-06T04:59:00.873Z] bab4dde63d76: Verifying Checksum [2023-04-06T04:59:00.873Z] bab4dde63d76: Download complete [2023-04-06T04:59:02.250Z] b85a868b505f: Pull complete [2023-04-06T04:59:02.250Z] e2be974225ed: Pull complete [2023-04-06T04:59:02.509Z] 339a4e72a1f5: Pull complete [2023-04-06T04:59:02.768Z] 988bab9f4d93: Pull complete [2023-04-06T04:59:03.027Z] 1469e6f7b9e6: Pull complete [2023-04-06T04:59:03.027Z] eaf3925da568: Pull complete [2023-04-06T04:59:05.567Z] bab4dde63d76: Pull complete [2023-04-06T04:59:05.567Z] bde34c3a00c8: Pull complete [2023-04-06T04:59:05.832Z] b352a97aabf1: Pull complete [2023-04-06T04:59:06.108Z] 4872d77fe225: Pull complete [2023-04-06T04:59:06.108Z] 5851b861e8e6: Pull complete [2023-04-06T04:59:06.108Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-06T04:59:06.367Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-06T04:59:06.367Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T04:59:06.596Z] prd-ubuntu20.04-docker-8c-8g-6960 does not seem to be running inside a container [2023-04-06T04:59:06.627Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1415 -v /w/workspace/gexfoundry_device-sdk-go_PR-1415:/w/workspace/gexfoundry_device-sdk-go_PR-1415:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1415@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-04-06T04:59:11.540Z] $ docker top 47a20a10f7192e28a707c601be76592c6aee9459d94e9bb90a4f303254bb7e87 -eo pid,comm [2023-04-06T04:59:11.587Z] 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-04-06T04:59:11.587Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-06T04:59:11.712Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T04:59:11.712Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T04:59:11.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T04:59:11.828Z] $ docker exec 47a20a10f7192e28a707c601be76592c6aee9459d94e9bb90a4f303254bb7e87 ssh-agent [2023-04-06T04:59:11.933Z] SSH_AUTH_SOCK=/tmp/ssh-hV3YhwccnUOb/agent.32 [2023-04-06T04:59:11.933Z] SSH_AGENT_PID=38 [2023-04-06T04:59:11.939Z] Running ssh-add (command line suppressed) [2023-04-06T04:59:12.050Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/private_key_8736096858270685058.key (/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/private_key_8736096858270685058.key) [2023-04-06T04:59:12.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T04:59:12.396Z] + git tag --points-at HEAD [Pipeline] } [2023-04-06T04:59:12.426Z] $ docker exec --env ******** --env ******** 47a20a10f7192e28a707c601be76592c6aee9459d94e9bb90a4f303254bb7e87 ssh-agent -k [2023-04-06T04:59:12.532Z] unset SSH_AUTH_SOCK; [2023-04-06T04:59:12.532Z] unset SSH_AGENT_PID; [2023-04-06T04:59:12.533Z] echo Agent pid 38 killed; [2023-04-06T04:59:12.544Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-06T04:59:12.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-06T04:59:12.621Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-06T04:59:12.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-06T04:59:12.952Z] $ docker exec 47a20a10f7192e28a707c601be76592c6aee9459d94e9bb90a4f303254bb7e87 ssh-agent [2023-04-06T04:59:13.054Z] SSH_AUTH_SOCK=/tmp/ssh-vHVmDF8ydHaL/agent.71 [2023-04-06T04:59:13.054Z] SSH_AGENT_PID=77 [2023-04-06T04:59:13.062Z] Running ssh-add (command line suppressed) [2023-04-06T04:59:13.168Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/private_key_7285071959654492429.key (/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/private_key_7285071959654492429.key) [2023-04-06T04:59:13.177Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-06T04:59:13.508Z] + git semver init [2023-04-06T04:59:13.768Z] 2023-04-06 04:59:13,695 [run_init] DEBUG init version:0.0.0 force:False [2023-04-06T04:59:13.768Z] 2023-04-06 04:59:13,696 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver [2023-04-06T04:59:13.768Z] 2023-04-06 04:59:13,697 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver [2023-04-06T04:59:13.768Z] 2023-04-06 04:59:13,697 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1415, universal_newlines=False, shell=None, istream=None) [2023-04-06T04:59:14.714Z] 2023-04-06 04:59:14,635 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415/.git/info/exclude [2023-04-06T04:59:14.714Z] 2023-04-06 04:59:14,636 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver/PR-1415 with force:False [2023-04-06T04:59:14.714Z] 2023-04-06 04:59:14,637 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver/PR-1415 [2023-04-06T04:59:14.714Z] 2023-04-06 04:59:14,641 [execute] INFO git cat-file --batch-check [2023-04-06T04:59:14.714Z] 2023-04-06 04:59:14,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T04:59:14.714Z] 2023-04-06 04:59:14,647 [execute] INFO git cat-file --batch [2023-04-06T04:59:14.714Z] 2023-04-06 04:59:14,647 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver, universal_newlines=False, shell=None, istream=) [2023-04-06T04:59:14.714Z] 2023-04-06 04:59:14,652 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1415/.semver/PR-1415 [2023-04-06T04:59:14.714Z] 0.0.0 [Pipeline] } [2023-04-06T04:59:14.742Z] $ docker exec --env ******** --env ******** 47a20a10f7192e28a707c601be76592c6aee9459d94e9bb90a4f303254bb7e87 ssh-agent -k [2023-04-06T04:59:14.854Z] unset SSH_AUTH_SOCK; [2023-04-06T04:59:14.855Z] unset SSH_AGENT_PID; [2023-04-06T04:59:14.855Z] echo Agent pid 77 killed; [2023-04-06T04:59:14.861Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-06T04:59:15.305Z] + git semver [Pipeline] } [2023-04-06T04:59:15.598Z] $ docker stop --time=1 47a20a10f7192e28a707c601be76592c6aee9459d94e9bb90a4f303254bb7e87 [2023-04-06T04:59:17.174Z] $ docker rm -f --volumes 47a20a10f7192e28a707c601be76592c6aee9459d94e9bb90a4f303254bb7e87 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T04:59:17.624Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-06T04:59:17.927Z] Stashed 1 file(s) [Pipeline] echo [2023-04-06T04:59:17.944Z] [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-04-06T04:59:18.535Z] provisioning config files... [2023-04-06T04:59:18.545Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/config14318995372917653931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T04:59:18.888Z] ---> docker-login.sh [2023-04-06T04:59:18.888Z] nexus3.edgexfoundry.org:10001 [2023-04-06T04:59:18.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:18.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:18.888Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:18.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:18.888Z] [2023-04-06T04:59:18.888Z] Login Succeeded [2023-04-06T04:59:18.888Z] nexus3.edgexfoundry.org:10002 [2023-04-06T04:59:18.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:19.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:19.148Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:19.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:19.148Z] [2023-04-06T04:59:19.148Z] Login Succeeded [2023-04-06T04:59:19.148Z] nexus3.edgexfoundry.org:10003 [2023-04-06T04:59:19.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:19.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:19.148Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:19.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:19.148Z] [2023-04-06T04:59:19.148Z] Login Succeeded [2023-04-06T04:59:19.148Z] nexus3.edgexfoundry.org:10004 [2023-04-06T04:59:19.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:19.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:19.408Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:19.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:19.408Z] [2023-04-06T04:59:19.408Z] Login Succeeded [2023-04-06T04:59:19.408Z] docker.io [2023-04-06T04:59:19.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T04:59:19.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T04:59:19.668Z] Configure a credential helper to remove this warning. See [2023-04-06T04:59:19.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T04:59:19.668Z] [2023-04-06T04:59:19.668Z] Login Succeeded [2023-04-06T04:59:19.668Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T04:59:19.707Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-06T04:59:19.913Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T04:59:19.949Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T04:59:19.983Z] ========================================================= [2023-04-06T04:59:19.983Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-06T04:59:19.983Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T04:59:20.437Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-06T04:59:20.437Z] Sending build context to Docker daemon 10.91MB [2023-04-06T04:59:20.437Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T04:59:20.437Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-06T04:59:20.698Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-06T04:59:20.698Z] 63b65145d645: Pulling fs layer [2023-04-06T04:59:20.698Z] a2d21d5440eb: Pulling fs layer [2023-04-06T04:59:20.698Z] 935e6c44a52c: Pulling fs layer [2023-04-06T04:59:20.698Z] 94cc34f8dd06: Pulling fs layer [2023-04-06T04:59:20.698Z] 30dea6a524f1: Pulling fs layer [2023-04-06T04:59:20.698Z] a2aff8979fd8: Pulling fs layer [2023-04-06T04:59:20.698Z] 6808be2612f2: Pulling fs layer [2023-04-06T04:59:20.698Z] f25807f1079a: Pulling fs layer [2023-04-06T04:59:20.698Z] 6808be2612f2: Waiting [2023-04-06T04:59:20.698Z] f25807f1079a: Waiting [2023-04-06T04:59:20.698Z] 94cc34f8dd06: Waiting [2023-04-06T04:59:20.698Z] 30dea6a524f1: Waiting [2023-04-06T04:59:20.698Z] a2aff8979fd8: Waiting [2023-04-06T04:59:20.698Z] a2d21d5440eb: Download complete [2023-04-06T04:59:20.698Z] 94cc34f8dd06: Verifying Checksum [2023-04-06T04:59:20.698Z] 94cc34f8dd06: Download complete [2023-04-06T04:59:20.698Z] 30dea6a524f1: Download complete [2023-04-06T04:59:20.698Z] 63b65145d645: Verifying Checksum [2023-04-06T04:59:20.698Z] 63b65145d645: Download complete [2023-04-06T04:59:20.698Z] a2aff8979fd8: Verifying Checksum [2023-04-06T04:59:20.698Z] a2aff8979fd8: Download complete [2023-04-06T04:59:20.962Z] 63b65145d645: Pull complete [2023-04-06T04:59:21.230Z] f25807f1079a: Verifying Checksum [2023-04-06T04:59:21.230Z] f25807f1079a: Download complete [2023-04-06T04:59:21.491Z] 935e6c44a52c: Verifying Checksum [2023-04-06T04:59:21.491Z] 935e6c44a52c: Download complete [2023-04-06T04:59:21.491Z] a2d21d5440eb: Pull complete [2023-04-06T04:59:21.750Z] 6808be2612f2: Verifying Checksum [2023-04-06T04:59:25.940Z] 935e6c44a52c: Pull complete [2023-04-06T04:59:25.940Z] 94cc34f8dd06: Pull complete [2023-04-06T04:59:25.940Z] 30dea6a524f1: Pull complete [2023-04-06T04:59:26.199Z] a2aff8979fd8: Pull complete [2023-04-06T04:59:29.477Z] 6808be2612f2: Pull complete [2023-04-06T04:59:30.411Z] f25807f1079a: Pull complete [2023-04-06T04:59:30.411Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-06T04:59:30.411Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-06T04:59:30.411Z] ---> 3b553350e43f [2023-04-06T04:59:30.411Z] Step 3/10 : ARG MAKE=make build [2023-04-06T04:59:33.363Z] Still waiting to schedule task [2023-04-06T04:59:33.363Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-04-06T04:59:42.662Z] ---> Running in 94fcbf0744bd [2023-04-06T04:59:42.662Z] Removing intermediate container 94fcbf0744bd [2023-04-06T04:59:42.662Z] ---> 761bc4b61186 [2023-04-06T04:59:42.662Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-06T04:59:42.662Z] ---> Running in a995df610551 [2023-04-06T04:59:42.662Z] Removing intermediate container a995df610551 [2023-04-06T04:59:42.662Z] ---> a19ccb437afe [2023-04-06T04:59:42.662Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-06T04:59:42.662Z] ---> Running in b350b75a7fa6 [2023-04-06T04:59:43.232Z] Removing intermediate container b350b75a7fa6 [2023-04-06T04:59:43.232Z] ---> 14e884368d8c [2023-04-06T04:59:43.232Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-06T04:59:43.491Z] ---> Running in 875ac193344b [2023-04-06T04:59:44.059Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T04:59:44.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T04:59:44.593Z] OK: 265 MiB in 53 packages [2023-04-06T04:59:45.533Z] Removing intermediate container 875ac193344b [2023-04-06T04:59:45.533Z] ---> 10360cd99c98 [2023-04-06T04:59:45.533Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-06T04:59:45.795Z] ---> 7234a780fa6a [2023-04-06T04:59:45.795Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T04:59:46.054Z] ---> Running in 692f398d680f [2023-04-06T05:00:32.759Z] Removing intermediate container 692f398d680f [2023-04-06T05:00:32.760Z] ---> e401c0e7bfe4 [2023-04-06T05:00:32.760Z] Step 9/10 : COPY . . [2023-04-06T05:00:32.760Z] ---> d3a4b881bf4e [2023-04-06T05:00:32.760Z] Step 10/10 : RUN ${MAKE} [2023-04-06T05:00:32.760Z] ---> Running in 2a72ecb3bb99 [2023-04-06T05:00:32.760Z] noop [2023-04-06T05:00:32.760Z] Removing intermediate container 2a72ecb3bb99 [2023-04-06T05:00:32.760Z] ---> 2d9638810376 [2023-04-06T05:00:32.760Z] Successfully built 2d9638810376 [2023-04-06T05:00:32.760Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:00:33.208Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-06T05:00:33.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:00:33.364Z] prd-ubuntu20.04-docker-8c-8g-6960 does not seem to be running inside a container [2023-04-06T05:00:33.396Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1415 -v /w/workspace/gexfoundry_device-sdk-go_PR-1415:/w/workspace/gexfoundry_device-sdk-go_PR-1415:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1415@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-04-06T05:00:33.776Z] $ docker top 0cfb8ffc57f4e3fde8988ba1fb7d6a663bf08d4d3deaaf745986d3b2cb58c8e0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T05:00:34.160Z] + go version [2023-04-06T05:00:34.160Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-06T05:00:34.195Z] $ docker stop --time=1 0cfb8ffc57f4e3fde8988ba1fb7d6a663bf08d4d3deaaf745986d3b2cb58c8e0 [2023-04-06T05:00:35.533Z] $ docker rm -f --volumes 0cfb8ffc57f4e3fde8988ba1fb7d6a663bf08d4d3deaaf745986d3b2cb58c8e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:00:36.227Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-06T05:00:36.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:00:36.363Z] prd-ubuntu20.04-docker-8c-8g-6960 does not seem to be running inside a container [2023-04-06T05:00:36.397Z] $ 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-1415 -v /w/workspace/gexfoundry_device-sdk-go_PR-1415:/w/workspace/gexfoundry_device-sdk-go_PR-1415:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1415@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-04-06T05:00:36.945Z] $ docker top 9031f6494d690af918669749a3da8fed593d246d12477cdc38ec562e30efde81 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T05:00:37.344Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1415 [Pipeline] fileExists [Pipeline] sh [2023-04-06T05:00:37.712Z] + make test [2023-04-06T05:00:37.712Z] go test -race -coverprofile=coverage.out ./... [2023-04-06T05:00:45.831Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-06T05:01:00.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-06T05:01:00.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-06T05:01:00.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-06T05:01:00.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-06T05:01:00.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-06T05:01:00.933Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements [2023-04-06T05:01:00.933Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.057s coverage: 79.9% of statements [2023-04-06T05:01:00.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-06T05:01:00.933Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-06T05:01:00.933Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements [2023-04-06T05:01:01.888Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-06T05:01:01.888Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-06T05:01:02.150Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 75.7% of statements [2023-04-06T05:01:02.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-06T05:01:02.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-06T05:01:03.091Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-06T05:01:05.015Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.066s coverage: 14.9% of statements [2023-04-06T05:01:05.015Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.071s coverage: 68.5% of statements [2023-04-06T05:01:05.015Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.118s coverage: 89.2% of statements [2023-04-06T05:01:05.015Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-04-06T05:01:08.488Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6963 in /w/workspace/gexfoundry_device-sdk-go_PR-1415 [Pipeline] { [Pipeline] ws [2023-04-06T05:01:08.545Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-06T05:01:08.622Z] The recommended git tool is: git [2023-04-06T05:01:13.915Z] using credential edgex-jenkins-ssh [2023-04-06T05:01:13.935Z] Cloning the remote Git repository [2023-04-06T05:01:13.978Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-06T05:01:14.079Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-06T05:01:14.233Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-06T05:01:14.235Z] > git --version # timeout=10 [2023-04-06T05:01:14.258Z] > git --version # 'git version 2.25.1' [2023-04-06T05:01:14.261Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T05:01:14.426Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T05:01:18.338Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-06T05:01:18.372Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-06T05:01:19.923Z] Merging remotes/origin/main commit 661b18549173505f3afdb4be110c3839c952cb0c into PR head commit aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec [2023-04-06T05:01:19.269Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-06T05:01:19.311Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-06T05:01:19.312Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T05:01:19.330Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1415/head:refs/remotes/origin/PR-1415 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-06T05:01:19.941Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T05:01:20.037Z] > git checkout -f aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec # timeout=10 [2023-04-06T05:01:20.162Z] > git remote # timeout=10 [2023-04-06T05:01:20.190Z] > git config --get remote.origin.url # timeout=10 [2023-04-06T05:01:20.221Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-06T05:01:20.288Z] Merge succeeded, producing aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec [2023-04-06T05:01:20.288Z] Checking out Revision aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec (PR-1415) [2023-04-06T05:01:20.881Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2023-04-06T05:01:20.935Z] > git --version # timeout=10 [2023-04-06T05:01:20.948Z] > git --version # 'git version 2.25.1' [2023-04-06T05:01:20.965Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T05:01:20.237Z] > git merge 661b18549173505f3afdb4be110c3839c952cb0c # timeout=10 [2023-04-06T05:01:20.266Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-06T05:01:20.292Z] > git config core.sparsecheckout # timeout=10 [2023-04-06T05:01:20.311Z] > git checkout -f aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec # timeout=10 [2023-04-06T05:01:22.040Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-06T05:01:22.040Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-06T05:01:22.040Z] Dload Upload Total Spent Left Speed [2023-04-06T05:01:22.040Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 71 12751 71 9124 0 0 45168 0 --:--:-- --:--:-- --:--:-- 45168 100 12751 100 12751 0 0 62812 0 --:--:-- --:--:-- --:--:-- 62504 [Pipeline] sh [2023-04-06T05:01:22.650Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-06T05:01:23.004Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-06T05:01:23.004Z] + sudo tee /etc/docker/daemon.new [2023-04-06T05:01:23.004Z] { [2023-04-06T05:01:23.004Z] "registry-mirrors": [ [2023-04-06T05:01:23.004Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-06T05:01:23.004Z] ], [2023-04-06T05:01:23.004Z] "bip": "10.250.0.254/24", [2023-04-06T05:01:23.004Z] "hosts": [ [2023-04-06T05:01:23.004Z] "tcp://0.0.0.0:5555", [2023-04-06T05:01:23.004Z] "unix:///var/run/docker.sock" [2023-04-06T05:01:23.004Z] ], [2023-04-06T05:01:23.004Z] "mtu": 1458, [2023-04-06T05:01:23.004Z] "selinux-enabled": true, [2023-04-06T05:01:23.004Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-06T05:01:23.004Z] } [Pipeline] sh [2023-04-06T05:01:23.356Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-06T05:01:23.713Z] + sudo service docker restart [2023-04-06T05:01:26.974Z] GO111MODULE=on go vet ./... [2023-04-06T05:01:31.159Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-06T05:01:31.159Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-06T05:01:31.159Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-06T05:01:31.203Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-06T05:01:31.237Z] $ docker stop --time=1 9031f6494d690af918669749a3da8fed593d246d12477cdc38ec562e30efde81 [2023-04-06T05:01:37.857Z] $ docker rm -f --volumes 9031f6494d690af918669749a3da8fed593d246d12477cdc38ec562e30efde81 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T05:01:38.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-06T05:01:38.592Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-06T05:01:39.257Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T05:01:39.581Z] + ls -al . [2023-04-06T05:01:39.581Z] total 276 [2023-04-06T05:01:39.581Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 6 05:00 . [2023-04-06T05:01:39.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 04:58 .. [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 04:58 .dockerignore [2023-04-06T05:01:39.581Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 04:59 .git [2023-04-06T05:01:39.581Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 04:58 .github [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 6 04:58 .gitignore [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 6 04:58 .golangci.yml [2023-04-06T05:01:39.581Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 04:59 .semver [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 6 04:58 CHANGELOG.md [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 04:58 GOVERNANCE.md [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 6 04:58 Jenkinsfile [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 04:58 LICENSE [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 6 04:58 Makefile [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 6 04:58 OWNERS.md [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 6 04:58 README.md [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 04:59 VERSION [2023-04-06T05:01:39.581Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 04:58 bin [2023-04-06T05:01:39.581Z] -rw-r--r-- 1 jenkins jenkins 106712 Apr 6 05:01 coverage.out [2023-04-06T05:01:39.581Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 04:58 example [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 3243 Apr 6 04:58 go.mod [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 30606 Apr 6 04:58 go.sum [2023-04-06T05:01:39.581Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 04:58 internal [2023-04-06T05:01:39.581Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 04:58 openapi [2023-04-06T05:01:39.581Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 6 04:58 pkg [2023-04-06T05:01:39.581Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 04:58 snap [2023-04-06T05:01:39.581Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:01:39.975Z] + 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=aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec --label arch=amd64 --label version=0.0.0 . [2023-04-06T05:01:39.975Z] Sending build context to Docker daemon 11.02MB [2023-04-06T05:01:39.975Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T05:01:39.975Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-06T05:01:39.975Z] ---> 2d9638810376 [2023-04-06T05:01:39.975Z] Step 3/23 : ARG MAKE=make build [2023-04-06T05:01:41.138Z] ---> Running in da63a5049b92 [2023-04-06T05:01:41.706Z] Removing intermediate container da63a5049b92 [2023-04-06T05:01:41.706Z] ---> 38f356d8128f [2023-04-06T05:01:41.706Z] Step 4/23 : WORKDIR /device-sdk-go [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T05:01:42.036Z] provisioning config files... [2023-04-06T05:01:42.072Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7509082361505699174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:01:42.273Z] ---> Running in a4a7c0359e0c [2023-04-06T05:01:42.475Z] ---> docker-login.sh [2023-04-06T05:01:42.475Z] nexus3.edgexfoundry.org:10001 [2023-04-06T05:01:42.531Z] Removing intermediate container a4a7c0359e0c [2023-04-06T05:01:42.531Z] ---> 3d0e61e7826a [2023-04-06T05:01:42.531Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-06T05:01:42.531Z] ---> Running in 4b4fa0c97d01 [2023-04-06T05:01:42.789Z] Removing intermediate container 4b4fa0c97d01 [2023-04-06T05:01:42.789Z] ---> f634158238e2 [2023-04-06T05:01:42.789Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-06T05:01:42.789Z] ---> Running in ec2d8d4b2d75 [2023-04-06T05:01:43.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T05:01:43.047Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T05:01:43.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T05:01:43.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T05:01:43.073Z] Configure a credential helper to remove this warning. See [2023-04-06T05:01:43.074Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T05:01:43.074Z] [2023-04-06T05:01:43.074Z] Login Succeeded [2023-04-06T05:01:43.074Z] nexus3.edgexfoundry.org:10002 [2023-04-06T05:01:43.305Z] OK: 265 MiB in 53 packages [2023-04-06T05:01:43.344Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T05:01:43.567Z] Removing intermediate container ec2d8d4b2d75 [2023-04-06T05:01:43.567Z] ---> e9da49687838 [2023-04-06T05:01:43.567Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-06T05:01:43.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T05:01:43.618Z] Configure a credential helper to remove this warning. See [2023-04-06T05:01:43.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T05:01:43.618Z] [2023-04-06T05:01:43.618Z] Login Succeeded [2023-04-06T05:01:43.618Z] nexus3.edgexfoundry.org:10003 [2023-04-06T05:01:43.826Z] ---> 37e93887d1c8 [2023-04-06T05:01:43.826Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T05:01:43.826Z] ---> Running in e357b0be36aa [2023-04-06T05:01:43.894Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T05:01:43.894Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T05:01:43.894Z] Configure a credential helper to remove this warning. See [2023-04-06T05:01:43.894Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T05:01:43.894Z] [2023-04-06T05:01:43.894Z] Login Succeeded [2023-04-06T05:01:43.894Z] nexus3.edgexfoundry.org:10004 [2023-04-06T05:01:44.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T05:01:44.395Z] Removing intermediate container e357b0be36aa [2023-04-06T05:01:44.395Z] ---> ff94bf6f14fc [2023-04-06T05:01:44.395Z] Step 9/23 : COPY . . [2023-04-06T05:01:44.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T05:01:44.438Z] Configure a credential helper to remove this warning. See [2023-04-06T05:01:44.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T05:01:44.438Z] [2023-04-06T05:01:44.438Z] Login Succeeded [2023-04-06T05:01:44.438Z] docker.io [2023-04-06T05:01:44.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-06T05:01:44.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-06T05:01:44.978Z] Configure a credential helper to remove this warning. See [2023-04-06T05:01:44.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-06T05:01:44.978Z] [2023-04-06T05:01:44.978Z] Login Succeeded [2023-04-06T05:01:44.978Z] ---> docker-login.sh ends [Pipeline] } [2023-04-06T05:01:45.010Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-04-06T05:01:45.334Z] ---> b7fb0d7cceab [2023-04-06T05:01:45.334Z] Step 10/23 : RUN ${MAKE} [2023-04-06T05:01:45.334Z] ---> Running in bbbfa8f251ac [2023-04-06T05:01:45.334Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] echo [2023-04-06T05:01:45.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T05:01:45.454Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-06T05:01:45.489Z] ========================================================= [2023-04-06T05:01:45.489Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-06T05:01:45.489Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:01:45.995Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-06T05:01:46.263Z] Sending build context to Docker daemon 5.867MB [2023-04-06T05:01:46.539Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T05:01:46.539Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-06T05:01:46.539Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-06T05:01:46.539Z] af6eaf76a39c: Pulling fs layer [2023-04-06T05:01:46.539Z] 55522c791124: Pulling fs layer [2023-04-06T05:01:46.539Z] ce5c4a1c91eb: Pulling fs layer [2023-04-06T05:01:46.539Z] 169dfbe0d373: Pulling fs layer [2023-04-06T05:01:46.539Z] e1ff8fa3b103: Pulling fs layer [2023-04-06T05:01:46.539Z] 52ebb69f0ebf: Pulling fs layer [2023-04-06T05:01:46.539Z] 5abe8eddf0d5: Pulling fs layer [2023-04-06T05:01:46.539Z] 169dfbe0d373: Waiting [2023-04-06T05:01:46.539Z] e1ff8fa3b103: Waiting [2023-04-06T05:01:46.539Z] 5abe8eddf0d5: Waiting [2023-04-06T05:01:46.539Z] 52ebb69f0ebf: Waiting [2023-04-06T05:01:46.539Z] 55522c791124: Download complete [2023-04-06T05:01:46.539Z] 169dfbe0d373: Verifying Checksum [2023-04-06T05:01:46.539Z] 169dfbe0d373: Download complete [2023-04-06T05:01:46.539Z] e1ff8fa3b103: Verifying Checksum [2023-04-06T05:01:46.539Z] e1ff8fa3b103: Download complete [2023-04-06T05:01:46.823Z] af6eaf76a39c: Verifying Checksum [2023-04-06T05:01:46.823Z] af6eaf76a39c: Download complete [2023-04-06T05:01:47.797Z] af6eaf76a39c: Pull complete [2023-04-06T05:01:47.797Z] 5abe8eddf0d5: Verifying Checksum [2023-04-06T05:01:47.797Z] 5abe8eddf0d5: Download complete [2023-04-06T05:01:48.380Z] 55522c791124: Pull complete [2023-04-06T05:01:49.345Z] ce5c4a1c91eb: Verifying Checksum [2023-04-06T05:01:49.345Z] ce5c4a1c91eb: Download complete [2023-04-06T05:01:49.345Z] 52ebb69f0ebf: Verifying Checksum [2023-04-06T05:01:49.345Z] 52ebb69f0ebf: Download complete [2023-04-06T05:02:01.795Z] ce5c4a1c91eb: Pull complete [2023-04-06T05:02:01.795Z] 169dfbe0d373: Pull complete [2023-04-06T05:02:01.795Z] e1ff8fa3b103: Pull complete [2023-04-06T05:02:06.043Z] 52ebb69f0ebf: Pull complete [2023-04-06T05:02:07.489Z] Removing intermediate container bbbfa8f251ac [2023-04-06T05:02:07.489Z] ---> 2b77ca849546 [2023-04-06T05:02:07.489Z] Step 11/23 : FROM alpine:3.17 [2023-04-06T05:02:07.489Z] 3.17: Pulling from library/alpine [2023-04-06T05:02:07.489Z] f56be85fc22e: Pulling fs layer [2023-04-06T05:02:07.489Z] f56be85fc22e: Download complete [2023-04-06T05:02:07.489Z] f56be85fc22e: Pull complete [2023-04-06T05:02:07.489Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-06T05:02:07.489Z] Status: Downloaded newer image for alpine:3.17 [2023-04-06T05:02:07.489Z] ---> 9ed4aefc74f6 [2023-04-06T05:02:07.489Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-06T05:02:07.489Z] ---> Running in adff156dd324 [2023-04-06T05:02:07.489Z] Removing intermediate container adff156dd324 [2023-04-06T05:02:07.489Z] ---> 63da258de659 [2023-04-06T05:02:07.489Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-06T05:02:07.489Z] ---> Running in d0cd211ee41b [2023-04-06T05:02:07.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-06T05:02:07.489Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-06T05:02:07.489Z] OK: 7 MiB in 15 packages [2023-04-06T05:02:07.489Z] Removing intermediate container d0cd211ee41b [2023-04-06T05:02:07.489Z] ---> 4d11d7d34d4e [2023-04-06T05:02:07.489Z] Step 14/23 : WORKDIR / [2023-04-06T05:02:07.489Z] ---> Running in 8860e0e7665d [2023-04-06T05:02:07.489Z] Removing intermediate container 8860e0e7665d [2023-04-06T05:02:07.489Z] ---> 579bbfc293b5 [2023-04-06T05:02:07.489Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-06T05:02:07.489Z] ---> e5c73155fdf6 [2023-04-06T05:02:07.489Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-06T05:02:07.991Z] 5abe8eddf0d5: Pull complete [2023-04-06T05:02:07.991Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-06T05:02:07.991Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-06T05:02:07.991Z] ---> 6cb57ee374ae [2023-04-06T05:02:07.991Z] Step 3/10 : ARG MAKE=make build [2023-04-06T05:02:08.505Z] ---> 8b4166c53e03 [2023-04-06T05:02:08.505Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-06T05:02:08.764Z] ---> b07bbffcf040 [2023-04-06T05:02:08.764Z] Step 18/23 : EXPOSE 59999 [2023-04-06T05:02:08.764Z] ---> Running in 4af26c69eba4 [2023-04-06T05:02:08.764Z] Removing intermediate container 4af26c69eba4 [2023-04-06T05:02:08.764Z] ---> a5b7fcb9b4ed [2023-04-06T05:02:08.764Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-06T05:02:08.764Z] ---> Running in b758d6ddefcf [2023-04-06T05:02:08.764Z] Removing intermediate container b758d6ddefcf [2023-04-06T05:02:08.764Z] ---> ae87d4754022 [2023-04-06T05:02:08.764Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-06T05:02:08.764Z] ---> Running in b56656099c85 [2023-04-06T05:02:09.023Z] Removing intermediate container b56656099c85 [2023-04-06T05:02:09.023Z] ---> a05abffcc902 [2023-04-06T05:02:09.023Z] Step 21/23 : LABEL arch=amd64 [2023-04-06T05:02:09.023Z] ---> Running in aba3161d077f [2023-04-06T05:02:09.023Z] Removing intermediate container aba3161d077f [2023-04-06T05:02:09.023Z] ---> 69103983b717 [2023-04-06T05:02:09.023Z] Step 22/23 : LABEL git_sha=aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec [2023-04-06T05:02:09.023Z] ---> Running in 5f6359071b7b [2023-04-06T05:02:09.023Z] Removing intermediate container 5f6359071b7b [2023-04-06T05:02:09.023Z] ---> 16840f1c1132 [2023-04-06T05:02:09.023Z] Step 23/23 : LABEL version=0.0.0 [2023-04-06T05:02:09.023Z] ---> Running in 19592830e1f0 [2023-04-06T05:02:09.282Z] Removing intermediate container 19592830e1f0 [2023-04-06T05:02:09.282Z] ---> b7c68190a790 [2023-04-06T05:02:09.282Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-06T05:02:09.282Z] Successfully built b7c68190a790 [2023-04-06T05:02:09.282Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:02:09.936Z] ---> Running in 0152dd1e0b22 [2023-04-06T05:02:09.936Z] Removing intermediate container 0152dd1e0b22 [2023-04-06T05:02:09.936Z] ---> be0fb93a5863 [2023-04-06T05:02:09.936Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-06T05:02:10.126Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T05:02:10.126Z] [2023-04-06T05:02:10.126Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-04-06T05:02:10.203Z] ---> Running in 443649efcf6d [Pipeline] sh [2023-04-06T05:02:10.469Z] Removing intermediate container 443649efcf6d [2023-04-06T05:02:10.469Z] ---> 4cfa3f179a53 [2023-04-06T05:02:10.469Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-06T05:02:10.469Z] ---> Running in 9f5b1ac3fb99 [2023-04-06T05:02:10.558Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T05:02:10.558Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-06T05:02:10.558Z] 5eb5b503b376: Pulling fs layer [2023-04-06T05:02:10.558Z] 5c69ac0246d0: Pulling fs layer [2023-04-06T05:02:10.558Z] ec43610c2a17: Pulling fs layer [2023-04-06T05:02:10.558Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-06T05:02:10.558Z] 33b1e0a273af: Pulling fs layer [2023-04-06T05:02:10.558Z] 5d3b04190fa2: Pulling fs layer [2023-04-06T05:02:10.558Z] 2f39f015ded8: Pulling fs layer [2023-04-06T05:02:10.558Z] 33b1e0a273af: Waiting [2023-04-06T05:02:10.558Z] 5d3b04190fa2: Waiting [2023-04-06T05:02:10.558Z] 2f39f015ded8: Waiting [2023-04-06T05:02:10.558Z] 3a2ae6a8a46f: Waiting [2023-04-06T05:02:10.558Z] 5c69ac0246d0: Download complete [2023-04-06T05:02:10.558Z] 3a2ae6a8a46f: Verifying Checksum [2023-04-06T05:02:10.558Z] 3a2ae6a8a46f: Download complete [2023-04-06T05:02:10.558Z] 33b1e0a273af: Verifying Checksum [2023-04-06T05:02:10.558Z] 33b1e0a273af: Download complete [2023-04-06T05:02:10.558Z] ec43610c2a17: Verifying Checksum [2023-04-06T05:02:10.558Z] ec43610c2a17: Download complete [2023-04-06T05:02:10.558Z] 5d3b04190fa2: Download complete [2023-04-06T05:02:10.739Z] Removing intermediate container 9f5b1ac3fb99 [2023-04-06T05:02:10.739Z] ---> 866860487cca [2023-04-06T05:02:10.739Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-06T05:02:10.818Z] 5eb5b503b376: Verifying Checksum [2023-04-06T05:02:10.819Z] 5eb5b503b376: Download complete [2023-04-06T05:02:11.009Z] ---> Running in d7a1eeccfe95 [2023-04-06T05:02:11.388Z] 2f39f015ded8: Download complete [2023-04-06T05:02:11.954Z] 5eb5b503b376: Pull complete [2023-04-06T05:02:11.954Z] 5c69ac0246d0: Pull complete [2023-04-06T05:02:12.426Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T05:02:12.516Z] ec43610c2a17: Pull complete [2023-04-06T05:02:12.516Z] 3a2ae6a8a46f: Pull complete [2023-04-06T05:02:12.775Z] 33b1e0a273af: Pull complete [2023-04-06T05:02:12.775Z] 5d3b04190fa2: Pull complete [2023-04-06T05:02:13.013Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T05:02:13.978Z] OK: 263 MiB in 53 packages [2023-04-06T05:02:14.945Z] Removing intermediate container d7a1eeccfe95 [2023-04-06T05:02:14.945Z] ---> f57913143888 [2023-04-06T05:02:14.945Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-06T05:02:15.215Z] ---> e9ea6cb98387 [2023-04-06T05:02:15.215Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T05:02:15.494Z] ---> Running in 4a22f8ffa020 [2023-04-06T05:02:16.953Z] 2f39f015ded8: Pull complete [2023-04-06T05:02:16.953Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-06T05:02:16.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T05:02:16.953Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:02:17.201Z] prd-ubuntu20.04-docker-8c-8g-6960 does not seem to be running inside a container [2023-04-06T05:02:17.236Z] $ 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-1415 -v /w/workspace/gexfoundry_device-sdk-go_PR-1415:/w/workspace/gexfoundry_device-sdk-go_PR-1415:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1415@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-04-06T05:02:24.078Z] $ docker top d0f432660b7e1ebdf8fbf1b9d0a5bd4338f3a220ca047be864c72df05d6d20b9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:02:24.545Z] ---> job-cost.sh [2023-04-06T05:02:24.545Z] lf-activate-venv: SKIPPING [2023-04-06T05:02:24.545Z] INFO: No Stack... [2023-04-06T05:02:24.803Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T05:02:25.062Z] INFO: Archiving Costs [Pipeline] sh [2023-04-06T05:02:25.397Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives/cost.csv [2023-04-06T05:02:25.397Z] + cut -d, -f6 [Pipeline] lock [2023-04-06T05:02:25.440Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1415-1-stack-cost] [2023-04-06T05:02:25.446Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1415-1-stack-cost] did not exist. Created. [2023-04-06T05:02:25.446Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1415-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-06T05:02:25.851Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-06T05:02:25.907Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T05:02:25.931Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1415-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T05:02:26.019Z] $ docker stop --time=1 d0f432660b7e1ebdf8fbf1b9d0a5bd4338f3a220ca047be864c72df05d6d20b9 [2023-04-06T05:02:27.495Z] $ docker rm -f --volumes d0f432660b7e1ebdf8fbf1b9d0a5bd4338f3a220ca047be864c72df05d6d20b9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-06T05:03:11.935Z] Removing intermediate container 4a22f8ffa020 [2023-04-06T05:03:11.935Z] ---> cc5a7e017ab1 [2023-04-06T05:03:11.935Z] Step 9/10 : COPY . . [2023-04-06T05:03:12.916Z] ---> 27615728b55e [2023-04-06T05:03:12.916Z] Step 10/10 : RUN ${MAKE} [2023-04-06T05:03:13.184Z] ---> Running in 0232e3bfc30f [2023-04-06T05:03:14.162Z] noop [2023-04-06T05:03:14.758Z] Removing intermediate container 0232e3bfc30f [2023-04-06T05:03:14.758Z] ---> a61db5f59267 [2023-04-06T05:03:15.028Z] Successfully built a61db5f59267 [2023-04-06T05:03:15.028Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:03:15.517Z] + docker inspect -f . ci-base-image-arm64 [2023-04-06T05:03:15.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:03:15.828Z] prd-ubuntu20.04-docker-arm64-4c-16g-6963 does not seem to be running inside a container [2023-04-06T05:03:15.915Z] $ 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-04-06T05:03:17.198Z] $ docker top a1090b8ce4a7b10006d95a1c084ae2bc06f7a92ba638f9d470206af172a169cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T05:03:18.086Z] + go version [2023-04-06T05:03:18.086Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-06T05:03:18.130Z] $ docker stop --time=1 a1090b8ce4a7b10006d95a1c084ae2bc06f7a92ba638f9d470206af172a169cb [2023-04-06T05:03:19.752Z] $ docker rm -f --volumes a1090b8ce4a7b10006d95a1c084ae2bc06f7a92ba638f9d470206af172a169cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:03:20.604Z] + docker inspect -f . ci-base-image-arm64 [2023-04-06T05:03:20.605Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:03:20.874Z] prd-ubuntu20.04-docker-arm64-4c-16g-6963 does not seem to be running inside a container [2023-04-06T05:03:20.956Z] $ 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-04-06T05:03:22.209Z] $ docker top 10e5e8147d5f11017374b1dc98f84022390fc4e3429ef035e67842230afc08c8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T05:03:23.084Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-06T05:03:23.479Z] + make test [2023-04-06T05:03:23.751Z] go test -race -coverprofile=coverage.out ./... [2023-04-06T05:04:12.080Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-06T05:06:33.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-06T05:06:33.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-06T05:06:33.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-06T05:06:33.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-06T05:06:33.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-06T05:06:42.045Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.270s coverage: 27.6% of statements [2023-04-06T05:06:43.015Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.340s coverage: 79.9% of statements [2023-04-06T05:06:55.358Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-06T05:06:55.358Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-06T05:06:55.358Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.446s coverage: 86.0% of statements [2023-04-06T05:07:00.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-06T05:07:00.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-06T05:07:00.719Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.491s coverage: 75.7% of statements [2023-04-06T05:07:03.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.280s coverage: 14.9% of statements [2023-04-06T05:07:05.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-06T05:07:05.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-06T05:07:06.475Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.446s coverage: 68.5% of statements [2023-04-06T05:07:08.433Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.497s coverage: 89.2% of statements [2023-04-06T05:07:11.778Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-06T05:07:11.778Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.270s coverage: 5.5% of statements [2023-04-06T05:07:12.738Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-06T05:07:12.738Z] GO111MODULE=on go vet ./... [2023-04-06T05:09:49.751Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-06T05:09:49.752Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-06T05:09:49.752Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-06T05:09:50.054Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-06T05:09:50.102Z] $ docker stop --time=1 10e5e8147d5f11017374b1dc98f84022390fc4e3429ef035e67842230afc08c8 [2023-04-06T05:09:52.144Z] $ docker rm -f --volumes 10e5e8147d5f11017374b1dc98f84022390fc4e3429ef035e67842230afc08c8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-06T05:09:53.885Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-06T05:09:53.922Z] Warning: overwriting stash ‘coverage-report’ [2023-04-06T05:09:54.573Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-06T05:09:55.194Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-06T05:09:55.545Z] + ls -al . [2023-04-06T05:09:55.545Z] total 272 [2023-04-06T05:09:55.545Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 05:03 . [2023-04-06T05:09:55.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 05:01 .. [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 6 05:01 .dockerignore [2023-04-06T05:09:55.545Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 05:01 .git [2023-04-06T05:09:55.545Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 05:01 .github [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 6 05:01 .gitignore [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 6 05:01 .golangci.yml [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 6 05:01 CHANGELOG.md [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 05:01 GOVERNANCE.md [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 6 05:01 Jenkinsfile [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 6 05:01 LICENSE [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 6 05:01 Makefile [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 6 05:01 OWNERS.md [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 6 05:01 README.md [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 6 04:59 VERSION [2023-04-06T05:09:55.545Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 05:01 bin [2023-04-06T05:09:55.545Z] -rw-r--r-- 1 jenkins jenkins 106712 Apr 6 05:07 coverage.out [2023-04-06T05:09:55.545Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 6 05:01 example [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 3243 Apr 6 05:01 go.mod [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 30606 Apr 6 05:01 go.sum [2023-04-06T05:09:55.545Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 05:01 internal [2023-04-06T05:09:55.545Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 05:01 openapi [2023-04-06T05:09:55.545Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 6 05:01 pkg [2023-04-06T05:09:55.545Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 05:01 snap [2023-04-06T05:09:55.545Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 6 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:09:55.978Z] + 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=aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec --label arch=arm64 --label version=0.0.0 . [2023-04-06T05:09:56.569Z] Sending build context to Docker daemon 5.975MB [2023-04-06T05:09:56.569Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-06T05:09:56.569Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-06T05:09:56.569Z] ---> a61db5f59267 [2023-04-06T05:09:56.569Z] Step 3/23 : ARG MAKE=make build [2023-04-06T05:09:56.839Z] ---> Running in b9475865e7e7 [2023-04-06T05:09:57.430Z] Removing intermediate container b9475865e7e7 [2023-04-06T05:09:57.430Z] ---> 65ca12c00942 [2023-04-06T05:09:57.430Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-06T05:09:57.430Z] ---> Running in fc5720392029 [2023-04-06T05:09:57.698Z] Removing intermediate container fc5720392029 [2023-04-06T05:09:57.698Z] ---> 2eb6ea01570d [2023-04-06T05:09:57.698Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-06T05:09:57.698Z] ---> Running in 82a940969ab8 [2023-04-06T05:09:57.969Z] Removing intermediate container 82a940969ab8 [2023-04-06T05:09:57.969Z] ---> 1d0bac9c3082 [2023-04-06T05:09:57.969Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-06T05:09:58.242Z] ---> Running in 39a424586e3d [2023-04-06T05:09:59.211Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T05:09:59.798Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T05:10:01.217Z] OK: 263 MiB in 53 packages [2023-04-06T05:10:02.182Z] Removing intermediate container 39a424586e3d [2023-04-06T05:10:02.182Z] ---> f6f306c33c66 [2023-04-06T05:10:02.182Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-06T05:10:02.772Z] ---> 3a75d6977d34 [2023-04-06T05:10:02.772Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-06T05:10:02.772Z] ---> Running in 208884632fb8 [2023-04-06T05:10:05.368Z] Removing intermediate container 208884632fb8 [2023-04-06T05:10:05.368Z] ---> 8bc403890dc8 [2023-04-06T05:10:05.368Z] Step 9/23 : COPY . . [2023-04-06T05:10:06.783Z] ---> 549ee6d774ec [2023-04-06T05:10:06.783Z] Step 10/23 : RUN ${MAKE} [2023-04-06T05:10:07.051Z] ---> Running in a37205fa19e6 [2023-04-06T05:10:08.022Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-06T05:12:44.796Z] Removing intermediate container a37205fa19e6 [2023-04-06T05:12:44.796Z] ---> ddc9747fb629 [2023-04-06T05:12:44.796Z] Step 11/23 : FROM alpine:3.17 [2023-04-06T05:12:44.796Z] 3.17: Pulling from library/alpine [2023-04-06T05:12:44.796Z] c41833b44d91: Pulling fs layer [2023-04-06T05:12:44.796Z] c41833b44d91: Verifying Checksum [2023-04-06T05:12:44.796Z] c41833b44d91: Download complete [2023-04-06T05:12:44.796Z] c41833b44d91: Pull complete [2023-04-06T05:12:44.796Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-06T05:12:44.796Z] Status: Downloaded newer image for alpine:3.17 [2023-04-06T05:12:44.796Z] ---> 51e60588ff2c [2023-04-06T05:12:44.796Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-06T05:12:44.796Z] ---> Running in bc787478911d [2023-04-06T05:12:44.796Z] Removing intermediate container bc787478911d [2023-04-06T05:12:44.796Z] ---> 8fd09db1f473 [2023-04-06T05:12:44.796Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-06T05:12:44.796Z] ---> Running in 2a0b9e0929f3 [2023-04-06T05:12:44.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-06T05:12:44.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-06T05:12:44.796Z] OK: 7 MiB in 15 packages [2023-04-06T05:12:44.796Z] Removing intermediate container 2a0b9e0929f3 [2023-04-06T05:12:44.796Z] ---> ab5fbbb83289 [2023-04-06T05:12:44.796Z] Step 14/23 : WORKDIR / [2023-04-06T05:12:44.796Z] ---> Running in cc755aa4654b [2023-04-06T05:12:44.796Z] Removing intermediate container cc755aa4654b [2023-04-06T05:12:44.796Z] ---> 77bfa1024367 [2023-04-06T05:12:44.796Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-06T05:12:44.796Z] ---> b28c0fb6c803 [2023-04-06T05:12:44.796Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-06T05:12:46.210Z] ---> 8588a3418952 [2023-04-06T05:12:46.210Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-06T05:12:46.479Z] ---> d06c7cda7646 [2023-04-06T05:12:46.479Z] Step 18/23 : EXPOSE 59999 [2023-04-06T05:12:46.479Z] ---> Running in b1eb399cbc45 [2023-04-06T05:12:47.065Z] Removing intermediate container b1eb399cbc45 [2023-04-06T05:12:47.065Z] ---> 08c4ec160d7c [2023-04-06T05:12:47.065Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-06T05:12:47.065Z] ---> Running in 544af69a5946 [2023-04-06T05:12:47.334Z] Removing intermediate container 544af69a5946 [2023-04-06T05:12:47.334Z] ---> 8ece9a4ff20f [2023-04-06T05:12:47.334Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-06T05:12:47.334Z] ---> Running in 0d7b262ad4e9 [2023-04-06T05:12:47.923Z] Removing intermediate container 0d7b262ad4e9 [2023-04-06T05:12:47.923Z] ---> bfd0801b5ceb [2023-04-06T05:12:47.923Z] Step 21/23 : LABEL arch=arm64 [2023-04-06T05:12:47.923Z] ---> Running in 5ae6eb9f8265 [2023-04-06T05:12:48.193Z] Removing intermediate container 5ae6eb9f8265 [2023-04-06T05:12:48.193Z] ---> 19410b9dac06 [2023-04-06T05:12:48.193Z] Step 22/23 : LABEL git_sha=aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec [2023-04-06T05:12:48.193Z] ---> Running in 288b020d3efe [2023-04-06T05:12:48.467Z] Removing intermediate container 288b020d3efe [2023-04-06T05:12:48.467Z] ---> e7c5b94b42d1 [2023-04-06T05:12:48.467Z] Step 23/23 : LABEL version=0.0.0 [2023-04-06T05:12:48.736Z] ---> Running in 9dbd7f5377e9 [2023-04-06T05:12:49.013Z] Removing intermediate container 9dbd7f5377e9 [2023-04-06T05:12:49.013Z] ---> 1d619486ea9c [2023-04-06T05:12:49.013Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-06T05:12:49.013Z] Successfully built 1d619486ea9c [2023-04-06T05:12:49.013Z] 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-04-06T05:12:49.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T05:12:49.822Z] [2023-04-06T05:12:49.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:12:50.230Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T05:12:50.230Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-06T05:12:50.230Z] 8998bd30e6a1: Pulling fs layer [2023-04-06T05:12:50.230Z] 04944245beec: Pulling fs layer [2023-04-06T05:12:50.230Z] 699f458cf7ca: Pulling fs layer [2023-04-06T05:12:50.230Z] 765212b225bb: Pulling fs layer [2023-04-06T05:12:50.230Z] f23df028b6ca: Pulling fs layer [2023-04-06T05:12:50.230Z] d65c8cfc05b1: Pulling fs layer [2023-04-06T05:12:50.230Z] 2437ff75d9bd: Pulling fs layer [2023-04-06T05:12:50.230Z] f23df028b6ca: Waiting [2023-04-06T05:12:50.230Z] d65c8cfc05b1: Waiting [2023-04-06T05:12:50.230Z] 2437ff75d9bd: Waiting [2023-04-06T05:12:50.230Z] 765212b225bb: Waiting [2023-04-06T05:12:50.504Z] 04944245beec: Verifying Checksum [2023-04-06T05:12:50.504Z] 04944245beec: Download complete [2023-04-06T05:12:50.504Z] 765212b225bb: Verifying Checksum [2023-04-06T05:12:50.504Z] 765212b225bb: Download complete [2023-04-06T05:12:50.504Z] f23df028b6ca: Verifying Checksum [2023-04-06T05:12:50.504Z] f23df028b6ca: Download complete [2023-04-06T05:12:50.504Z] d65c8cfc05b1: Verifying Checksum [2023-04-06T05:12:50.504Z] d65c8cfc05b1: Download complete [2023-04-06T05:12:50.774Z] 699f458cf7ca: Verifying Checksum [2023-04-06T05:12:50.774Z] 699f458cf7ca: Download complete [2023-04-06T05:12:51.044Z] 8998bd30e6a1: Verifying Checksum [2023-04-06T05:12:51.044Z] 8998bd30e6a1: Download complete [2023-04-06T05:12:53.635Z] 2437ff75d9bd: Verifying Checksum [2023-04-06T05:12:53.635Z] 2437ff75d9bd: Download complete [2023-04-06T05:12:55.046Z] 8998bd30e6a1: Pull complete [2023-04-06T05:12:55.636Z] 04944245beec: Pull complete [2023-04-06T05:12:57.046Z] 699f458cf7ca: Pull complete [2023-04-06T05:12:57.046Z] 765212b225bb: Pull complete [2023-04-06T05:12:58.006Z] f23df028b6ca: Pull complete [2023-04-06T05:12:58.006Z] d65c8cfc05b1: Pull complete [2023-04-06T05:13:13.000Z] 2437ff75d9bd: Pull complete [2023-04-06T05:13:13.000Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-06T05:13:13.000Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-06T05:13:13.000Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:13:13.331Z] prd-ubuntu20.04-docker-arm64-4c-16g-6963 does not seem to be running inside a container [2023-04-06T05:13:13.409Z] $ 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-04-06T05:13:16.322Z] $ docker top 1e7bdb1de7124833c07bd31fd54d85d9040165c795cd701dac6846f18adb4831 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:13:17.226Z] ---> job-cost.sh [2023-04-06T05:13:17.226Z] lf-activate-venv: SKIPPING [2023-04-06T05:13:17.226Z] INFO: No Stack... [2023-04-06T05:13:17.812Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-06T05:13:18.782Z] INFO: Archiving Costs [Pipeline] sh [2023-04-06T05:13:19.446Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-04-06T05:13:19.446Z] + cut -d, -f6 [Pipeline] lock [2023-04-06T05:13:19.503Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1415-1-stack-cost] [2023-04-06T05:13:19.510Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1415-1-stack-cost] did not exist. Created. [2023-04-06T05:13:19.511Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1415-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-06T05:13:20.262Z] /w/workspace/device-sdk-go/1@tmp/durable-fdd4b934/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-06T05:13:20.948Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-06T05:13:20.985Z] Warning: overwriting stash ‘stack-cost’ [2023-04-06T05:13:21.062Z] Stashed 1 file(s) [Pipeline] } [2023-04-06T05:13:21.078Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1415-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-06T05:13:21.166Z] $ docker stop --time=1 1e7bdb1de7124833c07bd31fd54d85d9040165c795cd701dac6846f18adb4831 [2023-04-06T05:13:22.709Z] $ docker rm -f --volumes 1e7bdb1de7124833c07bd31fd54d85d9040165c795cd701dac6846f18adb4831 [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-04-06T05:13:23.706Z] provisioning config files... [2023-04-06T05:13:23.716Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/config7833889882672904475tmp [Pipeline] { [Pipeline] sh [2023-04-06T05:13:24.046Z] + set +x [2023-04-06T05:13:24.046Z] + bash -s -- [2023-04-06T05:13:24.046Z] + curl -s https://codecov.io/bash [2023-04-06T05:13:24.046Z] [2023-04-06T05:13:24.046Z] _____ _ [2023-04-06T05:13:24.046Z] / ____| | | [2023-04-06T05:13:24.046Z] | | ___ __| | ___ ___ _____ __ [2023-04-06T05:13:24.046Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-06T05:13:24.046Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-06T05:13:24.046Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-06T05:13:24.046Z] Bash-1.0.6 [2023-04-06T05:13:24.046Z] [2023-04-06T05:13:24.046Z] [2023-04-06T05:13:24.046Z] ==> git version 2.25.1 found [2023-04-06T05:13:24.046Z] ==> 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-04-06T05:13:24.046Z] Release-Date: 2020-01-08 [2023-04-06T05:13:24.046Z] 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-04-06T05:13:24.046Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-06T05:13:24.046Z] ==> Jenkins CI detected. [2023-04-06T05:13:24.046Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1415 [2023-04-06T05:13:24.046Z] project root: . [2023-04-06T05:13:24.046Z] --> token set from env [2023-04-06T05:13:24.046Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-06T05:13:24.046Z] ==> Running gcov in . (disable via -X gcov) [2023-04-06T05:13:24.046Z] ==> Python coveragepy not found [2023-04-06T05:13:24.046Z] ==> Searching for coverage reports in: [2023-04-06T05:13:24.046Z] + . [2023-04-06T05:13:24.046Z] -> Found 1 reports [2023-04-06T05:13:24.046Z] ==> Detecting git/mercurial file structure [2023-04-06T05:13:24.046Z] ==> Reading reports [2023-04-06T05:13:24.305Z] + ./coverage.out bytes=106712 [2023-04-06T05:13:24.305Z] ==> Appending adjustments [2023-04-06T05:13:24.305Z] https://docs.codecov.io/docs/fixing-reports [2023-04-06T05:13:24.565Z] + Found adjustments [2023-04-06T05:13:24.565Z] ==> Gzipping contents [2023-04-06T05:13:24.565Z] 16K /tmp/codecov.8fqFpz.gz [2023-04-06T05:13:24.565Z] ==> Uploading reports [2023-04-06T05:13:24.565Z] url: https://codecov.io [2023-04-06T05:13:24.565Z] query: branch=PR-1415&commit=aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1415%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1415&job=&cmd_args= [2023-04-06T05:13:24.565Z] -> Pinging Codecov [2023-04-06T05:13:24.565Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1415&commit=aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1415%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1415&job=&cmd_args= [2023-04-06T05:13:24.565Z] -> Uploading to [2023-04-06T05:13:24.565Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-06/7E55EF52A471D76F132DFD9A03CDDE97/aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec/421c3571-f73c-487a-9512-e8059ca48dfb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230406T051324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=94a3d373c24ff8eb1bcb3cae2c8600d50836398886f441a44b4689eeeb2c32e0 [2023-04-06T05:13:24.565Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-06T05:13:24.565Z] Dload Upload Total Spent Left Speed [2023-04-06T05:13:24.825Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15089 0 0 100 15089 0 52574 --:--:-- --:--:-- --:--:-- 52574 [2023-04-06T05:13:24.825Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/aa30970831b8da6adc1f3ec6fe1d130ff0dae4ec [Pipeline] } [2023-04-06T05:13:24.855Z] 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-04-06T05:13:26.616Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives ] [2023-04-06T05:13:26.616Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives [2023-04-06T05:13:26.616Z] total 16 [2023-04-06T05:13:26.616Z] drwxr-xr-x 3 root root 4096 Apr 6 05:02 . [2023-04-06T05:13:26.616Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 05:02 .. [2023-04-06T05:13:26.616Z] drwxr-xr-x 2 root root 4096 Apr 6 05:02 cost [2023-04-06T05:13:26.616Z] -rw-r--r-- 1 root root 86 Apr 6 05:02 cost.csv [2023-04-06T05:13:26.616Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives [2023-04-06T05:13:26.616Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives [2023-04-06T05:13:26.616Z] total 16 [2023-04-06T05:13:26.616Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 05:02 . [2023-04-06T05:13:26.616Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 6 05:02 .. [2023-04-06T05:13:26.616Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 05:02 cost [2023-04-06T05:13:26.616Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 6 05:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:13:26.950Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:13:27.836Z] ---> package-listing.sh [2023-04-06T05:13:27.836Z] ++ facter osfamily [2023-04-06T05:13:27.836Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-06T05:13:28.098Z] + OS_FAMILY=debian [2023-04-06T05:13:28.098Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1415 [2023-04-06T05:13:28.098Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-06T05:13:28.098Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-06T05:13:28.098Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-06T05:13:28.098Z] + PACKAGES=/tmp/packages_start.txt [2023-04-06T05:13:28.098Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1415 ']' [2023-04-06T05:13:28.098Z] + PACKAGES=/tmp/packages_end.txt [2023-04-06T05:13:28.098Z] + case "${OS_FAMILY}" in [2023-04-06T05:13:28.098Z] + dpkg -l [2023-04-06T05:13:28.098Z] + grep '^ii' [2023-04-06T05:13:28.098Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-06T05:13:28.098Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-06T05:13:28.098Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-06T05:13:28.098Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1415 ']' [2023-04-06T05:13:28.098Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives/ [2023-04-06T05:13:28.098Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1415/archives/ [Pipeline] echo [2023-04-06T05:13:28.130Z] 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-1415/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-06T05:13:28.420Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-06T05:13:29.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-06T05:13:29.046Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-06T05:13:29.189Z] prd-ubuntu20.04-docker-8c-8g-6960 does not seem to be running inside a container [2023-04-06T05:13:29.218Z] $ 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-1415/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-1415 -v /w/workspace/gexfoundry_device-sdk-go_PR-1415:/w/workspace/gexfoundry_device-sdk-go_PR-1415:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1415@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-04-06T05:13:29.398Z] $ docker top 29f44ae66169d494e1a175b6a28fc16f277ab4c6b6fa9e65978db767ae837011 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-06T05:13:29.777Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-06T05:13:30.083Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-06T05:13:30.389Z] + ls /var/log/sa-host [2023-04-06T05:13:30.389Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-06T05:13:30.600Z] provisioning config files... [2023-04-06T05:13:30.611Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1415@tmp/config6443955186595454093tmp [Pipeline] { [Pipeline] echo [2023-04-06T05:13:30.662Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:13:30.975Z] ---> create-netrc.sh [Pipeline] } [2023-04-06T05:13:31.003Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:13:31.420Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-06T05:13:31.456Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:13:31.762Z] ---> sudo-logs.sh [2023-04-06T05:13:31.762Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-06T05:13:31.848Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:13:32.159Z] ---> job-cost.sh [2023-04-06T05:13:32.159Z] lf-activate-venv: SKIPPING [2023-04-06T05:13:32.159Z] DEBUG: total: 0.2199999988079071 [2023-04-06T05:13:32.159Z] INFO: Retrieving Stack Cost... [2023-04-06T05:13:32.418Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-06T05:13:32.992Z] INFO: Archiving Costs [Pipeline] echo [2023-04-06T05:13:33.026Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-06T05:13:33.336Z] ---> logs-deploy.sh [2023-04-06T05:13:33.336Z] lf-activate-venv: SKIPPING [2023-04-06T05:13:33.336Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1415/1 [2023-04-06T05:13:33.336Z] INFO: archiving workspace using pattern(s): [2023-04-06T05:13:34.274Z] Archives upload complete. [2023-04-06T05:13:34.274Z] INFO: archiving logs to Nexus