Pull request #1318 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 076f4010fa9a55318beddb92973deada623f95f7+9f4fc55359c9cb479e87cde204f04957ffcda185 (126e448d1423c3d5f02914b8959f99410fed29f2) 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-ssh7641465305642198457.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-ssh8337746220070705411.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-1318/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-1318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14866972587003474347.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-1318/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12506753103196750222.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-ssh8948951384099208814.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-1318/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-1318/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8063123110941787645.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/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5730 in /w/workspace/gexfoundry_device-sdk-go_PR-1318 [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-1318 # 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/1318/head:refs/remotes/origin/PR-1318 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9f4fc55359c9cb479e87cde204f04957ffcda185 into PR head commit 076f4010fa9a55318beddb92973deada623f95f7 Merge succeeded, producing 076f4010fa9a55318beddb92973deada623f95f7 Checking out Revision 076f4010fa9a55318beddb92973deada623f95f7 (PR-1318) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" 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-02-14T04:59:14.462Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 076f4010fa9a55318beddb92973deada623f95f7 # 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 9f4fc55359c9cb479e87cde204f04957ffcda185 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 076f4010fa9a55318beddb92973deada623f95f7 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-14T04:59:14.659Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-14T04:59:14.765Z] ========================================================= [2023-02-14T04:59:14.765Z] EdgeX Global Pipelines Version Info [2023-02-14T04:59:14.765Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-14T04:59:16.319Z] ------------------- [2023-02-14T04:59:16.319Z] stable info: [2023-02-14T04:59:16.319Z] ------------------- [2023-02-14T04:59:16.319Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-14T04:59:16.319Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T04:59:16.319Z] Message: update stable to v1.0.244 [2023-02-14T04:59:16.579Z] ------------------- [2023-02-14T04:59:16.579Z] experimental info: [2023-02-14T04:59:16.579Z] ------------------- [2023-02-14T04:59:16.579Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-14T04:59:16.579Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T04:59:16.579Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-14T04:59:16.901Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-14T04:59:16.941Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-14T04:59:16.987Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-14T04:59:17.022Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-14T04:59:17.056Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-14T04:59:17.092Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-14T04:59:17.127Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-14T04:59:17.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-14T04:59:17.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-14T04:59:17.243Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-14T04:59:17.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-14T04:59:17.315Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-14T04:59:17.356Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-14T04:59:17.392Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-14T04:59:17.427Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T04:59:17.463Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T04:59:17.507Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T04:59:17.543Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T04:59:17.578Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-14T04:59:17.614Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-14T04:59:17.650Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-14T04:59:17.688Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-14T04:59:17.737Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-14T04:59:17.775Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-14T04:59:17.811Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-14T04:59:17.846Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-14T04:59:17.888Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-14T04:59:17.924Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1318 [Pipeline] echo [2023-02-14T04:59:17.966Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1318 [Pipeline] echo [2023-02-14T04:59:18.002Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1318 [Pipeline] echo [2023-02-14T04:59:18.038Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 076f4010fa9a55318beddb92973deada623f95f7 [Pipeline] echo [2023-02-14T04:59:18.075Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 076f401 [Pipeline] echo [2023-02-14T04:59:18.116Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T04:59:18.235Z] provisioning config files... [2023-02-14T04:59:18.250Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp/config1210450348972261320tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T04:59:18.593Z] ---> docker-login.sh [2023-02-14T04:59:18.593Z] nexus3.edgexfoundry.org:10001 [2023-02-14T04:59:18.854Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T04:59:19.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T04:59:19.117Z] Configure a credential helper to remove this warning. See [2023-02-14T04:59:19.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T04:59:19.117Z] [2023-02-14T04:59:19.117Z] Login Succeeded [2023-02-14T04:59:19.117Z] nexus3.edgexfoundry.org:10002 [2023-02-14T04:59:19.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T04:59:19.117Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T04:59:19.117Z] Configure a credential helper to remove this warning. See [2023-02-14T04:59:19.117Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T04:59:19.117Z] [2023-02-14T04:59:19.117Z] Login Succeeded [2023-02-14T04:59:19.117Z] nexus3.edgexfoundry.org:10003 [2023-02-14T04:59:19.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T04:59:19.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T04:59:19.386Z] Configure a credential helper to remove this warning. See [2023-02-14T04:59:19.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T04:59:19.386Z] [2023-02-14T04:59:19.386Z] Login Succeeded [2023-02-14T04:59:19.386Z] nexus3.edgexfoundry.org:10004 [2023-02-14T04:59:19.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T04:59:19.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T04:59:19.386Z] Configure a credential helper to remove this warning. See [2023-02-14T04:59:19.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T04:59:19.386Z] [2023-02-14T04:59:19.386Z] Login Succeeded [2023-02-14T04:59:19.386Z] docker.io [2023-02-14T04:59:19.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T04:59:19.960Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T04:59:19.960Z] Configure a credential helper to remove this warning. See [2023-02-14T04:59:19.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T04:59:19.960Z] [2023-02-14T04:59:19.960Z] Login Succeeded [2023-02-14T04:59:19.960Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T04:59:19.991Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-14T04:59:20.610Z] + git rev-list -1 --merges 076f4010fa9a55318beddb92973deada623f95f7~1..076f4010fa9a55318beddb92973deada623f95f7 [Pipeline] echo [2023-02-14T04:59:20.685Z] -----------> git rev-list -1 --merges 076f4010fa9a55318beddb92973deada623f95f7~1..076f4010fa9a55318beddb92973deada623f95f7 076f4010fa9a55318beddb92973deada623f95f7 [false] [Pipeline] sh [2023-02-14T04:59:20.995Z] + git log --format=format:%s -1 076f4010fa9a55318beddb92973deada623f95f7 [Pipeline] echo [2023-02-14T04:59:21.037Z] ========================================================= [2023-02-14T04:59:21.037Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-14T04:59:21.037Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T04:59:21.476Z] + git log --format=format:%s -1 076f4010fa9a55318beddb92973deada623f95f7 [Pipeline] echo [2023-02-14T04:59:21.508Z] [semverPrep] GIT_COMMIT: 076f4010fa9a55318beddb92973deada623f95f7, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-02-14T04:59:21.537Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-14T04:59:21.944Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-14T04:59:21.944Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-14T04:59:21.944Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-14T04:59:21.944Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-14T04:59:21.944Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-14T04:59:21.944Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-14T04:59:21.944Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T04:59:22.432Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T04:59:22.432Z] [2023-02-14T04:59:22.432Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T04:59:22.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T04:59:22.812Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-14T04:59:22.812Z] b85a868b505f: Pulling fs layer [2023-02-14T04:59:22.812Z] e2be974225ed: Pulling fs layer [2023-02-14T04:59:22.812Z] 339a4e72a1f5: Pulling fs layer [2023-02-14T04:59:22.812Z] 988bab9f4d93: Pulling fs layer [2023-02-14T04:59:22.812Z] 1469e6f7b9e6: Pulling fs layer [2023-02-14T04:59:22.812Z] eaf3925da568: Pulling fs layer [2023-02-14T04:59:22.812Z] 988bab9f4d93: Waiting [2023-02-14T04:59:22.812Z] 1469e6f7b9e6: Waiting [2023-02-14T04:59:22.812Z] bab4dde63d76: Pulling fs layer [2023-02-14T04:59:22.812Z] eaf3925da568: Waiting [2023-02-14T04:59:22.812Z] bde34c3a00c8: Pulling fs layer [2023-02-14T04:59:22.812Z] bab4dde63d76: Waiting [2023-02-14T04:59:22.812Z] b352a97aabf1: Pulling fs layer [2023-02-14T04:59:22.812Z] bde34c3a00c8: Waiting [2023-02-14T04:59:22.812Z] 4872d77fe225: Pulling fs layer [2023-02-14T04:59:22.812Z] b352a97aabf1: Waiting [2023-02-14T04:59:22.812Z] 5851b861e8e6: Pulling fs layer [2023-02-14T04:59:22.812Z] 5851b861e8e6: Waiting [2023-02-14T04:59:22.812Z] e2be974225ed: Verifying Checksum [2023-02-14T04:59:22.812Z] e2be974225ed: Download complete [2023-02-14T04:59:22.812Z] 988bab9f4d93: Verifying Checksum [2023-02-14T04:59:22.812Z] 988bab9f4d93: Download complete [2023-02-14T04:59:23.078Z] 1469e6f7b9e6: Verifying Checksum [2023-02-14T04:59:23.078Z] 1469e6f7b9e6: Download complete [2023-02-14T04:59:23.078Z] eaf3925da568: Download complete [2023-02-14T04:59:23.078Z] 339a4e72a1f5: Verifying Checksum [2023-02-14T04:59:23.078Z] 339a4e72a1f5: Download complete [2023-02-14T04:59:23.078Z] bde34c3a00c8: Verifying Checksum [2023-02-14T04:59:23.078Z] bde34c3a00c8: Download complete [2023-02-14T04:59:23.078Z] b352a97aabf1: Download complete [2023-02-14T04:59:23.341Z] 4872d77fe225: Download complete [2023-02-14T04:59:23.341Z] 5851b861e8e6: Verifying Checksum [2023-02-14T04:59:23.341Z] 5851b861e8e6: Download complete [2023-02-14T04:59:23.341Z] b85a868b505f: Verifying Checksum [2023-02-14T04:59:23.341Z] b85a868b505f: Download complete [2023-02-14T04:59:23.600Z] bab4dde63d76: Verifying Checksum [2023-02-14T04:59:23.600Z] bab4dde63d76: Download complete [2023-02-14T04:59:24.537Z] b85a868b505f: Pull complete [2023-02-14T04:59:24.537Z] e2be974225ed: Pull complete [2023-02-14T04:59:25.105Z] 339a4e72a1f5: Pull complete [2023-02-14T04:59:25.105Z] 988bab9f4d93: Pull complete [2023-02-14T04:59:25.364Z] 1469e6f7b9e6: Pull complete [2023-02-14T04:59:25.364Z] eaf3925da568: Pull complete [2023-02-14T04:59:27.267Z] bab4dde63d76: Pull complete [2023-02-14T04:59:27.267Z] bde34c3a00c8: Pull complete [2023-02-14T04:59:27.267Z] b352a97aabf1: Pull complete [2023-02-14T04:59:27.527Z] 4872d77fe225: Pull complete [2023-02-14T04:59:27.527Z] 5851b861e8e6: Pull complete [2023-02-14T04:59:27.527Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-14T04:59:27.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T04:59:27.527Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T04:59:27.748Z] prd-ubuntu20.04-docker-8c-8g-5730 does not seem to be running inside a container [2023-02-14T04:59:27.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1318 -v /w/workspace/gexfoundry_device-sdk-go_PR-1318:/w/workspace/gexfoundry_device-sdk-go_PR-1318:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1318@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-14T04:59:30.030Z] $ docker top 7bf779ac24203b3084a582f3065e15745c407f4d25d9946523e4225daa66e8a3 -eo pid,comm [2023-02-14T04:59:30.091Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-14T04:59:30.091Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-14T04:59:30.215Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T04:59:30.215Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T04:59:30.326Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T04:59:30.329Z] $ docker exec 7bf779ac24203b3084a582f3065e15745c407f4d25d9946523e4225daa66e8a3 ssh-agent [2023-02-14T04:59:30.434Z] SSH_AUTH_SOCK=/tmp/ssh-VOGYKMyIYEg0/agent.32 [2023-02-14T04:59:30.434Z] SSH_AGENT_PID=38 [2023-02-14T04:59:30.444Z] Running ssh-add (command line suppressed) [2023-02-14T04:59:30.540Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp/private_key_18224613691316848736.key (/w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp/private_key_18224613691316848736.key) [2023-02-14T04:59:30.557Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T04:59:30.888Z] + git tag --points-at HEAD [Pipeline] } [2023-02-14T04:59:30.916Z] $ docker exec --env ******** --env ******** 7bf779ac24203b3084a582f3065e15745c407f4d25d9946523e4225daa66e8a3 ssh-agent -k [2023-02-14T04:59:31.021Z] unset SSH_AUTH_SOCK; [2023-02-14T04:59:31.021Z] unset SSH_AGENT_PID; [2023-02-14T04:59:31.021Z] echo Agent pid 38 killed; [2023-02-14T04:59:31.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-14T04:59:31.132Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T04:59:31.132Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T04:59:31.247Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T04:59:31.252Z] $ docker exec 7bf779ac24203b3084a582f3065e15745c407f4d25d9946523e4225daa66e8a3 ssh-agent [2023-02-14T04:59:31.363Z] SSH_AUTH_SOCK=/tmp/ssh-bcZRj8Dyn3HJ/agent.70 [2023-02-14T04:59:31.363Z] SSH_AGENT_PID=76 [2023-02-14T04:59:31.368Z] Running ssh-add (command line suppressed) [2023-02-14T04:59:31.468Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp/private_key_6474952419395059882.key (/w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp/private_key_6474952419395059882.key) [2023-02-14T04:59:31.481Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T04:59:31.806Z] + git semver init [2023-02-14T04:59:32.065Z] 2023-02-14 04:59:31,981 [run_init] DEBUG init version:0.0.0 force:False [2023-02-14T04:59:32.065Z] 2023-02-14 04:59:31,981 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1318/.semver [2023-02-14T04:59:32.065Z] 2023-02-14 04:59:31,982 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1318/.semver [2023-02-14T04:59:32.065Z] 2023-02-14 04:59:31,982 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1318/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1318, universal_newlines=False, shell=None, istream=None) [2023-02-14T04:59:33.444Z] 2023-02-14 04:59:33,037 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1318/.git/info/exclude [2023-02-14T04:59:33.444Z] 2023-02-14 04:59:33,038 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1318/.semver/PR-1318 with force:False [2023-02-14T04:59:33.444Z] 2023-02-14 04:59:33,038 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1318/.semver/PR-1318 [2023-02-14T04:59:33.444Z] 2023-02-14 04:59:33,042 [execute] INFO git cat-file --batch-check [2023-02-14T04:59:33.445Z] 2023-02-14 04:59:33,043 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1318/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T04:59:33.445Z] 2023-02-14 04:59:33,048 [execute] INFO git cat-file --batch [2023-02-14T04:59:33.445Z] 2023-02-14 04:59:33,049 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1318/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T04:59:33.445Z] 2023-02-14 04:59:33,053 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1318/.semver/PR-1318 [2023-02-14T04:59:33.445Z] 0.0.0 [Pipeline] } [2023-02-14T04:59:33.476Z] $ docker exec --env ******** --env ******** 7bf779ac24203b3084a582f3065e15745c407f4d25d9946523e4225daa66e8a3 ssh-agent -k [2023-02-14T04:59:33.585Z] unset SSH_AUTH_SOCK; [2023-02-14T04:59:33.586Z] unset SSH_AGENT_PID; [2023-02-14T04:59:33.586Z] echo Agent pid 76 killed; [2023-02-14T04:59:33.592Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-14T04:59:34.023Z] + git semver [Pipeline] } [2023-02-14T04:59:34.314Z] $ docker stop --time=1 7bf779ac24203b3084a582f3065e15745c407f4d25d9946523e4225daa66e8a3 [2023-02-14T04:59:35.611Z] $ docker rm -f --volumes 7bf779ac24203b3084a582f3065e15745c407f4d25d9946523e4225daa66e8a3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T04:59:35.994Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-14T04:59:36.252Z] Stashed 1 file(s) [Pipeline] echo [2023-02-14T04:59:36.270Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T04:59:36.869Z] provisioning config files... [2023-02-14T04:59:36.879Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp/config7914182064772364698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T04:59:37.219Z] ---> docker-login.sh [2023-02-14T04:59:37.219Z] nexus3.edgexfoundry.org:10001 [2023-02-14T04:59:37.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T04:59:37.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T04:59:37.219Z] Configure a credential helper to remove this warning. See [2023-02-14T04:59:37.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T04:59:37.219Z] [2023-02-14T04:59:37.219Z] Login Succeeded [2023-02-14T04:59:37.219Z] nexus3.edgexfoundry.org:10002 [2023-02-14T04:59:37.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T04:59:37.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T04:59:37.219Z] Configure a credential helper to remove this warning. See [2023-02-14T04:59:37.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T04:59:37.219Z] [2023-02-14T04:59:37.219Z] Login Succeeded [2023-02-14T04:59:37.219Z] nexus3.edgexfoundry.org:10003 [2023-02-14T04:59:37.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T04:59:37.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T04:59:37.478Z] Configure a credential helper to remove this warning. See [2023-02-14T04:59:37.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T04:59:37.478Z] [2023-02-14T04:59:37.478Z] Login Succeeded [2023-02-14T04:59:37.478Z] nexus3.edgexfoundry.org:10004 [2023-02-14T04:59:37.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T04:59:37.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T04:59:37.478Z] Configure a credential helper to remove this warning. See [2023-02-14T04:59:37.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T04:59:37.478Z] [2023-02-14T04:59:37.478Z] Login Succeeded [2023-02-14T04:59:37.478Z] docker.io [2023-02-14T04:59:37.738Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T04:59:37.999Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T04:59:37.999Z] Configure a credential helper to remove this warning. See [2023-02-14T04:59:37.999Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T04:59:37.999Z] [2023-02-14T04:59:37.999Z] Login Succeeded [2023-02-14T04:59:37.999Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T04:59:38.028Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T04:59:38.230Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T04:59:38.272Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T04:59:38.305Z] ========================================================= [2023-02-14T04:59:38.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-14T04:59:38.306Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T04:59:38.787Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T04:59:38.787Z] Sending build context to Docker daemon 10.43MB [2023-02-14T04:59:38.787Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T04:59:38.787Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-14T04:59:38.787Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-14T04:59:38.787Z] 213ec9aee27d: Pulling fs layer [2023-02-14T04:59:38.787Z] 4583459ba037: Pulling fs layer [2023-02-14T04:59:38.787Z] 93c1e223e6f2: Pulling fs layer [2023-02-14T04:59:38.787Z] 53926ce57604: Pulling fs layer [2023-02-14T04:59:38.787Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-14T04:59:38.787Z] 53926ce57604: Waiting [2023-02-14T04:59:38.787Z] 22ff95d597cd: Pulling fs layer [2023-02-14T04:59:38.787Z] 12d6caf4c0d1: Pulling fs layer [2023-02-14T04:59:38.787Z] 21b2b0c7a3f4: Waiting [2023-02-14T04:59:38.787Z] 22ff95d597cd: Waiting [2023-02-14T04:59:38.787Z] 96b7cbca73a9: Pulling fs layer [2023-02-14T04:59:38.787Z] 12d6caf4c0d1: Waiting [2023-02-14T04:59:38.787Z] a7acece74701: Pulling fs layer [2023-02-14T04:59:38.787Z] 96b7cbca73a9: Waiting [2023-02-14T04:59:38.787Z] a7acece74701: Waiting [2023-02-14T04:59:38.787Z] 93c1e223e6f2: Verifying Checksum [2023-02-14T04:59:38.787Z] 93c1e223e6f2: Download complete [2023-02-14T04:59:39.052Z] 4583459ba037: Verifying Checksum [2023-02-14T04:59:39.052Z] 4583459ba037: Download complete [2023-02-14T04:59:39.052Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-14T04:59:39.052Z] 21b2b0c7a3f4: Download complete [2023-02-14T04:59:39.052Z] 22ff95d597cd: Download complete [2023-02-14T04:59:39.052Z] 213ec9aee27d: Verifying Checksum [2023-02-14T04:59:39.052Z] 213ec9aee27d: Download complete [2023-02-14T04:59:39.052Z] 12d6caf4c0d1: Download complete [2023-02-14T04:59:39.052Z] 213ec9aee27d: Pull complete [2023-02-14T04:59:39.319Z] 4583459ba037: Pull complete [2023-02-14T04:59:39.319Z] 93c1e223e6f2: Pull complete [2023-02-14T04:59:40.320Z] a7acece74701: Verifying Checksum [2023-02-14T04:59:40.320Z] a7acece74701: Download complete [2023-02-14T04:59:40.320Z] 53926ce57604: Verifying Checksum [2023-02-14T04:59:40.320Z] 53926ce57604: Download complete [2023-02-14T04:59:40.320Z] 96b7cbca73a9: Verifying Checksum [2023-02-14T04:59:40.320Z] 96b7cbca73a9: Download complete [2023-02-14T04:59:44.521Z] 53926ce57604: Pull complete [2023-02-14T04:59:44.521Z] 21b2b0c7a3f4: Pull complete [2023-02-14T04:59:44.521Z] 22ff95d597cd: Pull complete [2023-02-14T04:59:44.521Z] 12d6caf4c0d1: Pull complete [2023-02-14T04:59:46.419Z] 96b7cbca73a9: Pull complete [2023-02-14T04:59:46.983Z] a7acece74701: Pull complete [2023-02-14T04:59:46.983Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-14T04:59:46.983Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-14T04:59:46.983Z] ---> db6d94c90886 [2023-02-14T04:59:46.983Z] Step 3/10 : ARG MAKE=make build [2023-02-14T04:59:51.180Z] ---> Running in 8148e8787875 [2023-02-14T04:59:51.180Z] Removing intermediate container 8148e8787875 [2023-02-14T04:59:51.180Z] ---> e5f3b0adc294 [2023-02-14T04:59:51.180Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-14T04:59:51.180Z] ---> Running in b538d438ad0c [2023-02-14T04:59:51.180Z] Removing intermediate container b538d438ad0c [2023-02-14T04:59:51.180Z] ---> 1bfc35701c52 [2023-02-14T04:59:51.180Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T04:59:51.180Z] ---> Running in 7937c0c8ba8b [2023-02-14T04:59:51.180Z] Removing intermediate container 7937c0c8ba8b [2023-02-14T04:59:51.180Z] ---> c4b611c32784 [2023-02-14T04:59:51.180Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-14T04:59:51.180Z] ---> Running in 655b5749d124 [2023-02-14T04:59:51.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T04:59:51.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T04:59:51.698Z] Still waiting to schedule task [2023-02-14T04:59:51.699Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-14T04:59:51.699Z] OK: 211 MiB in 51 packages [2023-02-14T04:59:51.960Z] Removing intermediate container 655b5749d124 [2023-02-14T04:59:51.960Z] ---> 6850351f47ab [2023-02-14T04:59:51.960Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-14T04:59:52.219Z] ---> 9189c595ffde [2023-02-14T04:59:52.219Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T04:59:52.219Z] ---> Running in 07330515c15a [2023-02-14T05:00:24.299Z] Removing intermediate container 07330515c15a [2023-02-14T05:00:24.299Z] ---> 1627fdd4b243 [2023-02-14T05:00:24.299Z] Step 9/10 : COPY . . [2023-02-14T05:00:24.299Z] ---> 358abcb13770 [2023-02-14T05:00:24.299Z] Step 10/10 : RUN ${MAKE} [2023-02-14T05:00:24.299Z] ---> Running in 88fc7ea026d4 [2023-02-14T05:00:24.299Z] noop [2023-02-14T05:00:24.299Z] Removing intermediate container 88fc7ea026d4 [2023-02-14T05:00:24.299Z] ---> b6561d2ea287 [2023-02-14T05:00:24.299Z] Successfully built b6561d2ea287 [2023-02-14T05:00:24.299Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:00:24.738Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T05:00:24.738Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T05:00:24.892Z] prd-ubuntu20.04-docker-8c-8g-5730 does not seem to be running inside a container [2023-02-14T05:00:24.935Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1318 -v /w/workspace/gexfoundry_device-sdk-go_PR-1318:/w/workspace/gexfoundry_device-sdk-go_PR-1318:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1318@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 ******** ci-base-image-x86_64 cat [2023-02-14T05:00:25.268Z] $ docker top 4f6a7fc3e400e44605c5c7464bb8d47acbb561724b46b3447e9d1a29cc7e903c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T05:00:25.642Z] + go version [2023-02-14T05:00:25.642Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-14T05:00:25.692Z] $ docker stop --time=1 4f6a7fc3e400e44605c5c7464bb8d47acbb561724b46b3447e9d1a29cc7e903c [2023-02-14T05:00:26.980Z] $ docker rm -f --volumes 4f6a7fc3e400e44605c5c7464bb8d47acbb561724b46b3447e9d1a29cc7e903c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:00:27.696Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T05:00:27.696Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T05:00:27.841Z] prd-ubuntu20.04-docker-8c-8g-5730 does not seem to be running inside a container [2023-02-14T05:00:27.888Z] $ 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-1318 -v /w/workspace/gexfoundry_device-sdk-go_PR-1318:/w/workspace/gexfoundry_device-sdk-go_PR-1318:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1318@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 ******** ci-base-image-x86_64 cat [2023-02-14T05:00:28.204Z] $ docker top ca84b5d77eab201ad23d61aed1f680f43a0b62eabe10c6704a15743d4d66482c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T05:00:28.585Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1318 [Pipeline] fileExists [Pipeline] sh [2023-02-14T05:00:28.949Z] + make test [2023-02-14T05:00:28.950Z] go test -race -coverprofile=coverage.out ./... [2023-02-14T05:00:35.508Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-14T05:00:50.367Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.055s coverage: 27.6% of statements [2023-02-14T05:00:50.367Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.091s coverage: 78.9% of statements [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-14T05:00:50.367Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.095s coverage: 78.1% of statements [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-14T05:00:50.367Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 72.4% of statements [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-14T05:00:50.367Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.091s coverage: 65.2% of statements [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-14T05:00:50.367Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.760s coverage: 89.2% of statements [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-14T05:00:50.367Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.7% of statements [2023-02-14T05:00:50.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-14T05:01:05.456Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-14T05:01:05.456Z] GO111MODULE=on go vet ./... [2023-02-14T05:01:07.358Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T05:01:07.358Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T05:01:07.358Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-14T05:01:07.644Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T05:01:07.694Z] $ docker stop --time=1 ca84b5d77eab201ad23d61aed1f680f43a0b62eabe10c6704a15743d4d66482c [2023-02-14T05:01:11.876Z] $ docker rm -f --volumes ca84b5d77eab201ad23d61aed1f680f43a0b62eabe10c6704a15743d4d66482c [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T05:01:12.418Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T05:01:12.498Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-14T05:01:13.171Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T05:01:13.486Z] + ls -al . [2023-02-14T05:01:13.486Z] total 272 [2023-02-14T05:01:13.486Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 05:00 . [2023-02-14T05:01:13.486Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 04:59 .. [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 04:59 .dockerignore [2023-02-14T05:01:13.486Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 05:00 .git [2023-02-14T05:01:13.486Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 04:59 .github [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 04:59 .gitignore [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 04:59 .golangci.yml [2023-02-14T05:01:13.486Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 04:59 .semver [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 04:59 CHANGELOG.md [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 04:59 GOVERNANCE.md [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 04:59 Jenkinsfile [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 04:59 LICENSE [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 04:59 Makefile [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 04:59 OWNERS.md [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 04:59 README.md [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 04:59 VERSION [2023-02-14T05:01:13.486Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 04:59 bin [2023-02-14T05:01:13.486Z] -rw-r--r-- 1 jenkins jenkins 99166 Feb 14 05:00 coverage.out [2023-02-14T05:01:13.486Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 04:59 example [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 04:59 go.mod [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 04:59 go.sum [2023-02-14T05:01:13.486Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 04:59 internal [2023-02-14T05:01:13.486Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 04:59 openapi [2023-02-14T05:01:13.486Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 04:59 pkg [2023-02-14T05:01:13.486Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 04:59 snap [2023-02-14T05:01:13.486Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 04:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:01:13.913Z] + 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=076f4010fa9a55318beddb92973deada623f95f7 --label arch=amd64 --label version=0.0.0 . [2023-02-14T05:01:13.913Z] Sending build context to Docker daemon 10.53MB [2023-02-14T05:01:13.913Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T05:01:13.913Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-14T05:01:13.913Z] ---> b6561d2ea287 [2023-02-14T05:01:13.913Z] Step 3/23 : ARG MAKE=make build [2023-02-14T05:01:14.173Z] ---> Running in 93ef018c6941 [2023-02-14T05:01:14.173Z] Removing intermediate container 93ef018c6941 [2023-02-14T05:01:14.173Z] ---> dc259eff5e2e [2023-02-14T05:01:14.173Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-14T05:01:14.173Z] ---> Running in a19f80e2bbf2 [2023-02-14T05:01:14.173Z] Removing intermediate container a19f80e2bbf2 [2023-02-14T05:01:14.173Z] ---> 753350997314 [2023-02-14T05:01:14.173Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T05:01:14.173Z] ---> Running in 1573b893e6f7 [2023-02-14T05:01:14.431Z] Removing intermediate container 1573b893e6f7 [2023-02-14T05:01:14.431Z] ---> 7bff70006f7b [2023-02-14T05:01:14.431Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-14T05:01:14.431Z] ---> Running in cab9f13afe21 [2023-02-14T05:01:14.689Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T05:01:14.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T05:01:15.206Z] OK: 211 MiB in 51 packages [2023-02-14T05:01:15.466Z] Removing intermediate container cab9f13afe21 [2023-02-14T05:01:15.466Z] ---> 88e5a430ba83 [2023-02-14T05:01:15.466Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-14T05:01:15.466Z] ---> 40524e8865ae [2023-02-14T05:01:15.466Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T05:01:15.466Z] ---> Running in 6aefb4eee832 [2023-02-14T05:01:16.402Z] Removing intermediate container 6aefb4eee832 [2023-02-14T05:01:16.402Z] ---> 44c1ce512a72 [2023-02-14T05:01:16.402Z] Step 9/23 : COPY . . [2023-02-14T05:01:17.016Z] ---> 80453ae0f1fb [2023-02-14T05:01:17.016Z] Step 10/23 : RUN ${MAKE} [2023-02-14T05:01:17.016Z] ---> Running in 4f7669d61ec4 [2023-02-14T05:01:17.274Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-14T05:01:25.405Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5733 in /w/workspace/gexfoundry_device-sdk-go_PR-1318 [Pipeline] { [Pipeline] ws [2023-02-14T05:01:25.460Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-14T05:01:25.537Z] The recommended git tool is: git [2023-02-14T05:01:30.747Z] using credential edgex-jenkins-ssh [2023-02-14T05:01:30.765Z] Cloning the remote Git repository [2023-02-14T05:01:30.821Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T05:01:30.898Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-14T05:01:31.033Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T05:01:31.034Z] > git --version # timeout=10 [2023-02-14T05:01:31.058Z] > git --version # 'git version 2.25.1' [2023-02-14T05:01:31.059Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T05:01:31.112Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T05:01:32.621Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-14T05:01:32.640Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T05:01:34.107Z] Merging remotes/origin/main commit 9f4fc55359c9cb479e87cde204f04957ffcda185 into PR head commit 076f4010fa9a55318beddb92973deada623f95f7 [2023-02-14T05:01:33.440Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-14T05:01:33.495Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-14T05:01:33.496Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T05:01:33.510Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1318/head:refs/remotes/origin/PR-1318 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-14T05:01:34.136Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T05:01:34.152Z] > git checkout -f 076f4010fa9a55318beddb92973deada623f95f7 # timeout=10 [2023-02-14T05:01:34.257Z] > git remote # timeout=10 [2023-02-14T05:01:34.346Z] Merge succeeded, producing 076f4010fa9a55318beddb92973deada623f95f7 [2023-02-14T05:01:34.347Z] Checking out Revision 076f4010fa9a55318beddb92973deada623f95f7 (PR-1318) [2023-02-14T05:01:34.791Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-02-14T05:01:34.847Z] > git --version # timeout=10 [2023-02-14T05:01:34.856Z] > git --version # 'git version 2.25.1' [2023-02-14T05:01:34.869Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T05:01:34.275Z] > git config --get remote.origin.url # timeout=10 [2023-02-14T05:01:34.296Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T05:01:34.310Z] > git merge 9f4fc55359c9cb479e87cde204f04957ffcda185 # timeout=10 [2023-02-14T05:01:34.338Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-14T05:01:34.366Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T05:01:34.380Z] > git checkout -f 076f4010fa9a55318beddb92973deada623f95f7 # timeout=10 [2023-02-14T05:01:35.873Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-14T05:01:35.873Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T05:01:35.873Z] Dload Upload Total Spent Left Speed [2023-02-14T05:01:35.873Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-02-14T05:01:36.460Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-14T05:01:36.804Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-14T05:01:36.804Z] + sudo tee /etc/docker/daemon.new [2023-02-14T05:01:36.804Z] { [2023-02-14T05:01:36.804Z] "registry-mirrors": [ [2023-02-14T05:01:36.805Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-14T05:01:36.805Z] ], [2023-02-14T05:01:36.805Z] "bip": "10.250.0.254/24", [2023-02-14T05:01:36.805Z] "hosts": [ [2023-02-14T05:01:36.805Z] "tcp://0.0.0.0:5555", [2023-02-14T05:01:36.805Z] "unix:///var/run/docker.sock" [2023-02-14T05:01:36.805Z] ], [2023-02-14T05:01:36.805Z] "mtu": 1458, [2023-02-14T05:01:36.805Z] "selinux-enabled": true, [2023-02-14T05:01:36.805Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-14T05:01:36.805Z] } [Pipeline] sh [2023-02-14T05:01:37.142Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-14T05:01:37.485Z] + sudo service docker restart [2023-02-14T05:01:39.211Z] Removing intermediate container 4f7669d61ec4 [2023-02-14T05:01:39.212Z] ---> 43a0a8acb325 [2023-02-14T05:01:39.212Z] Step 11/23 : FROM alpine:3.16 [2023-02-14T05:01:39.212Z] 3.16: Pulling from library/alpine [2023-02-14T05:01:39.212Z] ef5531b6e74e: Pulling fs layer [2023-02-14T05:01:39.212Z] ef5531b6e74e: Verifying Checksum [2023-02-14T05:01:39.212Z] ef5531b6e74e: Download complete [2023-02-14T05:01:39.212Z] ef5531b6e74e: Pull complete [2023-02-14T05:01:39.212Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T05:01:39.212Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T05:01:39.212Z] ---> dfd21b5a31f5 [2023-02-14T05:01:39.212Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-14T05:01:39.212Z] ---> Running in 0c9d912ec367 [2023-02-14T05:01:39.212Z] Removing intermediate container 0c9d912ec367 [2023-02-14T05:01:39.212Z] ---> acb01003cfec [2023-02-14T05:01:39.212Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-14T05:01:39.212Z] ---> Running in 4e76ebf535ef [2023-02-14T05:01:39.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T05:01:39.212Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T05:01:39.212Z] OK: 6 MiB in 14 packages [2023-02-14T05:01:39.212Z] Removing intermediate container 4e76ebf535ef [2023-02-14T05:01:39.212Z] ---> b710cf4bbed6 [2023-02-14T05:01:39.212Z] Step 14/23 : WORKDIR / [2023-02-14T05:01:39.212Z] ---> Running in c7764e974d7f [2023-02-14T05:01:39.212Z] Removing intermediate container c7764e974d7f [2023-02-14T05:01:39.212Z] ---> ba135a5cb5b5 [2023-02-14T05:01:39.212Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-14T05:01:39.212Z] ---> a42c33ac2e5b [2023-02-14T05:01:39.212Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-14T05:01:39.212Z] ---> 04baed787169 [2023-02-14T05:01:39.212Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-14T05:01:39.212Z] ---> 4dc177ef0017 [2023-02-14T05:01:39.212Z] Step 18/23 : EXPOSE 59999 [2023-02-14T05:01:39.212Z] ---> Running in 555926139b36 [2023-02-14T05:01:39.212Z] Removing intermediate container 555926139b36 [2023-02-14T05:01:39.212Z] ---> 108a32ee0d20 [2023-02-14T05:01:39.212Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-14T05:01:39.212Z] ---> Running in b79fd7338910 [2023-02-14T05:01:39.212Z] Removing intermediate container b79fd7338910 [2023-02-14T05:01:39.212Z] ---> b0c5dcc0206a [2023-02-14T05:01:39.212Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T05:01:39.212Z] ---> Running in 9ca565deb6b8 [2023-02-14T05:01:39.212Z] Removing intermediate container 9ca565deb6b8 [2023-02-14T05:01:39.212Z] ---> 5ab154f2294a [2023-02-14T05:01:39.212Z] Step 21/23 : LABEL arch=amd64 [2023-02-14T05:01:39.212Z] ---> Running in bbaa00640091 [2023-02-14T05:01:39.212Z] Removing intermediate container bbaa00640091 [2023-02-14T05:01:39.212Z] ---> 7dc60f37f73e [2023-02-14T05:01:39.212Z] Step 22/23 : LABEL git_sha=076f4010fa9a55318beddb92973deada623f95f7 [2023-02-14T05:01:39.212Z] ---> Running in 822f339751c7 [2023-02-14T05:01:39.472Z] Removing intermediate container 822f339751c7 [2023-02-14T05:01:39.472Z] ---> bbfeda3257e6 [2023-02-14T05:01:39.472Z] Step 23/23 : LABEL version=0.0.0 [2023-02-14T05:01:39.472Z] ---> Running in ea55d9066059 [2023-02-14T05:01:39.472Z] Removing intermediate container ea55d9066059 [2023-02-14T05:01:39.472Z] ---> 0f6e67d390e6 [2023-02-14T05:01:39.472Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T05:01:39.472Z] Successfully built 0f6e67d390e6 [2023-02-14T05:01:39.472Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:01:40.408Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T05:01:40.408Z] [2023-02-14T05:01:40.408Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:01:40.788Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T05:01:40.788Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-14T05:01:40.788Z] 5eb5b503b376: Pulling fs layer [2023-02-14T05:01:40.788Z] 5c69ac0246d0: Pulling fs layer [2023-02-14T05:01:40.788Z] ec43610c2a17: Pulling fs layer [2023-02-14T05:01:40.788Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-14T05:01:40.788Z] 33b1e0a273af: Pulling fs layer [2023-02-14T05:01:40.788Z] 5d3b04190fa2: Pulling fs layer [2023-02-14T05:01:40.788Z] 3a2ae6a8a46f: Waiting [2023-02-14T05:01:40.788Z] 33b1e0a273af: Waiting [2023-02-14T05:01:40.788Z] 5d3b04190fa2: Waiting [2023-02-14T05:01:40.788Z] 2f39f015ded8: Pulling fs layer [2023-02-14T05:01:40.788Z] 5c69ac0246d0: Verifying Checksum [2023-02-14T05:01:40.788Z] 5c69ac0246d0: Download complete [2023-02-14T05:01:40.788Z] 3a2ae6a8a46f: Download complete [2023-02-14T05:01:41.049Z] 33b1e0a273af: Verifying Checksum [2023-02-14T05:01:41.049Z] 33b1e0a273af: Download complete [2023-02-14T05:01:41.049Z] 5d3b04190fa2: Download complete [2023-02-14T05:01:41.049Z] ec43610c2a17: Verifying Checksum [2023-02-14T05:01:41.049Z] ec43610c2a17: Download complete [2023-02-14T05:01:41.049Z] 5eb5b503b376: Verifying Checksum [2023-02-14T05:01:41.049Z] 5eb5b503b376: Download complete [2023-02-14T05:01:42.000Z] 2f39f015ded8: Download complete [2023-02-14T05:01:42.259Z] 5eb5b503b376: Pull complete [2023-02-14T05:01:42.259Z] 5c69ac0246d0: Pull complete [2023-02-14T05:01:42.825Z] ec43610c2a17: Pull complete [2023-02-14T05:01:42.825Z] 3a2ae6a8a46f: Pull complete [2023-02-14T05:01:43.082Z] 33b1e0a273af: Pull complete [2023-02-14T05:01:43.082Z] 5d3b04190fa2: Pull complete [2023-02-14T05:01:47.264Z] 2f39f015ded8: Pull complete [2023-02-14T05:01:47.264Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-14T05:01:47.264Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T05:01:47.264Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T05:01:47.486Z] prd-ubuntu20.04-docker-8c-8g-5730 does not seem to be running inside a container [2023-02-14T05:01:47.533Z] $ 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-1318 -v /w/workspace/gexfoundry_device-sdk-go_PR-1318:/w/workspace/gexfoundry_device-sdk-go_PR-1318:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T05:01:49.833Z] $ docker top 28957e2c16b58722aec66c36951c77aaa5283c675e425d12f84cc61a0d95bd5a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T05:01:50.266Z] ---> job-cost.sh [2023-02-14T05:01:50.266Z] lf-activate-venv: SKIPPING [2023-02-14T05:01:50.266Z] INFO: No Stack... [2023-02-14T05:01:50.835Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T05:01:51.093Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T05:01:51.408Z] + + cut -d, -f6 [2023-02-14T05:01:51.408Z] cat /w/workspace/gexfoundry_device-sdk-go_PR-1318/archives/cost.csv [Pipeline] lock [2023-02-14T05:01:51.454Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1318-1-stack-cost] [2023-02-14T05:01:51.459Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1318-1-stack-cost] did not exist. Created. [2023-02-14T05:01:51.459Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1318-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T05:01:51.859Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-14T05:01:51.915Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T05:01:51.941Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1318-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T05:01:52.037Z] $ docker stop --time=1 28957e2c16b58722aec66c36951c77aaa5283c675e425d12f84cc61a0d95bd5a [2023-02-14T05:01:53.186Z] $ docker rm -f --volumes 28957e2c16b58722aec66c36951c77aaa5283c675e425d12f84cc61a0d95bd5a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T05:01:59.643Z] provisioning config files... [2023-02-14T05:01:59.668Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config17225943591249635001tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T05:02:00.059Z] ---> docker-login.sh [2023-02-14T05:02:00.059Z] nexus3.edgexfoundry.org:10001 [2023-02-14T05:02:00.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T05:02:00.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T05:02:00.648Z] Configure a credential helper to remove this warning. See [2023-02-14T05:02:00.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T05:02:00.648Z] [2023-02-14T05:02:00.648Z] Login Succeeded [2023-02-14T05:02:00.648Z] nexus3.edgexfoundry.org:10002 [2023-02-14T05:02:00.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T05:02:00.917Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T05:02:00.917Z] Configure a credential helper to remove this warning. See [2023-02-14T05:02:00.917Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T05:02:00.917Z] [2023-02-14T05:02:00.917Z] Login Succeeded [2023-02-14T05:02:00.917Z] nexus3.edgexfoundry.org:10003 [2023-02-14T05:02:01.186Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T05:02:01.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T05:02:01.458Z] Configure a credential helper to remove this warning. See [2023-02-14T05:02:01.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T05:02:01.458Z] [2023-02-14T05:02:01.458Z] Login Succeeded [2023-02-14T05:02:01.458Z] nexus3.edgexfoundry.org:10004 [2023-02-14T05:02:01.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T05:02:01.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T05:02:01.727Z] Configure a credential helper to remove this warning. See [2023-02-14T05:02:01.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T05:02:01.727Z] [2023-02-14T05:02:01.727Z] Login Succeeded [2023-02-14T05:02:01.727Z] docker.io [2023-02-14T05:02:01.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T05:02:02.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T05:02:02.264Z] Configure a credential helper to remove this warning. See [2023-02-14T05:02:02.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T05:02:02.264Z] [2023-02-14T05:02:02.264Z] Login Succeeded [2023-02-14T05:02:02.264Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T05:02:02.292Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T05:02:02.679Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T05:02:02.721Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T05:02:02.759Z] ========================================================= [2023-02-14T05:02:02.759Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-14T05:02:02.759Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:02:03.274Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T05:02:03.542Z] Sending build context to Docker daemon 5.599MB [2023-02-14T05:02:03.542Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T05:02:03.542Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-14T05:02:03.821Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-14T05:02:03.821Z] 9b18e9b68314: Pulling fs layer [2023-02-14T05:02:03.821Z] 35d82f9e3411: Pulling fs layer [2023-02-14T05:02:03.821Z] e16973657156: Pulling fs layer [2023-02-14T05:02:03.821Z] fc693d55d65f: Pulling fs layer [2023-02-14T05:02:03.821Z] 7e9fc2657dce: Pulling fs layer [2023-02-14T05:02:03.821Z] dda99020689f: Pulling fs layer [2023-02-14T05:02:03.821Z] db1c61fa0a46: Pulling fs layer [2023-02-14T05:02:03.821Z] 891c053d2c06: Pulling fs layer [2023-02-14T05:02:03.821Z] dda99020689f: Waiting [2023-02-14T05:02:03.821Z] db1c61fa0a46: Waiting [2023-02-14T05:02:03.821Z] 891c053d2c06: Waiting [2023-02-14T05:02:03.821Z] fc693d55d65f: Waiting [2023-02-14T05:02:03.821Z] 7e9fc2657dce: Waiting [2023-02-14T05:02:03.821Z] e16973657156: Verifying Checksum [2023-02-14T05:02:03.821Z] e16973657156: Download complete [2023-02-14T05:02:03.821Z] 35d82f9e3411: Verifying Checksum [2023-02-14T05:02:03.821Z] 35d82f9e3411: Download complete [2023-02-14T05:02:04.096Z] 7e9fc2657dce: Verifying Checksum [2023-02-14T05:02:04.096Z] 7e9fc2657dce: Download complete [2023-02-14T05:02:04.096Z] dda99020689f: Verifying Checksum [2023-02-14T05:02:04.096Z] dda99020689f: Download complete [2023-02-14T05:02:04.096Z] 9b18e9b68314: Download complete [2023-02-14T05:02:05.081Z] 9b18e9b68314: Pull complete [2023-02-14T05:02:05.081Z] 891c053d2c06: Verifying Checksum [2023-02-14T05:02:05.081Z] 891c053d2c06: Download complete [2023-02-14T05:02:05.351Z] 35d82f9e3411: Pull complete [2023-02-14T05:02:05.947Z] e16973657156: Pull complete [2023-02-14T05:02:06.542Z] db1c61fa0a46: Verifying Checksum [2023-02-14T05:02:06.542Z] db1c61fa0a46: Download complete [2023-02-14T05:02:06.811Z] fc693d55d65f: Verifying Checksum [2023-02-14T05:02:06.811Z] fc693d55d65f: Download complete [2023-02-14T05:02:19.156Z] fc693d55d65f: Pull complete [2023-02-14T05:02:19.156Z] 7e9fc2657dce: Pull complete [2023-02-14T05:02:19.156Z] dda99020689f: Pull complete [2023-02-14T05:02:25.824Z] db1c61fa0a46: Pull complete [2023-02-14T05:02:27.334Z] 891c053d2c06: Pull complete [2023-02-14T05:02:27.335Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-14T05:02:27.335Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-14T05:02:27.335Z] ---> f96f9c87975a [2023-02-14T05:02:27.335Z] Step 3/10 : ARG MAKE=make build [2023-02-14T05:02:28.360Z] ---> Running in 2fc0306444f7 [2023-02-14T05:02:28.638Z] Removing intermediate container 2fc0306444f7 [2023-02-14T05:02:28.638Z] ---> 1b4d9c04b070 [2023-02-14T05:02:28.638Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-14T05:02:28.907Z] ---> Running in b38804b144fa [2023-02-14T05:02:29.178Z] Removing intermediate container b38804b144fa [2023-02-14T05:02:29.178Z] ---> fbc61cd41b79 [2023-02-14T05:02:29.178Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T05:02:29.178Z] ---> Running in ee18c3b48e75 [2023-02-14T05:02:29.768Z] Removing intermediate container ee18c3b48e75 [2023-02-14T05:02:29.768Z] ---> bbe5af042cdf [2023-02-14T05:02:29.768Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-14T05:02:29.768Z] ---> Running in 8e815bc470f7 [2023-02-14T05:02:31.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T05:02:31.187Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T05:02:32.401Z] OK: 221 MiB in 51 packages [2023-02-14T05:02:33.366Z] Removing intermediate container 8e815bc470f7 [2023-02-14T05:02:33.366Z] ---> 72811552d1fb [2023-02-14T05:02:33.366Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-14T05:02:33.947Z] ---> b4de3e7d4a5b [2023-02-14T05:02:33.947Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T05:02:33.947Z] ---> Running in 57ca4dde20fb [2023-02-14T05:03:41.838Z] Removing intermediate container 57ca4dde20fb [2023-02-14T05:03:41.838Z] ---> 8843673fd330 [2023-02-14T05:03:41.838Z] Step 9/10 : COPY . . [2023-02-14T05:03:41.838Z] ---> e454d318a97b [2023-02-14T05:03:41.838Z] Step 10/10 : RUN ${MAKE} [2023-02-14T05:03:41.838Z] ---> Running in 9ff8b1f9e62d [2023-02-14T05:03:41.838Z] noop [2023-02-14T05:03:41.838Z] Removing intermediate container 9ff8b1f9e62d [2023-02-14T05:03:41.838Z] ---> 4828eaae2887 [2023-02-14T05:03:41.838Z] Successfully built 4828eaae2887 [2023-02-14T05:03:41.838Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:03:42.317Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T05:03:42.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T05:03:42.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-5733 does not seem to be running inside a container [2023-02-14T05:03:42.650Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-14T05:03:43.896Z] $ docker top f345cd7376b66b520e33fea0b3e69c34a29d77610c17e62d6888ddf042deb548 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T05:03:44.777Z] + go version [2023-02-14T05:03:44.777Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-14T05:03:44.820Z] $ docker stop --time=1 f345cd7376b66b520e33fea0b3e69c34a29d77610c17e62d6888ddf042deb548 [2023-02-14T05:03:46.473Z] $ docker rm -f --volumes f345cd7376b66b520e33fea0b3e69c34a29d77610c17e62d6888ddf042deb548 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:03:47.324Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T05:03:47.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T05:03:47.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-5733 does not seem to be running inside a container [2023-02-14T05:03:47.674Z] $ 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 ******** ci-base-image-arm64 cat [2023-02-14T05:03:48.857Z] $ docker top 65d1c4dff3b0601831ce71805c8cc5ac17c4753a4bef81b57c80d44e9fdfb241 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T05:03:49.753Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-14T05:03:50.462Z] + make test [2023-02-14T05:03:50.462Z] go test -race -coverprofile=coverage.out ./... [2023-02-14T05:04:29.354Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-14T05:06:23.374Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-14T05:06:23.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-14T05:06:23.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-14T05:06:23.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-14T05:06:23.375Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-14T05:06:28.724Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.525s coverage: 27.6% of statements [2023-02-14T05:06:28.724Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.615s coverage: 78.9% of statements [2023-02-14T05:06:28.724Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-14T05:06:38.818Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.815s coverage: 78.1% of statements [2023-02-14T05:06:38.818Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-14T05:06:38.818Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-14T05:06:38.818Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.593s coverage: 72.4% of statements [2023-02-14T05:06:38.818Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-14T05:06:38.818Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-02-14T05:06:38.818Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-14T05:06:39.780Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.466s coverage: 65.2% of statements [2023-02-14T05:06:39.780Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-14T05:06:39.780Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-14T05:06:39.780Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.158s coverage: 89.2% of statements [2023-02-14T05:06:39.780Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-14T05:06:39.780Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.482s coverage: 4.7% of statements [2023-02-14T05:06:39.781Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-14T05:06:40.748Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-14T05:06:40.748Z] GO111MODULE=on go vet ./... [2023-02-14T05:08:17.427Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T05:08:17.427Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T05:08:17.427Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-14T05:08:17.467Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T05:08:17.494Z] $ docker stop --time=1 65d1c4dff3b0601831ce71805c8cc5ac17c4753a4bef81b57c80d44e9fdfb241 [2023-02-14T05:08:19.368Z] $ docker rm -f --volumes 65d1c4dff3b0601831ce71805c8cc5ac17c4753a4bef81b57c80d44e9fdfb241 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T05:08:20.906Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T05:08:20.947Z] Warning: overwriting stash ‘coverage-report’ [2023-02-14T05:08:21.550Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T05:08:22.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T05:08:22.614Z] + ls -al . [2023-02-14T05:08:22.614Z] total 268 [2023-02-14T05:08:22.614Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 05:03 . [2023-02-14T05:08:22.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 05:01 .. [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 05:01 .dockerignore [2023-02-14T05:08:22.614Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 05:01 .git [2023-02-14T05:08:22.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 05:01 .github [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 05:01 .gitignore [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 05:01 .golangci.yml [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 05:01 CHANGELOG.md [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 05:01 GOVERNANCE.md [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 05:01 Jenkinsfile [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 05:01 LICENSE [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 05:01 Makefile [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 05:01 OWNERS.md [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 05:01 README.md [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 04:59 VERSION [2023-02-14T05:08:22.614Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 05:01 bin [2023-02-14T05:08:22.614Z] -rw-r--r-- 1 jenkins jenkins 99166 Feb 14 05:06 coverage.out [2023-02-14T05:08:22.614Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 05:01 example [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 05:01 go.mod [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 05:01 go.sum [2023-02-14T05:08:22.614Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 05:01 internal [2023-02-14T05:08:22.614Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 05:01 openapi [2023-02-14T05:08:22.614Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 05:01 pkg [2023-02-14T05:08:22.614Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 05:01 snap [2023-02-14T05:08:22.614Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 05:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:08:23.047Z] + 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=076f4010fa9a55318beddb92973deada623f95f7 --label arch=arm64 --label version=0.0.0 . [2023-02-14T05:08:23.316Z] Sending build context to Docker daemon 5.699MB [2023-02-14T05:08:23.585Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T05:08:23.585Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-14T05:08:23.585Z] ---> 4828eaae2887 [2023-02-14T05:08:23.585Z] Step 3/23 : ARG MAKE=make build [2023-02-14T05:08:23.585Z] ---> Running in 35aedcd1dbd1 [2023-02-14T05:08:23.859Z] Removing intermediate container 35aedcd1dbd1 [2023-02-14T05:08:23.859Z] ---> d2e250e96f15 [2023-02-14T05:08:23.859Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-14T05:08:24.130Z] ---> Running in 8df2d1ce1d6a [2023-02-14T05:08:24.404Z] Removing intermediate container 8df2d1ce1d6a [2023-02-14T05:08:24.404Z] ---> 38b181b9f447 [2023-02-14T05:08:24.404Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-14T05:08:24.404Z] ---> Running in 1f5e62017947 [2023-02-14T05:08:24.674Z] Removing intermediate container 1f5e62017947 [2023-02-14T05:08:24.674Z] ---> fced7614136f [2023-02-14T05:08:24.674Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-14T05:08:24.944Z] ---> Running in 19102071332c [2023-02-14T05:08:25.907Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T05:08:26.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T05:08:27.902Z] OK: 221 MiB in 51 packages [2023-02-14T05:08:28.484Z] Removing intermediate container 19102071332c [2023-02-14T05:08:28.484Z] ---> 4cea264e98ea [2023-02-14T05:08:28.484Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-14T05:08:30.826Z] ---> fd5bc28377a6 [2023-02-14T05:08:30.826Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T05:08:30.826Z] ---> Running in e375d9263298 [2023-02-14T05:08:33.416Z] Removing intermediate container e375d9263298 [2023-02-14T05:08:33.416Z] ---> e24ef08017bb [2023-02-14T05:08:33.416Z] Step 9/23 : COPY . . [2023-02-14T05:08:34.376Z] ---> 4abf7be3314b [2023-02-14T05:08:34.376Z] Step 10/23 : RUN ${MAKE} [2023-02-14T05:08:34.376Z] ---> Running in 0ed26326c2dc [2023-02-14T05:08:35.335Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-02-14T05:10:42.012Z] Removing intermediate container 0ed26326c2dc [2023-02-14T05:10:42.012Z] ---> 8a878d9a6579 [2023-02-14T05:10:42.012Z] Step 11/23 : FROM alpine:3.16 [2023-02-14T05:10:42.012Z] 3.16: Pulling from library/alpine [2023-02-14T05:10:42.012Z] 3760b48202b3: Pulling fs layer [2023-02-14T05:10:42.012Z] 3760b48202b3: Verifying Checksum [2023-02-14T05:10:42.012Z] 3760b48202b3: Download complete [2023-02-14T05:10:42.012Z] 3760b48202b3: Pull complete [2023-02-14T05:10:42.012Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T05:10:42.012Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T05:10:42.012Z] ---> 4c81e5bf8899 [2023-02-14T05:10:42.012Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-14T05:10:42.012Z] ---> Running in 222500dd2dcf [2023-02-14T05:10:42.012Z] Removing intermediate container 222500dd2dcf [2023-02-14T05:10:42.012Z] ---> 9c3d4ad7ee61 [2023-02-14T05:10:42.012Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-14T05:10:42.012Z] ---> Running in 32d55204d3e6 [2023-02-14T05:10:42.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T05:10:42.862Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T05:10:43.824Z] OK: 5 MiB in 14 packages [2023-02-14T05:10:44.851Z] Removing intermediate container 32d55204d3e6 [2023-02-14T05:10:44.851Z] ---> 0a79993d4bb5 [2023-02-14T05:10:44.851Z] Step 14/23 : WORKDIR / [2023-02-14T05:10:44.851Z] ---> Running in 5ef3823e289b [2023-02-14T05:10:45.135Z] Removing intermediate container 5ef3823e289b [2023-02-14T05:10:45.135Z] ---> 1425803f9aec [2023-02-14T05:10:45.135Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-14T05:10:45.757Z] ---> 796db9a96bc4 [2023-02-14T05:10:45.757Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-14T05:10:47.232Z] ---> 385c9846bbea [2023-02-14T05:10:47.232Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-14T05:10:47.829Z] ---> 72de937949be [2023-02-14T05:10:47.829Z] Step 18/23 : EXPOSE 59999 [2023-02-14T05:10:47.829Z] ---> Running in 5634301f72bb [2023-02-14T05:10:48.100Z] Removing intermediate container 5634301f72bb [2023-02-14T05:10:48.100Z] ---> 011939caac18 [2023-02-14T05:10:48.100Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-14T05:10:48.380Z] ---> Running in a5d2311168a4 [2023-02-14T05:10:48.648Z] Removing intermediate container a5d2311168a4 [2023-02-14T05:10:48.648Z] ---> 171dfd81fca7 [2023-02-14T05:10:48.648Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T05:10:48.648Z] ---> Running in 8a103f1d5036 [2023-02-14T05:10:48.917Z] Removing intermediate container 8a103f1d5036 [2023-02-14T05:10:48.917Z] ---> b62a76137166 [2023-02-14T05:10:48.917Z] Step 21/23 : LABEL arch=arm64 [2023-02-14T05:10:48.917Z] ---> Running in 6614987984f2 [2023-02-14T05:10:49.186Z] Removing intermediate container 6614987984f2 [2023-02-14T05:10:49.186Z] ---> b6b21ff2b455 [2023-02-14T05:10:49.186Z] Step 22/23 : LABEL git_sha=076f4010fa9a55318beddb92973deada623f95f7 [2023-02-14T05:10:49.455Z] ---> Running in f92a468a9380 [2023-02-14T05:10:49.723Z] Removing intermediate container f92a468a9380 [2023-02-14T05:10:49.723Z] ---> 05d62373369e [2023-02-14T05:10:49.723Z] Step 23/23 : LABEL version=0.0.0 [2023-02-14T05:10:49.723Z] ---> Running in e15e9219fbcd [2023-02-14T05:10:49.992Z] Removing intermediate container e15e9219fbcd [2023-02-14T05:10:49.992Z] ---> 04312ca7d8a3 [2023-02-14T05:10:49.992Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T05:10:49.992Z] Successfully built 04312ca7d8a3 [2023-02-14T05:10:49.992Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:10:50.754Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T05:10:50.754Z] [2023-02-14T05:10:50.754Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:10:51.173Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T05:10:51.448Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-14T05:10:51.448Z] 8998bd30e6a1: Pulling fs layer [2023-02-14T05:10:51.448Z] 04944245beec: Pulling fs layer [2023-02-14T05:10:51.448Z] 699f458cf7ca: Pulling fs layer [2023-02-14T05:10:51.448Z] 765212b225bb: Pulling fs layer [2023-02-14T05:10:51.448Z] f23df028b6ca: Pulling fs layer [2023-02-14T05:10:51.448Z] d65c8cfc05b1: Pulling fs layer [2023-02-14T05:10:51.448Z] 2437ff75d9bd: Pulling fs layer [2023-02-14T05:10:51.448Z] f23df028b6ca: Waiting [2023-02-14T05:10:51.448Z] d65c8cfc05b1: Waiting [2023-02-14T05:10:51.448Z] 765212b225bb: Waiting [2023-02-14T05:10:51.448Z] 2437ff75d9bd: Waiting [2023-02-14T05:10:51.448Z] 04944245beec: Verifying Checksum [2023-02-14T05:10:51.448Z] 04944245beec: Download complete [2023-02-14T05:10:51.448Z] 765212b225bb: Verifying Checksum [2023-02-14T05:10:51.448Z] 765212b225bb: Download complete [2023-02-14T05:10:51.724Z] f23df028b6ca: Verifying Checksum [2023-02-14T05:10:51.724Z] f23df028b6ca: Download complete [2023-02-14T05:10:51.724Z] d65c8cfc05b1: Verifying Checksum [2023-02-14T05:10:51.724Z] d65c8cfc05b1: Download complete [2023-02-14T05:10:51.724Z] 699f458cf7ca: Verifying Checksum [2023-02-14T05:10:51.724Z] 699f458cf7ca: Download complete [2023-02-14T05:10:52.309Z] 8998bd30e6a1: Verifying Checksum [2023-02-14T05:10:52.309Z] 8998bd30e6a1: Download complete [2023-02-14T05:10:54.261Z] 2437ff75d9bd: Verifying Checksum [2023-02-14T05:10:54.261Z] 2437ff75d9bd: Download complete [2023-02-14T05:10:56.199Z] 8998bd30e6a1: Pull complete [2023-02-14T05:10:56.470Z] 04944245beec: Pull complete [2023-02-14T05:10:57.876Z] 699f458cf7ca: Pull complete [2023-02-14T05:10:57.876Z] 765212b225bb: Pull complete [2023-02-14T05:10:58.845Z] f23df028b6ca: Pull complete [2023-02-14T05:10:58.845Z] d65c8cfc05b1: Pull complete [2023-02-14T05:11:13.854Z] 2437ff75d9bd: Pull complete [2023-02-14T05:11:13.854Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-14T05:11:13.854Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T05:11:13.854Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T05:11:14.175Z] prd-ubuntu20.04-docker-arm64-4c-16g-5733 does not seem to be running inside a container [2023-02-14T05:11:14.216Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-14T05:11:17.333Z] $ docker top a54ca957dd4eece866068f35f5ae624afc3dc631ad30e1baf66bf780b4fa180c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T05:11:17.938Z] ---> job-cost.sh [2023-02-14T05:11:18.206Z] lf-activate-venv: SKIPPING [2023-02-14T05:11:18.206Z] INFO: No Stack... [2023-02-14T05:11:18.787Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-14T05:11:19.744Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T05:11:20.400Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-14T05:11:20.400Z] cut -d, -f6 [Pipeline] lock [2023-02-14T05:11:20.476Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1318-1-stack-cost] [2023-02-14T05:11:20.481Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1318-1-stack-cost] did not exist. Created. [2023-02-14T05:11:20.481Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1318-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T05:11:20.890Z] /w/workspace/device-sdk-go/1@tmp/durable-0d8e22b5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-14T05:11:21.562Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-14T05:11:21.598Z] Warning: overwriting stash ‘stack-cost’ [2023-02-14T05:11:21.661Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T05:11:21.678Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1318-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T05:11:21.723Z] $ docker stop --time=1 a54ca957dd4eece866068f35f5ae624afc3dc631ad30e1baf66bf780b4fa180c [2023-02-14T05:11:23.200Z] $ docker rm -f --volumes a54ca957dd4eece866068f35f5ae624afc3dc631ad30e1baf66bf780b4fa180c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-14T05:11:24.215Z] provisioning config files... [2023-02-14T05:11:24.222Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp/config1364653591140447886tmp [Pipeline] { [Pipeline] sh [2023-02-14T05:11:24.561Z] + set +x [2023-02-14T05:11:24.562Z] + curl -s https://codecov.io/bash [2023-02-14T05:11:24.562Z] + bash -s -- [2023-02-14T05:11:24.562Z] [2023-02-14T05:11:24.562Z] _____ _ [2023-02-14T05:11:24.562Z] / ____| | | [2023-02-14T05:11:24.562Z] | | ___ __| | ___ ___ _____ __ [2023-02-14T05:11:24.562Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-14T05:11:24.562Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-14T05:11:24.562Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-14T05:11:24.562Z] Bash-1.0.6 [2023-02-14T05:11:24.562Z] [2023-02-14T05:11:24.562Z] [2023-02-14T05:11:24.562Z] ==> git version 2.25.1 found [2023-02-14T05:11:24.562Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-14T05:11:24.562Z] Release-Date: 2020-01-08 [2023-02-14T05:11:24.562Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-14T05:11:24.562Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-14T05:11:24.562Z] ==> Jenkins CI detected. [2023-02-14T05:11:24.562Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1318 [2023-02-14T05:11:24.562Z] project root: . [2023-02-14T05:11:24.562Z] --> token set from env [2023-02-14T05:11:24.562Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-14T05:11:24.562Z] ==> Running gcov in . (disable via -X gcov) [2023-02-14T05:11:24.562Z] ==> Python coveragepy not found [2023-02-14T05:11:24.562Z] ==> Searching for coverage reports in: [2023-02-14T05:11:24.562Z] + . [2023-02-14T05:11:24.820Z] -> Found 1 reports [2023-02-14T05:11:24.820Z] ==> Detecting git/mercurial file structure [2023-02-14T05:11:24.820Z] ==> Reading reports [2023-02-14T05:11:24.820Z] + ./coverage.out bytes=99166 [2023-02-14T05:11:24.820Z] ==> Appending adjustments [2023-02-14T05:11:24.820Z] https://docs.codecov.io/docs/fixing-reports [2023-02-14T05:11:25.078Z] + Found adjustments [2023-02-14T05:11:25.078Z] ==> Gzipping contents [2023-02-14T05:11:25.078Z] 16K /tmp/codecov.QBQT4T.gz [2023-02-14T05:11:25.078Z] ==> Uploading reports [2023-02-14T05:11:25.078Z] url: https://codecov.io [2023-02-14T05:11:25.078Z] query: branch=PR-1318&commit=076f4010fa9a55318beddb92973deada623f95f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1318%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1318&job=&cmd_args= [2023-02-14T05:11:25.078Z] -> Pinging Codecov [2023-02-14T05:11:25.078Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1318&commit=076f4010fa9a55318beddb92973deada623f95f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1318%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1318&job=&cmd_args= [2023-02-14T05:11:25.078Z] -> Uploading to [2023-02-14T05:11:25.078Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-14/7E55EF52A471D76F132DFD9A03CDDE97/076f4010fa9a55318beddb92973deada623f95f7/cc791638-39b6-4e8f-aba9-e2379102adad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T051125Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=282e5cde9b6655e9180aed25ea5ae4ab7e85c4467566906e64083e2b3c8f0332 [2023-02-14T05:11:25.078Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T05:11:25.078Z] Dload Upload Total Spent Left Speed [2023-02-14T05:11:25.647Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14410 0 0 100 14410 0 45746 --:--:-- --:--:-- --:--:-- 45746 [2023-02-14T05:11:25.647Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/076f4010fa9a55318beddb92973deada623f95f7 [Pipeline] } [2023-02-14T05:11:25.676Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-14T05:11:27.457Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1318/archives ] [2023-02-14T05:11:27.457Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1318/archives [2023-02-14T05:11:27.457Z] total 16 [2023-02-14T05:11:27.457Z] drwxr-xr-x 3 root root 4096 Feb 14 05:01 . [2023-02-14T05:11:27.457Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 05:01 .. [2023-02-14T05:11:27.457Z] drwxr-xr-x 2 root root 4096 Feb 14 05:01 cost [2023-02-14T05:11:27.457Z] -rw-r--r-- 1 root root 86 Feb 14 05:01 cost.csv [2023-02-14T05:11:27.457Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1318/archives [2023-02-14T05:11:27.457Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1318/archives [2023-02-14T05:11:27.457Z] total 16 [2023-02-14T05:11:27.457Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 05:01 . [2023-02-14T05:11:27.457Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 05:01 .. [2023-02-14T05:11:27.457Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 05:01 cost [2023-02-14T05:11:27.457Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 14 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-14T05:11:27.787Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T05:11:28.693Z] ---> package-listing.sh [2023-02-14T05:11:28.693Z] ++ facter osfamily [2023-02-14T05:11:28.693Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-14T05:11:28.952Z] + OS_FAMILY=debian [2023-02-14T05:11:28.952Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1318 [2023-02-14T05:11:28.952Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-14T05:11:28.952Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-14T05:11:28.952Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-14T05:11:28.952Z] + PACKAGES=/tmp/packages_start.txt [2023-02-14T05:11:28.952Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1318 ']' [2023-02-14T05:11:28.952Z] + PACKAGES=/tmp/packages_end.txt [2023-02-14T05:11:28.952Z] + case "${OS_FAMILY}" in [2023-02-14T05:11:28.952Z] + dpkg -l [2023-02-14T05:11:28.952Z] + grep '^ii' [2023-02-14T05:11:28.952Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-14T05:11:28.952Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-14T05:11:28.952Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-14T05:11:28.952Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1318 ']' [2023-02-14T05:11:28.952Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1318/archives/ [2023-02-14T05:11:28.952Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1318/archives/ [Pipeline] echo [2023-02-14T05:11:28.986Z] 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-1318/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-14T05:11:29.278Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T05:11:29.908Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T05:11:29.908Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T05:11:30.052Z] prd-ubuntu20.04-docker-8c-8g-5730 does not seem to be running inside a container [2023-02-14T05:11:30.105Z] $ 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-1318/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-1318 -v /w/workspace/gexfoundry_device-sdk-go_PR-1318:/w/workspace/gexfoundry_device-sdk-go_PR-1318:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1318@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T05:11:30.283Z] $ docker top 63c95b2fc90193c866796153162e3bbd982ab94cc5b993418110905474be5d24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T05:11:30.639Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-14T05:11:30.946Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-14T05:11:31.254Z] + ls /var/log/sa-host [2023-02-14T05:11:31.255Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T05:11:31.381Z] provisioning config files... [2023-02-14T05:11:31.389Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1318@tmp/config3188247084449792389tmp [Pipeline] { [Pipeline] echo [2023-02-14T05:11:31.434Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T05:11:31.745Z] ---> create-netrc.sh [Pipeline] } [2023-02-14T05:11:31.771Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-14T05:11:32.160Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-14T05:11:32.191Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T05:11:32.502Z] ---> sudo-logs.sh [2023-02-14T05:11:32.502Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-14T05:11:32.586Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T05:11:32.893Z] ---> job-cost.sh [2023-02-14T05:11:32.893Z] lf-activate-venv: SKIPPING [2023-02-14T05:11:32.893Z] DEBUG: total: 0.2199999988079071 [2023-02-14T05:11:32.893Z] INFO: Retrieving Stack Cost... [2023-02-14T05:11:33.460Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T05:11:33.719Z] INFO: Archiving Costs [Pipeline] echo [2023-02-14T05:11:33.752Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T05:11:34.062Z] ---> logs-deploy.sh [2023-02-14T05:11:34.062Z] lf-activate-venv: SKIPPING [2023-02-14T05:11:34.062Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1318/1 [2023-02-14T05:11:34.062Z] INFO: archiving workspace using pattern(s): [2023-02-14T05:11:34.997Z] Archives upload complete. [2023-02-14T05:11:34.997Z] INFO: archiving logs to Nexus