Pull request #1451 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 3563ea3fef02eab19ce29a2bf1392e0bc2eae64f rather than 3ff27c8034d8513ff3d16b9ce2499d8840589bf6 Obtained Jenkinsfile from 3563ea3fef02eab19ce29a2bf1392e0bc2eae64f 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-ssh6012803301000775352.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh18442142879153076099.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-1451/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-1451/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5578008914853181608.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh3743091460754876801.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-1451/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-1451/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7080685445340271468.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.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14773 in /w/workspace/gexfoundry_device-sdk-go_PR-1451 [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-1451 # 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/1451/head:refs/remotes/origin/PR-1451 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3563ea3fef02eab19ce29a2bf1392e0bc2eae64f into PR head commit 3ff27c8034d8513ff3d16b9ce2499d8840589bf6 Merge succeeded, producing 63c0e8a6aac02f6d0e811f0b5d11c545b1122290 Checking out Revision 63c0e8a6aac02f6d0e811f0b5d11c545b1122290 (PR-1451) > git config core.sparsecheckout # timeout=10 > git checkout -f 3ff27c8034d8513ff3d16b9ce2499d8840589bf6 # 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 3563ea3fef02eab19ce29a2bf1392e0bc2eae64f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 63c0e8a6aac02f6d0e811f0b5d11c545b1122290 # timeout=10 Commit message: "Merge commit '3563ea3fef02eab19ce29a2bf1392e0bc2eae64f' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk aa4886d49c7fc6919b7e20f675aedf53cefe5eaf # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-09T21:31:06.783Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-09T21:31:06.852Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-09T21:31:06.865Z] ========================================================= [2023-05-09T21:31:06.865Z] EdgeX Global Pipelines Version Info [2023-05-09T21:31:06.865Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:31:07.578Z] ------------------- [2023-05-09T21:31:07.578Z] stable info: [2023-05-09T21:31:07.578Z] ------------------- [2023-05-09T21:31:07.578Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-09T21:31:07.578Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T21:31:07.578Z] Message: update stable to v1.0.249 [2023-05-09T21:31:08.156Z] ------------------- [2023-05-09T21:31:08.156Z] experimental info: [2023-05-09T21:31:08.156Z] ------------------- [2023-05-09T21:31:08.156Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-09T21:31:08.156Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T21:31:08.156Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-09T21:31:08.338Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-09T21:31:08.351Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-09T21:31:08.364Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-09T21:31:08.378Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-09T21:31:08.390Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-09T21:31:08.401Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-09T21:31:08.411Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-09T21:31:08.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-09T21:31:08.434Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-09T21:31:08.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-09T21:31:08.456Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-09T21:31:08.467Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-09T21:31:08.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-09T21:31:08.495Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-09T21:31:08.509Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T21:31:08.525Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T21:31:08.545Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T21:31:08.561Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T21:31:08.580Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-09T21:31:08.600Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-09T21:31:08.615Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-09T21:31:08.629Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-09T21:31:08.642Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-09T21:31:08.660Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-09T21:31:08.677Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-09T21:31:08.691Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-09T21:31:08.705Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-09T21:31:08.720Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1451 [Pipeline] echo [2023-05-09T21:31:08.737Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1451 [Pipeline] echo [2023-05-09T21:31:08.754Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1451 [Pipeline] echo [2023-05-09T21:31:08.771Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 63c0e8a6aac02f6d0e811f0b5d11c545b1122290 [Pipeline] echo [2023-05-09T21:31:08.792Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 63c0e8a [Pipeline] echo [2023-05-09T21:31:08.811Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T21:31:08.872Z] provisioning config files... [2023-05-09T21:31:08.885Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config15687062906226874126tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:31:09.186Z] ---> docker-login.sh [2023-05-09T21:31:09.187Z] nexus3.edgexfoundry.org:10001 [2023-05-09T21:31:09.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:31:09.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:31:09.448Z] Configure a credential helper to remove this warning. See [2023-05-09T21:31:09.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:31:09.448Z] [2023-05-09T21:31:09.448Z] Login Succeeded [2023-05-09T21:31:09.448Z] nexus3.edgexfoundry.org:10002 [2023-05-09T21:31:09.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:31:09.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:31:09.448Z] Configure a credential helper to remove this warning. See [2023-05-09T21:31:09.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:31:09.448Z] [2023-05-09T21:31:09.448Z] Login Succeeded [2023-05-09T21:31:09.448Z] nexus3.edgexfoundry.org:10003 [2023-05-09T21:31:09.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:31:09.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:31:09.708Z] Configure a credential helper to remove this warning. See [2023-05-09T21:31:09.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:31:09.708Z] [2023-05-09T21:31:09.708Z] Login Succeeded [2023-05-09T21:31:09.708Z] nexus3.edgexfoundry.org:10004 [2023-05-09T21:31:09.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:31:09.708Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:31:09.708Z] Configure a credential helper to remove this warning. See [2023-05-09T21:31:09.708Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:31:09.708Z] [2023-05-09T21:31:09.708Z] Login Succeeded [2023-05-09T21:31:09.708Z] docker.io [2023-05-09T21:31:09.708Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:31:09.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:31:09.970Z] Configure a credential helper to remove this warning. See [2023-05-09T21:31:09.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:31:09.970Z] [2023-05-09T21:31:09.970Z] Login Succeeded [2023-05-09T21:31:09.970Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T21:31:09.979Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-09T21:31:10.403Z] + git rev-list -1 --merges 63c0e8a6aac02f6d0e811f0b5d11c545b1122290~1..63c0e8a6aac02f6d0e811f0b5d11c545b1122290 [Pipeline] echo [2023-05-09T21:31:10.475Z] -----------> git rev-list -1 --merges 63c0e8a6aac02f6d0e811f0b5d11c545b1122290~1..63c0e8a6aac02f6d0e811f0b5d11c545b1122290 63c0e8a6aac02f6d0e811f0b5d11c545b1122290 [2023-05-09T21:31:10.475Z] 63c0e8a6aac02f6d0e811f0b5d11c545b1122290 [false] [Pipeline] sh [2023-05-09T21:31:10.759Z] + git log --format=format:%s -1 63c0e8a6aac02f6d0e811f0b5d11c545b1122290 [Pipeline] echo [2023-05-09T21:31:10.774Z] ========================================================= [2023-05-09T21:31:10.774Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T21:31:10.774Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T21:31:11.099Z] + git log --format=format:%s -1 63c0e8a6aac02f6d0e811f0b5d11c545b1122290 [Pipeline] echo [2023-05-09T21:31:11.111Z] [semverPrep] GIT_COMMIT: 63c0e8a6aac02f6d0e811f0b5d11c545b1122290, Commit Message: Merge commit '3563ea3fef02eab19ce29a2bf1392e0bc2eae64f' into HEAD [Pipeline] echo [2023-05-09T21:31:11.120Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-09T21:31:11.500Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T21:31:11.500Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-09T21:31:11.500Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-09T21:31:11.500Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-09T21:31:11.500Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-05-09T21:31:11.500Z] -a /etc/ssh/ssh_known_hosts [2023-05-09T21:31:11.500Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:31:11.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T21:31:11.937Z] [2023-05-09T21:31:11.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:31:12.248Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T21:31:12.248Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-09T21:31:12.248Z] b85a868b505f: Pulling fs layer [2023-05-09T21:31:12.248Z] e2be974225ed: Pulling fs layer [2023-05-09T21:31:12.248Z] 339a4e72a1f5: Pulling fs layer [2023-05-09T21:31:12.248Z] 988bab9f4d93: Pulling fs layer [2023-05-09T21:31:12.248Z] 1469e6f7b9e6: Pulling fs layer [2023-05-09T21:31:12.248Z] eaf3925da568: Pulling fs layer [2023-05-09T21:31:12.248Z] bab4dde63d76: Pulling fs layer [2023-05-09T21:31:12.248Z] bde34c3a00c8: Pulling fs layer [2023-05-09T21:31:12.248Z] b352a97aabf1: Pulling fs layer [2023-05-09T21:31:12.248Z] 4872d77fe225: Pulling fs layer [2023-05-09T21:31:12.248Z] 5851b861e8e6: Pulling fs layer [2023-05-09T21:31:12.248Z] bab4dde63d76: Waiting [2023-05-09T21:31:12.248Z] bde34c3a00c8: Waiting [2023-05-09T21:31:12.248Z] b352a97aabf1: Waiting [2023-05-09T21:31:12.248Z] 4872d77fe225: Waiting [2023-05-09T21:31:12.248Z] 5851b861e8e6: Waiting [2023-05-09T21:31:12.248Z] 988bab9f4d93: Waiting [2023-05-09T21:31:12.248Z] eaf3925da568: Waiting [2023-05-09T21:31:12.248Z] 1469e6f7b9e6: Waiting [2023-05-09T21:31:12.248Z] e2be974225ed: Verifying Checksum [2023-05-09T21:31:12.248Z] e2be974225ed: Download complete [2023-05-09T21:31:12.248Z] 988bab9f4d93: Download complete [2023-05-09T21:31:12.509Z] 1469e6f7b9e6: Verifying Checksum [2023-05-09T21:31:12.509Z] 1469e6f7b9e6: Download complete [2023-05-09T21:31:12.509Z] 339a4e72a1f5: Verifying Checksum [2023-05-09T21:31:12.509Z] 339a4e72a1f5: Download complete [2023-05-09T21:31:12.509Z] bde34c3a00c8: Verifying Checksum [2023-05-09T21:31:12.509Z] bde34c3a00c8: Download complete [2023-05-09T21:31:12.509Z] b352a97aabf1: Download complete [2023-05-09T21:31:12.509Z] 4872d77fe225: Verifying Checksum [2023-05-09T21:31:12.509Z] 4872d77fe225: Download complete [2023-05-09T21:31:12.509Z] 5851b861e8e6: Verifying Checksum [2023-05-09T21:31:12.509Z] 5851b861e8e6: Download complete [2023-05-09T21:31:12.509Z] b85a868b505f: Download complete [2023-05-09T21:31:12.771Z] bab4dde63d76: Verifying Checksum [2023-05-09T21:31:12.771Z] bab4dde63d76: Download complete [2023-05-09T21:31:13.707Z] b85a868b505f: Pull complete [2023-05-09T21:31:13.707Z] e2be974225ed: Pull complete [2023-05-09T21:31:14.276Z] 339a4e72a1f5: Pull complete [2023-05-09T21:31:14.276Z] 988bab9f4d93: Pull complete [2023-05-09T21:31:14.535Z] 1469e6f7b9e6: Pull complete [2023-05-09T21:31:14.535Z] eaf3925da568: Pull complete [2023-05-09T21:31:16.443Z] bab4dde63d76: Pull complete [2023-05-09T21:31:16.443Z] bde34c3a00c8: Pull complete [2023-05-09T21:31:16.443Z] b352a97aabf1: Pull complete [2023-05-09T21:31:16.443Z] 4872d77fe225: Pull complete [2023-05-09T21:31:16.443Z] 5851b861e8e6: Pull complete [2023-05-09T21:31:16.443Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-09T21:31:16.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T21:31:16.443Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:31:16.544Z] prd-ubuntu20.04-docker-8c-8g-14773 does not seem to be running inside a container [2023-05-09T21:31:16.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@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-devops/py-git-semver:0.1.4 cat [2023-05-09T21:31:19.320Z] $ docker top 6a41d8d1a9d6ba88ec6dc592f3705bce34faac7df0e1cff1659a81c011fb2754 -eo pid,comm [2023-05-09T21:31:19.371Z] 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-05-09T21:31:19.371Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T21:31:19.411Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T21:31:19.411Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T21:31:19.517Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T21:31:19.519Z] $ docker exec 6a41d8d1a9d6ba88ec6dc592f3705bce34faac7df0e1cff1659a81c011fb2754 ssh-agent [2023-05-09T21:31:19.624Z] SSH_AUTH_SOCK=/tmp/ssh-Gc90LhlB0AtV/agent.32 [2023-05-09T21:31:19.624Z] SSH_AGENT_PID=38 [2023-05-09T21:31:19.631Z] Running ssh-add (command line suppressed) [2023-05-09T21:31:19.731Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_4599598703048328243.key (/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_4599598703048328243.key) [2023-05-09T21:31:19.749Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T21:31:20.048Z] + git tag --points-at HEAD [Pipeline] } [2023-05-09T21:31:20.065Z] $ docker exec --env ******** --env ******** 6a41d8d1a9d6ba88ec6dc592f3705bce34faac7df0e1cff1659a81c011fb2754 ssh-agent -k [2023-05-09T21:31:20.165Z] unset SSH_AUTH_SOCK; [2023-05-09T21:31:20.165Z] unset SSH_AGENT_PID; [2023-05-09T21:31:20.165Z] echo Agent pid 38 killed; [2023-05-09T21:31:20.178Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-09T21:31:20.207Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T21:31:20.207Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T21:31:20.304Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T21:31:20.306Z] $ docker exec 6a41d8d1a9d6ba88ec6dc592f3705bce34faac7df0e1cff1659a81c011fb2754 ssh-agent [2023-05-09T21:31:20.406Z] SSH_AUTH_SOCK=/tmp/ssh-Teph8fmGk2oI/agent.70 [2023-05-09T21:31:20.406Z] SSH_AGENT_PID=76 [2023-05-09T21:31:20.411Z] Running ssh-add (command line suppressed) [2023-05-09T21:31:20.497Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_6017081174162441832.key (/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/private_key_6017081174162441832.key) [2023-05-09T21:31:20.510Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T21:31:20.799Z] + git semver init [2023-05-09T21:31:21.057Z] 2023-05-09 21:31:20,970 [run_init] DEBUG init version:0.0.0 force:False [2023-05-09T21:31:21.057Z] 2023-05-09 21:31:20,970 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver [2023-05-09T21:31:21.057Z] 2023-05-09 21:31:20,971 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver [2023-05-09T21:31:21.057Z] 2023-05-09 21:31:20,971 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451, universal_newlines=False, shell=None, istream=None) [2023-05-09T21:31:21.994Z] 2023-05-09 21:31:21,888 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.git/info/exclude [2023-05-09T21:31:21.994Z] 2023-05-09 21:31:21,889 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 with force:False [2023-05-09T21:31:21.994Z] 2023-05-09 21:31:21,889 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 [2023-05-09T21:31:21.994Z] 2023-05-09 21:31:21,891 [execute] INFO git cat-file --batch-check [2023-05-09T21:31:21.994Z] 2023-05-09 21:31:21,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T21:31:21.994Z] 2023-05-09 21:31:21,895 [execute] INFO git cat-file --batch [2023-05-09T21:31:21.994Z] 2023-05-09 21:31:21,895 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T21:31:21.994Z] 2023-05-09 21:31:21,900 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1451/.semver/PR-1451 [2023-05-09T21:31:21.994Z] 0.0.0 [Pipeline] } [2023-05-09T21:31:22.004Z] $ docker exec --env ******** --env ******** 6a41d8d1a9d6ba88ec6dc592f3705bce34faac7df0e1cff1659a81c011fb2754 ssh-agent -k [2023-05-09T21:31:22.096Z] unset SSH_AUTH_SOCK; [2023-05-09T21:31:22.096Z] unset SSH_AGENT_PID; [2023-05-09T21:31:22.096Z] echo Agent pid 76 killed; [2023-05-09T21:31:22.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T21:31:22.410Z] + git semver [Pipeline] } [2023-05-09T21:31:22.685Z] $ docker stop --time=1 6a41d8d1a9d6ba88ec6dc592f3705bce34faac7df0e1cff1659a81c011fb2754 [2023-05-09T21:31:23.978Z] $ docker rm -f --volumes 6a41d8d1a9d6ba88ec6dc592f3705bce34faac7df0e1cff1659a81c011fb2754 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T21:31:24.312Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-09T21:31:24.508Z] Stashed 1 file(s) [Pipeline] echo [2023-05-09T21:31:24.512Z] [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-05-09T21:31:24.651Z] provisioning config files... [2023-05-09T21:31:24.661Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config5423774892789096659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:31:24.964Z] ---> docker-login.sh [2023-05-09T21:31:24.964Z] nexus3.edgexfoundry.org:10001 [2023-05-09T21:31:24.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:31:24.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:31:24.964Z] Configure a credential helper to remove this warning. See [2023-05-09T21:31:24.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:31:24.964Z] [2023-05-09T21:31:24.964Z] Login Succeeded [2023-05-09T21:31:24.964Z] nexus3.edgexfoundry.org:10002 [2023-05-09T21:31:24.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:31:24.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:31:24.964Z] Configure a credential helper to remove this warning. See [2023-05-09T21:31:24.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:31:24.964Z] [2023-05-09T21:31:24.964Z] Login Succeeded [2023-05-09T21:31:24.964Z] nexus3.edgexfoundry.org:10003 [2023-05-09T21:31:25.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:31:25.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:31:25.224Z] Configure a credential helper to remove this warning. See [2023-05-09T21:31:25.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:31:25.224Z] [2023-05-09T21:31:25.224Z] Login Succeeded [2023-05-09T21:31:25.224Z] nexus3.edgexfoundry.org:10004 [2023-05-09T21:31:25.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:31:25.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:31:25.224Z] Configure a credential helper to remove this warning. See [2023-05-09T21:31:25.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:31:25.224Z] [2023-05-09T21:31:25.224Z] Login Succeeded [2023-05-09T21:31:25.224Z] docker.io [2023-05-09T21:31:25.483Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:31:25.483Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:31:25.483Z] Configure a credential helper to remove this warning. See [2023-05-09T21:31:25.483Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:31:25.483Z] [2023-05-09T21:31:25.483Z] Login Succeeded [2023-05-09T21:31:25.483Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T21:31:25.491Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T21:31:25.553Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T21:31:25.573Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T21:31:25.583Z] ========================================================= [2023-05-09T21:31:25.583Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-09T21:31:25.583Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:31:25.901Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-09T21:31:25.901Z] Sending build context to Docker daemon 11.17MB [2023-05-09T21:31:25.901Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T21:31:25.901Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-09T21:31:25.901Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-09T21:31:25.901Z] f56be85fc22e: Pulling fs layer [2023-05-09T21:31:25.901Z] 85791d961cd3: Pulling fs layer [2023-05-09T21:31:25.901Z] d694b5ae8c79: Pulling fs layer [2023-05-09T21:31:25.901Z] 9f32a84ed3da: Pulling fs layer [2023-05-09T21:31:25.901Z] 4d19c01a9841: Pulling fs layer [2023-05-09T21:31:25.901Z] 9325e15d5711: Pulling fs layer [2023-05-09T21:31:25.901Z] 556b6ee489ea: Pulling fs layer [2023-05-09T21:31:25.901Z] c5a4b2cf53e6: Pulling fs layer [2023-05-09T21:31:25.901Z] 9325e15d5711: Waiting [2023-05-09T21:31:25.901Z] c5a4b2cf53e6: Waiting [2023-05-09T21:31:25.901Z] 556b6ee489ea: Waiting [2023-05-09T21:31:25.901Z] 9f32a84ed3da: Waiting [2023-05-09T21:31:25.901Z] 4d19c01a9841: Waiting [2023-05-09T21:31:25.901Z] 85791d961cd3: Verifying Checksum [2023-05-09T21:31:25.901Z] 85791d961cd3: Download complete [2023-05-09T21:31:26.161Z] 9f32a84ed3da: Verifying Checksum [2023-05-09T21:31:26.161Z] 9f32a84ed3da: Download complete [2023-05-09T21:31:26.161Z] 4d19c01a9841: Download complete [2023-05-09T21:31:26.161Z] f56be85fc22e: Verifying Checksum [2023-05-09T21:31:26.161Z] f56be85fc22e: Download complete [2023-05-09T21:31:26.161Z] 9325e15d5711: Verifying Checksum [2023-05-09T21:31:26.161Z] 9325e15d5711: Download complete [2023-05-09T21:31:26.161Z] f56be85fc22e: Pull complete [2023-05-09T21:31:26.425Z] 85791d961cd3: Pull complete [2023-05-09T21:31:26.686Z] c5a4b2cf53e6: Verifying Checksum [2023-05-09T21:31:26.686Z] c5a4b2cf53e6: Download complete [2023-05-09T21:31:26.944Z] d694b5ae8c79: Verifying Checksum [2023-05-09T21:31:26.944Z] d694b5ae8c79: Download complete [2023-05-09T21:31:26.944Z] 556b6ee489ea: Verifying Checksum [2023-05-09T21:31:26.944Z] 556b6ee489ea: Download complete [2023-05-09T21:31:30.226Z] d694b5ae8c79: Pull complete [2023-05-09T21:31:30.226Z] 9f32a84ed3da: Pull complete [2023-05-09T21:31:30.226Z] 4d19c01a9841: Pull complete [2023-05-09T21:31:30.226Z] 9325e15d5711: Pull complete [2023-05-09T21:31:32.125Z] 556b6ee489ea: Pull complete [2023-05-09T21:31:33.058Z] c5a4b2cf53e6: Pull complete [2023-05-09T21:31:33.058Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-09T21:31:33.058Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-09T21:31:33.058Z] ---> c4be618373d6 [2023-05-09T21:31:33.058Z] Step 3/10 : ARG MAKE=make build [2023-05-09T21:31:37.252Z] ---> Running in 19910bdbe67b [2023-05-09T21:31:37.252Z] Removing intermediate container 19910bdbe67b [2023-05-09T21:31:37.252Z] ---> 038fc9a73ce1 [2023-05-09T21:31:37.252Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-09T21:31:37.252Z] ---> Running in 5ba33fad6762 [2023-05-09T21:31:37.252Z] Removing intermediate container 5ba33fad6762 [2023-05-09T21:31:37.252Z] ---> b7e04db70f92 [2023-05-09T21:31:37.252Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T21:31:37.252Z] ---> Running in 2c7640f526eb [2023-05-09T21:31:37.252Z] Removing intermediate container 2c7640f526eb [2023-05-09T21:31:37.252Z] ---> 3401414e02d7 [2023-05-09T21:31:37.252Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-09T21:31:37.252Z] ---> Running in a6656627c789 [2023-05-09T21:31:37.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T21:31:37.772Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T21:31:37.772Z] OK: 265 MiB in 53 packages [2023-05-09T21:31:38.032Z] Removing intermediate container a6656627c789 [2023-05-09T21:31:38.032Z] ---> 2b8ea9341ed1 [2023-05-09T21:31:38.032Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-09T21:31:38.291Z] ---> 38a1f9b6afe4 [2023-05-09T21:31:38.291Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T21:31:38.291Z] ---> Running in 66649632edd7 [2023-05-09T21:31:39.619Z] Still waiting to schedule task [2023-05-09T21:31:39.619Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-09T21:32:04.859Z] Removing intermediate container 66649632edd7 [2023-05-09T21:32:04.859Z] ---> b123c40289d4 [2023-05-09T21:32:04.859Z] Step 9/10 : COPY . . [2023-05-09T21:32:04.859Z] ---> 8d13f2096d76 [2023-05-09T21:32:04.859Z] Step 10/10 : RUN ${MAKE} [2023-05-09T21:32:04.859Z] ---> Running in b5824def7515 [2023-05-09T21:32:04.859Z] noop [2023-05-09T21:32:04.859Z] Removing intermediate container b5824def7515 [2023-05-09T21:32:04.859Z] ---> 0c019b8a2b6a [2023-05-09T21:32:04.859Z] Successfully built 0c019b8a2b6a [2023-05-09T21:32:04.859Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:32:05.171Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T21:32:05.171Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:32:05.243Z] prd-ubuntu20.04-docker-8c-8g-14773 does not seem to be running inside a container [2023-05-09T21:32:05.279Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T21:32:05.594Z] $ docker top 3993472865ddd4fd10b9a1020f9fc4458862be3bd9d7ff0dca28a9f42d9e3d74 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T21:32:05.931Z] + go version [2023-05-09T21:32:05.931Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-09T21:32:05.952Z] $ docker stop --time=1 3993472865ddd4fd10b9a1020f9fc4458862be3bd9d7ff0dca28a9f42d9e3d74 [2023-05-09T21:32:07.202Z] $ docker rm -f --volumes 3993472865ddd4fd10b9a1020f9fc4458862be3bd9d7ff0dca28a9f42d9e3d74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:32:07.611Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T21:32:07.612Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:32:07.685Z] prd-ubuntu20.04-docker-8c-8g-14773 does not seem to be running inside a container [2023-05-09T21:32:07.717Z] $ 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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-09T21:32:08.011Z] $ docker top e2e00d2c8871c1b8f366456505abfabbf4403473a28b31d264907aab2bbab1f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T21:32:08.355Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1451 [Pipeline] fileExists [Pipeline] sh [2023-05-09T21:32:08.648Z] + make test [2023-05-09T21:32:08.648Z] go test -race -coverprofile=coverage.out ./... [2023-05-09T21:32:15.209Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-09T21:32:30.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-09T21:32:30.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-09T21:32:30.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-09T21:32:30.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-09T21:32:30.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-09T21:32:30.077Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.045s coverage: 27.6% of statements [2023-05-09T21:32:30.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-09T21:32:30.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-09T21:32:30.077Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.055s coverage: 80.2% of statements [2023-05-09T21:32:30.077Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.069s coverage: 86.0% of statements [2023-05-09T21:32:30.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-09T21:32:30.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-09T21:32:30.077Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.093s coverage: 77.5% of statements [2023-05-09T21:32:30.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-09T21:32:30.077Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-09T21:32:30.643Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-09T21:32:32.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.083s coverage: 14.3% of statements [2023-05-09T21:32:32.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.072s coverage: 68.5% of statements [2023-05-09T21:32:32.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.117s coverage: 89.2% of statements [2023-05-09T21:32:32.547Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.057s coverage: 5.7% of statements [2023-05-09T21:32:51.838Z] GO111MODULE=on go vet ./... [2023-05-09T21:32:53.737Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T21:32:53.738Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T21:32:53.738Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T21:32:53.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T21:32:53.775Z] $ docker stop --time=1 e2e00d2c8871c1b8f366456505abfabbf4403473a28b31d264907aab2bbab1f1 [2023-05-09T21:32:57.421Z] $ docker rm -f --volumes e2e00d2c8871c1b8f366456505abfabbf4403473a28b31d264907aab2bbab1f1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T21:32:57.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T21:32:57.984Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-09T21:32:58.494Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T21:32:58.783Z] + ls -al . [2023-05-09T21:32:58.783Z] total 272 [2023-05-09T21:32:58.783Z] drwxrwxr-x 11 jenkins jenkins 4096 May 9 21:32 . [2023-05-09T21:32:58.783Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:31 .. [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 21:31 .dockerignore [2023-05-09T21:32:58.783Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:31 .git [2023-05-09T21:32:58.783Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:31 .github [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 137 May 9 21:31 .gitignore [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 21:31 .golangci.yml [2023-05-09T21:32:58.783Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:31 .semver [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 9 21:31 CHANGELOG.md [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 21:31 GOVERNANCE.md [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 885 May 9 21:31 Jenkinsfile [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 9 21:31 LICENSE [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 9 21:31 Makefile [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 619 May 9 21:31 OWNERS.md [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 9 21:31 README.md [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 21:31 VERSION [2023-05-09T21:32:58.783Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:31 bin [2023-05-09T21:32:58.783Z] -rw-r--r-- 1 jenkins jenkins 106150 May 9 21:32 coverage.out [2023-05-09T21:32:58.783Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 21:31 example [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 3234 May 9 21:31 go.mod [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 9 21:31 go.sum [2023-05-09T21:32:58.783Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 21:31 internal [2023-05-09T21:32:58.783Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:31 openapi [2023-05-09T21:32:58.783Z] drwxrwxr-x 6 jenkins jenkins 4096 May 9 21:31 pkg [2023-05-09T21:32:58.783Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:31 snap [2023-05-09T21:32:58.783Z] -rw-rw-r-- 1 jenkins jenkins 222 May 9 21:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:32:59.117Z] + 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=63c0e8a6aac02f6d0e811f0b5d11c545b1122290 --label arch=amd64 --label version=0.0.0 . [2023-05-09T21:32:59.117Z] Sending build context to Docker daemon 11.28MB [2023-05-09T21:32:59.117Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T21:32:59.117Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-09T21:32:59.117Z] ---> 0c019b8a2b6a [2023-05-09T21:32:59.117Z] Step 3/23 : ARG MAKE=make build [2023-05-09T21:32:59.378Z] ---> Running in 2b81bc8bb2ff [2023-05-09T21:32:59.378Z] Removing intermediate container 2b81bc8bb2ff [2023-05-09T21:32:59.378Z] ---> 0d9ad19c80e2 [2023-05-09T21:32:59.378Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-09T21:32:59.378Z] ---> Running in 68330b2b5560 [2023-05-09T21:32:59.378Z] Removing intermediate container 68330b2b5560 [2023-05-09T21:32:59.378Z] ---> 243d5ebd1673 [2023-05-09T21:32:59.378Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T21:32:59.378Z] ---> Running in b6958b07f042 [2023-05-09T21:32:59.637Z] Removing intermediate container b6958b07f042 [2023-05-09T21:32:59.637Z] ---> 2b092895942c [2023-05-09T21:32:59.637Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-09T21:32:59.637Z] ---> Running in 3e5b2ad0bfd1 [2023-05-09T21:32:59.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T21:32:59.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T21:33:00.165Z] OK: 265 MiB in 53 packages [2023-05-09T21:33:00.424Z] Removing intermediate container 3e5b2ad0bfd1 [2023-05-09T21:33:00.424Z] ---> 23563e270e24 [2023-05-09T21:33:00.424Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-09T21:33:00.424Z] ---> c5cc3ed29689 [2023-05-09T21:33:00.424Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T21:33:00.424Z] ---> Running in 0e423c20372f [2023-05-09T21:33:01.415Z] Removing intermediate container 0e423c20372f [2023-05-09T21:33:01.415Z] ---> 64bb25b51cbd [2023-05-09T21:33:01.415Z] Step 9/23 : COPY . . [2023-05-09T21:33:01.982Z] ---> 59e7e1470594 [2023-05-09T21:33:01.982Z] Step 10/23 : RUN ${MAKE} [2023-05-09T21:33:01.982Z] ---> Running in 2f7097c6da4c [2023-05-09T21:33:02.240Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-09T21:33:20.321Z] Removing intermediate container 2f7097c6da4c [2023-05-09T21:33:20.321Z] ---> 03623af88df1 [2023-05-09T21:33:20.321Z] Step 11/23 : FROM alpine:3.17 [2023-05-09T21:33:20.321Z] 3.17: Pulling from library/alpine [2023-05-09T21:33:20.321Z] f56be85fc22e: Already exists [2023-05-09T21:33:20.321Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T21:33:20.321Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T21:33:20.321Z] ---> 9ed4aefc74f6 [2023-05-09T21:33:20.321Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-09T21:33:20.321Z] ---> Running in d9e747456eef [2023-05-09T21:33:20.321Z] Removing intermediate container d9e747456eef [2023-05-09T21:33:20.321Z] ---> 35d1131fd5f0 [2023-05-09T21:33:20.321Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-09T21:33:20.321Z] ---> Running in 9802d5819e46 [2023-05-09T21:33:20.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T21:33:20.579Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T21:33:20.839Z] OK: 7 MiB in 15 packages [2023-05-09T21:33:21.098Z] Removing intermediate container 9802d5819e46 [2023-05-09T21:33:21.098Z] ---> 02d57c74955a [2023-05-09T21:33:21.098Z] Step 14/23 : WORKDIR / [2023-05-09T21:33:21.098Z] ---> Running in 43f572571ea4 [2023-05-09T21:33:21.098Z] Removing intermediate container 43f572571ea4 [2023-05-09T21:33:21.098Z] ---> 1b8dc62fbad4 [2023-05-09T21:33:21.098Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-09T21:33:21.356Z] ---> 8756fcccd314 [2023-05-09T21:33:21.356Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-09T21:33:21.932Z] ---> 2382cc82b1ea [2023-05-09T21:33:21.932Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-09T21:33:22.189Z] ---> 674f2f35201f [2023-05-09T21:33:22.189Z] Step 18/23 : EXPOSE 59999 [2023-05-09T21:33:22.189Z] ---> Running in d4ddc384e73c [2023-05-09T21:33:22.189Z] Removing intermediate container d4ddc384e73c [2023-05-09T21:33:22.189Z] ---> 7a9b058e64a0 [2023-05-09T21:33:22.189Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-09T21:33:22.189Z] ---> Running in af0f57d192f9 [2023-05-09T21:33:22.189Z] Removing intermediate container af0f57d192f9 [2023-05-09T21:33:22.189Z] ---> 10ce887187ad [2023-05-09T21:33:22.189Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-09T21:33:22.189Z] ---> Running in 1fe8bb9c9b76 [2023-05-09T21:33:22.448Z] Removing intermediate container 1fe8bb9c9b76 [2023-05-09T21:33:22.448Z] ---> ceaca0954fda [2023-05-09T21:33:22.448Z] Step 21/23 : LABEL arch=amd64 [2023-05-09T21:33:22.448Z] ---> Running in 67350cfcfb62 [2023-05-09T21:33:22.448Z] Removing intermediate container 67350cfcfb62 [2023-05-09T21:33:22.448Z] ---> 939ca3352b66 [2023-05-09T21:33:22.448Z] Step 22/23 : LABEL git_sha=63c0e8a6aac02f6d0e811f0b5d11c545b1122290 [2023-05-09T21:33:22.448Z] ---> Running in cba052bf11c7 [2023-05-09T21:33:22.448Z] Removing intermediate container cba052bf11c7 [2023-05-09T21:33:22.448Z] ---> e7a32fa3df45 [2023-05-09T21:33:22.448Z] Step 23/23 : LABEL version=0.0.0 [2023-05-09T21:33:22.448Z] ---> Running in 2a475b821251 [2023-05-09T21:33:22.708Z] Removing intermediate container 2a475b821251 [2023-05-09T21:33:22.708Z] ---> aba6b7479f60 [2023-05-09T21:33:22.708Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T21:33:22.708Z] Successfully built aba6b7479f60 [2023-05-09T21:33:22.708Z] 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-05-09T21:33:23.130Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T21:33:23.130Z] [2023-05-09T21:33:23.130Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:33:23.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T21:33:23.433Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-09T21:33:23.433Z] 5eb5b503b376: Pulling fs layer [2023-05-09T21:33:23.433Z] 5c69ac0246d0: Pulling fs layer [2023-05-09T21:33:23.433Z] ec43610c2a17: Pulling fs layer [2023-05-09T21:33:23.433Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-09T21:33:23.433Z] 33b1e0a273af: Pulling fs layer [2023-05-09T21:33:23.433Z] 5d3b04190fa2: Pulling fs layer [2023-05-09T21:33:23.433Z] 2f39f015ded8: Pulling fs layer [2023-05-09T21:33:23.433Z] 33b1e0a273af: Waiting [2023-05-09T21:33:23.433Z] 3a2ae6a8a46f: Waiting [2023-05-09T21:33:23.433Z] 5d3b04190fa2: Waiting [2023-05-09T21:33:23.433Z] 2f39f015ded8: Waiting [2023-05-09T21:33:23.433Z] 5c69ac0246d0: Verifying Checksum [2023-05-09T21:33:23.433Z] 5c69ac0246d0: Download complete [2023-05-09T21:33:23.433Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-09T21:33:23.433Z] 3a2ae6a8a46f: Download complete [2023-05-09T21:33:23.692Z] ec43610c2a17: Verifying Checksum [2023-05-09T21:33:23.692Z] ec43610c2a17: Download complete [2023-05-09T21:33:23.692Z] 5d3b04190fa2: Verifying Checksum [2023-05-09T21:33:23.692Z] 5d3b04190fa2: Download complete [2023-05-09T21:33:23.692Z] 33b1e0a273af: Verifying Checksum [2023-05-09T21:33:23.692Z] 33b1e0a273af: Download complete [2023-05-09T21:33:23.692Z] 5eb5b503b376: Verifying Checksum [2023-05-09T21:33:23.692Z] 5eb5b503b376: Download complete [2023-05-09T21:33:24.256Z] 2f39f015ded8: Download complete [2023-05-09T21:33:24.823Z] 5eb5b503b376: Pull complete [2023-05-09T21:33:25.082Z] 5c69ac0246d0: Pull complete [2023-05-09T21:33:25.341Z] ec43610c2a17: Pull complete [2023-05-09T21:33:25.341Z] 3a2ae6a8a46f: Pull complete [2023-05-09T21:33:25.602Z] 33b1e0a273af: Pull complete [2023-05-09T21:33:25.602Z] 5d3b04190fa2: Pull complete [2023-05-09T21:33:29.784Z] 2f39f015ded8: Pull complete [2023-05-09T21:33:29.784Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-09T21:33:29.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T21:33:29.784Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:33:29.853Z] prd-ubuntu20.04-docker-8c-8g-14773 does not seem to be running inside a container [2023-05-09T21:33:29.895Z] $ 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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T21:33:33.202Z] $ docker top d807afcde742e69a8ab90312ba663bf4a63fe857a0f6cf3057d6eccf34776f2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:33:33.585Z] ---> job-cost.sh [2023-05-09T21:33:33.585Z] lf-activate-venv: SKIPPING [2023-05-09T21:33:33.585Z] INFO: No Stack... [2023-05-09T21:33:33.845Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T21:33:34.104Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T21:33:34.390Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/cost.csv [2023-05-09T21:33:34.390Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T21:33:34.402Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1451-6-stack-cost] [2023-05-09T21:33:34.408Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-6-stack-cost] did not exist. Created. [2023-05-09T21:33:34.408Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1451-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T21:33:34.702Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-09T21:33:34.736Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T21:33:34.746Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T21:33:34.774Z] $ docker stop --time=1 d807afcde742e69a8ab90312ba663bf4a63fe857a0f6cf3057d6eccf34776f2d [2023-05-09T21:33:35.919Z] $ docker rm -f --volumes d807afcde742e69a8ab90312ba663bf4a63fe857a0f6cf3057d6eccf34776f2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-09T21:33:54.833Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14774 in /w/workspace/gexfoundry_device-sdk-go_PR-1451 [Pipeline] { [Pipeline] ws [2023-05-09T21:33:54.846Z] Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout [2023-05-09T21:33:54.887Z] The recommended git tool is: git [2023-05-09T21:34:00.822Z] using credential edgex-jenkins-ssh [2023-05-09T21:34:00.848Z] Cloning the remote Git repository [2023-05-09T21:34:00.907Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-09T21:34:01.021Z] > git init /w/workspace/device-sdk-go/6 # timeout=10 [2023-05-09T21:34:01.193Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-09T21:34:01.194Z] > git --version # timeout=10 [2023-05-09T21:34:01.216Z] > git --version # 'git version 2.25.1' [2023-05-09T21:34:01.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T21:34:01.402Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T21:34:04.613Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-09T21:34:04.642Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T21:34:06.434Z] Merging remotes/origin/main commit 3563ea3fef02eab19ce29a2bf1392e0bc2eae64f into PR head commit 3ff27c8034d8513ff3d16b9ce2499d8840589bf6 [2023-05-09T21:34:05.668Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-09T21:34:05.717Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-09T21:34:05.718Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T21:34:05.735Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1451/head:refs/remotes/origin/PR-1451 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-09T21:34:06.461Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T21:34:06.549Z] > git checkout -f 3ff27c8034d8513ff3d16b9ce2499d8840589bf6 # timeout=10 [2023-05-09T21:34:06.865Z] Merge succeeded, producing 3753f51b87a07e7be22c40401cb84973631b4ecf [2023-05-09T21:34:06.865Z] Checking out Revision 3753f51b87a07e7be22c40401cb84973631b4ecf (PR-1451) [2023-05-09T21:34:06.669Z] > git remote # timeout=10 [2023-05-09T21:34:06.694Z] > git config --get remote.origin.url # timeout=10 [2023-05-09T21:34:06.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T21:34:06.732Z] > git merge 3563ea3fef02eab19ce29a2bf1392e0bc2eae64f # timeout=10 [2023-05-09T21:34:06.848Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-09T21:34:06.878Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T21:34:06.894Z] > git checkout -f 3753f51b87a07e7be22c40401cb84973631b4ecf # timeout=10 [2023-05-09T21:34:10.478Z] Commit message: "Merge commit '3563ea3fef02eab19ce29a2bf1392e0bc2eae64f' into HEAD" [2023-05-09T21:34:10.506Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T21:34:11.359Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-09T21:34:11.359Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T21:34:11.359Z] Dload Upload Total Spent Left Speed [2023-05-09T21:34:11.359Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [2023-05-09T21:34:10.494Z] > git rev-list --no-walk aa4886d49c7fc6919b7e20f675aedf53cefe5eaf # timeout=10 [Pipeline] sh [2023-05-09T21:34:12.104Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-09T21:34:12.453Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-09T21:34:12.453Z] + sudo tee /etc/docker/daemon.new [2023-05-09T21:34:12.453Z] { [2023-05-09T21:34:12.453Z] "registry-mirrors": [ [2023-05-09T21:34:12.453Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-09T21:34:12.453Z] ], [2023-05-09T21:34:12.453Z] "bip": "10.250.0.254/24", [2023-05-09T21:34:12.453Z] "hosts": [ [2023-05-09T21:34:12.453Z] "tcp://0.0.0.0:5555", [2023-05-09T21:34:12.453Z] "unix:///var/run/docker.sock" [2023-05-09T21:34:12.453Z] ], [2023-05-09T21:34:12.453Z] "mtu": 1458, [2023-05-09T21:34:12.453Z] "selinux-enabled": true, [2023-05-09T21:34:12.453Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-09T21:34:12.453Z] } [Pipeline] sh [2023-05-09T21:34:12.787Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-09T21:34:13.120Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T21:34:35.276Z] provisioning config files... [2023-05-09T21:34:35.308Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config6812644856473714800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:34:35.668Z] ---> docker-login.sh [2023-05-09T21:34:35.668Z] nexus3.edgexfoundry.org:10001 [2023-05-09T21:34:36.262Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:34:36.262Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:34:36.262Z] Configure a credential helper to remove this warning. See [2023-05-09T21:34:36.262Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:34:36.262Z] [2023-05-09T21:34:36.262Z] Login Succeeded [2023-05-09T21:34:36.262Z] nexus3.edgexfoundry.org:10002 [2023-05-09T21:34:36.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:34:36.806Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:34:36.806Z] Configure a credential helper to remove this warning. See [2023-05-09T21:34:36.806Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:34:36.806Z] [2023-05-09T21:34:36.806Z] Login Succeeded [2023-05-09T21:34:36.806Z] nexus3.edgexfoundry.org:10003 [2023-05-09T21:34:37.078Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:34:37.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:34:37.078Z] Configure a credential helper to remove this warning. See [2023-05-09T21:34:37.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:34:37.078Z] [2023-05-09T21:34:37.078Z] Login Succeeded [2023-05-09T21:34:37.078Z] nexus3.edgexfoundry.org:10004 [2023-05-09T21:34:37.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:34:37.625Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:34:37.625Z] Configure a credential helper to remove this warning. See [2023-05-09T21:34:37.625Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:34:37.625Z] [2023-05-09T21:34:37.625Z] Login Succeeded [2023-05-09T21:34:37.625Z] docker.io [2023-05-09T21:34:37.896Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T21:34:38.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T21:34:38.168Z] Configure a credential helper to remove this warning. See [2023-05-09T21:34:38.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T21:34:38.168Z] [2023-05-09T21:34:38.168Z] Login Succeeded [2023-05-09T21:34:38.168Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T21:34:38.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T21:34:38.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T21:34:38.491Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T21:34:38.509Z] ========================================================= [2023-05-09T21:34:38.509Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-09T21:34:38.509Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:34:38.874Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-09T21:34:39.472Z] Sending build context to Docker daemon 6.033MB [2023-05-09T21:34:39.472Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T21:34:39.472Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-09T21:34:39.746Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-09T21:34:39.746Z] c41833b44d91: Pulling fs layer [2023-05-09T21:34:39.747Z] ed15518f5707: Pulling fs layer [2023-05-09T21:34:39.747Z] feae8fd75edb: Pulling fs layer [2023-05-09T21:34:39.747Z] 242c74f7c9fa: Pulling fs layer [2023-05-09T21:34:39.747Z] 3cdef696dda3: Pulling fs layer [2023-05-09T21:34:39.747Z] 2ced38df9373: Pulling fs layer [2023-05-09T21:34:39.747Z] 58f1dce35555: Pulling fs layer [2023-05-09T21:34:39.747Z] 242c74f7c9fa: Waiting [2023-05-09T21:34:39.747Z] 3cdef696dda3: Waiting [2023-05-09T21:34:39.747Z] 58f1dce35555: Waiting [2023-05-09T21:34:39.747Z] 2ced38df9373: Waiting [2023-05-09T21:34:39.747Z] ed15518f5707: Download complete [2023-05-09T21:34:39.747Z] 242c74f7c9fa: Download complete [2023-05-09T21:34:39.747Z] 3cdef696dda3: Verifying Checksum [2023-05-09T21:34:39.747Z] 3cdef696dda3: Download complete [2023-05-09T21:34:39.747Z] c41833b44d91: Verifying Checksum [2023-05-09T21:34:39.747Z] c41833b44d91: Download complete [2023-05-09T21:34:40.737Z] c41833b44d91: Pull complete [2023-05-09T21:34:41.333Z] 58f1dce35555: Verifying Checksum [2023-05-09T21:34:41.333Z] 58f1dce35555: Download complete [2023-05-09T21:34:41.333Z] ed15518f5707: Pull complete [2023-05-09T21:34:42.762Z] feae8fd75edb: Verifying Checksum [2023-05-09T21:34:42.762Z] feae8fd75edb: Download complete [2023-05-09T21:34:42.762Z] 2ced38df9373: Verifying Checksum [2023-05-09T21:34:42.762Z] 2ced38df9373: Download complete [2023-05-09T21:34:55.124Z] feae8fd75edb: Pull complete [2023-05-09T21:34:55.124Z] 242c74f7c9fa: Pull complete [2023-05-09T21:34:55.124Z] 3cdef696dda3: Pull complete [2023-05-09T21:35:01.834Z] 2ced38df9373: Pull complete [2023-05-09T21:35:02.814Z] 58f1dce35555: Pull complete [2023-05-09T21:35:02.815Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-09T21:35:02.815Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-09T21:35:02.815Z] ---> fadd8f120f05 [2023-05-09T21:35:02.815Z] Step 3/10 : ARG MAKE=make build [2023-05-09T21:35:03.785Z] ---> Running in a76de798268a [2023-05-09T21:35:04.054Z] Removing intermediate container a76de798268a [2023-05-09T21:35:04.054Z] ---> 0000c27cbd4d [2023-05-09T21:35:04.054Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-09T21:35:04.324Z] ---> Running in 74e1607f313c [2023-05-09T21:35:04.593Z] Removing intermediate container 74e1607f313c [2023-05-09T21:35:04.593Z] ---> 8452aea4bce9 [2023-05-09T21:35:04.593Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T21:35:04.593Z] ---> Running in 64040b0b1ef2 [2023-05-09T21:35:04.867Z] Removing intermediate container 64040b0b1ef2 [2023-05-09T21:35:04.867Z] ---> b048d1128269 [2023-05-09T21:35:04.867Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-09T21:35:05.137Z] ---> Running in fc23d6719b95 [2023-05-09T21:35:06.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T21:35:06.836Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T21:35:08.256Z] OK: 263 MiB in 53 packages [2023-05-09T21:35:08.843Z] Removing intermediate container fc23d6719b95 [2023-05-09T21:35:08.843Z] ---> 9d49bd908992 [2023-05-09T21:35:08.843Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-09T21:35:09.434Z] ---> 24304629ec79 [2023-05-09T21:35:09.435Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T21:35:09.435Z] ---> Running in f0f964df43d8 [2023-05-09T21:36:17.383Z] Removing intermediate container f0f964df43d8 [2023-05-09T21:36:17.383Z] ---> e59f05ddb768 [2023-05-09T21:36:17.383Z] Step 9/10 : COPY . . [2023-05-09T21:36:17.383Z] ---> 7e21cd88bd23 [2023-05-09T21:36:17.383Z] Step 10/10 : RUN ${MAKE} [2023-05-09T21:36:17.383Z] ---> Running in 2220a7fbb6e9 [2023-05-09T21:36:17.383Z] noop [2023-05-09T21:36:17.383Z] Removing intermediate container 2220a7fbb6e9 [2023-05-09T21:36:17.383Z] ---> ab0c1e3cb15c [2023-05-09T21:36:17.383Z] Successfully built ab0c1e3cb15c [2023-05-09T21:36:17.383Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:36:17.742Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T21:36:17.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:36:17.971Z] prd-ubuntu20.04-docker-arm64-4c-16g-14774 does not seem to be running inside a container [2023-05-09T21:36:18.049Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-09T21:36:19.295Z] $ docker top 8d4e9c34da48d7962fd61cc3f7ee8264677423860f2d3415c247e08abf6c7586 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T21:36:20.132Z] + go version [2023-05-09T21:36:20.133Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-09T21:36:20.156Z] $ docker stop --time=1 8d4e9c34da48d7962fd61cc3f7ee8264677423860f2d3415c247e08abf6c7586 [2023-05-09T21:36:21.807Z] $ docker rm -f --volumes 8d4e9c34da48d7962fd61cc3f7ee8264677423860f2d3415c247e08abf6c7586 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:36:22.369Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T21:36:22.369Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:36:22.556Z] prd-ubuntu20.04-docker-arm64-4c-16g-14774 does not seem to be running inside a container [2023-05-09T21:36:22.636Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-09T21:36:23.877Z] $ docker top 8f786035f25b2af930e965173c18b802b1ffb61fbc0490b90dce1af1c5e422cf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T21:36:24.716Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh [2023-05-09T21:36:25.379Z] + make test [2023-05-09T21:36:25.379Z] go test -race -coverprofile=coverage.out ./... [2023-05-09T21:37:12.255Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-09T21:39:19.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-09T21:39:19.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-09T21:39:19.118Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-09T21:39:19.119Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-09T21:39:19.119Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-09T21:39:22.471Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.235s coverage: 27.6% of statements [2023-05-09T21:39:27.821Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.273s coverage: 80.2% of statements [2023-05-09T21:39:42.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-09T21:39:42.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-09T21:39:42.812Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.374s coverage: 86.0% of statements [2023-05-09T21:39:49.479Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-09T21:39:49.479Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.418s coverage: 77.5% of statements [2023-05-09T21:39:53.733Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-09T21:39:55.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-09T21:39:55.150Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-09T21:39:56.663Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.387s coverage: 14.3% of statements [2023-05-09T21:39:56.663Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.445s coverage: 68.5% of statements [2023-05-09T21:39:59.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.475s coverage: 89.2% of statements [2023-05-09T21:40:00.737Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-09T21:40:01.004Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.257s coverage: 5.7% of statements [2023-05-09T21:40:01.595Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-09T21:40:01.595Z] GO111MODULE=on go vet ./... [2023-05-09T21:42:53.363Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T21:42:53.363Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T21:42:53.363Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T21:42:53.382Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T21:42:53.394Z] $ docker stop --time=1 8f786035f25b2af930e965173c18b802b1ffb61fbc0490b90dce1af1c5e422cf [2023-05-09T21:42:55.282Z] $ docker rm -f --volumes 8f786035f25b2af930e965173c18b802b1ffb61fbc0490b90dce1af1c5e422cf [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T21:42:56.908Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T21:42:56.923Z] Warning: overwriting stash ‘coverage-report’ [2023-05-09T21:42:57.511Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T21:42:57.919Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T21:42:58.239Z] + ls -al . [2023-05-09T21:42:58.240Z] total 268 [2023-05-09T21:42:58.240Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 21:36 . [2023-05-09T21:42:58.240Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:34 .. [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 140 May 9 21:34 .dockerignore [2023-05-09T21:42:58.240Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 21:34 .git [2023-05-09T21:42:58.240Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:34 .github [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 137 May 9 21:34 .gitignore [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 42 May 9 21:34 .golangci.yml [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 9 21:34 CHANGELOG.md [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 21:34 GOVERNANCE.md [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 885 May 9 21:34 Jenkinsfile [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 9 21:34 LICENSE [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 9 21:34 Makefile [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 619 May 9 21:34 OWNERS.md [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 9 21:34 README.md [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 21:31 VERSION [2023-05-09T21:42:58.240Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 21:34 bin [2023-05-09T21:42:58.240Z] -rw-r--r-- 1 jenkins jenkins 106152 May 9 21:40 coverage.out [2023-05-09T21:42:58.240Z] drwxrwxr-x 5 jenkins jenkins 4096 May 9 21:34 example [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 3234 May 9 21:34 go.mod [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 30781 May 9 21:34 go.sum [2023-05-09T21:42:58.240Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 21:34 internal [2023-05-09T21:42:58.240Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 21:34 openapi [2023-05-09T21:42:58.240Z] drwxrwxr-x 6 jenkins jenkins 4096 May 9 21:34 pkg [2023-05-09T21:42:58.240Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 21:34 snap [2023-05-09T21:42:58.240Z] -rw-rw-r-- 1 jenkins jenkins 222 May 9 21:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:42:58.576Z] + 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=3753f51b87a07e7be22c40401cb84973631b4ecf --label arch=arm64 --label version=0.0.0 . [2023-05-09T21:42:59.168Z] Sending build context to Docker daemon 6.14MB [2023-05-09T21:42:59.168Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T21:42:59.168Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-09T21:42:59.168Z] ---> ab0c1e3cb15c [2023-05-09T21:42:59.168Z] Step 3/23 : ARG MAKE=make build [2023-05-09T21:42:59.168Z] ---> Running in 9d39130639b4 [2023-05-09T21:42:59.437Z] Removing intermediate container 9d39130639b4 [2023-05-09T21:42:59.437Z] ---> 1a72bad726d8 [2023-05-09T21:42:59.437Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-09T21:42:59.703Z] ---> Running in 46b8b519ff49 [2023-05-09T21:42:59.970Z] Removing intermediate container 46b8b519ff49 [2023-05-09T21:42:59.970Z] ---> a16e14ed63d7 [2023-05-09T21:42:59.970Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-09T21:42:59.970Z] ---> Running in 3c92100dc1ee [2023-05-09T21:43:00.255Z] Removing intermediate container 3c92100dc1ee [2023-05-09T21:43:00.255Z] ---> af58648df4d2 [2023-05-09T21:43:00.255Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-09T21:43:00.255Z] ---> Running in f5075099963a [2023-05-09T21:43:01.666Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T21:43:02.251Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T21:43:03.215Z] OK: 263 MiB in 53 packages [2023-05-09T21:43:04.180Z] Removing intermediate container f5075099963a [2023-05-09T21:43:04.180Z] ---> b1ebf831e34b [2023-05-09T21:43:04.180Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-09T21:43:04.765Z] ---> a0266b4a2eec [2023-05-09T21:43:04.765Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T21:43:04.765Z] ---> Running in c561e08eb25e [2023-05-09T21:43:08.131Z] Removing intermediate container c561e08eb25e [2023-05-09T21:43:08.131Z] ---> 6dd301cbb3f9 [2023-05-09T21:43:08.131Z] Step 9/23 : COPY . . [2023-05-09T21:43:12.402Z] ---> 5225fa4a9ddf [2023-05-09T21:43:12.402Z] Step 10/23 : RUN ${MAKE} [2023-05-09T21:43:12.402Z] ---> Running in 6b1a8c992988 [2023-05-09T21:43:13.364Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-05-09T21:45:50.100Z] Removing intermediate container 6b1a8c992988 [2023-05-09T21:45:50.100Z] ---> 54cc6b9dfe87 [2023-05-09T21:45:50.100Z] Step 11/23 : FROM alpine:3.17 [2023-05-09T21:45:50.100Z] 3.17: Pulling from library/alpine [2023-05-09T21:45:50.100Z] c41833b44d91: Already exists [2023-05-09T21:45:50.100Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T21:45:50.100Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T21:45:50.100Z] ---> 51e60588ff2c [2023-05-09T21:45:50.100Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-09T21:45:50.100Z] ---> Running in aeb1bd75d948 [2023-05-09T21:45:50.100Z] Removing intermediate container aeb1bd75d948 [2023-05-09T21:45:50.100Z] ---> d6ee407ec69f [2023-05-09T21:45:50.100Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-09T21:45:50.100Z] ---> Running in ac7da793b2ae [2023-05-09T21:45:50.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T21:45:50.100Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T21:45:50.100Z] OK: 7 MiB in 15 packages [2023-05-09T21:45:50.100Z] Removing intermediate container ac7da793b2ae [2023-05-09T21:45:50.100Z] ---> e1433917299d [2023-05-09T21:45:50.100Z] Step 14/23 : WORKDIR / [2023-05-09T21:45:50.100Z] ---> Running in 608691727a02 [2023-05-09T21:45:50.100Z] Removing intermediate container 608691727a02 [2023-05-09T21:45:50.100Z] ---> 06864570771e [2023-05-09T21:45:50.100Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-09T21:45:50.100Z] ---> ca4403a5160c [2023-05-09T21:45:50.100Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-09T21:45:50.100Z] ---> 6aa28eb69164 [2023-05-09T21:45:50.100Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-09T21:45:52.049Z] ---> a80bd806c67c [2023-05-09T21:45:52.049Z] Step 18/23 : EXPOSE 59999 [2023-05-09T21:45:52.049Z] ---> Running in add393cd334b [2023-05-09T21:45:52.327Z] Removing intermediate container add393cd334b [2023-05-09T21:45:52.327Z] ---> 00fb0c341f20 [2023-05-09T21:45:52.327Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-09T21:45:52.597Z] ---> Running in 000ab114773d [2023-05-09T21:45:54.013Z] Removing intermediate container 000ab114773d [2023-05-09T21:45:54.013Z] ---> 5b3a7dfa8184 [2023-05-09T21:45:54.013Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-09T21:45:54.282Z] ---> Running in 9e33d1d31d17 [2023-05-09T21:45:54.552Z] Removing intermediate container 9e33d1d31d17 [2023-05-09T21:45:54.552Z] ---> 6ecedebbb1a2 [2023-05-09T21:45:54.552Z] Step 21/23 : LABEL arch=arm64 [2023-05-09T21:45:54.821Z] ---> Running in a9f073c8ace2 [2023-05-09T21:45:55.090Z] Removing intermediate container a9f073c8ace2 [2023-05-09T21:45:55.090Z] ---> 5e1f35604ae9 [2023-05-09T21:45:55.090Z] Step 22/23 : LABEL git_sha=3753f51b87a07e7be22c40401cb84973631b4ecf [2023-05-09T21:45:55.090Z] ---> Running in e85ebdf6908c [2023-05-09T21:45:55.697Z] Removing intermediate container e85ebdf6908c [2023-05-09T21:45:55.697Z] ---> c167dfd60c06 [2023-05-09T21:45:55.697Z] Step 23/23 : LABEL version=0.0.0 [2023-05-09T21:45:55.697Z] ---> Running in 32b03f60d5da [2023-05-09T21:45:55.967Z] Removing intermediate container 32b03f60d5da [2023-05-09T21:45:55.967Z] ---> f475bce25103 [2023-05-09T21:45:55.967Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T21:45:56.236Z] Successfully built f475bce25103 [2023-05-09T21:45:56.236Z] 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-05-09T21:45:56.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T21:45:56.696Z] [2023-05-09T21:45:56.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:45:57.033Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T21:45:57.306Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-09T21:45:57.306Z] 8998bd30e6a1: Pulling fs layer [2023-05-09T21:45:57.306Z] 04944245beec: Pulling fs layer [2023-05-09T21:45:57.306Z] 699f458cf7ca: Pulling fs layer [2023-05-09T21:45:57.306Z] 765212b225bb: Pulling fs layer [2023-05-09T21:45:57.306Z] f23df028b6ca: Pulling fs layer [2023-05-09T21:45:57.306Z] d65c8cfc05b1: Pulling fs layer [2023-05-09T21:45:57.306Z] 2437ff75d9bd: Pulling fs layer [2023-05-09T21:45:57.306Z] 765212b225bb: Waiting [2023-05-09T21:45:57.306Z] f23df028b6ca: Waiting [2023-05-09T21:45:57.306Z] d65c8cfc05b1: Waiting [2023-05-09T21:45:57.306Z] 2437ff75d9bd: Waiting [2023-05-09T21:45:57.306Z] 04944245beec: Verifying Checksum [2023-05-09T21:45:57.306Z] 04944245beec: Download complete [2023-05-09T21:45:57.306Z] 765212b225bb: Verifying Checksum [2023-05-09T21:45:57.306Z] 765212b225bb: Download complete [2023-05-09T21:45:57.576Z] f23df028b6ca: Verifying Checksum [2023-05-09T21:45:57.576Z] f23df028b6ca: Download complete [2023-05-09T21:45:57.576Z] 699f458cf7ca: Verifying Checksum [2023-05-09T21:45:57.576Z] 699f458cf7ca: Download complete [2023-05-09T21:45:57.576Z] d65c8cfc05b1: Verifying Checksum [2023-05-09T21:45:57.576Z] d65c8cfc05b1: Download complete [2023-05-09T21:45:57.854Z] 8998bd30e6a1: Verifying Checksum [2023-05-09T21:45:57.854Z] 8998bd30e6a1: Download complete [2023-05-09T21:46:00.448Z] 2437ff75d9bd: Verifying Checksum [2023-05-09T21:46:00.448Z] 2437ff75d9bd: Download complete [2023-05-09T21:46:02.395Z] 8998bd30e6a1: Pull complete [2023-05-09T21:46:02.981Z] 04944245beec: Pull complete [2023-05-09T21:46:04.404Z] 699f458cf7ca: Pull complete [2023-05-09T21:46:04.673Z] 765212b225bb: Pull complete [2023-05-09T21:46:05.645Z] f23df028b6ca: Pull complete [2023-05-09T21:46:05.645Z] d65c8cfc05b1: Pull complete [2023-05-09T21:46:20.668Z] 2437ff75d9bd: Pull complete [2023-05-09T21:46:20.668Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-09T21:46:20.668Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T21:46:20.668Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:46:20.886Z] prd-ubuntu20.04-docker-arm64-4c-16g-14774 does not seem to be running inside a container [2023-05-09T21:46:20.962Z] $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-09T21:46:23.768Z] $ docker top 2cf7f18fe2c040600c18a860f95b0b0b47dd3b6100aa178e269ba088118d1242 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:46:24.609Z] ---> job-cost.sh [2023-05-09T21:46:24.609Z] lf-activate-venv: SKIPPING [2023-05-09T21:46:24.609Z] INFO: No Stack... [2023-05-09T21:46:25.193Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-09T21:46:25.774Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T21:46:26.416Z] + cat /w/workspace/device-sdk-go/6/archives/cost.csv [2023-05-09T21:46:26.416Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T21:46:26.481Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1451-6-stack-cost] [2023-05-09T21:46:26.487Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-6-stack-cost] did not exist. Created. [2023-05-09T21:46:26.487Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1451-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T21:46:27.141Z] /w/workspace/device-sdk-go/6@tmp/durable-6fe25f87/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-09T21:46:27.477Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-09T21:46:27.500Z] Warning: overwriting stash ‘stack-cost’ [2023-05-09T21:46:27.566Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T21:46:27.573Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1451-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T21:46:27.592Z] $ docker stop --time=1 2cf7f18fe2c040600c18a860f95b0b0b47dd3b6100aa178e269ba088118d1242 [2023-05-09T21:46:29.099Z] $ docker rm -f --volumes 2cf7f18fe2c040600c18a860f95b0b0b47dd3b6100aa178e269ba088118d1242 [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-05-09T21:46:29.598Z] provisioning config files... [2023-05-09T21:46:29.605Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config6919031106925550112tmp [Pipeline] { [Pipeline] sh [2023-05-09T21:46:29.896Z] + set +x [2023-05-09T21:46:29.896Z] + curl -s https://codecov.io/bash [2023-05-09T21:46:29.896Z] + bash -s -- [2023-05-09T21:46:29.896Z] [2023-05-09T21:46:29.896Z] _____ _ [2023-05-09T21:46:29.896Z] / ____| | | [2023-05-09T21:46:29.896Z] | | ___ __| | ___ ___ _____ __ [2023-05-09T21:46:29.896Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-09T21:46:29.896Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-09T21:46:29.896Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-09T21:46:29.896Z] Bash-1.0.6 [2023-05-09T21:46:29.896Z] [2023-05-09T21:46:29.896Z] [2023-05-09T21:46:29.896Z] ==> git version 2.25.1 found [2023-05-09T21:46:29.896Z] ==> 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-05-09T21:46:29.896Z] Release-Date: 2020-01-08 [2023-05-09T21:46:29.896Z] 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-05-09T21:46:29.896Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-09T21:46:29.896Z] ==> Jenkins CI detected. [2023-05-09T21:46:29.896Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1451 [2023-05-09T21:46:29.896Z] project root: . [2023-05-09T21:46:29.896Z] --> token set from env [2023-05-09T21:46:29.896Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-09T21:46:29.896Z] ==> Running gcov in . (disable via -X gcov) [2023-05-09T21:46:29.896Z] ==> Python coveragepy not found [2023-05-09T21:46:29.896Z] ==> Searching for coverage reports in: [2023-05-09T21:46:29.896Z] + . [2023-05-09T21:46:29.896Z] -> Found 1 reports [2023-05-09T21:46:29.896Z] ==> Detecting git/mercurial file structure [2023-05-09T21:46:29.896Z] ==> Reading reports [2023-05-09T21:46:29.896Z] + ./coverage.out bytes=106152 [2023-05-09T21:46:29.896Z] ==> Appending adjustments [2023-05-09T21:46:29.896Z] https://docs.codecov.io/docs/fixing-reports [2023-05-09T21:46:30.155Z] + Found adjustments [2023-05-09T21:46:30.155Z] ==> Gzipping contents [2023-05-09T21:46:30.155Z] 16K /tmp/codecov.6jsXLg.gz [2023-05-09T21:46:30.155Z] ==> Uploading reports [2023-05-09T21:46:30.155Z] url: https://codecov.io [2023-05-09T21:46:30.155Z] query: branch=PR-1451&commit=63c0e8a6aac02f6d0e811f0b5d11c545b1122290&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1451%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1451&job=&cmd_args= [2023-05-09T21:46:30.155Z] -> Pinging Codecov [2023-05-09T21:46:30.155Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1451&commit=63c0e8a6aac02f6d0e811f0b5d11c545b1122290&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1451%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1451&job=&cmd_args= [2023-05-09T21:46:30.413Z] -> Uploading to [2023-05-09T21:46:30.413Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-09/7E55EF52A471D76F132DFD9A03CDDE97/63c0e8a6aac02f6d0e811f0b5d11c545b1122290/82259f26-934b-44e3-817a-66e27c6f6719.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T214630Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ec467c8fa827ead7dc0e39092b9092ebb1f2f555ca9a6feba551290de1bf9e0c [2023-05-09T21:46:30.413Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T21:46:30.413Z] Dload Upload Total Spent Left Speed [2023-05-09T21:46:30.672Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15135 0 0 100 15135 0 75298 --:--:-- --:--:-- --:--:-- 74925 100 15135 0 0 100 15135 0 74925 --:--:-- --:--:-- --:--:-- 74925 [2023-05-09T21:46:30.672Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/63c0e8a6aac02f6d0e811f0b5d11c545b1122290 [Pipeline] } [2023-05-09T21:46:30.679Z] 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-05-09T21:46:31.387Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives ] [2023-05-09T21:46:31.387Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-09T21:46:31.387Z] total 16 [2023-05-09T21:46:31.387Z] drwxr-xr-x 3 root root 4096 May 9 21:33 . [2023-05-09T21:46:31.387Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 21:33 .. [2023-05-09T21:46:31.387Z] drwxr-xr-x 2 root root 4096 May 9 21:33 cost [2023-05-09T21:46:31.387Z] -rw-r--r-- 1 root root 86 May 9 21:33 cost.csv [2023-05-09T21:46:31.387Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-09T21:46:31.387Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives [2023-05-09T21:46:31.387Z] total 16 [2023-05-09T21:46:31.387Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 21:33 . [2023-05-09T21:46:31.387Z] drwxrwxr-x 12 jenkins jenkins 4096 May 9 21:33 .. [2023-05-09T21:46:31.387Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 21:33 cost [2023-05-09T21:46:31.387Z] -rw-r--r-- 1 jenkins jenkins 86 May 9 21:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:46:31.676Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:46:32.533Z] ---> package-listing.sh [2023-05-09T21:46:32.534Z] ++ facter osfamily [2023-05-09T21:46:32.534Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-09T21:46:32.792Z] + OS_FAMILY=debian [2023-05-09T21:46:32.792Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1451 [2023-05-09T21:46:32.792Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-09T21:46:32.792Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-09T21:46:32.792Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-09T21:46:32.792Z] + PACKAGES=/tmp/packages_start.txt [2023-05-09T21:46:32.792Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1451 ']' [2023-05-09T21:46:32.793Z] + PACKAGES=/tmp/packages_end.txt [2023-05-09T21:46:32.793Z] + case "${OS_FAMILY}" in [2023-05-09T21:46:32.793Z] + dpkg -l [2023-05-09T21:46:32.793Z] + grep '^ii' [2023-05-09T21:46:32.793Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-09T21:46:32.793Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-09T21:46:32.793Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-09T21:46:32.793Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1451 ']' [2023-05-09T21:46:32.793Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/ [2023-05-09T21:46:32.793Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1451/archives/ [Pipeline] echo [2023-05-09T21:46:32.801Z] 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-1451/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-09T21:46:33.075Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T21:46:33.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T21:46:33.633Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T21:46:33.703Z] prd-ubuntu20.04-docker-8c-8g-14773 does not seem to be running inside a container [2023-05-09T21:46:33.750Z] $ 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-1451/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-1451 -v /w/workspace/gexfoundry_device-sdk-go_PR-1451:/w/workspace/gexfoundry_device-sdk-go_PR-1451:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1451@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T21:46:33.917Z] $ docker top e733356cb2c05d7df213fb8e5b7ecebf4277a82d1a9ad013506fc91cbfa823f3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T21:46:34.235Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-09T21:46:34.517Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-09T21:46:34.799Z] + ls /var/log/sa-host [2023-05-09T21:46:34.799Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T21:46:34.951Z] provisioning config files... [2023-05-09T21:46:34.959Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1451@tmp/config844524481049898494tmp [Pipeline] { [Pipeline] echo [2023-05-09T21:46:34.971Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:46:35.252Z] ---> create-netrc.sh [Pipeline] } [2023-05-09T21:46:35.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:46:35.590Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-09T21:46:35.600Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:46:35.881Z] ---> sudo-logs.sh [2023-05-09T21:46:35.881Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-09T21:46:35.911Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:46:36.198Z] ---> job-cost.sh [2023-05-09T21:46:36.198Z] lf-activate-venv: SKIPPING [2023-05-09T21:46:36.198Z] DEBUG: total: 0.2199999988079071 [2023-05-09T21:46:36.198Z] INFO: Retrieving Stack Cost... [2023-05-09T21:46:36.457Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T21:46:37.027Z] INFO: Archiving Costs [Pipeline] echo [2023-05-09T21:46:37.040Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T21:46:37.323Z] ---> logs-deploy.sh [2023-05-09T21:46:37.324Z] lf-activate-venv: SKIPPING [2023-05-09T21:46:37.324Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1451/6 [2023-05-09T21:46:37.324Z] INFO: archiving workspace using pattern(s): [2023-05-09T21:46:38.262Z] Archives upload complete. [2023-05-09T21:46:38.262Z] INFO: archiving logs to Nexus