Pull request #1283 opened 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 FelixTing for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 rather than 278dac4cca4f42dde307a63edc8db2bf3cf770af Obtained Jenkinsfile from 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 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-ssh2693896002289992005.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-ssh5386111633782081599.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4379670416906112492.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1283/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13089925937561940662.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17307760376995074805.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1283/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12356568238662355072.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/v2]] ========================================================= [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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-2551’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2553 in /w/workspace/gexfoundry_device-sdk-go_PR-1283 [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-1283 # 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/1283/head:refs/remotes/origin/PR-1283 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 278dac4cca4f42dde307a63edc8db2bf3cf770af Merge succeeded, producing 278dac4cca4f42dde307a63edc8db2bf3cf770af Checking out Revision 278dac4cca4f42dde307a63edc8db2bf3cf770af (PR-1283) > git config core.sparsecheckout # timeout=10 > git checkout -f 278dac4cca4f42dde307a63edc8db2bf3cf770af # 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 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 278dac4cca4f42dde307a63edc8db2bf3cf770af # timeout=10 Commit message: "fix: typo "DeviceResourece" -> "DeviceResource" in error message" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-16T05:08:48.002Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-16T05:08:48.193Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-16T05:08:48.302Z] ========================================================= [2023-01-16T05:08:48.303Z] EdgeX Global Pipelines Version Info [2023-01-16T05:08:48.303Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:08:49.058Z] ------------------- [2023-01-16T05:08:49.058Z] stable info: [2023-01-16T05:08:49.058Z] ------------------- [2023-01-16T05:08:49.058Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-16T05:08:49.058Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T05:08:49.058Z] Message: update stable to v1.0.244 [2023-01-16T05:08:49.630Z] ------------------- [2023-01-16T05:08:49.630Z] experimental info: [2023-01-16T05:08:49.630Z] ------------------- [2023-01-16T05:08:49.630Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-16T05:08:49.630Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T05:08:49.630Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-16T05:08:49.925Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-16T05:08:49.974Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-16T05:08:50.015Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-16T05:08:50.058Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-16T05:08:50.100Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-16T05:08:50.145Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-16T05:08:50.180Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-16T05:08:50.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-16T05:08:50.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-16T05:08:50.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-16T05:08:50.343Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-16T05:08:50.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-16T05:08:50.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-16T05:08:50.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-16T05:08:50.499Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-16T05:08:50.540Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T05:08:50.583Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T05:08:50.625Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-16T05:08:50.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-16T05:08:50.700Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-16T05:08:50.740Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-16T05:08:50.782Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-16T05:08:50.825Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-16T05:08:50.867Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-16T05:08:50.910Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-16T05:08:50.954Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-16T05:08:51.000Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-16T05:08:51.050Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1283 [Pipeline] echo [2023-01-16T05:08:51.093Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1283 [Pipeline] echo [2023-01-16T05:08:51.134Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1283 [Pipeline] echo [2023-01-16T05:08:51.170Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 278dac4cca4f42dde307a63edc8db2bf3cf770af [Pipeline] echo [2023-01-16T05:08:51.211Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 278dac4 [Pipeline] echo [2023-01-16T05:08:51.252Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T05:08:51.358Z] provisioning config files... [2023-01-16T05:08:51.385Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp/config14028249701283423281tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:08:51.726Z] ---> docker-login.sh [2023-01-16T05:08:51.726Z] nexus3.edgexfoundry.org:10001 [2023-01-16T05:08:51.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:08:51.987Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:08:51.987Z] Configure a credential helper to remove this warning. See [2023-01-16T05:08:51.987Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:08:51.987Z] [2023-01-16T05:08:51.987Z] Login Succeeded [2023-01-16T05:08:51.987Z] nexus3.edgexfoundry.org:10002 [2023-01-16T05:08:51.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:08:52.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:08:52.248Z] Configure a credential helper to remove this warning. See [2023-01-16T05:08:52.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:08:52.248Z] [2023-01-16T05:08:52.248Z] Login Succeeded [2023-01-16T05:08:52.248Z] nexus3.edgexfoundry.org:10003 [2023-01-16T05:08:52.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:08:52.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:08:52.248Z] Configure a credential helper to remove this warning. See [2023-01-16T05:08:52.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:08:52.248Z] [2023-01-16T05:08:52.248Z] Login Succeeded [2023-01-16T05:08:52.248Z] nexus3.edgexfoundry.org:10004 [2023-01-16T05:08:52.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:08:52.508Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:08:52.508Z] Configure a credential helper to remove this warning. See [2023-01-16T05:08:52.508Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:08:52.508Z] [2023-01-16T05:08:52.508Z] Login Succeeded [2023-01-16T05:08:52.508Z] docker.io [2023-01-16T05:08:52.508Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:08:52.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:08:52.769Z] Configure a credential helper to remove this warning. See [2023-01-16T05:08:52.769Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:08:52.769Z] [2023-01-16T05:08:52.769Z] Login Succeeded [2023-01-16T05:08:52.769Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T05:08:52.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-16T05:08:53.416Z] + git rev-list -1 --merges 278dac4cca4f42dde307a63edc8db2bf3cf770af~1..278dac4cca4f42dde307a63edc8db2bf3cf770af [Pipeline] echo [2023-01-16T05:08:53.497Z] -----------> git rev-list -1 --merges 278dac4cca4f42dde307a63edc8db2bf3cf770af~1..278dac4cca4f42dde307a63edc8db2bf3cf770af 278dac4cca4f42dde307a63edc8db2bf3cf770af [false] [Pipeline] sh [2023-01-16T05:08:53.806Z] + git log --format=format:%s -1 278dac4cca4f42dde307a63edc8db2bf3cf770af [Pipeline] echo [2023-01-16T05:08:53.841Z] ========================================================= [2023-01-16T05:08:53.841Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-16T05:08:53.841Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T05:08:54.270Z] + git log --format=format:%s -1 278dac4cca4f42dde307a63edc8db2bf3cf770af [Pipeline] echo [2023-01-16T05:08:54.301Z] [semverPrep] GIT_COMMIT: 278dac4cca4f42dde307a63edc8db2bf3cf770af, Commit Message: fix: typo "DeviceResourece" -> "DeviceResource" in error message [Pipeline] echo [2023-01-16T05:08:54.330Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-16T05:08:54.699Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-16T05:08:54.699Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-16T05:08:54.699Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-16T05:08:54.699Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-16T05:08:54.699Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-16T05:08:54.699Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-16T05:08:54.699Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:08:55.113Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T05:08:55.113Z] [2023-01-16T05:08:55.113Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:08:55.493Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T05:08:55.493Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-16T05:08:55.493Z] b85a868b505f: Pulling fs layer [2023-01-16T05:08:55.493Z] e2be974225ed: Pulling fs layer [2023-01-16T05:08:55.493Z] 339a4e72a1f5: Pulling fs layer [2023-01-16T05:08:55.493Z] 988bab9f4d93: Pulling fs layer [2023-01-16T05:08:55.493Z] 1469e6f7b9e6: Pulling fs layer [2023-01-16T05:08:55.493Z] eaf3925da568: Pulling fs layer [2023-01-16T05:08:55.493Z] bab4dde63d76: Pulling fs layer [2023-01-16T05:08:55.493Z] bde34c3a00c8: Pulling fs layer [2023-01-16T05:08:55.493Z] b352a97aabf1: Pulling fs layer [2023-01-16T05:08:55.493Z] 4872d77fe225: Pulling fs layer [2023-01-16T05:08:55.493Z] 5851b861e8e6: Pulling fs layer [2023-01-16T05:08:55.493Z] eaf3925da568: Waiting [2023-01-16T05:08:55.493Z] 4872d77fe225: Waiting [2023-01-16T05:08:55.493Z] 5851b861e8e6: Waiting [2023-01-16T05:08:55.493Z] bde34c3a00c8: Waiting [2023-01-16T05:08:55.493Z] b352a97aabf1: Waiting [2023-01-16T05:08:55.493Z] 1469e6f7b9e6: Waiting [2023-01-16T05:08:55.493Z] 988bab9f4d93: Waiting [2023-01-16T05:08:55.493Z] e2be974225ed: Download complete [2023-01-16T05:08:55.493Z] 988bab9f4d93: Verifying Checksum [2023-01-16T05:08:55.493Z] 988bab9f4d93: Download complete [2023-01-16T05:08:55.754Z] 1469e6f7b9e6: Verifying Checksum [2023-01-16T05:08:55.754Z] 1469e6f7b9e6: Download complete [2023-01-16T05:08:55.754Z] eaf3925da568: Verifying Checksum [2023-01-16T05:08:55.754Z] eaf3925da568: Download complete [2023-01-16T05:08:56.015Z] 339a4e72a1f5: Verifying Checksum [2023-01-16T05:08:56.015Z] 339a4e72a1f5: Download complete [2023-01-16T05:08:56.015Z] bde34c3a00c8: Verifying Checksum [2023-01-16T05:08:56.015Z] bde34c3a00c8: Download complete [2023-01-16T05:08:56.015Z] b352a97aabf1: Verifying Checksum [2023-01-16T05:08:56.015Z] b352a97aabf1: Download complete [2023-01-16T05:08:56.015Z] 4872d77fe225: Download complete [2023-01-16T05:08:56.015Z] 5851b861e8e6: Verifying Checksum [2023-01-16T05:08:56.015Z] 5851b861e8e6: Download complete [2023-01-16T05:08:56.274Z] b85a868b505f: Verifying Checksum [2023-01-16T05:08:56.274Z] b85a868b505f: Download complete [2023-01-16T05:08:57.215Z] bab4dde63d76: Verifying Checksum [2023-01-16T05:08:57.215Z] bab4dde63d76: Download complete [2023-01-16T05:08:57.790Z] b85a868b505f: Pull complete [2023-01-16T05:08:58.050Z] e2be974225ed: Pull complete [2023-01-16T05:08:58.310Z] 339a4e72a1f5: Pull complete [2023-01-16T05:08:58.570Z] 988bab9f4d93: Pull complete [2023-01-16T05:08:58.828Z] 1469e6f7b9e6: Pull complete [2023-01-16T05:08:58.828Z] eaf3925da568: Pull complete [2023-01-16T05:09:00.727Z] bab4dde63d76: Pull complete [2023-01-16T05:09:00.727Z] bde34c3a00c8: Pull complete [2023-01-16T05:09:00.727Z] b352a97aabf1: Pull complete [2023-01-16T05:09:00.985Z] 4872d77fe225: Pull complete [2023-01-16T05:09:00.985Z] 5851b861e8e6: Pull complete [2023-01-16T05:09:00.985Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-16T05:09:00.985Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-16T05:09:00.985Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T05:09:01.220Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2023-01-16T05:09:01.242Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1283 -v /w/workspace/gexfoundry_device-sdk-go_PR-1283:/w/workspace/gexfoundry_device-sdk-go_PR-1283:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-16T05:09:03.176Z] $ docker top 844cee58f2e14325c0dc95ca6149436bf6a7e122934f0b4f1888e4cd515c2a8b -eo pid,comm [2023-01-16T05:09:03.251Z] 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-01-16T05:09:03.251Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-16T05:09:03.380Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T05:09:03.380Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T05:09:03.493Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T05:09:03.490Z] $ docker exec 844cee58f2e14325c0dc95ca6149436bf6a7e122934f0b4f1888e4cd515c2a8b ssh-agent [2023-01-16T05:09:03.613Z] SSH_AUTH_SOCK=/tmp/ssh-TSE7BjY7cquK/agent.32 [2023-01-16T05:09:03.613Z] SSH_AGENT_PID=38 [2023-01-16T05:09:03.620Z] Running ssh-add (command line suppressed) [2023-01-16T05:09:03.715Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp/private_key_14995165277029587499.key (/w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp/private_key_14995165277029587499.key) [2023-01-16T05:09:03.736Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T05:09:04.065Z] + git tag --points-at HEAD [Pipeline] } [2023-01-16T05:09:04.086Z] $ docker exec --env ******** --env ******** 844cee58f2e14325c0dc95ca6149436bf6a7e122934f0b4f1888e4cd515c2a8b ssh-agent -k [2023-01-16T05:09:04.187Z] unset SSH_AUTH_SOCK; [2023-01-16T05:09:04.188Z] unset SSH_AGENT_PID; [2023-01-16T05:09:04.188Z] echo Agent pid 38 killed; [2023-01-16T05:09:04.201Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-16T05:09:04.292Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-16T05:09:04.292Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-16T05:09:04.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-16T05:09:04.405Z] $ docker exec 844cee58f2e14325c0dc95ca6149436bf6a7e122934f0b4f1888e4cd515c2a8b ssh-agent [2023-01-16T05:09:04.527Z] SSH_AUTH_SOCK=/tmp/ssh-q1u7Ml4OmTjE/agent.70 [2023-01-16T05:09:04.527Z] SSH_AGENT_PID=76 [2023-01-16T05:09:04.531Z] Running ssh-add (command line suppressed) [2023-01-16T05:09:04.661Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp/private_key_304722163508279335.key (/w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp/private_key_304722163508279335.key) [2023-01-16T05:09:04.679Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-16T05:09:05.012Z] + git semver init [2023-01-16T05:09:05.271Z] 2023-01-16 05:09:05,234 [run_init] DEBUG init version:0.0.0 force:False [2023-01-16T05:09:05.271Z] 2023-01-16 05:09:05,234 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1283/.semver [2023-01-16T05:09:05.271Z] 2023-01-16 05:09:05,235 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1283/.semver [2023-01-16T05:09:05.271Z] 2023-01-16 05:09:05,235 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1283/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1283, universal_newlines=False, shell=None, istream=None) [2023-01-16T05:09:06.208Z] 2023-01-16 05:09:06,156 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1283/.git/info/exclude [2023-01-16T05:09:06.208Z] 2023-01-16 05:09:06,156 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1283/.semver/PR-1283 with force:False [2023-01-16T05:09:06.208Z] 2023-01-16 05:09:06,157 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1283/.semver/PR-1283 [2023-01-16T05:09:06.208Z] 2023-01-16 05:09:06,161 [execute] INFO git cat-file --batch-check [2023-01-16T05:09:06.208Z] 2023-01-16 05:09:06,161 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1283/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T05:09:06.208Z] 2023-01-16 05:09:06,165 [execute] INFO git cat-file --batch [2023-01-16T05:09:06.208Z] 2023-01-16 05:09:06,166 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1283/.semver, universal_newlines=False, shell=None, istream=) [2023-01-16T05:09:06.208Z] 2023-01-16 05:09:06,170 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1283/.semver/PR-1283 [2023-01-16T05:09:06.208Z] 0.0.0 [Pipeline] } [2023-01-16T05:09:06.233Z] $ docker exec --env ******** --env ******** 844cee58f2e14325c0dc95ca6149436bf6a7e122934f0b4f1888e4cd515c2a8b ssh-agent -k [2023-01-16T05:09:06.335Z] unset SSH_AUTH_SOCK; [2023-01-16T05:09:06.336Z] unset SSH_AGENT_PID; [2023-01-16T05:09:06.336Z] echo Agent pid 76 killed; [2023-01-16T05:09:06.346Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-16T05:09:06.768Z] + git semver [Pipeline] } [2023-01-16T05:09:07.056Z] $ docker stop --time=1 844cee58f2e14325c0dc95ca6149436bf6a7e122934f0b4f1888e4cd515c2a8b [2023-01-16T05:09:08.380Z] $ docker rm -f --volumes 844cee58f2e14325c0dc95ca6149436bf6a7e122934f0b4f1888e4cd515c2a8b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T05:09:08.786Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-16T05:09:09.036Z] Stashed 1 file(s) [Pipeline] echo [2023-01-16T05:09:09.053Z] [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-01-16T05:09:09.713Z] provisioning config files... [2023-01-16T05:09:09.722Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp/config16324832244905164927tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:09:10.064Z] ---> docker-login.sh [2023-01-16T05:09:10.064Z] nexus3.edgexfoundry.org:10001 [2023-01-16T05:09:10.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:09:10.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:09:10.064Z] Configure a credential helper to remove this warning. See [2023-01-16T05:09:10.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:09:10.064Z] [2023-01-16T05:09:10.064Z] Login Succeeded [2023-01-16T05:09:10.064Z] nexus3.edgexfoundry.org:10002 [2023-01-16T05:09:10.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:09:10.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:09:10.064Z] Configure a credential helper to remove this warning. See [2023-01-16T05:09:10.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:09:10.064Z] [2023-01-16T05:09:10.064Z] Login Succeeded [2023-01-16T05:09:10.064Z] nexus3.edgexfoundry.org:10003 [2023-01-16T05:09:10.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:09:10.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:09:10.329Z] Configure a credential helper to remove this warning. See [2023-01-16T05:09:10.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:09:10.329Z] [2023-01-16T05:09:10.329Z] Login Succeeded [2023-01-16T05:09:10.329Z] nexus3.edgexfoundry.org:10004 [2023-01-16T05:09:10.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:09:10.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:09:10.329Z] Configure a credential helper to remove this warning. See [2023-01-16T05:09:10.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:09:10.329Z] [2023-01-16T05:09:10.329Z] Login Succeeded [2023-01-16T05:09:10.329Z] docker.io [2023-01-16T05:09:10.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:09:10.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:09:10.592Z] Configure a credential helper to remove this warning. See [2023-01-16T05:09:10.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:09:10.592Z] [2023-01-16T05:09:10.592Z] Login Succeeded [2023-01-16T05:09:10.592Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T05:09:10.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T05:09:10.798Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T05:09:10.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T05:09:10.866Z] ========================================================= [2023-01-16T05:09:10.866Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-16T05:09:10.866Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:09:11.319Z] + 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-01-16T05:09:11.319Z] Sending build context to Docker daemon 10.45MB [2023-01-16T05:09:11.319Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T05:09:11.319Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-16T05:09:11.319Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-16T05:09:11.319Z] 213ec9aee27d: Pulling fs layer [2023-01-16T05:09:11.319Z] 4583459ba037: Pulling fs layer [2023-01-16T05:09:11.319Z] 93c1e223e6f2: Pulling fs layer [2023-01-16T05:09:11.319Z] 53926ce57604: Pulling fs layer [2023-01-16T05:09:11.319Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-16T05:09:11.319Z] 22ff95d597cd: Pulling fs layer [2023-01-16T05:09:11.319Z] 12d6caf4c0d1: Pulling fs layer [2023-01-16T05:09:11.319Z] 96b7cbca73a9: Pulling fs layer [2023-01-16T05:09:11.319Z] a7acece74701: Pulling fs layer [2023-01-16T05:09:11.319Z] 12d6caf4c0d1: Waiting [2023-01-16T05:09:11.319Z] 22ff95d597cd: Waiting [2023-01-16T05:09:11.319Z] 53926ce57604: Waiting [2023-01-16T05:09:11.319Z] 21b2b0c7a3f4: Waiting [2023-01-16T05:09:11.319Z] 96b7cbca73a9: Waiting [2023-01-16T05:09:11.319Z] a7acece74701: Waiting [2023-01-16T05:09:11.578Z] 93c1e223e6f2: Verifying Checksum [2023-01-16T05:09:11.578Z] 93c1e223e6f2: Download complete [2023-01-16T05:09:11.578Z] 4583459ba037: Verifying Checksum [2023-01-16T05:09:11.578Z] 4583459ba037: Download complete [2023-01-16T05:09:11.578Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-16T05:09:11.578Z] 21b2b0c7a3f4: Download complete [2023-01-16T05:09:11.578Z] 22ff95d597cd: Download complete [2023-01-16T05:09:11.578Z] 213ec9aee27d: Verifying Checksum [2023-01-16T05:09:11.578Z] 213ec9aee27d: Download complete [2023-01-16T05:09:11.578Z] 12d6caf4c0d1: Download complete [2023-01-16T05:09:11.837Z] 213ec9aee27d: Pull complete [2023-01-16T05:09:11.838Z] 4583459ba037: Pull complete [2023-01-16T05:09:11.838Z] 93c1e223e6f2: Pull complete [2023-01-16T05:09:13.744Z] a7acece74701: Verifying Checksum [2023-01-16T05:09:13.744Z] a7acece74701: Download complete [2023-01-16T05:09:15.167Z] 53926ce57604: Verifying Checksum [2023-01-16T05:09:15.167Z] 53926ce57604: Download complete [2023-01-16T05:09:15.167Z] 96b7cbca73a9: Verifying Checksum [2023-01-16T05:09:15.167Z] 96b7cbca73a9: Download complete [2023-01-16T05:09:18.449Z] 53926ce57604: Pull complete [2023-01-16T05:09:18.449Z] 21b2b0c7a3f4: Pull complete [2023-01-16T05:09:18.707Z] 22ff95d597cd: Pull complete [2023-01-16T05:09:18.707Z] 12d6caf4c0d1: Pull complete [2023-01-16T05:09:20.607Z] 96b7cbca73a9: Pull complete [2023-01-16T05:09:21.544Z] a7acece74701: Pull complete [2023-01-16T05:09:21.544Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-16T05:09:21.544Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-16T05:09:21.544Z] ---> db6d94c90886 [2023-01-16T05:09:21.544Z] Step 3/10 : ARG MAKE=make build [2023-01-16T05:09:24.525Z] Still waiting to schedule task [2023-01-16T05:09:24.525Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2550’ is offline [2023-01-16T05:09:24.880Z] ---> Running in d7dfb074734b [2023-01-16T05:09:24.880Z] Removing intermediate container d7dfb074734b [2023-01-16T05:09:24.880Z] ---> 274e02330a6e [2023-01-16T05:09:24.880Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-16T05:09:24.880Z] ---> Running in b8ba9ce8279b [2023-01-16T05:09:24.880Z] Removing intermediate container b8ba9ce8279b [2023-01-16T05:09:24.880Z] ---> 9cf6eaa488d2 [2023-01-16T05:09:24.880Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-16T05:09:24.880Z] ---> Running in 81d632611e65 [2023-01-16T05:09:24.880Z] Removing intermediate container 81d632611e65 [2023-01-16T05:09:24.880Z] ---> eaad51fe74ee [2023-01-16T05:09:24.880Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-16T05:09:24.880Z] ---> Running in b75c9d85400a [2023-01-16T05:09:25.139Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T05:09:25.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T05:09:25.660Z] OK: 211 MiB in 51 packages [2023-01-16T05:09:25.920Z] Removing intermediate container b75c9d85400a [2023-01-16T05:09:25.920Z] ---> b7f8061593f4 [2023-01-16T05:09:25.920Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-16T05:09:25.920Z] ---> dc6a220b08aa [2023-01-16T05:09:25.920Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T05:09:25.920Z] ---> Running in 9c5fb59db067 [2023-01-16T05:09:48.363Z] Removing intermediate container 9c5fb59db067 [2023-01-16T05:09:48.363Z] ---> 31a6aea3364c [2023-01-16T05:09:48.363Z] Step 9/10 : COPY . . [2023-01-16T05:09:48.363Z] ---> d5c88a5caaaa [2023-01-16T05:09:48.363Z] Step 10/10 : RUN ${MAKE} [2023-01-16T05:09:48.363Z] ---> Running in d2c7d72a7f49 [2023-01-16T05:09:48.363Z] noop [2023-01-16T05:09:48.929Z] Removing intermediate container d2c7d72a7f49 [2023-01-16T05:09:48.929Z] ---> 72b8caff927d [2023-01-16T05:09:48.929Z] Successfully built 72b8caff927d [2023-01-16T05:09:48.929Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:09:49.381Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T05:09:49.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T05:09:49.540Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2023-01-16T05:09:49.572Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1283 -v /w/workspace/gexfoundry_device-sdk-go_PR-1283:/w/workspace/gexfoundry_device-sdk-go_PR-1283:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1283@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 ******** ci-base-image-x86_64 cat [2023-01-16T05:09:49.934Z] $ docker top 21f381d6d38a3f17f4de475dfba856ac9d4b8412ca2fe3e742143e92a3992c69 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T05:09:50.326Z] + go version [2023-01-16T05:09:50.326Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-16T05:09:50.362Z] $ docker stop --time=1 21f381d6d38a3f17f4de475dfba856ac9d4b8412ca2fe3e742143e92a3992c69 [2023-01-16T05:09:51.661Z] $ docker rm -f --volumes 21f381d6d38a3f17f4de475dfba856ac9d4b8412ca2fe3e742143e92a3992c69 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:09:52.379Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-16T05:09:52.379Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T05:09:52.532Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2023-01-16T05:09:52.573Z] $ 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-1283 -v /w/workspace/gexfoundry_device-sdk-go_PR-1283:/w/workspace/gexfoundry_device-sdk-go_PR-1283:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1283@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 ******** ci-base-image-x86_64 cat [2023-01-16T05:09:52.915Z] $ docker top caf0ee5f9550bc4c5b343e48c36f7db25855670d4ac3a540e30f25ae43c00f02 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T05:09:53.310Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1283 [Pipeline] fileExists [Pipeline] sh [2023-01-16T05:09:53.669Z] + make test [2023-01-16T05:09:53.669Z] go test -race -coverprofile=coverage.out ./... [2023-01-16T05:10:00.231Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-16T05:10:12.438Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.062s coverage: 27.6% of statements [2023-01-16T05:10:12.438Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.061s coverage: 78.9% of statements [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-16T05:10:12.438Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.082s coverage: 73.6% of statements [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-16T05:10:12.438Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.107s coverage: 54.4% of statements [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-16T05:10:12.438Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.082s coverage: 65.1% of statements [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-16T05:10:12.438Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.761s coverage: 89.2% of statements [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-16T05:10:12.438Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.065s coverage: 4.6% of statements [2023-01-16T05:10:12.438Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-16T05:10:27.304Z] 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-01-16T05:10:27.304Z] GO111MODULE=on go vet ./... [2023-01-16T05:10:29.210Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-16T05:10:29.210Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-16T05:10:29.210Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-16T05:10:29.247Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-16T05:10:29.287Z] $ docker stop --time=1 caf0ee5f9550bc4c5b343e48c36f7db25855670d4ac3a540e30f25ae43c00f02 [2023-01-16T05:10:32.471Z] $ docker rm -f --volumes caf0ee5f9550bc4c5b343e48c36f7db25855670d4ac3a540e30f25ae43c00f02 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T05:10:32.998Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-16T05:10:33.067Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-16T05:10:33.806Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-16T05:10:34.120Z] + ls -al . [2023-01-16T05:10:34.120Z] total 280 [2023-01-16T05:10:34.120Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 16 05:09 . [2023-01-16T05:10:34.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 05:08 .. [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 05:08 .dockerignore [2023-01-16T05:10:34.120Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 05:10 .git [2023-01-16T05:10:34.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 05:08 .github [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 16 05:08 .gitignore [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 16 05:08 .golangci.yml [2023-01-16T05:10:34.120Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 05:09 .semver [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 16 05:08 CHANGELOG.md [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 05:08 GOVERNANCE.md [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 16 05:08 Jenkinsfile [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 05:08 LICENSE [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 16 05:08 Makefile [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 16 05:08 OWNERS.md [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 16 05:08 README.md [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 05:09 VERSION [2023-01-16T05:10:34.120Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 05:08 bin [2023-01-16T05:10:34.120Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 16 05:10 coverage.out [2023-01-16T05:10:34.120Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 05:08 example [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 16 05:08 go.mod [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 16 05:08 go.sum [2023-01-16T05:10:34.120Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 16 05:08 internal [2023-01-16T05:10:34.120Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 05:08 openapi [2023-01-16T05:10:34.120Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 16 05:08 pkg [2023-01-16T05:10:34.120Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 05:08 snap [2023-01-16T05:10:34.120Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 05:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:10:34.557Z] + 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=278dac4cca4f42dde307a63edc8db2bf3cf770af --label arch=amd64 --label version=0.0.0 . [2023-01-16T05:10:34.557Z] Sending build context to Docker daemon 10.55MB [2023-01-16T05:10:34.557Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T05:10:34.557Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-16T05:10:34.557Z] ---> 72b8caff927d [2023-01-16T05:10:34.557Z] Step 3/23 : ARG MAKE=make build [2023-01-16T05:10:34.816Z] ---> Running in 2bc971097734 [2023-01-16T05:10:34.816Z] Removing intermediate container 2bc971097734 [2023-01-16T05:10:34.816Z] ---> 2938a6efe50b [2023-01-16T05:10:34.816Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-16T05:10:34.816Z] ---> Running in eb7c965a96f4 [2023-01-16T05:10:34.816Z] Removing intermediate container eb7c965a96f4 [2023-01-16T05:10:34.816Z] ---> 1e41050d3ceb [2023-01-16T05:10:34.816Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-16T05:10:34.816Z] ---> Running in bf0e91a008fb [2023-01-16T05:10:35.074Z] Removing intermediate container bf0e91a008fb [2023-01-16T05:10:35.074Z] ---> 0c47036b4536 [2023-01-16T05:10:35.074Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-16T05:10:35.074Z] ---> Running in 9ce9623419db [2023-01-16T05:10:35.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T05:10:35.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T05:10:35.593Z] OK: 211 MiB in 51 packages [2023-01-16T05:10:36.162Z] Removing intermediate container 9ce9623419db [2023-01-16T05:10:36.162Z] ---> 5286a222f3cf [2023-01-16T05:10:36.162Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-16T05:10:36.162Z] ---> 81f627af2846 [2023-01-16T05:10:36.162Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T05:10:36.162Z] ---> Running in 5e114b895b59 [2023-01-16T05:10:36.729Z] Removing intermediate container 5e114b895b59 [2023-01-16T05:10:36.729Z] ---> d08057a3d373 [2023-01-16T05:10:36.729Z] Step 9/23 : COPY . . [2023-01-16T05:10:37.334Z] ---> cfe6735e4058 [2023-01-16T05:10:37.334Z] Step 10/23 : RUN ${MAKE} [2023-01-16T05:10:37.334Z] ---> Running in 39c36b3ef665 [2023-01-16T05:10:37.594Z] 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-01-16T05:10:55.316Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2554 in /w/workspace/gexfoundry_device-sdk-go_PR-1283 [Pipeline] { [Pipeline] ws [2023-01-16T05:10:55.381Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-01-16T05:10:55.467Z] The recommended git tool is: git [2023-01-16T05:10:55.665Z] Removing intermediate container 39c36b3ef665 [2023-01-16T05:10:55.665Z] ---> ac07c54a6027 [2023-01-16T05:10:55.665Z] Step 11/23 : FROM alpine:3.16 [2023-01-16T05:10:55.665Z] 3.16: Pulling from library/alpine [2023-01-16T05:10:55.665Z] ca7dd9ec2225: Pulling fs layer [2023-01-16T05:10:55.665Z] ca7dd9ec2225: Verifying Checksum [2023-01-16T05:10:55.665Z] ca7dd9ec2225: Download complete [2023-01-16T05:10:55.665Z] ca7dd9ec2225: Pull complete [2023-01-16T05:10:55.665Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-16T05:10:55.665Z] Status: Downloaded newer image for alpine:3.16 [2023-01-16T05:10:55.665Z] ---> bfe296a52501 [2023-01-16T05:10:55.665Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-16T05:10:55.990Z] ---> Running in 30f665d2b6ac [2023-01-16T05:10:55.990Z] Removing intermediate container 30f665d2b6ac [2023-01-16T05:10:55.990Z] ---> 764d7b2f4160 [2023-01-16T05:10:55.990Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-16T05:10:55.990Z] ---> Running in 9de911684712 [2023-01-16T05:10:56.297Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-16T05:10:56.556Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-16T05:10:56.818Z] OK: 6 MiB in 14 packages [2023-01-16T05:10:57.077Z] Removing intermediate container 9de911684712 [2023-01-16T05:10:57.077Z] ---> 422a73028b33 [2023-01-16T05:10:57.077Z] Step 14/23 : WORKDIR / [2023-01-16T05:10:57.078Z] ---> Running in ce9fb2825b0f [2023-01-16T05:10:57.337Z] Removing intermediate container ce9fb2825b0f [2023-01-16T05:10:57.337Z] ---> ba9768e2358e [2023-01-16T05:10:57.337Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-16T05:10:57.337Z] ---> 2c41e75bc5d8 [2023-01-16T05:10:57.337Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-16T05:10:57.974Z] ---> 81a12e620f28 [2023-01-16T05:10:57.974Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-16T05:10:58.232Z] ---> 75541b4630cf [2023-01-16T05:10:58.232Z] Step 18/23 : EXPOSE 59999 [2023-01-16T05:10:58.232Z] ---> Running in d4ca9e081d61 [2023-01-16T05:10:58.232Z] Removing intermediate container d4ca9e081d61 [2023-01-16T05:10:58.232Z] ---> a31ac6533259 [2023-01-16T05:10:58.232Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-16T05:10:58.232Z] ---> Running in ea9d6ec98940 [2023-01-16T05:10:58.232Z] Removing intermediate container ea9d6ec98940 [2023-01-16T05:10:58.232Z] ---> bf6481bc5764 [2023-01-16T05:10:58.232Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-16T05:10:58.232Z] ---> Running in 27cac8160b5e [2023-01-16T05:10:58.490Z] Removing intermediate container 27cac8160b5e [2023-01-16T05:10:58.490Z] ---> eab26f5d52d8 [2023-01-16T05:10:58.490Z] Step 21/23 : LABEL arch=amd64 [2023-01-16T05:10:58.490Z] ---> Running in 376a45813d9f [2023-01-16T05:10:58.490Z] Removing intermediate container 376a45813d9f [2023-01-16T05:10:58.490Z] ---> 6be28ed45a35 [2023-01-16T05:10:58.490Z] Step 22/23 : LABEL git_sha=278dac4cca4f42dde307a63edc8db2bf3cf770af [2023-01-16T05:10:58.490Z] ---> Running in 9ade3be0d581 [2023-01-16T05:10:58.490Z] Removing intermediate container 9ade3be0d581 [2023-01-16T05:10:58.490Z] ---> 35c32f097d96 [2023-01-16T05:10:58.490Z] Step 23/23 : LABEL version=0.0.0 [2023-01-16T05:10:58.490Z] ---> Running in d75b65a1328d [2023-01-16T05:10:58.749Z] Removing intermediate container d75b65a1328d [2023-01-16T05:10:58.749Z] ---> cba4eaeb8c2e [2023-01-16T05:10:58.749Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-16T05:10:58.749Z] Successfully built cba4eaeb8c2e [2023-01-16T05:10:58.749Z] 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-01-16T05:11:00.661Z] using credential edgex-jenkins-ssh [2023-01-16T05:11:00.680Z] Cloning the remote Git repository [2023-01-16T05:11:00.730Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T05:11:00.730Z] [2023-01-16T05:11:00.730Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:11:01.109Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T05:11:01.109Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-16T05:11:01.109Z] 5eb5b503b376: Pulling fs layer [2023-01-16T05:11:01.109Z] 5c69ac0246d0: Pulling fs layer [2023-01-16T05:11:01.109Z] ec43610c2a17: Pulling fs layer [2023-01-16T05:11:01.109Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-16T05:11:01.109Z] 33b1e0a273af: Pulling fs layer [2023-01-16T05:11:01.109Z] 5d3b04190fa2: Pulling fs layer [2023-01-16T05:11:01.109Z] 2f39f015ded8: Pulling fs layer [2023-01-16T05:11:01.109Z] 3a2ae6a8a46f: Waiting [2023-01-16T05:11:01.109Z] 33b1e0a273af: Waiting [2023-01-16T05:11:01.109Z] 5d3b04190fa2: Waiting [2023-01-16T05:11:01.109Z] 2f39f015ded8: Waiting [2023-01-16T05:11:01.109Z] 5c69ac0246d0: Download complete [2023-01-16T05:11:01.109Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-16T05:11:01.109Z] 3a2ae6a8a46f: Download complete [2023-01-16T05:11:01.371Z] 33b1e0a273af: Verifying Checksum [2023-01-16T05:11:01.371Z] 33b1e0a273af: Download complete [2023-01-16T05:11:01.371Z] 5d3b04190fa2: Verifying Checksum [2023-01-16T05:11:01.371Z] 5d3b04190fa2: Download complete [2023-01-16T05:11:00.727Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-16T05:11:00.807Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-16T05:11:00.995Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-16T05:11:00.996Z] > git --version # timeout=10 [2023-01-16T05:11:01.024Z] > git --version # 'git version 2.25.1' [2023-01-16T05:11:01.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T05:11:01.092Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T05:11:01.631Z] ec43610c2a17: Verifying Checksum [2023-01-16T05:11:01.890Z] 5eb5b503b376: Verifying Checksum [2023-01-16T05:11:01.890Z] 5eb5b503b376: Download complete [2023-01-16T05:11:02.827Z] 5eb5b503b376: Pull complete [2023-01-16T05:11:02.759Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-16T05:11:02.787Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-16T05:11:03.084Z] 5c69ac0246d0: Pull complete [2023-01-16T05:11:03.340Z] 2f39f015ded8: Download complete [2023-01-16T05:11:03.340Z] ec43610c2a17: Pull complete [2023-01-16T05:11:03.598Z] 3a2ae6a8a46f: Pull complete [2023-01-16T05:11:03.598Z] 33b1e0a273af: Pull complete [2023-01-16T05:11:03.856Z] 5d3b04190fa2: Pull complete [2023-01-16T05:11:03.618Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-16T05:11:03.661Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-16T05:11:03.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T05:11:03.683Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1283/head:refs/remotes/origin/PR-1283 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-16T05:11:04.316Z] Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 278dac4cca4f42dde307a63edc8db2bf3cf770af [2023-01-16T05:11:04.616Z] Merge succeeded, producing 278dac4cca4f42dde307a63edc8db2bf3cf770af [2023-01-16T05:11:04.617Z] Checking out Revision 278dac4cca4f42dde307a63edc8db2bf3cf770af (PR-1283) [2023-01-16T05:11:04.337Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T05:11:04.358Z] > git checkout -f 278dac4cca4f42dde307a63edc8db2bf3cf770af # timeout=10 [2023-01-16T05:11:04.519Z] > git remote # timeout=10 [2023-01-16T05:11:04.547Z] > git config --get remote.origin.url # timeout=10 [2023-01-16T05:11:04.563Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-16T05:11:04.576Z] > git merge 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 [2023-01-16T05:11:04.601Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-16T05:11:04.625Z] > git config core.sparsecheckout # timeout=10 [2023-01-16T05:11:04.639Z] > git checkout -f 278dac4cca4f42dde307a63edc8db2bf3cf770af # timeout=10 [2023-01-16T05:11:08.079Z] 2f39f015ded8: Pull complete [2023-01-16T05:11:08.079Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-16T05:11:08.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T05:11:08.079Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [2023-01-16T05:11:08.163Z] Commit message: "fix: typo "DeviceResourece" -> "DeviceResource" in error message" [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T05:11:08.228Z] > git --version # timeout=10 [2023-01-16T05:11:08.239Z] > git --version # 'git version 2.25.1' [2023-01-16T05:11:08.255Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-16T05:11:08.297Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2023-01-16T05:11:08.339Z] $ 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-1283 -v /w/workspace/gexfoundry_device-sdk-go_PR-1283:/w/workspace/gexfoundry_device-sdk-go_PR-1283:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-16T05:11:08.628Z] [2023-01-16T05:11:08.628Z] GitHub has been notified of this commit’s build result [2023-01-16T05:11:08.628Z] [2023-01-16T05:11:11.485Z] $ docker top 46a9dad510c203763edef3ffcfb9af7c58528a0b4870a290af98622aa1db7b2e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T05:11:11.908Z] ---> job-cost.sh [2023-01-16T05:11:11.908Z] lf-activate-venv: SKIPPING [2023-01-16T05:11:11.908Z] INFO: No Stack... [2023-01-16T05:11:12.167Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T05:11:12.370Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-16T05:11:12.370Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T05:11:12.370Z] Dload Upload Total Spent Left Speed [2023-01-16T05:11:12.370Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 103k 0 --:--:-- --:--:-- --:--:-- 103k [2023-01-16T05:11:12.734Z] INFO: Archiving Costs [Pipeline] sh [Pipeline] sh [2023-01-16T05:11:13.061Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1283/archives/cost.csv [2023-01-16T05:11:13.061Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T05:11:13.102Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1283-1-stack-cost] [2023-01-16T05:11:13.107Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1283-1-stack-cost] did not exist. Created. [2023-01-16T05:11:13.107Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1283-1-stack-cost] [Pipeline] { [2023-01-16T05:11:13.156Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] unstash [Pipeline] sh [Pipeline] sh [2023-01-16T05:11:13.554Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2023-01-16T05:11:13.554Z] sudo tee /etc/docker/daemon.new [2023-01-16T05:11:13.554Z] { [2023-01-16T05:11:13.554Z] "registry-mirrors": [ [2023-01-16T05:11:13.554Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-16T05:11:13.554Z] ], [2023-01-16T05:11:13.554Z] "bip": "10.250.0.254/24", [2023-01-16T05:11:13.554Z] "hosts": [ [2023-01-16T05:11:13.554Z] "tcp://0.0.0.0:5555", [2023-01-16T05:11:13.554Z] "unix:///var/run/docker.sock" [2023-01-16T05:11:13.554Z] ], [2023-01-16T05:11:13.554Z] "mtu": 1458, [2023-01-16T05:11:13.554Z] "selinux-enabled": true, [2023-01-16T05:11:13.554Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-16T05:11:13.554Z] } [2023-01-16T05:11:13.581Z] + echo total: 0.2199999988079071 [Pipeline] sh [Pipeline] stash [2023-01-16T05:11:13.716Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T05:11:13.739Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1283-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T05:11:13.835Z] $ docker stop --time=1 46a9dad510c203763edef3ffcfb9af7c58528a0b4870a290af98622aa1db7b2e [2023-01-16T05:11:13.906Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-01-16T05:11:14.995Z] $ docker rm -f --volumes 46a9dad510c203763edef3ffcfb9af7c58528a0b4870a290af98622aa1db7b2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-16T05:11:15.434Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T05:11:33.737Z] provisioning config files... [2023-01-16T05:11:33.762Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config178082513507755849tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:11:34.150Z] ---> docker-login.sh [2023-01-16T05:11:34.150Z] nexus3.edgexfoundry.org:10001 [2023-01-16T05:11:34.422Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:11:34.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:11:34.692Z] Configure a credential helper to remove this warning. See [2023-01-16T05:11:34.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:11:34.692Z] [2023-01-16T05:11:34.692Z] Login Succeeded [2023-01-16T05:11:34.692Z] nexus3.edgexfoundry.org:10002 [2023-01-16T05:11:34.960Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:11:34.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:11:34.960Z] Configure a credential helper to remove this warning. See [2023-01-16T05:11:34.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:11:34.960Z] [2023-01-16T05:11:34.960Z] Login Succeeded [2023-01-16T05:11:34.960Z] nexus3.edgexfoundry.org:10003 [2023-01-16T05:11:35.229Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:11:35.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:11:35.501Z] Configure a credential helper to remove this warning. See [2023-01-16T05:11:35.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:11:35.501Z] [2023-01-16T05:11:35.501Z] Login Succeeded [2023-01-16T05:11:35.501Z] nexus3.edgexfoundry.org:10004 [2023-01-16T05:11:35.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:11:35.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:11:35.771Z] Configure a credential helper to remove this warning. See [2023-01-16T05:11:35.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:11:35.771Z] [2023-01-16T05:11:35.771Z] Login Succeeded [2023-01-16T05:11:35.771Z] docker.io [2023-01-16T05:11:36.038Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-16T05:11:36.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-16T05:11:36.305Z] Configure a credential helper to remove this warning. See [2023-01-16T05:11:36.305Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-16T05:11:36.305Z] [2023-01-16T05:11:36.305Z] Login Succeeded [2023-01-16T05:11:36.305Z] ---> docker-login.sh ends [Pipeline] } [2023-01-16T05:11:36.335Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-16T05:11:36.687Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T05:11:36.724Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-16T05:11:36.761Z] ========================================================= [2023-01-16T05:11:36.761Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-16T05:11:36.761Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:11:37.286Z] + 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-01-16T05:11:38.245Z] Sending build context to Docker daemon 5.621MB [2023-01-16T05:11:38.516Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T05:11:38.516Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-16T05:11:38.516Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-16T05:11:38.516Z] 9b18e9b68314: Pulling fs layer [2023-01-16T05:11:38.516Z] 35d82f9e3411: Pulling fs layer [2023-01-16T05:11:38.516Z] e16973657156: Pulling fs layer [2023-01-16T05:11:38.516Z] fc693d55d65f: Pulling fs layer [2023-01-16T05:11:38.516Z] 7e9fc2657dce: Pulling fs layer [2023-01-16T05:11:38.516Z] dda99020689f: Pulling fs layer [2023-01-16T05:11:38.516Z] db1c61fa0a46: Pulling fs layer [2023-01-16T05:11:38.516Z] 891c053d2c06: Pulling fs layer [2023-01-16T05:11:38.516Z] dda99020689f: Waiting [2023-01-16T05:11:38.516Z] db1c61fa0a46: Waiting [2023-01-16T05:11:38.516Z] fc693d55d65f: Waiting [2023-01-16T05:11:38.516Z] 7e9fc2657dce: Waiting [2023-01-16T05:11:38.516Z] e16973657156: Download complete [2023-01-16T05:11:38.516Z] 35d82f9e3411: Download complete [2023-01-16T05:11:38.516Z] 7e9fc2657dce: Download complete [2023-01-16T05:11:38.516Z] dda99020689f: Download complete [2023-01-16T05:11:38.789Z] 9b18e9b68314: Download complete [2023-01-16T05:11:39.394Z] 9b18e9b68314: Pull complete [2023-01-16T05:11:39.988Z] 35d82f9e3411: Pull complete [2023-01-16T05:11:39.988Z] 891c053d2c06: Verifying Checksum [2023-01-16T05:11:39.988Z] 891c053d2c06: Download complete [2023-01-16T05:11:40.257Z] e16973657156: Pull complete [2023-01-16T05:11:42.223Z] db1c61fa0a46: Verifying Checksum [2023-01-16T05:11:42.223Z] fc693d55d65f: Verifying Checksum [2023-01-16T05:11:42.223Z] fc693d55d65f: Download complete [2023-01-16T05:11:52.302Z] fc693d55d65f: Pull complete [2023-01-16T05:11:52.302Z] 7e9fc2657dce: Pull complete [2023-01-16T05:11:52.572Z] dda99020689f: Pull complete [2023-01-16T05:11:57.929Z] db1c61fa0a46: Pull complete [2023-01-16T05:11:59.353Z] 891c053d2c06: Pull complete [2023-01-16T05:11:59.353Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-16T05:11:59.353Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-16T05:11:59.353Z] ---> f96f9c87975a [2023-01-16T05:11:59.353Z] Step 3/10 : ARG MAKE=make build [2023-01-16T05:12:01.347Z] ---> Running in fb59e305b80f [2023-01-16T05:12:01.347Z] Removing intermediate container fb59e305b80f [2023-01-16T05:12:01.347Z] ---> 6578fc4d2f2a [2023-01-16T05:12:01.347Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-16T05:12:01.347Z] ---> Running in 97f3a310ebbc [2023-01-16T05:12:01.624Z] Removing intermediate container 97f3a310ebbc [2023-01-16T05:12:01.624Z] ---> d57ca6e55ede [2023-01-16T05:12:01.624Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-16T05:12:01.894Z] ---> Running in 8de18d996537 [2023-01-16T05:12:02.160Z] Removing intermediate container 8de18d996537 [2023-01-16T05:12:02.160Z] ---> 3400df3bb4ff [2023-01-16T05:12:02.160Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-16T05:12:02.160Z] ---> Running in fe0b80f18234 [2023-01-16T05:12:03.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T05:12:03.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T05:12:04.357Z] OK: 221 MiB in 51 packages [2023-01-16T05:12:05.318Z] Removing intermediate container fe0b80f18234 [2023-01-16T05:12:05.318Z] ---> b2c1c5c17c13 [2023-01-16T05:12:05.318Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-16T05:12:05.586Z] ---> 8268e9cf009f [2023-01-16T05:12:05.586Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T05:12:05.586Z] ---> Running in dddcfb94d9c3 [2023-01-16T05:13:02.015Z] Removing intermediate container dddcfb94d9c3 [2023-01-16T05:13:02.015Z] ---> 827453197397 [2023-01-16T05:13:02.015Z] Step 9/10 : COPY . . [2023-01-16T05:13:02.015Z] ---> ed8912cbdf17 [2023-01-16T05:13:02.015Z] Step 10/10 : RUN ${MAKE} [2023-01-16T05:13:02.015Z] ---> Running in 9be7a1e5bacf [2023-01-16T05:13:02.015Z] noop [2023-01-16T05:13:02.015Z] Removing intermediate container 9be7a1e5bacf [2023-01-16T05:13:02.015Z] ---> df2b6ba505ba [2023-01-16T05:13:02.015Z] Successfully built df2b6ba505ba [2023-01-16T05:13:02.015Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:13:02.493Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T05:13:02.493Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T05:13:02.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-2554 does not seem to be running inside a container [2023-01-16T05:13:02.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-16T05:13:03.887Z] $ docker top 3897be5572c186905819de38ca3972a495d1ffe087dfc54fe29d4422fe8c4aa6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T05:13:04.764Z] + go version [2023-01-16T05:13:04.764Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-16T05:13:04.798Z] $ docker stop --time=1 3897be5572c186905819de38ca3972a495d1ffe087dfc54fe29d4422fe8c4aa6 [2023-01-16T05:13:06.424Z] $ docker rm -f --volumes 3897be5572c186905819de38ca3972a495d1ffe087dfc54fe29d4422fe8c4aa6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:13:07.273Z] + docker inspect -f . ci-base-image-arm64 [2023-01-16T05:13:07.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T05:13:07.520Z] prd-ubuntu20.04-docker-arm64-4c-16g-2554 does not seem to be running inside a container [2023-01-16T05:13:07.586Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-16T05:13:08.675Z] $ docker top 45bf81728ee293ff2ecb98fffc08b449db2be072959fb253410998240801ec4f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T05:13:09.203Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-16T05:13:09.591Z] + make test [2023-01-16T05:13:09.592Z] go test -race -coverprofile=coverage.out ./... [2023-01-16T05:13:41.820Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-16T05:15:18.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-16T05:15:18.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-16T05:15:18.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-16T05:15:18.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-16T05:15:18.456Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-16T05:15:25.113Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.429s coverage: 27.6% of statements [2023-01-16T05:15:26.523Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.488s coverage: 78.9% of statements [2023-01-16T05:15:26.523Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-16T05:15:33.217Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.443s coverage: 73.6% of statements [2023-01-16T05:15:33.218Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-16T05:15:33.218Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-16T05:15:37.486Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.486s coverage: 54.4% of statements [2023-01-16T05:15:37.486Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-16T05:15:37.486Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-16T05:15:37.486Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-16T05:15:37.486Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-16T05:15:37.486Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.440s coverage: 65.1% of statements [2023-01-16T05:15:37.486Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-16T05:15:37.486Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-16T05:15:38.074Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.833s coverage: 89.2% of statements [2023-01-16T05:15:38.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-16T05:15:38.074Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.600s coverage: 4.6% of statements [2023-01-16T05:15:38.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-16T05:15:38.669Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-16T05:15:38.669Z] GO111MODULE=on go vet ./... [2023-01-16T05:17:15.352Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-16T05:17:15.352Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-16T05:17:15.352Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-16T05:17:15.391Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-16T05:17:15.421Z] $ docker stop --time=1 45bf81728ee293ff2ecb98fffc08b449db2be072959fb253410998240801ec4f [2023-01-16T05:17:17.192Z] $ docker rm -f --volumes 45bf81728ee293ff2ecb98fffc08b449db2be072959fb253410998240801ec4f [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-16T05:17:18.533Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-16T05:17:18.566Z] Warning: overwriting stash ‘coverage-report’ [2023-01-16T05:17:19.074Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-16T05:17:19.702Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-16T05:17:20.053Z] + ls -al . [2023-01-16T05:17:20.053Z] total 276 [2023-01-16T05:17:20.053Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 16 05:13 . [2023-01-16T05:17:20.053Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 05:11 .. [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 16 05:11 .dockerignore [2023-01-16T05:17:20.053Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 16 05:11 .git [2023-01-16T05:17:20.053Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 05:11 .github [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 16 05:11 .gitignore [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 16 05:11 .golangci.yml [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 16 05:11 CHANGELOG.md [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 16 05:11 GOVERNANCE.md [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 16 05:11 Jenkinsfile [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 16 05:11 LICENSE [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 16 05:11 Makefile [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 16 05:11 OWNERS.md [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 16 05:11 README.md [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 16 05:09 VERSION [2023-01-16T05:17:20.053Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 16 05:11 bin [2023-01-16T05:17:20.053Z] -rw-r--r-- 1 jenkins jenkins 101913 Jan 16 05:15 coverage.out [2023-01-16T05:17:20.053Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 16 05:11 example [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 16 05:11 go.mod [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 16 05:11 go.sum [2023-01-16T05:17:20.053Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 16 05:11 internal [2023-01-16T05:17:20.053Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 16 05:11 openapi [2023-01-16T05:17:20.053Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 16 05:11 pkg [2023-01-16T05:17:20.053Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 16 05:11 snap [2023-01-16T05:17:20.053Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 16 05:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:17:20.483Z] + 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=278dac4cca4f42dde307a63edc8db2bf3cf770af --label arch=arm64 --label version=0.0.0 . [2023-01-16T05:17:20.753Z] Sending build context to Docker daemon 5.724MB [2023-01-16T05:17:20.753Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-16T05:17:20.753Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-16T05:17:20.753Z] ---> df2b6ba505ba [2023-01-16T05:17:20.753Z] Step 3/23 : ARG MAKE=make build [2023-01-16T05:17:21.023Z] ---> Running in 130df2847f0c [2023-01-16T05:17:21.292Z] Removing intermediate container 130df2847f0c [2023-01-16T05:17:21.292Z] ---> 148deb7fe284 [2023-01-16T05:17:21.292Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-16T05:17:21.565Z] ---> Running in ea5e52e4a2dc [2023-01-16T05:17:21.838Z] Removing intermediate container ea5e52e4a2dc [2023-01-16T05:17:21.838Z] ---> 3edf8f529f02 [2023-01-16T05:17:21.838Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-16T05:17:21.838Z] ---> Running in 93050f336c63 [2023-01-16T05:17:22.128Z] Removing intermediate container 93050f336c63 [2023-01-16T05:17:22.128Z] ---> 3d50b4a3be0a [2023-01-16T05:17:22.128Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-16T05:17:22.128Z] ---> Running in c64fad48b60b [2023-01-16T05:17:23.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T05:17:23.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T05:17:24.641Z] OK: 221 MiB in 51 packages [2023-01-16T05:17:25.226Z] Removing intermediate container c64fad48b60b [2023-01-16T05:17:25.226Z] ---> d10112491f9c [2023-01-16T05:17:25.226Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-16T05:17:25.811Z] ---> dad4dcf82d32 [2023-01-16T05:17:25.811Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-16T05:17:25.811Z] ---> Running in 676b8422e91b [2023-01-16T05:17:29.282Z] Removing intermediate container 676b8422e91b [2023-01-16T05:17:29.282Z] ---> 5d230c14d920 [2023-01-16T05:17:29.282Z] Step 9/23 : COPY . . [2023-01-16T05:17:30.701Z] ---> 3761637994ec [2023-01-16T05:17:30.701Z] Step 10/23 : RUN ${MAKE} [2023-01-16T05:17:30.701Z] ---> Running in 750e59152abc [2023-01-16T05:17:32.117Z] 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-01-16T05:19:38.797Z] Removing intermediate container 750e59152abc [2023-01-16T05:19:38.797Z] ---> 660cff9f7c9f [2023-01-16T05:19:38.797Z] Step 11/23 : FROM alpine:3.16 [2023-01-16T05:19:38.797Z] 3.16: Pulling from library/alpine [2023-01-16T05:19:38.797Z] 6875df1f5354: Pulling fs layer [2023-01-16T05:19:38.797Z] 6875df1f5354: Verifying Checksum [2023-01-16T05:19:38.797Z] 6875df1f5354: Download complete [2023-01-16T05:19:38.797Z] 6875df1f5354: Pull complete [2023-01-16T05:19:38.797Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-16T05:19:38.797Z] Status: Downloaded newer image for alpine:3.16 [2023-01-16T05:19:38.797Z] ---> 2b4661558fb8 [2023-01-16T05:19:38.797Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-16T05:19:38.797Z] ---> Running in b62243dc3865 [2023-01-16T05:19:38.797Z] Removing intermediate container b62243dc3865 [2023-01-16T05:19:38.797Z] ---> 44de92cc2d5b [2023-01-16T05:19:38.797Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-16T05:19:38.797Z] ---> Running in 6d374af34a66 [2023-01-16T05:19:38.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-16T05:19:38.797Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-16T05:19:38.797Z] OK: 5 MiB in 14 packages [2023-01-16T05:19:38.797Z] Removing intermediate container 6d374af34a66 [2023-01-16T05:19:38.797Z] ---> 096da7be30cc [2023-01-16T05:19:38.797Z] Step 14/23 : WORKDIR / [2023-01-16T05:19:38.797Z] ---> Running in 990dfdcc82fd [2023-01-16T05:19:38.797Z] Removing intermediate container 990dfdcc82fd [2023-01-16T05:19:38.797Z] ---> 1f72e9d18907 [2023-01-16T05:19:38.797Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-16T05:19:38.797Z] ---> 8cdc4db65c62 [2023-01-16T05:19:38.797Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-16T05:19:38.797Z] ---> 5e8a4bf6362f [2023-01-16T05:19:38.797Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-16T05:19:38.797Z] ---> f592b52ca39d [2023-01-16T05:19:38.797Z] Step 18/23 : EXPOSE 59999 [2023-01-16T05:19:38.797Z] ---> Running in 331c4ed9db6f [2023-01-16T05:19:38.797Z] Removing intermediate container 331c4ed9db6f [2023-01-16T05:19:38.797Z] ---> dac163d45512 [2023-01-16T05:19:38.797Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-16T05:19:38.797Z] ---> Running in d55aab749ac8 [2023-01-16T05:19:38.797Z] Removing intermediate container d55aab749ac8 [2023-01-16T05:19:38.797Z] ---> 87b77a77b432 [2023-01-16T05:19:38.797Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-16T05:19:38.797Z] ---> Running in 9ab3bbba14b3 [2023-01-16T05:19:38.797Z] Removing intermediate container 9ab3bbba14b3 [2023-01-16T05:19:38.797Z] ---> f0a237d5a97d [2023-01-16T05:19:38.797Z] Step 21/23 : LABEL arch=arm64 [2023-01-16T05:19:38.797Z] ---> Running in 76abed6bff8f [2023-01-16T05:19:38.797Z] Removing intermediate container 76abed6bff8f [2023-01-16T05:19:38.797Z] ---> e0169d543247 [2023-01-16T05:19:38.797Z] Step 22/23 : LABEL git_sha=278dac4cca4f42dde307a63edc8db2bf3cf770af [2023-01-16T05:19:38.797Z] ---> Running in 3862edc2f7e9 [2023-01-16T05:19:38.797Z] Removing intermediate container 3862edc2f7e9 [2023-01-16T05:19:38.797Z] ---> 0885abbb16f2 [2023-01-16T05:19:38.797Z] Step 23/23 : LABEL version=0.0.0 [2023-01-16T05:19:38.797Z] ---> Running in 69e9cf6d3b9a [2023-01-16T05:19:38.797Z] Removing intermediate container 69e9cf6d3b9a [2023-01-16T05:19:38.797Z] ---> c1d79fba0667 [2023-01-16T05:19:38.797Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-16T05:19:38.797Z] Successfully built c1d79fba0667 [2023-01-16T05:19:38.797Z] 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-01-16T05:19:39.722Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T05:19:39.722Z] [2023-01-16T05:19:39.722Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:19:40.125Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T05:19:40.125Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-16T05:19:40.125Z] 8998bd30e6a1: Pulling fs layer [2023-01-16T05:19:40.125Z] 04944245beec: Pulling fs layer [2023-01-16T05:19:40.125Z] 699f458cf7ca: Pulling fs layer [2023-01-16T05:19:40.125Z] 765212b225bb: Pulling fs layer [2023-01-16T05:19:40.125Z] f23df028b6ca: Pulling fs layer [2023-01-16T05:19:40.125Z] d65c8cfc05b1: Pulling fs layer [2023-01-16T05:19:40.125Z] 2437ff75d9bd: Pulling fs layer [2023-01-16T05:19:40.125Z] f23df028b6ca: Waiting [2023-01-16T05:19:40.125Z] d65c8cfc05b1: Waiting [2023-01-16T05:19:40.125Z] 2437ff75d9bd: Waiting [2023-01-16T05:19:40.125Z] 765212b225bb: Waiting [2023-01-16T05:19:40.394Z] 04944245beec: Verifying Checksum [2023-01-16T05:19:40.394Z] 04944245beec: Download complete [2023-01-16T05:19:40.394Z] 765212b225bb: Verifying Checksum [2023-01-16T05:19:40.394Z] 765212b225bb: Download complete [2023-01-16T05:19:40.661Z] f23df028b6ca: Verifying Checksum [2023-01-16T05:19:40.661Z] f23df028b6ca: Download complete [2023-01-16T05:19:40.662Z] d65c8cfc05b1: Verifying Checksum [2023-01-16T05:19:40.662Z] 699f458cf7ca: Verifying Checksum [2023-01-16T05:19:40.662Z] 699f458cf7ca: Download complete [2023-01-16T05:19:41.251Z] 8998bd30e6a1: Verifying Checksum [2023-01-16T05:19:41.251Z] 8998bd30e6a1: Download complete [2023-01-16T05:19:43.832Z] 2437ff75d9bd: Verifying Checksum [2023-01-16T05:19:43.832Z] 2437ff75d9bd: Download complete [2023-01-16T05:19:45.243Z] 8998bd30e6a1: Pull complete [2023-01-16T05:19:45.829Z] 04944245beec: Pull complete [2023-01-16T05:19:47.238Z] 699f458cf7ca: Pull complete [2023-01-16T05:19:47.238Z] 765212b225bb: Pull complete [2023-01-16T05:19:47.822Z] f23df028b6ca: Pull complete [2023-01-16T05:19:48.090Z] d65c8cfc05b1: Pull complete [2023-01-16T05:20:03.088Z] 2437ff75d9bd: Pull complete [2023-01-16T05:20:03.088Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-16T05:20:03.088Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-16T05:20:03.088Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T05:20:03.414Z] prd-ubuntu20.04-docker-arm64-4c-16g-2554 does not seem to be running inside a container [2023-01-16T05:20:03.479Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-16T05:20:05.893Z] $ docker top 518de6fd48146dc7243267e64484880947318c1991f8181713d609e467d17d4e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:20:06.793Z] ---> job-cost.sh [2023-01-16T05:20:06.793Z] lf-activate-venv: SKIPPING [2023-01-16T05:20:06.793Z] INFO: No Stack... [2023-01-16T05:20:07.059Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-16T05:20:08.016Z] INFO: Archiving Costs [Pipeline] sh [2023-01-16T05:20:08.359Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-16T05:20:08.359Z] + cut -d, -f6 [Pipeline] lock [2023-01-16T05:20:08.436Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1283-1-stack-cost] [2023-01-16T05:20:08.440Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1283-1-stack-cost] did not exist. Created. [2023-01-16T05:20:08.440Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1283-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-16T05:20:09.168Z] /w/workspace/device-sdk-go/1@tmp/durable-dba685d4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-16T05:20:09.522Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-16T05:20:09.561Z] Warning: overwriting stash ‘stack-cost’ [2023-01-16T05:20:09.629Z] Stashed 1 file(s) [Pipeline] } [2023-01-16T05:20:09.643Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1283-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-16T05:20:09.718Z] $ docker stop --time=1 518de6fd48146dc7243267e64484880947318c1991f8181713d609e467d17d4e [2023-01-16T05:20:11.231Z] $ docker rm -f --volumes 518de6fd48146dc7243267e64484880947318c1991f8181713d609e467d17d4e [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-01-16T05:20:12.300Z] provisioning config files... [2023-01-16T05:20:12.307Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp/config14296385707036476134tmp [Pipeline] { [Pipeline] sh [2023-01-16T05:20:12.641Z] + set +x [2023-01-16T05:20:12.641Z] + curl -s https://codecov.io/bash [2023-01-16T05:20:12.641Z] + bash -s -- [2023-01-16T05:20:12.641Z] [2023-01-16T05:20:12.641Z] _____ _ [2023-01-16T05:20:12.641Z] / ____| | | [2023-01-16T05:20:12.641Z] | | ___ __| | ___ ___ _____ __ [2023-01-16T05:20:12.641Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-16T05:20:12.641Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-16T05:20:12.641Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-16T05:20:12.641Z] Bash-1.0.6 [2023-01-16T05:20:12.641Z] [2023-01-16T05:20:12.641Z] [2023-01-16T05:20:12.641Z] ==> git version 2.25.1 found [2023-01-16T05:20:12.641Z] ==> 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-01-16T05:20:12.641Z] Release-Date: 2020-01-08 [2023-01-16T05:20:12.641Z] 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-01-16T05:20:12.641Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-16T05:20:12.641Z] ==> Jenkins CI detected. [2023-01-16T05:20:12.641Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1283 [2023-01-16T05:20:12.641Z] project root: . [2023-01-16T05:20:12.641Z] --> token set from env [2023-01-16T05:20:12.641Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-16T05:20:12.641Z] ==> Running gcov in . (disable via -X gcov) [2023-01-16T05:20:12.641Z] ==> Python coveragepy not found [2023-01-16T05:20:12.641Z] ==> Searching for coverage reports in: [2023-01-16T05:20:12.641Z] + . [2023-01-16T05:20:12.641Z] -> Found 1 reports [2023-01-16T05:20:12.641Z] ==> Detecting git/mercurial file structure [2023-01-16T05:20:12.900Z] ==> Reading reports [2023-01-16T05:20:12.900Z] + ./coverage.out bytes=101913 [2023-01-16T05:20:12.900Z] ==> Appending adjustments [2023-01-16T05:20:12.901Z] https://docs.codecov.io/docs/fixing-reports [2023-01-16T05:20:13.160Z] + Found adjustments [2023-01-16T05:20:13.160Z] ==> Gzipping contents [2023-01-16T05:20:13.160Z] 16K /tmp/codecov.9v2XuI.gz [2023-01-16T05:20:13.160Z] ==> Uploading reports [2023-01-16T05:20:13.160Z] url: https://codecov.io [2023-01-16T05:20:13.160Z] query: branch=PR-1283&commit=278dac4cca4f42dde307a63edc8db2bf3cf770af&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1283%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1283&job=&cmd_args= [2023-01-16T05:20:13.160Z] -> Pinging Codecov [2023-01-16T05:20:13.160Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1283&commit=278dac4cca4f42dde307a63edc8db2bf3cf770af&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1283%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1283&job=&cmd_args= [2023-01-16T05:20:13.420Z] -> Uploading to [2023-01-16T05:20:13.420Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-16/7E55EF52A471D76F132DFD9A03CDDE97/278dac4cca4f42dde307a63edc8db2bf3cf770af/13cf6abc-0a19-4cf4-acbe-257873be938f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230116%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230116T052013Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eab95940f27d38fa8d8f24ad09c3d9c1f3179a4b581bb36af1fe0b869aeaf025 [2023-01-16T05:20:13.420Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-16T05:20:13.420Z] Dload Upload Total Spent Left Speed [2023-01-16T05:20:13.680Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14778 0 0 100 14778 0 48452 --:--:-- --:--:-- --:--:-- 48452 [2023-01-16T05:20:13.680Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/278dac4cca4f42dde307a63edc8db2bf3cf770af [Pipeline] } [2023-01-16T05:20:13.707Z] 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-01-16T05:20:15.420Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1283/archives ] [2023-01-16T05:20:15.420Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1283/archives [2023-01-16T05:20:15.420Z] total 16 [2023-01-16T05:20:15.420Z] drwxr-xr-x 3 root root 4096 Jan 16 05:11 . [2023-01-16T05:20:15.420Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 16 05:11 .. [2023-01-16T05:20:15.420Z] drwxr-xr-x 2 root root 4096 Jan 16 05:11 cost [2023-01-16T05:20:15.420Z] -rw-r--r-- 1 root root 86 Jan 16 05:11 cost.csv [2023-01-16T05:20:15.420Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1283/archives [2023-01-16T05:20:15.420Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1283/archives [2023-01-16T05:20:15.420Z] total 16 [2023-01-16T05:20:15.420Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 16 05:11 . [2023-01-16T05:20:15.420Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 16 05:11 .. [2023-01-16T05:20:15.420Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 16 05:11 cost [2023-01-16T05:20:15.420Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 16 05:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:20:15.752Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:20:16.689Z] ---> package-listing.sh [2023-01-16T05:20:16.689Z] ++ facter osfamily [2023-01-16T05:20:16.689Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-16T05:20:16.689Z] + OS_FAMILY=debian [2023-01-16T05:20:16.689Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1283 [2023-01-16T05:20:16.689Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-16T05:20:16.689Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-16T05:20:16.689Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-16T05:20:16.689Z] + PACKAGES=/tmp/packages_start.txt [2023-01-16T05:20:16.689Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1283 ']' [2023-01-16T05:20:16.689Z] + PACKAGES=/tmp/packages_end.txt [2023-01-16T05:20:16.689Z] + case "${OS_FAMILY}" in [2023-01-16T05:20:16.689Z] + dpkg -l [2023-01-16T05:20:16.689Z] + grep '^ii' [2023-01-16T05:20:16.689Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-16T05:20:16.689Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-16T05:20:16.949Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-16T05:20:16.949Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1283 ']' [2023-01-16T05:20:16.949Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1283/archives/ [2023-01-16T05:20:16.949Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1283/archives/ [Pipeline] echo [2023-01-16T05:20:16.982Z] 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-1283/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-16T05:20:17.275Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-16T05:20:17.893Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-16T05:20:17.893Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-16T05:20:18.031Z] prd-ubuntu20.04-docker-8c-8g-2553 does not seem to be running inside a container [2023-01-16T05:20:18.074Z] $ 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-1283/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-1283 -v /w/workspace/gexfoundry_device-sdk-go_PR-1283:/w/workspace/gexfoundry_device-sdk-go_PR-1283:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1283@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-16T05:20:18.348Z] $ docker top cbcccb8e70a768d905dc984a2c297250b5823a6cb032a0b012cdf23afdf664f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-16T05:20:18.723Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-16T05:20:19.035Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-16T05:20:19.350Z] + ls /var/log/sa-host [2023-01-16T05:20:19.350Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-16T05:20:19.484Z] provisioning config files... [2023-01-16T05:20:19.492Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1283@tmp/config16702213755064403096tmp [Pipeline] { [Pipeline] echo [2023-01-16T05:20:19.545Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:20:19.856Z] ---> create-netrc.sh [Pipeline] } [2023-01-16T05:20:19.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:20:20.289Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-16T05:20:20.319Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:20:20.630Z] ---> sudo-logs.sh [2023-01-16T05:20:20.631Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-16T05:20:20.713Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:20:21.026Z] ---> job-cost.sh [2023-01-16T05:20:21.026Z] lf-activate-venv: SKIPPING [2023-01-16T05:20:21.026Z] DEBUG: total: 0.2199999988079071 [2023-01-16T05:20:21.026Z] INFO: Retrieving Stack Cost... [2023-01-16T05:20:21.285Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-16T05:20:21.851Z] INFO: Archiving Costs [Pipeline] echo [2023-01-16T05:20:21.889Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-16T05:20:22.198Z] ---> logs-deploy.sh [2023-01-16T05:20:22.198Z] lf-activate-venv: SKIPPING [2023-01-16T05:20:22.198Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1283/1 [2023-01-16T05:20:22.198Z] INFO: archiving workspace using pattern(s): [2023-01-16T05:20:23.135Z] Archives upload complete. [2023-01-16T05:20:23.135Z] INFO: archiving logs to Nexus