Pull request #1531 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e29fde07f71cd63801829b35788a0c73dd6f5eb6+cdda6ba38339e8ee36b58c288de44ad2194d3f5d (7ae2976ce4d79ff9128bed2ce5c02abd8ec0b71a) 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-ssh3860724080020378245.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 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-ssh14312804590277076531.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 05349e3f996d6f6d0c0ad3c2ccda408eae121119 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1531/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1531/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17232462607287500957.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 05349e3f996d6f6d0c0ad3c2ccda408eae121119 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 05349e3f996d6f6d0c0ad3c2ccda408eae121119 # timeout=10 Commit message: "Merge pull request #444 from ernestojeda/update-streams" > 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 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-ssh3453801227545706256.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1531/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1531/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13984293286928682357.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 ‘prd-centos7-blackbox-4c-2g-12692’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-16157’ is offline Running on prd-ubuntu20.04-docker-8c-8g-16159 in /w/workspace/gexfoundry_device-sdk-go_PR-1531 [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-1531 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1531/head:refs/remotes/origin/PR-1531 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit cdda6ba38339e8ee36b58c288de44ad2194d3f5d into PR head commit e29fde07f71cd63801829b35788a0c73dd6f5eb6 Merge succeeded, producing e29fde07f71cd63801829b35788a0c73dd6f5eb6 Checking out Revision e29fde07f71cd63801829b35788a0c73dd6f5eb6 (PR-1531) Commit message: "build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f e29fde07f71cd63801829b35788a0c73dd6f5eb6 # 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 cdda6ba38339e8ee36b58c288de44ad2194d3f5d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e29fde07f71cd63801829b35788a0c73dd6f5eb6 # timeout=10 > git rev-list --no-walk 8a1ae1e898068d4c5c4946da98df4a6f2aecea43 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-01T15:47:02.626Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-01T15:47:02.691Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-01T15:47:02.712Z] ========================================================= [2023-11-01T15:47:02.712Z] EdgeX Global Pipelines Version Info [2023-11-01T15:47:02.712Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-01T15:47:03.812Z] ------------------- [2023-11-01T15:47:03.812Z] stable info: [2023-11-01T15:47:03.812Z] ------------------- [2023-11-01T15:47:03.812Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-01T15:47:03.812Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T15:47:03.812Z] Message: update stable to v1.0.255 [2023-11-01T15:47:04.383Z] ------------------- [2023-11-01T15:47:04.383Z] experimental info: [2023-11-01T15:47:04.383Z] ------------------- [2023-11-01T15:47:04.383Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-01T15:47:04.383Z] Commit SHA: 05349e3f996d6f6d0c0ad3c2ccda408eae121119 [2023-11-01T15:47:04.383Z] Message: update experimental to v1.0.255 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-01T15:47:04.537Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-01T15:47:04.553Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-01T15:47:04.570Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-01T15:47:04.587Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-01T15:47:04.600Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-01T15:47:04.612Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-01T15:47:04.627Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-01T15:47:04.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-01T15:47:04.656Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-01T15:47:04.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-01T15:47:04.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-01T15:47:04.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-01T15:47:04.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-01T15:47:04.725Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-01T15:47:04.740Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-01T15:47:04.754Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T15:47:04.767Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T15:47:04.780Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-01T15:47:04.794Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-01T15:47:04.808Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-01T15:47:04.824Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-01T15:47:04.837Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-01T15:47:04.850Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-01T15:47:04.862Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-01T15:47:04.874Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-01T15:47:04.890Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-01T15:47:04.905Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-01T15:47:04.922Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1531 [Pipeline] echo [2023-11-01T15:47:04.937Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1531 [Pipeline] echo [2023-11-01T15:47:04.952Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1531 [Pipeline] echo [2023-11-01T15:47:04.968Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e29fde07f71cd63801829b35788a0c73dd6f5eb6 [Pipeline] echo [2023-11-01T15:47:04.985Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e29fde0 [Pipeline] echo [2023-11-01T15:47:04.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T15:47:05.037Z] provisioning config files... [2023-11-01T15:47:05.051Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config3199982388586480958tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T15:47:05.354Z] ---> docker-login.sh [2023-11-01T15:47:05.354Z] nexus3.edgexfoundry.org:10001 [2023-11-01T15:47:07.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:07.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:07.266Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:07.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:07.266Z] [2023-11-01T15:47:07.266Z] Login Succeeded [2023-11-01T15:47:07.266Z] nexus3.edgexfoundry.org:10002 [2023-11-01T15:47:07.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:07.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:07.266Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:07.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:07.266Z] [2023-11-01T15:47:07.266Z] Login Succeeded [2023-11-01T15:47:07.266Z] nexus3.edgexfoundry.org:10003 [2023-11-01T15:47:07.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:07.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:07.266Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:07.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:07.266Z] [2023-11-01T15:47:07.266Z] Login Succeeded [2023-11-01T15:47:07.266Z] nexus3.edgexfoundry.org:10004 [2023-11-01T15:47:07.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:07.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:07.526Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:07.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:07.526Z] [2023-11-01T15:47:07.526Z] Login Succeeded [2023-11-01T15:47:07.526Z] docker.io [2023-11-01T15:47:07.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:07.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:07.787Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:07.787Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:07.787Z] [2023-11-01T15:47:07.787Z] Login Succeeded [2023-11-01T15:47:07.787Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T15:47:07.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-01T15:47:08.179Z] + git rev-list -1 --merges e29fde07f71cd63801829b35788a0c73dd6f5eb6~1..e29fde07f71cd63801829b35788a0c73dd6f5eb6 [Pipeline] echo [2023-11-01T15:47:08.224Z] -----------> git rev-list -1 --merges e29fde07f71cd63801829b35788a0c73dd6f5eb6~1..e29fde07f71cd63801829b35788a0c73dd6f5eb6 e29fde07f71cd63801829b35788a0c73dd6f5eb6 [false] [Pipeline] sh [2023-11-01T15:47:08.509Z] + git log --format=format:%s -1 e29fde07f71cd63801829b35788a0c73dd6f5eb6 [Pipeline] echo [2023-11-01T15:47:08.524Z] ========================================================= [2023-11-01T15:47:08.524Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-01T15:47:08.524Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T15:47:08.856Z] + git log --format=format:%s -1 e29fde07f71cd63801829b35788a0c73dd6f5eb6 [Pipeline] echo [2023-11-01T15:47:08.865Z] [semverPrep] GIT_COMMIT: e29fde07f71cd63801829b35788a0c73dd6f5eb6, Commit Message: build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0 [Pipeline] echo [2023-11-01T15:47:08.873Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-01T15:47:09.204Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-01T15:47:09.204Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-01T15:47:09.204Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-01T15:47:09.204Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-01T15:47:09.204Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-01T15:47:09.204Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-01T15:47:09.204Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:47:09.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T15:47:09.539Z] [2023-11-01T15:47:09.539Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:47:09.831Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T15:47:09.831Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-01T15:47:09.831Z] b85a868b505f: Pulling fs layer [2023-11-01T15:47:09.831Z] e2be974225ed: Pulling fs layer [2023-11-01T15:47:09.831Z] 339a4e72a1f5: Pulling fs layer [2023-11-01T15:47:09.831Z] 988bab9f4d93: Pulling fs layer [2023-11-01T15:47:09.831Z] 1469e6f7b9e6: Pulling fs layer [2023-11-01T15:47:09.831Z] eaf3925da568: Pulling fs layer [2023-11-01T15:47:09.831Z] bab4dde63d76: Pulling fs layer [2023-11-01T15:47:09.831Z] bde34c3a00c8: Pulling fs layer [2023-11-01T15:47:09.831Z] b352a97aabf1: Pulling fs layer [2023-11-01T15:47:09.831Z] 4872d77fe225: Pulling fs layer [2023-11-01T15:47:09.831Z] 5851b861e8e6: Pulling fs layer [2023-11-01T15:47:09.831Z] 1469e6f7b9e6: Waiting [2023-11-01T15:47:09.831Z] b352a97aabf1: Waiting [2023-11-01T15:47:09.831Z] bab4dde63d76: Waiting [2023-11-01T15:47:09.831Z] bde34c3a00c8: Waiting [2023-11-01T15:47:09.831Z] eaf3925da568: Waiting [2023-11-01T15:47:09.831Z] 4872d77fe225: Waiting [2023-11-01T15:47:09.831Z] 988bab9f4d93: Waiting [2023-11-01T15:47:09.831Z] e2be974225ed: Verifying Checksum [2023-11-01T15:47:09.831Z] e2be974225ed: Download complete [2023-11-01T15:47:09.831Z] 988bab9f4d93: Verifying Checksum [2023-11-01T15:47:09.831Z] 988bab9f4d93: Download complete [2023-11-01T15:47:10.091Z] 1469e6f7b9e6: Verifying Checksum [2023-11-01T15:47:10.091Z] 1469e6f7b9e6: Download complete [2023-11-01T15:47:10.091Z] 339a4e72a1f5: Verifying Checksum [2023-11-01T15:47:10.091Z] 339a4e72a1f5: Download complete [2023-11-01T15:47:10.091Z] eaf3925da568: Download complete [2023-11-01T15:47:10.091Z] bde34c3a00c8: Download complete [2023-11-01T15:47:10.091Z] b352a97aabf1: Verifying Checksum [2023-11-01T15:47:10.091Z] b352a97aabf1: Download complete [2023-11-01T15:47:10.091Z] 4872d77fe225: Verifying Checksum [2023-11-01T15:47:10.091Z] 4872d77fe225: Download complete [2023-11-01T15:47:10.091Z] 5851b861e8e6: Verifying Checksum [2023-11-01T15:47:10.091Z] 5851b861e8e6: Download complete [2023-11-01T15:47:10.091Z] b85a868b505f: Verifying Checksum [2023-11-01T15:47:10.091Z] b85a868b505f: Download complete [2023-11-01T15:47:10.350Z] bab4dde63d76: Verifying Checksum [2023-11-01T15:47:10.350Z] bab4dde63d76: Download complete [2023-11-01T15:47:11.741Z] b85a868b505f: Pull complete [2023-11-01T15:47:12.693Z] e2be974225ed: Pull complete [2023-11-01T15:47:13.655Z] 339a4e72a1f5: Pull complete [2023-11-01T15:47:14.597Z] 988bab9f4d93: Pull complete [2023-11-01T15:47:15.539Z] 1469e6f7b9e6: Pull complete [2023-11-01T15:47:16.479Z] eaf3925da568: Pull complete [2023-11-01T15:47:19.011Z] bab4dde63d76: Pull complete [2023-11-01T15:47:19.270Z] bde34c3a00c8: Pull complete [2023-11-01T15:47:19.871Z] b352a97aabf1: Pull complete [2023-11-01T15:47:20.132Z] 4872d77fe225: Pull complete [2023-11-01T15:47:20.700Z] 5851b861e8e6: Pull complete [2023-11-01T15:47:20.961Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-01T15:47:21.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-01T15:47:21.224Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T15:47:21.332Z] prd-ubuntu20.04-docker-8c-8g-16159 does not seem to be running inside a container [2023-11-01T15:47:21.379Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@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-devops/py-git-semver:0.1.4 cat [2023-11-01T15:47:29.034Z] $ docker top 5d540c72ec1dcc0a0e1c180e1955ab79fe0d943d48e81f056189ee9a74d0539f -eo pid,comm [2023-11-01T15:47:29.260Z] 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-11-01T15:47:29.260Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-01T15:47:29.304Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T15:47:29.304Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T15:47:29.467Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T15:47:29.473Z] $ docker exec 5d540c72ec1dcc0a0e1c180e1955ab79fe0d943d48e81f056189ee9a74d0539f ssh-agent [2023-11-01T15:47:29.601Z] SSH_AUTH_SOCK=/tmp/ssh-JIGQII2TgKGB/agent.15 [2023-11-01T15:47:29.601Z] SSH_AGENT_PID=21 [2023-11-01T15:47:29.610Z] Running ssh-add (command line suppressed) [2023-11-01T15:47:29.710Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_17444955257350160659.key (/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_17444955257350160659.key) [2023-11-01T15:47:29.723Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T15:47:30.012Z] + git tag --points-at HEAD [Pipeline] } [2023-11-01T15:47:30.025Z] $ docker exec --env ******** --env ******** 5d540c72ec1dcc0a0e1c180e1955ab79fe0d943d48e81f056189ee9a74d0539f ssh-agent -k [2023-11-01T15:47:30.160Z] unset SSH_AUTH_SOCK; [2023-11-01T15:47:30.160Z] unset SSH_AGENT_PID; [2023-11-01T15:47:30.160Z] echo Agent pid 21 killed; [2023-11-01T15:47:30.169Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-01T15:47:30.192Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-01T15:47:30.192Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-01T15:47:30.307Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-01T15:47:30.312Z] $ docker exec 5d540c72ec1dcc0a0e1c180e1955ab79fe0d943d48e81f056189ee9a74d0539f ssh-agent [2023-11-01T15:47:30.432Z] SSH_AUTH_SOCK=/tmp/ssh-gttIit58GaLs/agent.53 [2023-11-01T15:47:30.432Z] SSH_AGENT_PID=59 [2023-11-01T15:47:30.437Z] Running ssh-add (command line suppressed) [2023-11-01T15:47:30.612Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_6394586771853549390.key (/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/private_key_6394586771853549390.key) [2023-11-01T15:47:30.622Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-01T15:47:30.911Z] + git semver init [2023-11-01T15:47:31.481Z] 2023-11-01 15:47:31,198 [run_init] DEBUG init version:0.0.0 force:False [2023-11-01T15:47:31.481Z] 2023-11-01 15:47:31,200 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver [2023-11-01T15:47:31.481Z] 2023-11-01 15:47:31,201 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver [2023-11-01T15:47:31.481Z] 2023-11-01 15:47:31,201 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1531, universal_newlines=False, shell=None, istream=None) [2023-11-01T15:47:32.861Z] 2023-11-01 15:47:32,455 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.git/info/exclude [2023-11-01T15:47:32.861Z] 2023-11-01 15:47:32,455 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver/PR-1531 with force:False [2023-11-01T15:47:32.861Z] 2023-11-01 15:47:32,455 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver/PR-1531 [2023-11-01T15:47:32.861Z] 2023-11-01 15:47:32,457 [execute] INFO git cat-file --batch-check [2023-11-01T15:47:32.861Z] 2023-11-01 15:47:32,458 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T15:47:32.861Z] 2023-11-01 15:47:32,463 [execute] INFO git cat-file --batch [2023-11-01T15:47:32.861Z] 2023-11-01 15:47:32,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver, universal_newlines=False, shell=None, istream=) [2023-11-01T15:47:32.861Z] 2023-11-01 15:47:32,469 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1531/.semver/PR-1531 [2023-11-01T15:47:32.861Z] 0.0.0 [Pipeline] } [2023-11-01T15:47:32.873Z] $ docker exec --env ******** --env ******** 5d540c72ec1dcc0a0e1c180e1955ab79fe0d943d48e81f056189ee9a74d0539f ssh-agent -k [2023-11-01T15:47:32.982Z] unset SSH_AUTH_SOCK; [2023-11-01T15:47:32.982Z] unset SSH_AGENT_PID; [2023-11-01T15:47:32.982Z] echo Agent pid 59 killed; [2023-11-01T15:47:32.990Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-01T15:47:33.294Z] + git semver [Pipeline] } [2023-11-01T15:47:33.570Z] $ docker stop --time=1 5d540c72ec1dcc0a0e1c180e1955ab79fe0d943d48e81f056189ee9a74d0539f [2023-11-01T15:47:35.859Z] $ docker rm -f --volumes 5d540c72ec1dcc0a0e1c180e1955ab79fe0d943d48e81f056189ee9a74d0539f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T15:47:36.253Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-01T15:47:36.507Z] Stashed 1 file(s) [Pipeline] echo [2023-11-01T15:47:36.509Z] [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-11-01T15:47:36.636Z] provisioning config files... [2023-11-01T15:47:36.645Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config1821987703085957051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T15:47:36.938Z] ---> docker-login.sh [2023-11-01T15:47:36.938Z] nexus3.edgexfoundry.org:10001 [2023-11-01T15:47:36.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:36.938Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:36.938Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:36.938Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:36.938Z] [2023-11-01T15:47:36.938Z] Login Succeeded [2023-11-01T15:47:36.938Z] nexus3.edgexfoundry.org:10002 [2023-11-01T15:47:36.938Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:37.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:37.199Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:37.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:37.199Z] [2023-11-01T15:47:37.199Z] Login Succeeded [2023-11-01T15:47:37.199Z] nexus3.edgexfoundry.org:10003 [2023-11-01T15:47:37.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:37.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:37.199Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:37.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:37.199Z] [2023-11-01T15:47:37.199Z] Login Succeeded [2023-11-01T15:47:37.199Z] nexus3.edgexfoundry.org:10004 [2023-11-01T15:47:37.199Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:37.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:37.199Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:37.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:37.199Z] [2023-11-01T15:47:37.199Z] Login Succeeded [2023-11-01T15:47:37.460Z] docker.io [2023-11-01T15:47:37.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:47:37.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:47:37.721Z] Configure a credential helper to remove this warning. See [2023-11-01T15:47:37.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:47:37.721Z] [2023-11-01T15:47:37.721Z] Login Succeeded [2023-11-01T15:47:37.721Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T15:47:37.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T15:47:37.786Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T15:47:37.797Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T15:47:37.804Z] ========================================================= [2023-11-01T15:47:37.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-01T15:47:37.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:47:38.137Z] + 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-11-01T15:47:38.137Z] Sending build context to Docker daemon 11.25MB [2023-11-01T15:47:38.137Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T15:47:38.137Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-01T15:47:38.722Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-01T15:47:38.722Z] 7264a8db6415: Pulling fs layer [2023-11-01T15:47:38.722Z] c4d48a809fc2: Pulling fs layer [2023-11-01T15:47:38.722Z] 4f1c88b9dad5: Pulling fs layer [2023-11-01T15:47:38.722Z] ad3a456e5733: Pulling fs layer [2023-11-01T15:47:38.722Z] 33e27b845d1e: Pulling fs layer [2023-11-01T15:47:38.722Z] c68163c4e522: Pulling fs layer [2023-11-01T15:47:38.722Z] 50da416c3ac9: Pulling fs layer [2023-11-01T15:47:38.722Z] 23d2d4c4bb30: Pulling fs layer [2023-11-01T15:47:38.722Z] 33e27b845d1e: Waiting [2023-11-01T15:47:38.722Z] ad3a456e5733: Waiting [2023-11-01T15:47:38.722Z] c68163c4e522: Waiting [2023-11-01T15:47:38.722Z] 50da416c3ac9: Waiting [2023-11-01T15:47:38.722Z] c4d48a809fc2: Verifying Checksum [2023-11-01T15:47:38.722Z] c4d48a809fc2: Download complete [2023-11-01T15:47:38.722Z] ad3a456e5733: Download complete [2023-11-01T15:47:38.722Z] 33e27b845d1e: Verifying Checksum [2023-11-01T15:47:38.722Z] 33e27b845d1e: Download complete [2023-11-01T15:47:38.722Z] 7264a8db6415: Verifying Checksum [2023-11-01T15:47:38.722Z] 7264a8db6415: Download complete [2023-11-01T15:47:38.722Z] c68163c4e522: Verifying Checksum [2023-11-01T15:47:38.722Z] c68163c4e522: Download complete [2023-11-01T15:47:38.981Z] 23d2d4c4bb30: Verifying Checksum [2023-11-01T15:47:38.981Z] 23d2d4c4bb30: Download complete [2023-11-01T15:47:39.322Z] 4f1c88b9dad5: Verifying Checksum [2023-11-01T15:47:39.586Z] 7264a8db6415: Pull complete [2023-11-01T15:47:39.846Z] 50da416c3ac9: Verifying Checksum [2023-11-01T15:47:40.106Z] c4d48a809fc2: Pull complete [2023-11-01T15:47:44.366Z] 4f1c88b9dad5: Pull complete [2023-11-01T15:47:44.625Z] ad3a456e5733: Pull complete [2023-11-01T15:47:45.566Z] 33e27b845d1e: Pull complete [2023-11-01T15:47:46.133Z] c68163c4e522: Pull complete [2023-11-01T15:47:49.433Z] 50da416c3ac9: Pull complete [2023-11-01T15:47:49.691Z] 23d2d4c4bb30: Pull complete [2023-11-01T15:47:49.691Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-11-01T15:47:49.691Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-01T15:47:49.949Z] ---> 0786185ac409 [2023-11-01T15:47:49.949Z] Step 3/10 : ARG MAKE=make build [2023-11-01T15:47:51.604Z] Still waiting to schedule task [2023-11-01T15:47:51.604Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-11-01T15:48:08.113Z] ---> Running in ecb415de4db5 [2023-11-01T15:48:08.113Z] Removing intermediate container ecb415de4db5 [2023-11-01T15:48:08.113Z] ---> a0878fab9027 [2023-11-01T15:48:08.113Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-01T15:48:08.113Z] ---> Running in 72d70755e8be [2023-11-01T15:48:09.053Z] Removing intermediate container 72d70755e8be [2023-11-01T15:48:09.053Z] ---> e1a8e2eb793b [2023-11-01T15:48:09.053Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T15:48:09.313Z] ---> Running in b668a94759bb [2023-11-01T15:48:10.263Z] Removing intermediate container b668a94759bb [2023-11-01T15:48:10.263Z] ---> 6f4091a093a3 [2023-11-01T15:48:10.263Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-01T15:48:10.263Z] ---> Running in afb6ea9e1b65 [2023-11-01T15:48:10.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T15:48:10.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T15:48:11.093Z] OK: 264 MiB in 52 packages [2023-11-01T15:48:12.471Z] Removing intermediate container afb6ea9e1b65 [2023-11-01T15:48:12.471Z] ---> 3fda6d143ebd [2023-11-01T15:48:12.471Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-01T15:48:12.734Z] ---> 64ab2e43e3cb [2023-11-01T15:48:12.734Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T15:48:13.303Z] ---> Running in 5d2f5dae1d5b [2023-11-01T15:50:04.824Z] Removing intermediate container 5d2f5dae1d5b [2023-11-01T15:50:04.824Z] ---> 105bc891e382 [2023-11-01T15:50:04.824Z] Step 9/10 : COPY . . [2023-11-01T15:50:04.824Z] ---> 2fa5b8732cdd [2023-11-01T15:50:04.824Z] Step 10/10 : RUN ${MAKE} [2023-11-01T15:50:04.824Z] ---> Running in 602b75b51617 [2023-11-01T15:50:04.824Z] noop [2023-11-01T15:50:04.824Z] Removing intermediate container 602b75b51617 [2023-11-01T15:50:04.824Z] ---> 708b6b63df4e [2023-11-01T15:50:04.824Z] Successfully built 708b6b63df4e [2023-11-01T15:50:04.824Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:50:05.143Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T15:50:05.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T15:50:05.223Z] prd-ubuntu20.04-docker-8c-8g-16159 does not seem to be running inside a container [2023-11-01T15:50:05.257Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-01T15:50:09.699Z] $ docker top 937eaa8f9030d474f8fda893f57635b9da2320a8562004071ad5fce609b8e792 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T15:50:10.067Z] + go version [2023-11-01T15:50:10.067Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-01T15:50:10.076Z] $ docker stop --time=1 937eaa8f9030d474f8fda893f57635b9da2320a8562004071ad5fce609b8e792 [2023-11-01T15:50:14.653Z] $ docker rm -f --volumes 937eaa8f9030d474f8fda893f57635b9da2320a8562004071ad5fce609b8e792 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:50:15.472Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-01T15:50:15.472Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T15:50:15.558Z] prd-ubuntu20.04-docker-8c-8g-16159 does not seem to be running inside a container [2023-11-01T15:50:15.593Z] $ 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-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-01T15:50:20.355Z] $ docker top 6660d50971e9c25e77acb9f97e974b6d6497da1df2993a9c18617880c20311b9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T15:50:20.706Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1531 [Pipeline] fileExists [Pipeline] sh [2023-11-01T15:50:21.015Z] + make test [2023-11-01T15:50:21.015Z] go test -race -coverprofile=coverage.out ./... [2023-11-01T15:50:33.465Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-01T15:50:48.491Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-01T15:50:48.491Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-01T15:50:48.491Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-01T15:50:48.491Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-01T15:50:48.491Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-01T15:50:48.491Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-01T15:50:48.491Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-01T15:50:48.491Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-01T15:50:48.753Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements [2023-11-01T15:50:49.010Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.056s coverage: 81.5% of statements [2023-11-01T15:50:49.010Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.073s coverage: 86.0% of statements [2023-11-01T15:50:49.267Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.070s coverage: 71.8% of statements [2023-11-01T15:50:49.267Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-01T15:50:49.267Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-01T15:50:50.202Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-01T15:50:53.487Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.059s coverage: 14.4% of statements [2023-11-01T15:50:53.487Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.412s coverage: 45.9% of statements [2023-11-01T15:50:53.487Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.066s coverage: 68.5% of statements [2023-11-01T15:50:53.487Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.106s coverage: 89.2% of statements [2023-11-01T15:50:53.487Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.041s coverage: 5.5% of statements [2023-11-01T15:51:25.645Z] GO111MODULE=on go vet ./... [2023-11-01T15:51:25.645Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T15:51:25.645Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T15:51:25.645Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T15:51:25.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T15:51:25.677Z] $ docker stop --time=1 6660d50971e9c25e77acb9f97e974b6d6497da1df2993a9c18617880c20311b9 [2023-11-01T15:51:43.240Z] $ docker rm -f --volumes 6660d50971e9c25e77acb9f97e974b6d6497da1df2993a9c18617880c20311b9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T15:51:44.378Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T15:51:44.721Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-01T15:51:45.172Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T15:51:45.462Z] + ls -al . [2023-11-01T15:51:45.462Z] total 304 [2023-11-01T15:51:45.462Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 1 15:50 . [2023-11-01T15:51:45.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:46 .. [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 15:47 .dockerignore [2023-11-01T15:51:45.462Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 15:50 .git [2023-11-01T15:51:45.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:47 .github [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 15:47 .gitignore [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 15:47 .golangci.yml [2023-11-01T15:51:45.462Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 15:47 .semver [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 44878 Nov 1 15:47 CHANGELOG.md [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 15:47 GOVERNANCE.md [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 15:47 Jenkinsfile [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 15:47 LICENSE [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 15:47 Makefile [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 15:47 OWNERS.md [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 15:47 README.md [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 15:47 VERSION [2023-11-01T15:51:45.462Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 15:47 bin [2023-11-01T15:51:45.462Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 1 15:50 coverage.out [2023-11-01T15:51:45.462Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 15:47 example [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 15:47 go.mod [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 15:47 go.sum [2023-11-01T15:51:45.462Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 15:47 internal [2023-11-01T15:51:45.462Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:47 openapi [2023-11-01T15:51:45.462Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 15:47 pkg [2023-11-01T15:51:45.462Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:47 snap [2023-11-01T15:51:45.462Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 15:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:51:45.824Z] + 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=e29fde07f71cd63801829b35788a0c73dd6f5eb6 --label arch=amd64 --label version=0.0.0 . [2023-11-01T15:51:45.824Z] Sending build context to Docker daemon 11.38MB [2023-11-01T15:51:45.824Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T15:51:45.824Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-01T15:51:45.824Z] ---> 708b6b63df4e [2023-11-01T15:51:45.824Z] Step 3/23 : ARG MAKE=make build [2023-11-01T15:51:47.745Z] ---> Running in b44f567f312c [2023-11-01T15:51:50.281Z] Removing intermediate container b44f567f312c [2023-11-01T15:51:50.281Z] ---> 98c1fbc8c02e [2023-11-01T15:51:50.281Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-01T15:51:51.681Z] ---> Running in 5be047433092 [2023-11-01T15:51:59.807Z] Removing intermediate container 5be047433092 [2023-11-01T15:51:59.807Z] ---> 6602748a39c3 [2023-11-01T15:51:59.807Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T15:52:00.742Z] ---> Running in f2ad24bbb1cc [2023-11-01T15:52:02.643Z] Removing intermediate container f2ad24bbb1cc [2023-11-01T15:52:02.643Z] ---> 59ac7b09490c [2023-11-01T15:52:02.643Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-01T15:52:04.544Z] ---> Running in 9bcda6ad5598 [2023-11-01T15:52:08.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T15:52:08.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T15:52:08.862Z] OK: 264 MiB in 52 packages [2023-11-01T15:52:13.088Z] Removing intermediate container 9bcda6ad5598 [2023-11-01T15:52:13.088Z] ---> 0d6cf4f250f0 [2023-11-01T15:52:13.088Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-01T15:52:15.023Z] ---> 3fa4683f0cea [2023-11-01T15:52:15.023Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T15:52:16.398Z] ---> Running in 51b55e7fda06 [2023-11-01T15:52:22.964Z] Removing intermediate container 51b55e7fda06 [2023-11-01T15:52:22.964Z] ---> ff36fb30fd6e [2023-11-01T15:52:22.964Z] Step 9/23 : COPY . . [2023-11-01T15:52:25.564Z] ---> 8246cc5c594e [2023-11-01T15:52:25.564Z] Step 10/23 : RUN ${MAKE} [2023-11-01T15:52:28.113Z] ---> Running in 006bbb6302f9 [2023-11-01T15:52:29.057Z] 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-11-01T15:53:07.999Z] Removing intermediate container 006bbb6302f9 [2023-11-01T15:53:07.999Z] ---> b5e712d62f7a [2023-11-01T15:53:07.999Z] Step 11/23 : FROM alpine:3.18 [2023-11-01T15:53:07.999Z] 3.18: Pulling from library/alpine [2023-11-01T15:53:07.999Z] 96526aa774ef: Pulling fs layer [2023-11-01T15:53:07.999Z] 96526aa774ef: Verifying Checksum [2023-11-01T15:53:07.999Z] 96526aa774ef: Download complete [2023-11-01T15:53:07.999Z] 96526aa774ef: Pull complete [2023-11-01T15:53:07.999Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T15:53:07.999Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T15:53:07.999Z] ---> 8ca4688f4f35 [2023-11-01T15:53:07.999Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-01T15:53:08.563Z] ---> Running in b6c51fee9ee0 [2023-11-01T15:53:08.822Z] Removing intermediate container b6c51fee9ee0 [2023-11-01T15:53:08.822Z] ---> 1ae22476c384 [2023-11-01T15:53:08.822Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-01T15:53:09.081Z] ---> Running in 674179dcc8e1 [2023-11-01T15:53:09.383Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-01T15:53:09.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-01T15:53:09.641Z] OK: 7 MiB in 15 packages [2023-11-01T15:53:10.592Z] Removing intermediate container 674179dcc8e1 [2023-11-01T15:53:10.592Z] ---> 8743a3b956ec [2023-11-01T15:53:10.592Z] Step 14/23 : WORKDIR / [2023-11-01T15:53:10.592Z] ---> Running in 36993d6d1f61 [2023-11-01T15:53:11.160Z] Removing intermediate container 36993d6d1f61 [2023-11-01T15:53:11.160Z] ---> 644e04c993c5 [2023-11-01T15:53:11.160Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-01T15:53:11.419Z] ---> ba14dcf5d11d [2023-11-01T15:53:11.419Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-01T15:53:12.791Z] ---> 8ee1b3c57147 [2023-11-01T15:53:12.791Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-01T15:53:13.360Z] ---> 92ace2d46281 [2023-11-01T15:53:13.360Z] Step 18/23 : EXPOSE 59999 [2023-11-01T15:53:13.360Z] ---> Running in 276094c70c50 [2023-11-01T15:53:13.627Z] Removing intermediate container 276094c70c50 [2023-11-01T15:53:13.627Z] ---> 1f67fec22617 [2023-11-01T15:53:13.627Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-01T15:53:13.627Z] ---> Running in daece3264351 [2023-11-01T15:53:14.195Z] Removing intermediate container daece3264351 [2023-11-01T15:53:14.195Z] ---> 60368522992e [2023-11-01T15:53:14.195Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T15:53:14.455Z] ---> Running in 015919f6e4d7 [2023-11-01T15:53:14.714Z] Removing intermediate container 015919f6e4d7 [2023-11-01T15:53:14.714Z] ---> 358416c8a5e5 [2023-11-01T15:53:14.714Z] Step 21/23 : LABEL arch=amd64 [2023-11-01T15:53:14.974Z] ---> Running in f21391c992d0 [2023-11-01T15:53:15.233Z] Removing intermediate container f21391c992d0 [2023-11-01T15:53:15.233Z] ---> afd6c1fe8064 [2023-11-01T15:53:15.233Z] Step 22/23 : LABEL git_sha=e29fde07f71cd63801829b35788a0c73dd6f5eb6 [2023-11-01T15:53:15.492Z] ---> Running in b6b150c07783 [2023-11-01T15:53:16.060Z] Removing intermediate container b6b150c07783 [2023-11-01T15:53:16.060Z] ---> 648fbfa0293b [2023-11-01T15:53:16.060Z] Step 23/23 : LABEL version=0.0.0 [2023-11-01T15:53:16.060Z] ---> Running in 59e1ef8f6666 [2023-11-01T15:53:16.319Z] Removing intermediate container 59e1ef8f6666 [2023-11-01T15:53:16.319Z] ---> 6320f52600bd [2023-11-01T15:53:16.319Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T15:53:16.319Z] Successfully built 6320f52600bd [2023-11-01T15:53:16.577Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:53:17.015Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T15:53:17.015Z] [2023-11-01T15:53:17.015Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:53:17.321Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T15:53:17.322Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-01T15:53:17.322Z] 5eb5b503b376: Pulling fs layer [2023-11-01T15:53:17.322Z] 5c69ac0246d0: Pulling fs layer [2023-11-01T15:53:17.322Z] ec43610c2a17: Pulling fs layer [2023-11-01T15:53:17.322Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-01T15:53:17.322Z] 33b1e0a273af: Pulling fs layer [2023-11-01T15:53:17.322Z] 5d3b04190fa2: Pulling fs layer [2023-11-01T15:53:17.322Z] 2f39f015ded8: Pulling fs layer [2023-11-01T15:53:17.322Z] 3a2ae6a8a46f: Waiting [2023-11-01T15:53:17.322Z] 2f39f015ded8: Waiting [2023-11-01T15:53:17.322Z] 33b1e0a273af: Waiting [2023-11-01T15:53:17.322Z] 5d3b04190fa2: Waiting [2023-11-01T15:53:17.322Z] 5c69ac0246d0: Verifying Checksum [2023-11-01T15:53:17.322Z] 5c69ac0246d0: Download complete [2023-11-01T15:53:17.582Z] 3a2ae6a8a46f: Download complete [2023-11-01T15:53:17.582Z] 33b1e0a273af: Verifying Checksum [2023-11-01T15:53:17.582Z] 33b1e0a273af: Download complete [2023-11-01T15:53:17.582Z] 5d3b04190fa2: Verifying Checksum [2023-11-01T15:53:17.582Z] 5d3b04190fa2: Download complete [2023-11-01T15:53:17.582Z] ec43610c2a17: Verifying Checksum [2023-11-01T15:53:17.582Z] ec43610c2a17: Download complete [2023-11-01T15:53:17.839Z] 5eb5b503b376: Verifying Checksum [2023-11-01T15:53:17.839Z] 5eb5b503b376: Download complete [2023-11-01T15:53:18.408Z] 2f39f015ded8: Download complete [2023-11-01T15:53:19.341Z] 5eb5b503b376: Pull complete [2023-11-01T15:53:19.597Z] 5c69ac0246d0: Pull complete [2023-11-01T15:53:20.305Z] ec43610c2a17: Pull complete [2023-11-01T15:53:20.564Z] 3a2ae6a8a46f: Pull complete [2023-11-01T15:53:20.821Z] 33b1e0a273af: Pull complete [2023-11-01T15:53:20.821Z] 5d3b04190fa2: Pull complete [2023-11-01T15:53:26.103Z] 2f39f015ded8: Pull complete [2023-11-01T15:53:26.103Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-01T15:53:26.103Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T15:53:26.103Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T15:53:26.184Z] prd-ubuntu20.04-docker-8c-8g-16159 does not seem to be running inside a container [2023-11-01T15:53:26.216Z] $ 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-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-01T15:53:37.774Z] $ docker top 027fefbbc63ee7257ce7c5cfdce4ff90500ceaa219bb8b06cb59649af3ead2d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T15:53:38.155Z] ---> job-cost.sh [2023-11-01T15:53:38.155Z] lf-activate-venv: SKIPPING [2023-11-01T15:53:38.155Z] INFO: No Stack... [2023-11-01T15:53:38.413Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T15:53:38.982Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T15:53:39.294Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives/cost.csv [2023-11-01T15:53:39.294Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T15:53:39.307Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1531-2-stack-cost] [2023-11-01T15:53:39.313Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-2-stack-cost] did not exist. Created. [2023-11-01T15:53:39.313Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1531-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T15:53:39.615Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-01T15:53:39.654Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T15:53:39.661Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T15:53:39.682Z] $ docker stop --time=1 027fefbbc63ee7257ce7c5cfdce4ff90500ceaa219bb8b06cb59649af3ead2d2 [2023-11-01T15:53:42.719Z] $ docker rm -f --volumes 027fefbbc63ee7257ce7c5cfdce4ff90500ceaa219bb8b06cb59649af3ead2d2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-01T15:57:45.703Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16189 in /w/workspace/gexfoundry_device-sdk-go_PR-1531 [Pipeline] { [Pipeline] ws [2023-11-01T15:57:45.717Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-11-01T15:57:45.766Z] The recommended git tool is: git [2023-11-01T15:57:52.863Z] using credential edgex-jenkins-ssh [2023-11-01T15:57:52.883Z] Cloning the remote Git repository [2023-11-01T15:57:52.935Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T15:57:53.046Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-11-01T15:57:53.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T15:57:53.210Z] > git --version # timeout=10 [2023-11-01T15:57:53.232Z] > git --version # 'git version 2.25.1' [2023-11-01T15:57:53.237Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T15:57:53.404Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T15:57:55.233Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-01T15:57:55.261Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-01T15:57:57.058Z] Merging remotes/origin/main commit cdda6ba38339e8ee36b58c288de44ad2194d3f5d into PR head commit e29fde07f71cd63801829b35788a0c73dd6f5eb6 [2023-11-01T15:57:57.389Z] Merge succeeded, producing e29fde07f71cd63801829b35788a0c73dd6f5eb6 [2023-11-01T15:57:57.390Z] Checking out Revision e29fde07f71cd63801829b35788a0c73dd6f5eb6 (PR-1531) [2023-11-01T15:57:56.346Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-01T15:57:56.388Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-01T15:57:56.389Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T15:57:56.408Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1531/head:refs/remotes/origin/PR-1531 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-01T15:57:57.081Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T15:57:57.163Z] > git checkout -f e29fde07f71cd63801829b35788a0c73dd6f5eb6 # timeout=10 [2023-11-01T15:57:57.284Z] > git remote # timeout=10 [2023-11-01T15:57:57.305Z] > git config --get remote.origin.url # timeout=10 [2023-11-01T15:57:57.329Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-01T15:57:57.345Z] > git merge cdda6ba38339e8ee36b58c288de44ad2194d3f5d # timeout=10 [2023-11-01T15:57:57.372Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-01T15:57:57.398Z] > git config core.sparsecheckout # timeout=10 [2023-11-01T15:57:57.416Z] > git checkout -f e29fde07f71cd63801829b35788a0c73dd6f5eb6 # timeout=10 [2023-11-01T15:57:58.050Z] Commit message: "build(deps): bump github.com/google/uuid from 1.3.1 to 1.4.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T15:57:59.170Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-01T15:57:59.170Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T15:57:59.170Z] Dload Upload Total Spent Left Speed [2023-11-01T15:57:59.170Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 101k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh [2023-11-01T15:57:59.870Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-01T15:58:00.205Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-01T15:58:00.205Z] + sudo tee /etc/docker/daemon.new [2023-11-01T15:58:00.205Z] { [2023-11-01T15:58:00.205Z] "registry-mirrors": [ [2023-11-01T15:58:00.205Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-01T15:58:00.205Z] ], [2023-11-01T15:58:00.205Z] "bip": "10.250.0.254/24", [2023-11-01T15:58:00.205Z] "hosts": [ [2023-11-01T15:58:00.205Z] "tcp://0.0.0.0:5555", [2023-11-01T15:58:00.205Z] "unix:///var/run/docker.sock" [2023-11-01T15:58:00.205Z] ], [2023-11-01T15:58:00.205Z] "mtu": 1458, [2023-11-01T15:58:00.205Z] "selinux-enabled": true, [2023-11-01T15:58:00.205Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-01T15:58:00.205Z] } [Pipeline] sh [2023-11-01T15:58:00.547Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-01T15:58:00.920Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T15:58:23.132Z] provisioning config files... [2023-11-01T15:58:23.165Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config17402348817128095431tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T15:58:23.535Z] ---> docker-login.sh [2023-11-01T15:58:23.535Z] nexus3.edgexfoundry.org:10001 [2023-11-01T15:58:23.808Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:58:24.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:58:24.398Z] Configure a credential helper to remove this warning. See [2023-11-01T15:58:24.398Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:58:24.398Z] [2023-11-01T15:58:24.398Z] Login Succeeded [2023-11-01T15:58:24.398Z] nexus3.edgexfoundry.org:10002 [2023-11-01T15:58:24.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:58:24.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:58:24.668Z] Configure a credential helper to remove this warning. See [2023-11-01T15:58:24.668Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:58:24.668Z] [2023-11-01T15:58:24.668Z] Login Succeeded [2023-11-01T15:58:24.668Z] nexus3.edgexfoundry.org:10003 [2023-11-01T15:58:24.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:58:24.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:58:24.937Z] Configure a credential helper to remove this warning. See [2023-11-01T15:58:24.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:58:24.937Z] [2023-11-01T15:58:24.937Z] Login Succeeded [2023-11-01T15:58:24.937Z] nexus3.edgexfoundry.org:10004 [2023-11-01T15:58:25.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:58:25.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:58:25.482Z] Configure a credential helper to remove this warning. See [2023-11-01T15:58:25.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:58:25.482Z] [2023-11-01T15:58:25.482Z] Login Succeeded [2023-11-01T15:58:25.482Z] docker.io [2023-11-01T15:58:25.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-01T15:58:26.077Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-11-01T15:58:26.077Z] Configure a credential helper to remove this warning. See [2023-11-01T15:58:26.077Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-11-01T15:58:26.077Z] [2023-11-01T15:58:26.077Z] Login Succeeded [2023-11-01T15:58:26.077Z] ---> docker-login.sh ends [Pipeline] } [2023-11-01T15:58:26.093Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-01T15:58:26.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T15:58:26.404Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-01T15:58:26.419Z] ========================================================= [2023-11-01T15:58:26.419Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-01T15:58:26.419Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T15:58:26.782Z] + 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-11-01T15:58:27.054Z] Sending build context to Docker daemon 6.021MB [2023-11-01T15:58:27.326Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T15:58:27.327Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-01T15:58:27.327Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-01T15:58:27.327Z] 9fda8d8052c6: Pulling fs layer [2023-11-01T15:58:27.327Z] 5d54e960e981: Pulling fs layer [2023-11-01T15:58:27.327Z] c4a7e357bf2a: Pulling fs layer [2023-11-01T15:58:27.327Z] f0e02332f6b5: Pulling fs layer [2023-11-01T15:58:27.327Z] cefa15bbcfad: Pulling fs layer [2023-11-01T15:58:27.327Z] 17808c966233: Pulling fs layer [2023-11-01T15:58:27.327Z] f4c1fc716caa: Pulling fs layer [2023-11-01T15:58:27.327Z] cefa15bbcfad: Waiting [2023-11-01T15:58:27.327Z] 17808c966233: Waiting [2023-11-01T15:58:27.327Z] f4c1fc716caa: Waiting [2023-11-01T15:58:27.327Z] f0e02332f6b5: Waiting [2023-11-01T15:58:27.603Z] 5d54e960e981: Verifying Checksum [2023-11-01T15:58:27.603Z] 5d54e960e981: Download complete [2023-11-01T15:58:27.603Z] f0e02332f6b5: Verifying Checksum [2023-11-01T15:58:27.603Z] f0e02332f6b5: Download complete [2023-11-01T15:58:27.603Z] cefa15bbcfad: Verifying Checksum [2023-11-01T15:58:27.603Z] cefa15bbcfad: Download complete [2023-11-01T15:58:27.603Z] 9fda8d8052c6: Verifying Checksum [2023-11-01T15:58:27.603Z] 9fda8d8052c6: Download complete [2023-11-01T15:58:28.194Z] f4c1fc716caa: Verifying Checksum [2023-11-01T15:58:28.194Z] f4c1fc716caa: Download complete [2023-11-01T15:58:29.617Z] c4a7e357bf2a: Download complete [2023-11-01T15:58:30.207Z] 17808c966233: Verifying Checksum [2023-11-01T15:58:30.208Z] 17808c966233: Download complete [2023-11-01T15:58:31.633Z] 9fda8d8052c6: Pull complete [2023-11-01T15:58:31.983Z] 5d54e960e981: Pull complete [2023-11-01T15:58:47.068Z] c4a7e357bf2a: Pull complete [2023-11-01T15:58:47.068Z] f0e02332f6b5: Pull complete [2023-11-01T15:58:47.068Z] cefa15bbcfad: Pull complete [2023-11-01T15:58:55.295Z] 17808c966233: Pull complete [2023-11-01T15:58:56.264Z] f4c1fc716caa: Pull complete [2023-11-01T15:58:56.264Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-11-01T15:58:56.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-01T15:58:56.264Z] ---> ea914061e18c [2023-11-01T15:58:56.264Z] Step 3/10 : ARG MAKE=make build [2023-11-01T15:58:58.239Z] ---> Running in a12ef49ef3a2 [2023-11-01T15:58:58.509Z] Removing intermediate container a12ef49ef3a2 [2023-11-01T15:58:58.509Z] ---> a96094d5d59d [2023-11-01T15:58:58.509Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-01T15:58:58.509Z] ---> Running in de87c6851ea4 [2023-11-01T15:58:59.108Z] Removing intermediate container de87c6851ea4 [2023-11-01T15:58:59.108Z] ---> a139d16a6a14 [2023-11-01T15:58:59.108Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T15:58:59.108Z] ---> Running in cd409a635664 [2023-11-01T15:58:59.378Z] Removing intermediate container cd409a635664 [2023-11-01T15:58:59.378Z] ---> 4139537a5ebc [2023-11-01T15:58:59.378Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-01T15:58:59.647Z] ---> Running in a2f8723e040d [2023-11-01T15:59:01.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T15:59:01.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T15:59:02.485Z] OK: 266 MiB in 52 packages [2023-11-01T15:59:03.524Z] Removing intermediate container a2f8723e040d [2023-11-01T15:59:03.524Z] ---> 11ebc171c7b1 [2023-11-01T15:59:03.524Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-01T15:59:04.113Z] ---> 9cfb87f7caf7 [2023-11-01T15:59:04.113Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T15:59:04.113Z] ---> Running in b3dd0f3de04f [2023-11-01T16:00:25.811Z] Removing intermediate container b3dd0f3de04f [2023-11-01T16:00:25.811Z] ---> f91ef4f34106 [2023-11-01T16:00:25.811Z] Step 9/10 : COPY . . [2023-11-01T16:00:25.811Z] ---> 444cf8b62fd9 [2023-11-01T16:00:25.811Z] Step 10/10 : RUN ${MAKE} [2023-11-01T16:00:25.811Z] ---> Running in 6674e3d13c26 [2023-11-01T16:00:25.811Z] noop [2023-11-01T16:00:25.811Z] Removing intermediate container 6674e3d13c26 [2023-11-01T16:00:25.811Z] ---> 9f66de076d4a [2023-11-01T16:00:25.811Z] Successfully built 9f66de076d4a [2023-11-01T16:00:25.811Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:00:26.180Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T16:00:26.180Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:00:26.422Z] prd-ubuntu20.04-docker-arm64-4c-16g-16189 does not seem to be running inside a container [2023-11-01T16:00:26.507Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-01T16:00:27.860Z] $ docker top 9edb594550022a756df594bb5eb2ff8364981dd42026f02fbf08d402f36bfb3d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T16:00:28.749Z] + go version [2023-11-01T16:00:28.749Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-01T16:00:28.777Z] $ docker stop --time=1 9edb594550022a756df594bb5eb2ff8364981dd42026f02fbf08d402f36bfb3d [2023-11-01T16:00:30.502Z] $ docker rm -f --volumes 9edb594550022a756df594bb5eb2ff8364981dd42026f02fbf08d402f36bfb3d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:00:31.840Z] + docker inspect -f . ci-base-image-arm64 [2023-11-01T16:00:31.840Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:00:32.046Z] prd-ubuntu20.04-docker-arm64-4c-16g-16189 does not seem to be running inside a container [2023-11-01T16:00:32.126Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-01T16:00:33.484Z] $ docker top 07425941c3044e8c438fe8a588968b3d64f0d95e283b040b81a42984e72e61db -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T16:00:34.335Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-11-01T16:00:34.992Z] + make test [2023-11-01T16:00:34.992Z] go test -race -coverprofile=coverage.out ./... [2023-11-01T16:01:21.884Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-01T16:03:43.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-01T16:03:43.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-01T16:03:43.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-01T16:03:43.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-01T16:03:43.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-01T16:03:43.904Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.212s coverage: 27.6% of statements [2023-11-01T16:03:53.979Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.293s coverage: 81.5% of statements [2023-11-01T16:04:02.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-01T16:04:02.184Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-01T16:04:02.772Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.387s coverage: 86.0% of statements [2023-11-01T16:04:08.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-01T16:04:09.095Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.490s coverage: 71.8% of statements [2023-11-01T16:04:12.456Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.291s coverage: 14.4% of statements [2023-11-01T16:04:12.456Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.076s coverage: 45.6% of statements [2023-11-01T16:04:13.041Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-01T16:04:13.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-01T16:04:14.470Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.402s coverage: 68.5% of statements [2023-11-01T16:04:17.836Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.464s coverage: 89.2% of statements [2023-11-01T16:04:18.422Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-01T16:04:19.832Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.244s coverage: 5.5% of statements [2023-11-01T16:04:23.188Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-01T16:04:23.188Z] GO111MODULE=on go vet ./... [2023-11-01T16:06:44.917Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-01T16:06:44.917Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-01T16:06:44.917Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-01T16:06:44.935Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-01T16:06:44.944Z] $ docker stop --time=1 07425941c3044e8c438fe8a588968b3d64f0d95e283b040b81a42984e72e61db [2023-11-01T16:06:46.821Z] $ docker rm -f --volumes 07425941c3044e8c438fe8a588968b3d64f0d95e283b040b81a42984e72e61db [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-01T16:06:48.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-01T16:06:48.513Z] Warning: overwriting stash ‘coverage-report’ [2023-11-01T16:06:49.071Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-01T16:06:49.440Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-01T16:06:49.755Z] + ls -al . [2023-11-01T16:06:49.755Z] total 300 [2023-11-01T16:06:49.755Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 1 16:00 . [2023-11-01T16:06:49.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:57 .. [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 1 15:57 .dockerignore [2023-11-01T16:06:49.755Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 1 15:57 .git [2023-11-01T16:06:49.755Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:57 .github [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 1 15:57 .gitignore [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 1 15:57 .golangci.yml [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 44878 Nov 1 15:57 CHANGELOG.md [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 1 15:57 GOVERNANCE.md [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 1 15:57 Jenkinsfile [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 1 15:57 LICENSE [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 1 15:57 Makefile [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 1 15:57 OWNERS.md [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 1 15:57 README.md [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 1 15:47 VERSION [2023-11-01T16:06:49.755Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 1 15:57 bin [2023-11-01T16:06:49.755Z] -rw-r--r-- 1 jenkins jenkins 122155 Nov 1 16:04 coverage.out [2023-11-01T16:06:49.755Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 1 15:57 example [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 3723 Nov 1 15:57 go.mod [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 34277 Nov 1 15:57 go.sum [2023-11-01T16:06:49.755Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 15:57 internal [2023-11-01T16:06:49.755Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 1 15:57 openapi [2023-11-01T16:06:49.755Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 1 15:57 pkg [2023-11-01T16:06:49.755Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 1 15:57 snap [2023-11-01T16:06:49.755Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 1 15:57 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:06:50.089Z] + 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=e29fde07f71cd63801829b35788a0c73dd6f5eb6 --label arch=arm64 --label version=0.0.0 . [2023-11-01T16:06:50.355Z] Sending build context to Docker daemon 6.144MB [2023-11-01T16:06:50.621Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-11-01T16:06:50.621Z] Step 2/23 : FROM ${BASE} AS builder [2023-11-01T16:06:50.621Z] ---> 9f66de076d4a [2023-11-01T16:06:50.621Z] Step 3/23 : ARG MAKE=make build [2023-11-01T16:06:50.621Z] ---> Running in d9d96b8af0f9 [2023-11-01T16:06:50.890Z] Removing intermediate container d9d96b8af0f9 [2023-11-01T16:06:50.890Z] ---> 47989e0383bd [2023-11-01T16:06:50.890Z] Step 4/23 : WORKDIR /device-sdk-go [2023-11-01T16:06:51.241Z] ---> Running in 4e4e3c1bc766 [2023-11-01T16:06:51.523Z] Removing intermediate container 4e4e3c1bc766 [2023-11-01T16:06:51.523Z] ---> 1dd5d1e5b988 [2023-11-01T16:06:51.523Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-01T16:06:51.523Z] ---> Running in bd2ae0896025 [2023-11-01T16:06:51.825Z] Removing intermediate container bd2ae0896025 [2023-11-01T16:06:51.825Z] ---> de1e2218fc89 [2023-11-01T16:06:51.825Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-11-01T16:06:52.124Z] ---> Running in 86f714b52d61 [2023-11-01T16:06:53.131Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T16:06:53.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T16:06:54.870Z] OK: 266 MiB in 52 packages [2023-11-01T16:06:55.458Z] Removing intermediate container 86f714b52d61 [2023-11-01T16:06:55.458Z] ---> 59d85a975b1c [2023-11-01T16:06:55.458Z] Step 7/23 : COPY go.mod vendor* ./ [2023-11-01T16:06:56.043Z] ---> ad9a8ad1911e [2023-11-01T16:06:56.043Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-01T16:06:56.043Z] ---> Running in 47172fd9b2d3 [2023-11-01T16:06:58.036Z] Removing intermediate container 47172fd9b2d3 [2023-11-01T16:06:58.036Z] ---> 43e387f337ba [2023-11-01T16:06:58.036Z] Step 9/23 : COPY . . [2023-11-01T16:06:59.445Z] ---> 131e7e7f4839 [2023-11-01T16:06:59.445Z] Step 10/23 : RUN ${MAKE} [2023-11-01T16:06:59.445Z] ---> Running in 9e80a10d4716 [2023-11-01T16:07:00.403Z] 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-11-01T16:09:07.077Z] Removing intermediate container 9e80a10d4716 [2023-11-01T16:09:07.077Z] ---> 250662bd92cc [2023-11-01T16:09:07.077Z] Step 11/23 : FROM alpine:3.18 [2023-11-01T16:09:07.077Z] 3.18: Pulling from library/alpine [2023-11-01T16:09:07.077Z] 579b34f0a95b: Pulling fs layer [2023-11-01T16:09:07.077Z] 579b34f0a95b: Verifying Checksum [2023-11-01T16:09:07.077Z] 579b34f0a95b: Download complete [2023-11-01T16:09:07.077Z] 579b34f0a95b: Pull complete [2023-11-01T16:09:07.077Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-01T16:09:07.077Z] Status: Downloaded newer image for alpine:3.18 [2023-11-01T16:09:07.077Z] ---> 3cc203321400 [2023-11-01T16:09:07.077Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-01T16:09:07.077Z] ---> Running in 5fc4ef24cb08 [2023-11-01T16:09:07.077Z] Removing intermediate container 5fc4ef24cb08 [2023-11-01T16:09:07.077Z] ---> 712bd8cd553d [2023-11-01T16:09:07.077Z] Step 13/23 : RUN apk add --update --no-cache [2023-11-01T16:09:07.077Z] ---> Running in fa68c6667540 [2023-11-01T16:09:07.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-01T16:09:07.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-01T16:09:07.077Z] OK: 8 MiB in 15 packages [2023-11-01T16:09:08.035Z] Removing intermediate container fa68c6667540 [2023-11-01T16:09:08.035Z] ---> 8b0b47be28de [2023-11-01T16:09:08.035Z] Step 14/23 : WORKDIR / [2023-11-01T16:09:08.035Z] ---> Running in af4763ba13dd [2023-11-01T16:09:08.035Z] Removing intermediate container af4763ba13dd [2023-11-01T16:09:08.035Z] ---> 65857b81d96c [2023-11-01T16:09:08.035Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-01T16:09:08.619Z] ---> 2825f2cdb13b [2023-11-01T16:09:08.619Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-01T16:09:10.563Z] ---> 72239b9e2df1 [2023-11-01T16:09:10.563Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-01T16:09:10.832Z] ---> 0de45f8e62f4 [2023-11-01T16:09:10.832Z] Step 18/23 : EXPOSE 59999 [2023-11-01T16:09:11.100Z] ---> Running in c27df644b7bb [2023-11-01T16:09:11.366Z] Removing intermediate container c27df644b7bb [2023-11-01T16:09:11.366Z] ---> a01aba00da1a [2023-11-01T16:09:11.366Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-11-01T16:09:11.366Z] ---> Running in 903cb381396e [2023-11-01T16:09:11.633Z] Removing intermediate container 903cb381396e [2023-11-01T16:09:11.633Z] ---> 3ffd66bd3828 [2023-11-01T16:09:11.633Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-01T16:09:11.916Z] ---> Running in cb40e113463f [2023-11-01T16:09:12.184Z] Removing intermediate container cb40e113463f [2023-11-01T16:09:12.184Z] ---> 0c9caad9fba4 [2023-11-01T16:09:12.184Z] Step 21/23 : LABEL arch=arm64 [2023-11-01T16:09:12.184Z] ---> Running in 63ce7e05ae39 [2023-11-01T16:09:12.451Z] Removing intermediate container 63ce7e05ae39 [2023-11-01T16:09:12.451Z] ---> 9bfde37bccb7 [2023-11-01T16:09:12.451Z] Step 22/23 : LABEL git_sha=e29fde07f71cd63801829b35788a0c73dd6f5eb6 [2023-11-01T16:09:12.719Z] ---> Running in 0b5a3f924588 [2023-11-01T16:09:12.987Z] Removing intermediate container 0b5a3f924588 [2023-11-01T16:09:12.987Z] ---> feabf6a27417 [2023-11-01T16:09:12.987Z] Step 23/23 : LABEL version=0.0.0 [2023-11-01T16:09:12.988Z] ---> Running in 2a0534984625 [2023-11-01T16:09:13.256Z] Removing intermediate container 2a0534984625 [2023-11-01T16:09:13.256Z] ---> 1cbf90576031 [2023-11-01T16:09:13.256Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-01T16:09:13.524Z] Successfully built 1cbf90576031 [2023-11-01T16:09:13.524Z] 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-11-01T16:09:13.966Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T16:09:13.966Z] [2023-11-01T16:09:13.966Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:09:14.311Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T16:09:14.581Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-01T16:09:14.581Z] 8998bd30e6a1: Pulling fs layer [2023-11-01T16:09:14.581Z] 04944245beec: Pulling fs layer [2023-11-01T16:09:14.581Z] 699f458cf7ca: Pulling fs layer [2023-11-01T16:09:14.581Z] 765212b225bb: Pulling fs layer [2023-11-01T16:09:14.581Z] f23df028b6ca: Pulling fs layer [2023-11-01T16:09:14.581Z] d65c8cfc05b1: Pulling fs layer [2023-11-01T16:09:14.581Z] 2437ff75d9bd: Pulling fs layer [2023-11-01T16:09:14.581Z] 765212b225bb: Waiting [2023-11-01T16:09:14.581Z] f23df028b6ca: Waiting [2023-11-01T16:09:14.581Z] d65c8cfc05b1: Waiting [2023-11-01T16:09:14.581Z] 2437ff75d9bd: Waiting [2023-11-01T16:09:14.581Z] 04944245beec: Verifying Checksum [2023-11-01T16:09:14.581Z] 04944245beec: Download complete [2023-11-01T16:09:14.581Z] 765212b225bb: Verifying Checksum [2023-11-01T16:09:14.581Z] 765212b225bb: Download complete [2023-11-01T16:09:14.581Z] f23df028b6ca: Verifying Checksum [2023-11-01T16:09:14.581Z] f23df028b6ca: Download complete [2023-11-01T16:09:14.849Z] d65c8cfc05b1: Verifying Checksum [2023-11-01T16:09:14.849Z] d65c8cfc05b1: Download complete [2023-11-01T16:09:14.849Z] 699f458cf7ca: Verifying Checksum [2023-11-01T16:09:14.849Z] 699f458cf7ca: Download complete [2023-11-01T16:09:15.435Z] 8998bd30e6a1: Verifying Checksum [2023-11-01T16:09:15.435Z] 8998bd30e6a1: Download complete [2023-11-01T16:09:18.018Z] 2437ff75d9bd: Verifying Checksum [2023-11-01T16:09:18.018Z] 2437ff75d9bd: Download complete [2023-11-01T16:09:19.966Z] 8998bd30e6a1: Pull complete [2023-11-01T16:09:20.552Z] 04944245beec: Pull complete [2023-11-01T16:09:22.500Z] 699f458cf7ca: Pull complete [2023-11-01T16:09:22.500Z] 765212b225bb: Pull complete [2023-11-01T16:09:23.465Z] f23df028b6ca: Pull complete [2023-11-01T16:09:23.465Z] d65c8cfc05b1: Pull complete [2023-11-01T16:09:41.680Z] 2437ff75d9bd: Pull complete [2023-11-01T16:09:41.680Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-01T16:09:41.680Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-01T16:09:41.680Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:09:41.866Z] prd-ubuntu20.04-docker-arm64-4c-16g-16189 does not seem to be running inside a container [2023-11-01T16:09:41.928Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-01T16:09:44.936Z] $ docker top 777220df47c75810961616f4c810fb9affa51d5684eb8dfd8233d99fbdaa264f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:09:45.819Z] ---> job-cost.sh [2023-11-01T16:09:45.819Z] lf-activate-venv: SKIPPING [2023-11-01T16:09:45.819Z] INFO: No Stack... [2023-11-01T16:09:46.404Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-01T16:09:46.987Z] INFO: Archiving Costs [Pipeline] sh [2023-11-01T16:09:47.906Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-11-01T16:09:47.906Z] + cut -d, -f6 [Pipeline] lock [2023-11-01T16:09:47.993Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1531-2-stack-cost] [2023-11-01T16:09:48.005Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-2-stack-cost] did not exist. Created. [2023-11-01T16:09:48.005Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1531-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-01T16:09:48.682Z] /w/workspace/device-sdk-go/2@tmp/durable-e903f90c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-01T16:09:49.371Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-01T16:09:49.388Z] Warning: overwriting stash ‘stack-cost’ [2023-11-01T16:09:49.482Z] Stashed 1 file(s) [Pipeline] } [2023-11-01T16:09:49.492Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1531-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-01T16:09:49.513Z] $ docker stop --time=1 777220df47c75810961616f4c810fb9affa51d5684eb8dfd8233d99fbdaa264f [2023-11-01T16:09:51.096Z] $ docker rm -f --volumes 777220df47c75810961616f4c810fb9affa51d5684eb8dfd8233d99fbdaa264f [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-11-01T16:09:51.480Z] provisioning config files... [2023-11-01T16:09:51.490Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config10081221752523634382tmp [Pipeline] { [Pipeline] sh [2023-11-01T16:09:51.788Z] + set +x [2023-11-01T16:09:51.788Z] + curl -s https://codecov.io/bash [2023-11-01T16:09:51.788Z] + bash -s -- [2023-11-01T16:09:51.788Z] [2023-11-01T16:09:51.788Z] _____ _ [2023-11-01T16:09:51.788Z] / ____| | | [2023-11-01T16:09:51.788Z] | | ___ __| | ___ ___ _____ __ [2023-11-01T16:09:51.788Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-01T16:09:51.788Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-01T16:09:51.788Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-01T16:09:51.788Z] Bash-1.0.6 [2023-11-01T16:09:51.788Z] [2023-11-01T16:09:51.788Z] [2023-11-01T16:09:51.788Z] ==> git version 2.25.1 found [2023-11-01T16:09:51.788Z] ==> 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-11-01T16:09:51.788Z] Release-Date: 2020-01-08 [2023-11-01T16:09:51.788Z] 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-11-01T16:09:51.788Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-01T16:09:51.788Z] ==> Jenkins CI detected. [2023-11-01T16:09:51.788Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1531 [2023-11-01T16:09:51.788Z] project root: . [2023-11-01T16:09:51.788Z] --> token set from env [2023-11-01T16:09:51.788Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-01T16:09:51.788Z] ==> Running gcov in . (disable via -X gcov) [2023-11-01T16:09:51.788Z] ==> Python coveragepy not found [2023-11-01T16:09:51.789Z] ==> Searching for coverage reports in: [2023-11-01T16:09:51.789Z] + . [2023-11-01T16:09:51.789Z] -> Found 1 reports [2023-11-01T16:09:51.789Z] ==> Detecting git/mercurial file structure [2023-11-01T16:09:51.789Z] ==> Reading reports [2023-11-01T16:09:51.789Z] + ./coverage.out bytes=122155 [2023-11-01T16:09:51.789Z] ==> Appending adjustments [2023-11-01T16:09:51.789Z] https://docs.codecov.io/docs/fixing-reports [2023-11-01T16:09:52.049Z] + Found adjustments [2023-11-01T16:09:52.049Z] ==> Gzipping contents [2023-11-01T16:09:52.309Z] 20K /tmp/codecov.9eyOYB.gz [2023-11-01T16:09:52.309Z] ==> Uploading reports [2023-11-01T16:09:52.309Z] url: https://codecov.io [2023-11-01T16:09:52.309Z] query: branch=PR-1531&commit=e29fde07f71cd63801829b35788a0c73dd6f5eb6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1531%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1531&job=&cmd_args= [2023-11-01T16:09:52.309Z] -> Pinging Codecov [2023-11-01T16:09:52.309Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1531&commit=e29fde07f71cd63801829b35788a0c73dd6f5eb6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1531%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1531&job=&cmd_args= [2023-11-01T16:09:52.309Z] -> Uploading to [2023-11-01T16:09:52.309Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-01/7E55EF52A471D76F132DFD9A03CDDE97/e29fde07f71cd63801829b35788a0c73dd6f5eb6/9b0b9adf-4583-43a1-a945-59eb79ede2d9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231101%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231101T160952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4af470a384d9b166df1efcab8b286eb424ed79c3e2f83bbf03111d51a1cb6df8 [2023-11-01T16:09:52.309Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-01T16:09:52.309Z] Dload Upload Total Spent Left Speed [2023-11-01T16:09:52.569Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16750 0 0 100 16750 0 63688 --:--:-- --:--:-- --:--:-- 63688 [2023-11-01T16:09:52.569Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e29fde07f71cd63801829b35788a0c73dd6f5eb6 [Pipeline] } [2023-11-01T16:09:52.576Z] 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-11-01T16:09:53.323Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives ] [2023-11-01T16:09:53.323Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives [2023-11-01T16:09:53.323Z] total 16 [2023-11-01T16:09:53.323Z] drwxr-xr-x 3 root root 4096 Nov 1 15:53 . [2023-11-01T16:09:53.323Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 15:53 .. [2023-11-01T16:09:53.323Z] drwxr-xr-x 2 root root 4096 Nov 1 15:53 cost [2023-11-01T16:09:53.323Z] -rw-r--r-- 1 root root 86 Nov 1 15:53 cost.csv [2023-11-01T16:09:53.323Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives [2023-11-01T16:09:53.323Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives [2023-11-01T16:09:53.323Z] total 16 [2023-11-01T16:09:53.323Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 1 15:53 . [2023-11-01T16:09:53.323Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 1 15:53 .. [2023-11-01T16:09:53.323Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 1 15:53 cost [2023-11-01T16:09:53.323Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 1 15:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:09:53.616Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:09:54.477Z] ---> package-listing.sh [2023-11-01T16:09:54.477Z] ++ facter osfamily [2023-11-01T16:09:54.477Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-01T16:09:54.736Z] + OS_FAMILY=debian [2023-11-01T16:09:54.736Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1531 [2023-11-01T16:09:54.736Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-01T16:09:54.736Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-01T16:09:54.736Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-01T16:09:54.736Z] + PACKAGES=/tmp/packages_start.txt [2023-11-01T16:09:54.736Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1531 ']' [2023-11-01T16:09:54.736Z] + PACKAGES=/tmp/packages_end.txt [2023-11-01T16:09:54.736Z] + case "${OS_FAMILY}" in [2023-11-01T16:09:54.736Z] + dpkg -l [2023-11-01T16:09:54.736Z] + grep '^ii' [2023-11-01T16:09:54.736Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-01T16:09:54.736Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-01T16:09:54.736Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-01T16:09:54.736Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1531 ']' [2023-11-01T16:09:54.736Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives/ [2023-11-01T16:09:54.736Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1531/archives/ [Pipeline] echo [2023-11-01T16:09:54.746Z] 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-1531/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-01T16:09:55.023Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-01T16:09:55.590Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-01T16:09:55.590Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-01T16:09:55.660Z] prd-ubuntu20.04-docker-8c-8g-16159 does not seem to be running inside a container [2023-11-01T16:09:55.693Z] $ 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-1531/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-1531 -v /w/workspace/gexfoundry_device-sdk-go_PR-1531:/w/workspace/gexfoundry_device-sdk-go_PR-1531:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1531@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-01T16:09:56.666Z] $ docker top 2f4cbeef47dd9dacd364ebe8b693fab481076613489c28e31cb3f59acb9aaf23 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-01T16:09:57.009Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-01T16:09:57.297Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-01T16:09:57.579Z] + ls /var/log/sa-host [2023-11-01T16:09:57.580Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-01T16:09:57.641Z] provisioning config files... [2023-11-01T16:09:57.649Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1531@tmp/config15426558831616159742tmp [Pipeline] { [Pipeline] echo [2023-11-01T16:09:57.660Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:09:57.939Z] ---> create-netrc.sh [Pipeline] } [2023-11-01T16:09:57.946Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:09:58.276Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-01T16:09:58.286Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:09:58.567Z] ---> sudo-logs.sh [2023-11-01T16:09:58.567Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-01T16:09:58.605Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:09:58.895Z] ---> job-cost.sh [2023-11-01T16:09:58.895Z] lf-activate-venv: SKIPPING [2023-11-01T16:09:58.895Z] DEBUG: total: 0.2199999988079071 [2023-11-01T16:09:58.895Z] INFO: Retrieving Stack Cost... [2023-11-01T16:09:59.153Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-01T16:09:59.720Z] INFO: Archiving Costs [Pipeline] echo [2023-11-01T16:09:59.731Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-01T16:10:00.016Z] ---> logs-deploy.sh [2023-11-01T16:10:00.016Z] lf-activate-venv: SKIPPING [2023-11-01T16:10:00.016Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1531/2 [2023-11-01T16:10:00.016Z] INFO: archiving workspace using pattern(s): [2023-11-01T16:10:00.971Z] Archives upload complete. [2023-11-01T16:10:01.230Z] INFO: archiving logs to Nexus