Pull request #1395 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from df8b6dad8ec8a69b56807ef891e6169cf12af2ef+c61610bbbff1187c8ac68f5c7e0a10add7b75ddb (8dea57f5d505e5ca92d702bc90130d6d79379d57) 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-ssh1800824755857453473.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2369479130321284878.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1395/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-1395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3982785458621140615.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-1395/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13728237568664190417.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh7990484441436927533.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-1395/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-1395/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3466467282116674795.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4723’ Running on prd-ubuntu20.04-docker-8c-8g-4725 in /w/workspace/gexfoundry_device-sdk-go_PR-1395 [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-1395 # 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/1395/head:refs/remotes/origin/PR-1395 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit df8b6dad8ec8a69b56807ef891e6169cf12af2ef Merge succeeded, producing df8b6dad8ec8a69b56807ef891e6169cf12af2ef Checking out Revision df8b6dad8ec8a69b56807ef891e6169cf12af2ef (PR-1395) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-21T04:59:58.617Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f df8b6dad8ec8a69b56807ef891e6169cf12af2ef # 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 c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f df8b6dad8ec8a69b56807ef891e6169cf12af2ef # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-21T04:59:58.809Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-21T04:59:58.924Z] ========================================================= [2023-03-21T04:59:58.924Z] EdgeX Global Pipelines Version Info [2023-03-21T04:59:58.924Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-21T04:59:59.670Z] ------------------- [2023-03-21T04:59:59.670Z] stable info: [2023-03-21T04:59:59.670Z] ------------------- [2023-03-21T04:59:59.670Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-21T04:59:59.670Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-21T04:59:59.670Z] Message: update stable to v1.0.245 [2023-03-21T05:00:00.244Z] ------------------- [2023-03-21T05:00:00.244Z] experimental info: [2023-03-21T05:00:00.244Z] ------------------- [2023-03-21T05:00:00.244Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-21T05:00:00.244Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-21T05:00:00.244Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-21T05:00:00.565Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-21T05:00:00.616Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-21T05:00:00.660Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-21T05:00:00.699Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-21T05:00:00.738Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-21T05:00:00.831Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-21T05:00:00.873Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-21T05:00:00.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-21T05:00:00.950Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-21T05:00:00.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-21T05:00:01.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-21T05:00:01.079Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-21T05:00:01.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-21T05:00:01.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-21T05:00:01.215Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-21T05:00:01.258Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:00:01.297Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:00:01.335Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-21T05:00:01.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-21T05:00:01.414Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-21T05:00:01.453Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-21T05:00:01.494Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-21T05:00:01.535Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-21T05:00:01.573Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-21T05:00:01.612Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-21T05:00:01.651Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-21T05:00:01.691Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-21T05:00:01.728Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1395 [Pipeline] echo [2023-03-21T05:00:01.771Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1395 [Pipeline] echo [2023-03-21T05:00:01.810Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1395 [Pipeline] echo [2023-03-21T05:00:01.852Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = df8b6dad8ec8a69b56807ef891e6169cf12af2ef [Pipeline] echo [2023-03-21T05:00:01.898Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = df8b6da [Pipeline] echo [2023-03-21T05:00:01.945Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:00:02.061Z] provisioning config files... [2023-03-21T05:00:02.097Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config9995400218831674876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:00:02.442Z] ---> docker-login.sh [2023-03-21T05:00:02.442Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:00:02.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:02.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:02.964Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:02.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:02.964Z] [2023-03-21T05:00:02.964Z] Login Succeeded [2023-03-21T05:00:02.964Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:00:02.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:02.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:02.964Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:02.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:02.964Z] [2023-03-21T05:00:02.964Z] Login Succeeded [2023-03-21T05:00:02.964Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:00:02.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:02.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:02.964Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:02.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:02.964Z] [2023-03-21T05:00:02.964Z] Login Succeeded [2023-03-21T05:00:03.224Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:00:03.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:03.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:03.224Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:03.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:03.224Z] [2023-03-21T05:00:03.224Z] Login Succeeded [2023-03-21T05:00:03.224Z] docker.io [2023-03-21T05:00:03.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:06.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:06.526Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:06.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:06.526Z] [2023-03-21T05:00:06.526Z] Login Succeeded [2023-03-21T05:00:06.526Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:00:06.558Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-21T05:00:07.203Z] + git rev-list -1 --merges df8b6dad8ec8a69b56807ef891e6169cf12af2ef~1..df8b6dad8ec8a69b56807ef891e6169cf12af2ef [Pipeline] echo [2023-03-21T05:00:07.267Z] -----------> git rev-list -1 --merges df8b6dad8ec8a69b56807ef891e6169cf12af2ef~1..df8b6dad8ec8a69b56807ef891e6169cf12af2ef df8b6dad8ec8a69b56807ef891e6169cf12af2ef [false] [Pipeline] sh [2023-03-21T05:00:07.578Z] + git log --format=format:%s -1 df8b6dad8ec8a69b56807ef891e6169cf12af2ef [Pipeline] echo [2023-03-21T05:00:07.621Z] ========================================================= [2023-03-21T05:00:07.621Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-21T05:00:07.621Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:00:08.053Z] + git log --format=format:%s -1 df8b6dad8ec8a69b56807ef891e6169cf12af2ef [Pipeline] echo [2023-03-21T05:00:08.087Z] [semverPrep] GIT_COMMIT: df8b6dad8ec8a69b56807ef891e6169cf12af2ef, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-03-21T05:00:08.118Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-21T05:00:08.499Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-21T05:00:08.499Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-21T05:00:08.499Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-21T05:00:08.499Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-21T05:00:08.499Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-21T05:00:08.499Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-21T05:00:08.499Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:00:09.224Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:00:09.224Z] [2023-03-21T05:00:09.224Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:00:09.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:00:09.599Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-21T05:00:09.599Z] b85a868b505f: Pulling fs layer [2023-03-21T05:00:09.599Z] e2be974225ed: Pulling fs layer [2023-03-21T05:00:09.599Z] 339a4e72a1f5: Pulling fs layer [2023-03-21T05:00:09.599Z] 988bab9f4d93: Pulling fs layer [2023-03-21T05:00:09.599Z] 1469e6f7b9e6: Pulling fs layer [2023-03-21T05:00:09.599Z] eaf3925da568: Pulling fs layer [2023-03-21T05:00:09.599Z] bab4dde63d76: Pulling fs layer [2023-03-21T05:00:09.599Z] bde34c3a00c8: Pulling fs layer [2023-03-21T05:00:09.599Z] b352a97aabf1: Pulling fs layer [2023-03-21T05:00:09.599Z] 4872d77fe225: Pulling fs layer [2023-03-21T05:00:09.599Z] 5851b861e8e6: Pulling fs layer [2023-03-21T05:00:09.599Z] 988bab9f4d93: Waiting [2023-03-21T05:00:09.599Z] 1469e6f7b9e6: Waiting [2023-03-21T05:00:09.599Z] eaf3925da568: Waiting [2023-03-21T05:00:09.599Z] bab4dde63d76: Waiting [2023-03-21T05:00:09.599Z] bde34c3a00c8: Waiting [2023-03-21T05:00:09.599Z] b352a97aabf1: Waiting [2023-03-21T05:00:09.599Z] 4872d77fe225: Waiting [2023-03-21T05:00:09.599Z] e2be974225ed: Download complete [2023-03-21T05:00:09.599Z] 988bab9f4d93: Verifying Checksum [2023-03-21T05:00:09.599Z] 988bab9f4d93: Download complete [2023-03-21T05:00:09.857Z] 339a4e72a1f5: Verifying Checksum [2023-03-21T05:00:09.857Z] 339a4e72a1f5: Download complete [2023-03-21T05:00:09.857Z] 1469e6f7b9e6: Verifying Checksum [2023-03-21T05:00:09.857Z] 1469e6f7b9e6: Download complete [2023-03-21T05:00:09.857Z] eaf3925da568: Verifying Checksum [2023-03-21T05:00:09.857Z] eaf3925da568: Download complete [2023-03-21T05:00:09.857Z] bde34c3a00c8: Download complete [2023-03-21T05:00:09.857Z] b352a97aabf1: Download complete [2023-03-21T05:00:09.857Z] 4872d77fe225: Download complete [2023-03-21T05:00:09.857Z] 5851b861e8e6: Download complete [2023-03-21T05:00:09.857Z] b85a868b505f: Download complete [2023-03-21T05:00:10.118Z] bab4dde63d76: Verifying Checksum [2023-03-21T05:00:10.118Z] bab4dde63d76: Download complete [2023-03-21T05:00:11.495Z] b85a868b505f: Pull complete [2023-03-21T05:00:11.495Z] e2be974225ed: Pull complete [2023-03-21T05:00:12.062Z] 339a4e72a1f5: Pull complete [2023-03-21T05:00:12.062Z] 988bab9f4d93: Pull complete [2023-03-21T05:00:12.321Z] 1469e6f7b9e6: Pull complete [2023-03-21T05:00:12.580Z] eaf3925da568: Pull complete [2023-03-21T05:00:15.862Z] bab4dde63d76: Pull complete [2023-03-21T05:00:16.139Z] bde34c3a00c8: Pull complete [2023-03-21T05:00:17.081Z] b352a97aabf1: Pull complete [2023-03-21T05:00:18.019Z] 4872d77fe225: Pull complete [2023-03-21T05:00:19.400Z] 5851b861e8e6: Pull complete [2023-03-21T05:00:19.663Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-21T05:00:19.921Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-21T05:00:20.179Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:00:20.446Z] prd-ubuntu20.04-docker-8c-8g-4725 does not seem to be running inside a container [2023-03-21T05:00:20.482Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-21T05:00:24.872Z] $ docker top a42de09142cc5397d65ad625ca0bd1a0bf23fa54ece8d1f1acd5b95ea0877041 -eo pid,comm [2023-03-21T05:00:24.946Z] 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-03-21T05:00:24.946Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-21T05:00:25.069Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:00:25.069Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:00:25.183Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:00:25.189Z] $ docker exec a42de09142cc5397d65ad625ca0bd1a0bf23fa54ece8d1f1acd5b95ea0877041 ssh-agent [2023-03-21T05:00:25.302Z] SSH_AUTH_SOCK=/tmp/ssh-NsQtAyxMBihx/agent.31 [2023-03-21T05:00:25.302Z] SSH_AGENT_PID=37 [2023-03-21T05:00:25.309Z] Running ssh-add (command line suppressed) [2023-03-21T05:00:25.429Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_13190800257510632825.key (/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_13190800257510632825.key) [2023-03-21T05:00:25.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:00:25.867Z] + git tag --points-at HEAD [Pipeline] } [2023-03-21T05:00:25.912Z] $ docker exec --env ******** --env ******** a42de09142cc5397d65ad625ca0bd1a0bf23fa54ece8d1f1acd5b95ea0877041 ssh-agent -k [2023-03-21T05:00:26.013Z] unset SSH_AUTH_SOCK; [2023-03-21T05:00:26.013Z] unset SSH_AGENT_PID; [2023-03-21T05:00:26.014Z] echo Agent pid 37 killed; [2023-03-21T05:00:26.019Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-21T05:00:26.163Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-21T05:00:26.163Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-21T05:00:26.284Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-21T05:00:26.290Z] $ docker exec a42de09142cc5397d65ad625ca0bd1a0bf23fa54ece8d1f1acd5b95ea0877041 ssh-agent [2023-03-21T05:00:26.407Z] SSH_AUTH_SOCK=/tmp/ssh-jJXzp2hs9L8M/agent.69 [2023-03-21T05:00:26.407Z] SSH_AGENT_PID=75 [2023-03-21T05:00:26.412Z] Running ssh-add (command line suppressed) [2023-03-21T05:00:26.526Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_12062849492888536876.key (/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/private_key_12062849492888536876.key) [2023-03-21T05:00:26.537Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-21T05:00:26.870Z] + git semver init [2023-03-21T05:00:27.129Z] 2023-03-21 05:00:27,058 [run_init] DEBUG init version:0.0.0 force:False [2023-03-21T05:00:27.129Z] 2023-03-21 05:00:27,059 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver [2023-03-21T05:00:27.129Z] 2023-03-21 05:00:27,060 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver [2023-03-21T05:00:27.129Z] 2023-03-21 05:00:27,060 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395, universal_newlines=False, shell=None, istream=None) [2023-03-21T05:00:28.065Z] 2023-03-21 05:00:27,946 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.git/info/exclude [2023-03-21T05:00:28.065Z] 2023-03-21 05:00:27,946 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 with force:False [2023-03-21T05:00:28.065Z] 2023-03-21 05:00:27,947 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 [2023-03-21T05:00:28.065Z] 2023-03-21 05:00:27,951 [execute] INFO git cat-file --batch-check [2023-03-21T05:00:28.065Z] 2023-03-21 05:00:27,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:00:28.065Z] 2023-03-21 05:00:27,957 [execute] INFO git cat-file --batch [2023-03-21T05:00:28.065Z] 2023-03-21 05:00:27,957 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver, universal_newlines=False, shell=None, istream=) [2023-03-21T05:00:28.065Z] 2023-03-21 05:00:27,963 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1395/.semver/PR-1395 [2023-03-21T05:00:28.065Z] 0.0.0 [Pipeline] } [2023-03-21T05:00:28.089Z] $ docker exec --env ******** --env ******** a42de09142cc5397d65ad625ca0bd1a0bf23fa54ece8d1f1acd5b95ea0877041 ssh-agent -k [2023-03-21T05:00:28.182Z] unset SSH_AUTH_SOCK; [2023-03-21T05:00:28.182Z] unset SSH_AGENT_PID; [2023-03-21T05:00:28.182Z] echo Agent pid 75 killed; [2023-03-21T05:00:28.187Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-21T05:00:28.624Z] + git semver [Pipeline] } [2023-03-21T05:00:28.907Z] $ docker stop --time=1 a42de09142cc5397d65ad625ca0bd1a0bf23fa54ece8d1f1acd5b95ea0877041 [2023-03-21T05:00:30.231Z] $ docker rm -f --volumes a42de09142cc5397d65ad625ca0bd1a0bf23fa54ece8d1f1acd5b95ea0877041 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:00:30.636Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-21T05:00:30.896Z] Stashed 1 file(s) [Pipeline] echo [2023-03-21T05:00:30.913Z] [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-03-21T05:00:31.510Z] provisioning config files... [2023-03-21T05:00:31.521Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config1454220173837326366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:00:31.861Z] ---> docker-login.sh [2023-03-21T05:00:31.861Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:00:31.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:31.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:31.861Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:31.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:31.861Z] [2023-03-21T05:00:31.861Z] Login Succeeded [2023-03-21T05:00:31.861Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:00:31.861Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:31.861Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:31.861Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:31.861Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:31.861Z] [2023-03-21T05:00:31.861Z] Login Succeeded [2023-03-21T05:00:31.861Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:00:32.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:32.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:32.122Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:32.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:32.122Z] [2023-03-21T05:00:32.122Z] Login Succeeded [2023-03-21T05:00:32.122Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:00:32.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:32.122Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:32.122Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:32.122Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:32.122Z] [2023-03-21T05:00:32.122Z] Login Succeeded [2023-03-21T05:00:32.122Z] docker.io [2023-03-21T05:00:32.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:00:32.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:00:32.382Z] Configure a credential helper to remove this warning. See [2023-03-21T05:00:32.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:00:32.382Z] [2023-03-21T05:00:32.382Z] Login Succeeded [2023-03-21T05:00:32.382Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:00:32.412Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T05:00:32.607Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:00:32.645Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:00:32.682Z] ========================================================= [2023-03-21T05:00:32.682Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-21T05:00:32.682Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:00:33.162Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T05:00:33.162Z] Sending build context to Docker daemon 10.79MB [2023-03-21T05:00:33.162Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:00:33.162Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T05:00:33.162Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-21T05:00:33.162Z] 63b65145d645: Pulling fs layer [2023-03-21T05:00:33.162Z] a2d21d5440eb: Pulling fs layer [2023-03-21T05:00:33.162Z] 935e6c44a52c: Pulling fs layer [2023-03-21T05:00:33.162Z] 94cc34f8dd06: Pulling fs layer [2023-03-21T05:00:33.162Z] 30dea6a524f1: Pulling fs layer [2023-03-21T05:00:33.162Z] a2aff8979fd8: Pulling fs layer [2023-03-21T05:00:33.162Z] 6808be2612f2: Pulling fs layer [2023-03-21T05:00:33.163Z] f25807f1079a: Pulling fs layer [2023-03-21T05:00:33.163Z] 94cc34f8dd06: Waiting [2023-03-21T05:00:33.163Z] 30dea6a524f1: Waiting [2023-03-21T05:00:33.163Z] a2aff8979fd8: Waiting [2023-03-21T05:00:33.163Z] 6808be2612f2: Waiting [2023-03-21T05:00:33.163Z] f25807f1079a: Waiting [2023-03-21T05:00:33.442Z] a2d21d5440eb: Download complete [2023-03-21T05:00:33.442Z] 94cc34f8dd06: Verifying Checksum [2023-03-21T05:00:33.442Z] 94cc34f8dd06: Download complete [2023-03-21T05:00:33.442Z] 30dea6a524f1: Verifying Checksum [2023-03-21T05:00:33.442Z] 30dea6a524f1: Download complete [2023-03-21T05:00:33.442Z] 63b65145d645: Verifying Checksum [2023-03-21T05:00:33.442Z] 63b65145d645: Download complete [2023-03-21T05:00:33.442Z] a2aff8979fd8: Verifying Checksum [2023-03-21T05:00:33.442Z] a2aff8979fd8: Download complete [2023-03-21T05:00:33.701Z] 63b65145d645: Pull complete [2023-03-21T05:00:33.702Z] a2d21d5440eb: Pull complete [2023-03-21T05:00:33.964Z] f25807f1079a: Verifying Checksum [2023-03-21T05:00:34.224Z] 935e6c44a52c: Verifying Checksum [2023-03-21T05:00:34.224Z] 935e6c44a52c: Download complete [2023-03-21T05:00:34.481Z] 6808be2612f2: Verifying Checksum [2023-03-21T05:00:34.481Z] 6808be2612f2: Download complete [2023-03-21T05:00:38.667Z] 935e6c44a52c: Pull complete [2023-03-21T05:00:38.667Z] 94cc34f8dd06: Pull complete [2023-03-21T05:00:38.925Z] 30dea6a524f1: Pull complete [2023-03-21T05:00:39.183Z] a2aff8979fd8: Pull complete [2023-03-21T05:00:42.471Z] 6808be2612f2: Pull complete [2023-03-21T05:00:42.729Z] f25807f1079a: Pull complete [2023-03-21T05:00:42.988Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-21T05:00:42.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-21T05:00:42.988Z] ---> 3b553350e43f [2023-03-21T05:00:42.988Z] Step 3/10 : ARG MAKE=make build [2023-03-21T05:00:46.335Z] Still waiting to schedule task [2023-03-21T05:00:46.335Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4724’ [2023-03-21T05:00:53.014Z] ---> Running in 76003b9b5ab3 [2023-03-21T05:00:53.277Z] Removing intermediate container 76003b9b5ab3 [2023-03-21T05:00:53.277Z] ---> 0f2d22449393 [2023-03-21T05:00:53.277Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-21T05:00:53.845Z] ---> Running in ece9f14c2184 [2023-03-21T05:00:55.222Z] Removing intermediate container ece9f14c2184 [2023-03-21T05:00:55.222Z] ---> b020a5ec2967 [2023-03-21T05:00:55.222Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T05:00:55.793Z] ---> Running in bcaaddcce351 [2023-03-21T05:00:56.730Z] Removing intermediate container bcaaddcce351 [2023-03-21T05:00:56.730Z] ---> a95566fd5635 [2023-03-21T05:00:56.730Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-21T05:00:57.299Z] ---> Running in 47884908a9b5 [2023-03-21T05:00:57.870Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:00:58.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:00:58.418Z] OK: 265 MiB in 53 packages [2023-03-21T05:00:59.376Z] Removing intermediate container 47884908a9b5 [2023-03-21T05:00:59.376Z] ---> be2e181ec9b1 [2023-03-21T05:00:59.376Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T05:00:59.946Z] ---> 5dac25f1850a [2023-03-21T05:00:59.946Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:01:00.205Z] ---> Running in c0e2580388f7 [2023-03-21T05:01:56.537Z] Removing intermediate container c0e2580388f7 [2023-03-21T05:01:56.537Z] ---> 2a7adfcccdb0 [2023-03-21T05:01:56.537Z] Step 9/10 : COPY . . [2023-03-21T05:01:56.537Z] ---> 0d567273dad5 [2023-03-21T05:01:56.537Z] Step 10/10 : RUN ${MAKE} [2023-03-21T05:01:56.537Z] ---> Running in 9804a437dd3d [2023-03-21T05:01:56.537Z] noop [2023-03-21T05:01:56.537Z] Removing intermediate container 9804a437dd3d [2023-03-21T05:01:56.537Z] ---> 0e174b8e5686 [2023-03-21T05:01:56.537Z] Successfully built 0e174b8e5686 [2023-03-21T05:01:56.537Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:01:56.984Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T05:01:56.984Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:01:57.142Z] prd-ubuntu20.04-docker-8c-8g-4725 does not seem to be running inside a container [2023-03-21T05:01:57.173Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T05:01:57.572Z] $ docker top 8baa5d360668ba807e88cde7753524b3d8e2d347a58b1a71f29f320b28af2bc0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:01:57.966Z] + go version [2023-03-21T05:01:57.967Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-21T05:01:58.001Z] $ docker stop --time=1 8baa5d360668ba807e88cde7753524b3d8e2d347a58b1a71f29f320b28af2bc0 [2023-03-21T05:01:59.732Z] $ docker rm -f --volumes 8baa5d360668ba807e88cde7753524b3d8e2d347a58b1a71f29f320b28af2bc0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:02:00.554Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-21T05:02:00.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:02:00.732Z] prd-ubuntu20.04-docker-8c-8g-4725 does not seem to be running inside a container [2023-03-21T05:02:00.768Z] $ 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-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-21T05:02:01.705Z] $ docker top 8fdc907692e2583b6582facf48af8e21435d878a4d17472107b275d7a199df3a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:02:02.092Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1395 [Pipeline] fileExists [Pipeline] sh [2023-03-21T05:02:02.454Z] + make test [2023-03-21T05:02:02.454Z] go test -race -coverprofile=coverage.out ./... [2023-03-21T05:02:10.578Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-21T05:02:25.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-21T05:02:25.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-21T05:02:25.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-21T05:02:25.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-21T05:02:25.625Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-21T05:02:25.626Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.045s coverage: 27.6% of statements [2023-03-21T05:02:25.626Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-21T05:02:25.626Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-21T05:02:25.626Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 78.9% of statements [2023-03-21T05:02:25.626Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.069s coverage: 86.0% of statements [2023-03-21T05:02:26.561Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-21T05:02:26.561Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-21T05:02:26.561Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.098s coverage: 75.9% of statements [2023-03-21T05:02:26.561Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-21T05:02:26.561Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-21T05:02:27.990Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-21T05:02:29.566Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.062s coverage: 15.2% of statements [2023-03-21T05:02:29.566Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.073s coverage: 65.7% of statements [2023-03-21T05:02:29.566Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.119s coverage: 89.2% of statements [2023-03-21T05:02:29.566Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.117s coverage: 5.5% of statements [2023-03-21T05:02:51.499Z] GO111MODULE=on go vet ./... [2023-03-21T05:02:55.689Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T05:02:55.689Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T05:02:55.689Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T05:02:55.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T05:02:55.757Z] $ docker stop --time=1 8fdc907692e2583b6582facf48af8e21435d878a4d17472107b275d7a199df3a [2023-03-21T05:03:00.231Z] $ docker rm -f --volumes 8fdc907692e2583b6582facf48af8e21435d878a4d17472107b275d7a199df3a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:03:00.807Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T05:03:00.910Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-21T05:03:01.385Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4730 in /w/workspace/gexfoundry_device-sdk-go_PR-1395 [Pipeline] { [Pipeline] ws [2023-03-21T05:03:01.448Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [2023-03-21T05:03:01.495Z] + sudo chown -R jenkins:jenkins . [Pipeline] checkout [2023-03-21T05:03:01.533Z] The recommended git tool is: git [Pipeline] sh [2023-03-21T05:03:01.860Z] + ls -al . [2023-03-21T05:03:01.860Z] total 276 [2023-03-21T05:03:01.860Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 21 05:02 . [2023-03-21T05:03:01.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:59 .. [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 04:59 .dockerignore [2023-03-21T05:03:01.860Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:00 .git [2023-03-21T05:03:01.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:59 .github [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 21 04:59 .gitignore [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 04:59 .golangci.yml [2023-03-21T05:03:01.860Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:00 .semver [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 21 04:59 CHANGELOG.md [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 04:59 GOVERNANCE.md [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 04:59 Jenkinsfile [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 04:59 LICENSE [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 21 04:59 Makefile [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 04:59 OWNERS.md [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 21 04:59 README.md [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:00 VERSION [2023-03-21T05:03:01.860Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 04:59 bin [2023-03-21T05:03:01.860Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 21 05:02 coverage.out [2023-03-21T05:03:01.860Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 04:59 example [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 21 04:59 go.mod [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 21 04:59 go.sum [2023-03-21T05:03:01.860Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 04:59 internal [2023-03-21T05:03:01.860Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 04:59 openapi [2023-03-21T05:03:01.860Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 04:59 pkg [2023-03-21T05:03:01.860Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 04:59 snap [2023-03-21T05:03:01.860Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:03:02.293Z] + 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=df8b6dad8ec8a69b56807ef891e6169cf12af2ef --label arch=amd64 --label version=0.0.0 . [2023-03-21T05:03:02.293Z] Sending build context to Docker daemon 10.9MB [2023-03-21T05:03:02.293Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:03:02.293Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-21T05:03:02.293Z] ---> 0e174b8e5686 [2023-03-21T05:03:02.293Z] Step 3/23 : ARG MAKE=make build [2023-03-21T05:03:02.861Z] ---> Running in 4f5eed7308ad [2023-03-21T05:03:03.121Z] Removing intermediate container 4f5eed7308ad [2023-03-21T05:03:03.121Z] ---> 3562bc946aab [2023-03-21T05:03:03.121Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-21T05:03:03.380Z] ---> Running in 0fddb6596075 [2023-03-21T05:03:03.639Z] Removing intermediate container 0fddb6596075 [2023-03-21T05:03:03.639Z] ---> 66ce4f903895 [2023-03-21T05:03:03.639Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T05:03:03.639Z] ---> Running in 4e117f63cf22 [2023-03-21T05:03:03.903Z] Removing intermediate container 4e117f63cf22 [2023-03-21T05:03:03.903Z] ---> efc8a8e94a91 [2023-03-21T05:03:03.903Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-21T05:03:03.903Z] ---> Running in 54da3240d1e2 [2023-03-21T05:03:04.161Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:03:04.420Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:03:04.682Z] OK: 265 MiB in 53 packages [2023-03-21T05:03:04.949Z] Removing intermediate container 54da3240d1e2 [2023-03-21T05:03:04.949Z] ---> 69c8dc01a3f1 [2023-03-21T05:03:04.949Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-21T05:03:04.949Z] ---> 2b4bd210657f [2023-03-21T05:03:04.949Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:03:04.949Z] ---> Running in 1055f0587653 [2023-03-21T05:03:05.881Z] Removing intermediate container 1055f0587653 [2023-03-21T05:03:05.881Z] ---> ddcf1fdaaeb4 [2023-03-21T05:03:05.881Z] Step 9/23 : COPY . . [2023-03-21T05:03:06.449Z] ---> 4b9dde886d89 [2023-03-21T05:03:06.449Z] Step 10/23 : RUN ${MAKE} [2023-03-21T05:03:06.449Z] ---> Running in f11e4dbf319a [2023-03-21T05:03:06.708Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-21T05:03:07.645Z] using credential edgex-jenkins-ssh [2023-03-21T05:03:07.660Z] Cloning the remote Git repository [2023-03-21T05:03:07.712Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T05:03:07.829Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-21T05:03:08.017Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T05:03:08.019Z] > git --version # timeout=10 [2023-03-21T05:03:08.042Z] > git --version # 'git version 2.25.1' [2023-03-21T05:03:08.045Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:03:08.212Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T05:03:09.820Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-21T05:03:09.845Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-21T05:03:11.525Z] Merging remotes/origin/main commit c61610bbbff1187c8ac68f5c7e0a10add7b75ddb into PR head commit df8b6dad8ec8a69b56807ef891e6169cf12af2ef [2023-03-21T05:03:10.813Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-21T05:03:10.868Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-21T05:03:10.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:03:10.891Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1395/head:refs/remotes/origin/PR-1395 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-21T05:03:11.544Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T05:03:11.637Z] > git checkout -f df8b6dad8ec8a69b56807ef891e6169cf12af2ef # timeout=10 [2023-03-21T05:03:11.761Z] > git remote # timeout=10 [2023-03-21T05:03:11.790Z] > git config --get remote.origin.url # timeout=10 [2023-03-21T05:03:11.898Z] Merge succeeded, producing df8b6dad8ec8a69b56807ef891e6169cf12af2ef [2023-03-21T05:03:11.898Z] Checking out Revision df8b6dad8ec8a69b56807ef891e6169cf12af2ef (PR-1395) [2023-03-21T05:03:12.531Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2023-03-21T05:03:12.591Z] > git --version # timeout=10 [2023-03-21T05:03:12.609Z] > git --version # 'git version 2.25.1' [2023-03-21T05:03:12.630Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-03-21T05:03:11.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-21T05:03:11.841Z] > git merge c61610bbbff1187c8ac68f5c7e0a10add7b75ddb # timeout=10 [2023-03-21T05:03:11.875Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-21T05:03:11.905Z] > git config core.sparsecheckout # timeout=10 [2023-03-21T05:03:11.928Z] > git checkout -f df8b6dad8ec8a69b56807ef891e6169cf12af2ef # timeout=10 [Pipeline] sh [2023-03-21T05:03:13.839Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-21T05:03:13.839Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T05:03:13.839Z] Dload Upload Total Spent Left Speed [2023-03-21T05:03:13.839Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 70447 0 --:--:-- --:--:-- --:--:-- 70838 [Pipeline] sh [2023-03-21T05:03:14.639Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-21T05:03:15.011Z] + sudo tee /etc/docker/daemon.new [2023-03-21T05:03:15.011Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-21T05:03:15.011Z] { [2023-03-21T05:03:15.011Z] "registry-mirrors": [ [2023-03-21T05:03:15.011Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-21T05:03:15.011Z] ], [2023-03-21T05:03:15.011Z] "bip": "10.250.0.254/24", [2023-03-21T05:03:15.011Z] "hosts": [ [2023-03-21T05:03:15.011Z] "tcp://0.0.0.0:5555", [2023-03-21T05:03:15.011Z] "unix:///var/run/docker.sock" [2023-03-21T05:03:15.011Z] ], [2023-03-21T05:03:15.011Z] "mtu": 1458, [2023-03-21T05:03:15.011Z] "selinux-enabled": true, [2023-03-21T05:03:15.011Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-21T05:03:15.011Z] } [Pipeline] sh [2023-03-21T05:03:15.367Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-21T05:03:15.723Z] + sudo service docker restart [2023-03-21T05:03:28.726Z] Removing intermediate container f11e4dbf319a [2023-03-21T05:03:28.726Z] ---> f81c087e8edd [2023-03-21T05:03:28.726Z] Step 11/23 : FROM alpine:3.17 [2023-03-21T05:03:30.102Z] 3.17: Pulling from library/alpine [2023-03-21T05:03:31.040Z] 63b65145d645: Already exists [2023-03-21T05:03:31.298Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T05:03:31.298Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T05:03:31.298Z] ---> b2aa39c304c2 [2023-03-21T05:03:31.298Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T05:03:31.557Z] ---> Running in cdd8935abb47 [2023-03-21T05:03:31.816Z] Removing intermediate container cdd8935abb47 [2023-03-21T05:03:31.816Z] ---> 3d7d39a15d6d [2023-03-21T05:03:31.816Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-21T05:03:32.074Z] ---> Running in 1ff415e1a1de [2023-03-21T05:03:32.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-21T05:03:32.643Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-21T05:03:32.901Z] OK: 7 MiB in 15 packages [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:03:34.080Z] provisioning config files... [2023-03-21T05:03:34.114Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5255545266787888080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:03:34.278Z] Removing intermediate container 1ff415e1a1de [2023-03-21T05:03:34.278Z] ---> b3503b5e8eb9 [2023-03-21T05:03:34.278Z] Step 14/23 : WORKDIR / [2023-03-21T05:03:34.514Z] ---> docker-login.sh [2023-03-21T05:03:34.514Z] nexus3.edgexfoundry.org:10001 [2023-03-21T05:03:34.845Z] ---> Running in 28619d6ebe2c [2023-03-21T05:03:35.108Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:03:35.382Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:03:35.382Z] Configure a credential helper to remove this warning. See [2023-03-21T05:03:35.382Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:03:35.382Z] [2023-03-21T05:03:35.382Z] Login Succeeded [2023-03-21T05:03:35.382Z] nexus3.edgexfoundry.org:10002 [2023-03-21T05:03:35.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:03:35.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:03:35.657Z] Configure a credential helper to remove this warning. See [2023-03-21T05:03:35.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:03:35.657Z] [2023-03-21T05:03:35.657Z] Login Succeeded [2023-03-21T05:03:35.657Z] nexus3.edgexfoundry.org:10003 [2023-03-21T05:03:35.780Z] Removing intermediate container 28619d6ebe2c [2023-03-21T05:03:35.780Z] ---> 6fb767129076 [2023-03-21T05:03:35.780Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-21T05:03:35.927Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:03:36.201Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:03:36.201Z] Configure a credential helper to remove this warning. See [2023-03-21T05:03:36.201Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:03:36.201Z] [2023-03-21T05:03:36.201Z] Login Succeeded [2023-03-21T05:03:36.201Z] nexus3.edgexfoundry.org:10004 [2023-03-21T05:03:36.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:03:36.475Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:03:36.475Z] Configure a credential helper to remove this warning. See [2023-03-21T05:03:36.475Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:03:36.475Z] [2023-03-21T05:03:36.475Z] Login Succeeded [2023-03-21T05:03:36.475Z] docker.io [2023-03-21T05:03:36.713Z] ---> a6128fe187ff [2023-03-21T05:03:36.713Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-21T05:03:36.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-21T05:03:37.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-21T05:03:37.016Z] Configure a credential helper to remove this warning. See [2023-03-21T05:03:37.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-21T05:03:37.016Z] [2023-03-21T05:03:37.016Z] Login Succeeded [2023-03-21T05:03:37.016Z] ---> docker-login.sh ends [Pipeline] } [2023-03-21T05:03:37.047Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-21T05:03:37.469Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:03:37.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-21T05:03:37.537Z] ========================================================= [2023-03-21T05:03:37.537Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-21T05:03:37.537Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:03:38.048Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-21T05:03:38.641Z] Sending build context to Docker daemon 5.797MB [2023-03-21T05:03:38.641Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:03:38.641Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-21T05:03:38.641Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-21T05:03:38.641Z] af6eaf76a39c: Pulling fs layer [2023-03-21T05:03:38.641Z] 55522c791124: Pulling fs layer [2023-03-21T05:03:38.641Z] ce5c4a1c91eb: Pulling fs layer [2023-03-21T05:03:38.641Z] 169dfbe0d373: Pulling fs layer [2023-03-21T05:03:38.641Z] e1ff8fa3b103: Pulling fs layer [2023-03-21T05:03:38.641Z] 52ebb69f0ebf: Pulling fs layer [2023-03-21T05:03:38.641Z] 5abe8eddf0d5: Pulling fs layer [2023-03-21T05:03:38.641Z] e1ff8fa3b103: Waiting [2023-03-21T05:03:38.641Z] 52ebb69f0ebf: Waiting [2023-03-21T05:03:38.641Z] 5abe8eddf0d5: Waiting [2023-03-21T05:03:38.641Z] 55522c791124: Verifying Checksum [2023-03-21T05:03:38.641Z] 55522c791124: Download complete [2023-03-21T05:03:38.641Z] 169dfbe0d373: Verifying Checksum [2023-03-21T05:03:38.641Z] 169dfbe0d373: Download complete [2023-03-21T05:03:38.663Z] ---> 852dc1260b1b [2023-03-21T05:03:38.663Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-21T05:03:38.914Z] e1ff8fa3b103: Verifying Checksum [2023-03-21T05:03:38.914Z] e1ff8fa3b103: Download complete [2023-03-21T05:03:38.914Z] af6eaf76a39c: Download complete [2023-03-21T05:03:38.923Z] ---> 0cd3c949c8b0 [2023-03-21T05:03:38.924Z] Step 18/23 : EXPOSE 59999 [2023-03-21T05:03:38.924Z] ---> Running in 303b1616be36 [2023-03-21T05:03:38.924Z] Removing intermediate container 303b1616be36 [2023-03-21T05:03:38.924Z] ---> 2d79bf842331 [2023-03-21T05:03:38.924Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-21T05:03:39.184Z] ---> Running in 13cb67378d62 [2023-03-21T05:03:39.754Z] Removing intermediate container 13cb67378d62 [2023-03-21T05:03:39.754Z] ---> 325888dbc986 [2023-03-21T05:03:39.754Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T05:03:39.754Z] ---> Running in 3773f18b7c7d [2023-03-21T05:03:39.754Z] Removing intermediate container 3773f18b7c7d [2023-03-21T05:03:39.754Z] ---> 5ca874f84a08 [2023-03-21T05:03:39.754Z] Step 21/23 : LABEL arch=amd64 [2023-03-21T05:03:39.754Z] ---> Running in 7341de7534b4 [2023-03-21T05:03:39.888Z] af6eaf76a39c: Pull complete [2023-03-21T05:03:39.888Z] 5abe8eddf0d5: Verifying Checksum [2023-03-21T05:03:39.888Z] 5abe8eddf0d5: Download complete [2023-03-21T05:03:40.016Z] Removing intermediate container 7341de7534b4 [2023-03-21T05:03:40.016Z] ---> 7d8607ca2669 [2023-03-21T05:03:40.016Z] Step 22/23 : LABEL git_sha=df8b6dad8ec8a69b56807ef891e6169cf12af2ef [2023-03-21T05:03:40.016Z] ---> Running in 29ee1eb6ffdd [2023-03-21T05:03:40.016Z] Removing intermediate container 29ee1eb6ffdd [2023-03-21T05:03:40.016Z] ---> 0ca1ce60da53 [2023-03-21T05:03:40.016Z] Step 23/23 : LABEL version=0.0.0 [2023-03-21T05:03:40.016Z] ---> Running in d7ac17d8accc [2023-03-21T05:03:40.276Z] Removing intermediate container d7ac17d8accc [2023-03-21T05:03:40.276Z] ---> 583a90e0bf06 [2023-03-21T05:03:40.276Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T05:03:40.276Z] Successfully built 583a90e0bf06 [2023-03-21T05:03:40.276Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-03-21T05:03:40.476Z] 55522c791124: Pull complete [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:03:41.226Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:03:41.226Z] [2023-03-21T05:03:41.226Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:03:41.448Z] ce5c4a1c91eb: Verifying Checksum [2023-03-21T05:03:41.448Z] ce5c4a1c91eb: Download complete [2023-03-21T05:03:41.448Z] 52ebb69f0ebf: Verifying Checksum [2023-03-21T05:03:41.448Z] 52ebb69f0ebf: Download complete [2023-03-21T05:03:41.602Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:03:41.602Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-21T05:03:41.602Z] 5eb5b503b376: Pulling fs layer [2023-03-21T05:03:41.602Z] 5c69ac0246d0: Pulling fs layer [2023-03-21T05:03:41.602Z] ec43610c2a17: Pulling fs layer [2023-03-21T05:03:41.602Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-21T05:03:41.602Z] 33b1e0a273af: Pulling fs layer [2023-03-21T05:03:41.602Z] 5d3b04190fa2: Pulling fs layer [2023-03-21T05:03:41.602Z] 2f39f015ded8: Pulling fs layer [2023-03-21T05:03:41.602Z] 3a2ae6a8a46f: Waiting [2023-03-21T05:03:41.602Z] 33b1e0a273af: Waiting [2023-03-21T05:03:41.602Z] 5d3b04190fa2: Waiting [2023-03-21T05:03:41.602Z] 2f39f015ded8: Waiting [2023-03-21T05:03:41.868Z] 5c69ac0246d0: Verifying Checksum [2023-03-21T05:03:41.868Z] 5c69ac0246d0: Download complete [2023-03-21T05:03:41.868Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-21T05:03:41.868Z] 3a2ae6a8a46f: Download complete [2023-03-21T05:03:41.868Z] 33b1e0a273af: Verifying Checksum [2023-03-21T05:03:42.132Z] 33b1e0a273af: Download complete [2023-03-21T05:03:42.132Z] 5d3b04190fa2: Verifying Checksum [2023-03-21T05:03:42.132Z] 5d3b04190fa2: Download complete [2023-03-21T05:03:42.132Z] ec43610c2a17: Download complete [2023-03-21T05:03:42.132Z] 5eb5b503b376: Verifying Checksum [2023-03-21T05:03:42.132Z] 5eb5b503b376: Download complete [2023-03-21T05:03:43.068Z] 2f39f015ded8: Download complete [2023-03-21T05:03:43.326Z] 5eb5b503b376: Pull complete [2023-03-21T05:03:43.584Z] 5c69ac0246d0: Pull complete [2023-03-21T05:03:43.842Z] ec43610c2a17: Pull complete [2023-03-21T05:03:44.100Z] 3a2ae6a8a46f: Pull complete [2023-03-21T05:03:44.358Z] 33b1e0a273af: Pull complete [2023-03-21T05:03:44.358Z] 5d3b04190fa2: Pull complete [2023-03-21T05:03:48.539Z] 2f39f015ded8: Pull complete [2023-03-21T05:03:48.539Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-21T05:03:48.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:03:48.539Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:03:48.789Z] prd-ubuntu20.04-docker-8c-8g-4725 does not seem to be running inside a container [2023-03-21T05:03:48.821Z] $ 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-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-21T05:03:53.950Z] ce5c4a1c91eb: Pull complete [2023-03-21T05:03:53.950Z] 169dfbe0d373: Pull complete [2023-03-21T05:03:53.950Z] e1ff8fa3b103: Pull complete [2023-03-21T05:03:58.909Z] $ docker top ecd95e3972187eb34215e5f4c6979df8f065dfdac866cdb2374cc6ce87b61893 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:03:59.352Z] ---> job-cost.sh [2023-03-21T05:03:59.352Z] lf-activate-venv: SKIPPING [2023-03-21T05:03:59.352Z] INFO: No Stack... [2023-03-21T05:03:59.611Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T05:03:59.871Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T05:04:00.181Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/cost.csv [2023-03-21T05:04:00.181Z] + cut -d, -f6 [Pipeline] lock [2023-03-21T05:04:00.222Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1395-1-stack-cost] [2023-03-21T05:04:00.227Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-1-stack-cost] did not exist. Created. [2023-03-21T05:04:00.227Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1395-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T05:04:00.622Z] + echo total: 0.2199999988079071 [2023-03-21T05:04:00.645Z] 52ebb69f0ebf: Pull complete [Pipeline] stash [2023-03-21T05:04:00.673Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T05:04:00.711Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T05:04:00.789Z] $ docker stop --time=1 ecd95e3972187eb34215e5f4c6979df8f065dfdac866cdb2374cc6ce87b61893 [2023-03-21T05:04:01.996Z] $ docker rm -f --volumes ecd95e3972187eb34215e5f4c6979df8f065dfdac866cdb2374cc6ce87b61893 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-21T05:04:04.007Z] 5abe8eddf0d5: Pull complete [2023-03-21T05:04:04.007Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-21T05:04:04.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-21T05:04:04.007Z] ---> 6cb57ee374ae [2023-03-21T05:04:04.007Z] Step 3/10 : ARG MAKE=make build [2023-03-21T05:04:05.429Z] ---> Running in ebe858f0ede6 [2023-03-21T05:04:06.024Z] Removing intermediate container ebe858f0ede6 [2023-03-21T05:04:06.024Z] ---> b82c99d39846 [2023-03-21T05:04:06.024Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-21T05:04:06.024Z] ---> Running in 113a2e4aa5da [2023-03-21T05:04:06.294Z] Removing intermediate container 113a2e4aa5da [2023-03-21T05:04:06.294Z] ---> 2dd4815b7829 [2023-03-21T05:04:06.294Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T05:04:06.563Z] ---> Running in 057ebecedb78 [2023-03-21T05:04:06.834Z] Removing intermediate container 057ebecedb78 [2023-03-21T05:04:06.834Z] ---> a5eae511ef5a [2023-03-21T05:04:06.834Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-21T05:04:06.834Z] ---> Running in 2ea6e819a6ca [2023-03-21T05:04:08.255Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:04:08.844Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:04:09.808Z] OK: 263 MiB in 53 packages [2023-03-21T05:04:10.777Z] Removing intermediate container 2ea6e819a6ca [2023-03-21T05:04:10.777Z] ---> b97401104653 [2023-03-21T05:04:10.777Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-21T05:04:11.375Z] ---> 335927792d09 [2023-03-21T05:04:11.375Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:04:11.375Z] ---> Running in 80a1c8cc074c [2023-03-21T05:05:19.536Z] Removing intermediate container 80a1c8cc074c [2023-03-21T05:05:19.536Z] ---> 941948e7ab57 [2023-03-21T05:05:19.536Z] Step 9/10 : COPY . . [2023-03-21T05:05:19.536Z] ---> 4511485bb0aa [2023-03-21T05:05:19.536Z] Step 10/10 : RUN ${MAKE} [2023-03-21T05:05:19.536Z] ---> Running in 693f2b8de50d [2023-03-21T05:05:19.536Z] noop [2023-03-21T05:05:19.536Z] Removing intermediate container 693f2b8de50d [2023-03-21T05:05:19.536Z] ---> 474e01ca95f2 [2023-03-21T05:05:19.536Z] Successfully built 474e01ca95f2 [2023-03-21T05:05:19.536Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:05:20.018Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T05:05:20.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:05:20.303Z] prd-ubuntu20.04-docker-arm64-4c-16g-4730 does not seem to be running inside a container [2023-03-21T05:05:20.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T05:05:21.708Z] $ docker top eff90466547a4ac825090d4b913402c67a04b3be0b3d2de16fef5a8a1de7e8fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:05:22.628Z] + go version [2023-03-21T05:05:22.628Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-21T05:05:22.660Z] $ docker stop --time=1 eff90466547a4ac825090d4b913402c67a04b3be0b3d2de16fef5a8a1de7e8fa [2023-03-21T05:05:24.313Z] $ docker rm -f --volumes eff90466547a4ac825090d4b913402c67a04b3be0b3d2de16fef5a8a1de7e8fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:05:25.280Z] + docker inspect -f . ci-base-image-arm64 [2023-03-21T05:05:25.280Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:05:25.536Z] prd-ubuntu20.04-docker-arm64-4c-16g-4730 does not seem to be running inside a container [2023-03-21T05:05:25.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-21T05:05:26.967Z] $ docker top 62ecccf10b41accb7f62397a67498b06038c0555f6dacdc89cfa8a6f41f5e8d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:05:27.893Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-21T05:05:28.628Z] + make test [2023-03-21T05:05:28.628Z] go test -race -coverprofile=coverage.out ./... [2023-03-21T05:06:25.095Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-21T05:08:46.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-21T05:08:46.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-21T05:08:46.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-21T05:08:46.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-21T05:08:46.817Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-21T05:08:59.159Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.250s coverage: 27.6% of statements [2023-03-21T05:09:05.836Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.296s coverage: 78.9% of statements [2023-03-21T05:09:20.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-21T05:09:20.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-21T05:09:20.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.409s coverage: 86.0% of statements [2023-03-21T05:09:27.500Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-21T05:09:27.500Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.471s coverage: 75.9% of statements [2023-03-21T05:09:31.774Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-21T05:09:34.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-21T05:09:34.368Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-21T05:09:35.354Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.323s coverage: 15.2% of statements [2023-03-21T05:09:35.354Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.502s coverage: 65.7% of statements [2023-03-21T05:09:38.712Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.489s coverage: 89.2% of statements [2023-03-21T05:09:40.686Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-21T05:09:40.686Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.278s coverage: 5.5% of statements [2023-03-21T05:09:41.650Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-21T05:09:41.650Z] GO111MODULE=on go vet ./... [2023-03-21T05:12:33.414Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-21T05:12:33.414Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-21T05:12:33.414Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-21T05:12:33.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-21T05:12:33.481Z] $ docker stop --time=1 62ecccf10b41accb7f62397a67498b06038c0555f6dacdc89cfa8a6f41f5e8d5 [2023-03-21T05:12:36.413Z] $ docker rm -f --volumes 62ecccf10b41accb7f62397a67498b06038c0555f6dacdc89cfa8a6f41f5e8d5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-21T05:12:38.272Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-21T05:12:38.311Z] Warning: overwriting stash ‘coverage-report’ [2023-03-21T05:12:38.966Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-21T05:12:39.536Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-21T05:12:39.878Z] + ls -al . [2023-03-21T05:12:39.878Z] total 272 [2023-03-21T05:12:39.878Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 21 05:05 . [2023-03-21T05:12:39.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:03 .. [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 21 05:03 .dockerignore [2023-03-21T05:12:39.878Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 21 05:03 .git [2023-03-21T05:12:39.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:03 .github [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 21 05:03 .gitignore [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 21 05:03 .golangci.yml [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 21 05:03 CHANGELOG.md [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 21 05:03 GOVERNANCE.md [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 21 05:03 Jenkinsfile [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 21 05:03 LICENSE [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 21 05:03 Makefile [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 21 05:03 OWNERS.md [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 21 05:03 README.md [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 21 05:00 VERSION [2023-03-21T05:12:39.878Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 21 05:03 bin [2023-03-21T05:12:39.878Z] -rw-r--r-- 1 jenkins jenkins 109538 Mar 21 05:09 coverage.out [2023-03-21T05:12:39.878Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 21 05:03 example [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 21 05:03 go.mod [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 21 05:03 go.sum [2023-03-21T05:12:39.878Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 05:03 internal [2023-03-21T05:12:39.878Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 21 05:03 openapi [2023-03-21T05:12:39.878Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 21 05:03 pkg [2023-03-21T05:12:39.878Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 21 05:03 snap [2023-03-21T05:12:39.878Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 21 05:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:12:40.405Z] + 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=df8b6dad8ec8a69b56807ef891e6169cf12af2ef --label arch=arm64 --label version=0.0.0 . [2023-03-21T05:12:41.012Z] Sending build context to Docker daemon 5.907MB [2023-03-21T05:12:41.012Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-21T05:12:41.012Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-21T05:12:41.012Z] ---> 474e01ca95f2 [2023-03-21T05:12:41.012Z] Step 3/23 : ARG MAKE=make build [2023-03-21T05:12:41.012Z] ---> Running in 094d687cbf02 [2023-03-21T05:12:41.297Z] Removing intermediate container 094d687cbf02 [2023-03-21T05:12:41.297Z] ---> 3dcf072191b6 [2023-03-21T05:12:41.297Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-21T05:12:41.596Z] ---> Running in 76fe13d3301e [2023-03-21T05:12:41.870Z] Removing intermediate container 76fe13d3301e [2023-03-21T05:12:41.870Z] ---> a8a0f983e139 [2023-03-21T05:12:41.870Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-21T05:12:41.870Z] ---> Running in e65645eee73d [2023-03-21T05:12:42.151Z] Removing intermediate container e65645eee73d [2023-03-21T05:12:42.151Z] ---> b37fdf6face8 [2023-03-21T05:12:42.151Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-21T05:12:42.431Z] ---> Running in 73159fbbbba1 [2023-03-21T05:12:43.436Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:12:44.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:12:45.829Z] OK: 263 MiB in 53 packages [2023-03-21T05:12:46.803Z] Removing intermediate container 73159fbbbba1 [2023-03-21T05:12:46.803Z] ---> 080fe4f0fb64 [2023-03-21T05:12:46.803Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-21T05:12:48.767Z] ---> 13dd241ae51e [2023-03-21T05:12:48.767Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-21T05:12:48.767Z] ---> Running in 8781c727ade5 [2023-03-21T05:12:52.131Z] Removing intermediate container 8781c727ade5 [2023-03-21T05:12:52.131Z] ---> 5e2002b9a632 [2023-03-21T05:12:52.131Z] Step 9/23 : COPY . . [2023-03-21T05:12:52.722Z] ---> 1c56bd5404ff [2023-03-21T05:12:52.722Z] Step 10/23 : RUN ${MAKE} [2023-03-21T05:12:52.990Z] ---> Running in 4c3ea3bef7b6 [2023-03-21T05:12:53.951Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-21T05:15:30.684Z] Removing intermediate container 4c3ea3bef7b6 [2023-03-21T05:15:30.684Z] ---> 9ae89678e751 [2023-03-21T05:15:30.684Z] Step 11/23 : FROM alpine:3.17 [2023-03-21T05:15:30.684Z] 3.17: Pulling from library/alpine [2023-03-21T05:15:30.684Z] af6eaf76a39c: Already exists [2023-03-21T05:15:30.684Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-21T05:15:30.684Z] Status: Downloaded newer image for alpine:3.17 [2023-03-21T05:15:30.684Z] ---> d74e625d9115 [2023-03-21T05:15:30.684Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-21T05:15:30.684Z] ---> Running in 91026635edfa [2023-03-21T05:15:30.684Z] Removing intermediate container 91026635edfa [2023-03-21T05:15:30.684Z] ---> 1a656dcb6df7 [2023-03-21T05:15:30.684Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-21T05:15:30.684Z] ---> Running in 436b2ce35fd3 [2023-03-21T05:15:30.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-21T05:15:30.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-21T05:15:30.684Z] OK: 7 MiB in 15 packages [2023-03-21T05:15:30.684Z] Removing intermediate container 436b2ce35fd3 [2023-03-21T05:15:30.684Z] ---> 179d12e077dc [2023-03-21T05:15:30.684Z] Step 14/23 : WORKDIR / [2023-03-21T05:15:30.684Z] ---> Running in cef6933e8bf2 [2023-03-21T05:15:30.684Z] Removing intermediate container cef6933e8bf2 [2023-03-21T05:15:30.684Z] ---> b921297cd8f9 [2023-03-21T05:15:30.684Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-21T05:15:30.684Z] ---> f94b25d60686 [2023-03-21T05:15:30.684Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-21T05:15:30.684Z] ---> befe95b5f6dd [2023-03-21T05:15:30.684Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-21T05:15:30.684Z] ---> 84ebdf4613ed [2023-03-21T05:15:30.684Z] Step 18/23 : EXPOSE 59999 [2023-03-21T05:15:30.684Z] ---> Running in 2d8ce6b1a4dd [2023-03-21T05:15:30.684Z] Removing intermediate container 2d8ce6b1a4dd [2023-03-21T05:15:30.684Z] ---> e03ba29e9373 [2023-03-21T05:15:30.684Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-21T05:15:30.684Z] ---> Running in 5b8af2c62092 [2023-03-21T05:15:30.684Z] Removing intermediate container 5b8af2c62092 [2023-03-21T05:15:30.684Z] ---> 89bb91fa4a0f [2023-03-21T05:15:30.684Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-21T05:15:30.684Z] ---> Running in 75588ac6a417 [2023-03-21T05:15:30.684Z] Removing intermediate container 75588ac6a417 [2023-03-21T05:15:30.684Z] ---> ce8188ccaf74 [2023-03-21T05:15:30.684Z] Step 21/23 : LABEL arch=arm64 [2023-03-21T05:15:30.684Z] ---> Running in 330667a9ed09 [2023-03-21T05:15:30.684Z] Removing intermediate container 330667a9ed09 [2023-03-21T05:15:30.684Z] ---> ab709cd60347 [2023-03-21T05:15:30.684Z] Step 22/23 : LABEL git_sha=df8b6dad8ec8a69b56807ef891e6169cf12af2ef [2023-03-21T05:15:30.684Z] ---> Running in b24624fdbb15 [2023-03-21T05:15:30.953Z] Removing intermediate container b24624fdbb15 [2023-03-21T05:15:30.953Z] ---> da5b7a8cc3f5 [2023-03-21T05:15:30.953Z] Step 23/23 : LABEL version=0.0.0 [2023-03-21T05:15:30.953Z] ---> Running in c5dc4ca29b8e [2023-03-21T05:15:31.223Z] Removing intermediate container c5dc4ca29b8e [2023-03-21T05:15:31.223Z] ---> ce23a349b8e6 [2023-03-21T05:15:31.223Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-21T05:15:31.223Z] Successfully built ce23a349b8e6 [2023-03-21T05:15:31.223Z] 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-03-21T05:15:32.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:15:32.021Z] [2023-03-21T05:15:32.021Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:15:32.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:15:32.704Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-21T05:15:32.704Z] 8998bd30e6a1: Pulling fs layer [2023-03-21T05:15:32.704Z] 04944245beec: Pulling fs layer [2023-03-21T05:15:32.704Z] 699f458cf7ca: Pulling fs layer [2023-03-21T05:15:32.704Z] 765212b225bb: Pulling fs layer [2023-03-21T05:15:32.704Z] f23df028b6ca: Pulling fs layer [2023-03-21T05:15:32.704Z] d65c8cfc05b1: Pulling fs layer [2023-03-21T05:15:32.704Z] 2437ff75d9bd: Pulling fs layer [2023-03-21T05:15:32.704Z] f23df028b6ca: Waiting [2023-03-21T05:15:32.704Z] d65c8cfc05b1: Waiting [2023-03-21T05:15:32.704Z] 2437ff75d9bd: Waiting [2023-03-21T05:15:32.704Z] 765212b225bb: Waiting [2023-03-21T05:15:32.704Z] 04944245beec: Verifying Checksum [2023-03-21T05:15:32.704Z] 04944245beec: Download complete [2023-03-21T05:15:32.704Z] 765212b225bb: Verifying Checksum [2023-03-21T05:15:32.704Z] 765212b225bb: Download complete [2023-03-21T05:15:32.704Z] f23df028b6ca: Verifying Checksum [2023-03-21T05:15:32.704Z] f23df028b6ca: Download complete [2023-03-21T05:15:32.704Z] d65c8cfc05b1: Verifying Checksum [2023-03-21T05:15:32.704Z] d65c8cfc05b1: Download complete [2023-03-21T05:15:32.974Z] 699f458cf7ca: Verifying Checksum [2023-03-21T05:15:32.974Z] 699f458cf7ca: Download complete [2023-03-21T05:15:33.243Z] 8998bd30e6a1: Verifying Checksum [2023-03-21T05:15:33.243Z] 8998bd30e6a1: Download complete [2023-03-21T05:15:35.823Z] 2437ff75d9bd: Verifying Checksum [2023-03-21T05:15:35.823Z] 2437ff75d9bd: Download complete [2023-03-21T05:15:37.236Z] 8998bd30e6a1: Pull complete [2023-03-21T05:15:37.819Z] 04944245beec: Pull complete [2023-03-21T05:15:39.232Z] 699f458cf7ca: Pull complete [2023-03-21T05:15:39.500Z] 765212b225bb: Pull complete [2023-03-21T05:15:40.106Z] f23df028b6ca: Pull complete [2023-03-21T05:15:40.378Z] d65c8cfc05b1: Pull complete [2023-03-21T05:15:55.374Z] 2437ff75d9bd: Pull complete [2023-03-21T05:15:55.374Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-21T05:15:55.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-21T05:15:55.374Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:15:55.722Z] prd-ubuntu20.04-docker-arm64-4c-16g-4730 does not seem to be running inside a container [2023-03-21T05:15:55.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-21T05:15:58.610Z] $ docker top 063e4546c9396862da3ab77560ed6238f2a1f4d20315a2e80992651a92376901 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:15:59.592Z] ---> job-cost.sh [2023-03-21T05:15:59.592Z] lf-activate-venv: SKIPPING [2023-03-21T05:15:59.592Z] INFO: No Stack... [2023-03-21T05:15:59.859Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-21T05:16:00.817Z] INFO: Archiving Costs [Pipeline] sh [2023-03-21T05:16:01.482Z] + cut -d, -f6 [2023-03-21T05:16:01.483Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-03-21T05:16:01.572Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1395-1-stack-cost] [2023-03-21T05:16:01.577Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-1-stack-cost] did not exist. Created. [2023-03-21T05:16:01.577Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1395-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-21T05:16:02.327Z] /w/workspace/device-sdk-go/1@tmp/durable-daf29294/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-21T05:16:03.011Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-21T05:16:03.046Z] Warning: overwriting stash ‘stack-cost’ [2023-03-21T05:16:03.122Z] Stashed 1 file(s) [Pipeline] } [2023-03-21T05:16:03.141Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1395-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-21T05:16:03.212Z] $ docker stop --time=1 063e4546c9396862da3ab77560ed6238f2a1f4d20315a2e80992651a92376901 [2023-03-21T05:16:04.832Z] $ docker rm -f --volumes 063e4546c9396862da3ab77560ed6238f2a1f4d20315a2e80992651a92376901 [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-03-21T05:16:05.857Z] provisioning config files... [2023-03-21T05:16:05.866Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config11321780058937869821tmp [Pipeline] { [Pipeline] sh [2023-03-21T05:16:06.196Z] + set +x [2023-03-21T05:16:06.196Z] + bash -s -- [2023-03-21T05:16:06.196Z] + curl -s https://codecov.io/bash [2023-03-21T05:16:06.196Z] [2023-03-21T05:16:06.196Z] _____ _ [2023-03-21T05:16:06.196Z] / ____| | | [2023-03-21T05:16:06.196Z] | | ___ __| | ___ ___ _____ __ [2023-03-21T05:16:06.196Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-21T05:16:06.196Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-21T05:16:06.196Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-21T05:16:06.196Z] Bash-1.0.6 [2023-03-21T05:16:06.196Z] [2023-03-21T05:16:06.196Z] [2023-03-21T05:16:06.196Z] ==> git version 2.25.1 found [2023-03-21T05:16:06.196Z] ==> 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-03-21T05:16:06.196Z] Release-Date: 2020-01-08 [2023-03-21T05:16:06.196Z] 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-03-21T05:16:06.196Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-21T05:16:06.196Z] ==> Jenkins CI detected. [2023-03-21T05:16:06.196Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1395 [2023-03-21T05:16:06.196Z] project root: . [2023-03-21T05:16:06.196Z] --> token set from env [2023-03-21T05:16:06.196Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-21T05:16:06.196Z] ==> Running gcov in . (disable via -X gcov) [2023-03-21T05:16:06.196Z] ==> Python coveragepy not found [2023-03-21T05:16:06.196Z] ==> Searching for coverage reports in: [2023-03-21T05:16:06.196Z] + . [2023-03-21T05:16:06.196Z] -> Found 1 reports [2023-03-21T05:16:06.196Z] ==> Detecting git/mercurial file structure [2023-03-21T05:16:06.196Z] ==> Reading reports [2023-03-21T05:16:06.196Z] + ./coverage.out bytes=109538 [2023-03-21T05:16:06.196Z] ==> Appending adjustments [2023-03-21T05:16:06.196Z] https://docs.codecov.io/docs/fixing-reports [2023-03-21T05:16:06.454Z] + Found adjustments [2023-03-21T05:16:06.454Z] ==> Gzipping contents [2023-03-21T05:16:06.454Z] 16K /tmp/codecov.YVs3hH.gz [2023-03-21T05:16:06.454Z] ==> Uploading reports [2023-03-21T05:16:06.454Z] url: https://codecov.io [2023-03-21T05:16:06.454Z] query: branch=PR-1395&commit=df8b6dad8ec8a69b56807ef891e6169cf12af2ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1395%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1395&job=&cmd_args= [2023-03-21T05:16:06.454Z] -> Pinging Codecov [2023-03-21T05:16:06.454Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1395&commit=df8b6dad8ec8a69b56807ef891e6169cf12af2ef&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1395%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1395&job=&cmd_args= [2023-03-21T05:16:06.714Z] -> Uploading to [2023-03-21T05:16:06.714Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-21/7E55EF52A471D76F132DFD9A03CDDE97/df8b6dad8ec8a69b56807ef891e6169cf12af2ef/fe4449be-9b52-4dca-bd4e-b32baafa950a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230321%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230321T051606Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8cc78b1d077602d13dc785eb2cd9659fda91218393f64aa13bfaf5772e960020 [2023-03-21T05:16:06.714Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-21T05:16:06.714Z] Dload Upload Total Spent Left Speed [2023-03-21T05:16:06.973Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15237 0 0 100 15237 0 57067 --:--:-- --:--:-- --:--:-- 57067 [2023-03-21T05:16:06.973Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/df8b6dad8ec8a69b56807ef891e6169cf12af2ef [Pipeline] } [2023-03-21T05:16:07.008Z] 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-03-21T05:16:08.729Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives ] [2023-03-21T05:16:08.729Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives [2023-03-21T05:16:08.729Z] total 16 [2023-03-21T05:16:08.729Z] drwxr-xr-x 3 root root 4096 Mar 21 05:03 . [2023-03-21T05:16:08.729Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 05:04 .. [2023-03-21T05:16:08.729Z] drwxr-xr-x 2 root root 4096 Mar 21 05:03 cost [2023-03-21T05:16:08.729Z] -rw-r--r-- 1 root root 86 Mar 21 05:03 cost.csv [2023-03-21T05:16:08.729Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives [2023-03-21T05:16:08.729Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives [2023-03-21T05:16:08.729Z] total 16 [2023-03-21T05:16:08.730Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 21 05:03 . [2023-03-21T05:16:08.730Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 21 05:04 .. [2023-03-21T05:16:08.730Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 21 05:03 cost [2023-03-21T05:16:08.730Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 21 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:09.053Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:09.940Z] ---> package-listing.sh [2023-03-21T05:16:09.940Z] ++ facter osfamily [2023-03-21T05:16:09.940Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-21T05:16:10.201Z] + OS_FAMILY=debian [2023-03-21T05:16:10.201Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1395 [2023-03-21T05:16:10.202Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-21T05:16:10.202Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-21T05:16:10.202Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-21T05:16:10.202Z] + PACKAGES=/tmp/packages_start.txt [2023-03-21T05:16:10.202Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1395 ']' [2023-03-21T05:16:10.202Z] + PACKAGES=/tmp/packages_end.txt [2023-03-21T05:16:10.202Z] + case "${OS_FAMILY}" in [2023-03-21T05:16:10.202Z] + dpkg -l [2023-03-21T05:16:10.202Z] + grep '^ii' [2023-03-21T05:16:10.202Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-21T05:16:10.202Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-21T05:16:10.202Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-21T05:16:10.202Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1395 ']' [2023-03-21T05:16:10.202Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/ [2023-03-21T05:16:10.202Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1395/archives/ [Pipeline] echo [2023-03-21T05:16:10.242Z] 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-1395/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-21T05:16:10.534Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-21T05:16:11.161Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-21T05:16:11.161Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-21T05:16:11.312Z] prd-ubuntu20.04-docker-8c-8g-4725 does not seem to be running inside a container [2023-03-21T05:16:11.339Z] $ 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-1395/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-1395 -v /w/workspace/gexfoundry_device-sdk-go_PR-1395:/w/workspace/gexfoundry_device-sdk-go_PR-1395:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1395@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-03-21T05:16:11.546Z] $ docker top 501278d7f1e734d213f927be933fdcc3982cc6d228b7678e102fd3af57d36d43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-21T05:16:11.932Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-21T05:16:12.239Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-21T05:16:12.549Z] + ls /var/log/sa-host [2023-03-21T05:16:12.549Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-21T05:16:12.677Z] provisioning config files... [2023-03-21T05:16:12.686Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1395@tmp/config16897488620627587452tmp [Pipeline] { [Pipeline] echo [2023-03-21T05:16:12.734Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:13.044Z] ---> create-netrc.sh [Pipeline] } [2023-03-21T05:16:13.073Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:13.467Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-21T05:16:13.498Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:13.810Z] ---> sudo-logs.sh [2023-03-21T05:16:13.810Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-21T05:16:13.894Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:14.203Z] ---> job-cost.sh [2023-03-21T05:16:14.203Z] lf-activate-venv: SKIPPING [2023-03-21T05:16:14.203Z] DEBUG: total: 0.2199999988079071 [2023-03-21T05:16:14.203Z] INFO: Retrieving Stack Cost... [2023-03-21T05:16:14.463Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-21T05:16:15.032Z] INFO: Archiving Costs [Pipeline] echo [2023-03-21T05:16:15.065Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-21T05:16:15.375Z] ---> logs-deploy.sh [2023-03-21T05:16:15.375Z] lf-activate-venv: SKIPPING [2023-03-21T05:16:15.375Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1395/1 [2023-03-21T05:16:15.375Z] INFO: archiving workspace using pattern(s): [2023-03-21T05:16:16.311Z] Archives upload complete. [2023-03-21T05:16:16.311Z] INFO: archiving logs to Nexus