Pull request #1270 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from d04c9e0c5aca6a52e052f4c90836ca69e3360c8b+00b01047cdcdd0c95135504e6ad4bd8a08767464 (22179ee75f9cd9a14cd466bd9fe5cd526e02b4d8) 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-ssh10526504228921530005.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-ssh40144730179234594.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-1270/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-1270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1359090259533840110.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-1270/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16128076296297083798.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-ssh260769100073774375.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-1270/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-1270/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12891576747409457730.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1420 in /w/workspace/gexfoundry_device-sdk-go_PR-1270 [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-1270 # 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/1270/head:refs/remotes/origin/PR-1270 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 00b01047cdcdd0c95135504e6ad4bd8a08767464 into PR head commit d04c9e0c5aca6a52e052f4c90836ca69e3360c8b Merge succeeded, producing d04c9e0c5aca6a52e052f4c90836ca69e3360c8b Checking out Revision d04c9e0c5aca6a52e052f4c90836ca69e3360c8b (PR-1270) > git config core.sparsecheckout # timeout=10 > git checkout -f d04c9e0c5aca6a52e052f4c90836ca69e3360c8b # 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 00b01047cdcdd0c95135504e6ad4bd8a08767464 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d04c9e0c5aca6a52e052f4c90836ca69e3360c8b # timeout=10 Commit message: "feat: implement support for ProvisionWatchersDir" 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-09T03:59:59.992Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-09T04:00:00.169Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-09T04:00:00.271Z] ========================================================= [2023-01-09T04:00:00.271Z] EdgeX Global Pipelines Version Info [2023-01-09T04:00:00.271Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:00:01.426Z] ------------------- [2023-01-09T04:00:01.427Z] stable info: [2023-01-09T04:00:01.427Z] ------------------- [2023-01-09T04:00:01.427Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-09T04:00:01.427Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T04:00:01.427Z] Message: update stable to v1.0.244 [2023-01-09T04:00:02.001Z] ------------------- [2023-01-09T04:00:02.001Z] experimental info: [2023-01-09T04:00:02.001Z] ------------------- [2023-01-09T04:00:02.001Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-09T04:00:02.001Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T04:00:02.001Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-09T04:00:02.289Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-09T04:00:02.332Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-09T04:00:02.367Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-09T04:00:02.405Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-09T04:00:02.441Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-09T04:00:02.476Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-09T04:00:02.514Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-09T04:00:02.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-09T04:00:02.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-09T04:00:02.627Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-09T04:00:02.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-09T04:00:02.716Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-09T04:00:02.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-09T04:00:02.796Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-09T04:00:02.833Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T04:00:02.871Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T04:00:02.911Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T04:00:02.953Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T04:00:03.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-09T04:00:03.041Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-09T04:00:03.087Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-09T04:00:03.127Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-09T04:00:03.166Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-09T04:00:03.202Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-09T04:00:03.239Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-09T04:00:03.275Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-09T04:00:03.315Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-09T04:00:03.361Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1270 [Pipeline] echo [2023-01-09T04:00:03.401Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1270 [Pipeline] echo [2023-01-09T04:00:03.440Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1270 [Pipeline] echo [2023-01-09T04:00:03.476Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d04c9e0c5aca6a52e052f4c90836ca69e3360c8b [Pipeline] echo [2023-01-09T04:00:03.517Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d04c9e0 [Pipeline] echo [2023-01-09T04:00:03.554Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T04:00:03.662Z] provisioning config files... [2023-01-09T04:00:03.677Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/config4138320228965198674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:00:04.020Z] ---> docker-login.sh [2023-01-09T04:00:04.020Z] nexus3.edgexfoundry.org:10001 [2023-01-09T04:00:04.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:00:04.280Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:00:04.280Z] Configure a credential helper to remove this warning. See [2023-01-09T04:00:04.280Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:00:04.280Z] [2023-01-09T04:00:04.280Z] Login Succeeded [2023-01-09T04:00:04.280Z] nexus3.edgexfoundry.org:10002 [2023-01-09T04:00:04.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:00:04.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:00:04.541Z] Configure a credential helper to remove this warning. See [2023-01-09T04:00:04.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:00:04.541Z] [2023-01-09T04:00:04.541Z] Login Succeeded [2023-01-09T04:00:04.541Z] nexus3.edgexfoundry.org:10003 [2023-01-09T04:00:04.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:00:04.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:00:04.541Z] Configure a credential helper to remove this warning. See [2023-01-09T04:00:04.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:00:04.541Z] [2023-01-09T04:00:04.541Z] Login Succeeded [2023-01-09T04:00:04.541Z] nexus3.edgexfoundry.org:10004 [2023-01-09T04:00:04.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:00:04.804Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:00:04.804Z] Configure a credential helper to remove this warning. See [2023-01-09T04:00:04.804Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:00:04.804Z] [2023-01-09T04:00:04.804Z] Login Succeeded [2023-01-09T04:00:04.804Z] docker.io [2023-01-09T04:00:04.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:00:08.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:00:08.096Z] Configure a credential helper to remove this warning. See [2023-01-09T04:00:08.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:00:08.096Z] [2023-01-09T04:00:08.096Z] Login Succeeded [2023-01-09T04:00:08.096Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T04:00:08.124Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-09T04:00:08.727Z] + git rev-list -1 --merges d04c9e0c5aca6a52e052f4c90836ca69e3360c8b~1..d04c9e0c5aca6a52e052f4c90836ca69e3360c8b [Pipeline] echo [2023-01-09T04:00:08.786Z] -----------> git rev-list -1 --merges d04c9e0c5aca6a52e052f4c90836ca69e3360c8b~1..d04c9e0c5aca6a52e052f4c90836ca69e3360c8b d04c9e0c5aca6a52e052f4c90836ca69e3360c8b [false] [Pipeline] sh [2023-01-09T04:00:09.100Z] + git log --format=format:%s -1 d04c9e0c5aca6a52e052f4c90836ca69e3360c8b [Pipeline] echo [2023-01-09T04:00:09.147Z] ========================================================= [2023-01-09T04:00:09.147Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-09T04:00:09.147Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T04:00:09.601Z] + git log --format=format:%s -1 d04c9e0c5aca6a52e052f4c90836ca69e3360c8b [Pipeline] echo [2023-01-09T04:00:09.635Z] [semverPrep] GIT_COMMIT: d04c9e0c5aca6a52e052f4c90836ca69e3360c8b, Commit Message: feat: implement support for ProvisionWatchersDir [Pipeline] echo [2023-01-09T04:00:09.669Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-09T04:00:10.069Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T04:00:10.069Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-09T04:00:10.069Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-09T04:00:10.069Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-09T04:00:10.069Z] + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-09T04:00:10.069Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-09T04:00:10.069Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:00:10.564Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T04:00:10.564Z] [2023-01-09T04:00:10.564Z] 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-09T04:00:10.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T04:00:10.946Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-09T04:00:10.946Z] b85a868b505f: Pulling fs layer [2023-01-09T04:00:10.946Z] e2be974225ed: Pulling fs layer [2023-01-09T04:00:10.946Z] 339a4e72a1f5: Pulling fs layer [2023-01-09T04:00:10.946Z] 988bab9f4d93: Pulling fs layer [2023-01-09T04:00:10.946Z] 1469e6f7b9e6: Pulling fs layer [2023-01-09T04:00:10.946Z] eaf3925da568: Pulling fs layer [2023-01-09T04:00:10.946Z] bab4dde63d76: Pulling fs layer [2023-01-09T04:00:10.946Z] bde34c3a00c8: Pulling fs layer [2023-01-09T04:00:10.946Z] b352a97aabf1: Pulling fs layer [2023-01-09T04:00:10.946Z] 4872d77fe225: Pulling fs layer [2023-01-09T04:00:10.946Z] 5851b861e8e6: Pulling fs layer [2023-01-09T04:00:10.947Z] 988bab9f4d93: Waiting [2023-01-09T04:00:10.947Z] 1469e6f7b9e6: Waiting [2023-01-09T04:00:10.947Z] eaf3925da568: Waiting [2023-01-09T04:00:10.947Z] bab4dde63d76: Waiting [2023-01-09T04:00:10.947Z] bde34c3a00c8: Waiting [2023-01-09T04:00:10.947Z] b352a97aabf1: Waiting [2023-01-09T04:00:10.947Z] 5851b861e8e6: Waiting [2023-01-09T04:00:10.947Z] 4872d77fe225: Waiting [2023-01-09T04:00:10.947Z] e2be974225ed: Verifying Checksum [2023-01-09T04:00:10.947Z] e2be974225ed: Download complete [2023-01-09T04:00:10.947Z] 988bab9f4d93: Verifying Checksum [2023-01-09T04:00:10.947Z] 988bab9f4d93: Download complete [2023-01-09T04:00:11.209Z] 1469e6f7b9e6: Verifying Checksum [2023-01-09T04:00:11.209Z] 1469e6f7b9e6: Download complete [2023-01-09T04:00:11.209Z] eaf3925da568: Download complete [2023-01-09T04:00:11.209Z] 339a4e72a1f5: Verifying Checksum [2023-01-09T04:00:11.209Z] 339a4e72a1f5: Download complete [2023-01-09T04:00:11.209Z] bde34c3a00c8: Verifying Checksum [2023-01-09T04:00:11.209Z] bde34c3a00c8: Download complete [2023-01-09T04:00:11.209Z] b352a97aabf1: Verifying Checksum [2023-01-09T04:00:11.209Z] b352a97aabf1: Download complete [2023-01-09T04:00:11.209Z] 4872d77fe225: Verifying Checksum [2023-01-09T04:00:11.209Z] 4872d77fe225: Download complete [2023-01-09T04:00:11.209Z] 5851b861e8e6: Download complete [2023-01-09T04:00:11.209Z] b85a868b505f: Verifying Checksum [2023-01-09T04:00:11.209Z] b85a868b505f: Download complete [2023-01-09T04:00:11.468Z] bab4dde63d76: Verifying Checksum [2023-01-09T04:00:11.468Z] bab4dde63d76: Download complete [2023-01-09T04:00:12.401Z] b85a868b505f: Pull complete [2023-01-09T04:00:12.401Z] e2be974225ed: Pull complete [2023-01-09T04:00:12.660Z] 339a4e72a1f5: Pull complete [2023-01-09T04:00:12.918Z] 988bab9f4d93: Pull complete [2023-01-09T04:00:12.918Z] 1469e6f7b9e6: Pull complete [2023-01-09T04:00:13.177Z] eaf3925da568: Pull complete [2023-01-09T04:00:15.078Z] bab4dde63d76: Pull complete [2023-01-09T04:00:15.078Z] bde34c3a00c8: Pull complete [2023-01-09T04:00:15.078Z] b352a97aabf1: Pull complete [2023-01-09T04:00:15.078Z] 4872d77fe225: Pull complete [2023-01-09T04:00:15.078Z] 5851b861e8e6: Pull complete [2023-01-09T04:00:15.078Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-09T04:00:15.078Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T04:00:15.078Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T04:00:15.293Z] prd-ubuntu20.04-docker-8c-8g-1420 does not seem to be running inside a container [2023-01-09T04:00:15.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1270 -v /w/workspace/gexfoundry_device-sdk-go_PR-1270:/w/workspace/gexfoundry_device-sdk-go_PR-1270:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-09T04:00:17.276Z] $ docker top 5d65eaa00d228c3b32b20f4f35533eba5c44587c64e67447d66b420c41d55e18 -eo pid,comm [2023-01-09T04:00:17.335Z] 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-09T04:00:17.335Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T04:00:17.467Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T04:00:17.467Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T04:00:17.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T04:00:17.576Z] $ docker exec 5d65eaa00d228c3b32b20f4f35533eba5c44587c64e67447d66b420c41d55e18 ssh-agent [2023-01-09T04:00:17.683Z] SSH_AUTH_SOCK=/tmp/ssh-JWBVkr37zgsM/agent.33 [2023-01-09T04:00:17.683Z] SSH_AGENT_PID=39 [2023-01-09T04:00:17.691Z] Running ssh-add (command line suppressed) [2023-01-09T04:00:17.785Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/private_key_16744273321608312159.key (/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/private_key_16744273321608312159.key) [2023-01-09T04:00:17.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T04:00:18.133Z] + git tag --points-at HEAD [Pipeline] } [2023-01-09T04:00:18.181Z] $ docker exec --env ******** --env ******** 5d65eaa00d228c3b32b20f4f35533eba5c44587c64e67447d66b420c41d55e18 ssh-agent -k [2023-01-09T04:00:18.275Z] unset SSH_AUTH_SOCK; [2023-01-09T04:00:18.277Z] unset SSH_AGENT_PID; [2023-01-09T04:00:18.277Z] echo Agent pid 39 killed; [2023-01-09T04:00:18.290Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-09T04:00:18.377Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T04:00:18.377Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T04:00:18.491Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T04:00:18.489Z] $ docker exec 5d65eaa00d228c3b32b20f4f35533eba5c44587c64e67447d66b420c41d55e18 ssh-agent [2023-01-09T04:00:18.596Z] SSH_AUTH_SOCK=/tmp/ssh-OETjXtMLYTwU/agent.71 [2023-01-09T04:00:18.597Z] SSH_AGENT_PID=77 [2023-01-09T04:00:18.601Z] Running ssh-add (command line suppressed) [2023-01-09T04:00:18.700Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/private_key_6292531030338147762.key (/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/private_key_6292531030338147762.key) [2023-01-09T04:00:18.720Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T04:00:19.051Z] + git semver init [2023-01-09T04:00:19.310Z] 2023-01-09 04:00:19,215 [run_init] DEBUG init version:0.0.0 force:False [2023-01-09T04:00:19.310Z] 2023-01-09 04:00:19,216 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver [2023-01-09T04:00:19.310Z] 2023-01-09 04:00:19,216 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver [2023-01-09T04:00:19.310Z] 2023-01-09 04:00:19,216 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1270, universal_newlines=False, shell=None, istream=None) [2023-01-09T04:00:20.247Z] 2023-01-09 04:00:20,166 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270/.git/info/exclude [2023-01-09T04:00:20.247Z] 2023-01-09 04:00:20,166 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver/PR-1270 with force:False [2023-01-09T04:00:20.247Z] 2023-01-09 04:00:20,167 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver/PR-1270 [2023-01-09T04:00:20.247Z] 2023-01-09 04:00:20,170 [execute] INFO git cat-file --batch-check [2023-01-09T04:00:20.247Z] 2023-01-09 04:00:20,171 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T04:00:20.247Z] 2023-01-09 04:00:20,177 [execute] INFO git cat-file --batch [2023-01-09T04:00:20.247Z] 2023-01-09 04:00:20,177 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T04:00:20.247Z] 2023-01-09 04:00:20,183 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1270/.semver/PR-1270 [2023-01-09T04:00:20.247Z] 0.0.0 [Pipeline] } [2023-01-09T04:00:20.268Z] $ docker exec --env ******** --env ******** 5d65eaa00d228c3b32b20f4f35533eba5c44587c64e67447d66b420c41d55e18 ssh-agent -k [2023-01-09T04:00:20.372Z] unset SSH_AUTH_SOCK; [2023-01-09T04:00:20.373Z] unset SSH_AGENT_PID; [2023-01-09T04:00:20.373Z] echo Agent pid 77 killed; [2023-01-09T04:00:20.385Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T04:00:20.813Z] + git semver [Pipeline] } [2023-01-09T04:00:21.093Z] $ docker stop --time=1 5d65eaa00d228c3b32b20f4f35533eba5c44587c64e67447d66b420c41d55e18 [2023-01-09T04:00:22.393Z] $ docker rm -f --volumes 5d65eaa00d228c3b32b20f4f35533eba5c44587c64e67447d66b420c41d55e18 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T04:00:22.794Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-09T04:00:23.047Z] Stashed 1 file(s) [Pipeline] echo [2023-01-09T04:00:23.066Z] [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-09T04:00:23.648Z] provisioning config files... [2023-01-09T04:00:23.657Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/config371638917469599878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:00:24.014Z] ---> docker-login.sh [2023-01-09T04:00:24.014Z] nexus3.edgexfoundry.org:10001 [2023-01-09T04:00:24.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:00:24.014Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:00:24.014Z] Configure a credential helper to remove this warning. See [2023-01-09T04:00:24.014Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:00:24.014Z] [2023-01-09T04:00:24.014Z] Login Succeeded [2023-01-09T04:00:24.014Z] nexus3.edgexfoundry.org:10002 [2023-01-09T04:00:24.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:00:24.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:00:24.274Z] Configure a credential helper to remove this warning. See [2023-01-09T04:00:24.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:00:24.274Z] [2023-01-09T04:00:24.274Z] Login Succeeded [2023-01-09T04:00:24.274Z] nexus3.edgexfoundry.org:10003 [2023-01-09T04:00:24.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:00:24.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:00:24.274Z] Configure a credential helper to remove this warning. See [2023-01-09T04:00:24.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:00:24.274Z] [2023-01-09T04:00:24.274Z] Login Succeeded [2023-01-09T04:00:24.274Z] nexus3.edgexfoundry.org:10004 [2023-01-09T04:00:24.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:00:24.274Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:00:24.274Z] Configure a credential helper to remove this warning. See [2023-01-09T04:00:24.274Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:00:24.274Z] [2023-01-09T04:00:24.274Z] Login Succeeded [2023-01-09T04:00:24.274Z] docker.io [2023-01-09T04:00:24.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:00:24.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:00:24.533Z] Configure a credential helper to remove this warning. See [2023-01-09T04:00:24.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:00:24.533Z] [2023-01-09T04:00:24.533Z] Login Succeeded [2023-01-09T04:00:24.533Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T04:00:24.562Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T04:00:24.753Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T04:00:24.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T04:00:24.829Z] ========================================================= [2023-01-09T04:00:24.829Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-09T04:00:24.829Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:00:25.301Z] + 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-09T04:00:25.301Z] Sending build context to Docker daemon 10.42MB [2023-01-09T04:00:25.301Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T04:00:25.301Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-09T04:00:25.561Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-09T04:00:25.561Z] 213ec9aee27d: Pulling fs layer [2023-01-09T04:00:25.561Z] 4583459ba037: Pulling fs layer [2023-01-09T04:00:25.561Z] 93c1e223e6f2: Pulling fs layer [2023-01-09T04:00:25.561Z] 53926ce57604: Pulling fs layer [2023-01-09T04:00:25.561Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-09T04:00:25.561Z] 22ff95d597cd: Pulling fs layer [2023-01-09T04:00:25.561Z] 12d6caf4c0d1: Pulling fs layer [2023-01-09T04:00:25.561Z] 96b7cbca73a9: Pulling fs layer [2023-01-09T04:00:25.561Z] a7acece74701: Pulling fs layer [2023-01-09T04:00:25.561Z] 53926ce57604: Waiting [2023-01-09T04:00:25.561Z] 21b2b0c7a3f4: Waiting [2023-01-09T04:00:25.561Z] 12d6caf4c0d1: Waiting [2023-01-09T04:00:25.561Z] a7acece74701: Waiting [2023-01-09T04:00:25.561Z] 96b7cbca73a9: Waiting [2023-01-09T04:00:25.561Z] 93c1e223e6f2: Verifying Checksum [2023-01-09T04:00:25.561Z] 93c1e223e6f2: Download complete [2023-01-09T04:00:25.561Z] 4583459ba037: Verifying Checksum [2023-01-09T04:00:25.561Z] 4583459ba037: Download complete [2023-01-09T04:00:25.561Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-09T04:00:25.561Z] 21b2b0c7a3f4: Download complete [2023-01-09T04:00:25.561Z] 22ff95d597cd: Verifying Checksum [2023-01-09T04:00:25.561Z] 22ff95d597cd: Download complete [2023-01-09T04:00:25.561Z] 213ec9aee27d: Verifying Checksum [2023-01-09T04:00:25.561Z] 213ec9aee27d: Download complete [2023-01-09T04:00:25.820Z] 12d6caf4c0d1: Verifying Checksum [2023-01-09T04:00:25.820Z] 12d6caf4c0d1: Download complete [2023-01-09T04:00:25.820Z] 213ec9aee27d: Pull complete [2023-01-09T04:00:26.077Z] 4583459ba037: Pull complete [2023-01-09T04:00:26.077Z] 93c1e223e6f2: Pull complete [2023-01-09T04:00:27.014Z] a7acece74701: Verifying Checksum [2023-01-09T04:00:27.014Z] a7acece74701: Download complete [2023-01-09T04:00:27.014Z] 96b7cbca73a9: Verifying Checksum [2023-01-09T04:00:27.014Z] 96b7cbca73a9: Download complete [2023-01-09T04:00:27.014Z] 53926ce57604: Verifying Checksum [2023-01-09T04:00:27.014Z] 53926ce57604: Download complete [2023-01-09T04:00:30.292Z] 53926ce57604: Pull complete [2023-01-09T04:00:30.292Z] 21b2b0c7a3f4: Pull complete [2023-01-09T04:00:30.292Z] 22ff95d597cd: Pull complete [2023-01-09T04:00:30.292Z] 12d6caf4c0d1: Pull complete [2023-01-09T04:00:32.197Z] 96b7cbca73a9: Pull complete [2023-01-09T04:00:33.130Z] a7acece74701: Pull complete [2023-01-09T04:00:33.130Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-09T04:00:33.130Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-09T04:00:33.130Z] ---> db6d94c90886 [2023-01-09T04:00:33.130Z] Step 3/10 : ARG MAKE=make build [2023-01-09T04:00:36.416Z] ---> Running in 06ea687a81d9 [2023-01-09T04:00:36.416Z] Removing intermediate container 06ea687a81d9 [2023-01-09T04:00:36.416Z] ---> d2372e257604 [2023-01-09T04:00:36.416Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-09T04:00:36.416Z] ---> Running in ebbe4ff6fd27 [2023-01-09T04:00:36.416Z] Removing intermediate container ebbe4ff6fd27 [2023-01-09T04:00:36.416Z] ---> 40872ed04d78 [2023-01-09T04:00:36.416Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-09T04:00:36.416Z] ---> Running in 08a61aa13916 [2023-01-09T04:00:36.416Z] Removing intermediate container 08a61aa13916 [2023-01-09T04:00:36.416Z] ---> 37f4332ed60c [2023-01-09T04:00:36.416Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-09T04:00:36.416Z] ---> Running in 958e15a45b2b [2023-01-09T04:00:36.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T04:00:36.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T04:00:36.933Z] OK: 211 MiB in 51 packages [2023-01-09T04:00:37.193Z] Removing intermediate container 958e15a45b2b [2023-01-09T04:00:37.193Z] ---> 475bcaf03492 [2023-01-09T04:00:37.193Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-09T04:00:37.451Z] ---> e93a38262dec [2023-01-09T04:00:37.451Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T04:00:37.451Z] ---> Running in 9009dd85d0b0 [2023-01-09T04:00:38.470Z] Still waiting to schedule task [2023-01-09T04:00:38.471Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-09T04:00:55.588Z] Removing intermediate container 9009dd85d0b0 [2023-01-09T04:00:55.588Z] ---> fd2bf4658690 [2023-01-09T04:00:55.588Z] Step 9/10 : COPY . . [2023-01-09T04:00:55.588Z] ---> aaa44d22814f [2023-01-09T04:00:55.588Z] Step 10/10 : RUN ${MAKE} [2023-01-09T04:00:55.588Z] ---> Running in b4853ef69956 [2023-01-09T04:00:55.588Z] noop [2023-01-09T04:00:55.847Z] Removing intermediate container b4853ef69956 [2023-01-09T04:00:55.847Z] ---> 88738cfea69e [2023-01-09T04:00:55.847Z] Successfully built 88738cfea69e [2023-01-09T04:00:55.847Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:00:56.294Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T04:00:56.294Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T04:00:56.444Z] prd-ubuntu20.04-docker-8c-8g-1420 does not seem to be running inside a container [2023-01-09T04:00:56.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1270 -v /w/workspace/gexfoundry_device-sdk-go_PR-1270:/w/workspace/gexfoundry_device-sdk-go_PR-1270:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T04:00:56.801Z] $ docker top a5073886161e1a1930836cabc0c3d0ed3bed641555a7d403c5a25f040a23a20f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T04:00:57.179Z] + go version [2023-01-09T04:00:57.179Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-09T04:00:57.215Z] $ docker stop --time=1 a5073886161e1a1930836cabc0c3d0ed3bed641555a7d403c5a25f040a23a20f [2023-01-09T04:00:58.453Z] $ docker rm -f --volumes a5073886161e1a1930836cabc0c3d0ed3bed641555a7d403c5a25f040a23a20f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:00:59.150Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T04:00:59.150Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T04:00:59.308Z] prd-ubuntu20.04-docker-8c-8g-1420 does not seem to be running inside a container [2023-01-09T04:00:59.358Z] $ 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-1270 -v /w/workspace/gexfoundry_device-sdk-go_PR-1270:/w/workspace/gexfoundry_device-sdk-go_PR-1270:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-09T04:00:59.664Z] $ docker top c42ae10ca65b4fe6a7a956bc25a481933224d71052a10e77553db945fbf9f79b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T04:01:00.049Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1270 [Pipeline] fileExists [Pipeline] sh [2023-01-09T04:01:00.405Z] + make test [2023-01-09T04:01:00.405Z] go test -race -coverprofile=coverage.out ./... [2023-01-09T04:01:05.673Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-09T04:01:20.538Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.075s coverage: 27.6% of statements [2023-01-09T04:01:20.538Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.094s coverage: 78.9% of statements [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-09T04:01:20.538Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.119s coverage: 73.1% of statements [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-09T04:01:20.538Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.115s coverage: 54.4% of statements [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-09T04:01:20.538Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.096s coverage: 65.1% of statements [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-09T04:01:20.538Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.749s coverage: 89.2% of statements [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-09T04:01:20.538Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.057s coverage: 4.6% of statements [2023-01-09T04:01:20.538Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-09T04:01:32.726Z] 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-09T04:01:32.984Z] GO111MODULE=on go vet ./... [2023-01-09T04:01:36.276Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T04:01:36.276Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T04:01:36.276Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T04:01:36.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T04:01:36.345Z] $ docker stop --time=1 c42ae10ca65b4fe6a7a956bc25a481933224d71052a10e77553db945fbf9f79b [2023-01-09T04:01:39.058Z] $ docker rm -f --volumes c42ae10ca65b4fe6a7a956bc25a481933224d71052a10e77553db945fbf9f79b [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T04:01:39.580Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T04:01:39.672Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-09T04:01:40.361Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T04:01:40.673Z] + ls -al . [2023-01-09T04:01:40.673Z] total 280 [2023-01-09T04:01:40.674Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 04:01 . [2023-01-09T04:01:40.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 03:59 .. [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 03:59 .dockerignore [2023-01-09T04:01:40.674Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 04:01 .git [2023-01-09T04:01:40.674Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 03:59 .github [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 9 03:59 .gitignore [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 03:59 .golangci.yml [2023-01-09T04:01:40.674Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 04:00 .semver [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 9 03:59 CHANGELOG.md [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 03:59 GOVERNANCE.md [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 9 03:59 Jenkinsfile [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 9 03:59 LICENSE [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 9 03:59 Makefile [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 9 03:59 OWNERS.md [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 9 03:59 README.md [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 04:00 VERSION [2023-01-09T04:01:40.674Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 03:59 bin [2023-01-09T04:01:40.674Z] -rw-r--r-- 1 jenkins jenkins 101911 Jan 9 04:01 coverage.out [2023-01-09T04:01:40.674Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 9 03:59 example [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 9 03:59 go.mod [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 9 03:59 go.sum [2023-01-09T04:01:40.674Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 9 03:59 internal [2023-01-09T04:01:40.674Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 03:59 openapi [2023-01-09T04:01:40.674Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 9 03:59 pkg [2023-01-09T04:01:40.674Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 03:59 snap [2023-01-09T04:01:40.674Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 9 03:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:01:41.074Z] + 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=d04c9e0c5aca6a52e052f4c90836ca69e3360c8b --label arch=amd64 --label version=0.0.0 . [2023-01-09T04:01:41.074Z] Sending build context to Docker daemon 10.52MB [2023-01-09T04:01:41.074Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T04:01:41.074Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-09T04:01:41.074Z] ---> 88738cfea69e [2023-01-09T04:01:41.074Z] Step 3/23 : ARG MAKE=make build [2023-01-09T04:01:41.332Z] ---> Running in 936eabea7dfa [2023-01-09T04:01:41.332Z] Removing intermediate container 936eabea7dfa [2023-01-09T04:01:41.332Z] ---> 9266bc974d6a [2023-01-09T04:01:41.332Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-09T04:01:41.332Z] ---> Running in 8368ec5cd120 [2023-01-09T04:01:41.332Z] Removing intermediate container 8368ec5cd120 [2023-01-09T04:01:41.332Z] ---> b67414aee7e4 [2023-01-09T04:01:41.332Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-09T04:01:41.332Z] ---> Running in 9c721e60e887 [2023-01-09T04:01:41.591Z] Removing intermediate container 9c721e60e887 [2023-01-09T04:01:41.591Z] ---> 209fd2269355 [2023-01-09T04:01:41.591Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-09T04:01:41.591Z] ---> Running in 9cb5ad808c17 [2023-01-09T04:01:41.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T04:01:41.850Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T04:01:42.108Z] OK: 211 MiB in 51 packages [2023-01-09T04:01:42.367Z] Removing intermediate container 9cb5ad808c17 [2023-01-09T04:01:42.367Z] ---> 5134a06cf959 [2023-01-09T04:01:42.367Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-09T04:01:42.626Z] ---> c47aeeb8ac00 [2023-01-09T04:01:42.626Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T04:01:42.626Z] ---> Running in d29f982bfb73 [2023-01-09T04:01:43.193Z] Removing intermediate container d29f982bfb73 [2023-01-09T04:01:43.193Z] ---> fc5326be0c04 [2023-01-09T04:01:43.193Z] Step 9/23 : COPY . . [2023-01-09T04:01:43.761Z] ---> 2adb213dba32 [2023-01-09T04:01:43.761Z] Step 10/23 : RUN ${MAKE} [2023-01-09T04:01:43.761Z] ---> Running in 7087638d6d9b [2023-01-09T04:01:44.019Z] 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-09T04:02:02.093Z] Removing intermediate container 7087638d6d9b [2023-01-09T04:02:02.093Z] ---> 337ddfd897ec [2023-01-09T04:02:02.093Z] Step 11/23 : FROM alpine:3.16 [2023-01-09T04:02:02.093Z] 3.16: Pulling from library/alpine [2023-01-09T04:02:02.093Z] ca7dd9ec2225: Pulling fs layer [2023-01-09T04:02:02.093Z] ca7dd9ec2225: Verifying Checksum [2023-01-09T04:02:02.093Z] ca7dd9ec2225: Download complete [2023-01-09T04:02:02.093Z] ca7dd9ec2225: Pull complete [2023-01-09T04:02:02.093Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T04:02:02.093Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T04:02:02.093Z] ---> bfe296a52501 [2023-01-09T04:02:02.093Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-09T04:02:02.093Z] ---> Running in 5481ed958adc [2023-01-09T04:02:02.093Z] Removing intermediate container 5481ed958adc [2023-01-09T04:02:02.093Z] ---> 34e1dc6cc468 [2023-01-09T04:02:02.093Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-09T04:02:02.093Z] ---> Running in d4c169be2384 [2023-01-09T04:02:02.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T04:02:02.093Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T04:02:02.353Z] OK: 6 MiB in 14 packages [2023-01-09T04:02:02.611Z] Removing intermediate container d4c169be2384 [2023-01-09T04:02:02.611Z] ---> 926d0b885f58 [2023-01-09T04:02:02.611Z] Step 14/23 : WORKDIR / [2023-01-09T04:02:02.611Z] ---> Running in f6a687480711 [2023-01-09T04:02:02.611Z] Removing intermediate container f6a687480711 [2023-01-09T04:02:02.611Z] ---> a8cfde5a95ff [2023-01-09T04:02:02.611Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-09T04:02:02.869Z] ---> 020463ad6967 [2023-01-09T04:02:02.869Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-09T04:02:03.440Z] ---> bd5e8fcc4a25 [2023-01-09T04:02:03.440Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-09T04:02:03.699Z] ---> d8f41ea51646 [2023-01-09T04:02:03.699Z] Step 18/23 : EXPOSE 59999 [2023-01-09T04:02:03.699Z] ---> Running in 419d637470e0 [2023-01-09T04:02:03.699Z] Removing intermediate container 419d637470e0 [2023-01-09T04:02:03.699Z] ---> a95985c07cfe [2023-01-09T04:02:03.699Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-09T04:02:03.699Z] ---> Running in 118ee84701b3 [2023-01-09T04:02:03.699Z] Removing intermediate container 118ee84701b3 [2023-01-09T04:02:03.699Z] ---> 1ca56c9dc04e [2023-01-09T04:02:03.699Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-09T04:02:03.699Z] ---> Running in 07a1cbcfb622 [2023-01-09T04:02:03.699Z] Removing intermediate container 07a1cbcfb622 [2023-01-09T04:02:03.699Z] ---> 2a63e6759294 [2023-01-09T04:02:03.699Z] Step 21/23 : LABEL arch=amd64 [2023-01-09T04:02:03.958Z] ---> Running in da30f69d4eef [2023-01-09T04:02:03.958Z] Removing intermediate container da30f69d4eef [2023-01-09T04:02:03.958Z] ---> f0956ac576b3 [2023-01-09T04:02:03.958Z] Step 22/23 : LABEL git_sha=d04c9e0c5aca6a52e052f4c90836ca69e3360c8b [2023-01-09T04:02:03.958Z] ---> Running in 500677032e6e [2023-01-09T04:02:03.958Z] Removing intermediate container 500677032e6e [2023-01-09T04:02:03.958Z] ---> 17f80cece126 [2023-01-09T04:02:03.958Z] Step 23/23 : LABEL version=0.0.0 [2023-01-09T04:02:03.958Z] ---> Running in 70f450b070a6 [2023-01-09T04:02:03.958Z] Removing intermediate container 70f450b070a6 [2023-01-09T04:02:03.958Z] ---> 0a9b4a8b0eeb [2023-01-09T04:02:03.958Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T04:02:04.216Z] Successfully built 0a9b4a8b0eeb [2023-01-09T04:02:04.216Z] 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-09T04:02:05.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T04:02:05.056Z] [2023-01-09T04:02:05.056Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:02:05.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T04:02:05.434Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-09T04:02:05.434Z] 5eb5b503b376: Pulling fs layer [2023-01-09T04:02:05.434Z] 5c69ac0246d0: Pulling fs layer [2023-01-09T04:02:05.434Z] ec43610c2a17: Pulling fs layer [2023-01-09T04:02:05.434Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-09T04:02:05.434Z] 33b1e0a273af: Pulling fs layer [2023-01-09T04:02:05.434Z] 5d3b04190fa2: Pulling fs layer [2023-01-09T04:02:05.434Z] 2f39f015ded8: Pulling fs layer [2023-01-09T04:02:05.434Z] 33b1e0a273af: Waiting [2023-01-09T04:02:05.434Z] 3a2ae6a8a46f: Waiting [2023-01-09T04:02:05.434Z] 5d3b04190fa2: Waiting [2023-01-09T04:02:05.434Z] 2f39f015ded8: Waiting [2023-01-09T04:02:05.434Z] 5c69ac0246d0: Verifying Checksum [2023-01-09T04:02:05.434Z] 5c69ac0246d0: Download complete [2023-01-09T04:02:05.434Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-09T04:02:05.434Z] 3a2ae6a8a46f: Download complete [2023-01-09T04:02:05.434Z] 33b1e0a273af: Verifying Checksum [2023-01-09T04:02:05.434Z] 33b1e0a273af: Download complete [2023-01-09T04:02:05.696Z] 5d3b04190fa2: Verifying Checksum [2023-01-09T04:02:05.696Z] 5d3b04190fa2: Download complete [2023-01-09T04:02:05.696Z] ec43610c2a17: Verifying Checksum [2023-01-09T04:02:05.696Z] ec43610c2a17: Download complete [2023-01-09T04:02:05.696Z] 5eb5b503b376: Verifying Checksum [2023-01-09T04:02:05.696Z] 5eb5b503b376: Download complete [2023-01-09T04:02:06.263Z] 2f39f015ded8: Download complete [2023-01-09T04:02:06.829Z] 5eb5b503b376: Pull complete [2023-01-09T04:02:06.829Z] 5c69ac0246d0: Pull complete [2023-01-09T04:02:07.393Z] ec43610c2a17: Pull complete [2023-01-09T04:02:07.393Z] 3a2ae6a8a46f: Pull complete [2023-01-09T04:02:07.650Z] 33b1e0a273af: Pull complete [2023-01-09T04:02:07.650Z] 5d3b04190fa2: Pull complete [2023-01-09T04:02:08.742Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1422 in /w/workspace/gexfoundry_device-sdk-go_PR-1270 [Pipeline] { [Pipeline] ws [2023-01-09T04:02:08.800Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-01-09T04:02:08.877Z] The recommended git tool is: git [2023-01-09T04:02:11.829Z] 2f39f015ded8: Pull complete [2023-01-09T04:02:11.830Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-09T04:02:11.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T04:02:11.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T04:02:12.056Z] prd-ubuntu20.04-docker-8c-8g-1420 does not seem to be running inside a container [2023-01-09T04:02:12.090Z] $ 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-1270 -v /w/workspace/gexfoundry_device-sdk-go_PR-1270:/w/workspace/gexfoundry_device-sdk-go_PR-1270:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T04:02:14.393Z] $ docker top 4cdb99c7119f4f347c6090eafab4267023659b4fb13e04922f27a92ec6882aee -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:02:14.840Z] ---> job-cost.sh [2023-01-09T04:02:14.840Z] lf-activate-venv: SKIPPING [2023-01-09T04:02:14.840Z] INFO: No Stack... [2023-01-09T04:02:14.938Z] using credential edgex-jenkins-ssh [2023-01-09T04:02:14.953Z] Cloning the remote Git repository [2023-01-09T04:02:15.100Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T04:02:15.359Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T04:02:15.674Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives/cost.csv [2023-01-09T04:02:15.674Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T04:02:15.715Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1270-1-stack-cost] [2023-01-09T04:02:15.721Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1270-1-stack-cost] did not exist. Created. [2023-01-09T04:02:15.721Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1270-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T04:02:16.102Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-09T04:02:16.153Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T04:02:16.176Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1270-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T04:02:14.994Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-09T04:02:15.066Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-09T04:02:15.217Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-09T04:02:15.218Z] > git --version # timeout=10 [2023-01-09T04:02:15.246Z] > git --version # 'git version 2.25.1' [2023-01-09T04:02:15.248Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T04:02:15.311Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T04:02:16.271Z] $ docker stop --time=1 4cdb99c7119f4f347c6090eafab4267023659b4fb13e04922f27a92ec6882aee [2023-01-09T04:02:17.418Z] $ docker rm -f --volumes 4cdb99c7119f4f347c6090eafab4267023659b4fb13e04922f27a92ec6882aee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2023-01-09T04:02:16.829Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-09T04:02:16.858Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-09T04:02:18.388Z] Merging remotes/origin/main commit 00b01047cdcdd0c95135504e6ad4bd8a08767464 into PR head commit d04c9e0c5aca6a52e052f4c90836ca69e3360c8b [2023-01-09T04:02:18.622Z] Merge succeeded, producing d04c9e0c5aca6a52e052f4c90836ca69e3360c8b [2023-01-09T04:02:18.622Z] Checking out Revision d04c9e0c5aca6a52e052f4c90836ca69e3360c8b (PR-1270) [2023-01-09T04:02:17.687Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-09T04:02:17.726Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-09T04:02:17.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T04:02:17.742Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1270/head:refs/remotes/origin/PR-1270 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-09T04:02:18.405Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T04:02:18.423Z] > git checkout -f d04c9e0c5aca6a52e052f4c90836ca69e3360c8b # timeout=10 [2023-01-09T04:02:18.525Z] > git remote # timeout=10 [2023-01-09T04:02:18.542Z] > git config --get remote.origin.url # timeout=10 [2023-01-09T04:02:18.564Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T04:02:18.578Z] > git merge 00b01047cdcdd0c95135504e6ad4bd8a08767464 # timeout=10 [2023-01-09T04:02:18.603Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-09T04:02:18.626Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T04:02:18.640Z] > git checkout -f d04c9e0c5aca6a52e052f4c90836ca69e3360c8b # timeout=10 [2023-01-09T04:02:22.149Z] Commit message: "feat: implement support for ProvisionWatchersDir" [2023-01-09T04:02:22.195Z] > git --version # timeout=10 [2023-01-09T04:02:22.208Z] > git --version # 'git version 2.25.1' [2023-01-09T04:02:22.221Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T04:02:23.325Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-09T04:02:23.325Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T04:02:23.325Z] Dload Upload Total Spent Left Speed [2023-01-09T04:02:23.325Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh [2023-01-09T04:02:24.076Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-09T04:02:24.418Z] + + sudo tee /etc/docker/daemon.new [2023-01-09T04:02:24.418Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-09T04:02:24.418Z] { [2023-01-09T04:02:24.418Z] "registry-mirrors": [ [2023-01-09T04:02:24.418Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-09T04:02:24.418Z] ], [2023-01-09T04:02:24.418Z] "bip": "10.250.0.254/24", [2023-01-09T04:02:24.418Z] "hosts": [ [2023-01-09T04:02:24.418Z] "tcp://0.0.0.0:5555", [2023-01-09T04:02:24.418Z] "unix:///var/run/docker.sock" [2023-01-09T04:02:24.418Z] ], [2023-01-09T04:02:24.418Z] "mtu": 1458, [2023-01-09T04:02:24.418Z] "selinux-enabled": true, [2023-01-09T04:02:24.418Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-09T04:02:24.418Z] } [Pipeline] sh [2023-01-09T04:02:24.762Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-09T04:02:25.103Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T04:02:43.437Z] provisioning config files... [2023-01-09T04:02:43.468Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7296578360682255610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:02:43.860Z] ---> docker-login.sh [2023-01-09T04:02:43.860Z] nexus3.edgexfoundry.org:10001 [2023-01-09T04:02:44.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:02:44.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:02:44.448Z] Configure a credential helper to remove this warning. See [2023-01-09T04:02:44.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:02:44.448Z] [2023-01-09T04:02:44.448Z] Login Succeeded [2023-01-09T04:02:44.448Z] nexus3.edgexfoundry.org:10002 [2023-01-09T04:02:44.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:02:44.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:02:44.717Z] Configure a credential helper to remove this warning. See [2023-01-09T04:02:44.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:02:44.717Z] [2023-01-09T04:02:44.717Z] Login Succeeded [2023-01-09T04:02:44.717Z] nexus3.edgexfoundry.org:10003 [2023-01-09T04:02:44.987Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:02:45.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:02:45.257Z] Configure a credential helper to remove this warning. See [2023-01-09T04:02:45.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:02:45.257Z] [2023-01-09T04:02:45.257Z] Login Succeeded [2023-01-09T04:02:45.257Z] nexus3.edgexfoundry.org:10004 [2023-01-09T04:02:45.527Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:02:45.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:02:45.527Z] Configure a credential helper to remove this warning. See [2023-01-09T04:02:45.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:02:45.527Z] [2023-01-09T04:02:45.527Z] Login Succeeded [2023-01-09T04:02:45.527Z] docker.io [2023-01-09T04:02:45.795Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T04:02:46.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T04:02:46.064Z] Configure a credential helper to remove this warning. See [2023-01-09T04:02:46.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T04:02:46.064Z] [2023-01-09T04:02:46.064Z] Login Succeeded [2023-01-09T04:02:46.064Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T04:02:46.093Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T04:02:46.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T04:02:46.506Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T04:02:46.542Z] ========================================================= [2023-01-09T04:02:46.542Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-09T04:02:46.542Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:02:47.153Z] + 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-09T04:02:47.424Z] Sending build context to Docker daemon 5.61MB [2023-01-09T04:02:47.424Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T04:02:47.424Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-09T04:02:47.693Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-09T04:02:47.693Z] 9b18e9b68314: Pulling fs layer [2023-01-09T04:02:47.693Z] 35d82f9e3411: Pulling fs layer [2023-01-09T04:02:47.693Z] e16973657156: Pulling fs layer [2023-01-09T04:02:47.693Z] fc693d55d65f: Pulling fs layer [2023-01-09T04:02:47.693Z] 7e9fc2657dce: Pulling fs layer [2023-01-09T04:02:47.693Z] dda99020689f: Pulling fs layer [2023-01-09T04:02:47.693Z] db1c61fa0a46: Pulling fs layer [2023-01-09T04:02:47.693Z] 891c053d2c06: Pulling fs layer [2023-01-09T04:02:47.693Z] fc693d55d65f: Waiting [2023-01-09T04:02:47.693Z] 7e9fc2657dce: Waiting [2023-01-09T04:02:47.693Z] dda99020689f: Waiting [2023-01-09T04:02:47.693Z] db1c61fa0a46: Waiting [2023-01-09T04:02:47.693Z] 891c053d2c06: Waiting [2023-01-09T04:02:47.693Z] e16973657156: Verifying Checksum [2023-01-09T04:02:47.693Z] e16973657156: Download complete [2023-01-09T04:02:47.693Z] 35d82f9e3411: Verifying Checksum [2023-01-09T04:02:47.693Z] 35d82f9e3411: Download complete [2023-01-09T04:02:47.693Z] 7e9fc2657dce: Verifying Checksum [2023-01-09T04:02:47.693Z] 7e9fc2657dce: Download complete [2023-01-09T04:02:47.693Z] dda99020689f: Verifying Checksum [2023-01-09T04:02:47.693Z] dda99020689f: Download complete [2023-01-09T04:02:47.693Z] 9b18e9b68314: Verifying Checksum [2023-01-09T04:02:47.693Z] 9b18e9b68314: Download complete [2023-01-09T04:02:49.147Z] 9b18e9b68314: Pull complete [2023-01-09T04:02:49.147Z] 891c053d2c06: Verifying Checksum [2023-01-09T04:02:49.147Z] 891c053d2c06: Download complete [2023-01-09T04:02:49.418Z] 35d82f9e3411: Pull complete [2023-01-09T04:02:49.690Z] e16973657156: Pull complete [2023-01-09T04:02:50.278Z] db1c61fa0a46: Verifying Checksum [2023-01-09T04:02:50.868Z] fc693d55d65f: Verifying Checksum [2023-01-09T04:02:50.868Z] fc693d55d65f: Download complete [2023-01-09T04:03:03.209Z] fc693d55d65f: Pull complete [2023-01-09T04:03:03.209Z] 7e9fc2657dce: Pull complete [2023-01-09T04:03:03.209Z] dda99020689f: Pull complete [2023-01-09T04:03:09.878Z] db1c61fa0a46: Pull complete [2023-01-09T04:03:11.839Z] 891c053d2c06: Pull complete [2023-01-09T04:03:11.839Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-09T04:03:11.839Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-09T04:03:11.839Z] ---> f96f9c87975a [2023-01-09T04:03:11.839Z] Step 3/10 : ARG MAKE=make build [2023-01-09T04:03:12.818Z] ---> Running in 376b1af548e3 [2023-01-09T04:03:12.818Z] Removing intermediate container 376b1af548e3 [2023-01-09T04:03:12.818Z] ---> bbf375ec40ac [2023-01-09T04:03:12.818Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-09T04:03:13.088Z] ---> Running in 1dbd02d77bcc [2023-01-09T04:03:13.355Z] Removing intermediate container 1dbd02d77bcc [2023-01-09T04:03:13.355Z] ---> 1be8e95a9d6b [2023-01-09T04:03:13.355Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-09T04:03:13.355Z] ---> Running in c7e7fbd1e716 [2023-01-09T04:03:13.625Z] Removing intermediate container c7e7fbd1e716 [2023-01-09T04:03:13.625Z] ---> 916a11ef7ebb [2023-01-09T04:03:13.625Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-09T04:03:13.625Z] ---> Running in 654b646ceb9a [2023-01-09T04:03:15.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T04:03:15.039Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T04:03:16.453Z] OK: 221 MiB in 51 packages [2023-01-09T04:03:17.872Z] Removing intermediate container 654b646ceb9a [2023-01-09T04:03:17.872Z] ---> 1b418dfad29c [2023-01-09T04:03:17.872Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-09T04:03:18.457Z] ---> 32da616b1e05 [2023-01-09T04:03:18.457Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T04:03:18.457Z] ---> Running in 8ad44244c7f2 [2023-01-09T04:04:14.878Z] Removing intermediate container 8ad44244c7f2 [2023-01-09T04:04:14.878Z] ---> 2e9c1103894d [2023-01-09T04:04:14.878Z] Step 9/10 : COPY . . [2023-01-09T04:04:14.878Z] ---> 3989d1cffd36 [2023-01-09T04:04:14.878Z] Step 10/10 : RUN ${MAKE} [2023-01-09T04:04:14.878Z] ---> Running in eefacbfe1d5e [2023-01-09T04:04:14.878Z] noop [2023-01-09T04:04:14.878Z] Removing intermediate container eefacbfe1d5e [2023-01-09T04:04:14.878Z] ---> 4ba43aa86a85 [2023-01-09T04:04:14.878Z] Successfully built 4ba43aa86a85 [2023-01-09T04:04:14.878Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:04:15.351Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T04:04:15.351Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T04:04:15.601Z] prd-ubuntu20.04-docker-arm64-4c-16g-1422 does not seem to be running inside a container [2023-01-09T04:04:15.659Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-01-09T04:04:16.825Z] $ docker top 75eb334f5f2ca11bb0aca1dcff805465d8a33bc65a3a0780bf655b95f4ec2179 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T04:04:17.694Z] + go version [2023-01-09T04:04:17.694Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-09T04:04:17.731Z] $ docker stop --time=1 75eb334f5f2ca11bb0aca1dcff805465d8a33bc65a3a0780bf655b95f4ec2179 [2023-01-09T04:04:19.378Z] $ docker rm -f --volumes 75eb334f5f2ca11bb0aca1dcff805465d8a33bc65a3a0780bf655b95f4ec2179 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:04:20.222Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T04:04:20.222Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T04:04:20.475Z] prd-ubuntu20.04-docker-arm64-4c-16g-1422 does not seem to be running inside a container [2023-01-09T04:04:20.533Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2023-01-09T04:04:21.673Z] $ docker top 9150daf01659a1b38ecc3feaf10330e4d7aec5205b4ac6713b31a0552bb538ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T04:04:22.219Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-09T04:04:22.869Z] + make test [2023-01-09T04:04:23.135Z] go test -race -coverprofile=coverage.out ./... [2023-01-09T04:04:55.372Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-09T04:06:32.055Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-09T04:06:32.055Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-09T04:06:32.055Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-09T04:06:32.055Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-09T04:06:32.055Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-09T04:06:44.399Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.447s coverage: 27.6% of statements [2023-01-09T04:06:44.667Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.469s coverage: 78.9% of statements [2023-01-09T04:06:44.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-09T04:06:54.751Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.487s coverage: 73.1% of statements [2023-01-09T04:06:54.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-09T04:06:54.751Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-09T04:06:56.161Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.551s coverage: 54.4% of statements [2023-01-09T04:06:56.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-09T04:06:56.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-09T04:06:56.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-09T04:06:56.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-09T04:06:57.126Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.387s coverage: 65.1% of statements [2023-01-09T04:06:57.126Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-09T04:06:57.126Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-09T04:06:57.126Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 5.902s coverage: 89.2% of statements [2023-01-09T04:06:57.126Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-09T04:06:57.126Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.397s coverage: 4.6% of statements [2023-01-09T04:06:57.126Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-09T04:06:57.710Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-09T04:06:57.710Z] GO111MODULE=on go vet ./... [2023-01-09T04:08:34.460Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T04:08:34.460Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T04:08:34.460Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T04:08:34.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T04:08:34.533Z] $ docker stop --time=1 9150daf01659a1b38ecc3feaf10330e4d7aec5205b4ac6713b31a0552bb538ac [2023-01-09T04:08:36.433Z] $ docker rm -f --volumes 9150daf01659a1b38ecc3feaf10330e4d7aec5205b4ac6713b31a0552bb538ac [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T04:08:37.766Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T04:08:37.801Z] Warning: overwriting stash ‘coverage-report’ [2023-01-09T04:08:38.341Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T04:08:38.943Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T04:08:39.279Z] + ls -al . [2023-01-09T04:08:39.279Z] total 276 [2023-01-09T04:08:39.279Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 04:04 . [2023-01-09T04:08:39.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 04:02 .. [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 9 04:02 .dockerignore [2023-01-09T04:08:39.279Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 04:02 .git [2023-01-09T04:08:39.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 04:02 .github [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 9 04:02 .gitignore [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 04:02 .golangci.yml [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 9 04:02 CHANGELOG.md [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 04:02 GOVERNANCE.md [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 9 04:02 Jenkinsfile [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 9 04:02 LICENSE [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 9 04:02 Makefile [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 9 04:02 OWNERS.md [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 9 04:02 README.md [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 04:00 VERSION [2023-01-09T04:08:39.279Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 04:02 bin [2023-01-09T04:08:39.279Z] -rw-r--r-- 1 jenkins jenkins 101911 Jan 9 04:06 coverage.out [2023-01-09T04:08:39.279Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 9 04:02 example [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 9 04:02 go.mod [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 9 04:02 go.sum [2023-01-09T04:08:39.279Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 9 04:02 internal [2023-01-09T04:08:39.279Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 04:02 openapi [2023-01-09T04:08:39.279Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 9 04:02 pkg [2023-01-09T04:08:39.279Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 04:02 snap [2023-01-09T04:08:39.279Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 9 04:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:08:39.691Z] + 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=d04c9e0c5aca6a52e052f4c90836ca69e3360c8b --label arch=arm64 --label version=0.0.0 . [2023-01-09T04:08:39.958Z] Sending build context to Docker daemon 5.713MB [2023-01-09T04:08:39.958Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T04:08:39.958Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-09T04:08:39.959Z] ---> 4ba43aa86a85 [2023-01-09T04:08:39.959Z] Step 3/23 : ARG MAKE=make build [2023-01-09T04:08:40.224Z] ---> Running in 1e3747c1426a [2023-01-09T04:08:40.499Z] Removing intermediate container 1e3747c1426a [2023-01-09T04:08:40.499Z] ---> 8fd3376702e0 [2023-01-09T04:08:40.499Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-09T04:08:40.768Z] ---> Running in ceb47bd3386a [2023-01-09T04:08:41.037Z] Removing intermediate container ceb47bd3386a [2023-01-09T04:08:41.037Z] ---> 9880bd54faad [2023-01-09T04:08:41.037Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-09T04:08:41.037Z] ---> Running in a440607b2032 [2023-01-09T04:08:41.307Z] Removing intermediate container a440607b2032 [2023-01-09T04:08:41.307Z] ---> f0fd90881c3e [2023-01-09T04:08:41.307Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-09T04:08:41.307Z] ---> Running in 50632d473570 [2023-01-09T04:08:42.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T04:08:42.854Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T04:08:43.814Z] OK: 221 MiB in 51 packages [2023-01-09T04:08:45.767Z] Removing intermediate container 50632d473570 [2023-01-09T04:08:45.767Z] ---> 267022f07cc8 [2023-01-09T04:08:45.767Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-09T04:08:46.042Z] ---> 9641c1a96d17 [2023-01-09T04:08:46.042Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T04:08:46.311Z] ---> Running in e0346635b648 [2023-01-09T04:08:48.264Z] Removing intermediate container e0346635b648 [2023-01-09T04:08:48.264Z] ---> 0296f4b1e221 [2023-01-09T04:08:48.264Z] Step 9/23 : COPY . . [2023-01-09T04:08:49.682Z] ---> 87efc435cce1 [2023-01-09T04:08:49.682Z] Step 10/23 : RUN ${MAKE} [2023-01-09T04:08:49.682Z] ---> Running in 837a0c274fe7 [2023-01-09T04:08:50.641Z] 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-09T04:10:57.330Z] Removing intermediate container 837a0c274fe7 [2023-01-09T04:10:57.330Z] ---> dad95a0ded26 [2023-01-09T04:10:57.330Z] Step 11/23 : FROM alpine:3.16 [2023-01-09T04:10:57.330Z] 3.16: Pulling from library/alpine [2023-01-09T04:10:57.330Z] 6875df1f5354: Pulling fs layer [2023-01-09T04:10:57.330Z] 6875df1f5354: Verifying Checksum [2023-01-09T04:10:57.330Z] 6875df1f5354: Download complete [2023-01-09T04:10:57.330Z] 6875df1f5354: Pull complete [2023-01-09T04:10:57.330Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T04:10:57.331Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T04:10:57.331Z] ---> 2b4661558fb8 [2023-01-09T04:10:57.331Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-09T04:10:57.331Z] ---> Running in 1290412d3217 [2023-01-09T04:10:57.331Z] Removing intermediate container 1290412d3217 [2023-01-09T04:10:57.331Z] ---> 3e5a7fa09d5e [2023-01-09T04:10:57.331Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-09T04:10:57.331Z] ---> Running in ba7cb64debe5 [2023-01-09T04:10:57.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T04:10:57.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T04:10:57.331Z] OK: 5 MiB in 14 packages [2023-01-09T04:10:57.331Z] Removing intermediate container ba7cb64debe5 [2023-01-09T04:10:57.331Z] ---> baea922cecc9 [2023-01-09T04:10:57.331Z] Step 14/23 : WORKDIR / [2023-01-09T04:10:57.331Z] ---> Running in 5c4a986f130e [2023-01-09T04:10:57.331Z] Removing intermediate container 5c4a986f130e [2023-01-09T04:10:57.331Z] ---> 3d67f5d940a1 [2023-01-09T04:10:57.331Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-09T04:10:57.331Z] ---> d9639d61673f [2023-01-09T04:10:57.331Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-09T04:10:57.331Z] ---> 6f4689151470 [2023-01-09T04:10:57.331Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-09T04:10:57.331Z] ---> 66cf33938c5b [2023-01-09T04:10:57.331Z] Step 18/23 : EXPOSE 59999 [2023-01-09T04:10:57.331Z] ---> Running in 32c80cf5638f [2023-01-09T04:10:57.331Z] Removing intermediate container 32c80cf5638f [2023-01-09T04:10:57.331Z] ---> ef027c21da81 [2023-01-09T04:10:57.331Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-09T04:10:57.331Z] ---> Running in d1008094d34f [2023-01-09T04:10:57.331Z] Removing intermediate container d1008094d34f [2023-01-09T04:10:57.331Z] ---> c8a1730031d2 [2023-01-09T04:10:57.331Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-09T04:10:57.331Z] ---> Running in b0dcdd2f9a84 [2023-01-09T04:10:57.331Z] Removing intermediate container b0dcdd2f9a84 [2023-01-09T04:10:57.331Z] ---> 7c0af60800d0 [2023-01-09T04:10:57.331Z] Step 21/23 : LABEL arch=arm64 [2023-01-09T04:10:57.331Z] ---> Running in 3d2589b8f1a5 [2023-01-09T04:10:57.331Z] Removing intermediate container 3d2589b8f1a5 [2023-01-09T04:10:57.331Z] ---> afd1d3687d13 [2023-01-09T04:10:57.331Z] Step 22/23 : LABEL git_sha=d04c9e0c5aca6a52e052f4c90836ca69e3360c8b [2023-01-09T04:10:57.331Z] ---> Running in 8febc77a9e3c [2023-01-09T04:10:57.331Z] Removing intermediate container 8febc77a9e3c [2023-01-09T04:10:57.331Z] ---> f8c4732d7ec5 [2023-01-09T04:10:57.331Z] Step 23/23 : LABEL version=0.0.0 [2023-01-09T04:10:57.331Z] ---> Running in a677ba3addc4 [2023-01-09T04:10:57.331Z] Removing intermediate container a677ba3addc4 [2023-01-09T04:10:57.331Z] ---> 47c7dfab31fc [2023-01-09T04:10:57.331Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T04:10:57.331Z] Successfully built 47c7dfab31fc [2023-01-09T04:10:57.331Z] 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-09T04:10:58.138Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T04:10:58.138Z] [2023-01-09T04:10:58.138Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:10:58.536Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T04:10:58.536Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-09T04:10:58.536Z] 8998bd30e6a1: Pulling fs layer [2023-01-09T04:10:58.536Z] 04944245beec: Pulling fs layer [2023-01-09T04:10:58.536Z] 699f458cf7ca: Pulling fs layer [2023-01-09T04:10:58.536Z] 765212b225bb: Pulling fs layer [2023-01-09T04:10:58.536Z] f23df028b6ca: Pulling fs layer [2023-01-09T04:10:58.536Z] d65c8cfc05b1: Pulling fs layer [2023-01-09T04:10:58.536Z] 2437ff75d9bd: Pulling fs layer [2023-01-09T04:10:58.536Z] f23df028b6ca: Waiting [2023-01-09T04:10:58.536Z] d65c8cfc05b1: Waiting [2023-01-09T04:10:58.536Z] 2437ff75d9bd: Waiting [2023-01-09T04:10:58.536Z] 765212b225bb: Waiting [2023-01-09T04:10:58.803Z] 04944245beec: Verifying Checksum [2023-01-09T04:10:58.803Z] 04944245beec: Download complete [2023-01-09T04:10:58.803Z] 765212b225bb: Verifying Checksum [2023-01-09T04:10:58.803Z] f23df028b6ca: Verifying Checksum [2023-01-09T04:10:58.803Z] f23df028b6ca: Download complete [2023-01-09T04:10:58.803Z] d65c8cfc05b1: Verifying Checksum [2023-01-09T04:10:58.803Z] d65c8cfc05b1: Download complete [2023-01-09T04:10:58.803Z] 699f458cf7ca: Verifying Checksum [2023-01-09T04:10:58.803Z] 699f458cf7ca: Download complete [2023-01-09T04:10:59.389Z] 8998bd30e6a1: Verifying Checksum [2023-01-09T04:10:59.389Z] 8998bd30e6a1: Download complete [2023-01-09T04:11:01.970Z] 2437ff75d9bd: Verifying Checksum [2023-01-09T04:11:01.970Z] 2437ff75d9bd: Download complete [2023-01-09T04:11:03.378Z] 8998bd30e6a1: Pull complete [2023-01-09T04:11:03.962Z] 04944245beec: Pull complete [2023-01-09T04:11:05.367Z] 699f458cf7ca: Pull complete [2023-01-09T04:11:05.367Z] 765212b225bb: Pull complete [2023-01-09T04:11:06.325Z] f23df028b6ca: Pull complete [2023-01-09T04:11:06.325Z] d65c8cfc05b1: Pull complete [2023-01-09T04:11:21.338Z] 2437ff75d9bd: Pull complete [2023-01-09T04:11:21.338Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-09T04:11:21.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T04:11:21.338Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T04:11:21.639Z] prd-ubuntu20.04-docker-arm64-4c-16g-1422 does not seem to be running inside a container [2023-01-09T04:11:21.700Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-09T04:11:24.123Z] $ docker top 043de34be83a516afdb2699a73d03943f225f56c16bc53e9a723243b6015a4cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:11:25.011Z] ---> job-cost.sh [2023-01-09T04:11:25.011Z] lf-activate-venv: SKIPPING [2023-01-09T04:11:25.011Z] INFO: No Stack... [2023-01-09T04:11:25.593Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-09T04:11:26.175Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T04:11:26.525Z] + cut -d, -f6 [2023-01-09T04:11:26.525Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-01-09T04:11:26.615Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1270-1-stack-cost] [2023-01-09T04:11:26.620Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1270-1-stack-cost] did not exist. Created. [2023-01-09T04:11:26.621Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1270-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T04:11:27.036Z] /w/workspace/device-sdk-go/1@tmp/durable-069c7127/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-09T04:11:27.700Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-09T04:11:27.738Z] Warning: overwriting stash ‘stack-cost’ [2023-01-09T04:11:27.796Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T04:11:27.813Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1270-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T04:11:27.887Z] $ docker stop --time=1 043de34be83a516afdb2699a73d03943f225f56c16bc53e9a723243b6015a4cc [2023-01-09T04:11:29.355Z] $ docker rm -f --volumes 043de34be83a516afdb2699a73d03943f225f56c16bc53e9a723243b6015a4cc [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-09T04:11:30.310Z] provisioning config files... [2023-01-09T04:11:30.317Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/config1735870928474168205tmp [Pipeline] { [Pipeline] sh [2023-01-09T04:11:30.646Z] + set +x [2023-01-09T04:11:30.646Z] + curl -s https://codecov.io/bash [2023-01-09T04:11:30.646Z] + bash -s -- [2023-01-09T04:11:30.646Z] [2023-01-09T04:11:30.646Z] _____ _ [2023-01-09T04:11:30.646Z] / ____| | | [2023-01-09T04:11:30.646Z] | | ___ __| | ___ ___ _____ __ [2023-01-09T04:11:30.646Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-09T04:11:30.646Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-09T04:11:30.646Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-09T04:11:30.646Z] Bash-1.0.6 [2023-01-09T04:11:30.646Z] [2023-01-09T04:11:30.646Z] [2023-01-09T04:11:30.646Z] ==> git version 2.25.1 found [2023-01-09T04:11:30.646Z] ==> 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-09T04:11:30.646Z] Release-Date: 2020-01-08 [2023-01-09T04:11:30.646Z] 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-09T04:11:30.646Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-09T04:11:30.646Z] ==> Jenkins CI detected. [2023-01-09T04:11:30.646Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1270 [2023-01-09T04:11:30.646Z] project root: . [2023-01-09T04:11:30.646Z] --> token set from env [2023-01-09T04:11:30.646Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-09T04:11:30.646Z] ==> Running gcov in . (disable via -X gcov) [2023-01-09T04:11:30.646Z] ==> Python coveragepy not found [2023-01-09T04:11:30.646Z] ==> Searching for coverage reports in: [2023-01-09T04:11:30.646Z] + . [2023-01-09T04:11:30.646Z] -> Found 1 reports [2023-01-09T04:11:30.646Z] ==> Detecting git/mercurial file structure [2023-01-09T04:11:30.646Z] ==> Reading reports [2023-01-09T04:11:30.646Z] + ./coverage.out bytes=101911 [2023-01-09T04:11:30.646Z] ==> Appending adjustments [2023-01-09T04:11:30.646Z] https://docs.codecov.io/docs/fixing-reports [2023-01-09T04:11:31.213Z] + Found adjustments [2023-01-09T04:11:31.213Z] ==> Gzipping contents [2023-01-09T04:11:31.213Z] 16K /tmp/codecov.KwPnjJ.gz [2023-01-09T04:11:31.213Z] ==> Uploading reports [2023-01-09T04:11:31.213Z] url: https://codecov.io [2023-01-09T04:11:31.213Z] query: branch=PR-1270&commit=d04c9e0c5aca6a52e052f4c90836ca69e3360c8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1270%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1270&job=&cmd_args= [2023-01-09T04:11:31.213Z] -> Pinging Codecov [2023-01-09T04:11:31.213Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1270&commit=d04c9e0c5aca6a52e052f4c90836ca69e3360c8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1270%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1270&job=&cmd_args= [2023-01-09T04:11:31.471Z] -> Uploading to [2023-01-09T04:11:31.471Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-09/7E55EF52A471D76F132DFD9A03CDDE97/d04c9e0c5aca6a52e052f4c90836ca69e3360c8b/e739c9f9-f005-408d-8fc6-d2b155e154b7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T041131Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bc9c0d5410ae55ac7e9fa91409918082605f490d809750d39d49d553773bd1cc [2023-01-09T04:11:31.471Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T04:11:31.471Z] Dload Upload Total Spent Left Speed [2023-01-09T04:11:31.731Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14781 0 0 100 14781 0 66882 --:--:-- --:--:-- --:--:-- 66581 100 14781 0 0 100 14781 0 60330 --:--:-- --:--:-- --:--:-- 60085 [2023-01-09T04:11:31.731Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d04c9e0c5aca6a52e052f4c90836ca69e3360c8b [Pipeline] } [2023-01-09T04:11:31.761Z] 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-09T04:11:33.453Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives ] [2023-01-09T04:11:33.453Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives [2023-01-09T04:11:33.453Z] total 16 [2023-01-09T04:11:33.453Z] drwxr-xr-x 3 root root 4096 Jan 9 04:02 . [2023-01-09T04:11:33.453Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 9 04:02 .. [2023-01-09T04:11:33.453Z] drwxr-xr-x 2 root root 4096 Jan 9 04:02 cost [2023-01-09T04:11:33.453Z] -rw-r--r-- 1 root root 86 Jan 9 04:02 cost.csv [2023-01-09T04:11:33.453Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives [2023-01-09T04:11:33.453Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives [2023-01-09T04:11:33.453Z] total 16 [2023-01-09T04:11:33.453Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 04:02 . [2023-01-09T04:11:33.453Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 9 04:02 .. [2023-01-09T04:11:33.453Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 04:02 cost [2023-01-09T04:11:33.453Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 9 04:02 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:11:33.773Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:11:34.659Z] ---> package-listing.sh [2023-01-09T04:11:34.659Z] ++ facter osfamily [2023-01-09T04:11:34.659Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-09T04:11:34.919Z] + OS_FAMILY=debian [2023-01-09T04:11:34.919Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1270 [2023-01-09T04:11:34.919Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-09T04:11:34.919Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-09T04:11:34.919Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-09T04:11:34.919Z] + PACKAGES=/tmp/packages_start.txt [2023-01-09T04:11:34.919Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1270 ']' [2023-01-09T04:11:34.919Z] + PACKAGES=/tmp/packages_end.txt [2023-01-09T04:11:34.919Z] + case "${OS_FAMILY}" in [2023-01-09T04:11:34.919Z] + dpkg -l [2023-01-09T04:11:34.919Z] + grep '^ii' [2023-01-09T04:11:34.919Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-09T04:11:34.919Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-09T04:11:34.919Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-09T04:11:34.919Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1270 ']' [2023-01-09T04:11:34.919Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives/ [2023-01-09T04:11:34.919Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1270/archives/ [Pipeline] echo [2023-01-09T04:11:34.951Z] 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-1270/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-09T04:11:35.241Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T04:11:35.870Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T04:11:35.870Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T04:11:36.006Z] prd-ubuntu20.04-docker-8c-8g-1420 does not seem to be running inside a container [2023-01-09T04:11:36.045Z] $ 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-1270/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-1270 -v /w/workspace/gexfoundry_device-sdk-go_PR-1270:/w/workspace/gexfoundry_device-sdk-go_PR-1270:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1270@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-09T04:11:36.232Z] $ docker top 5344ef38f299f75ea6fdff60cda9555c53f603b158efd19c5317187227915402 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T04:11:36.612Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-09T04:11:36.911Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-09T04:11:37.219Z] + ls /var/log/sa-host [2023-01-09T04:11:37.219Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T04:11:37.428Z] provisioning config files... [2023-01-09T04:11:37.437Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1270@tmp/config3385088404807166628tmp [Pipeline] { [Pipeline] echo [2023-01-09T04:11:37.483Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:11:37.786Z] ---> create-netrc.sh [Pipeline] } [2023-01-09T04:11:37.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:11:38.206Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-09T04:11:38.240Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:11:38.549Z] ---> sudo-logs.sh [2023-01-09T04:11:38.549Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-09T04:11:38.633Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:11:38.945Z] ---> job-cost.sh [2023-01-09T04:11:38.945Z] lf-activate-venv: SKIPPING [2023-01-09T04:11:38.945Z] DEBUG: total: 0.2199999988079071 [2023-01-09T04:11:38.945Z] INFO: Retrieving Stack Cost... [2023-01-09T04:11:39.205Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T04:11:39.773Z] INFO: Archiving Costs [Pipeline] echo [2023-01-09T04:11:39.805Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T04:11:40.114Z] ---> logs-deploy.sh [2023-01-09T04:11:40.114Z] lf-activate-venv: SKIPPING [2023-01-09T04:11:40.114Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1270/1 [2023-01-09T04:11:40.114Z] INFO: archiving workspace using pattern(s): [2023-01-09T04:11:41.050Z] Archives upload complete. [2023-01-09T04:11:41.050Z] INFO: archiving logs to Nexus