Pull request #1530 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8363343ca85708959c11e48c0e29b61f476d8bc3+ea75771316a3345bae478dacd5fb79870eb29e09 (13b2f732d9c522bb8d7fc68ed89d3857d7204f38) 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-ssh2292249750229544417.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2766031239024121643.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1530/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-1530/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2996590783499972883.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-1530/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh18328620840744315612.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16542197629427718320.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-1530/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-1530/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1553995847762477953.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-11848 in /w/workspace/gexfoundry_device-sdk-go_PR-1530 [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-1530 # 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 Merging remotes/origin/main commit ea75771316a3345bae478dacd5fb79870eb29e09 into PR head commit 8363343ca85708959c11e48c0e29b61f476d8bc3 Merge succeeded, producing 8363343ca85708959c11e48c0e29b61f476d8bc3 Checking out Revision 8363343ca85708959c11e48c0e29b61f476d8bc3 (PR-1530) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 > git config 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/1530/head:refs/remotes/origin/PR-1530 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8363343ca85708959c11e48c0e29b61f476d8bc3 # 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 ea75771316a3345bae478dacd5fb79870eb29e09 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8363343ca85708959c11e48c0e29b61f476d8bc3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-26T04:52:35.290Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-26T04:52:35.481Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-26T04:52:35.588Z] ========================================================= [2023-10-26T04:52:35.588Z] EdgeX Global Pipelines Version Info [2023-10-26T04:52:35.588Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-26T04:52:36.340Z] ------------------- [2023-10-26T04:52:36.340Z] stable info: [2023-10-26T04:52:36.340Z] ------------------- [2023-10-26T04:52:36.340Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-26T04:52:36.341Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-26T04:52:36.341Z] Message: update stable to v1.0.254 [2023-10-26T04:52:36.910Z] ------------------- [2023-10-26T04:52:36.910Z] experimental info: [2023-10-26T04:52:36.910Z] ------------------- [2023-10-26T04:52:36.910Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-26T04:52:36.910Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-26T04:52:36.910Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-26T04:52:37.182Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-10-26T04:52:37.220Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-10-26T04:52:37.261Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-26T04:52:37.302Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-26T04:52:37.347Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-26T04:52:37.387Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-26T04:52:37.426Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-26T04:52:37.464Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-10-26T04:52:37.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-26T04:52:37.540Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-26T04:52:37.580Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-26T04:52:37.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-10-26T04:52:37.658Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-26T04:52:37.695Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-26T04:52:37.751Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-26T04:52:37.796Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-10-26T04:52:37.835Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-26T04:52:37.880Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-26T04:52:37.921Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-26T04:52:37.963Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-26T04:52:38.000Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-10-26T04:52:38.038Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-10-26T04:52:38.073Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-26T04:52:38.111Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-26T04:52:38.148Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-26T04:52:38.195Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-26T04:52:38.239Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-26T04:52:38.277Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1530 [Pipeline] echo [2023-10-26T04:52:38.317Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1530 [Pipeline] echo [2023-10-26T04:52:38.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1530 [Pipeline] echo [2023-10-26T04:52:38.396Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8363343ca85708959c11e48c0e29b61f476d8bc3 [Pipeline] echo [2023-10-26T04:52:38.438Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8363343 [Pipeline] echo [2023-10-26T04:52:38.484Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-26T04:52:38.599Z] provisioning config files... [2023-10-26T04:52:38.636Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp/config3687532500417705401tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T04:52:38.972Z] ---> docker-login.sh [2023-10-26T04:52:38.972Z] nexus3.edgexfoundry.org:10001 [2023-10-26T04:52:39.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:52:39.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:52:39.231Z] Configure a credential helper to remove this warning. See [2023-10-26T04:52:39.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:52:39.231Z] [2023-10-26T04:52:39.231Z] Login Succeeded [2023-10-26T04:52:39.231Z] nexus3.edgexfoundry.org:10002 [2023-10-26T04:52:39.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:52:39.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:52:39.491Z] Configure a credential helper to remove this warning. See [2023-10-26T04:52:39.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:52:39.491Z] [2023-10-26T04:52:39.491Z] Login Succeeded [2023-10-26T04:52:39.491Z] nexus3.edgexfoundry.org:10003 [2023-10-26T04:52:39.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:52:39.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:52:39.491Z] Configure a credential helper to remove this warning. See [2023-10-26T04:52:39.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:52:39.491Z] [2023-10-26T04:52:39.491Z] Login Succeeded [2023-10-26T04:52:39.491Z] nexus3.edgexfoundry.org:10004 [2023-10-26T04:52:39.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:52:39.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:52:39.752Z] Configure a credential helper to remove this warning. See [2023-10-26T04:52:39.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:52:39.752Z] [2023-10-26T04:52:39.752Z] Login Succeeded [2023-10-26T04:52:39.752Z] docker.io [2023-10-26T04:52:39.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:52:40.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:52:40.011Z] Configure a credential helper to remove this warning. See [2023-10-26T04:52:40.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:52:40.011Z] [2023-10-26T04:52:40.011Z] Login Succeeded [2023-10-26T04:52:40.011Z] ---> docker-login.sh ends [Pipeline] } [2023-10-26T04:52:40.036Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-26T04:52:40.701Z] + git rev-list -1 --merges 8363343ca85708959c11e48c0e29b61f476d8bc3~1..8363343ca85708959c11e48c0e29b61f476d8bc3 [Pipeline] echo [2023-10-26T04:52:40.771Z] -----------> git rev-list -1 --merges 8363343ca85708959c11e48c0e29b61f476d8bc3~1..8363343ca85708959c11e48c0e29b61f476d8bc3 8363343ca85708959c11e48c0e29b61f476d8bc3 [false] [Pipeline] sh [2023-10-26T04:52:41.086Z] + git log --format=format:%s -1 8363343ca85708959c11e48c0e29b61f476d8bc3 [Pipeline] echo [2023-10-26T04:52:41.123Z] ========================================================= [2023-10-26T04:52:41.123Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-26T04:52:41.123Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-26T04:52:41.573Z] + git log --format=format:%s -1 8363343ca85708959c11e48c0e29b61f476d8bc3 [Pipeline] echo [2023-10-26T04:52:41.604Z] [semverPrep] GIT_COMMIT: 8363343ca85708959c11e48c0e29b61f476d8bc3, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-10-26T04:52:41.632Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-26T04:52:42.030Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-26T04:52:42.030Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-26T04:52:42.030Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-26T04:52:42.030Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-26T04:52:42.030Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-26T04:52:42.030Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-26T04:52:42.030Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T04:52:42.517Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T04:52:42.517Z] [2023-10-26T04:52:42.517Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T04:52:42.892Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T04:52:42.892Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-26T04:52:42.892Z] b85a868b505f: Pulling fs layer [2023-10-26T04:52:42.892Z] e2be974225ed: Pulling fs layer [2023-10-26T04:52:42.892Z] 339a4e72a1f5: Pulling fs layer [2023-10-26T04:52:42.892Z] 988bab9f4d93: Pulling fs layer [2023-10-26T04:52:42.892Z] 1469e6f7b9e6: Pulling fs layer [2023-10-26T04:52:42.892Z] eaf3925da568: Pulling fs layer [2023-10-26T04:52:42.892Z] bab4dde63d76: Pulling fs layer [2023-10-26T04:52:42.892Z] bde34c3a00c8: Pulling fs layer [2023-10-26T04:52:42.892Z] b352a97aabf1: Pulling fs layer [2023-10-26T04:52:42.892Z] 4872d77fe225: Pulling fs layer [2023-10-26T04:52:42.892Z] 5851b861e8e6: Pulling fs layer [2023-10-26T04:52:42.892Z] 988bab9f4d93: Waiting [2023-10-26T04:52:42.892Z] 1469e6f7b9e6: Waiting [2023-10-26T04:52:42.892Z] eaf3925da568: Waiting [2023-10-26T04:52:42.892Z] bab4dde63d76: Waiting [2023-10-26T04:52:42.892Z] bde34c3a00c8: Waiting [2023-10-26T04:52:42.892Z] b352a97aabf1: Waiting [2023-10-26T04:52:42.892Z] 5851b861e8e6: Waiting [2023-10-26T04:52:42.892Z] e2be974225ed: Verifying Checksum [2023-10-26T04:52:42.892Z] e2be974225ed: Download complete [2023-10-26T04:52:42.892Z] 988bab9f4d93: Download complete [2023-10-26T04:52:43.153Z] 1469e6f7b9e6: Verifying Checksum [2023-10-26T04:52:43.153Z] 1469e6f7b9e6: Download complete [2023-10-26T04:52:43.153Z] eaf3925da568: Verifying Checksum [2023-10-26T04:52:43.153Z] eaf3925da568: Download complete [2023-10-26T04:52:43.153Z] 339a4e72a1f5: Verifying Checksum [2023-10-26T04:52:43.153Z] 339a4e72a1f5: Download complete [2023-10-26T04:52:43.153Z] bde34c3a00c8: Download complete [2023-10-26T04:52:43.153Z] b352a97aabf1: Download complete [2023-10-26T04:52:43.153Z] 4872d77fe225: Download complete [2023-10-26T04:52:43.153Z] 5851b861e8e6: Verifying Checksum [2023-10-26T04:52:43.153Z] 5851b861e8e6: Download complete [2023-10-26T04:52:43.153Z] b85a868b505f: Download complete [2023-10-26T04:52:43.412Z] bab4dde63d76: Verifying Checksum [2023-10-26T04:52:43.412Z] bab4dde63d76: Download complete [2023-10-26T04:52:44.355Z] b85a868b505f: Pull complete [2023-10-26T04:52:44.613Z] e2be974225ed: Pull complete [2023-10-26T04:52:45.202Z] 339a4e72a1f5: Pull complete [2023-10-26T04:52:45.202Z] 988bab9f4d93: Pull complete [2023-10-26T04:52:45.464Z] 1469e6f7b9e6: Pull complete [2023-10-26T04:52:45.464Z] eaf3925da568: Pull complete [2023-10-26T04:52:47.374Z] bab4dde63d76: Pull complete [2023-10-26T04:52:47.635Z] bde34c3a00c8: Pull complete [2023-10-26T04:52:47.635Z] b352a97aabf1: Pull complete [2023-10-26T04:52:47.895Z] 4872d77fe225: Pull complete [2023-10-26T04:52:47.895Z] 5851b861e8e6: Pull complete [2023-10-26T04:52:47.895Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-26T04:52:47.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-26T04:52:47.896Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T04:52:48.120Z] prd-ubuntu20.04-docker-8c-8g-11848 does not seem to be running inside a container [2023-10-26T04:52:48.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1530 -v /w/workspace/gexfoundry_device-sdk-go_PR-1530:/w/workspace/gexfoundry_device-sdk-go_PR-1530:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-26T04:52:50.855Z] $ docker top 7b5699ab47c1d9a141d72ef44588a487997db1f07f31d8bd67614dc2b2c1a2ac -eo pid,comm [2023-10-26T04:52:50.912Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-26T04:52:50.912Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-26T04:52:51.043Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T04:52:51.043Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T04:52:51.168Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T04:52:51.173Z] $ docker exec 7b5699ab47c1d9a141d72ef44588a487997db1f07f31d8bd67614dc2b2c1a2ac ssh-agent [2023-10-26T04:52:51.285Z] SSH_AUTH_SOCK=/tmp/ssh-wDbjmxuQ9pbj/agent.32 [2023-10-26T04:52:51.285Z] SSH_AGENT_PID=38 [2023-10-26T04:52:51.294Z] Running ssh-add (command line suppressed) [2023-10-26T04:52:51.397Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp/private_key_6710695233698706457.key (/w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp/private_key_6710695233698706457.key) [2023-10-26T04:52:51.411Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T04:52:51.745Z] + git tag --points-at HEAD [Pipeline] } [2023-10-26T04:52:51.772Z] $ docker exec --env ******** --env ******** 7b5699ab47c1d9a141d72ef44588a487997db1f07f31d8bd67614dc2b2c1a2ac ssh-agent -k [2023-10-26T04:52:51.871Z] unset SSH_AUTH_SOCK; [2023-10-26T04:52:51.871Z] unset SSH_AGENT_PID; [2023-10-26T04:52:51.871Z] echo Agent pid 38 killed; [2023-10-26T04:52:51.878Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-26T04:52:51.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-26T04:52:51.973Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-26T04:52:52.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-26T04:52:52.098Z] $ docker exec 7b5699ab47c1d9a141d72ef44588a487997db1f07f31d8bd67614dc2b2c1a2ac ssh-agent [2023-10-26T04:52:52.208Z] SSH_AUTH_SOCK=/tmp/ssh-2pKpwj9KZrf5/agent.70 [2023-10-26T04:52:52.208Z] SSH_AGENT_PID=76 [2023-10-26T04:52:52.213Z] Running ssh-add (command line suppressed) [2023-10-26T04:52:52.317Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp/private_key_2875069444696947293.key (/w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp/private_key_2875069444696947293.key) [2023-10-26T04:52:52.332Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-26T04:52:52.667Z] + git semver init [2023-10-26T04:52:52.927Z] 2023-10-26 04:52:52,846 [run_init] DEBUG init version:0.0.0 force:False [2023-10-26T04:52:52.927Z] 2023-10-26 04:52:52,847 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1530/.semver [2023-10-26T04:52:52.927Z] 2023-10-26 04:52:52,848 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1530/.semver [2023-10-26T04:52:52.927Z] 2023-10-26 04:52:52,848 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1530/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1530, universal_newlines=False, shell=None, istream=None) [2023-10-26T04:52:53.868Z] 2023-10-26 04:52:53,849 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1530/.git/info/exclude [2023-10-26T04:52:53.869Z] 2023-10-26 04:52:53,850 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1530/.semver/PR-1530 with force:False [2023-10-26T04:52:53.869Z] 2023-10-26 04:52:53,850 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1530/.semver/PR-1530 [2023-10-26T04:52:53.869Z] 2023-10-26 04:52:53,854 [execute] INFO git cat-file --batch-check [2023-10-26T04:52:53.869Z] 2023-10-26 04:52:53,854 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1530/.semver, universal_newlines=False, shell=None, istream=) [2023-10-26T04:52:53.869Z] 2023-10-26 04:52:53,860 [execute] INFO git cat-file --batch [2023-10-26T04:52:53.869Z] 2023-10-26 04:52:53,860 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1530/.semver, universal_newlines=False, shell=None, istream=) [2023-10-26T04:52:53.869Z] 2023-10-26 04:52:53,866 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1530/.semver/PR-1530 [2023-10-26T04:52:53.869Z] 0.0.0 [Pipeline] } [2023-10-26T04:52:54.147Z] $ docker exec --env ******** --env ******** 7b5699ab47c1d9a141d72ef44588a487997db1f07f31d8bd67614dc2b2c1a2ac ssh-agent -k [2023-10-26T04:52:54.259Z] unset SSH_AUTH_SOCK; [2023-10-26T04:52:54.259Z] unset SSH_AGENT_PID; [2023-10-26T04:52:54.259Z] echo Agent pid 76 killed; [2023-10-26T04:52:54.267Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-26T04:52:54.699Z] + git semver [Pipeline] } [2023-10-26T04:52:54.986Z] $ docker stop --time=1 7b5699ab47c1d9a141d72ef44588a487997db1f07f31d8bd67614dc2b2c1a2ac [2023-10-26T04:52:56.300Z] $ docker rm -f --volumes 7b5699ab47c1d9a141d72ef44588a487997db1f07f31d8bd67614dc2b2c1a2ac [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-26T04:52:56.706Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-26T04:52:56.967Z] Stashed 1 file(s) [Pipeline] echo [2023-10-26T04:52:56.982Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-26T04:52:57.595Z] provisioning config files... [2023-10-26T04:52:57.605Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp/config2218773099720218789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T04:52:57.958Z] ---> docker-login.sh [2023-10-26T04:52:57.958Z] nexus3.edgexfoundry.org:10001 [2023-10-26T04:52:57.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:52:57.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:52:57.958Z] Configure a credential helper to remove this warning. See [2023-10-26T04:52:57.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:52:57.958Z] [2023-10-26T04:52:57.958Z] Login Succeeded [2023-10-26T04:52:57.958Z] nexus3.edgexfoundry.org:10002 [2023-10-26T04:52:57.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:52:57.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:52:57.958Z] Configure a credential helper to remove this warning. See [2023-10-26T04:52:57.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:52:57.958Z] [2023-10-26T04:52:57.958Z] Login Succeeded [2023-10-26T04:52:57.958Z] nexus3.edgexfoundry.org:10003 [2023-10-26T04:52:58.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:52:58.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:52:58.218Z] Configure a credential helper to remove this warning. See [2023-10-26T04:52:58.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:52:58.219Z] [2023-10-26T04:52:58.219Z] Login Succeeded [2023-10-26T04:52:58.219Z] nexus3.edgexfoundry.org:10004 [2023-10-26T04:52:58.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:52:58.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:52:58.219Z] Configure a credential helper to remove this warning. See [2023-10-26T04:52:58.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:52:58.219Z] [2023-10-26T04:52:58.219Z] Login Succeeded [2023-10-26T04:52:58.219Z] docker.io [2023-10-26T04:52:58.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:52:58.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:52:58.480Z] Configure a credential helper to remove this warning. See [2023-10-26T04:52:58.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:52:58.480Z] [2023-10-26T04:52:58.480Z] Login Succeeded [2023-10-26T04:52:58.480Z] ---> docker-login.sh ends [Pipeline] } [2023-10-26T04:52:58.512Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-26T04:52:58.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T04:52:58.760Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T04:52:58.794Z] ========================================================= [2023-10-26T04:52:58.794Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-26T04:52:58.794Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T04:52:59.271Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-26T04:52:59.271Z] Sending build context to Docker daemon 11.25MB [2023-10-26T04:52:59.271Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T04:52:59.271Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-26T04:52:59.271Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-26T04:52:59.271Z] 7264a8db6415: Pulling fs layer [2023-10-26T04:52:59.271Z] c4d48a809fc2: Pulling fs layer [2023-10-26T04:52:59.271Z] 4f1c88b9dad5: Pulling fs layer [2023-10-26T04:52:59.271Z] ad3a456e5733: Pulling fs layer [2023-10-26T04:52:59.271Z] 33e27b845d1e: Pulling fs layer [2023-10-26T04:52:59.271Z] c68163c4e522: Pulling fs layer [2023-10-26T04:52:59.271Z] 50da416c3ac9: Pulling fs layer [2023-10-26T04:52:59.271Z] 23d2d4c4bb30: Pulling fs layer [2023-10-26T04:52:59.271Z] ad3a456e5733: Waiting [2023-10-26T04:52:59.271Z] 33e27b845d1e: Waiting [2023-10-26T04:52:59.271Z] c68163c4e522: Waiting [2023-10-26T04:52:59.271Z] 50da416c3ac9: Waiting [2023-10-26T04:52:59.271Z] 23d2d4c4bb30: Waiting [2023-10-26T04:52:59.538Z] c4d48a809fc2: Download complete [2023-10-26T04:52:59.538Z] ad3a456e5733: Verifying Checksum [2023-10-26T04:52:59.538Z] ad3a456e5733: Download complete [2023-10-26T04:52:59.538Z] 33e27b845d1e: Download complete [2023-10-26T04:52:59.538Z] 7264a8db6415: Verifying Checksum [2023-10-26T04:52:59.538Z] 7264a8db6415: Download complete [2023-10-26T04:52:59.538Z] c68163c4e522: Verifying Checksum [2023-10-26T04:52:59.538Z] c68163c4e522: Download complete [2023-10-26T04:52:59.812Z] 7264a8db6415: Pull complete [2023-10-26T04:52:59.812Z] 23d2d4c4bb30: Verifying Checksum [2023-10-26T04:52:59.812Z] 23d2d4c4bb30: Download complete [2023-10-26T04:52:59.812Z] c4d48a809fc2: Pull complete [2023-10-26T04:53:00.071Z] 4f1c88b9dad5: Verifying Checksum [2023-10-26T04:53:00.071Z] 4f1c88b9dad5: Download complete [2023-10-26T04:53:00.329Z] 50da416c3ac9: Verifying Checksum [2023-10-26T04:53:00.329Z] 50da416c3ac9: Download complete [2023-10-26T04:53:03.737Z] 4f1c88b9dad5: Pull complete [2023-10-26T04:53:03.737Z] ad3a456e5733: Pull complete [2023-10-26T04:53:03.737Z] 33e27b845d1e: Pull complete [2023-10-26T04:53:03.737Z] c68163c4e522: Pull complete [2023-10-26T04:53:06.267Z] 50da416c3ac9: Pull complete [2023-10-26T04:53:06.526Z] 23d2d4c4bb30: Pull complete [2023-10-26T04:53:06.526Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-26T04:53:06.526Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-26T04:53:06.526Z] ---> 0786185ac409 [2023-10-26T04:53:06.526Z] Step 3/10 : ARG MAKE=make build [2023-10-26T04:53:10.720Z] ---> Running in c3577ee72476 [2023-10-26T04:53:10.720Z] Removing intermediate container c3577ee72476 [2023-10-26T04:53:10.720Z] ---> 8b456681097c [2023-10-26T04:53:10.720Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-26T04:53:10.720Z] ---> Running in 3d100b5d090c [2023-10-26T04:53:10.720Z] Removing intermediate container 3d100b5d090c [2023-10-26T04:53:10.720Z] ---> 4d980afc6afa [2023-10-26T04:53:10.720Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-26T04:53:10.720Z] ---> Running in a0dda1aef0f2 [2023-10-26T04:53:10.720Z] Removing intermediate container a0dda1aef0f2 [2023-10-26T04:53:10.720Z] ---> 965cca682742 [2023-10-26T04:53:10.720Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-26T04:53:10.720Z] ---> Running in e9250ee2da09 [2023-10-26T04:53:10.720Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-26T04:53:10.978Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-26T04:53:11.236Z] OK: 264 MiB in 52 packages [2023-10-26T04:53:11.804Z] Removing intermediate container e9250ee2da09 [2023-10-26T04:53:11.804Z] ---> 32be501daad7 [2023-10-26T04:53:11.804Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-26T04:53:11.804Z] ---> d970faa7632b [2023-10-26T04:53:11.804Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T04:53:11.804Z] ---> Running in 963d509f6210 [2023-10-26T04:53:12.418Z] Still waiting to schedule task [2023-10-26T04:53:12.419Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-26T04:54:19.531Z] Removing intermediate container 963d509f6210 [2023-10-26T04:54:19.531Z] ---> 43f097fbf5e0 [2023-10-26T04:54:19.531Z] Step 9/10 : COPY . . [2023-10-26T04:54:19.531Z] ---> 1b9a62b0f616 [2023-10-26T04:54:19.531Z] Step 10/10 : RUN ${MAKE} [2023-10-26T04:54:19.531Z] ---> Running in 0f08823dab6b [2023-10-26T04:54:19.531Z] noop [2023-10-26T04:54:19.531Z] Removing intermediate container 0f08823dab6b [2023-10-26T04:54:19.531Z] ---> f48a7a781f23 [2023-10-26T04:54:19.531Z] Successfully built f48a7a781f23 [2023-10-26T04:54:19.531Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T04:54:19.971Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-26T04:54:19.971Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T04:54:20.119Z] prd-ubuntu20.04-docker-8c-8g-11848 does not seem to be running inside a container [2023-10-26T04:54:20.159Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1530 -v /w/workspace/gexfoundry_device-sdk-go_PR-1530:/w/workspace/gexfoundry_device-sdk-go_PR-1530:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-26T04:54:20.513Z] $ docker top 7eadbff5e7b00ea2ba9ecd02751aa723307eeaaafdab1b7a1b994529f8c6c232 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T04:54:20.899Z] + go version [2023-10-26T04:54:20.899Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-26T04:54:20.938Z] $ docker stop --time=1 7eadbff5e7b00ea2ba9ecd02751aa723307eeaaafdab1b7a1b994529f8c6c232 [2023-10-26T04:54:22.196Z] $ docker rm -f --volumes 7eadbff5e7b00ea2ba9ecd02751aa723307eeaaafdab1b7a1b994529f8c6c232 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T04:54:22.935Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-26T04:54:22.935Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T04:54:23.088Z] prd-ubuntu20.04-docker-8c-8g-11848 does not seem to be running inside a container [2023-10-26T04:54:23.123Z] $ 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-1530 -v /w/workspace/gexfoundry_device-sdk-go_PR-1530:/w/workspace/gexfoundry_device-sdk-go_PR-1530:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-26T04:54:23.450Z] $ docker top 77b10455fc3793252af40b3cfd2a0cabfc815dd9bcb3765624fa1b1aece2c0c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T04:54:23.831Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1530 [Pipeline] fileExists [Pipeline] sh [2023-10-26T04:54:24.189Z] + make test [2023-10-26T04:54:24.190Z] go test -race -coverprofile=coverage.out ./... [2023-10-26T04:54:30.755Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-26T04:54:45.632Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-26T04:54:45.632Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-26T04:54:45.632Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-26T04:54:45.632Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-26T04:54:45.632Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-26T04:54:45.632Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-26T04:54:45.632Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-26T04:54:46.199Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.059s coverage: 27.6% of statements [2023-10-26T04:54:46.456Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.053s coverage: 81.5% of statements [2023-10-26T04:54:46.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-26T04:54:46.456Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.058s coverage: 86.0% of statements [2023-10-26T04:54:47.834Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 71.8% of statements [2023-10-26T04:54:47.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-26T04:54:47.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-26T04:54:47.834Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-26T04:54:51.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.4% of statements [2023-10-26T04:54:51.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.973s coverage: 45.9% of statements [2023-10-26T04:54:51.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements [2023-10-26T04:54:51.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.093s coverage: 89.2% of statements [2023-10-26T04:54:51.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.040s coverage: 5.5% of statements [2023-10-26T04:55:04.793Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11849 in /w/workspace/gexfoundry_device-sdk-go_PR-1530 [Pipeline] { [Pipeline] ws [2023-10-26T04:55:04.850Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-10-26T04:55:04.934Z] The recommended git tool is: git [2023-10-26T04:55:10.098Z] using credential edgex-jenkins-ssh [2023-10-26T04:55:10.118Z] Cloning the remote Git repository [2023-10-26T04:55:10.163Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-10-26T04:55:10.253Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-10-26T04:55:10.417Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-26T04:55:10.418Z] > git --version # timeout=10 [2023-10-26T04:55:10.437Z] > git --version # 'git version 2.25.1' [2023-10-26T04:55:10.439Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-26T04:55:10.588Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-26T04:55:12.258Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-26T04:55:12.291Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-26T04:55:13.213Z] GO111MODULE=on go vet ./... [2023-10-26T04:55:13.472Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-26T04:55:13.209Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-10-26T04:55:13.258Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-10-26T04:55:13.259Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-26T04:55:13.276Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1530/head:refs/remotes/origin/PR-1530 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-26T04:55:13.731Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-26T04:55:13.731Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-26T04:55:13.770Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-26T04:55:13.806Z] $ docker stop --time=1 77b10455fc3793252af40b3cfd2a0cabfc815dd9bcb3765624fa1b1aece2c0c6 [2023-10-26T04:55:13.862Z] Merging remotes/origin/main commit ea75771316a3345bae478dacd5fb79870eb29e09 into PR head commit 8363343ca85708959c11e48c0e29b61f476d8bc3 [2023-10-26T04:55:14.198Z] Merge succeeded, producing 8363343ca85708959c11e48c0e29b61f476d8bc3 [2023-10-26T04:55:14.199Z] Checking out Revision 8363343ca85708959c11e48c0e29b61f476d8bc3 (PR-1530) [2023-10-26T04:55:14.780Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-10-26T04:55:14.844Z] > git --version # timeout=10 [2023-10-26T04:55:14.864Z] > git --version # 'git version 2.25.1' [2023-10-26T04:55:14.883Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-26T04:55:13.881Z] > git config core.sparsecheckout # timeout=10 [2023-10-26T04:55:13.950Z] > git checkout -f 8363343ca85708959c11e48c0e29b61f476d8bc3 # timeout=10 [2023-10-26T04:55:14.083Z] > git remote # timeout=10 [2023-10-26T04:55:14.107Z] > git config --get remote.origin.url # timeout=10 [2023-10-26T04:55:14.129Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-26T04:55:14.143Z] > git merge ea75771316a3345bae478dacd5fb79870eb29e09 # timeout=10 [2023-10-26T04:55:14.175Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-26T04:55:14.213Z] > git config core.sparsecheckout # timeout=10 [2023-10-26T04:55:14.244Z] > git checkout -f 8363343ca85708959c11e48c0e29b61f476d8bc3 # timeout=10 [2023-10-26T04:55:17.139Z] $ docker rm -f --volumes 77b10455fc3793252af40b3cfd2a0cabfc815dd9bcb3765624fa1b1aece2c0c6 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-10-26T04:55:17.730Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [Pipeline] stash [2023-10-26T04:55:18.398Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2023-10-26T04:55:18.623Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-26T04:55:18.623Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-26T04:55:18.623Z] Dload Upload Total Spent Left Speed [2023-10-26T04:55:18.623Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 106k 0 --:--:-- --:--:-- --:--:-- 107k [Pipeline] sh [Pipeline] sh [2023-10-26T04:55:19.144Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-26T04:55:19.252Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-26T04:55:19.455Z] + ls -al . [2023-10-26T04:55:19.455Z] total 304 [2023-10-26T04:55:19.455Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 04:54 . [2023-10-26T04:55:19.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:52 .. [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 04:52 .dockerignore [2023-10-26T04:55:19.455Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 04:54 .git [2023-10-26T04:55:19.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:52 .github [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 26 04:52 .gitignore [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 04:52 .golangci.yml [2023-10-26T04:55:19.455Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 04:52 .semver [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 26 04:52 CHANGELOG.md [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 04:52 GOVERNANCE.md [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 26 04:52 Jenkinsfile [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 04:52 LICENSE [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 26 04:52 Makefile [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 04:52 OWNERS.md [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 26 04:52 README.md [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 04:52 VERSION [2023-10-26T04:55:19.455Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:52 bin [2023-10-26T04:55:19.455Z] -rw-r--r-- 1 jenkins jenkins 122154 Oct 26 04:54 coverage.out [2023-10-26T04:55:19.455Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:52 example [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 26 04:52 go.mod [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 26 04:52 go.sum [2023-10-26T04:55:19.455Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 04:52 internal [2023-10-26T04:55:19.455Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:52 openapi [2023-10-26T04:55:19.455Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 04:52 pkg [2023-10-26T04:55:19.455Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:52 snap [2023-10-26T04:55:19.455Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 04:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T04:55:19.606Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-26T04:55:19.606Z] + sudo tee /etc/docker/daemon.new [2023-10-26T04:55:19.606Z] { [2023-10-26T04:55:19.606Z] "registry-mirrors": [ [2023-10-26T04:55:19.606Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-26T04:55:19.606Z] ], [2023-10-26T04:55:19.606Z] "bip": "10.250.0.254/24", [2023-10-26T04:55:19.606Z] "hosts": [ [2023-10-26T04:55:19.606Z] "tcp://0.0.0.0:5555", [2023-10-26T04:55:19.606Z] "unix:///var/run/docker.sock" [2023-10-26T04:55:19.606Z] ], [2023-10-26T04:55:19.606Z] "mtu": 1458, [2023-10-26T04:55:19.606Z] "selinux-enabled": true, [2023-10-26T04:55:19.606Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-26T04:55:19.606Z] } [Pipeline] sh [2023-10-26T04:55:19.851Z] + 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=8363343ca85708959c11e48c0e29b61f476d8bc3 --label arch=amd64 --label version=0.0.0 . [2023-10-26T04:55:19.851Z] Sending build context to Docker daemon 11.38MB [2023-10-26T04:55:19.851Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T04:55:19.851Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-26T04:55:19.851Z] ---> f48a7a781f23 [2023-10-26T04:55:19.851Z] Step 3/23 : ARG MAKE=make build [2023-10-26T04:55:19.989Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-26T04:55:20.111Z] ---> Running in c5b3b7149df8 [2023-10-26T04:55:20.352Z] + sudo service docker restart [2023-10-26T04:55:20.369Z] Removing intermediate container c5b3b7149df8 [2023-10-26T04:55:20.369Z] ---> c29723ed04e0 [2023-10-26T04:55:20.369Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-26T04:55:20.369Z] ---> Running in fc61b2ca6b86 [2023-10-26T04:55:20.369Z] Removing intermediate container fc61b2ca6b86 [2023-10-26T04:55:20.369Z] ---> ab71f6cadd1b [2023-10-26T04:55:20.369Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-26T04:55:20.369Z] ---> Running in aacc57be6cd4 [2023-10-26T04:55:20.628Z] Removing intermediate container aacc57be6cd4 [2023-10-26T04:55:20.628Z] ---> 3bc1e70f5d53 [2023-10-26T04:55:20.628Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-26T04:55:20.628Z] ---> Running in 104cc5f9bb39 [2023-10-26T04:55:20.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-26T04:55:20.887Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-26T04:55:21.147Z] OK: 264 MiB in 52 packages [2023-10-26T04:55:21.418Z] Removing intermediate container 104cc5f9bb39 [2023-10-26T04:55:21.418Z] ---> ecb0a7cbf9b0 [2023-10-26T04:55:21.418Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-26T04:55:21.676Z] ---> fa257f9a57ae [2023-10-26T04:55:21.676Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T04:55:21.676Z] ---> Running in 1664e31395d2 [2023-10-26T04:55:22.245Z] Removing intermediate container 1664e31395d2 [2023-10-26T04:55:22.245Z] ---> 50765d0988e2 [2023-10-26T04:55:22.245Z] Step 9/23 : COPY . . [2023-10-26T04:55:22.844Z] ---> c28870a8df40 [2023-10-26T04:55:22.844Z] Step 10/23 : RUN ${MAKE} [2023-10-26T04:55:22.844Z] ---> Running in 23e0e0c97a30 [2023-10-26T04:55:23.102Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-26T04:55:38.694Z] provisioning config files... [2023-10-26T04:55:38.731Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16751759638258823523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T04:55:39.118Z] ---> docker-login.sh [2023-10-26T04:55:39.118Z] nexus3.edgexfoundry.org:10001 [2023-10-26T04:55:39.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:55:39.711Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:55:39.711Z] Configure a credential helper to remove this warning. See [2023-10-26T04:55:39.711Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:55:39.711Z] [2023-10-26T04:55:39.711Z] Login Succeeded [2023-10-26T04:55:39.711Z] nexus3.edgexfoundry.org:10002 [2023-10-26T04:55:39.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:55:40.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:55:40.253Z] Configure a credential helper to remove this warning. See [2023-10-26T04:55:40.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:55:40.253Z] [2023-10-26T04:55:40.253Z] Login Succeeded [2023-10-26T04:55:40.253Z] nexus3.edgexfoundry.org:10003 [2023-10-26T04:55:40.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:55:40.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:55:40.529Z] Configure a credential helper to remove this warning. See [2023-10-26T04:55:40.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:55:40.529Z] [2023-10-26T04:55:40.529Z] Login Succeeded [2023-10-26T04:55:40.529Z] nexus3.edgexfoundry.org:10004 [2023-10-26T04:55:40.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:55:40.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:55:40.809Z] Configure a credential helper to remove this warning. See [2023-10-26T04:55:40.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:55:40.809Z] [2023-10-26T04:55:40.809Z] Login Succeeded [2023-10-26T04:55:40.809Z] docker.io [2023-10-26T04:55:41.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-26T04:55:41.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-26T04:55:41.347Z] Configure a credential helper to remove this warning. See [2023-10-26T04:55:41.347Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-26T04:55:41.347Z] [2023-10-26T04:55:41.347Z] Login Succeeded [2023-10-26T04:55:41.347Z] ---> docker-login.sh ends [Pipeline] } [2023-10-26T04:55:41.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-26T04:55:41.758Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T04:55:41.792Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-26T04:55:41.824Z] ========================================================= [2023-10-26T04:55:41.824Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-26T04:55:41.824Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T04:55:42.310Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-26T04:55:45.078Z] Removing intermediate container 23e0e0c97a30 [2023-10-26T04:55:45.078Z] ---> 70a41839f0db [2023-10-26T04:55:45.078Z] Step 11/23 : FROM alpine:3.18 [2023-10-26T04:55:45.078Z] 3.18: Pulling from library/alpine [2023-10-26T04:55:45.078Z] 96526aa774ef: Pulling fs layer [2023-10-26T04:55:45.078Z] 96526aa774ef: Verifying Checksum [2023-10-26T04:55:45.078Z] 96526aa774ef: Download complete [2023-10-26T04:55:45.078Z] 96526aa774ef: Pull complete [2023-10-26T04:55:45.078Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-26T04:55:45.078Z] Status: Downloaded newer image for alpine:3.18 [2023-10-26T04:55:45.078Z] ---> 8ca4688f4f35 [2023-10-26T04:55:45.078Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-26T04:55:45.078Z] ---> Running in 6574b1d7c24a [2023-10-26T04:55:45.078Z] Removing intermediate container 6574b1d7c24a [2023-10-26T04:55:45.078Z] ---> d44124ecde3c [2023-10-26T04:55:45.078Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-26T04:55:45.078Z] ---> Running in e0772d025b97 [2023-10-26T04:55:45.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-26T04:55:45.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-26T04:55:45.078Z] OK: 7 MiB in 15 packages [2023-10-26T04:55:45.078Z] Removing intermediate container e0772d025b97 [2023-10-26T04:55:45.078Z] ---> 26b7669e26ac [2023-10-26T04:55:45.078Z] Step 14/23 : WORKDIR / [2023-10-26T04:55:45.078Z] ---> Running in 9b34f7dff994 [2023-10-26T04:55:45.078Z] Removing intermediate container 9b34f7dff994 [2023-10-26T04:55:45.078Z] ---> e81b0aacf5b0 [2023-10-26T04:55:45.078Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-26T04:55:45.078Z] ---> 69e5c0e65be5 [2023-10-26T04:55:45.078Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-26T04:55:45.336Z] ---> b86d19f1c4f6 [2023-10-26T04:55:45.336Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-26T04:55:45.336Z] ---> f2a92632f7ca [2023-10-26T04:55:45.336Z] Step 18/23 : EXPOSE 59999 [2023-10-26T04:55:45.336Z] ---> Running in 3fe35ad6277f [2023-10-26T04:55:45.336Z] Removing intermediate container 3fe35ad6277f [2023-10-26T04:55:45.336Z] ---> 63f910be30b3 [2023-10-26T04:55:45.336Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-26T04:55:45.597Z] ---> Running in a99d9a7b35be [2023-10-26T04:55:45.597Z] Removing intermediate container a99d9a7b35be [2023-10-26T04:55:45.597Z] ---> a5c92d931c83 [2023-10-26T04:55:45.597Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-26T04:55:45.597Z] ---> Running in aa526b1c71e7 [2023-10-26T04:55:45.597Z] Removing intermediate container aa526b1c71e7 [2023-10-26T04:55:45.597Z] ---> c2206c01f1f2 [2023-10-26T04:55:45.597Z] Step 21/23 : LABEL arch=amd64 [2023-10-26T04:55:45.597Z] ---> Running in 75c033820271 [2023-10-26T04:55:45.856Z] Removing intermediate container 75c033820271 [2023-10-26T04:55:45.856Z] ---> 78106bc6bed7 [2023-10-26T04:55:45.856Z] Step 22/23 : LABEL git_sha=8363343ca85708959c11e48c0e29b61f476d8bc3 [2023-10-26T04:55:45.856Z] ---> Running in f864d5a2a39d [2023-10-26T04:55:45.856Z] Removing intermediate container f864d5a2a39d [2023-10-26T04:55:45.856Z] ---> a402dae23323 [2023-10-26T04:55:45.856Z] Step 23/23 : LABEL version=0.0.0 [2023-10-26T04:55:45.856Z] ---> Running in 9bee2b72a19d [2023-10-26T04:55:45.856Z] Removing intermediate container 9bee2b72a19d [2023-10-26T04:55:45.856Z] ---> a4c07f481dd3 [2023-10-26T04:55:45.856Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-26T04:55:45.856Z] Successfully built a4c07f481dd3 [2023-10-26T04:55:45.856Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [2023-10-26T04:55:46.565Z] Sending build context to Docker daemon 6.021MB [2023-10-26T04:55:46.565Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T04:55:46.565Z] Step 2/10 : FROM ${BASE} AS builder [2023-10-26T04:55:46.565Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-26T04:55:46.565Z] 9fda8d8052c6: Pulling fs layer [2023-10-26T04:55:46.565Z] 5d54e960e981: Pulling fs layer [2023-10-26T04:55:46.565Z] c4a7e357bf2a: Pulling fs layer [2023-10-26T04:55:46.565Z] f0e02332f6b5: Pulling fs layer [2023-10-26T04:55:46.565Z] cefa15bbcfad: Pulling fs layer [2023-10-26T04:55:46.565Z] 17808c966233: Pulling fs layer [2023-10-26T04:55:46.565Z] f4c1fc716caa: Pulling fs layer [2023-10-26T04:55:46.565Z] f0e02332f6b5: Waiting [2023-10-26T04:55:46.565Z] cefa15bbcfad: Waiting [2023-10-26T04:55:46.565Z] 17808c966233: Waiting [2023-10-26T04:55:46.565Z] f4c1fc716caa: Waiting [2023-10-26T04:55:46.565Z] 5d54e960e981: Download complete [2023-10-26T04:55:46.565Z] f0e02332f6b5: Verifying Checksum [2023-10-26T04:55:46.565Z] f0e02332f6b5: Download complete [2023-10-26T04:55:46.565Z] cefa15bbcfad: Verifying Checksum [2023-10-26T04:55:46.565Z] cefa15bbcfad: Download complete [2023-10-26T04:55:46.565Z] 9fda8d8052c6: Verifying Checksum [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T04:55:46.833Z] f4c1fc716caa: Verifying Checksum [2023-10-26T04:55:46.833Z] f4c1fc716caa: Download complete [2023-10-26T04:55:47.062Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T04:55:47.062Z] [2023-10-26T04:55:47.062Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T04:55:47.419Z] 9fda8d8052c6: Pull complete [2023-10-26T04:55:47.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T04:55:47.441Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-26T04:55:47.441Z] 5eb5b503b376: Pulling fs layer [2023-10-26T04:55:47.441Z] 5c69ac0246d0: Pulling fs layer [2023-10-26T04:55:47.441Z] ec43610c2a17: Pulling fs layer [2023-10-26T04:55:47.441Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-26T04:55:47.441Z] 33b1e0a273af: Pulling fs layer [2023-10-26T04:55:47.441Z] 5d3b04190fa2: Pulling fs layer [2023-10-26T04:55:47.441Z] 2f39f015ded8: Pulling fs layer [2023-10-26T04:55:47.441Z] 3a2ae6a8a46f: Waiting [2023-10-26T04:55:47.441Z] 33b1e0a273af: Waiting [2023-10-26T04:55:47.441Z] 5d3b04190fa2: Waiting [2023-10-26T04:55:47.441Z] 2f39f015ded8: Waiting [2023-10-26T04:55:47.441Z] 5c69ac0246d0: Verifying Checksum [2023-10-26T04:55:47.441Z] 5c69ac0246d0: Download complete [2023-10-26T04:55:47.441Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-26T04:55:47.441Z] 3a2ae6a8a46f: Download complete [2023-10-26T04:55:47.699Z] 33b1e0a273af: Verifying Checksum [2023-10-26T04:55:47.699Z] 33b1e0a273af: Download complete [2023-10-26T04:55:47.699Z] 5d3b04190fa2: Verifying Checksum [2023-10-26T04:55:47.699Z] 5d3b04190fa2: Download complete [2023-10-26T04:55:47.699Z] ec43610c2a17: Verifying Checksum [2023-10-26T04:55:47.699Z] ec43610c2a17: Download complete [2023-10-26T04:55:47.699Z] 5eb5b503b376: Verifying Checksum [2023-10-26T04:55:47.699Z] 5eb5b503b376: Download complete [2023-10-26T04:55:48.115Z] 5d54e960e981: Pull complete [2023-10-26T04:55:48.262Z] 2f39f015ded8: Download complete [2023-10-26T04:55:48.406Z] c4a7e357bf2a: Verifying Checksum [2023-10-26T04:55:48.406Z] c4a7e357bf2a: Download complete [2023-10-26T04:55:49.199Z] 5eb5b503b376: Pull complete [2023-10-26T04:55:49.199Z] 5c69ac0246d0: Pull complete [2023-10-26T04:55:49.381Z] 17808c966233: Verifying Checksum [2023-10-26T04:55:49.381Z] 17808c966233: Download complete [2023-10-26T04:55:49.764Z] ec43610c2a17: Pull complete [2023-10-26T04:55:49.764Z] 3a2ae6a8a46f: Pull complete [2023-10-26T04:55:50.022Z] 33b1e0a273af: Pull complete [2023-10-26T04:55:50.022Z] 5d3b04190fa2: Pull complete [2023-10-26T04:55:54.201Z] 2f39f015ded8: Pull complete [2023-10-26T04:55:54.201Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-26T04:55:54.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T04:55:54.201Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T04:55:54.425Z] prd-ubuntu20.04-docker-8c-8g-11848 does not seem to be running inside a container [2023-10-26T04:55:54.458Z] $ 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-1530 -v /w/workspace/gexfoundry_device-sdk-go_PR-1530:/w/workspace/gexfoundry_device-sdk-go_PR-1530:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-26T04:55:58.701Z] $ docker top 33f2994d46e2008c157b3ae03c9cb64ae2134fb0f3d661bbefbd894fadc44645 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T04:55:59.153Z] ---> job-cost.sh [2023-10-26T04:55:59.153Z] lf-activate-venv: SKIPPING [2023-10-26T04:55:59.153Z] INFO: No Stack... [2023-10-26T04:55:59.413Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-26T04:55:59.981Z] INFO: Archiving Costs [Pipeline] sh [2023-10-26T04:56:00.302Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1530/archives/cost.csv [2023-10-26T04:56:00.302Z] + cut -d, -f6 [Pipeline] lock [2023-10-26T04:56:00.344Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1530-1-stack-cost] [2023-10-26T04:56:00.348Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1530-1-stack-cost] did not exist. Created. [2023-10-26T04:56:00.348Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1530-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-26T04:56:00.744Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-26T04:56:00.800Z] Stashed 1 file(s) [Pipeline] } [2023-10-26T04:56:00.820Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1530-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-26T04:56:00.909Z] $ docker stop --time=1 33f2994d46e2008c157b3ae03c9cb64ae2134fb0f3d661bbefbd894fadc44645 [2023-10-26T04:56:01.711Z] c4a7e357bf2a: Pull complete [2023-10-26T04:56:01.711Z] f0e02332f6b5: Pull complete [2023-10-26T04:56:01.981Z] cefa15bbcfad: Pull complete [2023-10-26T04:56:02.076Z] $ docker rm -f --volumes 33f2994d46e2008c157b3ae03c9cb64ae2134fb0f3d661bbefbd894fadc44645 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-26T04:56:10.200Z] 17808c966233: Pull complete [2023-10-26T04:56:13.549Z] f4c1fc716caa: Pull complete [2023-10-26T04:56:13.549Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-26T04:56:13.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-26T04:56:13.549Z] ---> ea914061e18c [2023-10-26T04:56:13.549Z] Step 3/10 : ARG MAKE=make build [2023-10-26T04:56:14.975Z] ---> Running in fde2b9e9e52c [2023-10-26T04:56:14.975Z] Removing intermediate container fde2b9e9e52c [2023-10-26T04:56:14.975Z] ---> 43f18dcecbf1 [2023-10-26T04:56:14.975Z] Step 4/10 : WORKDIR /device-sdk-go [2023-10-26T04:56:15.252Z] ---> Running in 25d4a82bcd6c [2023-10-26T04:56:15.519Z] Removing intermediate container 25d4a82bcd6c [2023-10-26T04:56:15.519Z] ---> 24be5ffcc9e8 [2023-10-26T04:56:15.519Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-26T04:56:15.519Z] ---> Running in 04aa786ca146 [2023-10-26T04:56:15.793Z] Removing intermediate container 04aa786ca146 [2023-10-26T04:56:15.793Z] ---> 44580c4474f4 [2023-10-26T04:56:15.793Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-10-26T04:56:16.060Z] ---> Running in 60ed1f3392f5 [2023-10-26T04:56:17.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-26T04:56:17.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-26T04:56:18.706Z] OK: 266 MiB in 52 packages [2023-10-26T04:56:19.290Z] Removing intermediate container 60ed1f3392f5 [2023-10-26T04:56:19.290Z] ---> f9811e03859b [2023-10-26T04:56:19.290Z] Step 7/10 : COPY go.mod vendor* ./ [2023-10-26T04:56:19.870Z] ---> 5dfd4e19547a [2023-10-26T04:56:19.870Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T04:56:19.870Z] ---> Running in 42a3e767d3f2 [2023-10-26T04:57:56.511Z] Removing intermediate container 42a3e767d3f2 [2023-10-26T04:57:56.511Z] ---> 394f701098b6 [2023-10-26T04:57:56.511Z] Step 9/10 : COPY . . [2023-10-26T04:57:57.476Z] ---> e21473814646 [2023-10-26T04:57:57.476Z] Step 10/10 : RUN ${MAKE} [2023-10-26T04:57:57.476Z] ---> Running in 6a0e8634ebc4 [2023-10-26T04:57:58.439Z] noop [2023-10-26T04:57:59.018Z] Removing intermediate container 6a0e8634ebc4 [2023-10-26T04:57:59.018Z] ---> abc8d8486a04 [2023-10-26T04:57:59.018Z] Successfully built abc8d8486a04 [2023-10-26T04:57:59.018Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T04:57:59.494Z] + docker inspect -f . ci-base-image-arm64 [2023-10-26T04:57:59.494Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T04:57:59.793Z] prd-ubuntu20.04-docker-arm64-4c-16g-11849 does not seem to be running inside a container [2023-10-26T04:57:59.866Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-26T04:58:04.174Z] $ docker top 64cc4463112558988d041ad758463ee100e35202ae3b7951dfa9b7a71b6ec18c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T04:58:05.097Z] + go version [2023-10-26T04:58:05.097Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-26T04:58:05.130Z] $ docker stop --time=1 64cc4463112558988d041ad758463ee100e35202ae3b7951dfa9b7a71b6ec18c [2023-10-26T04:58:06.713Z] $ docker rm -f --volumes 64cc4463112558988d041ad758463ee100e35202ae3b7951dfa9b7a71b6ec18c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T04:58:07.569Z] + docker inspect -f . ci-base-image-arm64 [2023-10-26T04:58:07.569Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T04:58:07.820Z] prd-ubuntu20.04-docker-arm64-4c-16g-11849 does not seem to be running inside a container [2023-10-26T04:58:07.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-26T04:58:09.117Z] $ docker top 247856bb571b09df52915c443bd69401563fb85fd5650fbab0dafa1c25498afc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T04:58:09.995Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-26T04:58:10.390Z] + make test [2023-10-26T04:58:10.658Z] go test -race -coverprofile=coverage.out ./... [2023-10-26T04:58:42.894Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-10-26T05:00:19.535Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-10-26T05:00:19.535Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-10-26T05:00:19.535Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-10-26T05:00:19.535Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-10-26T05:00:19.535Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-10-26T05:00:27.730Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.195s coverage: 27.6% of statements [2023-10-26T05:00:35.947Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.251s coverage: 81.5% of statements [2023-10-26T05:00:44.174Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-10-26T05:00:44.174Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-10-26T05:00:44.764Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.310s coverage: 86.0% of statements [2023-10-26T05:00:50.103Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-10-26T05:00:50.685Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.513s coverage: 71.8% of statements [2023-10-26T05:00:54.044Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.253s coverage: 14.4% of statements [2023-10-26T05:00:54.044Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.778s coverage: 45.9% of statements [2023-10-26T05:00:54.629Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-10-26T05:00:54.629Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-10-26T05:00:56.040Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.400s coverage: 68.5% of statements [2023-10-26T05:00:58.634Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.467s coverage: 89.2% of statements [2023-10-26T05:00:59.623Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-10-26T05:01:01.031Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.224s coverage: 5.5% of statements [2023-10-26T05:01:01.990Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-26T05:01:01.990Z] GO111MODULE=on go vet ./... [2023-10-26T05:03:08.646Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-26T05:03:08.646Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-26T05:03:08.646Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-26T05:03:08.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-26T05:03:08.710Z] $ docker stop --time=1 247856bb571b09df52915c443bd69401563fb85fd5650fbab0dafa1c25498afc [2023-10-26T05:03:10.608Z] $ docker rm -f --volumes 247856bb571b09df52915c443bd69401563fb85fd5650fbab0dafa1c25498afc [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-26T05:03:12.334Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-26T05:03:12.375Z] Warning: overwriting stash ‘coverage-report’ [2023-10-26T05:03:12.998Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-26T05:03:13.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-26T05:03:14.022Z] + ls -al . [2023-10-26T05:03:14.022Z] total 300 [2023-10-26T05:03:14.022Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 04:58 . [2023-10-26T05:03:14.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:55 .. [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 04:55 .dockerignore [2023-10-26T05:03:14.022Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 04:55 .git [2023-10-26T05:03:14.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:55 .github [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 26 04:55 .gitignore [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 04:55 .golangci.yml [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 44878 Oct 26 04:55 CHANGELOG.md [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 04:55 GOVERNANCE.md [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 26 04:55 Jenkinsfile [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 04:55 LICENSE [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 26 04:55 Makefile [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 04:55 OWNERS.md [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 4933 Oct 26 04:55 README.md [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 04:52 VERSION [2023-10-26T05:03:14.022Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 04:55 bin [2023-10-26T05:03:14.022Z] -rw-r--r-- 1 jenkins jenkins 122155 Oct 26 05:01 coverage.out [2023-10-26T05:03:14.022Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 04:55 example [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 3723 Oct 26 04:55 go.mod [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 34277 Oct 26 04:55 go.sum [2023-10-26T05:03:14.022Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 04:55 internal [2023-10-26T05:03:14.022Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 04:55 openapi [2023-10-26T05:03:14.022Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 04:55 pkg [2023-10-26T05:03:14.022Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 04:55 snap [2023-10-26T05:03:14.022Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 04:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T05:03:14.451Z] + 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=8363343ca85708959c11e48c0e29b61f476d8bc3 --label arch=arm64 --label version=0.0.0 . [2023-10-26T05:03:14.732Z] Sending build context to Docker daemon 6.143MB [2023-10-26T05:03:14.732Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-10-26T05:03:14.732Z] Step 2/23 : FROM ${BASE} AS builder [2023-10-26T05:03:14.732Z] ---> abc8d8486a04 [2023-10-26T05:03:14.732Z] Step 3/23 : ARG MAKE=make build [2023-10-26T05:03:15.020Z] ---> Running in f198db06627d [2023-10-26T05:03:15.291Z] Removing intermediate container f198db06627d [2023-10-26T05:03:15.291Z] ---> 246557faa158 [2023-10-26T05:03:15.291Z] Step 4/23 : WORKDIR /device-sdk-go [2023-10-26T05:03:15.291Z] ---> Running in 5d7d4e3b48f5 [2023-10-26T05:03:15.574Z] Removing intermediate container 5d7d4e3b48f5 [2023-10-26T05:03:15.574Z] ---> fb272a5b567d [2023-10-26T05:03:15.574Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-26T05:03:15.844Z] ---> Running in bc793ccf408b [2023-10-26T05:03:16.123Z] Removing intermediate container bc793ccf408b [2023-10-26T05:03:16.123Z] ---> 31b8d245a03c [2023-10-26T05:03:16.123Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-10-26T05:03:16.123Z] ---> Running in 3229717764ae [2023-10-26T05:03:17.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-26T05:03:18.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-26T05:03:19.535Z] OK: 266 MiB in 52 packages [2023-10-26T05:03:21.486Z] Removing intermediate container 3229717764ae [2023-10-26T05:03:21.486Z] ---> 406a4dd3e758 [2023-10-26T05:03:21.486Z] Step 7/23 : COPY go.mod vendor* ./ [2023-10-26T05:03:22.073Z] ---> 3a46c2a75659 [2023-10-26T05:03:22.073Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-26T05:03:22.073Z] ---> Running in 44bbfa1a8e6a [2023-10-26T05:03:24.016Z] Removing intermediate container 44bbfa1a8e6a [2023-10-26T05:03:24.016Z] ---> 86073f49b92e [2023-10-26T05:03:24.016Z] Step 9/23 : COPY . . [2023-10-26T05:03:25.433Z] ---> b69e7922ac0c [2023-10-26T05:03:25.433Z] Step 10/23 : RUN ${MAKE} [2023-10-26T05:03:25.433Z] ---> Running in 656d577526ae [2023-10-26T05:03:26.392Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-10-26T05:05:18.042Z] Removing intermediate container 656d577526ae [2023-10-26T05:05:18.042Z] ---> e4a4ffeacfd4 [2023-10-26T05:05:18.042Z] Step 11/23 : FROM alpine:3.18 [2023-10-26T05:05:18.042Z] 3.18: Pulling from library/alpine [2023-10-26T05:05:18.042Z] 579b34f0a95b: Pulling fs layer [2023-10-26T05:05:18.042Z] 579b34f0a95b: Verifying Checksum [2023-10-26T05:05:18.042Z] 579b34f0a95b: Download complete [2023-10-26T05:05:18.042Z] 579b34f0a95b: Pull complete [2023-10-26T05:05:18.042Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-26T05:05:18.042Z] Status: Downloaded newer image for alpine:3.18 [2023-10-26T05:05:18.042Z] ---> 3cc203321400 [2023-10-26T05:05:18.042Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-10-26T05:05:18.042Z] ---> Running in 1ab0b44b3253 [2023-10-26T05:05:18.042Z] Removing intermediate container 1ab0b44b3253 [2023-10-26T05:05:18.042Z] ---> 3656201cff2b [2023-10-26T05:05:18.042Z] Step 13/23 : RUN apk add --update --no-cache [2023-10-26T05:05:18.042Z] ---> Running in 16d1ba8c52dd [2023-10-26T05:05:18.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-26T05:05:18.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-26T05:05:18.042Z] OK: 8 MiB in 15 packages [2023-10-26T05:05:19.011Z] Removing intermediate container 16d1ba8c52dd [2023-10-26T05:05:19.011Z] ---> f9d764bcbeb0 [2023-10-26T05:05:19.011Z] Step 14/23 : WORKDIR / [2023-10-26T05:05:19.011Z] ---> Running in 680f42863917 [2023-10-26T05:05:19.278Z] Removing intermediate container 680f42863917 [2023-10-26T05:05:19.278Z] ---> 0de535f2b9d8 [2023-10-26T05:05:19.278Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-10-26T05:05:19.861Z] ---> b061d860c191 [2023-10-26T05:05:19.861Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-10-26T05:05:21.265Z] ---> 8f9b630b8f74 [2023-10-26T05:05:21.265Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-10-26T05:05:21.856Z] ---> 01af8ac4d4fd [2023-10-26T05:05:21.856Z] Step 18/23 : EXPOSE 59999 [2023-10-26T05:05:21.856Z] ---> Running in 36a3cd580c62 [2023-10-26T05:05:22.125Z] Removing intermediate container 36a3cd580c62 [2023-10-26T05:05:22.126Z] ---> 79aeeb6ce954 [2023-10-26T05:05:22.126Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-10-26T05:05:22.390Z] ---> Running in edf6aea9c9b8 [2023-10-26T05:05:22.655Z] Removing intermediate container edf6aea9c9b8 [2023-10-26T05:05:22.655Z] ---> 19effb00be06 [2023-10-26T05:05:22.655Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-10-26T05:05:22.655Z] ---> Running in 9216e2601ffc [2023-10-26T05:05:22.921Z] Removing intermediate container 9216e2601ffc [2023-10-26T05:05:22.921Z] ---> 89277c15e04e [2023-10-26T05:05:22.921Z] Step 21/23 : LABEL arch=arm64 [2023-10-26T05:05:22.921Z] ---> Running in 1c916ab98779 [2023-10-26T05:05:23.195Z] Removing intermediate container 1c916ab98779 [2023-10-26T05:05:23.195Z] ---> 7829b7bf7e16 [2023-10-26T05:05:23.195Z] Step 22/23 : LABEL git_sha=8363343ca85708959c11e48c0e29b61f476d8bc3 [2023-10-26T05:05:23.463Z] ---> Running in 943fb701b4e5 [2023-10-26T05:05:23.736Z] Removing intermediate container 943fb701b4e5 [2023-10-26T05:05:23.736Z] ---> 8793ac4389f9 [2023-10-26T05:05:23.736Z] Step 23/23 : LABEL version=0.0.0 [2023-10-26T05:05:23.736Z] ---> Running in bf03e86bf1c7 [2023-10-26T05:05:24.001Z] Removing intermediate container bf03e86bf1c7 [2023-10-26T05:05:24.001Z] ---> 5e97c5679b01 [2023-10-26T05:05:24.001Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-26T05:05:24.001Z] Successfully built 5e97c5679b01 [2023-10-26T05:05:24.001Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T05:05:24.862Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-26T05:05:24.862Z] [2023-10-26T05:05:24.862Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T05:05:25.261Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-26T05:05:25.529Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-26T05:05:25.529Z] 8998bd30e6a1: Pulling fs layer [2023-10-26T05:05:25.529Z] 04944245beec: Pulling fs layer [2023-10-26T05:05:25.529Z] 699f458cf7ca: Pulling fs layer [2023-10-26T05:05:25.529Z] 765212b225bb: Pulling fs layer [2023-10-26T05:05:25.529Z] f23df028b6ca: Pulling fs layer [2023-10-26T05:05:25.529Z] d65c8cfc05b1: Pulling fs layer [2023-10-26T05:05:25.529Z] 2437ff75d9bd: Pulling fs layer [2023-10-26T05:05:25.529Z] d65c8cfc05b1: Waiting [2023-10-26T05:05:25.529Z] 765212b225bb: Waiting [2023-10-26T05:05:25.529Z] 2437ff75d9bd: Waiting [2023-10-26T05:05:25.529Z] f23df028b6ca: Waiting [2023-10-26T05:05:25.529Z] 04944245beec: Verifying Checksum [2023-10-26T05:05:25.529Z] 04944245beec: Download complete [2023-10-26T05:05:25.529Z] 765212b225bb: Download complete [2023-10-26T05:05:25.529Z] f23df028b6ca: Download complete [2023-10-26T05:05:25.529Z] d65c8cfc05b1: Download complete [2023-10-26T05:05:25.799Z] 699f458cf7ca: Verifying Checksum [2023-10-26T05:05:25.799Z] 699f458cf7ca: Download complete [2023-10-26T05:05:26.385Z] 8998bd30e6a1: Verifying Checksum [2023-10-26T05:05:26.385Z] 8998bd30e6a1: Download complete [2023-10-26T05:05:28.972Z] 2437ff75d9bd: Verifying Checksum [2023-10-26T05:05:28.972Z] 2437ff75d9bd: Download complete [2023-10-26T05:05:30.921Z] 8998bd30e6a1: Pull complete [2023-10-26T05:05:31.190Z] 04944245beec: Pull complete [2023-10-26T05:05:32.597Z] 699f458cf7ca: Pull complete [2023-10-26T05:05:32.863Z] 765212b225bb: Pull complete [2023-10-26T05:05:33.823Z] f23df028b6ca: Pull complete [2023-10-26T05:05:34.091Z] d65c8cfc05b1: Pull complete [2023-10-26T05:05:52.304Z] 2437ff75d9bd: Pull complete [2023-10-26T05:05:52.304Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-26T05:05:52.304Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-26T05:05:52.304Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T05:05:52.633Z] prd-ubuntu20.04-docker-arm64-4c-16g-11849 does not seem to be running inside a container [2023-10-26T05:05:52.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-26T05:05:55.574Z] $ docker top 3267f018c1af49a03e37b88deb56e9df40cb4198773afb29d58b62c449af9806 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-26T05:05:56.490Z] ---> job-cost.sh [2023-10-26T05:05:56.490Z] lf-activate-venv: SKIPPING [2023-10-26T05:05:56.490Z] INFO: No Stack... [2023-10-26T05:05:57.071Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-26T05:05:57.650Z] INFO: Archiving Costs [Pipeline] sh [2023-10-26T05:05:58.307Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-10-26T05:05:58.307Z] + cut -d, -f6 [Pipeline] lock [2023-10-26T05:05:58.402Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1530-1-stack-cost] [2023-10-26T05:05:58.406Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1530-1-stack-cost] did not exist. Created. [2023-10-26T05:05:58.407Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1530-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-26T05:05:59.131Z] /w/workspace/device-sdk-go/1@tmp/durable-759c9fdd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-26T05:05:59.807Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-26T05:05:59.842Z] Warning: overwriting stash ‘stack-cost’ [2023-10-26T05:05:59.938Z] Stashed 1 file(s) [Pipeline] } [2023-10-26T05:05:59.953Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1530-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-26T05:06:00.040Z] $ docker stop --time=1 3267f018c1af49a03e37b88deb56e9df40cb4198773afb29d58b62c449af9806 [2023-10-26T05:06:01.618Z] $ docker rm -f --volumes 3267f018c1af49a03e37b88deb56e9df40cb4198773afb29d58b62c449af9806 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-26T05:06:02.686Z] provisioning config files... [2023-10-26T05:06:02.693Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp/config1423555464620626018tmp [Pipeline] { [Pipeline] sh [2023-10-26T05:06:03.037Z] + set +x [2023-10-26T05:06:03.037Z] + + curl -s https://codecov.io/bash [2023-10-26T05:06:03.037Z] bash -s -- [2023-10-26T05:06:03.297Z] [2023-10-26T05:06:03.297Z] _____ _ [2023-10-26T05:06:03.297Z] / ____| | | [2023-10-26T05:06:03.297Z] | | ___ __| | ___ ___ _____ __ [2023-10-26T05:06:03.297Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-26T05:06:03.297Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-26T05:06:03.297Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-26T05:06:03.297Z] Bash-1.0.6 [2023-10-26T05:06:03.297Z] [2023-10-26T05:06:03.297Z] [2023-10-26T05:06:03.297Z] ==> git version 2.25.1 found [2023-10-26T05:06:03.297Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-26T05:06:03.297Z] Release-Date: 2020-01-08 [2023-10-26T05:06:03.297Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-26T05:06:03.297Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-26T05:06:03.297Z] ==> Jenkins CI detected. [2023-10-26T05:06:03.297Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1530 [2023-10-26T05:06:03.297Z] project root: . [2023-10-26T05:06:03.297Z] --> token set from env [2023-10-26T05:06:03.297Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-26T05:06:03.297Z] ==> Running gcov in . (disable via -X gcov) [2023-10-26T05:06:03.297Z] ==> Python coveragepy not found [2023-10-26T05:06:03.297Z] ==> Searching for coverage reports in: [2023-10-26T05:06:03.297Z] + . [2023-10-26T05:06:03.297Z] -> Found 1 reports [2023-10-26T05:06:03.297Z] ==> Detecting git/mercurial file structure [2023-10-26T05:06:03.297Z] ==> Reading reports [2023-10-26T05:06:03.297Z] + ./coverage.out bytes=122155 [2023-10-26T05:06:03.297Z] ==> Appending adjustments [2023-10-26T05:06:03.297Z] https://docs.codecov.io/docs/fixing-reports [2023-10-26T05:06:03.557Z] + Found adjustments [2023-10-26T05:06:03.557Z] ==> Gzipping contents [2023-10-26T05:06:03.557Z] 20K /tmp/codecov.EaUmcz.gz [2023-10-26T05:06:03.557Z] ==> Uploading reports [2023-10-26T05:06:03.557Z] url: https://codecov.io [2023-10-26T05:06:03.557Z] query: branch=PR-1530&commit=8363343ca85708959c11e48c0e29b61f476d8bc3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1530%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1530&job=&cmd_args= [2023-10-26T05:06:03.557Z] -> Pinging Codecov [2023-10-26T05:06:03.557Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1530&commit=8363343ca85708959c11e48c0e29b61f476d8bc3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1530%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1530&job=&cmd_args= [2023-10-26T05:06:03.817Z] -> Uploading to [2023-10-26T05:06:03.817Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-26/7E55EF52A471D76F132DFD9A03CDDE97/8363343ca85708959c11e48c0e29b61f476d8bc3/d10e1fcf-14b5-4e38-bcb4-45cdef051193.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231026T050603Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=62332b1f8bbb394f1602da4c294c766b8d7f285514cffebc3de385a3358793bb [2023-10-26T05:06:03.817Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-26T05:06:03.817Z] Dload Upload Total Spent Left Speed [2023-10-26T05:06:04.077Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16746 0 0 100 16746 0 49544 --:--:-- --:--:-- --:--:-- 49544 [2023-10-26T05:06:04.077Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8363343ca85708959c11e48c0e29b61f476d8bc3 [Pipeline] } [2023-10-26T05:06:04.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-26T05:06:05.999Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1530/archives ] [2023-10-26T05:06:05.999Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1530/archives [2023-10-26T05:06:05.999Z] total 16 [2023-10-26T05:06:05.999Z] drwxr-xr-x 3 root root 4096 Oct 26 04:55 . [2023-10-26T05:06:05.999Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 04:56 .. [2023-10-26T05:06:05.999Z] drwxr-xr-x 2 root root 4096 Oct 26 04:55 cost [2023-10-26T05:06:05.999Z] -rw-r--r-- 1 root root 86 Oct 26 04:55 cost.csv [2023-10-26T05:06:05.999Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1530/archives [2023-10-26T05:06:05.999Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1530/archives [2023-10-26T05:06:05.999Z] total 16 [2023-10-26T05:06:05.999Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 04:55 . [2023-10-26T05:06:05.999Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 04:56 .. [2023-10-26T05:06:05.999Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 04:55 cost [2023-10-26T05:06:05.999Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 26 04:55 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-26T05:06:06.331Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T05:06:07.228Z] ---> package-listing.sh [2023-10-26T05:06:07.228Z] ++ facter osfamily [2023-10-26T05:06:07.228Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-26T05:06:07.487Z] + OS_FAMILY=debian [2023-10-26T05:06:07.487Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1530 [2023-10-26T05:06:07.487Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-26T05:06:07.487Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-26T05:06:07.487Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-26T05:06:07.487Z] + PACKAGES=/tmp/packages_start.txt [2023-10-26T05:06:07.487Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1530 ']' [2023-10-26T05:06:07.487Z] + PACKAGES=/tmp/packages_end.txt [2023-10-26T05:06:07.487Z] + case "${OS_FAMILY}" in [2023-10-26T05:06:07.487Z] + dpkg -l [2023-10-26T05:06:07.487Z] + grep '^ii' [2023-10-26T05:06:07.487Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-26T05:06:07.487Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-26T05:06:07.487Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-26T05:06:07.487Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1530 ']' [2023-10-26T05:06:07.487Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1530/archives/ [2023-10-26T05:06:07.487Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1530/archives/ [Pipeline] echo [2023-10-26T05:06:07.518Z] 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-1530/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-26T05:06:07.815Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-26T05:06:08.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-26T05:06:08.439Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-26T05:06:08.586Z] prd-ubuntu20.04-docker-8c-8g-11848 does not seem to be running inside a container [2023-10-26T05:06:08.618Z] $ 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-1530/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-1530 -v /w/workspace/gexfoundry_device-sdk-go_PR-1530:/w/workspace/gexfoundry_device-sdk-go_PR-1530:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-26T05:06:08.833Z] $ docker top 4839f861cd3f78708d54119fc102132f7eea3affde6c450e642bbb4b8bd6270f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-26T05:06:09.221Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-26T05:06:09.532Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-26T05:06:09.839Z] + ls /var/log/sa-host [2023-10-26T05:06:09.839Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-26T05:06:10.088Z] provisioning config files... [2023-10-26T05:06:10.095Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1530@tmp/config16751469232917561215tmp [Pipeline] { [Pipeline] echo [2023-10-26T05:06:10.151Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T05:06:10.468Z] ---> create-netrc.sh [Pipeline] } [2023-10-26T05:06:10.496Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-26T05:06:10.918Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-26T05:06:10.949Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T05:06:11.260Z] ---> sudo-logs.sh [2023-10-26T05:06:11.260Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-26T05:06:11.342Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T05:06:11.652Z] ---> job-cost.sh [2023-10-26T05:06:11.652Z] lf-activate-venv: SKIPPING [2023-10-26T05:06:11.652Z] DEBUG: total: 0.2199999988079071 [2023-10-26T05:06:11.652Z] INFO: Retrieving Stack Cost... [2023-10-26T05:06:11.911Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-26T05:06:12.480Z] INFO: Archiving Costs [Pipeline] echo [2023-10-26T05:06:12.511Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-26T05:06:12.825Z] ---> logs-deploy.sh [2023-10-26T05:06:12.825Z] lf-activate-venv: SKIPPING [2023-10-26T05:06:12.825Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1530/1 [2023-10-26T05:06:12.825Z] INFO: archiving workspace using pattern(s): [2023-10-26T05:06:13.760Z] Archives upload complete. [2023-10-26T05:06:14.018Z] INFO: archiving logs to Nexus