Branch indexing 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 rather than 7be4a1db85f1bf1c2d503463fb528c564abf3216 Obtained Jenkinsfile from 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 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-ssh2990667700380528649.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5976916775003905250.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1335/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-1335/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17579775894392439107.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh633013999295731979.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-1335/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-1335/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12506999633085889035.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.18 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-7382 in /w/workspace/gexfoundry_device-sdk-go_PR-1335 [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-1335 # 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/1335/head:refs/remotes/origin/PR-1335 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 into PR head commit 7be4a1db85f1bf1c2d503463fb528c564abf3216 Merge succeeded, producing 2c97aba079028bd473e2bdec2302d4325a5af124 Checking out Revision 2c97aba079028bd473e2bdec2302d4325a5af124 (PR-1335) > git config core.sparsecheckout # timeout=10 > git checkout -f 7be4a1db85f1bf1c2d503463fb528c564abf3216 # 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 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2c97aba079028bd473e2bdec2302d4325a5af124 # timeout=10 Commit message: "Merge commit '5c1e0dd5a754f3bad37da38710a9de66bfde6ab8' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-24T18:42:20.591Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-24T18:42:20.659Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-24T18:42:20.676Z] ========================================================= [2023-02-24T18:42:20.676Z] EdgeX Global Pipelines Version Info [2023-02-24T18:42:20.676Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:42:21.383Z] ------------------- [2023-02-24T18:42:21.383Z] stable info: [2023-02-24T18:42:21.383Z] ------------------- [2023-02-24T18:42:21.383Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-24T18:42:21.383Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T18:42:21.383Z] Message: update stable to v1.0.244 > git rev-list --no-walk 8d69a0a4c082e7059abb7cf629683d260ddee0bb # timeout=10 [2023-02-24T18:42:21.954Z] ------------------- [2023-02-24T18:42:21.954Z] experimental info: [2023-02-24T18:42:21.954Z] ------------------- [2023-02-24T18:42:21.954Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-24T18:42:21.954Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T18:42:21.954Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-24T18:42:22.113Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-24T18:42:22.125Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-24T18:42:22.137Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-24T18:42:22.158Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-24T18:42:22.169Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-24T18:42:22.181Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-24T18:42:22.192Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-24T18:42:22.204Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-24T18:42:22.216Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-24T18:42:22.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-24T18:42:22.239Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-24T18:42:22.249Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-24T18:42:22.261Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-24T18:42:22.273Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-24T18:42:22.285Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-24T18:42:22.296Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T18:42:22.308Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T18:42:22.320Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T18:42:22.332Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-24T18:42:22.344Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-24T18:42:22.356Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-24T18:42:22.368Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-24T18:42:22.382Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-24T18:42:22.391Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-24T18:42:22.400Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-24T18:42:22.409Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-24T18:42:22.417Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-24T18:42:22.437Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1335 [Pipeline] echo [2023-02-24T18:42:22.451Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1335 [Pipeline] echo [2023-02-24T18:42:22.459Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1335 [Pipeline] echo [2023-02-24T18:42:22.468Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2c97aba079028bd473e2bdec2302d4325a5af124 [Pipeline] echo [2023-02-24T18:42:22.476Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2c97aba [Pipeline] echo [2023-02-24T18:42:22.485Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T18:42:22.521Z] provisioning config files... [2023-02-24T18:42:22.534Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config3928867696470759396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:42:22.835Z] ---> docker-login.sh [2023-02-24T18:42:22.835Z] nexus3.edgexfoundry.org:10001 [2023-02-24T18:42:23.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:23.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:23.096Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:23.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:23.096Z] [2023-02-24T18:42:23.096Z] Login Succeeded [2023-02-24T18:42:23.096Z] nexus3.edgexfoundry.org:10002 [2023-02-24T18:42:23.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:23.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:23.355Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:23.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:23.355Z] [2023-02-24T18:42:23.355Z] Login Succeeded [2023-02-24T18:42:23.355Z] nexus3.edgexfoundry.org:10003 [2023-02-24T18:42:23.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:23.355Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:23.355Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:23.355Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:23.355Z] [2023-02-24T18:42:23.355Z] Login Succeeded [2023-02-24T18:42:23.355Z] nexus3.edgexfoundry.org:10004 [2023-02-24T18:42:23.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:23.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:23.617Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:23.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:23.617Z] [2023-02-24T18:42:23.617Z] Login Succeeded [2023-02-24T18:42:23.617Z] docker.io [2023-02-24T18:42:23.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:23.881Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:23.881Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:23.881Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:23.881Z] [2023-02-24T18:42:23.881Z] Login Succeeded [2023-02-24T18:42:23.881Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T18:42:23.890Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-24T18:42:24.240Z] + git rev-list -1 --merges 2c97aba079028bd473e2bdec2302d4325a5af124~1..2c97aba079028bd473e2bdec2302d4325a5af124 [Pipeline] echo [2023-02-24T18:42:24.289Z] -----------> git rev-list -1 --merges 2c97aba079028bd473e2bdec2302d4325a5af124~1..2c97aba079028bd473e2bdec2302d4325a5af124 2c97aba079028bd473e2bdec2302d4325a5af124 [2023-02-24T18:42:24.289Z] 2c97aba079028bd473e2bdec2302d4325a5af124 [false] [Pipeline] sh [2023-02-24T18:42:24.572Z] + git log --format=format:%s -1 2c97aba079028bd473e2bdec2302d4325a5af124 [Pipeline] echo [2023-02-24T18:42:24.584Z] ========================================================= [2023-02-24T18:42:24.584Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-24T18:42:24.584Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T18:42:24.907Z] + git log --format=format:%s -1 2c97aba079028bd473e2bdec2302d4325a5af124 [Pipeline] echo [2023-02-24T18:42:24.919Z] [semverPrep] GIT_COMMIT: 2c97aba079028bd473e2bdec2302d4325a5af124, Commit Message: Merge commit '5c1e0dd5a754f3bad37da38710a9de66bfde6ab8' into HEAD [Pipeline] echo [2023-02-24T18:42:24.928Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-24T18:42:25.265Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-24T18:42:25.265Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-24T18:42:25.265Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-24T18:42:25.265Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-24T18:42:25.265Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-24T18:42:25.265Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-24T18:42:25.265Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:42:25.607Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T18:42:25.607Z] [2023-02-24T18:42:25.607Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:42:25.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T18:42:25.915Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-24T18:42:25.915Z] b85a868b505f: Pulling fs layer [2023-02-24T18:42:25.915Z] e2be974225ed: Pulling fs layer [2023-02-24T18:42:25.915Z] 339a4e72a1f5: Pulling fs layer [2023-02-24T18:42:25.915Z] 988bab9f4d93: Pulling fs layer [2023-02-24T18:42:25.915Z] 1469e6f7b9e6: Pulling fs layer [2023-02-24T18:42:25.915Z] eaf3925da568: Pulling fs layer [2023-02-24T18:42:25.915Z] bab4dde63d76: Pulling fs layer [2023-02-24T18:42:25.915Z] bde34c3a00c8: Pulling fs layer [2023-02-24T18:42:25.915Z] b352a97aabf1: Pulling fs layer [2023-02-24T18:42:25.915Z] 4872d77fe225: Pulling fs layer [2023-02-24T18:42:25.915Z] 5851b861e8e6: Pulling fs layer [2023-02-24T18:42:25.915Z] bab4dde63d76: Waiting [2023-02-24T18:42:25.915Z] bde34c3a00c8: Waiting [2023-02-24T18:42:25.915Z] b352a97aabf1: Waiting [2023-02-24T18:42:25.915Z] 4872d77fe225: Waiting [2023-02-24T18:42:25.915Z] 5851b861e8e6: Waiting [2023-02-24T18:42:25.915Z] 988bab9f4d93: Waiting [2023-02-24T18:42:25.915Z] 1469e6f7b9e6: Waiting [2023-02-24T18:42:25.915Z] eaf3925da568: Waiting [2023-02-24T18:42:25.915Z] e2be974225ed: Verifying Checksum [2023-02-24T18:42:25.915Z] e2be974225ed: Download complete [2023-02-24T18:42:25.915Z] 988bab9f4d93: Verifying Checksum [2023-02-24T18:42:25.915Z] 988bab9f4d93: Download complete [2023-02-24T18:42:26.503Z] 1469e6f7b9e6: Verifying Checksum [2023-02-24T18:42:26.503Z] 1469e6f7b9e6: Download complete [2023-02-24T18:42:26.503Z] 339a4e72a1f5: Verifying Checksum [2023-02-24T18:42:26.503Z] 339a4e72a1f5: Download complete [2023-02-24T18:42:26.503Z] eaf3925da568: Verifying Checksum [2023-02-24T18:42:26.503Z] eaf3925da568: Download complete [2023-02-24T18:42:26.503Z] bde34c3a00c8: Download complete [2023-02-24T18:42:26.503Z] b352a97aabf1: Download complete [2023-02-24T18:42:26.503Z] 4872d77fe225: Download complete [2023-02-24T18:42:26.503Z] 5851b861e8e6: Download complete [2023-02-24T18:42:26.762Z] b85a868b505f: Verifying Checksum [2023-02-24T18:42:26.762Z] b85a868b505f: Download complete [2023-02-24T18:42:27.021Z] bab4dde63d76: Verifying Checksum [2023-02-24T18:42:27.021Z] bab4dde63d76: Download complete [2023-02-24T18:42:27.956Z] b85a868b505f: Pull complete [2023-02-24T18:42:28.215Z] e2be974225ed: Pull complete [2023-02-24T18:42:28.782Z] 339a4e72a1f5: Pull complete [2023-02-24T18:42:28.782Z] 988bab9f4d93: Pull complete [2023-02-24T18:42:29.041Z] 1469e6f7b9e6: Pull complete [2023-02-24T18:42:29.041Z] eaf3925da568: Pull complete [2023-02-24T18:42:30.944Z] bab4dde63d76: Pull complete [2023-02-24T18:42:30.944Z] bde34c3a00c8: Pull complete [2023-02-24T18:42:31.204Z] b352a97aabf1: Pull complete [2023-02-24T18:42:31.204Z] 4872d77fe225: Pull complete [2023-02-24T18:42:31.464Z] 5851b861e8e6: Pull complete [2023-02-24T18:42:31.465Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-24T18:42:31.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T18:42:31.465Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:42:31.558Z] prd-ubuntu20.04-docker-8c-8g-7382 does not seem to be running inside a container [2023-02-24T18:42:31.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-02-24T18:42:33.139Z] $ docker top 9ce15f72b30692f3e57e44bea98979665e8795fda15ebcb593ca61e2fe0cf9b0 -eo pid,comm [2023-02-24T18:42:33.239Z] 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-02-24T18:42:33.239Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-24T18:42:33.283Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T18:42:33.283Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T18:42:33.403Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T18:42:33.407Z] $ docker exec 9ce15f72b30692f3e57e44bea98979665e8795fda15ebcb593ca61e2fe0cf9b0 ssh-agent [2023-02-24T18:42:33.525Z] SSH_AUTH_SOCK=/tmp/ssh-pu2BNkpiJmEn/agent.32 [2023-02-24T18:42:33.525Z] SSH_AGENT_PID=38 [2023-02-24T18:42:33.533Z] Running ssh-add (command line suppressed) [2023-02-24T18:42:33.651Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_3846104427510003988.key (/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_3846104427510003988.key) [2023-02-24T18:42:33.664Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T18:42:33.964Z] + git tag --points-at HEAD [Pipeline] } [2023-02-24T18:42:33.985Z] $ docker exec --env ******** --env ******** 9ce15f72b30692f3e57e44bea98979665e8795fda15ebcb593ca61e2fe0cf9b0 ssh-agent -k [2023-02-24T18:42:34.093Z] unset SSH_AUTH_SOCK; [2023-02-24T18:42:34.093Z] unset SSH_AGENT_PID; [2023-02-24T18:42:34.094Z] echo Agent pid 38 killed; [2023-02-24T18:42:34.102Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-24T18:42:34.129Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T18:42:34.129Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T18:42:34.241Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T18:42:34.244Z] $ docker exec 9ce15f72b30692f3e57e44bea98979665e8795fda15ebcb593ca61e2fe0cf9b0 ssh-agent [2023-02-24T18:42:34.355Z] SSH_AUTH_SOCK=/tmp/ssh-DhsrrPUaPgfL/agent.70 [2023-02-24T18:42:34.355Z] SSH_AGENT_PID=76 [2023-02-24T18:42:34.360Z] Running ssh-add (command line suppressed) [2023-02-24T18:42:34.480Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_332798480716993087.key (/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/private_key_332798480716993087.key) [2023-02-24T18:42:34.492Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T18:42:34.782Z] + git semver init [2023-02-24T18:42:35.042Z] 2023-02-24 18:42:34,995 [run_init] DEBUG init version:0.0.0 force:False [2023-02-24T18:42:35.042Z] 2023-02-24 18:42:34,996 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver [2023-02-24T18:42:35.042Z] 2023-02-24 18:42:34,996 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver [2023-02-24T18:42:35.042Z] 2023-02-24 18:42:34,996 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335, universal_newlines=False, shell=None, istream=None) [2023-02-24T18:42:35.993Z] 2023-02-24 18:42:35,976 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.git/info/exclude [2023-02-24T18:42:35.993Z] 2023-02-24 18:42:35,976 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 with force:False [2023-02-24T18:42:35.993Z] 2023-02-24 18:42:35,977 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 [2023-02-24T18:42:35.993Z] 2023-02-24 18:42:35,981 [execute] INFO git cat-file --batch-check [2023-02-24T18:42:35.993Z] 2023-02-24 18:42:35,982 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T18:42:35.993Z] 2023-02-24 18:42:35,990 [execute] INFO git cat-file --batch [2023-02-24T18:42:35.993Z] 2023-02-24 18:42:35,991 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T18:42:36.253Z] 2023-02-24 18:42:35,998 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1335/.semver/PR-1335 [2023-02-24T18:42:36.253Z] 0.0.0 [Pipeline] } [2023-02-24T18:42:36.264Z] $ docker exec --env ******** --env ******** 9ce15f72b30692f3e57e44bea98979665e8795fda15ebcb593ca61e2fe0cf9b0 ssh-agent -k [2023-02-24T18:42:36.380Z] unset SSH_AUTH_SOCK; [2023-02-24T18:42:36.381Z] unset SSH_AGENT_PID; [2023-02-24T18:42:36.381Z] echo Agent pid 76 killed; [2023-02-24T18:42:36.391Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-24T18:42:36.697Z] + git semver [Pipeline] } [2023-02-24T18:42:36.973Z] $ docker stop --time=1 9ce15f72b30692f3e57e44bea98979665e8795fda15ebcb593ca61e2fe0cf9b0 [2023-02-24T18:42:38.374Z] $ docker rm -f --volumes 9ce15f72b30692f3e57e44bea98979665e8795fda15ebcb593ca61e2fe0cf9b0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T18:42:38.713Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-24T18:42:38.934Z] Stashed 1 file(s) [Pipeline] echo [2023-02-24T18:42:38.936Z] [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-02-24T18:42:39.082Z] provisioning config files... [2023-02-24T18:42:39.091Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config3330223184345528297tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:42:39.388Z] ---> docker-login.sh [2023-02-24T18:42:39.388Z] nexus3.edgexfoundry.org:10001 [2023-02-24T18:42:39.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:39.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:39.388Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:39.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:39.388Z] [2023-02-24T18:42:39.388Z] Login Succeeded [2023-02-24T18:42:39.388Z] nexus3.edgexfoundry.org:10002 [2023-02-24T18:42:39.388Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:39.388Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:39.388Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:39.388Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:39.388Z] [2023-02-24T18:42:39.388Z] Login Succeeded [2023-02-24T18:42:39.388Z] nexus3.edgexfoundry.org:10003 [2023-02-24T18:42:39.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:39.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:39.648Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:39.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:39.648Z] [2023-02-24T18:42:39.648Z] Login Succeeded [2023-02-24T18:42:39.648Z] nexus3.edgexfoundry.org:10004 [2023-02-24T18:42:39.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:39.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:39.648Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:39.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:39.648Z] [2023-02-24T18:42:39.648Z] Login Succeeded [2023-02-24T18:42:39.648Z] docker.io [2023-02-24T18:42:39.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:42:40.165Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:42:40.165Z] Configure a credential helper to remove this warning. See [2023-02-24T18:42:40.165Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:42:40.165Z] [2023-02-24T18:42:40.165Z] Login Succeeded [2023-02-24T18:42:40.165Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T18:42:40.172Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T18:42:40.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T18:42:40.252Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T18:42:40.261Z] ========================================================= [2023-02-24T18:42:40.261Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-24T18:42:40.261Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:42:40.587Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T18:42:40.587Z] Sending build context to Docker daemon 10.6MB [2023-02-24T18:42:40.587Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T18:42:40.587Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-24T18:42:40.862Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-24T18:42:40.862Z] 213ec9aee27d: Pulling fs layer [2023-02-24T18:42:40.862Z] 4583459ba037: Pulling fs layer [2023-02-24T18:42:40.862Z] 93c1e223e6f2: Pulling fs layer [2023-02-24T18:42:40.862Z] 53926ce57604: Pulling fs layer [2023-02-24T18:42:40.862Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-24T18:42:40.862Z] 22ff95d597cd: Pulling fs layer [2023-02-24T18:42:40.862Z] 12d6caf4c0d1: Pulling fs layer [2023-02-24T18:42:40.862Z] 96b7cbca73a9: Pulling fs layer [2023-02-24T18:42:40.862Z] a7acece74701: Pulling fs layer [2023-02-24T18:42:40.862Z] 53926ce57604: Waiting [2023-02-24T18:42:40.862Z] 22ff95d597cd: Waiting [2023-02-24T18:42:40.862Z] 21b2b0c7a3f4: Waiting [2023-02-24T18:42:40.862Z] 96b7cbca73a9: Waiting [2023-02-24T18:42:40.862Z] a7acece74701: Waiting [2023-02-24T18:42:40.862Z] 93c1e223e6f2: Verifying Checksum [2023-02-24T18:42:40.862Z] 93c1e223e6f2: Download complete [2023-02-24T18:42:40.862Z] 4583459ba037: Verifying Checksum [2023-02-24T18:42:40.862Z] 4583459ba037: Download complete [2023-02-24T18:42:40.862Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-24T18:42:40.862Z] 21b2b0c7a3f4: Download complete [2023-02-24T18:42:40.862Z] 22ff95d597cd: Verifying Checksum [2023-02-24T18:42:40.862Z] 22ff95d597cd: Download complete [2023-02-24T18:42:41.155Z] 213ec9aee27d: Verifying Checksum [2023-02-24T18:42:41.155Z] 213ec9aee27d: Download complete [2023-02-24T18:42:41.155Z] 213ec9aee27d: Pull complete [2023-02-24T18:42:41.156Z] 12d6caf4c0d1: Verifying Checksum [2023-02-24T18:42:41.156Z] 12d6caf4c0d1: Download complete [2023-02-24T18:42:41.433Z] 4583459ba037: Pull complete [2023-02-24T18:42:41.433Z] 93c1e223e6f2: Pull complete [2023-02-24T18:42:42.008Z] a7acece74701: Verifying Checksum [2023-02-24T18:42:42.008Z] a7acece74701: Download complete [2023-02-24T18:42:42.268Z] 96b7cbca73a9: Verifying Checksum [2023-02-24T18:42:42.268Z] 53926ce57604: Download complete [2023-02-24T18:42:46.467Z] 53926ce57604: Pull complete [2023-02-24T18:42:46.467Z] 21b2b0c7a3f4: Pull complete [2023-02-24T18:42:46.467Z] 22ff95d597cd: Pull complete [2023-02-24T18:42:46.467Z] 12d6caf4c0d1: Pull complete [2023-02-24T18:42:48.999Z] 96b7cbca73a9: Pull complete [2023-02-24T18:42:49.564Z] a7acece74701: Pull complete [2023-02-24T18:42:49.564Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-24T18:42:49.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-24T18:42:49.564Z] ---> db6d94c90886 [2023-02-24T18:42:49.564Z] Step 3/10 : ARG MAKE=make build [2023-02-24T18:42:51.468Z] ---> Running in cd4ee03e24ec [2023-02-24T18:42:51.728Z] Removing intermediate container cd4ee03e24ec [2023-02-24T18:42:51.728Z] ---> 24092801ddbd [2023-02-24T18:42:51.728Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-24T18:42:51.728Z] ---> Running in 7fa328d868be [2023-02-24T18:42:51.728Z] Removing intermediate container 7fa328d868be [2023-02-24T18:42:51.728Z] ---> 833bd3d1262e [2023-02-24T18:42:51.728Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T18:42:51.986Z] ---> Running in 347ca3d62395 [2023-02-24T18:42:51.986Z] Removing intermediate container 347ca3d62395 [2023-02-24T18:42:51.986Z] ---> 1ea732084eba [2023-02-24T18:42:51.986Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-24T18:42:51.986Z] ---> Running in 099fb8208736 [2023-02-24T18:42:52.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T18:42:52.245Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T18:42:52.504Z] OK: 211 MiB in 51 packages [2023-02-24T18:42:52.763Z] Removing intermediate container 099fb8208736 [2023-02-24T18:42:52.763Z] ---> 69e459ee4c59 [2023-02-24T18:42:52.763Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-24T18:42:53.023Z] ---> c1fc275bf895 [2023-02-24T18:42:53.023Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T18:42:53.023Z] ---> Running in e06ea4e13ac4 [2023-02-24T18:42:54.041Z] Still waiting to schedule task [2023-02-24T18:42:54.042Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7377’ [2023-02-24T18:43:19.575Z] Removing intermediate container e06ea4e13ac4 [2023-02-24T18:43:19.575Z] ---> 3155f48935d9 [2023-02-24T18:43:19.575Z] Step 9/10 : COPY . . [2023-02-24T18:43:19.575Z] ---> 77c19e6d503e [2023-02-24T18:43:19.575Z] Step 10/10 : RUN ${MAKE} [2023-02-24T18:43:19.575Z] ---> Running in 9f6643257b6f [2023-02-24T18:43:19.575Z] noop [2023-02-24T18:43:19.575Z] Removing intermediate container 9f6643257b6f [2023-02-24T18:43:19.575Z] ---> 837240930d76 [2023-02-24T18:43:19.575Z] Successfully built 837240930d76 [2023-02-24T18:43:19.575Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:43:19.876Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T18:43:19.876Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:43:19.942Z] prd-ubuntu20.04-docker-8c-8g-7382 does not seem to be running inside a container [2023-02-24T18:43:19.974Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-02-24T18:43:20.326Z] $ docker top d7a68c06f44e3fb4a26235096358cad66f2d51cf1753d85bcc67157ebe66618e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T18:43:20.664Z] + go version [2023-02-24T18:43:20.664Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-24T18:43:20.680Z] $ docker stop --time=1 d7a68c06f44e3fb4a26235096358cad66f2d51cf1753d85bcc67157ebe66618e [2023-02-24T18:43:21.952Z] $ docker rm -f --volumes d7a68c06f44e3fb4a26235096358cad66f2d51cf1753d85bcc67157ebe66618e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:43:22.340Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T18:43:22.340Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:43:22.408Z] prd-ubuntu20.04-docker-8c-8g-7382 does not seem to be running inside a container [2023-02-24T18:43:22.442Z] $ 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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-02-24T18:43:22.766Z] $ docker top c76f5da301ad6f11c889893dc24369d029e6fd120163fb1a3be9003469d026c5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T18:43:23.104Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1335 [Pipeline] fileExists [Pipeline] sh [2023-02-24T18:43:23.397Z] + make test [2023-02-24T18:43:23.397Z] go test -race -coverprofile=coverage.out ./... [2023-02-24T18:43:29.952Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-24T18:43:42.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-24T18:43:42.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-24T18:43:42.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-24T18:43:42.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-24T18:43:42.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-24T18:43:42.135Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.053s coverage: 27.6% of statements [2023-02-24T18:43:42.135Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.051s coverage: 78.9% of statements [2023-02-24T18:43:42.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-24T18:43:42.135Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.116s coverage: 86.0% of statements [2023-02-24T18:43:42.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-24T18:43:42.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-24T18:43:42.135Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.110s coverage: 75.0% of statements [2023-02-24T18:43:42.135Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-24T18:43:45.419Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.088s coverage: 15.3% of statements [2023-02-24T18:43:45.419Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-24T18:43:45.419Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.103s coverage: 65.2% of statements [2023-02-24T18:43:45.419Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-24T18:43:45.419Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-24T18:43:45.419Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.765s coverage: 89.2% of statements [2023-02-24T18:43:45.419Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-24T18:43:45.419Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.6% of statements [2023-02-24T18:43:45.419Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-24T18:44:00.275Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-24T18:44:00.275Z] GO111MODULE=on go vet ./... [2023-02-24T18:44:02.173Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T18:44:02.173Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T18:44:02.173Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T18:44:02.185Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T18:44:02.205Z] $ docker stop --time=1 c76f5da301ad6f11c889893dc24369d029e6fd120163fb1a3be9003469d026c5 [2023-02-24T18:44:04.363Z] $ docker rm -f --volumes c76f5da301ad6f11c889893dc24369d029e6fd120163fb1a3be9003469d026c5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T18:44:04.872Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T18:44:04.945Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-24T18:44:05.362Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T18:44:05.661Z] + ls -al . [2023-02-24T18:44:05.661Z] total 284 [2023-02-24T18:44:05.661Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 24 18:43 . [2023-02-24T18:44:05.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:42 .. [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 18:42 .dockerignore [2023-02-24T18:44:05.661Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 18:43 .git [2023-02-24T18:44:05.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:42 .github [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 24 18:42 .gitignore [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 18:42 .golangci.yml [2023-02-24T18:44:05.661Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 18:42 .semver [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 24 18:42 CHANGELOG.md [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 18:42 GOVERNANCE.md [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 24 18:42 Jenkinsfile [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 18:42 LICENSE [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 24 18:42 Makefile [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 24 18:42 OWNERS.md [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 24 18:42 README.md [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 18:42 VERSION [2023-02-24T18:44:05.661Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:42 bin [2023-02-24T18:44:05.661Z] -rw-r--r-- 1 jenkins jenkins 111243 Feb 24 18:43 coverage.out [2023-02-24T18:44:05.661Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 18:42 example [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 24 18:42 go.mod [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 24 18:42 go.sum [2023-02-24T18:44:05.661Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 24 18:42 internal [2023-02-24T18:44:05.661Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 18:42 openapi [2023-02-24T18:44:05.661Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 18:42 pkg [2023-02-24T18:44:05.661Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:42 snap [2023-02-24T18:44:05.661Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:44:05.968Z] + 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=2c97aba079028bd473e2bdec2302d4325a5af124 --label arch=amd64 --label version=0.0.0 . [2023-02-24T18:44:05.968Z] Sending build context to Docker daemon 10.71MB [2023-02-24T18:44:05.968Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T18:44:05.968Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-24T18:44:05.968Z] ---> 837240930d76 [2023-02-24T18:44:05.968Z] Step 3/23 : ARG MAKE=make build [2023-02-24T18:44:05.968Z] ---> Running in fda5b0e70ad0 [2023-02-24T18:44:06.227Z] Removing intermediate container fda5b0e70ad0 [2023-02-24T18:44:06.227Z] ---> 3782282e15c8 [2023-02-24T18:44:06.227Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-24T18:44:06.227Z] ---> Running in 89461473d01a [2023-02-24T18:44:06.227Z] Removing intermediate container 89461473d01a [2023-02-24T18:44:06.227Z] ---> c1d112acb4c8 [2023-02-24T18:44:06.227Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T18:44:06.227Z] ---> Running in 4299acaeed6a [2023-02-24T18:44:06.485Z] Removing intermediate container 4299acaeed6a [2023-02-24T18:44:06.485Z] ---> f0827df763b9 [2023-02-24T18:44:06.485Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-24T18:44:06.485Z] ---> Running in 98aaa8e1cdca [2023-02-24T18:44:06.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T18:44:06.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T18:44:07.003Z] OK: 211 MiB in 51 packages [2023-02-24T18:44:07.570Z] Removing intermediate container 98aaa8e1cdca [2023-02-24T18:44:07.570Z] ---> 1c9fd757b105 [2023-02-24T18:44:07.570Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-24T18:44:07.570Z] ---> 8a771cb9af7a [2023-02-24T18:44:07.570Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T18:44:07.570Z] ---> Running in 11efdb76ae05 [2023-02-24T18:44:08.507Z] Removing intermediate container 11efdb76ae05 [2023-02-24T18:44:08.507Z] ---> 4813822fb75c [2023-02-24T18:44:08.507Z] Step 9/23 : COPY . . [2023-02-24T18:44:08.767Z] ---> 481af35ed9a9 [2023-02-24T18:44:08.767Z] Step 10/23 : RUN ${MAKE} [2023-02-24T18:44:09.026Z] ---> Running in 92e80d809fde [2023-02-24T18:44:09.284Z] 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-02-24T18:44:27.362Z] Removing intermediate container 92e80d809fde [2023-02-24T18:44:27.362Z] ---> 49fc995a03ce [2023-02-24T18:44:27.362Z] Step 11/23 : FROM alpine:3.16 [2023-02-24T18:44:27.362Z] 3.16: Pulling from library/alpine [2023-02-24T18:44:27.362Z] ef5531b6e74e: Pulling fs layer [2023-02-24T18:44:27.362Z] ef5531b6e74e: Verifying Checksum [2023-02-24T18:44:27.363Z] ef5531b6e74e: Download complete [2023-02-24T18:44:27.363Z] ef5531b6e74e: Pull complete [2023-02-24T18:44:27.622Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T18:44:27.622Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T18:44:27.622Z] ---> dfd21b5a31f5 [2023-02-24T18:44:27.622Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-24T18:44:27.622Z] ---> Running in d4f3878bae87 [2023-02-24T18:44:27.622Z] Removing intermediate container d4f3878bae87 [2023-02-24T18:44:27.622Z] ---> bacb8e408c4c [2023-02-24T18:44:27.622Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-24T18:44:27.622Z] ---> Running in 8945b3243daf [2023-02-24T18:44:27.880Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T18:44:28.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T18:44:28.396Z] OK: 6 MiB in 14 packages [2023-02-24T18:44:28.656Z] Removing intermediate container 8945b3243daf [2023-02-24T18:44:28.656Z] ---> 32e9a91b75ab [2023-02-24T18:44:28.656Z] Step 14/23 : WORKDIR / [2023-02-24T18:44:28.656Z] ---> Running in b47cfb17ef3c [2023-02-24T18:44:28.918Z] Removing intermediate container b47cfb17ef3c [2023-02-24T18:44:28.918Z] ---> 7f91896a0022 [2023-02-24T18:44:28.918Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-24T18:44:28.918Z] ---> 7c3cd05987d3 [2023-02-24T18:44:28.918Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-24T18:44:29.485Z] ---> 16db21fdb13e [2023-02-24T18:44:29.485Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-24T18:44:29.743Z] ---> 061eba8fca4d [2023-02-24T18:44:29.743Z] Step 18/23 : EXPOSE 59999 [2023-02-24T18:44:29.743Z] ---> Running in c35a4014dce2 [2023-02-24T18:44:29.743Z] Removing intermediate container c35a4014dce2 [2023-02-24T18:44:29.744Z] ---> 4bd2a791db03 [2023-02-24T18:44:29.744Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-24T18:44:29.744Z] ---> Running in 04cc30846aaa [2023-02-24T18:44:29.744Z] Removing intermediate container 04cc30846aaa [2023-02-24T18:44:29.744Z] ---> 6585692446cf [2023-02-24T18:44:29.744Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T18:44:30.001Z] ---> Running in ea62d893d056 [2023-02-24T18:44:30.001Z] Removing intermediate container ea62d893d056 [2023-02-24T18:44:30.001Z] ---> 7ab807cd2b95 [2023-02-24T18:44:30.001Z] Step 21/23 : LABEL arch=amd64 [2023-02-24T18:44:30.001Z] ---> Running in cba08cc463f7 [2023-02-24T18:44:30.001Z] Removing intermediate container cba08cc463f7 [2023-02-24T18:44:30.001Z] ---> ceb77105afa9 [2023-02-24T18:44:30.001Z] Step 22/23 : LABEL git_sha=2c97aba079028bd473e2bdec2302d4325a5af124 [2023-02-24T18:44:30.001Z] ---> Running in 035d3dc5692d [2023-02-24T18:44:30.259Z] Removing intermediate container 035d3dc5692d [2023-02-24T18:44:30.259Z] ---> b44b3f023997 [2023-02-24T18:44:30.259Z] Step 23/23 : LABEL version=0.0.0 [2023-02-24T18:44:30.259Z] ---> Running in dcc7c6024e56 [2023-02-24T18:44:30.259Z] Removing intermediate container dcc7c6024e56 [2023-02-24T18:44:30.259Z] ---> e15dc942a4c2 [2023-02-24T18:44:30.260Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T18:44:30.260Z] Successfully built e15dc942a4c2 [2023-02-24T18:44:30.260Z] 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-02-24T18:44:30.678Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T18:44:30.678Z] [2023-02-24T18:44:30.678Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:44:30.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T18:44:30.988Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-24T18:44:30.988Z] 5eb5b503b376: Pulling fs layer [2023-02-24T18:44:30.988Z] 5c69ac0246d0: Pulling fs layer [2023-02-24T18:44:30.988Z] ec43610c2a17: Pulling fs layer [2023-02-24T18:44:30.988Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-24T18:44:30.988Z] 33b1e0a273af: Pulling fs layer [2023-02-24T18:44:30.988Z] 5d3b04190fa2: Pulling fs layer [2023-02-24T18:44:30.988Z] 2f39f015ded8: Pulling fs layer [2023-02-24T18:44:30.988Z] 3a2ae6a8a46f: Waiting [2023-02-24T18:44:30.988Z] 5d3b04190fa2: Waiting [2023-02-24T18:44:30.988Z] 33b1e0a273af: Waiting [2023-02-24T18:44:30.988Z] 2f39f015ded8: Waiting [2023-02-24T18:44:30.988Z] 5c69ac0246d0: Verifying Checksum [2023-02-24T18:44:30.988Z] 5c69ac0246d0: Download complete [2023-02-24T18:44:30.988Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-24T18:44:30.988Z] 3a2ae6a8a46f: Download complete [2023-02-24T18:44:31.247Z] ec43610c2a17: Download complete [2023-02-24T18:44:31.816Z] 5d3b04190fa2: Verifying Checksum [2023-02-24T18:44:31.816Z] 5d3b04190fa2: Download complete [2023-02-24T18:44:31.816Z] 33b1e0a273af: Verifying Checksum [2023-02-24T18:44:31.816Z] 33b1e0a273af: Download complete [2023-02-24T18:44:31.816Z] 5eb5b503b376: Verifying Checksum [2023-02-24T18:44:31.816Z] 5eb5b503b376: Download complete [2023-02-24T18:44:32.748Z] 2f39f015ded8: Download complete [2023-02-24T18:44:33.005Z] 5eb5b503b376: Pull complete [2023-02-24T18:44:33.263Z] 5c69ac0246d0: Pull complete [2023-02-24T18:44:33.521Z] ec43610c2a17: Pull complete [2023-02-24T18:44:33.521Z] 3a2ae6a8a46f: Pull complete [2023-02-24T18:44:33.780Z] 33b1e0a273af: Pull complete [2023-02-24T18:44:33.780Z] 5d3b04190fa2: Pull complete [2023-02-24T18:44:37.966Z] 2f39f015ded8: Pull complete [2023-02-24T18:44:37.966Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-24T18:44:37.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T18:44:37.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:44:38.050Z] prd-ubuntu20.04-docker-8c-8g-7382 does not seem to be running inside a container [2023-02-24T18:44:38.083Z] $ 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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-02-24T18:44:40.083Z] $ docker top e681d413817d84d05c6a0a4d0b29abb2a02dd68c1bab9110d13b1bcdfa97cf8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:44:40.458Z] ---> job-cost.sh [2023-02-24T18:44:40.458Z] lf-activate-venv: SKIPPING [2023-02-24T18:44:40.458Z] INFO: No Stack... [2023-02-24T18:44:40.716Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T18:44:41.283Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T18:44:41.569Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/cost.csv [2023-02-24T18:44:41.569Z] + cut -d, -f6 [Pipeline] lock [2023-02-24T18:44:41.584Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1335-5-stack-cost] [2023-02-24T18:44:41.593Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-5-stack-cost] did not exist. Created. [2023-02-24T18:44:41.594Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1335-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T18:44:41.916Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-24T18:44:41.945Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T18:44:41.952Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T18:44:41.977Z] $ docker stop --time=1 e681d413817d84d05c6a0a4d0b29abb2a02dd68c1bab9110d13b1bcdfa97cf8b [2023-02-24T18:44:43.141Z] $ docker rm -f --volumes e681d413817d84d05c6a0a4d0b29abb2a02dd68c1bab9110d13b1bcdfa97cf8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-24T18:46:03.374Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7386 in /w/workspace/gexfoundry_device-sdk-go_PR-1335 [Pipeline] { [Pipeline] ws [2023-02-24T18:46:03.394Z] Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout [2023-02-24T18:46:03.439Z] The recommended git tool is: git [2023-02-24T18:46:10.294Z] using credential edgex-jenkins-ssh [2023-02-24T18:46:10.323Z] Cloning the remote Git repository [2023-02-24T18:46:10.382Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T18:46:10.473Z] > git init /w/workspace/device-sdk-go/5 # timeout=10 [2023-02-24T18:46:10.681Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T18:46:10.683Z] > git --version # timeout=10 [2023-02-24T18:46:10.708Z] > git --version # 'git version 2.25.1' [2023-02-24T18:46:10.711Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T18:46:10.793Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T18:46:12.688Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-24T18:46:12.733Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T18:46:13.864Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-24T18:46:13.916Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T18:46:13.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T18:46:13.937Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1335/head:refs/remotes/origin/PR-1335 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-24T18:46:14.694Z] Merging remotes/origin/main commit 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 into PR head commit 7be4a1db85f1bf1c2d503463fb528c564abf3216 [2023-02-24T18:46:15.085Z] Merge succeeded, producing f0ceb7da52b379a1acf940d8ff5172ea482be53c [2023-02-24T18:46:15.086Z] Checking out Revision f0ceb7da52b379a1acf940d8ff5172ea482be53c (PR-1335) [2023-02-24T18:46:14.717Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T18:46:14.742Z] > git checkout -f 7be4a1db85f1bf1c2d503463fb528c564abf3216 # timeout=10 [2023-02-24T18:46:14.872Z] > git remote # timeout=10 [2023-02-24T18:46:14.896Z] > git config --get remote.origin.url # timeout=10 [2023-02-24T18:46:14.917Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T18:46:14.934Z] > git merge 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 # timeout=10 [2023-02-24T18:46:15.057Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-24T18:46:15.096Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T18:46:15.112Z] > git checkout -f f0ceb7da52b379a1acf940d8ff5172ea482be53c # timeout=10 [2023-02-24T18:46:18.733Z] Commit message: "Merge commit '5c1e0dd5a754f3bad37da38710a9de66bfde6ab8' into HEAD" [2023-02-24T18:46:18.764Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T18:46:19.703Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-24T18:46:19.703Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T18:46:19.703Z] Dload Upload Total Spent Left Speed [2023-02-24T18:46:19.703Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 177k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2023-02-24T18:46:18.744Z] > git rev-list --no-walk 8d69a0a4c082e7059abb7cf629683d260ddee0bb # timeout=10 [2023-02-24T18:46:20.513Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-24T18:46:20.857Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-24T18:46:20.857Z] + sudo tee /etc/docker/daemon.new [2023-02-24T18:46:20.857Z] { [2023-02-24T18:46:20.857Z] "registry-mirrors": [ [2023-02-24T18:46:20.857Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-24T18:46:20.857Z] ], [2023-02-24T18:46:20.857Z] "bip": "10.250.0.254/24", [2023-02-24T18:46:20.857Z] "hosts": [ [2023-02-24T18:46:20.857Z] "tcp://0.0.0.0:5555", [2023-02-24T18:46:20.857Z] "unix:///var/run/docker.sock" [2023-02-24T18:46:20.857Z] ], [2023-02-24T18:46:20.857Z] "mtu": 1458, [2023-02-24T18:46:20.857Z] "selinux-enabled": true, [2023-02-24T18:46:20.857Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-24T18:46:20.857Z] } [Pipeline] sh [2023-02-24T18:46:21.204Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-24T18:46:21.554Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T18:46:39.908Z] provisioning config files... [2023-02-24T18:46:39.943Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config17851839765769707102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:46:40.323Z] ---> docker-login.sh [2023-02-24T18:46:40.323Z] nexus3.edgexfoundry.org:10001 [2023-02-24T18:46:40.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:46:40.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:46:40.918Z] Configure a credential helper to remove this warning. See [2023-02-24T18:46:40.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:46:40.918Z] [2023-02-24T18:46:40.918Z] Login Succeeded [2023-02-24T18:46:40.918Z] nexus3.edgexfoundry.org:10002 [2023-02-24T18:46:41.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:46:41.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:46:41.468Z] Configure a credential helper to remove this warning. See [2023-02-24T18:46:41.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:46:41.468Z] [2023-02-24T18:46:41.468Z] Login Succeeded [2023-02-24T18:46:41.468Z] nexus3.edgexfoundry.org:10003 [2023-02-24T18:46:41.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:46:42.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:46:42.013Z] Configure a credential helper to remove this warning. See [2023-02-24T18:46:42.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:46:42.013Z] [2023-02-24T18:46:42.013Z] Login Succeeded [2023-02-24T18:46:42.013Z] nexus3.edgexfoundry.org:10004 [2023-02-24T18:46:42.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:46:42.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:46:42.290Z] Configure a credential helper to remove this warning. See [2023-02-24T18:46:42.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:46:42.290Z] [2023-02-24T18:46:42.290Z] Login Succeeded [2023-02-24T18:46:42.290Z] docker.io [2023-02-24T18:46:42.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T18:46:42.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T18:46:42.840Z] Configure a credential helper to remove this warning. See [2023-02-24T18:46:42.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T18:46:42.840Z] [2023-02-24T18:46:42.840Z] Login Succeeded [2023-02-24T18:46:42.840Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T18:46:42.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T18:46:43.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T18:46:43.186Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T18:46:43.203Z] ========================================================= [2023-02-24T18:46:43.203Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-24T18:46:43.203Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:46:43.557Z] + 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.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-24T18:46:44.155Z] Sending build context to Docker daemon 5.697MB [2023-02-24T18:46:44.155Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T18:46:44.155Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-24T18:46:44.155Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-24T18:46:44.155Z] 9b18e9b68314: Pulling fs layer [2023-02-24T18:46:44.155Z] 35d82f9e3411: Pulling fs layer [2023-02-24T18:46:44.155Z] e16973657156: Pulling fs layer [2023-02-24T18:46:44.155Z] fc693d55d65f: Pulling fs layer [2023-02-24T18:46:44.155Z] 7e9fc2657dce: Pulling fs layer [2023-02-24T18:46:44.155Z] dda99020689f: Pulling fs layer [2023-02-24T18:46:44.155Z] db1c61fa0a46: Pulling fs layer [2023-02-24T18:46:44.155Z] 891c053d2c06: Pulling fs layer [2023-02-24T18:46:44.155Z] fc693d55d65f: Waiting [2023-02-24T18:46:44.155Z] 7e9fc2657dce: Waiting [2023-02-24T18:46:44.155Z] dda99020689f: Waiting [2023-02-24T18:46:44.155Z] db1c61fa0a46: Waiting [2023-02-24T18:46:44.156Z] 891c053d2c06: Waiting [2023-02-24T18:46:44.156Z] e16973657156: Download complete [2023-02-24T18:46:44.442Z] 35d82f9e3411: Verifying Checksum [2023-02-24T18:46:44.442Z] 35d82f9e3411: Download complete [2023-02-24T18:46:44.442Z] 7e9fc2657dce: Download complete [2023-02-24T18:46:44.442Z] dda99020689f: Verifying Checksum [2023-02-24T18:46:44.442Z] dda99020689f: Download complete [2023-02-24T18:46:44.442Z] 9b18e9b68314: Verifying Checksum [2023-02-24T18:46:44.442Z] 9b18e9b68314: Download complete [2023-02-24T18:46:45.881Z] 891c053d2c06: Verifying Checksum [2023-02-24T18:46:45.881Z] 891c053d2c06: Download complete [2023-02-24T18:46:45.881Z] 9b18e9b68314: Pull complete [2023-02-24T18:46:46.154Z] 35d82f9e3411: Pull complete [2023-02-24T18:46:46.754Z] e16973657156: Pull complete [2023-02-24T18:46:47.027Z] db1c61fa0a46: Verifying Checksum [2023-02-24T18:46:47.027Z] db1c61fa0a46: Download complete [2023-02-24T18:46:47.617Z] fc693d55d65f: Verifying Checksum [2023-02-24T18:46:47.617Z] fc693d55d65f: Download complete [2023-02-24T18:46:59.954Z] fc693d55d65f: Pull complete [2023-02-24T18:46:59.955Z] 7e9fc2657dce: Pull complete [2023-02-24T18:46:59.955Z] dda99020689f: Pull complete [2023-02-24T18:47:06.644Z] db1c61fa0a46: Pull complete [2023-02-24T18:47:08.597Z] 891c053d2c06: Pull complete [2023-02-24T18:47:08.597Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-24T18:47:08.597Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-24T18:47:08.597Z] ---> f96f9c87975a [2023-02-24T18:47:08.597Z] Step 3/10 : ARG MAKE=make build [2023-02-24T18:47:10.581Z] ---> Running in 5fd48efaca05 [2023-02-24T18:47:10.581Z] Removing intermediate container 5fd48efaca05 [2023-02-24T18:47:10.581Z] ---> ede657ec7abd [2023-02-24T18:47:10.581Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-24T18:47:10.851Z] ---> Running in a6dc303823da [2023-02-24T18:47:11.120Z] Removing intermediate container a6dc303823da [2023-02-24T18:47:11.120Z] ---> 401d98198fe7 [2023-02-24T18:47:11.120Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T18:47:11.120Z] ---> Running in d4d1502904c4 [2023-02-24T18:47:11.394Z] Removing intermediate container d4d1502904c4 [2023-02-24T18:47:11.394Z] ---> fe1a56351f24 [2023-02-24T18:47:11.394Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-24T18:47:11.662Z] ---> Running in 3fa7aeeb98e8 [2023-02-24T18:47:12.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T18:47:13.214Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T18:47:14.177Z] OK: 221 MiB in 51 packages [2023-02-24T18:47:14.780Z] Removing intermediate container 3fa7aeeb98e8 [2023-02-24T18:47:14.780Z] ---> d99f9f240577 [2023-02-24T18:47:14.780Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-24T18:47:15.389Z] ---> c5da8e1d0c02 [2023-02-24T18:47:15.389Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T18:47:15.389Z] ---> Running in ac7f55980087 [2023-02-24T18:48:23.327Z] Removing intermediate container ac7f55980087 [2023-02-24T18:48:23.327Z] ---> e74a8e01dea3 [2023-02-24T18:48:23.327Z] Step 9/10 : COPY . . [2023-02-24T18:48:23.916Z] ---> 650bcf5be37d [2023-02-24T18:48:23.916Z] Step 10/10 : RUN ${MAKE} [2023-02-24T18:48:23.916Z] ---> Running in 2524035e8b05 [2023-02-24T18:48:24.883Z] noop [2023-02-24T18:48:25.850Z] Removing intermediate container 2524035e8b05 [2023-02-24T18:48:25.850Z] ---> 1d74eb7216f8 [2023-02-24T18:48:25.850Z] Successfully built 1d74eb7216f8 [2023-02-24T18:48:25.850Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:48:26.208Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T18:48:26.208Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:48:26.414Z] prd-ubuntu20.04-docker-arm64-4c-16g-7386 does not seem to be running inside a container [2023-02-24T18:48:26.490Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-02-24T18:48:27.743Z] $ docker top afa798aaf1b7b739160ce210aace2e7424edc7f9183a8132e0820cd195015f3f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T18:48:28.590Z] + go version [2023-02-24T18:48:28.590Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-24T18:48:28.612Z] $ docker stop --time=1 afa798aaf1b7b739160ce210aace2e7424edc7f9183a8132e0820cd195015f3f [2023-02-24T18:48:30.260Z] $ docker rm -f --volumes afa798aaf1b7b739160ce210aace2e7424edc7f9183a8132e0820cd195015f3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:48:30.835Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T18:48:30.835Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:48:31.051Z] prd-ubuntu20.04-docker-arm64-4c-16g-7386 does not seem to be running inside a container [2023-02-24T18:48:31.136Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-02-24T18:48:32.472Z] $ docker top 0f9e31b286b087ec8881eec1336f4495c0228f0cfb4158da2b0bc340a877fd0d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T18:48:33.349Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/5 [Pipeline] fileExists [Pipeline] sh [2023-02-24T18:48:34.015Z] + make test [2023-02-24T18:48:34.015Z] go test -race -coverprofile=coverage.out ./... [2023-02-24T18:49:12.928Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-24T18:51:49.689Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-24T18:51:49.689Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-24T18:51:49.689Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-24T18:51:49.689Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-24T18:51:49.689Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-24T18:51:50.275Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.274s coverage: 27.6% of statements [2023-02-24T18:51:51.239Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.327s coverage: 78.9% of statements [2023-02-24T18:51:51.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-24T18:51:57.902Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.473s coverage: 86.0% of statements [2023-02-24T18:51:57.902Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-24T18:51:57.902Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-24T18:51:58.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.505s coverage: 75.0% of statements [2023-02-24T18:51:58.489Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-24T18:51:58.489Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.362s coverage: 15.3% of statements [2023-02-24T18:51:58.489Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-24T18:52:01.857Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.519s coverage: 65.2% of statements [2023-02-24T18:52:01.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-24T18:52:01.857Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-24T18:52:02.443Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.360s coverage: 89.2% of statements [2023-02-24T18:52:02.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-24T18:52:02.443Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.263s coverage: 4.6% of statements [2023-02-24T18:52:02.443Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-24T18:52:03.029Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-24T18:52:03.029Z] GO111MODULE=on go vet ./... [2023-02-24T18:53:54.725Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T18:53:54.725Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T18:53:54.725Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T18:53:54.743Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T18:53:54.753Z] $ docker stop --time=1 0f9e31b286b087ec8881eec1336f4495c0228f0cfb4158da2b0bc340a877fd0d [2023-02-24T18:53:56.539Z] $ docker rm -f --volumes 0f9e31b286b087ec8881eec1336f4495c0228f0cfb4158da2b0bc340a877fd0d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T18:53:57.971Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T18:53:57.995Z] Warning: overwriting stash ‘coverage-report’ [2023-02-24T18:53:58.633Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T18:53:59.042Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T18:53:59.368Z] + ls -al . [2023-02-24T18:53:59.368Z] total 280 [2023-02-24T18:53:59.368Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 18:48 . [2023-02-24T18:53:59.368Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:46 .. [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 18:46 .dockerignore [2023-02-24T18:53:59.368Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 18:46 .git [2023-02-24T18:53:59.368Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:46 .github [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 24 18:46 .gitignore [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 18:46 .golangci.yml [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 24 18:46 CHANGELOG.md [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 18:46 GOVERNANCE.md [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 24 18:46 Jenkinsfile [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 18:46 LICENSE [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 24 18:46 Makefile [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 24 18:46 OWNERS.md [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 24 18:46 README.md [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 18:42 VERSION [2023-02-24T18:53:59.368Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:46 bin [2023-02-24T18:53:59.368Z] -rw-r--r-- 1 jenkins jenkins 111243 Feb 24 18:52 coverage.out [2023-02-24T18:53:59.368Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 18:46 example [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 24 18:46 go.mod [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 24 18:46 go.sum [2023-02-24T18:53:59.368Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 24 18:46 internal [2023-02-24T18:53:59.368Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 18:46 openapi [2023-02-24T18:53:59.368Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 18:46 pkg [2023-02-24T18:53:59.368Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:46 snap [2023-02-24T18:53:59.368Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 18:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:53:59.787Z] + 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=f0ceb7da52b379a1acf940d8ff5172ea482be53c --label arch=arm64 --label version=0.0.0 . [2023-02-24T18:54:00.415Z] Sending build context to Docker daemon 5.809MB [2023-02-24T18:54:00.415Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T18:54:00.415Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-24T18:54:00.415Z] ---> 1d74eb7216f8 [2023-02-24T18:54:00.415Z] Step 3/23 : ARG MAKE=make build [2023-02-24T18:54:00.415Z] ---> Running in 02e8972ce7dc [2023-02-24T18:54:01.013Z] Removing intermediate container 02e8972ce7dc [2023-02-24T18:54:01.013Z] ---> 0cc9b76a2dee [2023-02-24T18:54:01.013Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-24T18:54:01.013Z] ---> Running in 165e056e53b7 [2023-02-24T18:54:01.287Z] Removing intermediate container 165e056e53b7 [2023-02-24T18:54:01.287Z] ---> 4925b702b017 [2023-02-24T18:54:01.287Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T18:54:01.287Z] ---> Running in c37d06c3ea3c [2023-02-24T18:54:01.896Z] Removing intermediate container c37d06c3ea3c [2023-02-24T18:54:01.896Z] ---> 3865e57c0c5d [2023-02-24T18:54:01.896Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-24T18:54:01.896Z] ---> Running in dca1c307339b [2023-02-24T18:54:02.878Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T18:54:03.147Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T18:54:04.563Z] OK: 221 MiB in 51 packages [2023-02-24T18:54:05.530Z] Removing intermediate container dca1c307339b [2023-02-24T18:54:05.530Z] ---> 6d3c5e6d07f5 [2023-02-24T18:54:05.530Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-24T18:54:05.799Z] ---> e98d904793d9 [2023-02-24T18:54:05.799Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T18:54:06.068Z] ---> Running in 13cc403ffcd6 [2023-02-24T18:54:08.670Z] Removing intermediate container 13cc403ffcd6 [2023-02-24T18:54:08.670Z] ---> 4712d37dd5d7 [2023-02-24T18:54:08.670Z] Step 9/23 : COPY . . [2023-02-24T18:54:10.085Z] ---> 15094d576c2b [2023-02-24T18:54:10.085Z] Step 10/23 : RUN ${MAKE} [2023-02-24T18:54:10.085Z] ---> Running in 47b904e6abdb [2023-02-24T18:54:11.511Z] 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-02-24T18:56:33.252Z] Removing intermediate container 47b904e6abdb [2023-02-24T18:56:33.252Z] ---> 8406b2ff3380 [2023-02-24T18:56:33.252Z] Step 11/23 : FROM alpine:3.16 [2023-02-24T18:56:33.252Z] 3.16: Pulling from library/alpine [2023-02-24T18:56:33.252Z] 3760b48202b3: Pulling fs layer [2023-02-24T18:56:33.252Z] 3760b48202b3: Verifying Checksum [2023-02-24T18:56:33.252Z] 3760b48202b3: Download complete [2023-02-24T18:56:33.252Z] 3760b48202b3: Pull complete [2023-02-24T18:56:33.252Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T18:56:33.252Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T18:56:33.252Z] ---> 4c81e5bf8899 [2023-02-24T18:56:33.252Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-24T18:56:33.252Z] ---> Running in f03de22004be [2023-02-24T18:56:33.252Z] Removing intermediate container f03de22004be [2023-02-24T18:56:33.252Z] ---> e5dfcd96c4f9 [2023-02-24T18:56:33.252Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-24T18:56:33.252Z] ---> Running in 685c37b4555c [2023-02-24T18:56:33.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T18:56:33.252Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T18:56:33.252Z] OK: 5 MiB in 14 packages [2023-02-24T18:56:33.252Z] Removing intermediate container 685c37b4555c [2023-02-24T18:56:33.252Z] ---> 9499697b538d [2023-02-24T18:56:33.252Z] Step 14/23 : WORKDIR / [2023-02-24T18:56:33.252Z] ---> Running in eb652b30144e [2023-02-24T18:56:33.252Z] Removing intermediate container eb652b30144e [2023-02-24T18:56:33.252Z] ---> bdd781ce2d8c [2023-02-24T18:56:33.252Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-24T18:56:33.520Z] ---> dcf965696b35 [2023-02-24T18:56:33.520Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-24T18:56:34.929Z] ---> 73fda8d0e577 [2023-02-24T18:56:34.929Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-24T18:56:35.516Z] ---> 7cdf6db3e741 [2023-02-24T18:56:35.516Z] Step 18/23 : EXPOSE 59999 [2023-02-24T18:56:35.786Z] ---> Running in 1da4bd7a50ae [2023-02-24T18:56:36.053Z] Removing intermediate container 1da4bd7a50ae [2023-02-24T18:56:36.053Z] ---> bcfd00270e3a [2023-02-24T18:56:36.053Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-24T18:56:36.053Z] ---> Running in c143cd69e89d [2023-02-24T18:56:36.638Z] Removing intermediate container c143cd69e89d [2023-02-24T18:56:36.638Z] ---> 12ef2151ed96 [2023-02-24T18:56:36.638Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T18:56:36.638Z] ---> Running in 77517d991211 [2023-02-24T18:56:36.906Z] Removing intermediate container 77517d991211 [2023-02-24T18:56:36.906Z] ---> 4ceea9b1b916 [2023-02-24T18:56:36.906Z] Step 21/23 : LABEL arch=arm64 [2023-02-24T18:56:37.174Z] ---> Running in 86284905b921 [2023-02-24T18:56:37.442Z] Removing intermediate container 86284905b921 [2023-02-24T18:56:37.442Z] ---> a26adfdb5a46 [2023-02-24T18:56:37.442Z] Step 22/23 : LABEL git_sha=f0ceb7da52b379a1acf940d8ff5172ea482be53c [2023-02-24T18:56:37.442Z] ---> Running in d3e5005ae338 [2023-02-24T18:56:37.710Z] Removing intermediate container d3e5005ae338 [2023-02-24T18:56:37.710Z] ---> 56d2fe0b668a [2023-02-24T18:56:37.710Z] Step 23/23 : LABEL version=0.0.0 [2023-02-24T18:56:37.710Z] ---> Running in 4b5889e1debd [2023-02-24T18:56:37.977Z] Removing intermediate container 4b5889e1debd [2023-02-24T18:56:37.977Z] ---> a3d8f4d0c3e8 [2023-02-24T18:56:37.977Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T18:56:38.243Z] Successfully built a3d8f4d0c3e8 [2023-02-24T18:56:38.243Z] 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-02-24T18:56:38.716Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T18:56:38.716Z] [2023-02-24T18:56:38.716Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:56:39.058Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T18:56:39.058Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-24T18:56:39.058Z] 8998bd30e6a1: Pulling fs layer [2023-02-24T18:56:39.058Z] 04944245beec: Pulling fs layer [2023-02-24T18:56:39.058Z] 699f458cf7ca: Pulling fs layer [2023-02-24T18:56:39.058Z] 765212b225bb: Pulling fs layer [2023-02-24T18:56:39.058Z] f23df028b6ca: Pulling fs layer [2023-02-24T18:56:39.058Z] d65c8cfc05b1: Pulling fs layer [2023-02-24T18:56:39.058Z] 2437ff75d9bd: Pulling fs layer [2023-02-24T18:56:39.058Z] 765212b225bb: Waiting [2023-02-24T18:56:39.058Z] f23df028b6ca: Waiting [2023-02-24T18:56:39.058Z] d65c8cfc05b1: Waiting [2023-02-24T18:56:39.058Z] 2437ff75d9bd: Waiting [2023-02-24T18:56:39.335Z] 04944245beec: Verifying Checksum [2023-02-24T18:56:39.335Z] 04944245beec: Download complete [2023-02-24T18:56:39.336Z] 765212b225bb: Verifying Checksum [2023-02-24T18:56:39.336Z] 765212b225bb: Download complete [2023-02-24T18:56:39.336Z] f23df028b6ca: Download complete [2023-02-24T18:56:39.336Z] d65c8cfc05b1: Verifying Checksum [2023-02-24T18:56:39.336Z] d65c8cfc05b1: Download complete [2023-02-24T18:56:39.336Z] 699f458cf7ca: Verifying Checksum [2023-02-24T18:56:39.336Z] 699f458cf7ca: Download complete [2023-02-24T18:56:39.919Z] 8998bd30e6a1: Verifying Checksum [2023-02-24T18:56:39.919Z] 8998bd30e6a1: Download complete [2023-02-24T18:56:41.868Z] 2437ff75d9bd: Verifying Checksum [2023-02-24T18:56:41.868Z] 2437ff75d9bd: Download complete [2023-02-24T18:56:43.811Z] 8998bd30e6a1: Pull complete [2023-02-24T18:56:44.079Z] 04944245beec: Pull complete [2023-02-24T18:56:45.491Z] 699f458cf7ca: Pull complete [2023-02-24T18:56:45.762Z] 765212b225bb: Pull complete [2023-02-24T18:56:46.723Z] f23df028b6ca: Pull complete [2023-02-24T18:56:46.723Z] d65c8cfc05b1: Pull complete [2023-02-24T18:57:01.727Z] 2437ff75d9bd: Pull complete [2023-02-24T18:57:01.727Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-24T18:57:01.727Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T18:57:01.727Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:57:01.930Z] prd-ubuntu20.04-docker-arm64-4c-16g-7386 does not seem to be running inside a container [2023-02-24T18:57:02.005Z] $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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-02-24T18:57:04.639Z] $ docker top 321d83a9d966b5408387c4c39032e3de48e1b6c351d027e21a42a277f3e8fbc8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:57:05.493Z] ---> job-cost.sh [2023-02-24T18:57:05.493Z] lf-activate-venv: SKIPPING [2023-02-24T18:57:05.493Z] INFO: No Stack... [2023-02-24T18:57:05.761Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-24T18:57:06.720Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T18:57:07.361Z] + cat /w/workspace/device-sdk-go/5/archives/cost.csv [2023-02-24T18:57:07.361Z] + cut -d, -f6 [Pipeline] lock [2023-02-24T18:57:07.433Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1335-5-stack-cost] [2023-02-24T18:57:07.439Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-5-stack-cost] did not exist. Created. [2023-02-24T18:57:07.439Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1335-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T18:57:08.098Z] /w/workspace/device-sdk-go/5@tmp/durable-f4e5407e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-24T18:57:08.755Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-24T18:57:08.783Z] Warning: overwriting stash ‘stack-cost’ [2023-02-24T18:57:08.854Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T18:57:08.864Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1335-5-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T18:57:08.885Z] $ docker stop --time=1 321d83a9d966b5408387c4c39032e3de48e1b6c351d027e21a42a277f3e8fbc8 [2023-02-24T18:57:10.404Z] $ docker rm -f --volumes 321d83a9d966b5408387c4c39032e3de48e1b6c351d027e21a42a277f3e8fbc8 [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-02-24T18:57:10.797Z] provisioning config files... [2023-02-24T18:57:10.804Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config6913272838488387836tmp [Pipeline] { [Pipeline] sh [2023-02-24T18:57:11.098Z] + set +x [2023-02-24T18:57:11.098Z] + bash -s -- [2023-02-24T18:57:11.098Z] + curl -s https://codecov.io/bash [2023-02-24T18:57:11.098Z] [2023-02-24T18:57:11.098Z] _____ _ [2023-02-24T18:57:11.098Z] / ____| | | [2023-02-24T18:57:11.098Z] | | ___ __| | ___ ___ _____ __ [2023-02-24T18:57:11.098Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-24T18:57:11.098Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-24T18:57:11.098Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-24T18:57:11.098Z] Bash-1.0.6 [2023-02-24T18:57:11.098Z] [2023-02-24T18:57:11.098Z] [2023-02-24T18:57:11.098Z] ==> git version 2.25.1 found [2023-02-24T18:57:11.098Z] ==> 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-02-24T18:57:11.098Z] Release-Date: 2020-01-08 [2023-02-24T18:57:11.098Z] 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-02-24T18:57:11.098Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-24T18:57:11.098Z] ==> Jenkins CI detected. [2023-02-24T18:57:11.098Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1335 [2023-02-24T18:57:11.098Z] project root: . [2023-02-24T18:57:11.098Z] --> token set from env [2023-02-24T18:57:11.098Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-24T18:57:11.098Z] ==> Running gcov in . (disable via -X gcov) [2023-02-24T18:57:11.098Z] ==> Python coveragepy not found [2023-02-24T18:57:11.098Z] ==> Searching for coverage reports in: [2023-02-24T18:57:11.098Z] + . [2023-02-24T18:57:11.098Z] -> Found 1 reports [2023-02-24T18:57:11.098Z] ==> Detecting git/mercurial file structure [2023-02-24T18:57:11.098Z] ==> Reading reports [2023-02-24T18:57:11.098Z] + ./coverage.out bytes=111243 [2023-02-24T18:57:11.098Z] ==> Appending adjustments [2023-02-24T18:57:11.098Z] https://docs.codecov.io/docs/fixing-reports [2023-02-24T18:57:11.357Z] + Found adjustments [2023-02-24T18:57:11.357Z] ==> Gzipping contents [2023-02-24T18:57:11.357Z] 16K /tmp/codecov.hZXD6F.gz [2023-02-24T18:57:11.357Z] ==> Uploading reports [2023-02-24T18:57:11.357Z] url: https://codecov.io [2023-02-24T18:57:11.357Z] query: branch=PR-1335&commit=2c97aba079028bd473e2bdec2302d4325a5af124&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1335%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1335&job=&cmd_args= [2023-02-24T18:57:11.357Z] -> Pinging Codecov [2023-02-24T18:57:11.357Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1335&commit=2c97aba079028bd473e2bdec2302d4325a5af124&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1335%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1335&job=&cmd_args= [2023-02-24T18:57:11.616Z] -> Uploading to [2023-02-24T18:57:11.616Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-24/7E55EF52A471D76F132DFD9A03CDDE97/2c97aba079028bd473e2bdec2302d4325a5af124/9a58be11-957e-467e-91ee-d6ec96f61f8b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230224T185711Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3222a00ff9bf720fa4f0f695db07a77b7b99406be7f6a4a12e9f608c4859c5f [2023-02-24T18:57:11.616Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T18:57:11.616Z] Dload Upload Total Spent Left Speed [2023-02-24T18:57:11.875Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15405 0 0 100 15405 0 55017 --:--:-- --:--:-- --:--:-- 55017 [2023-02-24T18:57:11.875Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2c97aba079028bd473e2bdec2302d4325a5af124 [Pipeline] } [2023-02-24T18:57:11.883Z] 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-02-24T18:57:12.601Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives ] [2023-02-24T18:57:12.601Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-24T18:57:12.601Z] total 16 [2023-02-24T18:57:12.601Z] drwxr-xr-x 3 root root 4096 Feb 24 18:44 . [2023-02-24T18:57:12.601Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 18:44 .. [2023-02-24T18:57:12.601Z] drwxr-xr-x 2 root root 4096 Feb 24 18:44 cost [2023-02-24T18:57:12.601Z] -rw-r--r-- 1 root root 86 Feb 24 18:44 cost.csv [2023-02-24T18:57:12.601Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-24T18:57:12.601Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives [2023-02-24T18:57:12.601Z] total 16 [2023-02-24T18:57:12.601Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 18:44 . [2023-02-24T18:57:12.601Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 18:44 .. [2023-02-24T18:57:12.601Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 18:44 cost [2023-02-24T18:57:12.601Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 24 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:57:12.892Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:57:13.747Z] ---> package-listing.sh [2023-02-24T18:57:13.747Z] ++ facter osfamily [2023-02-24T18:57:13.747Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-24T18:57:14.006Z] + OS_FAMILY=debian [2023-02-24T18:57:14.006Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1335 [2023-02-24T18:57:14.006Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-24T18:57:14.006Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-24T18:57:14.006Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-24T18:57:14.006Z] + PACKAGES=/tmp/packages_start.txt [2023-02-24T18:57:14.006Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1335 ']' [2023-02-24T18:57:14.006Z] + PACKAGES=/tmp/packages_end.txt [2023-02-24T18:57:14.006Z] + case "${OS_FAMILY}" in [2023-02-24T18:57:14.006Z] + dpkg -l [2023-02-24T18:57:14.006Z] + grep '^ii' [2023-02-24T18:57:14.006Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-24T18:57:14.006Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-24T18:57:14.006Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-24T18:57:14.006Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1335 ']' [2023-02-24T18:57:14.006Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/ [2023-02-24T18:57:14.006Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1335/archives/ [Pipeline] echo [2023-02-24T18:57:14.018Z] 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-1335/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-24T18:57:14.295Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T18:57:14.852Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T18:57:14.852Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T18:57:14.921Z] prd-ubuntu20.04-docker-8c-8g-7382 does not seem to be running inside a container [2023-02-24T18:57:14.959Z] $ 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-1335/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-1335 -v /w/workspace/gexfoundry_device-sdk-go_PR-1335:/w/workspace/gexfoundry_device-sdk-go_PR-1335:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1335@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-02-24T18:57:15.138Z] $ docker top fbf0f0270f959d140751a855e60a95ad308f59875ca9c69f391c0d675c77d95d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T18:57:15.465Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-24T18:57:15.749Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-24T18:57:16.032Z] + ls /var/log/sa-host [2023-02-24T18:57:16.033Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T18:57:16.102Z] provisioning config files... [2023-02-24T18:57:16.109Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1335@tmp/config9461403628775156236tmp [Pipeline] { [Pipeline] echo [2023-02-24T18:57:16.119Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:57:16.403Z] ---> create-netrc.sh [Pipeline] } [2023-02-24T18:57:16.409Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:57:16.729Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-24T18:57:16.739Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:57:17.027Z] ---> sudo-logs.sh [2023-02-24T18:57:17.027Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-24T18:57:17.058Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:57:17.343Z] ---> job-cost.sh [2023-02-24T18:57:17.343Z] lf-activate-venv: SKIPPING [2023-02-24T18:57:17.343Z] DEBUG: total: 0.2199999988079071 [2023-02-24T18:57:17.343Z] INFO: Retrieving Stack Cost... [2023-02-24T18:57:17.603Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T18:57:18.171Z] INFO: Archiving Costs [Pipeline] echo [2023-02-24T18:57:18.184Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T18:57:18.466Z] ---> logs-deploy.sh [2023-02-24T18:57:18.466Z] lf-activate-venv: SKIPPING [2023-02-24T18:57:18.466Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1335/5 [2023-02-24T18:57:18.466Z] INFO: archiving workspace using pattern(s): [2023-02-24T18:57:19.402Z] Archives upload complete. [2023-02-24T18:57:19.402Z] INFO: archiving logs to Nexus [2023-02-24T18:57:19.970Z] ---> uname -a: [2023-02-24T18:57:19.970Z] Linux prd-ubuntu20-04-docker-8c-8g-7382 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-02-24T18:57:19.970Z] [2023-02-24T18:57:19.970Z]