Pull request #1278 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 354cc457f5dd00fbae84271aae46902a9bf4a6e1+8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 (3b25555ff703196cd47065dcf7edced1df9b55ba) 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-ssh4918526119613417691.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-ssh6499664559405602949.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-1278/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-1278/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12989736551112932904.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-1278/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6574196887627689084.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-ssh2820311969390995922.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-1278/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-1278/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6093893790155057744.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2012’ Running on prd-ubuntu20.04-docker-8c-8g-2015 in /w/workspace/gexfoundry_device-sdk-go_PR-1278 [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-1278 # 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 Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 354cc457f5dd00fbae84271aae46902a9bf4a6e1 > 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/1278/head:refs/remotes/origin/PR-1278 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 354cc457f5dd00fbae84271aae46902a9bf4a6e1 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 Merge succeeded, producing 354cc457f5dd00fbae84271aae46902a9bf4a6e1 Checking out Revision 354cc457f5dd00fbae84271aae46902a9bf4a6e1 (PR-1278) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/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 04:03:44 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:03:44 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:03:44 ========================================================= 04:03:44 EdgeX Global Pipelines Version Info 04:03:44 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 354cc457f5dd00fbae84271aae46902a9bf4a6e1 # timeout=10 04:03:45 ------------------- 04:03:45 stable info: 04:03:45 ------------------- 04:03:45 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:03:45 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:03:45 Message: update stable to v1.0.244 04:03:45 ------------------- 04:03:45 experimental info: 04:03:45 ------------------- 04:03:45 Commited By: **** collab-it+edgex@linuxfoundation.org 04:03:45 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:03:45 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:03:46 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1278 [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1278 [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1278 [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 354cc457f5dd00fbae84271aae46902a9bf4a6e1 [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 354cc45 [Pipeline] echo 04:03:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:03:47 provisioning config files... 04:03:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/config5684622576335860335tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:03:48 ---> docker-login.sh 04:03:48 nexus3.edgexfoundry.org:10001 04:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:48 Configure a credential helper to remove this warning. See 04:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:48 04:03:48 Login Succeeded 04:03:48 nexus3.edgexfoundry.org:10002 04:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:48 Configure a credential helper to remove this warning. See 04:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:48 04:03:48 Login Succeeded 04:03:48 nexus3.edgexfoundry.org:10003 04:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:48 Configure a credential helper to remove this warning. See 04:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:48 04:03:48 Login Succeeded 04:03:48 nexus3.edgexfoundry.org:10004 04:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:48 Configure a credential helper to remove this warning. See 04:03:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:48 04:03:48 Login Succeeded 04:03:48 docker.io 04:03:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:03:49 Configure a credential helper to remove this warning. See 04:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:03:49 04:03:49 Login Succeeded 04:03:49 ---> docker-login.sh ends [Pipeline] } 04:03:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:03:49 + git rev-list -1 --merges 354cc457f5dd00fbae84271aae46902a9bf4a6e1~1..354cc457f5dd00fbae84271aae46902a9bf4a6e1 [Pipeline] echo 04:03:49 -----------> git rev-list -1 --merges 354cc457f5dd00fbae84271aae46902a9bf4a6e1~1..354cc457f5dd00fbae84271aae46902a9bf4a6e1 354cc457f5dd00fbae84271aae46902a9bf4a6e1 [false] [Pipeline] sh 04:03:50 + git log --format=format:%s -1 354cc457f5dd00fbae84271aae46902a9bf4a6e1 [Pipeline] echo 04:03:50 ========================================================= 04:03:50 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:03:50 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:03:50 + git log --format=format:%s -1 354cc457f5dd00fbae84271aae46902a9bf4a6e1 [Pipeline] echo 04:03:50 [semverPrep] GIT_COMMIT: 354cc457f5dd00fbae84271aae46902a9bf4a6e1, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 04:03:50 [semverPrep] This is not a build commit. [Pipeline] sh 04:03:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:03:50 + grep -v github /etc/ssh/ssh_known_hosts 04:03:50 + [ -e /tmp/ssh_known_hosts ] 04:03:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:03:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:03:50 + sudo tee -a /etc/ssh/ssh_known_hosts 04:03:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:51 04:03:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:03:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:51 0.1.4: Pulling from edgex-devops/py-git-semver 04:03:51 b85a868b505f: Pulling fs layer 04:03:51 e2be974225ed: Pulling fs layer 04:03:51 339a4e72a1f5: Pulling fs layer 04:03:51 988bab9f4d93: Pulling fs layer 04:03:51 1469e6f7b9e6: Pulling fs layer 04:03:51 eaf3925da568: Pulling fs layer 04:03:51 bab4dde63d76: Pulling fs layer 04:03:51 bde34c3a00c8: Pulling fs layer 04:03:51 b352a97aabf1: Pulling fs layer 04:03:51 4872d77fe225: Pulling fs layer 04:03:51 5851b861e8e6: Pulling fs layer 04:03:51 988bab9f4d93: Waiting 04:03:51 1469e6f7b9e6: Waiting 04:03:51 b352a97aabf1: Waiting 04:03:51 4872d77fe225: Waiting 04:03:51 5851b861e8e6: Waiting 04:03:51 eaf3925da568: Waiting 04:03:51 bab4dde63d76: Waiting 04:03:51 bde34c3a00c8: Waiting 04:03:51 e2be974225ed: Download complete 04:03:51 988bab9f4d93: Verifying Checksum 04:03:51 988bab9f4d93: Download complete 04:03:52 1469e6f7b9e6: Verifying Checksum 04:03:52 1469e6f7b9e6: Download complete 04:03:52 eaf3925da568: Verifying Checksum 04:03:52 eaf3925da568: Download complete 04:03:52 339a4e72a1f5: Verifying Checksum 04:03:52 339a4e72a1f5: Download complete 04:03:52 bde34c3a00c8: Download complete 04:03:52 b352a97aabf1: Verifying Checksum 04:03:52 b352a97aabf1: Download complete 04:03:52 4872d77fe225: Verifying Checksum 04:03:52 4872d77fe225: Download complete 04:03:52 5851b861e8e6: Verifying Checksum 04:03:52 5851b861e8e6: Download complete 04:03:52 b85a868b505f: Verifying Checksum 04:03:52 b85a868b505f: Download complete 04:03:52 bab4dde63d76: Verifying Checksum 04:03:52 bab4dde63d76: Download complete 04:03:53 b85a868b505f: Pull complete 04:03:53 e2be974225ed: Pull complete 04:03:53 339a4e72a1f5: Pull complete 04:03:53 988bab9f4d93: Pull complete 04:03:54 1469e6f7b9e6: Pull complete 04:03:54 eaf3925da568: Pull complete 04:03:55 bab4dde63d76: Pull complete 04:03:55 bde34c3a00c8: Pull complete 04:03:55 b352a97aabf1: Pull complete 04:03:55 4872d77fe225: Pull complete 04:03:55 5851b861e8e6: Pull complete 04:03:55 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:03:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:03:55 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:03:56 prd-ubuntu20.04-docker-8c-8g-2015 does not seem to be running inside a container 04:03:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1278 -v /w/workspace/gexfoundry_device-sdk-go_PR-1278:/w/workspace/gexfoundry_device-sdk-go_PR-1278:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1278@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:03:57 $ docker top 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 -eo pid,comm 04:03:57 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). 04:03:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:03:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:03:57 [ssh-agent] Looking for ssh-agent implementation... 04:03:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:03:57 $ docker exec 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 ssh-agent 04:03:57 SSH_AUTH_SOCK=/tmp/ssh-3lMHD6wcbhe1/agent.32 04:03:57 SSH_AGENT_PID=38 04:03:57 Running ssh-add (command line suppressed) 04:03:57 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/private_key_14603726621969185898.key (/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/private_key_14603726621969185898.key) 04:03:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:03:58 + git tag --points-at HEAD [Pipeline] } 04:03:58 $ docker exec --env ******** --env ******** 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 ssh-agent -k 04:03:58 unset SSH_AUTH_SOCK; 04:03:58 unset SSH_AGENT_PID; 04:03:58 echo Agent pid 38 killed; 04:03:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:03:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:03:58 [ssh-agent] Looking for ssh-agent implementation... 04:03:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:03:58 $ docker exec 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 ssh-agent 04:03:58 SSH_AUTH_SOCK=/tmp/ssh-dFerDOHAITWH/agent.70 04:03:58 SSH_AGENT_PID=76 04:03:58 Running ssh-add (command line suppressed) 04:03:58 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/private_key_8368843161041850990.key (/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/private_key_8368843161041850990.key) 04:03:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:03:59 + git semver init 04:03:59 2023-01-12 04:03:59,205 [run_init] DEBUG init version:0.0.0 force:False 04:03:59 2023-01-12 04:03:59,206 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver 04:03:59 2023-01-12 04:03:59,207 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver 04:03:59 2023-01-12 04:03:59,207 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1278, universal_newlines=False, shell=None, istream=None) 04:04:00 2023-01-12 04:04:00,094 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278/.git/info/exclude 04:04:00 2023-01-12 04:04:00,094 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver/PR-1278 with force:False 04:04:00 2023-01-12 04:04:00,094 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver/PR-1278 04:04:00 2023-01-12 04:04:00,099 [execute] INFO git cat-file --batch-check 04:04:00 2023-01-12 04:04:00,099 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver, universal_newlines=False, shell=None, istream=) 04:04:00 2023-01-12 04:04:00,105 [execute] INFO git cat-file --batch 04:04:00 2023-01-12 04:04:00,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver, universal_newlines=False, shell=None, istream=) 04:04:00 2023-01-12 04:04:00,110 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1278/.semver/PR-1278 04:04:00 0.0.0 [Pipeline] } 04:04:00 $ docker exec --env ******** --env ******** 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 ssh-agent -k 04:04:00 unset SSH_AUTH_SOCK; 04:04:00 unset SSH_AGENT_PID; 04:04:00 echo Agent pid 76 killed; 04:04:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:04:00 + git semver [Pipeline] } 04:04:01 $ docker stop --time=1 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 04:04:02 $ docker rm -f --volumes 945dc5b53782208c15b94fc5b822f53b2abaad82991678c160d61fe3050915d3 [Pipeline] // withDockerContainer [Pipeline] sh 04:04:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:04:03 Stashed 1 file(s) [Pipeline] echo 04:04:03 [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 04:04:04 provisioning config files... 04:04:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/config17727192822115536417tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:04 ---> docker-login.sh 04:04:04 nexus3.edgexfoundry.org:10001 04:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:04 Configure a credential helper to remove this warning. See 04:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:04 04:04:04 Login Succeeded 04:04:04 nexus3.edgexfoundry.org:10002 04:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:04 Configure a credential helper to remove this warning. See 04:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:04 04:04:04 Login Succeeded 04:04:04 nexus3.edgexfoundry.org:10003 04:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:04 Configure a credential helper to remove this warning. See 04:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:04 04:04:04 Login Succeeded 04:04:04 nexus3.edgexfoundry.org:10004 04:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:04 Configure a credential helper to remove this warning. See 04:04:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:04 04:04:04 Login Succeeded 04:04:04 docker.io 04:04:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:05 Configure a credential helper to remove this warning. See 04:04:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:05 04:04:05 Login Succeeded 04:04:05 ---> docker-login.sh ends [Pipeline] } 04:04:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:05 ========================================================= 04:04:05 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:04:05 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:05 + 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 . 04:04:05 Sending build context to Docker daemon 10.44MB 04:04:05 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:04:05 Step 2/10 : FROM ${BASE} AS builder 04:04:05 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:04:05 213ec9aee27d: Pulling fs layer 04:04:05 4583459ba037: Pulling fs layer 04:04:05 93c1e223e6f2: Pulling fs layer 04:04:05 53926ce57604: Pulling fs layer 04:04:05 21b2b0c7a3f4: Pulling fs layer 04:04:05 22ff95d597cd: Pulling fs layer 04:04:05 12d6caf4c0d1: Pulling fs layer 04:04:05 96b7cbca73a9: Pulling fs layer 04:04:05 a7acece74701: Pulling fs layer 04:04:05 53926ce57604: Waiting 04:04:05 21b2b0c7a3f4: Waiting 04:04:05 22ff95d597cd: Waiting 04:04:05 12d6caf4c0d1: Waiting 04:04:05 96b7cbca73a9: Waiting 04:04:05 a7acece74701: Waiting 04:04:05 93c1e223e6f2: Verifying Checksum 04:04:05 93c1e223e6f2: Download complete 04:04:05 4583459ba037: Verifying Checksum 04:04:05 4583459ba037: Download complete 04:04:06 21b2b0c7a3f4: Download complete 04:04:06 22ff95d597cd: Verifying Checksum 04:04:06 22ff95d597cd: Download complete 04:04:06 213ec9aee27d: Verifying Checksum 04:04:06 213ec9aee27d: Download complete 04:04:06 12d6caf4c0d1: Verifying Checksum 04:04:06 12d6caf4c0d1: Download complete 04:04:06 213ec9aee27d: Pull complete 04:04:06 4583459ba037: Pull complete 04:04:06 93c1e223e6f2: Pull complete 04:04:06 a7acece74701: Verifying Checksum 04:04:06 a7acece74701: Download complete 04:04:06 96b7cbca73a9: Verifying Checksum 04:04:06 96b7cbca73a9: Download complete 04:04:07 53926ce57604: Verifying Checksum 04:04:07 53926ce57604: Download complete 04:04:10 53926ce57604: Pull complete 04:04:10 21b2b0c7a3f4: Pull complete 04:04:10 22ff95d597cd: Pull complete 04:04:10 12d6caf4c0d1: Pull complete 04:04:12 96b7cbca73a9: Pull complete 04:04:13 a7acece74701: Pull complete 04:04:13 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:04:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:04:13 ---> db6d94c90886 04:04:13 Step 3/10 : ARG MAKE=make build 04:04:14 ---> Running in 968d06ad5c9a 04:04:14 Removing intermediate container 968d06ad5c9a 04:04:14 ---> 660f408cc1b7 04:04:14 Step 4/10 : WORKDIR /device-sdk-go 04:04:14 ---> Running in 397804c18f7a 04:04:14 Removing intermediate container 397804c18f7a 04:04:14 ---> 404de569a385 04:04:14 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:04:14 ---> Running in 171a35fb7a92 04:04:14 Removing intermediate container 171a35fb7a92 04:04:14 ---> 2b740ed74302 04:04:14 Step 6/10 : RUN apk add --update --no-cache make git 04:04:15 ---> Running in fdf27dea7a6b 04:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:04:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:04:15 OK: 211 MiB in 51 packages 04:04:16 Removing intermediate container fdf27dea7a6b 04:04:16 ---> be34b6f2df98 04:04:16 Step 7/10 : COPY go.mod vendor* ./ 04:04:16 ---> 646dfb15725c 04:04:16 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:04:16 ---> Running in 2b9137278e32 04:04:19 Still waiting to schedule task 04:04:19 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2013’ 04:04:34 Removing intermediate container 2b9137278e32 04:04:34 ---> b48ac3fe7c7c 04:04:34 Step 9/10 : COPY . . 04:04:34 ---> bb10307820ce 04:04:34 Step 10/10 : RUN ${MAKE} 04:04:34 ---> Running in 9c074a977b44 04:04:34 noop 04:04:34 Removing intermediate container 9c074a977b44 04:04:34 ---> fcbb57e9cbe2 04:04:34 Successfully built fcbb57e9cbe2 04:04:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:35 + docker inspect -f . ci-base-image-x86_64 04:04:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:35 prd-ubuntu20.04-docker-8c-8g-2015 does not seem to be running inside a container 04:04:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1278 -v /w/workspace/gexfoundry_device-sdk-go_PR-1278:/w/workspace/gexfoundry_device-sdk-go_PR-1278:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1278@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-x86_64 cat 04:04:35 $ docker top e946fcd62825eddaac0f447b842aea3f8f19b9086b0f7627eddec3f0d558b774 -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:35 + go version 04:04:35 go version go1.18.7 linux/amd64 [Pipeline] } 04:04:35 $ docker stop --time=1 e946fcd62825eddaac0f447b842aea3f8f19b9086b0f7627eddec3f0d558b774 04:04:37 $ docker rm -f --volumes e946fcd62825eddaac0f447b842aea3f8f19b9086b0f7627eddec3f0d558b774 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:37 + docker inspect -f . ci-base-image-x86_64 04:04:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:38 prd-ubuntu20.04-docker-8c-8g-2015 does not seem to be running inside a container 04:04:38 $ 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-1278 -v /w/workspace/gexfoundry_device-sdk-go_PR-1278:/w/workspace/gexfoundry_device-sdk-go_PR-1278:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1278@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-x86_64 cat 04:04:38 $ docker top 4c03cbde243489a11e3ed713b3bd00d869c461dfd8a666a4cf118e43c5f0d70e -eo pid,comm [Pipeline] { [Pipeline] sh 04:04:38 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1278 [Pipeline] fileExists [Pipeline] sh 04:04:39 + make test 04:04:39 go test -race -coverprofile=coverage.out ./... 04:04:44 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:04:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:04:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:04:56 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:04:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:04:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:04:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.052s coverage: 27.6% of statements 04:04:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 78.9% of statements 04:04:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:04:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.092s coverage: 73.6% of statements 04:04:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:04:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:04:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 54.4% of statements 04:04:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:04:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:04:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:04:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 04:04:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.091s coverage: 65.1% of statements 04:04:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:04:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:04:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.741s coverage: 89.2% of statements 04:04:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:04:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.053s coverage: 4.6% of statements 04:04:57 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:05:12 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." 04:05:12 GO111MODULE=on go vet ./... 04:05:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:05:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:05:13 ./bin/test-attribution-txt.sh 04:05:13 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 04:05:13 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 04:05:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:05:13 $ docker stop --time=1 4c03cbde243489a11e3ed713b3bd00d869c461dfd8a666a4cf118e43c5f0d70e 04:05:15 $ docker rm -f --volumes 4c03cbde243489a11e3ed713b3bd00d869c461dfd8a666a4cf118e43c5f0d70e [Pipeline] // withDockerContainer [Pipeline] sh 04:05:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:05:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:05:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:05:17 + ls -al . 04:05:17 total 272 04:05:17 drwxrwxr-x 11 jenkins jenkins 4096 Jan 12 04:04 . 04:05:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 04:03 .. 04:05:17 -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 04:03 .dockerignore 04:05:17 drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 04:04 .git 04:05:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 04:03 .github 04:05:17 -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 04:03 .gitignore 04:05:17 -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 04:03 .golangci.yml 04:05:17 drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 04:04 .semver 04:05:17 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 12 04:03 CHANGELOG.md 04:05:17 -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 04:03 GOVERNANCE.md 04:05:17 -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 04:03 Jenkinsfile 04:05:17 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 04:03 LICENSE 04:05:17 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 12 04:03 Makefile 04:05:17 -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 04:03 OWNERS.md 04:05:17 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 12 04:03 README.md 04:05:17 -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 04:04 VERSION 04:05:17 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 04:03 bin 04:05:17 -rw-r--r-- 1 jenkins jenkins 101913 Jan 12 04:04 coverage.out 04:05:17 drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 04:03 example 04:05:17 -rw-rw-r-- 1 jenkins jenkins 3306 Jan 12 04:03 go.mod 04:05:17 -rw-rw-r-- 1 jenkins jenkins 34394 Jan 12 04:03 go.sum 04:05:17 drwxrwxr-x 14 jenkins jenkins 4096 Jan 12 04:03 internal 04:05:17 drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 04:03 openapi 04:05:17 drwxrwxr-x 6 jenkins jenkins 4096 Jan 12 04:03 pkg 04:05:17 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 04:03 snap 04:05:17 -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 04:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:17 + 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=354cc457f5dd00fbae84271aae46902a9bf4a6e1 --label arch=amd64 --label version=0.0.0 . 04:05:17 Sending build context to Docker daemon 10.54MB 04:05:17 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:05:17 Step 2/23 : FROM ${BASE} AS builder 04:05:17 ---> fcbb57e9cbe2 04:05:17 Step 3/23 : ARG MAKE=make build 04:05:17 ---> Running in b64120eb3273 04:05:17 Removing intermediate container b64120eb3273 04:05:17 ---> 23ad55e4ac15 04:05:17 Step 4/23 : WORKDIR /device-sdk-go 04:05:17 ---> Running in 9c6d4ee483a6 04:05:17 Removing intermediate container 9c6d4ee483a6 04:05:17 ---> 3d0d97ec8010 04:05:17 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:05:17 ---> Running in 7a2db836bf21 04:05:17 Removing intermediate container 7a2db836bf21 04:05:17 ---> c9b74a305832 04:05:17 Step 6/23 : RUN apk add --update --no-cache make git 04:05:17 ---> Running in e380db2be34f 04:05:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:05:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:05:18 OK: 211 MiB in 51 packages 04:05:18 Removing intermediate container e380db2be34f 04:05:18 ---> cfb02acb73fc 04:05:18 Step 7/23 : COPY go.mod vendor* ./ 04:05:18 ---> 4693ad5dada8 04:05:18 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:18 ---> Running in 0c30293068d3 04:05:19 Removing intermediate container 0c30293068d3 04:05:19 ---> 3b99cb43a3a7 04:05:19 Step 9/23 : COPY . . 04:05:19 ---> 237777506bf4 04:05:19 Step 10/23 : RUN ${MAKE} 04:05:19 ---> Running in 13303184f43d 04:05:20 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 04:05:38 Removing intermediate container 13303184f43d 04:05:38 ---> f374700d9675 04:05:38 Step 11/23 : FROM alpine:3.16 04:05:38 3.16: Pulling from library/alpine 04:05:38 ca7dd9ec2225: Pulling fs layer 04:05:38 ca7dd9ec2225: Verifying Checksum 04:05:38 ca7dd9ec2225: Download complete 04:05:38 ca7dd9ec2225: Pull complete 04:05:38 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:05:38 Status: Downloaded newer image for alpine:3.16 04:05:38 ---> bfe296a52501 04:05:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:05:38 ---> Running in ee0364b57d45 04:05:38 Removing intermediate container ee0364b57d45 04:05:38 ---> 88ab219e7aa3 04:05:38 Step 13/23 : RUN apk add --update --no-cache 04:05:38 ---> Running in 0d696c19ab63 04:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:05:38 OK: 6 MiB in 14 packages 04:05:38 Removing intermediate container 0d696c19ab63 04:05:38 ---> da36be656dfc 04:05:38 Step 14/23 : WORKDIR / 04:05:38 ---> Running in 953933b0ecd7 04:05:38 Removing intermediate container 953933b0ecd7 04:05:38 ---> 80ebc3abc92c 04:05:38 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:05:38 ---> 307029149fb4 04:05:38 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:05:38 ---> 56a499e24ceb 04:05:38 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:05:38 ---> 127905ff9789 04:05:38 Step 18/23 : EXPOSE 59999 04:05:38 ---> Running in 3db6ee1b73e7 04:05:38 Removing intermediate container 3db6ee1b73e7 04:05:38 ---> 727b30822ebd 04:05:38 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:05:38 ---> Running in b441449bb840 04:05:38 Removing intermediate container b441449bb840 04:05:38 ---> eb4250cb0152 04:05:38 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:05:38 ---> Running in 3d5f381acac6 04:05:38 Removing intermediate container 3d5f381acac6 04:05:38 ---> 74301089d0dd 04:05:38 Step 21/23 : LABEL arch=amd64 04:05:38 ---> Running in 9fc30cd58653 04:05:38 Removing intermediate container 9fc30cd58653 04:05:38 ---> 137f016fd0e1 04:05:38 Step 22/23 : LABEL git_sha=354cc457f5dd00fbae84271aae46902a9bf4a6e1 04:05:38 ---> Running in f4d53d2bae53 04:05:38 Removing intermediate container f4d53d2bae53 04:05:38 ---> c842acae495b 04:05:38 Step 23/23 : LABEL version=0.0.0 04:05:38 ---> Running in c5ed6d079d03 04:05:38 Removing intermediate container c5ed6d079d03 04:05:38 ---> b508ad640361 04:05:38 [Warning] One or more build-args [ARCH] were not consumed 04:05:38 Successfully built b508ad640361 04:05:38 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 04:05:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:39 04:05:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:40 latest: Pulling from edgex-lftools-log-publisher 04:05:40 5eb5b503b376: Pulling fs layer 04:05:40 5c69ac0246d0: Pulling fs layer 04:05:40 ec43610c2a17: Pulling fs layer 04:05:40 3a2ae6a8a46f: Pulling fs layer 04:05:40 33b1e0a273af: Pulling fs layer 04:05:40 5d3b04190fa2: Pulling fs layer 04:05:40 2f39f015ded8: Pulling fs layer 04:05:40 33b1e0a273af: Waiting 04:05:40 5d3b04190fa2: Waiting 04:05:40 2f39f015ded8: Waiting 04:05:40 3a2ae6a8a46f: Waiting 04:05:40 5c69ac0246d0: Download complete 04:05:40 3a2ae6a8a46f: Verifying Checksum 04:05:40 3a2ae6a8a46f: Download complete 04:05:40 33b1e0a273af: Verifying Checksum 04:05:40 33b1e0a273af: Download complete 04:05:40 5d3b04190fa2: Verifying Checksum 04:05:40 ec43610c2a17: Verifying Checksum 04:05:40 5eb5b503b376: Verifying Checksum 04:05:40 5eb5b503b376: Download complete 04:05:40 2f39f015ded8: Download complete 04:05:41 5eb5b503b376: Pull complete 04:05:41 5c69ac0246d0: Pull complete 04:05:41 ec43610c2a17: Pull complete 04:05:42 3a2ae6a8a46f: Pull complete 04:05:42 33b1e0a273af: Pull complete 04:05:42 5d3b04190fa2: Pull complete 04:05:46 2f39f015ded8: Pull complete 04:05:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:05:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:05:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:46 prd-ubuntu20.04-docker-8c-8g-2015 does not seem to be running inside a container 04:05:46 $ 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-1278 -v /w/workspace/gexfoundry_device-sdk-go_PR-1278:/w/workspace/gexfoundry_device-sdk-go_PR-1278:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1278@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:latest cat 04:05:47 $ docker top c73eb30f048cb8ad357310ee1ff4dbb625721085ff38072b2a67cb836ec2cd65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:47 ---> job-cost.sh 04:05:47 lf-activate-venv: SKIPPING 04:05:47 INFO: No Stack... 04:05:48 INFO: Retrieving Pricing Info for: v3-standard-8 04:05:48 INFO: Archiving Costs [Pipeline] sh 04:05:48 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives/cost.csv 04:05:48 + cut -d, -f6 [Pipeline] lock 04:05:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] 04:05:48 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] did not exist. Created. 04:05:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:05:49 + echo total: 0.2199999988079071 [Pipeline] stash 04:05:49 Stashed 1 file(s) [Pipeline] } 04:05:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:05:49 $ docker stop --time=1 c73eb30f048cb8ad357310ee1ff4dbb625721085ff38072b2a67cb836ec2cd65 04:05:50 $ docker rm -f --volumes c73eb30f048cb8ad357310ee1ff4dbb625721085ff38072b2a67cb836ec2cd65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:07:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2018 in /w/workspace/gexfoundry_device-sdk-go_PR-1278 [Pipeline] { [Pipeline] ws 04:07:58 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:07:58 The recommended git tool is: git 04:08:04 using credential edgex-jenkins-ssh 04:08:04 Cloning the remote Git repository 04:08:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:08:04 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:08:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:04 > git --version # timeout=10 04:08:04 > git --version # 'git version 2.25.1' 04:08:04 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:09 Merging remotes/origin/main commit 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 into PR head commit 354cc457f5dd00fbae84271aae46902a9bf4a6e1 04:08:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:08 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1278/head:refs/remotes/origin/PR-1278 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:08:09 > git config core.sparsecheckout # timeout=10 04:08:09 > git checkout -f 354cc457f5dd00fbae84271aae46902a9bf4a6e1 # timeout=10 04:08:09 Merge succeeded, producing 354cc457f5dd00fbae84271aae46902a9bf4a6e1 04:08:09 Checking out Revision 354cc457f5dd00fbae84271aae46902a9bf4a6e1 (PR-1278) 04:08:09 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 04:08:09 > git --version # timeout=10 04:08:09 > git --version # 'git version 2.25.1' 04:08:09 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:08:09 > git remote # timeout=10 04:08:09 > git config --get remote.origin.url # timeout=10 04:08:09 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:09 > git merge 8541928bcbe4ab5a832b7bbd0d9f746c9e9bff77 # timeout=10 04:08:09 > git rev-parse HEAD^{commit} # timeout=10 04:08:09 > git config core.sparsecheckout # timeout=10 04:08:09 > git checkout -f 354cc457f5dd00fbae84271aae46902a9bf4a6e1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:15:14 % Total % Received % Xferd Average Speed Time Time Time Current 04:15:14 Dload Upload Total Spent Left Speed 04:15:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 98084 [Pipeline] sh 04:15:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:15:14 + sudo tee /etc/docker/daemon.new 04:15:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:15:14 { 04:15:14 "registry-mirrors": [ 04:15:14 "https://nexus3.edgexfoundry.org:10001" 04:15:14 ], 04:15:14 "bip": "10.250.0.254/24", 04:15:14 "hosts": [ 04:15:14 "tcp://0.0.0.0:5555", 04:15:14 "unix:///var/run/docker.sock" 04:15:14 ], 04:15:14 "mtu": 1458, 04:15:14 "selinux-enabled": true, 04:15:14 "seccomp-profile": "/etc/docker/seccomp.json" 04:15:14 } [Pipeline] sh 04:15:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:15:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:15:34 provisioning config files... 04:15:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11403468960848671301tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:15:34 ---> docker-login.sh 04:15:34 nexus3.edgexfoundry.org:10001 04:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:35 Configure a credential helper to remove this warning. See 04:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:35 04:15:35 Login Succeeded 04:15:35 nexus3.edgexfoundry.org:10002 04:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:35 Configure a credential helper to remove this warning. See 04:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:35 04:15:35 Login Succeeded 04:15:35 nexus3.edgexfoundry.org:10003 04:15:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:35 Configure a credential helper to remove this warning. See 04:15:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:35 04:15:35 Login Succeeded 04:15:35 nexus3.edgexfoundry.org:10004 04:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:36 Configure a credential helper to remove this warning. See 04:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:36 04:15:36 Login Succeeded 04:15:36 docker.io 04:15:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:15:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:15:36 Configure a credential helper to remove this warning. See 04:15:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:15:36 04:15:36 Login Succeeded 04:15:36 ---> docker-login.sh ends [Pipeline] } 04:15:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:15:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:15:37 ========================================================= 04:15:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:15:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:37 + 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 . 04:15:38 Sending build context to Docker daemon 5.606MB 04:15:38 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:15:38 Step 2/10 : FROM ${BASE} AS builder 04:15:38 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:15:38 9b18e9b68314: Pulling fs layer 04:15:38 35d82f9e3411: Pulling fs layer 04:15:38 e16973657156: Pulling fs layer 04:15:38 fc693d55d65f: Pulling fs layer 04:15:38 7e9fc2657dce: Pulling fs layer 04:15:38 dda99020689f: Pulling fs layer 04:15:38 db1c61fa0a46: Pulling fs layer 04:15:38 891c053d2c06: Pulling fs layer 04:15:38 fc693d55d65f: Waiting 04:15:38 7e9fc2657dce: Waiting 04:15:38 dda99020689f: Waiting 04:15:38 db1c61fa0a46: Waiting 04:15:38 891c053d2c06: Waiting 04:15:38 e16973657156: Download complete 04:15:38 35d82f9e3411: Verifying Checksum 04:15:38 35d82f9e3411: Download complete 04:15:38 7e9fc2657dce: Download complete 04:15:38 dda99020689f: Verifying Checksum 04:15:38 dda99020689f: Download complete 04:15:38 9b18e9b68314: Verifying Checksum 04:15:38 9b18e9b68314: Download complete 04:15:39 9b18e9b68314: Pull complete 04:15:39 891c053d2c06: Verifying Checksum 04:15:39 891c053d2c06: Download complete 04:15:40 35d82f9e3411: Pull complete 04:15:40 e16973657156: Pull complete 04:15:40 db1c61fa0a46: Verifying Checksum 04:15:40 db1c61fa0a46: Download complete 04:15:41 fc693d55d65f: Verifying Checksum 04:15:41 fc693d55d65f: Download complete 04:15:53 fc693d55d65f: Pull complete 04:15:53 7e9fc2657dce: Pull complete 04:15:53 dda99020689f: Pull complete 04:15:58 db1c61fa0a46: Pull complete 04:16:00 891c053d2c06: Pull complete 04:16:00 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:16:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:16:00 ---> f96f9c87975a 04:16:00 Step 3/10 : ARG MAKE=make build 04:16:02 ---> Running in dba33b9bc496 04:16:02 Removing intermediate container dba33b9bc496 04:16:02 ---> ca0d6c27d8d5 04:16:02 Step 4/10 : WORKDIR /device-sdk-go 04:16:02 ---> Running in 5376757b8620 04:16:02 Removing intermediate container 5376757b8620 04:16:02 ---> 2ebf223d4a17 04:16:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:16:02 ---> Running in fe02c2b34821 04:16:03 Removing intermediate container fe02c2b34821 04:16:03 ---> 3f96def25efb 04:16:03 Step 6/10 : RUN apk add --update --no-cache make git 04:16:03 ---> Running in 1507959bc9ef 04:16:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:16:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:16:05 OK: 221 MiB in 51 packages 04:16:06 Removing intermediate container 1507959bc9ef 04:16:06 ---> aece7a01c4fe 04:16:06 Step 7/10 : COPY go.mod vendor* ./ 04:16:07 ---> 735287de4274 04:16:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:07 ---> Running in d4e7f7f10ff7 04:17:15 Removing intermediate container d4e7f7f10ff7 04:17:15 ---> b7e629e4185e 04:17:15 Step 9/10 : COPY . . 04:17:15 ---> 7d347d3eb686 04:17:15 Step 10/10 : RUN ${MAKE} 04:17:15 ---> Running in c773a1775dff 04:17:15 noop 04:17:15 Removing intermediate container c773a1775dff 04:17:15 ---> 13883c5ec448 04:17:15 Successfully built 13883c5ec448 04:17:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:15 + docker inspect -f . ci-base-image-arm64 04:17:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:16 prd-ubuntu20.04-docker-arm64-4c-16g-2018 does not seem to be running inside a container 04:17:16 $ 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 04:17:18 $ docker top 5465ebfba9803d15c2397a3faac7736241e5d822950a47dfa9c8f0700b182c0f -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:19 + go version 04:17:19 go version go1.18.7 linux/arm64 [Pipeline] } 04:17:19 $ docker stop --time=1 5465ebfba9803d15c2397a3faac7736241e5d822950a47dfa9c8f0700b182c0f 04:17:21 $ docker rm -f --volumes 5465ebfba9803d15c2397a3faac7736241e5d822950a47dfa9c8f0700b182c0f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:21 + docker inspect -f . ci-base-image-arm64 04:17:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:22 prd-ubuntu20.04-docker-arm64-4c-16g-2018 does not seem to be running inside a container 04:17:22 $ 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 04:17:23 $ docker top e95d77a361859f428b01dc57688e52ffc5d0e19b6d66ffc3ad068f893d5e31ea -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:24 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:17:25 + make test 04:17:25 go test -race -coverprofile=coverage.out ./... 04:18:04 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:19:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:19:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:19:55 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:19:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:19:55 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:19:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.328s coverage: 27.6% of statements 04:19:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.340s coverage: 78.9% of statements 04:19:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:20:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.351s coverage: 73.6% of statements 04:20:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:20:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:20:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.557s coverage: 54.4% of statements 04:20:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:20:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:20:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:20:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 04:20:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.457s coverage: 65.1% of statements 04:20:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:20:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:20:07 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.309s coverage: 89.2% of statements 04:20:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:20:07 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.308s coverage: 4.6% of statements 04:20:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:20:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:20:08 GO111MODULE=on go vet ./... 04:21:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:21:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:21:45 ./bin/test-attribution-txt.sh 04:21:45 An attribution for golang.org/x/mod is missing from Attribution.txt, please add 04:21:45 An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo 04:21:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:21:45 $ docker stop --time=1 e95d77a361859f428b01dc57688e52ffc5d0e19b6d66ffc3ad068f893d5e31ea 04:21:47 $ docker rm -f --volumes e95d77a361859f428b01dc57688e52ffc5d0e19b6d66ffc3ad068f893d5e31ea [Pipeline] // withDockerContainer [Pipeline] sh 04:21:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:21:48 Warning: overwriting stash ‘coverage-report’ 04:21:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:21:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:21:50 + ls -al . 04:21:50 total 268 04:21:50 drwxrwxr-x 10 jenkins jenkins 4096 Jan 12 04:17 . 04:21:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 04:08 .. 04:21:50 -rw-rw-r-- 1 jenkins jenkins 140 Jan 12 04:08 .dockerignore 04:21:50 drwxrwxr-x 8 jenkins jenkins 4096 Jan 12 04:08 .git 04:21:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 04:08 .github 04:21:50 -rw-rw-r-- 1 jenkins jenkins 131 Jan 12 04:08 .gitignore 04:21:50 -rw-rw-r-- 1 jenkins jenkins 42 Jan 12 04:08 .golangci.yml 04:21:50 -rw-rw-r-- 1 jenkins jenkins 31677 Jan 12 04:08 CHANGELOG.md 04:21:50 -rw-rw-r-- 1 jenkins jenkins 677 Jan 12 04:08 GOVERNANCE.md 04:21:50 -rw-rw-r-- 1 jenkins jenkins 880 Jan 12 04:08 Jenkinsfile 04:21:50 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 12 04:08 LICENSE 04:21:50 -rw-rw-r-- 1 jenkins jenkins 1679 Jan 12 04:08 Makefile 04:21:50 -rw-rw-r-- 1 jenkins jenkins 619 Jan 12 04:08 OWNERS.md 04:21:50 -rw-rw-r-- 1 jenkins jenkins 4891 Jan 12 04:08 README.md 04:21:50 -rw-rw-r-- 1 jenkins jenkins 5 Jan 12 04:04 VERSION 04:21:50 drwxrwxr-x 2 jenkins jenkins 4096 Jan 12 04:08 bin 04:21:50 -rw-r--r-- 1 jenkins jenkins 101913 Jan 12 04:20 coverage.out 04:21:50 drwxrwxr-x 5 jenkins jenkins 4096 Jan 12 04:08 example 04:21:50 -rw-rw-r-- 1 jenkins jenkins 3306 Jan 12 04:08 go.mod 04:21:50 -rw-rw-r-- 1 jenkins jenkins 34394 Jan 12 04:08 go.sum 04:21:50 drwxrwxr-x 14 jenkins jenkins 4096 Jan 12 04:08 internal 04:21:50 drwxrwxr-x 3 jenkins jenkins 4096 Jan 12 04:08 openapi 04:21:50 drwxrwxr-x 6 jenkins jenkins 4096 Jan 12 04:08 pkg 04:21:50 drwxrwxr-x 4 jenkins jenkins 4096 Jan 12 04:08 snap 04:21:50 -rw-rw-r-- 1 jenkins jenkins 222 Jan 12 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:50 + 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=354cc457f5dd00fbae84271aae46902a9bf4a6e1 --label arch=arm64 --label version=0.0.0 . 04:21:51 Sending build context to Docker daemon 5.709MB 04:21:51 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:21:51 Step 2/23 : FROM ${BASE} AS builder 04:21:51 ---> 13883c5ec448 04:21:51 Step 3/23 : ARG MAKE=make build 04:21:51 ---> Running in 8a30c70a7335 04:21:51 Removing intermediate container 8a30c70a7335 04:21:51 ---> c08d0a412581 04:21:51 Step 4/23 : WORKDIR /device-sdk-go 04:21:52 ---> Running in f076ffc148f2 04:21:52 Removing intermediate container f076ffc148f2 04:21:52 ---> 997d4dd447aa 04:21:52 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:21:52 ---> Running in 5567efb57b20 04:21:52 Removing intermediate container 5567efb57b20 04:21:52 ---> 6eaed41edfb7 04:21:52 Step 6/23 : RUN apk add --update --no-cache make git 04:21:52 ---> Running in 747b233ab1c4 04:21:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:21:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:21:55 OK: 221 MiB in 51 packages 04:21:56 Removing intermediate container 747b233ab1c4 04:21:56 ---> fc52dc04ad4c 04:21:56 Step 7/23 : COPY go.mod vendor* ./ 04:21:56 ---> ef4abb53ae79 04:21:56 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:21:57 ---> Running in 8277dca44021 04:21:59 Removing intermediate container 8277dca44021 04:21:59 ---> 149b72f3ca1c 04:21:59 Step 9/23 : COPY . . 04:22:01 ---> 7f03d73c0dc0 04:22:01 Step 10/23 : RUN ${MAKE} 04:22:01 ---> Running in 09bbb10d3df5 04:22:02 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 04:24:23 Removing intermediate container 09bbb10d3df5 04:24:23 ---> e7e12bd5af43 04:24:23 Step 11/23 : FROM alpine:3.16 04:24:23 3.16: Pulling from library/alpine 04:24:23 6875df1f5354: Pulling fs layer 04:24:23 6875df1f5354: Verifying Checksum 04:24:23 6875df1f5354: Download complete 04:24:23 6875df1f5354: Pull complete 04:24:23 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:24:23 Status: Downloaded newer image for alpine:3.16 04:24:23 ---> 2b4661558fb8 04:24:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:24:23 ---> Running in 54c35d77dbb1 04:24:23 Removing intermediate container 54c35d77dbb1 04:24:23 ---> c5dfb7f099e4 04:24:23 Step 13/23 : RUN apk add --update --no-cache 04:24:23 ---> Running in 4bdf2088feaf 04:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:24:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:24:23 OK: 5 MiB in 14 packages 04:24:23 Removing intermediate container 4bdf2088feaf 04:24:23 ---> e76e4db4df08 04:24:23 Step 14/23 : WORKDIR / 04:24:23 ---> Running in f06b576ed378 04:24:23 Removing intermediate container f06b576ed378 04:24:23 ---> 8d805236a805 04:24:23 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:24:23 ---> 339902011427 04:24:23 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:24:23 ---> 5c7c102599f6 04:24:23 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:24:23 ---> a64ba41bf08f 04:24:23 Step 18/23 : EXPOSE 59999 04:24:23 ---> Running in f1731ad33c81 04:24:23 Removing intermediate container f1731ad33c81 04:24:23 ---> 1f1664e9ecef 04:24:23 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:24:23 ---> Running in e2dcaea9ccd8 04:24:23 Removing intermediate container e2dcaea9ccd8 04:24:23 ---> 09bcdb64c113 04:24:23 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:24:23 ---> Running in 0c10888e310c 04:24:23 Removing intermediate container 0c10888e310c 04:24:23 ---> 64703a70fa36 04:24:23 Step 21/23 : LABEL arch=arm64 04:24:23 ---> Running in 49795093f953 04:24:23 Removing intermediate container 49795093f953 04:24:23 ---> 48e545d56eb5 04:24:23 Step 22/23 : LABEL git_sha=354cc457f5dd00fbae84271aae46902a9bf4a6e1 04:24:23 ---> Running in e77e62f0c383 04:24:23 Removing intermediate container e77e62f0c383 04:24:23 ---> 3e29a79440be 04:24:23 Step 23/23 : LABEL version=0.0.0 04:24:23 ---> Running in 7b8c16160419 04:24:23 Removing intermediate container 7b8c16160419 04:24:23 ---> 57c1d00ae240 04:24:23 [Warning] One or more build-args [ARCH] were not consumed 04:24:23 Successfully built 57c1d00ae240 04:24:23 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 04:24:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:24:24 04:24:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:24:27 arm64: Pulling from edgex-lftools-log-publisher 04:24:27 8998bd30e6a1: Pulling fs layer 04:24:27 04944245beec: Pulling fs layer 04:24:27 699f458cf7ca: Pulling fs layer 04:24:27 765212b225bb: Pulling fs layer 04:24:27 f23df028b6ca: Pulling fs layer 04:24:27 d65c8cfc05b1: Pulling fs layer 04:24:27 2437ff75d9bd: Pulling fs layer 04:24:27 765212b225bb: Waiting 04:24:27 f23df028b6ca: Waiting 04:24:27 d65c8cfc05b1: Waiting 04:24:27 2437ff75d9bd: Waiting 04:24:27 04944245beec: Verifying Checksum 04:24:27 04944245beec: Download complete 04:24:27 765212b225bb: Verifying Checksum 04:24:27 765212b225bb: Download complete 04:24:27 f23df028b6ca: Verifying Checksum 04:24:27 f23df028b6ca: Download complete 04:24:27 d65c8cfc05b1: Verifying Checksum 04:24:27 d65c8cfc05b1: Download complete 04:24:27 699f458cf7ca: Download complete 04:24:28 8998bd30e6a1: Download complete 04:24:31 2437ff75d9bd: Download complete 04:24:32 8998bd30e6a1: Pull complete 04:24:33 04944245beec: Pull complete 04:24:34 699f458cf7ca: Pull complete 04:24:34 765212b225bb: Pull complete 04:24:35 f23df028b6ca: Pull complete 04:24:35 d65c8cfc05b1: Pull complete 04:24:50 2437ff75d9bd: Pull complete 04:24:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:24:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:24:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:24:51 prd-ubuntu20.04-docker-arm64-4c-16g-2018 does not seem to be running inside a container 04:24:51 $ 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 04:24:53 $ docker top 1f0646cc957f467d0cc68b5d877a3eaf52c6b4a700bbb3f4ef566a2508e666b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:54 ---> job-cost.sh 04:24:54 lf-activate-venv: SKIPPING 04:24:54 INFO: No Stack... 04:24:55 INFO: Retrieving Pricing Info for: v3-standard-4 04:24:56 INFO: Archiving Costs [Pipeline] sh 04:24:56 + cut -d, -f6 04:24:56 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 04:24:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] 04:24:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] did not exist. Created. 04:24:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:24:57 /w/workspace/device-sdk-go/1@tmp/durable-324d7ce4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:24:57 + echo total: 0.10999999940395355 [Pipeline] stash 04:24:57 Warning: overwriting stash ‘stack-cost’ 04:24:57 Stashed 1 file(s) [Pipeline] } 04:24:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1278-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:24:58 $ docker stop --time=1 1f0646cc957f467d0cc68b5d877a3eaf52c6b4a700bbb3f4ef566a2508e666b7 04:24:59 $ docker rm -f --volumes 1f0646cc957f467d0cc68b5d877a3eaf52c6b4a700bbb3f4ef566a2508e666b7 [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 04:25:00 provisioning config files... 04:25:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/config15189781510291073986tmp [Pipeline] { [Pipeline] sh 04:25:00 + set +x 04:25:00 + curl -s https://codecov.io/bash 04:25:00 + bash -s -- 04:25:00 04:25:00 _____ _ 04:25:00 / ____| | | 04:25:00 | | ___ __| | ___ ___ _____ __ 04:25:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:25:00 | |___| (_) | (_| | __/ (_| (_) \ V / 04:25:00 \_____\___/ \__,_|\___|\___\___/ \_/ 04:25:00 Bash-1.0.6 04:25:00 04:25:00 04:25:00 ==> git version 2.25.1 found 04:25:00 ==> 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 04:25:00 Release-Date: 2020-01-08 04:25:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:25:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:25:00 ==> Jenkins CI detected. 04:25:00 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1278 04:25:00 project root: . 04:25:00 --> token set from env 04:25:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:25:00 ==> Running gcov in . (disable via -X gcov) 04:25:00 ==> Python coveragepy not found 04:25:00 ==> Searching for coverage reports in: 04:25:00 + . 04:25:00 -> Found 1 reports 04:25:00 ==> Detecting git/mercurial file structure 04:25:00 ==> Reading reports 04:25:00 + ./coverage.out bytes=101913 04:25:00 ==> Appending adjustments 04:25:00 https://docs.codecov.io/docs/fixing-reports 04:25:01 + Found adjustments 04:25:01 ==> Gzipping contents 04:25:01 16K /tmp/codecov.ArJ0jK.gz 04:25:01 ==> Uploading reports 04:25:01 url: https://codecov.io 04:25:01 query: branch=PR-1278&commit=354cc457f5dd00fbae84271aae46902a9bf4a6e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1278%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1278&job=&cmd_args= 04:25:01 -> Pinging Codecov 04:25:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1278&commit=354cc457f5dd00fbae84271aae46902a9bf4a6e1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1278%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1278&job=&cmd_args= 04:25:01 -> Uploading to 04:25:01 https://storage.googleapis.com/codecov/v4/raw/2023-01-12/7E55EF52A471D76F132DFD9A03CDDE97/354cc457f5dd00fbae84271aae46902a9bf4a6e1/ba514393-4760-476e-aba0-b9fefbb6c013.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230112T042501Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f8360fa0d06b295a1fa6946b9a59eea5f36b27a47294575319f83cfd8c834446 04:25:01 % Total % Received % Xferd Average Speed Time Time Time Current 04:25:01 Dload Upload Total Spent Left Speed 04:25:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14809 0 0 100 14809 0 65817 --:--:-- --:--:-- --:--:-- 65817 04:25:02 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/354cc457f5dd00fbae84271aae46902a9bf4a6e1 [Pipeline] } 04:25:02 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 04:25:03 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives ] 04:25:03 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives 04:25:03 total 16 04:25:03 drwxr-xr-x 3 root root 4096 Jan 12 04:05 . 04:25:03 drwxrwxr-x 12 jenkins jenkins 4096 Jan 12 04:05 .. 04:25:03 drwxr-xr-x 2 root root 4096 Jan 12 04:05 cost 04:25:03 -rw-r--r-- 1 root root 86 Jan 12 04:05 cost.csv 04:25:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives 04:25:03 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives 04:25:03 total 16 04:25:03 drwxr-xr-x 3 jenkins jenkins 4096 Jan 12 04:05 . 04:25:03 drwxrwxr-x 12 jenkins jenkins 4096 Jan 12 04:05 .. 04:25:03 drwxr-xr-x 2 jenkins jenkins 4096 Jan 12 04:05 cost 04:25:03 -rw-r--r-- 1 jenkins jenkins 86 Jan 12 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:25:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:25:05 ---> package-listing.sh 04:25:05 ++ facter osfamily 04:25:05 ++ tr '[:upper:]' '[:lower:]' 04:25:05 + OS_FAMILY=debian 04:25:05 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1278 04:25:05 + START_PACKAGES=/tmp/packages_start.txt 04:25:05 + END_PACKAGES=/tmp/packages_end.txt 04:25:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:25:05 + PACKAGES=/tmp/packages_start.txt 04:25:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1278 ']' 04:25:05 + PACKAGES=/tmp/packages_end.txt 04:25:05 + case "${OS_FAMILY}" in 04:25:05 + dpkg -l 04:25:05 + grep '^ii' 04:25:05 + '[' -f /tmp/packages_start.txt ']' 04:25:05 + '[' -f /tmp/packages_end.txt ']' 04:25:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:25:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1278 ']' 04:25:05 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives/ 04:25:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1278/archives/ [Pipeline] echo 04:25:05 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-1278/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:25:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:25:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:25:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:25:06 prd-ubuntu20.04-docker-8c-8g-2015 does not seem to be running inside a container 04:25:06 $ 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-1278/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-1278 -v /w/workspace/gexfoundry_device-sdk-go_PR-1278:/w/workspace/gexfoundry_device-sdk-go_PR-1278:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1278@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 04:25:06 $ docker top 7ca9e8b90b40db7413fb2783e5ada83a3ae7563216dfb55805c68c0894c3e557 -eo pid,comm [Pipeline] { [Pipeline] sh 04:25:07 + touch /tmp/pre-build-complete [Pipeline] sh 04:25:07 + mkdir -p /var/log/sysstat [Pipeline] sh 04:25:07 + ls /var/log/sa-host 04:25:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:25:07 provisioning config files... 04:25:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1278@tmp/config3724920606873498147tmp [Pipeline] { [Pipeline] echo 04:25:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:25:08 ---> create-netrc.sh [Pipeline] } 04:25:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:25:08 ---> python-tools-install.sh [Pipeline] echo 04:25:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:25:09 ---> sudo-logs.sh 04:25:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:25:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:25:09 ---> job-cost.sh 04:25:09 lf-activate-venv: SKIPPING 04:25:09 DEBUG: total: 0.2199999988079071 04:25:09 INFO: Retrieving Stack Cost... 04:25:10 INFO: Retrieving Pricing Info for: v3-standard-8 04:25:10 INFO: Archiving Costs [Pipeline] echo 04:25:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:25:10 ---> logs-deploy.sh 04:25:10 lf-activate-venv: SKIPPING 04:25:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1278/1 04:25:10 INFO: archiving workspace using pattern(s): 04:25:11 Archives upload complete. 04:25:11 INFO: archiving logs to Nexus