Pull request #1144 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 394fc05ea4364c0913f6dcfc9df39709a995a7f5+99a726dbba9fddcd6b6c26c7337937a12db69607 (1897de5def2bd1b0f85296166183d5ad0d096f89) 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-ssh13698199144550863426.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh13229957613456434367.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh9699985021557803197.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared 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-ssh16052854770994644730.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1144/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh764164580939067950.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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.17 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-33430 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [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-1144 # 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 99a726dbba9fddcd6b6c26c7337937a12db69607 into PR head commit 394fc05ea4364c0913f6dcfc9df39709a995a7f5 Merge succeeded, producing b949c5b5d18b47b2532be4ec7d7551934fd4f10c Checking out Revision b949c5b5d18b47b2532be4ec7d7551934fd4f10c (PR-1144) > 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/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # 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 99a726dbba9fddcd6b6c26c7337937a12db69607 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b949c5b5d18b47b2532be4ec7d7551934fd4f10c # timeout=10 Commit message: "Merge commit '99a726dbba9fddcd6b6c26c7337937a12db69607' into HEAD" > git rev-list --no-walk 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:26:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:26:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:26:31 ========================================================= 04:26:31 EdgeX Global Pipelines Version Info 04:26:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:26:31 ------------------- 04:26:31 stable info: 04:26:31 ------------------- 04:26:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:26:31 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:26:31 Message: update stable to v1.0.221 04:26:32 ------------------- 04:26:32 experimental info: 04:26:32 ------------------- 04:26:32 Commited By: **** collab-it+edgex@linuxfoundation.org 04:26:32 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 04:26:32 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:26:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:26:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:26:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:26:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo 04:26:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo 04:26:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo 04:26:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b949c5b5d18b47b2532be4ec7d7551934fd4f10c [Pipeline] echo 04:26:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b949c5b [Pipeline] echo 04:26:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:33 provisioning config files... 04:26:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config5556283393808804007tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:33 ---> docker-login.sh 04:26:33 nexus3.edgexfoundry.org:10001 04:26:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:33 Configure a credential helper to remove this warning. See 04:26:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:33 04:26:33 Login Succeeded 04:26:33 nexus3.edgexfoundry.org:10002 04:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:34 Configure a credential helper to remove this warning. See 04:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:34 04:26:34 Login Succeeded 04:26:34 nexus3.edgexfoundry.org:10003 04:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:34 Configure a credential helper to remove this warning. See 04:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:34 04:26:34 Login Succeeded 04:26:34 nexus3.edgexfoundry.org:10004 04:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:34 Configure a credential helper to remove this warning. See 04:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:34 04:26:34 Login Succeeded 04:26:34 docker.io 04:26:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:34 Configure a credential helper to remove this warning. See 04:26:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:34 04:26:34 Login Succeeded 04:26:34 ---> docker-login.sh ends [Pipeline] } 04:26:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:26:35 + git rev-list -1 --merges b949c5b5d18b47b2532be4ec7d7551934fd4f10c~1..b949c5b5d18b47b2532be4ec7d7551934fd4f10c [Pipeline] echo 04:26:35 -----------> git rev-list -1 --merges b949c5b5d18b47b2532be4ec7d7551934fd4f10c~1..b949c5b5d18b47b2532be4ec7d7551934fd4f10c b949c5b5d18b47b2532be4ec7d7551934fd4f10c 04:26:35 b949c5b5d18b47b2532be4ec7d7551934fd4f10c [false] [Pipeline] sh 04:26:35 + git log --format=format:%s -1 b949c5b5d18b47b2532be4ec7d7551934fd4f10c [Pipeline] echo 04:26:35 ========================================================= 04:26:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:26:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:35 + git log --format=format:%s -1 b949c5b5d18b47b2532be4ec7d7551934fd4f10c [Pipeline] echo 04:26:35 [semverPrep] GIT_COMMIT: b949c5b5d18b47b2532be4ec7d7551934fd4f10c, Commit Message: Merge commit '99a726dbba9fddcd6b6c26c7337937a12db69607' into HEAD [Pipeline] echo 04:26:35 [semverPrep] This is not a build commit. [Pipeline] sh 04:26:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:26:36 + grep -v github /etc/ssh/ssh_known_hosts 04:26:36 + [ -e /tmp/ssh_known_hosts ] 04:26:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:26:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:26:36 + sudo tee -a /etc/ssh/ssh_known_hosts 04:26:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:26:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:26:36 04:26:36 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:26:37 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:26:37 latest: Pulling from edgex-devops/git-semver 04:26:37 a0d0a0d46f8b: Pulling fs layer 04:26:37 3e5f54012d9b: Pulling fs layer 04:26:37 4c7163046ea9: Pulling fs layer 04:26:37 0c2d73faf560: Pulling fs layer 04:26:37 0c2d73faf560: Waiting 04:26:37 3e5f54012d9b: Verifying Checksum 04:26:37 3e5f54012d9b: Download complete 04:26:37 a0d0a0d46f8b: Verifying Checksum 04:26:37 a0d0a0d46f8b: Download complete 04:26:37 0c2d73faf560: Verifying Checksum 04:26:37 0c2d73faf560: Download complete 04:26:37 4c7163046ea9: Verifying Checksum 04:26:37 4c7163046ea9: Download complete 04:26:37 a0d0a0d46f8b: Pull complete 04:26:37 3e5f54012d9b: Pull complete 04:26:37 4c7163046ea9: Pull complete 04:26:37 0c2d73faf560: Pull complete 04:26:37 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:26:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:26:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:26:37 prd-ubuntu20.04-docker-8c-8g-33430 does not seem to be running inside a container 04:26:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:26:38 $ docker top 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:26:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:26:38 [ssh-agent] Looking for ssh-agent implementation... 04:26:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:26:39 $ docker exec 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 ssh-agent 04:26:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGbnMGb/agent.13 04:26:39 SSH_AGENT_PID=19 04:26:39 Running ssh-add (command line suppressed) 04:26:39 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5892943269306602939.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5892943269306602939.key) 04:26:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:26:39 + git tag --points-at HEAD [Pipeline] } 04:26:39 $ docker exec --env ******** --env ******** 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 ssh-agent -k 04:26:39 unset SSH_AUTH_SOCK; 04:26:39 unset SSH_AGENT_PID; 04:26:39 echo Agent pid 19 killed; 04:26:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:26:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:26:39 [ssh-agent] Looking for ssh-agent implementation... 04:26:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:26:39 $ docker exec 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 ssh-agent 04:26:40 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMACgao/agent.53 04:26:40 SSH_AGENT_PID=59 04:26:40 Running ssh-add (command line suppressed) 04:26:40 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1505617775089229653.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1505617775089229653.key) 04:26:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:26:40 + git semver init 04:26:40 # -> Open(): unable to determine branch for HEAD 04:26:40 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.git 04:26:40 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1144 04:26:40 # $SEMVER_REMOTE_NAME = origin 04:26:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:26:40 # $SEMVER_USER_NAME = edgex-jenkins 04:26:40 # $SEMVER_BRANCH = PR-1144 04:26:40 # $SEMVER_TEMP = /tmp/semver-202834716 04:26:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:26:41 # '/tmp/semver-202834716' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver' 04:26:41 # -> Force: false 04:26:41 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [Pipeline] } 04:26:41 $ docker exec --env ******** --env ******** 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 ssh-agent -k 04:26:41 unset SSH_AUTH_SOCK; 04:26:41 unset SSH_AGENT_PID; 04:26:41 echo Agent pid 59 killed; 04:26:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:26:41 + git semver [Pipeline] } 04:26:41 $ docker stop --time=1 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 04:26:43 $ docker rm -f 0c18c9d90379cde7b28e1ad924da987a92615e3061a9b3138c4883cfdc235fe5 [Pipeline] // withDockerContainer [Pipeline] sh 04:26:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:26:43 Stashed 1 file(s) [Pipeline] echo 04:26:43 [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:26:44 provisioning config files... 04:26:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config3403331228482233441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:44 ---> docker-login.sh 04:26:44 nexus3.edgexfoundry.org:10001 04:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:44 Configure a credential helper to remove this warning. See 04:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:44 04:26:44 Login Succeeded 04:26:44 nexus3.edgexfoundry.org:10002 04:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:44 Configure a credential helper to remove this warning. See 04:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:44 04:26:44 Login Succeeded 04:26:44 nexus3.edgexfoundry.org:10003 04:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:44 Configure a credential helper to remove this warning. See 04:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:44 04:26:44 Login Succeeded 04:26:44 nexus3.edgexfoundry.org:10004 04:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:44 Configure a credential helper to remove this warning. See 04:26:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:44 04:26:44 Login Succeeded 04:26:44 docker.io 04:26:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:45 Configure a credential helper to remove this warning. See 04:26:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:45 04:26:45 Login Succeeded 04:26:45 ---> docker-login.sh ends [Pipeline] } 04:26:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:26:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:26:45 ========================================================= 04:26:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:26:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:26:45 + 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.17-alpine --build-arg MAKE=echo noop --target=builder . 04:26:45 Sending build context to Docker daemon 9.662MB 04:26:45 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:26:45 Step 2/11 : FROM ${BASE} AS builder 04:26:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:26:45 59bf1c3509f3: Pulling fs layer 04:26:45 666ba61612fd: Pulling fs layer 04:26:45 8ed8ca486205: Pulling fs layer 04:26:45 4fe6c5a15a65: Pulling fs layer 04:26:45 22a0e8bec74d: Pulling fs layer 04:26:45 ca2b28591e48: Pulling fs layer 04:26:45 a51346096db8: Pulling fs layer 04:26:45 daebc70d1ce1: Pulling fs layer 04:26:45 0e18a0eac166: Pulling fs layer 04:26:45 4fe6c5a15a65: Waiting 04:26:45 22a0e8bec74d: Waiting 04:26:45 ca2b28591e48: Waiting 04:26:45 daebc70d1ce1: Waiting 04:26:45 0e18a0eac166: Waiting 04:26:46 8ed8ca486205: Verifying Checksum 04:26:46 8ed8ca486205: Download complete 04:26:46 666ba61612fd: Verifying Checksum 04:26:46 666ba61612fd: Download complete 04:26:46 22a0e8bec74d: Download complete 04:26:46 ca2b28591e48: Verifying Checksum 04:26:46 ca2b28591e48: Download complete 04:26:46 59bf1c3509f3: Verifying Checksum 04:26:46 59bf1c3509f3: Download complete 04:26:46 a51346096db8: Verifying Checksum 04:26:46 a51346096db8: Download complete 04:26:46 daebc70d1ce1: Verifying Checksum 04:26:46 daebc70d1ce1: Download complete 04:26:46 59bf1c3509f3: Pull complete 04:26:46 666ba61612fd: Pull complete 04:26:46 8ed8ca486205: Pull complete 04:26:46 0e18a0eac166: Verifying Checksum 04:26:46 0e18a0eac166: Download complete 04:26:46 4fe6c5a15a65: Verifying Checksum 04:26:46 4fe6c5a15a65: Download complete 04:26:51 4fe6c5a15a65: Pull complete 04:26:51 22a0e8bec74d: Pull complete 04:26:51 ca2b28591e48: Pull complete 04:26:51 a51346096db8: Pull complete 04:26:51 daebc70d1ce1: Pull complete 04:26:53 0e18a0eac166: Pull complete 04:26:53 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 04:26:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:26:53 ---> f018257e8ee9 04:26:53 Step 3/11 : ARG MAKE=make build 04:26:55 ---> Running in 6f1fa5cd5762 04:26:55 Removing intermediate container 6f1fa5cd5762 04:26:55 ---> 912fe252188b 04:26:55 Step 4/11 : WORKDIR /device-sdk-go 04:26:55 ---> Running in a9f1a94b2a33 04:26:55 Removing intermediate container a9f1a94b2a33 04:26:55 ---> 6f42a0ef7973 04:26:55 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:26:55 ---> Running in 62ea987d8e5c 04:26:55 Removing intermediate container 62ea987d8e5c 04:26:55 ---> d0d9b911b30c 04:26:55 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:26:55 ---> Running in aef1a528f05c 04:26:56 Removing intermediate container aef1a528f05c 04:26:56 ---> 2f5f8b6eed50 04:26:56 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:26:56 ---> Running in 51b55e285529 04:26:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:26:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:26:58 OK: 221 MiB in 52 packages 04:26:58 Removing intermediate container 51b55e285529 04:26:58 ---> 2d618c7acd55 04:26:58 Step 8/11 : COPY go.mod vendor* ./ 04:26:58 ---> 2ba869b5d71b 04:26:58 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:26:58 ---> Running in a2a4f6c27174 04:26:58 Still waiting to schedule task 04:26:58 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:27:13 Removing intermediate container a2a4f6c27174 04:27:13 ---> 7de933f510fd 04:27:13 Step 10/11 : COPY . . 04:27:13 ---> 6940a3164dbb 04:27:13 Step 11/11 : RUN ${MAKE} 04:27:13 ---> Running in 3f9d11d886a1 04:27:13 noop 04:27:13 Removing intermediate container 3f9d11d886a1 04:27:13 ---> ec615416320f 04:27:13 Successfully built ec615416320f 04:27:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:27:13 + docker inspect -f . ci-base-image-x86_64 04:27:13 . [Pipeline] withDockerContainer 04:27:13 prd-ubuntu20.04-docker-8c-8g-33430 does not seem to be running inside a container 04:27:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:27:14 $ docker top f9522348d29b39f998355c2a8c5e69790bb35907a37db767ec5e7a319b7d78ae -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:14 + go version 04:27:14 go version go1.17.6 linux/amd64 [Pipeline] } 04:27:14 $ docker stop --time=1 f9522348d29b39f998355c2a8c5e69790bb35907a37db767ec5e7a319b7d78ae 04:27:16 $ docker rm -f f9522348d29b39f998355c2a8c5e69790bb35907a37db767ec5e7a319b7d78ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:27:16 + docker inspect -f . ci-base-image-x86_64 04:27:16 . [Pipeline] withDockerContainer 04:27:16 prd-ubuntu20.04-docker-8c-8g-33430 does not seem to be running inside a container 04:27:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:27:16 $ docker top 04fdb943084199a961282be2c97b033c14115cec7c0104fdda23c0a32fb49891 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:27:17 + make test 04:27:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:27:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:27:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.085s coverage: 23.3% of statements 04:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:27:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.078s coverage: 27.6% of statements 04:27:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.062s coverage: 78.9% of statements 04:27:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.081s coverage: 10.8% of statements 04:27:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.073s coverage: 60.0% of statements 04:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:27:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.081s coverage: 34.8% of statements 04:27:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:27:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.078s coverage: 86.1% of statements 04:27:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:27:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:27:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.113s coverage: 65.1% of statements 04:27:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.785s coverage: 89.2% of statements 04:27:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:27:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 04:27:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:27:57 GO111MODULE=on go vet ./... 04:27:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:27:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:27:58 ./bin/test-attribution-txt.sh [Pipeline] echo 04:27:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:27:59 $ docker stop --time=1 04fdb943084199a961282be2c97b033c14115cec7c0104fdda23c0a32fb49891 04:28:01 $ docker rm -f 04fdb943084199a961282be2c97b033c14115cec7c0104fdda23c0a32fb49891 [Pipeline] // withDockerContainer [Pipeline] sh 04:28:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:28:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:28:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:28:03 + ls -al . 04:28:03 total 316 04:28:03 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 04:27 . 04:28:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:26 .. 04:28:03 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:26 .dockerignore 04:28:03 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:26 .git 04:28:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:26 .github 04:28:03 -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 04:26 .gitignore 04:28:03 -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:26 .golangci.yml 04:28:03 drwx------ 3 jenkins jenkins 4096 Apr 27 04:26 .semver 04:28:03 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 27 04:26 CHANGELOG.md 04:28:03 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:26 GOVERNANCE.md 04:28:03 -rw-rw-r-- 1 jenkins jenkins 880 Apr 27 04:26 Jenkinsfile 04:28:03 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:26 LICENSE 04:28:03 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 27 04:26 Makefile 04:28:03 -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 04:26 OWNERS.md 04:28:03 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 27 04:26 README.md 04:28:03 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 04:26 VERSION 04:28:03 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:26 bin 04:28:03 -rw-r--r-- 1 jenkins jenkins 130819 Apr 27 04:27 coverage.out 04:28:03 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:26 example 04:28:03 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 27 04:26 go.mod 04:28:03 -rw-rw-r-- 1 jenkins jenkins 53849 Apr 27 04:26 go.sum 04:28:03 drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 04:26 internal 04:28:03 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:26 openapi 04:28:03 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:26 pkg 04:28:03 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:26 snap 04:28:03 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:26 version.go [Pipeline] isUnix [Pipeline] sh 04:28:03 + 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=b949c5b5d18b47b2532be4ec7d7551934fd4f10c --label arch=amd64 --label version=0.0.0 . 04:28:03 Sending build context to Docker daemon 9.794MB 04:28:03 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:28:03 Step 2/25 : FROM ${BASE} AS builder 04:28:03 ---> ec615416320f 04:28:03 Step 3/25 : ARG MAKE=make build 04:28:03 ---> Running in 1fde7fa5da64 04:28:03 Removing intermediate container 1fde7fa5da64 04:28:03 ---> c9fd5d85d1b2 04:28:03 Step 4/25 : WORKDIR /device-sdk-go 04:28:03 ---> Running in 48e39b56f3a7 04:28:03 Removing intermediate container 48e39b56f3a7 04:28:03 ---> 176c364893e2 04:28:03 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:28:03 ---> Running in 12d6af53b974 04:28:04 Removing intermediate container 12d6af53b974 04:28:04 ---> 3149f4a813a8 04:28:04 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:28:04 ---> Running in 0ab64aba3018 04:28:04 Removing intermediate container 0ab64aba3018 04:28:04 ---> 22deec00bc0f 04:28:04 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:28:05 ---> Running in 2429adbdbea9 04:28:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:28:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:28:06 OK: 221 MiB in 52 packages 04:28:06 Removing intermediate container 2429adbdbea9 04:28:06 ---> 600cb0219ef8 04:28:06 Step 8/25 : COPY go.mod vendor* ./ 04:28:07 ---> 59db2463baf5 04:28:07 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:28:07 ---> Running in 150927060fcf 04:28:07 Removing intermediate container 150927060fcf 04:28:07 ---> 215266c9a659 04:28:07 Step 10/25 : COPY . . 04:28:08 ---> 4a769bf9979e 04:28:08 Step 11/25 : RUN ${MAKE} 04:28:08 ---> Running in 45074d253962 04:28:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:28:26 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:28:29 Removing intermediate container 45074d253962 04:28:29 ---> f643ed62d6b3 04:28:29 Step 12/25 : FROM alpine:3.14 04:28:29 3.14: Pulling from library/alpine 04:28:30 8663204ce13b: Pulling fs layer 04:28:30 8663204ce13b: Verifying Checksum 04:28:30 8663204ce13b: Download complete 04:28:30 8663204ce13b: Pull complete 04:28:30 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:28:30 Status: Downloaded newer image for alpine:3.14 04:28:30 ---> e04c818066af 04:28:30 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:28:30 ---> Running in c06b8e10b42e 04:28:30 Removing intermediate container c06b8e10b42e 04:28:30 ---> 4a74be2c9b03 04:28:30 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:28:30 ---> Running in eea20d315238 04:28:31 Removing intermediate container eea20d315238 04:28:31 ---> 973ced9e5bd9 04:28:31 Step 15/25 : RUN apk add --update --no-cache zeromq 04:28:31 ---> Running in 599a22b36786 04:28:31 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:28:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:28:32 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:28:32 (2/5) Installing libsodium (1.0.18-r0) 04:28:32 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:28:32 (4/5) Installing libzmq (4.3.4-r0) 04:28:32 (5/5) Installing zeromq (4.3.4-r0) 04:28:33 Executing busybox-1.33.1-r7.trigger 04:28:33 OK: 8 MiB in 19 packages 04:28:33 Removing intermediate container 599a22b36786 04:28:33 ---> 19b6f272dd2d 04:28:33 Step 16/25 : WORKDIR / 04:28:33 ---> Running in bcdd1d838e3a 04:28:33 Removing intermediate container bcdd1d838e3a 04:28:33 ---> e6d3e6d6a3ca 04:28:33 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:28:33 ---> 41db8ea02a83 04:28:33 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:28:34 ---> 4aadf834fa64 04:28:34 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:28:34 ---> f2ebf67a1f10 04:28:34 Step 20/25 : EXPOSE 59999 04:28:34 ---> Running in 965b586605b7 04:28:34 Removing intermediate container 965b586605b7 04:28:34 ---> d55762b82d5f 04:28:34 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:28:34 ---> Running in 29de7659dbaf 04:28:34 Removing intermediate container 29de7659dbaf 04:28:34 ---> fe7c1aae5d2f 04:28:34 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:28:34 ---> Running in f24a941d3cbc 04:28:34 Removing intermediate container f24a941d3cbc 04:28:34 ---> 565abb29bb48 04:28:34 Step 23/25 : LABEL arch=amd64 04:28:35 ---> Running in 80f20b245f17 04:28:35 Removing intermediate container 80f20b245f17 04:28:35 ---> 1163a24ce01b 04:28:35 Step 24/25 : LABEL git_sha=b949c5b5d18b47b2532be4ec7d7551934fd4f10c 04:28:35 ---> Running in 2f43ae9d030d 04:28:35 Removing intermediate container 2f43ae9d030d 04:28:35 ---> 9bb061a0ecb9 04:28:35 Step 25/25 : LABEL version=0.0.0 04:28:35 ---> Running in b93c95d2820f 04:28:35 Removing intermediate container b93c95d2820f 04:28:35 ---> 0f5d18d27c12 04:28:35 [Warning] One or more build-args [ARCH] were not consumed 04:28:35 Successfully built 0f5d18d27c12 04:28:35 Successfully tagged device-sdk-simple:latest [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] sh 04:28:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:35 04:28:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:28:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:36 latest: Pulling from edgex-lftools-log-publisher 04:28:36 5eb5b503b376: Pulling fs layer 04:28:36 5c69ac0246d0: Pulling fs layer 04:28:36 ec43610c2a17: Pulling fs layer 04:28:36 3a2ae6a8a46f: Pulling fs layer 04:28:36 33b1e0a273af: Pulling fs layer 04:28:36 5d3b04190fa2: Pulling fs layer 04:28:36 2f39f015ded8: Pulling fs layer 04:28:36 33b1e0a273af: Waiting 04:28:36 2f39f015ded8: Waiting 04:28:36 3a2ae6a8a46f: Waiting 04:28:36 5d3b04190fa2: Waiting 04:28:36 5c69ac0246d0: Verifying Checksum 04:28:36 3a2ae6a8a46f: Download complete 04:28:36 33b1e0a273af: Verifying Checksum 04:28:36 33b1e0a273af: Download complete 04:28:36 5d3b04190fa2: Download complete 04:28:36 ec43610c2a17: Verifying Checksum 04:28:36 ec43610c2a17: Download complete 04:28:36 5eb5b503b376: Verifying Checksum 04:28:36 5eb5b503b376: Download complete 04:28:36 2f39f015ded8: Verifying Checksum 04:28:36 2f39f015ded8: Download complete 04:28:37 5eb5b503b376: Pull complete 04:28:37 5c69ac0246d0: Pull complete 04:28:38 ec43610c2a17: Pull complete 04:28:38 3a2ae6a8a46f: Pull complete 04:28:38 33b1e0a273af: Pull complete 04:28:38 5d3b04190fa2: Pull complete 04:28:44 2f39f015ded8: Pull complete 04:28:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:28:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:28:44 prd-ubuntu20.04-docker-8c-8g-33430 does not seem to be running inside a container 04:28:44 $ 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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:28:46 $ docker top 06d0f8e7b9b6aeacf81ef55c3099a10f389055c4252e62b04b81d3b88bca829c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:28:46 ---> job-cost.sh 04:28:46 lf-activate-venv: SKIPPING 04:28:46 INFO: No Stack... 04:28:47 INFO: Retrieving Pricing Info for: v3-standard-8 04:28:47 INFO: Archiving Costs [Pipeline] sh 04:28:47 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv 04:28:47 + cut -d, -f6 [Pipeline] lock 04:28:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-4-stack-cost] 04:28:47 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-4-stack-cost] did not exist. Created. 04:28:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:28:48 + echo total: 0.2199999988079071 [Pipeline] stash 04:28:48 Stashed 1 file(s) [Pipeline] } 04:28:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-4-stack-cost] [Pipeline] // lock [Pipeline] } 04:28:48 $ docker stop --time=1 06d0f8e7b9b6aeacf81ef55c3099a10f389055c4252e62b04b81d3b88bca829c 04:28:49 $ docker rm -f 06d0f8e7b9b6aeacf81ef55c3099a10f389055c4252e62b04b81d3b88bca829c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:30:30 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33432 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws 04:30:30 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 04:30:31 The recommended git tool is: git 04:30:38 using credential edgex-jenkins-ssh 04:30:38 Cloning the remote Git repository 04:30:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:30:38 > git init /w/workspace/device-sdk-go/4 # timeout=10 04:30:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:30:38 > git --version # timeout=10 04:30:38 > git --version # 'git version 2.25.1' 04:30:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:40 Merging remotes/origin/main commit 99a726dbba9fddcd6b6c26c7337937a12db69607 into PR head commit 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 04:30:41 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage 04:30:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:30:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:30:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:30:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:30:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:30:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:30:40 > git config core.sparsecheckout # timeout=10 04:30:40 > git checkout -f 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # timeout=10 [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:30:41 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] 04:30:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 04:30:41 total 16 04:30:41 drwxr-xr-x 3 root root 4096 Apr 27 04:28 . 04:30:41 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:28 .. 04:30:41 drwxr-xr-x 2 root root 4096 Apr 27 04:28 cost 04:30:41 -rw-r--r-- 1 root root 85 Apr 27 04:28 cost.csv 04:30:41 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 04:30:41 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 04:30:41 total 16 04:30:41 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:28 . 04:30:41 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:28 .. 04:30:41 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 04:28 cost 04:30:41 -rw-r--r-- 1 jenkins jenkins 85 Apr 27 04:28 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:30:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:30:42 ---> package-listing.sh 04:30:42 ++ facter osfamily 04:30:42 ++ tr '[:upper:]' '[:lower:]' 04:30:43 + OS_FAMILY=debian 04:30:43 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 04:30:43 + START_PACKAGES=/tmp/packages_start.txt 04:30:43 + END_PACKAGES=/tmp/packages_end.txt 04:30:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:30:43 + PACKAGES=/tmp/packages_start.txt 04:30:43 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' 04:30:43 + PACKAGES=/tmp/packages_end.txt 04:30:43 + case "${OS_FAMILY}" in 04:30:43 + dpkg -l 04:30:43 + grep '^ii' 04:30:43 + '[' -f /tmp/packages_start.txt ']' 04:30:43 + '[' -f /tmp/packages_end.txt ']' 04:30:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:30:43 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' 04:30:43 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ 04:30:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [Pipeline] echo 04:30:43 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-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:30:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:30:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:30:44 . [Pipeline] withDockerContainer 04:30:44 prd-ubuntu20.04-docker-8c-8g-33430 does not seem to be running inside a container 04:30:44 $ 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-1144/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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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:30:44 $ docker top 4a6a3b4c89e0d6ae492d588f929144d2c8f66ef3d9214d2a6c8f4570560a31f4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:30:44 + touch /tmp/pre-build-complete [Pipeline] sh 04:30:45 + mkdir -p /var/log/sysstat [Pipeline] sh 04:30:45 + ls /var/log/sa-host 04:30:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:30:45 provisioning config files... 04:30:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config726423226374735358tmp [Pipeline] { [Pipeline] echo 04:30:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:30:45 ---> create-netrc.sh [Pipeline] } 04:30:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:30:46 ---> python-tools-install.sh [Pipeline] echo 04:30:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:30:46 ---> sudo-logs.sh 04:30:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:30:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:30:46 ---> job-cost.sh 04:30:46 lf-activate-venv: SKIPPING 04:30:46 DEBUG: total: 0.2199999988079071 04:30:46 INFO: Retrieving Stack Cost... 04:30:46 INFO: Retrieving Pricing Info for: v3-standard-8 04:30:47 INFO: Archiving Costs [Pipeline] echo 04:30:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:30:47 ---> logs-deploy.sh 04:30:47 lf-activate-venv: SKIPPING 04:30:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/4 04:30:47 INFO: archiving workspace using pattern(s): 04:30:48 Archives upload complete. 04:30:49 INFO: archiving logs to Nexus