Pull request #1527 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 529b12373622c5323c12703f33cb9a6cb56564eb+e28de28d8c8f2f4c5ae4fdcac5a3c788fe68241d (19ff9f2c3032fbd88aeb23a8efaa210d81f3959c) 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-ssh5528186155936208047.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh16454648201111230425.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1527/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-1527/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1722018550152898326.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-1527/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16065634635558732274.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5779299651703733478.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-1527/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-1527/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14108783459125026861.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9876’ Running on prd-ubuntu20.04-docker-8c-8g-9878 in /w/workspace/gexfoundry_device-sdk-go_PR-1527 [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-1527 # 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/1527/head:refs/remotes/origin/PR-1527 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e28de28d8c8f2f4c5ae4fdcac5a3c788fe68241d into PR head commit 529b12373622c5323c12703f33cb9a6cb56564eb Merge succeeded, producing 529b12373622c5323c12703f33cb9a6cb56564eb Checking out Revision 529b12373622c5323c12703f33cb9a6cb56564eb (PR-1527) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 > git config core.sparsecheckout # timeout=10 > git checkout -f 529b12373622c5323c12703f33cb9a6cb56564eb # 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 e28de28d8c8f2f4c5ae4fdcac5a3c788fe68241d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 529b12373622c5323c12703f33cb9a6cb56564eb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T04:41:51.864Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T04:41:52.031Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T04:41:52.122Z] ========================================================= [2023-10-24T04:41:52.122Z] EdgeX Global Pipelines Version Info [2023-10-24T04:41:52.123Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:41:52.858Z] ------------------- [2023-10-24T04:41:52.858Z] stable info: [2023-10-24T04:41:52.858Z] ------------------- [2023-10-24T04:41:52.858Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T04:41:52.858Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T04:41:52.858Z] Message: update stable to v1.0.254 [2023-10-24T04:41:53.432Z] ------------------- [2023-10-24T04:41:53.432Z] experimental info: [2023-10-24T04:41:53.432Z] ------------------- [2023-10-24T04:41:53.432Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T04:41:53.432Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T04:41:53.432Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T04:41:53.724Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-24T04:41:53.764Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-24T04:41:53.805Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T04:41:53.846Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T04:41:53.888Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T04:41:53.942Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T04:41:53.984Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T04:41:54.022Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-24T04:41:54.068Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T04:41:54.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T04:41:54.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T04:41:54.191Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-24T04:41:54.231Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T04:41:54.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T04:41:54.317Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T04:41:54.359Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T04:41:54.398Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T04:41:54.437Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T04:41:54.477Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T04:41:54.519Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T04:41:54.564Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-24T04:41:54.605Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-24T04:41:54.648Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T04:41:54.692Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T04:41:54.736Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T04:41:54.783Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T04:41:54.822Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T04:41:54.865Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1527 [Pipeline] echo [2023-10-24T04:41:54.907Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1527 [Pipeline] echo [2023-10-24T04:41:54.943Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1527 [Pipeline] echo [2023-10-24T04:41:54.984Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 529b12373622c5323c12703f33cb9a6cb56564eb [Pipeline] echo [2023-10-24T04:41:55.023Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 529b123 [Pipeline] echo [2023-10-24T04:41:55.063Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T04:41:55.177Z] provisioning config files... [2023-10-24T04:41:55.202Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/config1113832047395836914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:41:55.548Z] ---> docker-login.sh [2023-10-24T04:41:55.548Z] nexus3.edgexfoundry.org:10001 [2023-10-24T04:41:55.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:41:55.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:41:55.807Z] Configure a credential helper to remove this warning. See [2023-10-24T04:41:55.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:41:55.807Z] [2023-10-24T04:41:55.807Z] Login Succeeded [2023-10-24T04:41:55.807Z] nexus3.edgexfoundry.org:10002 [2023-10-24T04:41:55.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:41:55.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:41:55.807Z] Configure a credential helper to remove this warning. See [2023-10-24T04:41:55.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:41:55.807Z] [2023-10-24T04:41:55.807Z] Login Succeeded [2023-10-24T04:41:55.807Z] nexus3.edgexfoundry.org:10003 [2023-10-24T04:41:56.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:41:56.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:41:56.069Z] Configure a credential helper to remove this warning. See [2023-10-24T04:41:56.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:41:56.069Z] [2023-10-24T04:41:56.069Z] Login Succeeded [2023-10-24T04:41:56.069Z] nexus3.edgexfoundry.org:10004 [2023-10-24T04:41:56.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:41:56.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:41:56.069Z] Configure a credential helper to remove this warning. See [2023-10-24T04:41:56.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:41:56.069Z] [2023-10-24T04:41:56.069Z] Login Succeeded [2023-10-24T04:41:56.069Z] docker.io [2023-10-24T04:41:56.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:41:56.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:41:56.594Z] Configure a credential helper to remove this warning. See [2023-10-24T04:41:56.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:41:56.594Z] [2023-10-24T04:41:56.594Z] Login Succeeded [2023-10-24T04:41:56.594Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T04:41:56.621Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T04:41:57.264Z] + git rev-list -1 --merges 529b12373622c5323c12703f33cb9a6cb56564eb~1..529b12373622c5323c12703f33cb9a6cb56564eb [Pipeline] echo [2023-10-24T04:41:57.327Z] -----------> git rev-list -1 --merges 529b12373622c5323c12703f33cb9a6cb56564eb~1..529b12373622c5323c12703f33cb9a6cb56564eb 529b12373622c5323c12703f33cb9a6cb56564eb [false] [Pipeline] sh [2023-10-24T04:41:57.640Z] + git log --format=format:%s -1 529b12373622c5323c12703f33cb9a6cb56564eb [Pipeline] echo [2023-10-24T04:41:57.674Z] ========================================================= [2023-10-24T04:41:57.675Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T04:41:57.675Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T04:41:58.087Z] + git log --format=format:%s -1 529b12373622c5323c12703f33cb9a6cb56564eb [Pipeline] echo [2023-10-24T04:41:58.115Z] [semverPrep] GIT_COMMIT: 529b12373622c5323c12703f33cb9a6cb56564eb, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-10-24T04:41:58.145Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T04:41:58.530Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T04:41:58.530Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T04:41:58.530Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T04:41:58.530Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T04:41:58.530Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T04:41:58.530Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T04:41:58.530Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:41:58.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T04:41:58.966Z] [2023-10-24T04:41:58.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:41:59.339Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T04:41:59.339Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T04:41:59.339Z] b85a868b505f: Pulling fs layer [2023-10-24T04:41:59.339Z] e2be974225ed: Pulling fs layer [2023-10-24T04:41:59.339Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T04:41:59.339Z] 988bab9f4d93: Pulling fs layer [2023-10-24T04:41:59.339Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T04:41:59.339Z] eaf3925da568: Pulling fs layer [2023-10-24T04:41:59.339Z] bab4dde63d76: Pulling fs layer [2023-10-24T04:41:59.339Z] bde34c3a00c8: Pulling fs layer [2023-10-24T04:41:59.339Z] 988bab9f4d93: Waiting [2023-10-24T04:41:59.339Z] b352a97aabf1: Pulling fs layer [2023-10-24T04:41:59.339Z] 4872d77fe225: Pulling fs layer [2023-10-24T04:41:59.339Z] 1469e6f7b9e6: Waiting [2023-10-24T04:41:59.339Z] 5851b861e8e6: Pulling fs layer [2023-10-24T04:41:59.339Z] eaf3925da568: Waiting [2023-10-24T04:41:59.339Z] bab4dde63d76: Waiting [2023-10-24T04:41:59.339Z] bde34c3a00c8: Waiting [2023-10-24T04:41:59.339Z] b352a97aabf1: Waiting [2023-10-24T04:41:59.339Z] 4872d77fe225: Waiting [2023-10-24T04:41:59.339Z] 5851b861e8e6: Waiting [2023-10-24T04:41:59.339Z] e2be974225ed: Verifying Checksum [2023-10-24T04:41:59.339Z] e2be974225ed: Download complete [2023-10-24T04:41:59.339Z] 988bab9f4d93: Download complete [2023-10-24T04:41:59.597Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T04:41:59.597Z] 1469e6f7b9e6: Download complete [2023-10-24T04:41:59.597Z] eaf3925da568: Verifying Checksum [2023-10-24T04:41:59.597Z] eaf3925da568: Download complete [2023-10-24T04:41:59.597Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T04:41:59.597Z] 339a4e72a1f5: Download complete [2023-10-24T04:41:59.597Z] bde34c3a00c8: Download complete [2023-10-24T04:41:59.597Z] b352a97aabf1: Verifying Checksum [2023-10-24T04:41:59.597Z] b352a97aabf1: Download complete [2023-10-24T04:41:59.597Z] 4872d77fe225: Verifying Checksum [2023-10-24T04:41:59.597Z] 4872d77fe225: Download complete [2023-10-24T04:41:59.597Z] 5851b861e8e6: Verifying Checksum [2023-10-24T04:41:59.597Z] 5851b861e8e6: Download complete [2023-10-24T04:41:59.597Z] b85a868b505f: Verifying Checksum [2023-10-24T04:41:59.597Z] b85a868b505f: Download complete [2023-10-24T04:41:59.856Z] bab4dde63d76: Verifying Checksum [2023-10-24T04:41:59.856Z] bab4dde63d76: Download complete [2023-10-24T04:42:01.231Z] b85a868b505f: Pull complete [2023-10-24T04:42:01.231Z] e2be974225ed: Pull complete [2023-10-24T04:42:01.490Z] 339a4e72a1f5: Pull complete [2023-10-24T04:42:01.749Z] 988bab9f4d93: Pull complete [2023-10-24T04:42:02.007Z] 1469e6f7b9e6: Pull complete [2023-10-24T04:42:02.007Z] eaf3925da568: Pull complete [2023-10-24T04:42:04.540Z] bab4dde63d76: Pull complete [2023-10-24T04:42:04.540Z] bde34c3a00c8: Pull complete [2023-10-24T04:42:04.540Z] b352a97aabf1: Pull complete [2023-10-24T04:42:04.540Z] 4872d77fe225: Pull complete [2023-10-24T04:42:04.540Z] 5851b861e8e6: Pull complete [2023-10-24T04:42:04.540Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T04:42:04.540Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T04:42:04.540Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T04:42:04.784Z] prd-ubuntu20.04-docker-8c-8g-9878 does not seem to be running inside a container [2023-10-24T04:42:04.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1527 -v /w/workspace/gexfoundry_device-sdk-go_PR-1527:/w/workspace/gexfoundry_device-sdk-go_PR-1527:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1527@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T04:42:07.039Z] $ docker top db3cb9b07d8860d080fcfcc4c8916706e05c55c3e542af697b14cddbfae938d6 -eo pid,comm [2023-10-24T04:42:07.095Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T04:42:07.095Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T04:42:07.219Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T04:42:07.219Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T04:42:07.339Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T04:42:07.344Z] $ docker exec db3cb9b07d8860d080fcfcc4c8916706e05c55c3e542af697b14cddbfae938d6 ssh-agent [2023-10-24T04:42:07.445Z] SSH_AUTH_SOCK=/tmp/ssh-snxHkLTHeiNK/agent.32 [2023-10-24T04:42:07.445Z] SSH_AGENT_PID=38 [2023-10-24T04:42:07.452Z] Running ssh-add (command line suppressed) [2023-10-24T04:42:07.574Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/private_key_3951047171604076582.key (/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/private_key_3951047171604076582.key) [2023-10-24T04:42:07.586Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T04:42:07.918Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T04:42:07.945Z] $ docker exec --env ******** --env ******** db3cb9b07d8860d080fcfcc4c8916706e05c55c3e542af697b14cddbfae938d6 ssh-agent -k [2023-10-24T04:42:08.075Z] unset SSH_AUTH_SOCK; [2023-10-24T04:42:08.076Z] unset SSH_AGENT_PID; [2023-10-24T04:42:08.076Z] echo Agent pid 38 killed; [2023-10-24T04:42:08.083Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T04:42:08.173Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T04:42:08.173Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T04:42:08.295Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T04:42:08.302Z] $ docker exec db3cb9b07d8860d080fcfcc4c8916706e05c55c3e542af697b14cddbfae938d6 ssh-agent [2023-10-24T04:42:08.411Z] SSH_AUTH_SOCK=/tmp/ssh-54Vuxt96I6Hb/agent.70 [2023-10-24T04:42:08.411Z] SSH_AGENT_PID=76 [2023-10-24T04:42:08.417Z] Running ssh-add (command line suppressed) [2023-10-24T04:42:08.521Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/private_key_9487527293797435853.key (/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/private_key_9487527293797435853.key) [2023-10-24T04:42:08.539Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T04:42:08.869Z] + git semver init [2023-10-24T04:42:09.129Z] 2023-10-24 04:42:09,099 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T04:42:09.129Z] 2023-10-24 04:42:09,100 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver [2023-10-24T04:42:09.129Z] 2023-10-24 04:42:09,100 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver [2023-10-24T04:42:09.129Z] 2023-10-24 04:42:09,100 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1527, universal_newlines=False, shell=None, istream=None) [2023-10-24T04:42:10.067Z] 2023-10-24 04:42:10,055 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527/.git/info/exclude [2023-10-24T04:42:10.067Z] 2023-10-24 04:42:10,056 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver/PR-1527 with force:False [2023-10-24T04:42:10.067Z] 2023-10-24 04:42:10,056 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver/PR-1527 [2023-10-24T04:42:10.067Z] 2023-10-24 04:42:10,060 [execute] INFO git cat-file --batch-check [2023-10-24T04:42:10.067Z] 2023-10-24 04:42:10,061 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T04:42:10.326Z] 2023-10-24 04:42:10,071 [execute] INFO git cat-file --batch [2023-10-24T04:42:10.326Z] 2023-10-24 04:42:10,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T04:42:10.326Z] 2023-10-24 04:42:10,079 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1527/.semver/PR-1527 [2023-10-24T04:42:10.326Z] 0.0.0 [Pipeline] } [2023-10-24T04:42:10.352Z] $ docker exec --env ******** --env ******** db3cb9b07d8860d080fcfcc4c8916706e05c55c3e542af697b14cddbfae938d6 ssh-agent -k [2023-10-24T04:42:10.464Z] unset SSH_AUTH_SOCK; [2023-10-24T04:42:10.464Z] unset SSH_AGENT_PID; [2023-10-24T04:42:10.464Z] echo Agent pid 76 killed; [2023-10-24T04:42:10.470Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T04:42:10.879Z] + git semver [Pipeline] } [2023-10-24T04:42:11.161Z] $ docker stop --time=1 db3cb9b07d8860d080fcfcc4c8916706e05c55c3e542af697b14cddbfae938d6 [2023-10-24T04:42:12.464Z] $ docker rm -f --volumes db3cb9b07d8860d080fcfcc4c8916706e05c55c3e542af697b14cddbfae938d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T04:42:12.855Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T04:42:13.130Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T04:42:13.147Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T04:42:13.777Z] provisioning config files... [2023-10-24T04:42:13.787Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/config2261736540052269381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:42:14.134Z] ---> docker-login.sh [2023-10-24T04:42:14.134Z] nexus3.edgexfoundry.org:10001 [2023-10-24T04:42:14.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:42:14.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:42:14.134Z] Configure a credential helper to remove this warning. See [2023-10-24T04:42:14.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:42:14.134Z] [2023-10-24T04:42:14.134Z] Login Succeeded [2023-10-24T04:42:14.134Z] nexus3.edgexfoundry.org:10002 [2023-10-24T04:42:14.134Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:42:14.134Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:42:14.134Z] Configure a credential helper to remove this warning. See [2023-10-24T04:42:14.134Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:42:14.134Z] [2023-10-24T04:42:14.134Z] Login Succeeded [2023-10-24T04:42:14.134Z] nexus3.edgexfoundry.org:10003 [2023-10-24T04:42:14.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:42:14.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:42:14.393Z] Configure a credential helper to remove this warning. See [2023-10-24T04:42:14.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:42:14.393Z] [2023-10-24T04:42:14.393Z] Login Succeeded [2023-10-24T04:42:14.393Z] nexus3.edgexfoundry.org:10004 [2023-10-24T04:42:14.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:42:14.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:42:14.393Z] Configure a credential helper to remove this warning. See [2023-10-24T04:42:14.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:42:14.393Z] [2023-10-24T04:42:14.393Z] Login Succeeded [2023-10-24T04:42:14.393Z] docker.io [2023-10-24T04:42:14.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:42:14.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:42:14.917Z] Configure a credential helper to remove this warning. See [2023-10-24T04:42:14.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:42:14.917Z] [2023-10-24T04:42:14.917Z] Login Succeeded [2023-10-24T04:42:14.917Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T04:42:14.947Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T04:42:15.141Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T04:42:15.183Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T04:42:15.213Z] ========================================================= [2023-10-24T04:42:15.213Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T04:42:15.213Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:42:15.688Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T04:42:15.689Z] Sending build context to Docker daemon 11.24MB [2023-10-24T04:42:15.689Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T04:42:15.689Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T04:42:15.689Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T04:42:15.689Z] 7264a8db6415: Pulling fs layer [2023-10-24T04:42:15.689Z] c4d48a809fc2: Pulling fs layer [2023-10-24T04:42:15.689Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T04:42:15.689Z] ad3a456e5733: Pulling fs layer [2023-10-24T04:42:15.689Z] 33e27b845d1e: Pulling fs layer [2023-10-24T04:42:15.689Z] c68163c4e522: Pulling fs layer [2023-10-24T04:42:15.689Z] 50da416c3ac9: Pulling fs layer [2023-10-24T04:42:15.689Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T04:42:15.689Z] 33e27b845d1e: Waiting [2023-10-24T04:42:15.689Z] c68163c4e522: Waiting [2023-10-24T04:42:15.689Z] 50da416c3ac9: Waiting [2023-10-24T04:42:15.689Z] 23d2d4c4bb30: Waiting [2023-10-24T04:42:15.689Z] ad3a456e5733: Waiting [2023-10-24T04:42:15.689Z] c4d48a809fc2: Download complete [2023-10-24T04:42:15.948Z] ad3a456e5733: Download complete [2023-10-24T04:42:15.948Z] 33e27b845d1e: Verifying Checksum [2023-10-24T04:42:15.948Z] 33e27b845d1e: Download complete [2023-10-24T04:42:15.948Z] 7264a8db6415: Download complete [2023-10-24T04:42:15.948Z] c68163c4e522: Verifying Checksum [2023-10-24T04:42:15.948Z] c68163c4e522: Download complete [2023-10-24T04:42:15.948Z] 7264a8db6415: Pull complete [2023-10-24T04:42:16.206Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T04:42:16.206Z] 23d2d4c4bb30: Download complete [2023-10-24T04:42:16.206Z] c4d48a809fc2: Pull complete [2023-10-24T04:42:16.206Z] 4f1c88b9dad5: Verifying Checksum [2023-10-24T04:42:16.206Z] 4f1c88b9dad5: Download complete [2023-10-24T04:42:16.773Z] 50da416c3ac9: Verifying Checksum [2023-10-24T04:42:16.773Z] 50da416c3ac9: Download complete [2023-10-24T04:42:20.067Z] 4f1c88b9dad5: Pull complete [2023-10-24T04:42:20.067Z] ad3a456e5733: Pull complete [2023-10-24T04:42:20.067Z] 33e27b845d1e: Pull complete [2023-10-24T04:42:20.067Z] c68163c4e522: Pull complete [2023-10-24T04:42:22.596Z] 50da416c3ac9: Pull complete [2023-10-24T04:42:22.855Z] 23d2d4c4bb30: Pull complete [2023-10-24T04:42:22.855Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T04:42:22.855Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T04:42:22.855Z] ---> 0786185ac409 [2023-10-24T04:42:22.855Z] Step 3/10 : ARG MAKE=make build [2023-10-24T04:42:26.178Z] ---> Running in 63bc34b29ae3 [2023-10-24T04:42:26.178Z] Removing intermediate container 63bc34b29ae3 [2023-10-24T04:42:26.178Z] ---> d40012dbd917 [2023-10-24T04:42:26.178Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-24T04:42:26.178Z] ---> Running in af314d8cb32f [2023-10-24T04:42:26.178Z] Removing intermediate container af314d8cb32f [2023-10-24T04:42:26.178Z] ---> facc9b0165f4 [2023-10-24T04:42:26.178Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T04:42:26.178Z] ---> Running in a66ae094789d [2023-10-24T04:42:26.178Z] Removing intermediate container a66ae094789d [2023-10-24T04:42:26.178Z] ---> 02c68db10734 [2023-10-24T04:42:26.178Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-24T04:42:26.178Z] ---> Running in 0bb4e704764a [2023-10-24T04:42:26.437Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T04:42:26.695Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T04:42:26.954Z] OK: 264 MiB in 52 packages [2023-10-24T04:42:27.212Z] Removing intermediate container 0bb4e704764a [2023-10-24T04:42:27.212Z] ---> 9f1e632ce918 [2023-10-24T04:42:27.212Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T04:42:27.471Z] ---> 30aa7587477a [2023-10-24T04:42:27.471Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T04:42:27.471Z] ---> Running in 46896b7ea4c1 [2023-10-24T04:42:28.587Z] Still waiting to schedule task [2023-10-24T04:42:28.588Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-9877’ is offline [2023-10-24T04:43:14.161Z] Removing intermediate container 46896b7ea4c1 [2023-10-24T04:43:14.161Z] ---> 9b86eb60358b [2023-10-24T04:43:14.161Z] Step 9/10 : COPY . . [2023-10-24T04:43:14.161Z] ---> 83ed332e8261 [2023-10-24T04:43:14.161Z] Step 10/10 : RUN ${MAKE} [2023-10-24T04:43:14.161Z] ---> Running in ba92f1b88941 [2023-10-24T04:43:14.161Z] noop [2023-10-24T04:43:14.161Z] Removing intermediate container ba92f1b88941 [2023-10-24T04:43:14.161Z] ---> 01663201679c [2023-10-24T04:43:14.161Z] Successfully built 01663201679c [2023-10-24T04:43:14.161Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:43:14.612Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T04:43:14.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T04:43:14.767Z] prd-ubuntu20.04-docker-8c-8g-9878 does not seem to be running inside a container [2023-10-24T04:43:14.797Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1527 -v /w/workspace/gexfoundry_device-sdk-go_PR-1527:/w/workspace/gexfoundry_device-sdk-go_PR-1527:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1527@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 ******** ci-base-image-x86_64 cat [2023-10-24T04:43:15.133Z] $ docker top f39787700a7cf6c66f9f085455751cc0df57ce863ad1da62349251811d24e8a0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T04:43:15.535Z] + go version [2023-10-24T04:43:15.535Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T04:43:15.565Z] $ docker stop --time=1 f39787700a7cf6c66f9f085455751cc0df57ce863ad1da62349251811d24e8a0 [2023-10-24T04:43:16.804Z] $ docker rm -f --volumes f39787700a7cf6c66f9f085455751cc0df57ce863ad1da62349251811d24e8a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:43:17.517Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T04:43:17.517Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T04:43:17.660Z] prd-ubuntu20.04-docker-8c-8g-9878 does not seem to be running inside a container [2023-10-24T04:43:17.690Z] $ 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-1527 -v /w/workspace/gexfoundry_device-sdk-go_PR-1527:/w/workspace/gexfoundry_device-sdk-go_PR-1527:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1527@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 ******** ci-base-image-x86_64 cat [2023-10-24T04:43:18.028Z] $ docker top f9bc772629d343df5f0721a14c785219c76ae328fd48f98dce2ba34cc3f3a698 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T04:43:18.422Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1527 [Pipeline] fileExists [Pipeline] sh [2023-10-24T04:43:18.775Z] + make test [2023-10-24T04:43:18.775Z] go test -race -coverprofile=coverage.out ./... [2023-10-24T04:43:25.338Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-24T04:43:40.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-24T04:43:40.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-24T04:43:40.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-24T04:43:40.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-24T04:43:40.216Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-24T04:43:40.782Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-24T04:43:40.782Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-24T04:43:41.348Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.036s coverage: 27.6% of statements [2023-10-24T04:43:41.605Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-24T04:43:41.605Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.050s coverage: 81.5% of statements [2023-10-24T04:43:41.605Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.060s coverage: 86.0% of statements [2023-10-24T04:43:42.536Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.079s coverage: 71.8% of statements [2023-10-24T04:43:42.849Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-24T04:43:42.849Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-24T04:43:42.849Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-24T04:43:46.217Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.052s coverage: 14.4% of statements [2023-10-24T04:43:46.217Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.896s coverage: 45.9% of statements [2023-10-24T04:43:46.217Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.070s coverage: 68.5% of statements [2023-10-24T04:43:46.217Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.108s coverage: 89.2% of statements [2023-10-24T04:43:46.217Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.049s coverage: 5.5% of statements [2023-10-24T04:44:08.133Z] GO111MODULE=on go vet ./... [2023-10-24T04:44:08.700Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T04:44:08.700Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T04:44:08.700Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T04:44:08.985Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T04:44:09.015Z] $ docker stop --time=1 f9bc772629d343df5f0721a14c785219c76ae328fd48f98dce2ba34cc3f3a698 [2023-10-24T04:44:11.570Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9879 in /w/workspace/gexfoundry_device-sdk-go_PR-1527 [2023-10-24T04:44:11.950Z] $ docker rm -f --volumes f9bc772629d343df5f0721a14c785219c76ae328fd48f98dce2ba34cc3f3a698 [Pipeline] // withDockerContainer [Pipeline] { [Pipeline] sh [Pipeline] ws [2023-10-24T04:44:12.328Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-10-24T04:44:12.432Z] The recommended git tool is: git [2023-10-24T04:44:12.550Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T04:44:12.634Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T04:44:13.585Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T04:44:13.894Z] + ls -al . [2023-10-24T04:44:13.895Z] total 304 [2023-10-24T04:44:13.895Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 04:43 . [2023-10-24T04:44:13.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:41 .. [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 04:41 .dockerignore [2023-10-24T04:44:13.895Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 04:43 .git [2023-10-24T04:44:13.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:41 .github [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 24 04:41 .gitignore [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 04:41 .golangci.yml [2023-10-24T04:44:13.895Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 04:42 .semver [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 24 04:41 CHANGELOG.md [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 04:41 GOVERNANCE.md [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 24 04:41 Jenkinsfile [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 04:41 LICENSE [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 24 04:41 Makefile [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 04:41 OWNERS.md [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 24 04:41 README.md [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 04:42 VERSION [2023-10-24T04:44:13.895Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:41 bin [2023-10-24T04:44:13.895Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 24 04:43 coverage.out [2023-10-24T04:44:13.895Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 04:41 example [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 24 04:41 go.mod [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 24 04:41 go.sum [2023-10-24T04:44:13.895Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 04:41 internal [2023-10-24T04:44:13.895Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:41 openapi [2023-10-24T04:44:13.895Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 04:41 pkg [2023-10-24T04:44:13.895Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:41 snap [2023-10-24T04:44:13.895Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 04:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:44:14.333Z] + 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=529b12373622c5323c12703f33cb9a6cb56564eb --label arch=amd64 --label version=0.0.0 . [2023-10-24T04:44:14.334Z] Sending build context to Docker daemon 11.37MB [2023-10-24T04:44:14.334Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T04:44:14.334Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-24T04:44:14.334Z] ---> 01663201679c [2023-10-24T04:44:14.334Z] Step 3/23 : ARG MAKE=make build [2023-10-24T04:44:14.593Z] ---> Running in 3c039c3e3f96 [2023-10-24T04:44:14.593Z] Removing intermediate container 3c039c3e3f96 [2023-10-24T04:44:14.593Z] ---> 56a6f2d54057 [2023-10-24T04:44:14.593Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-24T04:44:14.593Z] ---> Running in fca8f1c0c2b0 [2023-10-24T04:44:14.593Z] Removing intermediate container fca8f1c0c2b0 [2023-10-24T04:44:14.593Z] ---> 395767ff0bbc [2023-10-24T04:44:14.593Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T04:44:14.593Z] ---> Running in 08686db2e811 [2023-10-24T04:44:14.850Z] Removing intermediate container 08686db2e811 [2023-10-24T04:44:14.850Z] ---> a6478d37bf25 [2023-10-24T04:44:14.850Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-24T04:44:14.850Z] ---> Running in 5374423c0fe0 [2023-10-24T04:44:15.108Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T04:44:15.366Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T04:44:15.625Z] OK: 264 MiB in 52 packages [2023-10-24T04:44:15.884Z] Removing intermediate container 5374423c0fe0 [2023-10-24T04:44:15.884Z] ---> 1347290b423e [2023-10-24T04:44:15.884Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-24T04:44:15.884Z] ---> 6acce6a7c9f9 [2023-10-24T04:44:15.884Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T04:44:15.884Z] ---> Running in 7fd5b76b1e62 [2023-10-24T04:44:16.979Z] Removing intermediate container 7fd5b76b1e62 [2023-10-24T04:44:16.979Z] ---> 7d7a47a6f3f7 [2023-10-24T04:44:16.979Z] Step 9/23 : COPY . . [2023-10-24T04:44:17.239Z] ---> c09407019f2b [2023-10-24T04:44:17.239Z] Step 10/23 : RUN ${MAKE} [2023-10-24T04:44:17.239Z] ---> Running in 07b7944f2089 [2023-10-24T04:44:17.497Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-24T04:44:18.009Z] using credential edgex-jenkins-ssh [2023-10-24T04:44:18.028Z] Cloning the remote Git repository [2023-10-24T04:44:18.073Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-24T04:44:18.167Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-10-24T04:44:18.310Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-24T04:44:18.311Z] > git --version # timeout=10 [2023-10-24T04:44:18.332Z] > git --version # 'git version 2.25.1' [2023-10-24T04:44:18.335Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T04:44:18.490Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T04:44:20.132Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-24T04:44:20.169Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T04:44:20.993Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-24T04:44:21.031Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-24T04:44:21.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T04:44:21.049Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1527/head:refs/remotes/origin/PR-1527 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-24T04:44:21.601Z] Merging remotes/origin/main commit e28de28d8c8f2f4c5ae4fdcac5a3c788fe68241d into PR head commit 529b12373622c5323c12703f33cb9a6cb56564eb [2023-10-24T04:44:21.932Z] Merge succeeded, producing 529b12373622c5323c12703f33cb9a6cb56564eb [2023-10-24T04:44:21.932Z] Checking out Revision 529b12373622c5323c12703f33cb9a6cb56564eb (PR-1527) [2023-10-24T04:44:22.527Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-10-24T04:44:22.581Z] > git --version # timeout=10 [2023-10-24T04:44:22.596Z] > git --version # 'git version 2.25.1' [2023-10-24T04:44:22.613Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T04:44:21.624Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T04:44:21.705Z] > git checkout -f 529b12373622c5323c12703f33cb9a6cb56564eb # timeout=10 [2023-10-24T04:44:21.820Z] > git remote # timeout=10 [2023-10-24T04:44:21.841Z] > git config --get remote.origin.url # timeout=10 [2023-10-24T04:44:21.865Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T04:44:21.881Z] > git merge e28de28d8c8f2f4c5ae4fdcac5a3c788fe68241d # timeout=10 [2023-10-24T04:44:21.913Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-24T04:44:21.940Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T04:44:21.954Z] > git checkout -f 529b12373622c5323c12703f33cb9a6cb56564eb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T04:44:23.864Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T04:44:23.864Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T04:44:23.864Z] Dload Upload Total Spent Left Speed [2023-10-24T04:44:23.864Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 49808 0 --:--:-- --:--:-- --:--:-- 50003 [Pipeline] sh [2023-10-24T04:44:24.639Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T04:44:25.000Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T04:44:25.000Z] + sudo tee /etc/docker/daemon.new [2023-10-24T04:44:25.000Z] { [2023-10-24T04:44:25.000Z] "registry-mirrors": [ [2023-10-24T04:44:25.000Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T04:44:25.000Z] ], [2023-10-24T04:44:25.000Z] "bip": "10.250.0.254/24", [2023-10-24T04:44:25.000Z] "hosts": [ [2023-10-24T04:44:25.000Z] "tcp://0.0.0.0:5555", [2023-10-24T04:44:25.000Z] "unix:///var/run/docker.sock" [2023-10-24T04:44:25.000Z] ], [2023-10-24T04:44:25.000Z] "mtu": 1458, [2023-10-24T04:44:25.000Z] "selinux-enabled": true, [2023-10-24T04:44:25.000Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T04:44:25.000Z] } [Pipeline] sh [2023-10-24T04:44:25.344Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T04:44:25.691Z] + sudo service docker restart [2023-10-24T04:44:35.766Z] Removing intermediate container 07b7944f2089 [2023-10-24T04:44:35.766Z] ---> cb8b4944d1d3 [2023-10-24T04:44:35.766Z] Step 11/23 : FROM alpine:3.18 [2023-10-24T04:44:39.065Z] 3.18: Pulling from library/alpine [2023-10-24T04:44:39.324Z] 96526aa774ef: Pulling fs layer [2023-10-24T04:44:39.583Z] 96526aa774ef: Verifying Checksum [2023-10-24T04:44:39.583Z] 96526aa774ef: Download complete [2023-10-24T04:44:39.583Z] 96526aa774ef: Pull complete [2023-10-24T04:44:39.583Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T04:44:39.583Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T04:44:39.583Z] ---> 8ca4688f4f35 [2023-10-24T04:44:39.583Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-24T04:44:39.583Z] ---> Running in a4f969d76f5f [2023-10-24T04:44:39.840Z] Removing intermediate container a4f969d76f5f [2023-10-24T04:44:39.840Z] ---> 9a437978f25d [2023-10-24T04:44:39.840Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-24T04:44:39.840Z] ---> Running in 0a585eeed42a [2023-10-24T04:44:40.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T04:44:40.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T04:44:40.665Z] OK: 7 MiB in 15 packages [2023-10-24T04:44:40.924Z] Removing intermediate container 0a585eeed42a [2023-10-24T04:44:40.925Z] ---> 78f8cd8f46f9 [2023-10-24T04:44:40.925Z] Step 14/23 : WORKDIR / [2023-10-24T04:44:40.925Z] ---> Running in ead89c203b30 [2023-10-24T04:44:40.925Z] Removing intermediate container ead89c203b30 [2023-10-24T04:44:40.925Z] ---> e93f3756d51c [2023-10-24T04:44:40.925Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-24T04:44:40.925Z] ---> d3a3eb23a684 [2023-10-24T04:44:40.925Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-24T04:44:41.487Z] ---> 374e7ded72fc [2023-10-24T04:44:41.487Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-24T04:44:41.755Z] ---> 58fe607dc058 [2023-10-24T04:44:41.755Z] Step 18/23 : EXPOSE 59999 [2023-10-24T04:44:41.755Z] ---> Running in 769aae681bcc [2023-10-24T04:44:41.755Z] Removing intermediate container 769aae681bcc [2023-10-24T04:44:41.755Z] ---> 8824ea56a8a3 [2023-10-24T04:44:41.755Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-24T04:44:41.755Z] ---> Running in 41ac9254f9e2 [2023-10-24T04:44:42.028Z] Removing intermediate container 41ac9254f9e2 [2023-10-24T04:44:42.028Z] ---> 3bd4bb47491d [2023-10-24T04:44:42.028Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T04:44:42.028Z] ---> Running in a8bfba21befe [2023-10-24T04:44:42.028Z] Removing intermediate container a8bfba21befe [2023-10-24T04:44:42.028Z] ---> 0d42fd2b0815 [2023-10-24T04:44:42.028Z] Step 21/23 : LABEL arch=amd64 [2023-10-24T04:44:42.028Z] ---> Running in 67dc26a0a840 [2023-10-24T04:44:42.028Z] Removing intermediate container 67dc26a0a840 [2023-10-24T04:44:42.028Z] ---> 0981d4a3a84c [2023-10-24T04:44:42.028Z] Step 22/23 : LABEL git_sha=529b12373622c5323c12703f33cb9a6cb56564eb [2023-10-24T04:44:42.028Z] ---> Running in 6b8b928bfcd9 [2023-10-24T04:44:42.287Z] Removing intermediate container 6b8b928bfcd9 [2023-10-24T04:44:42.287Z] ---> ac3936dcbeda [2023-10-24T04:44:42.287Z] Step 23/23 : LABEL version=0.0.0 [2023-10-24T04:44:42.287Z] ---> Running in 41e2186feafa [2023-10-24T04:44:42.287Z] Removing intermediate container 41e2186feafa [2023-10-24T04:44:42.287Z] ---> 6761f034c472 [2023-10-24T04:44:42.287Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T04:44:42.287Z] Successfully built 6761f034c472 [2023-10-24T04:44:42.287Z] 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] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T04:44:42.785Z] provisioning config files... [Pipeline] script [2023-10-24T04:44:42.812Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11293773931645768886tmp [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:44:43.194Z] ---> docker-login.sh [2023-10-24T04:44:43.194Z] nexus3.edgexfoundry.org:10001 [2023-10-24T04:44:43.283Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T04:44:43.283Z] [2023-10-24T04:44:43.283Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:44:43.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:44:43.661Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T04:44:43.661Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T04:44:43.661Z] 5eb5b503b376: Pulling fs layer [2023-10-24T04:44:43.661Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T04:44:43.661Z] ec43610c2a17: Pulling fs layer [2023-10-24T04:44:43.661Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T04:44:43.661Z] 33b1e0a273af: Pulling fs layer [2023-10-24T04:44:43.661Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T04:44:43.661Z] 2f39f015ded8: Pulling fs layer [2023-10-24T04:44:43.661Z] 33b1e0a273af: Waiting [2023-10-24T04:44:43.661Z] 5d3b04190fa2: Waiting [2023-10-24T04:44:43.661Z] 3a2ae6a8a46f: Waiting [2023-10-24T04:44:43.661Z] 2f39f015ded8: Waiting [2023-10-24T04:44:43.661Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T04:44:43.661Z] 5c69ac0246d0: Download complete [2023-10-24T04:44:43.661Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T04:44:43.661Z] 3a2ae6a8a46f: Download complete [2023-10-24T04:44:43.661Z] ec43610c2a17: Verifying Checksum [2023-10-24T04:44:43.661Z] ec43610c2a17: Download complete [2023-10-24T04:44:43.661Z] 33b1e0a273af: Verifying Checksum [2023-10-24T04:44:43.661Z] 33b1e0a273af: Download complete [2023-10-24T04:44:43.661Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T04:44:43.661Z] 5d3b04190fa2: Download complete [2023-10-24T04:44:43.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:44:43.736Z] Configure a credential helper to remove this warning. See [2023-10-24T04:44:43.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:44:43.736Z] [2023-10-24T04:44:43.736Z] Login Succeeded [2023-10-24T04:44:43.736Z] nexus3.edgexfoundry.org:10002 [2023-10-24T04:44:43.919Z] 5eb5b503b376: Verifying Checksum [2023-10-24T04:44:43.919Z] 5eb5b503b376: Download complete [2023-10-24T04:44:44.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:44:44.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:44:44.007Z] Configure a credential helper to remove this warning. See [2023-10-24T04:44:44.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:44:44.007Z] [2023-10-24T04:44:44.007Z] Login Succeeded [2023-10-24T04:44:44.007Z] nexus3.edgexfoundry.org:10003 [2023-10-24T04:44:44.277Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:44:44.484Z] 2f39f015ded8: Download complete [2023-10-24T04:44:44.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:44:44.548Z] Configure a credential helper to remove this warning. See [2023-10-24T04:44:44.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:44:44.548Z] [2023-10-24T04:44:44.548Z] Login Succeeded [2023-10-24T04:44:44.548Z] nexus3.edgexfoundry.org:10004 [2023-10-24T04:44:44.817Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:44:44.817Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:44:44.817Z] Configure a credential helper to remove this warning. See [2023-10-24T04:44:44.817Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:44:44.817Z] [2023-10-24T04:44:44.817Z] Login Succeeded [2023-10-24T04:44:44.817Z] docker.io [2023-10-24T04:44:45.049Z] 5eb5b503b376: Pull complete [2023-10-24T04:44:45.049Z] 5c69ac0246d0: Pull complete [2023-10-24T04:44:45.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T04:44:45.308Z] ec43610c2a17: Pull complete [2023-10-24T04:44:45.354Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T04:44:45.354Z] Configure a credential helper to remove this warning. See [2023-10-24T04:44:45.354Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T04:44:45.354Z] [2023-10-24T04:44:45.354Z] Login Succeeded [2023-10-24T04:44:45.354Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T04:44:45.384Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-10-24T04:44:45.565Z] 3a2ae6a8a46f: Pull complete [2023-10-24T04:44:45.565Z] 33b1e0a273af: Pull complete [Pipeline] echo [2023-10-24T04:44:45.789Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [2023-10-24T04:44:45.822Z] 5d3b04190fa2: Pull complete [Pipeline] echo [2023-10-24T04:44:45.835Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T04:44:45.894Z] ========================================================= [2023-10-24T04:44:45.895Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T04:44:45.895Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:44:46.390Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T04:44:46.991Z] Sending build context to Docker daemon 6.017MB [2023-10-24T04:44:46.991Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T04:44:46.991Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-24T04:44:46.991Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T04:44:46.991Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T04:44:46.991Z] 5d54e960e981: Pulling fs layer [2023-10-24T04:44:46.991Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T04:44:46.991Z] f0e02332f6b5: Pulling fs layer [2023-10-24T04:44:46.991Z] cefa15bbcfad: Pulling fs layer [2023-10-24T04:44:46.991Z] 17808c966233: Pulling fs layer [2023-10-24T04:44:46.991Z] f4c1fc716caa: Pulling fs layer [2023-10-24T04:44:46.991Z] f0e02332f6b5: Waiting [2023-10-24T04:44:46.991Z] cefa15bbcfad: Waiting [2023-10-24T04:44:46.991Z] 17808c966233: Waiting [2023-10-24T04:44:46.991Z] f4c1fc716caa: Waiting [2023-10-24T04:44:46.991Z] 5d54e960e981: Download complete [2023-10-24T04:44:46.991Z] f0e02332f6b5: Verifying Checksum [2023-10-24T04:44:46.991Z] f0e02332f6b5: Download complete [2023-10-24T04:44:46.991Z] cefa15bbcfad: Verifying Checksum [2023-10-24T04:44:46.991Z] cefa15bbcfad: Download complete [2023-10-24T04:44:47.262Z] 9fda8d8052c6: Verifying Checksum [2023-10-24T04:44:47.262Z] 9fda8d8052c6: Download complete [2023-10-24T04:44:47.531Z] f4c1fc716caa: Verifying Checksum [2023-10-24T04:44:47.531Z] f4c1fc716caa: Download complete [2023-10-24T04:44:48.119Z] 9fda8d8052c6: Pull complete [2023-10-24T04:44:48.715Z] 5d54e960e981: Pull complete [2023-10-24T04:44:48.715Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T04:44:48.715Z] c4a7e357bf2a: Download complete [2023-10-24T04:44:49.997Z] 2f39f015ded8: Pull complete [2023-10-24T04:44:49.997Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T04:44:49.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T04:44:49.997Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-10-24T04:44:50.123Z] 17808c966233: Verifying Checksum [2023-10-24T04:44:50.123Z] 17808c966233: Download complete [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T04:44:50.238Z] prd-ubuntu20.04-docker-8c-8g-9878 does not seem to be running inside a container [2023-10-24T04:44:50.264Z] $ 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-1527 -v /w/workspace/gexfoundry_device-sdk-go_PR-1527:/w/workspace/gexfoundry_device-sdk-go_PR-1527:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T04:44:52.968Z] $ docker top e6dea07a8a59e9ecc6162b4b3c67d06b033f9111176bdcf7770de0d5e0cad3d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:44:53.400Z] ---> job-cost.sh [2023-10-24T04:44:53.400Z] lf-activate-venv: SKIPPING [2023-10-24T04:44:53.400Z] INFO: No Stack... [2023-10-24T04:44:53.657Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T04:44:53.915Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T04:44:54.224Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives/cost.csv [2023-10-24T04:44:54.224Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T04:44:54.269Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1527-1-stack-cost] [2023-10-24T04:44:54.276Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1527-1-stack-cost] did not exist. Created. [2023-10-24T04:44:54.276Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1527-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T04:44:54.666Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T04:44:54.723Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T04:44:54.750Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1527-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T04:44:54.828Z] $ docker stop --time=1 e6dea07a8a59e9ecc6162b4b3c67d06b033f9111176bdcf7770de0d5e0cad3d7 [2023-10-24T04:44:55.985Z] $ docker rm -f --volumes e6dea07a8a59e9ecc6162b4b3c67d06b033f9111176bdcf7770de0d5e0cad3d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T04:45:02.582Z] c4a7e357bf2a: Pull complete [2023-10-24T04:45:02.582Z] f0e02332f6b5: Pull complete [2023-10-24T04:45:02.582Z] cefa15bbcfad: Pull complete [2023-10-24T04:45:10.789Z] 17808c966233: Pull complete [2023-10-24T04:45:11.056Z] f4c1fc716caa: Pull complete [2023-10-24T04:45:11.056Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T04:45:11.056Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T04:45:11.056Z] ---> ea914061e18c [2023-10-24T04:45:11.056Z] Step 3/10 : ARG MAKE=make build [2023-10-24T04:45:12.999Z] ---> Running in da5d29ff331b [2023-10-24T04:45:12.999Z] Removing intermediate container da5d29ff331b [2023-10-24T04:45:12.999Z] ---> 2bf217f46b8c [2023-10-24T04:45:12.999Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-24T04:45:12.999Z] ---> Running in 7f6dfe390013 [2023-10-24T04:45:13.266Z] Removing intermediate container 7f6dfe390013 [2023-10-24T04:45:13.266Z] ---> 4490763ef826 [2023-10-24T04:45:13.266Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T04:45:13.266Z] ---> Running in 9f67fa15b701 [2023-10-24T04:45:13.533Z] Removing intermediate container 9f67fa15b701 [2023-10-24T04:45:13.533Z] ---> 629d3c6506c0 [2023-10-24T04:45:13.533Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-24T04:45:13.799Z] ---> Running in ace0df34047c [2023-10-24T04:45:14.760Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T04:45:15.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T04:45:15.993Z] OK: 266 MiB in 52 packages [2023-10-24T04:45:16.953Z] Removing intermediate container ace0df34047c [2023-10-24T04:45:16.953Z] ---> 975fe080cfd3 [2023-10-24T04:45:16.953Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-24T04:45:17.536Z] ---> 78b49d5326f4 [2023-10-24T04:45:17.536Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T04:45:17.536Z] ---> Running in ed26c17b244d [2023-10-24T04:47:09.201Z] Removing intermediate container ed26c17b244d [2023-10-24T04:47:09.201Z] ---> 33c224d2c014 [2023-10-24T04:47:09.201Z] Step 9/10 : COPY . . [2023-10-24T04:47:09.201Z] ---> 08c670ad5779 [2023-10-24T04:47:09.201Z] Step 10/10 : RUN ${MAKE} [2023-10-24T04:47:09.201Z] ---> Running in a80596c8a504 [2023-10-24T04:47:09.201Z] noop [2023-10-24T04:47:09.201Z] Removing intermediate container a80596c8a504 [2023-10-24T04:47:09.201Z] ---> 106c7b691ff3 [2023-10-24T04:47:09.201Z] Successfully built 106c7b691ff3 [2023-10-24T04:47:09.201Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:47:09.695Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T04:47:09.695Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T04:47:09.956Z] prd-ubuntu20.04-docker-arm64-4c-16g-9879 does not seem to be running inside a container [2023-10-24T04:47:10.021Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-24T04:47:11.138Z] $ docker top 270e7ec5dde409ca9f7c44bd7741eff2dfc6f064a548a1592fe2ed4999c59d80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T04:47:12.034Z] + go version [2023-10-24T04:47:12.034Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T04:47:12.076Z] $ docker stop --time=1 270e7ec5dde409ca9f7c44bd7741eff2dfc6f064a548a1592fe2ed4999c59d80 [2023-10-24T04:47:15.653Z] $ docker rm -f --volumes 270e7ec5dde409ca9f7c44bd7741eff2dfc6f064a548a1592fe2ed4999c59d80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:47:16.522Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T04:47:16.522Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T04:47:16.775Z] prd-ubuntu20.04-docker-arm64-4c-16g-9879 does not seem to be running inside a container [2023-10-24T04:47:16.840Z] $ 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 ******** ci-base-image-arm64 cat [2023-10-24T04:47:18.053Z] $ docker top 7ffb375aeff4ca7697b0b07a408c28132e78d5db84c64662cc1f2c045e844b0e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T04:47:18.619Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-24T04:47:19.007Z] + make test [2023-10-24T04:47:19.008Z] go test -race -coverprofile=coverage.out ./... [2023-10-24T04:47:51.202Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-24T04:49:27.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-24T04:49:27.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-24T04:49:27.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-24T04:49:27.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-24T04:49:27.898Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-24T04:49:33.247Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.205s coverage: 27.6% of statements [2023-10-24T04:49:41.480Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.245s coverage: 81.5% of statements [2023-10-24T04:49:49.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-24T04:49:49.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-24T04:49:49.992Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.372s coverage: 86.0% of statements [2023-10-24T04:49:55.378Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-24T04:49:56.338Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.450s coverage: 71.8% of statements [2023-10-24T04:50:00.601Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.269s coverage: 14.4% of statements [2023-10-24T04:50:00.601Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.925s coverage: 45.9% of statements [2023-10-24T04:50:00.601Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-24T04:50:00.601Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-24T04:50:02.008Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.382s coverage: 68.5% of statements [2023-10-24T04:50:05.348Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.423s coverage: 89.2% of statements [2023-10-24T04:50:05.614Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-24T04:50:07.018Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.222s coverage: 5.5% of statements [2023-10-24T04:50:07.977Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T04:50:07.977Z] GO111MODULE=on go vet ./... [2023-10-24T04:51:59.605Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T04:51:59.605Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T04:51:59.605Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T04:51:59.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T04:51:59.677Z] $ docker stop --time=1 7ffb375aeff4ca7697b0b07a408c28132e78d5db84c64662cc1f2c045e844b0e [2023-10-24T04:52:03.552Z] $ docker rm -f --volumes 7ffb375aeff4ca7697b0b07a408c28132e78d5db84c64662cc1f2c045e844b0e [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T04:52:05.291Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T04:52:05.322Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T04:52:05.939Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T04:52:06.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T04:52:06.879Z] + ls -al . [2023-10-24T04:52:06.879Z] total 300 [2023-10-24T04:52:06.879Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 04:47 . [2023-10-24T04:52:06.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:44 .. [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 04:44 .dockerignore [2023-10-24T04:52:06.879Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 04:44 .git [2023-10-24T04:52:06.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:44 .github [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 24 04:44 .gitignore [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 04:44 .golangci.yml [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 24 04:44 CHANGELOG.md [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 04:44 GOVERNANCE.md [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 24 04:44 Jenkinsfile [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 04:44 LICENSE [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 24 04:44 Makefile [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 04:44 OWNERS.md [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 24 04:44 README.md [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 04:42 VERSION [2023-10-24T04:52:06.879Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:44 bin [2023-10-24T04:52:06.879Z] -rw-r--r-- 1 jenkins jenkins 122153 Oct 24 04:50 coverage.out [2023-10-24T04:52:06.879Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 04:44 example [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 24 04:44 go.mod [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 24 04:44 go.sum [2023-10-24T04:52:06.879Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 04:44 internal [2023-10-24T04:52:06.879Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:44 openapi [2023-10-24T04:52:06.879Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 04:44 pkg [2023-10-24T04:52:06.879Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:44 snap [2023-10-24T04:52:06.879Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 04:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:52:07.300Z] + 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=529b12373622c5323c12703f33cb9a6cb56564eb --label arch=arm64 --label version=0.0.0 . [2023-10-24T04:52:07.888Z] Sending build context to Docker daemon 6.139MB [2023-10-24T04:52:07.888Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T04:52:07.888Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-24T04:52:07.888Z] ---> 106c7b691ff3 [2023-10-24T04:52:07.888Z] Step 3/23 : ARG MAKE=make build [2023-10-24T04:52:07.888Z] ---> Running in 1642ecb341c4 [2023-10-24T04:52:08.164Z] Removing intermediate container 1642ecb341c4 [2023-10-24T04:52:08.164Z] ---> f2c90fcbf560 [2023-10-24T04:52:08.164Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-24T04:52:08.430Z] ---> Running in a053b8069887 [2023-10-24T04:52:08.697Z] Removing intermediate container a053b8069887 [2023-10-24T04:52:08.697Z] ---> 2549c08cb7d7 [2023-10-24T04:52:08.697Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T04:52:08.697Z] ---> Running in 08ba89e827a2 [2023-10-24T04:52:09.286Z] Removing intermediate container 08ba89e827a2 [2023-10-24T04:52:09.286Z] ---> 7be548788f8d [2023-10-24T04:52:09.286Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-24T04:52:09.286Z] ---> Running in 638a723379f0 [2023-10-24T04:52:10.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T04:52:10.833Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T04:52:11.805Z] OK: 266 MiB in 52 packages [2023-10-24T04:52:12.768Z] Removing intermediate container 638a723379f0 [2023-10-24T04:52:12.768Z] ---> 806c436093b4 [2023-10-24T04:52:12.768Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-24T04:52:16.998Z] ---> b00d4e8d5c05 [2023-10-24T04:52:16.998Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T04:52:16.998Z] ---> Running in 32797883df35 [2023-10-24T04:52:17.723Z] Removing intermediate container 32797883df35 [2023-10-24T04:52:17.723Z] ---> d90f6931333f [2023-10-24T04:52:17.723Z] Step 9/23 : COPY . . [2023-10-24T04:52:19.183Z] ---> cacd98283e6a [2023-10-24T04:52:19.183Z] Step 10/23 : RUN ${MAKE} [2023-10-24T04:52:19.183Z] ---> Running in 0b39576ed5c1 [2023-10-24T04:52:20.179Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-24T04:54:11.836Z] Removing intermediate container 0b39576ed5c1 [2023-10-24T04:54:11.836Z] ---> c4c7e65b0591 [2023-10-24T04:54:11.836Z] Step 11/23 : FROM alpine:3.18 [2023-10-24T04:54:11.836Z] 3.18: Pulling from library/alpine [2023-10-24T04:54:11.836Z] 579b34f0a95b: Pulling fs layer [2023-10-24T04:54:11.836Z] 579b34f0a95b: Verifying Checksum [2023-10-24T04:54:11.836Z] 579b34f0a95b: Download complete [2023-10-24T04:54:11.836Z] 579b34f0a95b: Pull complete [2023-10-24T04:54:11.836Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T04:54:11.836Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T04:54:11.836Z] ---> 3cc203321400 [2023-10-24T04:54:11.836Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-24T04:54:11.836Z] ---> Running in 2311529cdb18 [2023-10-24T04:54:11.836Z] Removing intermediate container 2311529cdb18 [2023-10-24T04:54:11.836Z] ---> 2391ad51354b [2023-10-24T04:54:11.836Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-24T04:54:11.836Z] ---> Running in 913a4569ebd7 [2023-10-24T04:54:11.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T04:54:11.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T04:54:12.793Z] OK: 8 MiB in 15 packages [2023-10-24T04:54:13.751Z] Removing intermediate container 913a4569ebd7 [2023-10-24T04:54:13.751Z] ---> 4f058aedb4a6 [2023-10-24T04:54:13.751Z] Step 14/23 : WORKDIR / [2023-10-24T04:54:13.751Z] ---> Running in 996d9febe05f [2023-10-24T04:54:14.018Z] Removing intermediate container 996d9febe05f [2023-10-24T04:54:14.018Z] ---> 7b963e77c8d6 [2023-10-24T04:54:14.018Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-24T04:54:14.603Z] ---> d05513b0b74c [2023-10-24T04:54:14.603Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-24T04:54:16.566Z] ---> 150d50ebded1 [2023-10-24T04:54:16.566Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-24T04:54:16.831Z] ---> 0b2d40c41e27 [2023-10-24T04:54:16.831Z] Step 18/23 : EXPOSE 59999 [2023-10-24T04:54:16.831Z] ---> Running in 4203efec6106 [2023-10-24T04:54:17.096Z] Removing intermediate container 4203efec6106 [2023-10-24T04:54:17.096Z] ---> c7c5798f1919 [2023-10-24T04:54:17.096Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-24T04:54:17.096Z] ---> Running in 5a5f1c5a3bc5 [2023-10-24T04:54:17.369Z] Removing intermediate container 5a5f1c5a3bc5 [2023-10-24T04:54:17.369Z] ---> 78b178d0b136 [2023-10-24T04:54:17.369Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-24T04:54:17.634Z] ---> Running in be9721c72c2b [2023-10-24T04:54:17.900Z] Removing intermediate container be9721c72c2b [2023-10-24T04:54:17.900Z] ---> 1c90ffa1ab9c [2023-10-24T04:54:17.900Z] Step 21/23 : LABEL arch=arm64 [2023-10-24T04:54:17.900Z] ---> Running in 4b6d99e2e216 [2023-10-24T04:54:18.166Z] Removing intermediate container 4b6d99e2e216 [2023-10-24T04:54:18.166Z] ---> 02440922273a [2023-10-24T04:54:18.166Z] Step 22/23 : LABEL git_sha=529b12373622c5323c12703f33cb9a6cb56564eb [2023-10-24T04:54:18.166Z] ---> Running in 2c179d90c4e9 [2023-10-24T04:54:18.432Z] Removing intermediate container 2c179d90c4e9 [2023-10-24T04:54:18.432Z] ---> be0090d60bbe [2023-10-24T04:54:18.432Z] Step 23/23 : LABEL version=0.0.0 [2023-10-24T04:54:18.699Z] ---> Running in 71521f02491a [2023-10-24T04:54:18.965Z] Removing intermediate container 71521f02491a [2023-10-24T04:54:18.965Z] ---> 22feddf95d68 [2023-10-24T04:54:18.965Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T04:54:18.965Z] Successfully built 22feddf95d68 [2023-10-24T04:54:18.965Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:54:19.744Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T04:54:19.744Z] [2023-10-24T04:54:19.744Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:54:20.129Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T04:54:20.129Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T04:54:20.129Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T04:54:20.129Z] 04944245beec: Pulling fs layer [2023-10-24T04:54:20.129Z] 699f458cf7ca: Pulling fs layer [2023-10-24T04:54:20.129Z] 765212b225bb: Pulling fs layer [2023-10-24T04:54:20.129Z] f23df028b6ca: Pulling fs layer [2023-10-24T04:54:20.129Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T04:54:20.129Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T04:54:20.129Z] f23df028b6ca: Waiting [2023-10-24T04:54:20.129Z] 765212b225bb: Waiting [2023-10-24T04:54:20.129Z] d65c8cfc05b1: Waiting [2023-10-24T04:54:20.129Z] 2437ff75d9bd: Waiting [2023-10-24T04:54:20.397Z] 04944245beec: Verifying Checksum [2023-10-24T04:54:20.397Z] 04944245beec: Download complete [2023-10-24T04:54:20.397Z] 765212b225bb: Verifying Checksum [2023-10-24T04:54:20.397Z] 765212b225bb: Download complete [2023-10-24T04:54:20.397Z] f23df028b6ca: Verifying Checksum [2023-10-24T04:54:20.397Z] f23df028b6ca: Download complete [2023-10-24T04:54:20.397Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T04:54:20.397Z] d65c8cfc05b1: Download complete [2023-10-24T04:54:20.397Z] 699f458cf7ca: Verifying Checksum [2023-10-24T04:54:20.397Z] 699f458cf7ca: Download complete [2023-10-24T04:54:20.978Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T04:54:20.978Z] 8998bd30e6a1: Download complete [2023-10-24T04:54:23.553Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T04:54:23.553Z] 2437ff75d9bd: Download complete [2023-10-24T04:54:24.957Z] 8998bd30e6a1: Pull complete [2023-10-24T04:54:25.536Z] 04944245beec: Pull complete [2023-10-24T04:54:26.938Z] 699f458cf7ca: Pull complete [2023-10-24T04:54:26.938Z] 765212b225bb: Pull complete [2023-10-24T04:54:27.892Z] f23df028b6ca: Pull complete [2023-10-24T04:54:28.158Z] d65c8cfc05b1: Pull complete [2023-10-24T04:54:46.375Z] 2437ff75d9bd: Pull complete [2023-10-24T04:54:46.375Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T04:54:46.375Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T04:54:46.375Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T04:54:46.675Z] prd-ubuntu20.04-docker-arm64-4c-16g-9879 does not seem to be running inside a container [2023-10-24T04:54:46.729Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T04:54:49.217Z] $ docker top b3ef4e52d756ee2a2f3ea5b865037ce92c1797546aa764ab2f3cb57c5cfadcca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:54:49.759Z] ---> job-cost.sh [2023-10-24T04:54:50.027Z] lf-activate-venv: SKIPPING [2023-10-24T04:54:50.027Z] INFO: No Stack... [2023-10-24T04:54:50.604Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T04:54:51.554Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T04:54:52.209Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-10-24T04:54:52.209Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T04:54:52.282Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1527-1-stack-cost] [2023-10-24T04:54:52.287Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1527-1-stack-cost] did not exist. Created. [2023-10-24T04:54:52.287Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1527-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T04:54:52.690Z] /w/workspace/device-sdk-go/1@tmp/durable-2aff8f4a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T04:54:53.357Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T04:54:53.391Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T04:54:53.466Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T04:54:53.482Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1527-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T04:54:53.571Z] $ docker stop --time=1 b3ef4e52d756ee2a2f3ea5b865037ce92c1797546aa764ab2f3cb57c5cfadcca [2023-10-24T04:54:55.117Z] $ docker rm -f --volumes b3ef4e52d756ee2a2f3ea5b865037ce92c1797546aa764ab2f3cb57c5cfadcca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-24T04:54:56.060Z] provisioning config files... [2023-10-24T04:54:56.067Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/config16612568291618866212tmp [Pipeline] { [Pipeline] sh [2023-10-24T04:54:56.402Z] + set +x [2023-10-24T04:54:56.402Z] + bash -s -- [2023-10-24T04:54:56.402Z] + curl -s https://codecov.io/bash [2023-10-24T04:54:56.661Z] [2023-10-24T04:54:56.661Z] _____ _ [2023-10-24T04:54:56.661Z] / ____| | | [2023-10-24T04:54:56.661Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T04:54:56.661Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T04:54:56.661Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T04:54:56.661Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T04:54:56.661Z] Bash-1.0.6 [2023-10-24T04:54:56.661Z] [2023-10-24T04:54:56.661Z] [2023-10-24T04:54:56.661Z] ==> git version 2.25.1 found [2023-10-24T04:54:56.661Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-24T04:54:56.661Z] Release-Date: 2020-01-08 [2023-10-24T04:54:56.661Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-24T04:54:56.661Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T04:54:56.661Z] ==> Jenkins CI detected. [2023-10-24T04:54:56.661Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1527 [2023-10-24T04:54:56.661Z] project root: . [2023-10-24T04:54:56.661Z] --> token set from env [2023-10-24T04:54:56.661Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T04:54:56.661Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T04:54:56.661Z] ==> Python coveragepy not found [2023-10-24T04:54:56.661Z] ==> Searching for coverage reports in: [2023-10-24T04:54:56.661Z] + . [2023-10-24T04:54:56.661Z] -> Found 1 reports [2023-10-24T04:54:56.661Z] ==> Detecting git/mercurial file structure [2023-10-24T04:54:56.661Z] ==> Reading reports [2023-10-24T04:54:56.661Z] + ./coverage.out bytes=122153 [2023-10-24T04:54:56.661Z] ==> Appending adjustments [2023-10-24T04:54:56.661Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T04:54:56.919Z] + Found adjustments [2023-10-24T04:54:56.919Z] ==> Gzipping contents [2023-10-24T04:54:56.919Z] 20K /tmp/codecov.OBIn7x.gz [2023-10-24T04:54:56.919Z] ==> Uploading reports [2023-10-24T04:54:56.919Z] url: https://codecov.io [2023-10-24T04:54:56.919Z] query: branch=PR-1527&commit=529b12373622c5323c12703f33cb9a6cb56564eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1527%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1527&job=&cmd_args= [2023-10-24T04:54:56.919Z] -> Pinging Codecov [2023-10-24T04:54:56.919Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1527&commit=529b12373622c5323c12703f33cb9a6cb56564eb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1527%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1527&job=&cmd_args= [2023-10-24T04:54:57.178Z] -> Uploading to [2023-10-24T04:54:57.178Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/7E55EF52A471D76F132DFD9A03CDDE97/529b12373622c5323c12703f33cb9a6cb56564eb/ba33aba3-3986-4f6c-848a-61bf11969395.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T045456Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e81391b3ffd108989c1ffaf15a09d1ca8c7a5def6936d7e1940fd668a25310c [2023-10-24T04:54:57.178Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T04:54:57.178Z] Dload Upload Total Spent Left Speed [2023-10-24T04:54:57.435Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16746 0 0 100 16746 0 50288 --:--:-- --:--:-- --:--:-- 50288 [2023-10-24T04:54:57.435Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/529b12373622c5323c12703f33cb9a6cb56564eb [Pipeline] } [2023-10-24T04:54:57.460Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-24T04:54:59.221Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives ] [2023-10-24T04:54:59.221Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives [2023-10-24T04:54:59.221Z] total 16 [2023-10-24T04:54:59.221Z] drwxr-xr-x 3 root root 4096 Oct 24 04:44 . [2023-10-24T04:54:59.221Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 04:44 .. [2023-10-24T04:54:59.221Z] drwxr-xr-x 2 root root 4096 Oct 24 04:44 cost [2023-10-24T04:54:59.221Z] -rw-r--r-- 1 root root 86 Oct 24 04:44 cost.csv [2023-10-24T04:54:59.221Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives [2023-10-24T04:54:59.221Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives [2023-10-24T04:54:59.221Z] total 16 [2023-10-24T04:54:59.221Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 04:44 . [2023-10-24T04:54:59.221Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 04:44 .. [2023-10-24T04:54:59.221Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 04:44 cost [2023-10-24T04:54:59.221Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 04:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:54:59.553Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:55:00.439Z] ---> package-listing.sh [2023-10-24T04:55:00.439Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T04:55:00.439Z] ++ facter osfamily [2023-10-24T04:55:00.697Z] + OS_FAMILY=debian [2023-10-24T04:55:00.697Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1527 [2023-10-24T04:55:00.697Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T04:55:00.697Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T04:55:00.697Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T04:55:00.697Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T04:55:00.697Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1527 ']' [2023-10-24T04:55:00.697Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T04:55:00.697Z] + case "${OS_FAMILY}" in [2023-10-24T04:55:00.697Z] + dpkg -l [2023-10-24T04:55:00.697Z] + grep '^ii' [2023-10-24T04:55:00.697Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T04:55:00.697Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T04:55:00.697Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T04:55:00.697Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1527 ']' [2023-10-24T04:55:00.697Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives/ [2023-10-24T04:55:00.697Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1527/archives/ [Pipeline] echo [2023-10-24T04:55:00.731Z] 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-1527/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T04:55:01.018Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T04:55:01.644Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T04:55:01.644Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T04:55:01.790Z] prd-ubuntu20.04-docker-8c-8g-9878 does not seem to be running inside a container [2023-10-24T04:55:01.816Z] $ 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-1527/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-1527 -v /w/workspace/gexfoundry_device-sdk-go_PR-1527:/w/workspace/gexfoundry_device-sdk-go_PR-1527:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1527@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T04:55:02.036Z] $ docker top fe124b1bc13de4cc15d4d102b827968cb648879f7bb89bac515426db09ebf59e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T04:55:02.424Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T04:55:02.733Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T04:55:03.041Z] + ls /var/log/sa-host [2023-10-24T04:55:03.041Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T04:55:03.169Z] provisioning config files... [2023-10-24T04:55:03.177Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1527@tmp/config11890334632848992752tmp [Pipeline] { [Pipeline] echo [2023-10-24T04:55:03.224Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:55:03.530Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T04:55:03.555Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:55:03.962Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T04:55:03.997Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:55:04.305Z] ---> sudo-logs.sh [2023-10-24T04:55:04.305Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T04:55:04.388Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:55:04.694Z] ---> job-cost.sh [2023-10-24T04:55:04.694Z] lf-activate-venv: SKIPPING [2023-10-24T04:55:04.694Z] DEBUG: total: 0.2199999988079071 [2023-10-24T04:55:04.694Z] INFO: Retrieving Stack Cost... [2023-10-24T04:55:04.953Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T04:55:05.519Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T04:55:05.557Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T04:55:05.865Z] ---> logs-deploy.sh [2023-10-24T04:55:05.865Z] lf-activate-venv: SKIPPING [2023-10-24T04:55:05.865Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1527/1 [2023-10-24T04:55:05.865Z] INFO: archiving workspace using pattern(s): [2023-10-24T04:55:06.800Z] Archives upload complete. [2023-10-24T04:55:06.800Z] INFO: archiving logs to Nexus