Pull request #789 updated Connecting to https://api.github.com using edgex-jenkins/****** (edgex-jenkins github personal access token) Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 48795658231eefe43797c6bde77b808388815b9b+6125dba09cfc805438589ab7aad954d8cad7589e (fb617c8cde854a389e0da16d5c9bfbc96ecb071d) Running in Durability level: PERFORMANCE_OPTIMIZED 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 > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 69a7e166112f335804d9fea76440e5140e47f034 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --is-inside-work-tree # 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 > 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 69a7e166112f335804d9fea76440e5140e47f034 using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 69a7e166112f335804d9fea76440e5140e47f034 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 69a7e166112f335804d9fea76440e5140e47f034 # timeout=10 Commit message: "Merge pull request #314 from ernestojeda/go-mod-semver-bump" > 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 > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 46d8313d362d7075c0f562900eedc504c24ea18a using credential edgex-jenkins-ssh > git rev-parse --is-inside-work-tree # 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 > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 46d8313d362d7075c0f562900eedc504c24ea18a (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 46d8313d362d7075c0f562900eedc504c24ea18a # timeout=10 Commit message: "Fix lfParallelCostCapture env var name" > 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:docker-device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v1, openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.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.15 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-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/v1 openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true SECURITY_NOTIFY_LIST: security-issues@lists.edgexfoundry.org SNYK_DOCKER_SCAN: false [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-26789 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/dgexfoundry_device-sdk-go_PR-789 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.3' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 48795658231eefe43797c6bde77b808388815b9b Merge succeeded, producing 48795658231eefe43797c6bde77b808388815b9b Checking out Revision 48795658231eefe43797c6bde77b808388815b9b (PR-789) > git config core.sparsecheckout # timeout=10 > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # 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 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # timeout=10 Commit message: "test: add unit tests for v2 cache" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git rev-list --no-walk 7c9741b1786850dcd4b352624f7ae0f5df012de5 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:48:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:48:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:48:51 ========================================================= 09:48:51 EdgeX Global Pipelines Version Info 09:48:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:48:54 ------------------- 09:48:54 stable info: 09:48:54 ------------------- 09:48:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:48:54 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 09:48:54 Message: update stable to v1.0.179 09:48:55 ------------------- 09:48:55 experimental info: 09:48:55 ------------------- 09:48:55 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 09:48:55 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 09:48:55 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:48:55 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:48:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:48:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-789 [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-789 [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-789 [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48795658231eefe43797c6bde77b808388815b9b [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4879565 [Pipeline] echo 09:48:58 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:48:58 provisioning config files... 09:48:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config686307105461976552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:48:59 ---> docker-login.sh 09:48:59 nexus3.edgexfoundry.org:10001 09:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:00 Configure a credential helper to remove this warning. See 09:49:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:00 09:49:00 Login Succeeded 09:49:00 nexus3.edgexfoundry.org:10002 09:49:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:01 Configure a credential helper to remove this warning. See 09:49:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:01 09:49:01 Login Succeeded 09:49:01 nexus3.edgexfoundry.org:10003 09:49:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:01 Configure a credential helper to remove this warning. See 09:49:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:01 09:49:01 Login Succeeded 09:49:01 nexus3.edgexfoundry.org:10004 09:49:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:02 Configure a credential helper to remove this warning. See 09:49:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:02 09:49:02 Login Succeeded 09:49:02 docker.io 09:49:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:49:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:49:03 Configure a credential helper to remove this warning. See 09:49:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:49:03 09:49:03 Login Succeeded 09:49:03 ---> docker-login.sh ends [Pipeline] } 09:49:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:49:04 + git log --format=format:%s -1 48795658231eefe43797c6bde77b808388815b9b [Pipeline] echo 09:49:04 GIT_COMMIT: 48795658231eefe43797c6bde77b808388815b9b, Commit Message: test: add unit tests for v2 cache [Pipeline] echo 09:49:04 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 09:49:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:49:05 09:49:05 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 09:49:06 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:49:06 latest: Pulling from edgex-devops/git-semver 09:49:06 31603596830f: Pulling fs layer 09:49:06 2a8b12db71e7: Pulling fs layer 09:49:06 6ca5941a6612: Pulling fs layer 09:49:06 ecc8261a40a4: Pulling fs layer 09:49:06 2a8b12db71e7: Verifying Checksum 09:49:06 2a8b12db71e7: Download complete 09:49:06 31603596830f: Verifying Checksum 09:49:06 31603596830f: Download complete 09:49:07 ecc8261a40a4: Verifying Checksum 09:49:07 ecc8261a40a4: Download complete 09:49:07 6ca5941a6612: Verifying Checksum 09:49:07 6ca5941a6612: Download complete 09:49:07 31603596830f: Pull complete 09:49:07 2a8b12db71e7: Pull complete 09:49:08 6ca5941a6612: Pull complete 09:49:09 ecc8261a40a4: Pull complete 09:49:09 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 09:49:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 09:49:09 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 09:49:09 prd-centos7-docker-4c-2g-26789 does not seem to be running inside a container 09:49:09 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@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:10004/edgex-devops/git-semver:latest cat 09:49:13 $ docker top a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:49:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:49:13 [ssh-agent] Looking for ssh-agent implementation... 09:49:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:49:14 $ docker exec a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 ssh-agent 09:49:14 SSH_AUTH_SOCK=/tmp/ssh-qszpd5wXoGsV/agent.11 09:49:14 SSH_AGENT_PID=16 09:49:14 Running ssh-add (command line suppressed) 09:49:15 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_620247728400129876.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_620247728400129876.key) 09:49:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:49:16 + git tag --points-at HEAD [Pipeline] } 09:49:16 $ docker exec --env ******** --env ******** a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 ssh-agent -k 09:49:17 unset SSH_AUTH_SOCK; 09:49:17 unset SSH_AGENT_PID; 09:49:17 echo Agent pid 16 killed; 09:49:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:49:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:49:17 [ssh-agent] Looking for ssh-agent implementation... 09:49:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:49:17 $ docker exec a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 ssh-agent 09:49:18 SSH_AUTH_SOCK=/tmp/ssh-B6VPf2ECfJnw/agent.45 09:49:18 SSH_AGENT_PID=50 09:49:18 Running ssh-add (command line suppressed) 09:49:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_2493785754736833801.key (/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/private_key_2493785754736833801.key) 09:49:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:49:19 + git semver init 09:49:19 # -> Open(): unable to determine branch for HEAD 09:49:19 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.git 09:49:19 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-789 09:49:19 # $SEMVER_REMOTE_NAME = origin 09:49:19 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 09:49:19 # $SEMVER_USER_NAME = edgex-jenkins 09:49:19 # $SEMVER_BRANCH = PR-789 09:49:19 # $SEMVER_TEMP = /tmp/semver-808508670 09:49:19 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 09:49:20 # '/tmp/semver-808508670' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver' 09:49:20 # -> Force: false 09:49:20 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-789/.semver [Pipeline] } 09:49:20 $ docker exec --env ******** --env ******** a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 ssh-agent -k 09:49:21 unset SSH_AUTH_SOCK; 09:49:21 unset SSH_AGENT_PID; 09:49:21 echo Agent pid 50 killed; 09:49:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:49:22 + git semver [Pipeline] } 09:49:22 $ docker stop --time=1 a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 09:49:23 $ docker rm -f a148697277eac14cded4134ed32a4702e3522837ce0b4192b37d98f80b7153d6 [Pipeline] // withDockerContainer [Pipeline] sh 09:49:24 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:49:25 Stashed 1 file(s) [Pipeline] echo 09:49:25 [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] node [Pipeline] node 09:49:41 Still waiting to schedule task 09:49:41 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-26789’ 09:49:41 Still waiting to schedule task 09:49:41 ‘prd-ubuntu18.04-docker-arm64-4c-16g-26577’ is offline 09:51:32 Running on prd-ubuntu18.04-docker-arm64-4c-16g-26790 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws 09:51:32 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 09:51:38 using credential edgex-jenkins-ssh 09:51:38 Cloning the remote Git repository 09:51:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:51:38 > git init /w/workspace/device-sdk-go/4 # timeout=10 09:51:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:51:39 > git --version # timeout=10 09:51:39 > git --version # 'git version 2.17.1' 09:51:39 using GIT_SSH to set credentials SSH Credentials for GitHub 09:51:39 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:51:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:51:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:51:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:51:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:51:40 using GIT_SSH to set credentials SSH Credentials for GitHub 09:51:40 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:51:40 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 48795658231eefe43797c6bde77b808388815b9b 09:51:41 Merge succeeded, producing 48795658231eefe43797c6bde77b808388815b9b 09:51:41 Checking out Revision 48795658231eefe43797c6bde77b808388815b9b (PR-789) 09:51:40 > git config core.sparsecheckout # timeout=10 09:51:40 > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # timeout=10 09:51:41 > git remote # timeout=10 09:51:41 > git config --get remote.origin.url # timeout=10 09:51:41 using GIT_SSH to set credentials SSH Credentials for GitHub 09:51:41 > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 09:51:41 > git rev-parse HEAD^{commit} # timeout=10 09:51:41 > git config core.sparsecheckout # timeout=10 09:51:41 > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # timeout=10 09:51:45 Commit message: "test: add unit tests for v2 cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:51:47 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 09:51:47 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:51:48 + sudo service docker restart 09:51:48 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:51:50 provisioning config files... 09:51:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1722121440541967670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:51:50 ---> docker-login.sh 09:51:50 nexus3.edgexfoundry.org:10001 09:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:51 Configure a credential helper to remove this warning. See 09:51:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:51 09:51:51 Login Succeeded 09:51:51 nexus3.edgexfoundry.org:10002 09:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:52 Configure a credential helper to remove this warning. See 09:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:52 09:51:52 Login Succeeded 09:51:52 nexus3.edgexfoundry.org:10003 09:51:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:52 Configure a credential helper to remove this warning. See 09:51:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:52 09:51:52 Login Succeeded 09:51:52 nexus3.edgexfoundry.org:10004 09:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:53 Configure a credential helper to remove this warning. See 09:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:53 09:51:53 Login Succeeded 09:51:53 docker.io 09:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:51:54 Configure a credential helper to remove this warning. See 09:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:51:54 09:51:54 Login Succeeded 09:51:54 ---> docker-login.sh ends [Pipeline] } 09:51:54 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:51:54 ========================================================= 09:51:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 09:51:54 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:51:55 + docker build -t ci-base-image-arm64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine . 09:51:55 Sending build context to Docker daemon 2.434MB 09:51:55 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:51:55 Step 2/8 : FROM ${BASE} 09:51:55 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:51:55 5f621e34cdf4: Pulling fs layer 09:51:55 a4357932f1b6: Pulling fs layer 09:51:55 18c013af1878: Pulling fs layer 09:51:55 00ac8860ef70: Pulling fs layer 09:51:55 63d7cb157983: Pulling fs layer 09:51:55 b116817d02f9: Pulling fs layer 09:51:55 745a02a5169b: Pulling fs layer 09:51:55 00ac8860ef70: Waiting 09:51:55 63d7cb157983: Waiting 09:51:55 b116817d02f9: Waiting 09:51:55 745a02a5169b: Waiting 09:51:55 18c013af1878: Verifying Checksum 09:51:55 18c013af1878: Download complete 09:51:55 a4357932f1b6: Verifying Checksum 09:51:55 a4357932f1b6: Download complete 09:51:55 63d7cb157983: Verifying Checksum 09:51:55 63d7cb157983: Download complete 09:51:56 b116817d02f9: Verifying Checksum 09:51:56 b116817d02f9: Download complete 09:51:56 5f621e34cdf4: Verifying Checksum 09:51:56 5f621e34cdf4: Download complete 09:51:56 5f621e34cdf4: Pull complete 09:51:57 a4357932f1b6: Pull complete 09:51:57 18c013af1878: Pull complete 09:51:59 745a02a5169b: Verifying Checksum 09:51:59 745a02a5169b: Download complete 09:52:00 00ac8860ef70: Verifying Checksum 09:52:00 00ac8860ef70: Download complete 09:52:10 00ac8860ef70: Pull complete 09:52:10 63d7cb157983: Pull complete 09:52:10 b116817d02f9: Pull complete 09:52:15 745a02a5169b: Pull complete 09:52:15 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 09:52:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 09:52:15 ---> b7e6874047d6 09:52:15 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:52:17 ---> Running in 02198d7162fd 09:52:17 Removing intermediate container 02198d7162fd 09:52:17 ---> 8e0705cc701a 09:52:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:52:17 ---> Running in 4495eaa4c077 09:52:20 Removing intermediate container 4495eaa4c077 09:52:20 ---> aabf25806abe 09:52:20 Step 5/8 : RUN apk add --update --no-cache make git 09:52:20 ---> Running in 0586fd3fbde3 09:52:21 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:52:21 Running on prd-centos7-docker-4c-2g-26791 in /w/workspace/dgexfoundry_device-sdk-go_PR-789 [Pipeline] { [Pipeline] ws 09:52:21 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 09:52:22 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:52:22 OK: 142 MiB in 39 packages 09:52:24 Removing intermediate container 0586fd3fbde3 09:52:24 ---> c8ac5d895d18 09:52:24 Step 6/8 : WORKDIR /device-sdk-go 09:52:24 ---> Running in a6ba1e86f530 09:52:24 using credential edgex-jenkins-ssh 09:52:24 Cloning the remote Git repository 09:52:24 Removing intermediate container a6ba1e86f530 09:52:24 ---> 3f051f967472 09:52:24 Step 7/8 : COPY . . 09:52:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:52:24 > git init /w/workspace/device-sdk-go/4 # timeout=10 09:52:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:52:24 > git --version # timeout=10 09:52:24 > git --version # 'git version 2.24.3' 09:52:24 using GIT_SSH to set credentials SSH Credentials for GitHub 09:52:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:52:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:52:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:52:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:52:25 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:52:25 using GIT_SSH to set credentials SSH Credentials for GitHub 09:52:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/789/head:refs/remotes/origin/PR-789 +refs/heads/master:refs/remotes/origin/master # timeout=10 09:52:25 Merging remotes/origin/master commit 6125dba09cfc805438589ab7aad954d8cad7589e into PR head commit 48795658231eefe43797c6bde77b808388815b9b 09:52:25 ---> 7c84ab13d99b 09:52:25 Step 8/8 : RUN go mod download 09:52:25 ---> Running in ee8571aee6ea 09:52:25 Merge succeeded, producing 48795658231eefe43797c6bde77b808388815b9b 09:52:25 Checking out Revision 48795658231eefe43797c6bde77b808388815b9b (PR-789) 09:52:25 > git config core.sparsecheckout # timeout=10 09:52:25 > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # timeout=10 09:52:25 > git remote # timeout=10 09:52:25 > git config --get remote.origin.url # timeout=10 09:52:25 using GIT_SSH to set credentials SSH Credentials for GitHub 09:52:25 > git merge 6125dba09cfc805438589ab7aad954d8cad7589e # timeout=10 09:52:25 > git rev-parse HEAD^{commit} # timeout=10 09:52:25 > git config core.sparsecheckout # timeout=10 09:52:25 > git checkout -f 48795658231eefe43797c6bde77b808388815b9b # timeout=10 09:52:29 Commit message: "test: add unit tests for v2 cache" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:52:30 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 09:52:31 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 09:52:31 + true 09:52:31 + sudo service docker restart 09:52:31 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 09:52:32 provisioning config files... 09:52:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config8266403933416966731tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:52:32 ---> docker-login.sh 09:52:32 nexus3.edgexfoundry.org:10001 09:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:33 Configure a credential helper to remove this warning. See 09:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:33 09:52:33 Login Succeeded 09:52:33 nexus3.edgexfoundry.org:10002 09:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:33 Configure a credential helper to remove this warning. See 09:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:33 09:52:33 Login Succeeded 09:52:33 nexus3.edgexfoundry.org:10003 09:52:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:33 Configure a credential helper to remove this warning. See 09:52:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:33 09:52:33 Login Succeeded 09:52:33 nexus3.edgexfoundry.org:10004 09:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:34 Configure a credential helper to remove this warning. See 09:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:34 09:52:34 Login Succeeded 09:52:34 docker.io 09:52:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:52:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 09:52:34 Configure a credential helper to remove this warning. See 09:52:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 09:52:34 09:52:34 Login Succeeded 09:52:34 ---> docker-login.sh ends [Pipeline] } 09:52:34 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:52:34 ========================================================= 09:52:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 09:52:34 ========================================================= [Pipeline] isUnix [Pipeline] sh 09:52:35 + docker build -t ci-base-image-x86_64 -f Dockerfile.build --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine . 09:52:35 Sending build context to Docker daemon 2.444MB 09:52:35 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 09:52:35 Step 2/8 : FROM ${BASE} 09:52:35 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 09:52:35 188c0c94c7c5: Pulling fs layer 09:52:35 0ef7d3d256c8: Pulling fs layer 09:52:35 de9db76c5a1d: Pulling fs layer 09:52:35 bca2f99d35d6: Pulling fs layer 09:52:35 93359f2a8cfa: Pulling fs layer 09:52:35 7c6f9722023f: Pulling fs layer 09:52:35 a35cf1a2eb13: Pulling fs layer 09:52:35 bca2f99d35d6: Waiting 09:52:35 93359f2a8cfa: Waiting 09:52:35 7c6f9722023f: Waiting 09:52:35 a35cf1a2eb13: Waiting 09:52:35 0ef7d3d256c8: Verifying Checksum 09:52:35 0ef7d3d256c8: Download complete 09:52:35 de9db76c5a1d: Verifying Checksum 09:52:35 de9db76c5a1d: Download complete 09:52:35 93359f2a8cfa: Verifying Checksum 09:52:35 93359f2a8cfa: Download complete 09:52:35 7c6f9722023f: Verifying Checksum 09:52:35 7c6f9722023f: Download complete 09:52:35 188c0c94c7c5: Verifying Checksum 09:52:35 188c0c94c7c5: Download complete 09:52:35 188c0c94c7c5: Pull complete 09:52:35 0ef7d3d256c8: Pull complete 09:52:35 de9db76c5a1d: Pull complete 09:52:37 a35cf1a2eb13: Verifying Checksum 09:52:37 a35cf1a2eb13: Download complete 09:52:38 bca2f99d35d6: Download complete 09:52:43 bca2f99d35d6: Pull complete 09:52:43 93359f2a8cfa: Pull complete 09:52:43 7c6f9722023f: Pull complete 09:52:48 a35cf1a2eb13: Pull complete 09:52:48 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 09:52:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 09:52:48 ---> a62c8e92a672 09:52:48 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:52:48 ---> Running in b6042bb7a6c2 09:52:49 Removing intermediate container b6042bb7a6c2 09:52:49 ---> 75f546eb2ca9 09:52:49 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:52:49 ---> Running in d7415ef7f760 09:52:50 Removing intermediate container d7415ef7f760 09:52:50 ---> 46fac3189e02 09:52:50 Step 5/8 : RUN apk add --update --no-cache make git 09:52:50 ---> Running in 2f1910b5e2e6 09:52:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:52:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:52:52 OK: 166 MiB in 39 packages 09:52:52 Removing intermediate container ee8571aee6ea 09:52:52 ---> 633ddf7ffd47 09:52:52 Successfully built 633ddf7ffd47 09:52:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 09:52:52 Removing intermediate container 2f1910b5e2e6 09:52:52 ---> d14d20b88cc8 09:52:52 Step 6/8 : WORKDIR /device-sdk-go 09:52:52 ---> Running in 5493a24f80b2 09:52:53 + docker inspect -f . ci-base-image-arm64 09:52:53 . 09:52:53 Removing intermediate container 5493a24f80b2 09:52:53 ---> 78ca316973d0 09:52:53 Step 7/8 : COPY . . [Pipeline] withDockerContainer 09:52:53 prd-ubuntu18.04-docker-arm64-4c-16g-26790 does not seem to be running inside a container 09:52:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:52:54 ---> 2ebfc9c47e1d 09:52:54 Step 8/8 : RUN go mod download 09:52:54 ---> Running in a890e3cd1cca 09:52:55 $ docker top a6a4bdf7d67cd965d226eadbee235c1b16759890adb2b647bb6f701b37d6b128 -eo pid,comm [Pipeline] { [Pipeline] sh 09:52:56 + go version 09:52:56 go version go1.15.5 linux/arm64 [Pipeline] } 09:52:56 $ docker stop --time=1 a6a4bdf7d67cd965d226eadbee235c1b16759890adb2b647bb6f701b37d6b128 09:52:58 $ docker rm -f a6a4bdf7d67cd965d226eadbee235c1b16759890adb2b647bb6f701b37d6b128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:52:59 + docker inspect -f . ci-base-image-arm64 09:52:59 . [Pipeline] withDockerContainer 09:52:59 prd-ubuntu18.04-docker-arm64-4c-16g-26790 does not seem to be running inside a container 09:52:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:53:01 $ docker top 6e5e106c09720b34cb34cbd107460e64c1cd7906d53f4292f9b38290c7d93afc -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:02 + make test 09:53:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:53:16 Removing intermediate container a890e3cd1cca 09:53:16 ---> 994a5d0903d9 09:53:16 Successfully built 994a5d0903d9 09:53:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 09:53:17 + docker inspect -f . ci-base-image-x86_64 09:53:17 . [Pipeline] withDockerContainer 09:53:17 prd-centos7-docker-4c-2g-26791 does not seem to be running inside a container 09:53:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:53:18 $ docker top 3b2fb44f9b1663b69bae88207a66a074edac41a1b63698ffb300f8ac292ba830 -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:19 + go version 09:53:19 go version go1.15.5 linux/amd64 [Pipeline] } 09:53:19 $ docker stop --time=1 3b2fb44f9b1663b69bae88207a66a074edac41a1b63698ffb300f8ac292ba830 09:53:20 $ docker rm -f 3b2fb44f9b1663b69bae88207a66a074edac41a1b63698ffb300f8ac292ba830 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 09:53:21 + docker inspect -f . ci-base-image-x86_64 09:53:21 . [Pipeline] withDockerContainer 09:53:21 prd-centos7-docker-4c-2g-26791 does not seem to be running inside a container 09:53:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 09:53:22 $ docker top ffe519e850b9b04838be73a47b8e9d268caa9257d7119c1ecd6bfdab1746088f -eo pid,comm [Pipeline] { [Pipeline] sh 09:53:23 + make test 09:53:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 09:53:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:53:31 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 09:53:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:53:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:53:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:53:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 25.5% of statements 09:54:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 09:54:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 09:54:03 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 09:54:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.132s coverage: 25.5% of statements 09:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.064s coverage: 10.1% of statements 09:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.052s coverage: 12.5% of statements 09:54:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.068s coverage: 84.8% of statements 09:54:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:54:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 09:54:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:54:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 49.2% of statements 09:54:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.077s coverage: 81.3% of statements 09:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.071s coverage: 24.8% of statements 09:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.436s coverage: 83.5% of statements 09:54:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.055s coverage: 5.3% of statements 09:54:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:54:21 GO111MODULE=on go vet ./... 09:54:29 gofmt -l . 09:54:29 [ "`gofmt -l .`" = "" ] 09:54:29 ./bin/test-attribution-txt.sh 09:54:29 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:54:30 $ docker stop --time=1 ffe519e850b9b04838be73a47b8e9d268caa9257d7119c1ecd6bfdab1746088f 09:54:32 $ docker rm -f ffe519e850b9b04838be73a47b8e9d268caa9257d7119c1ecd6bfdab1746088f [Pipeline] // withDockerContainer [Pipeline] sh 09:54:32 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:54:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:54:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:54:36 + ls -al . 09:54:36 total 184 09:54:36 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 18 09:54 . 09:54:36 drwxrwxr-x. 4 jenkins jenkins 28 Feb 18 09:52 .. 09:54:36 drwxrwxr-x. 2 jenkins jenkins 64 Feb 18 09:52 bin 09:54:36 -rw-r--r--. 1 jenkins jenkins 101948 Feb 18 09:54 coverage.out 09:54:36 -rw-rw-r--. 1 jenkins jenkins 949 Feb 18 09:52 Dockerfile.build 09:54:36 -rw-rw-r--. 1 jenkins jenkins 140 Feb 18 09:52 .dockerignore 09:54:36 drwxrwxr-x. 4 jenkins jenkins 48 Feb 18 09:52 example 09:54:36 drwxrwxr-x. 8 jenkins jenkins 179 Feb 18 09:52 .git 09:54:36 drwxrwxr-x. 2 jenkins jenkins 103 Feb 18 09:52 .github 09:54:36 -rw-rw-r--. 1 jenkins jenkins 138 Feb 18 09:52 .gitignore 09:54:36 -rw-r--r--. 1 jenkins jenkins 515 Feb 18 09:54 go.mod 09:54:36 -rw-r--r--. 1 jenkins jenkins 19062 Feb 18 09:54 go.sum 09:54:36 drwxrwxr-x. 13 jenkins jenkins 183 Feb 18 09:52 internal 09:54:36 -rw-rw-r--. 1 jenkins jenkins 901 Feb 18 09:52 Jenkinsfile 09:54:36 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 18 09:52 LICENSE 09:54:36 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 18 09:52 Makefile 09:54:36 drwxrwxr-x. 4 jenkins jenkins 26 Feb 18 09:52 openapi 09:54:36 drwxrwxr-x. 5 jenkins jenkins 50 Feb 18 09:52 pkg 09:54:36 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 18 09:52 README.md 09:54:36 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 18 09:52 RELEASE-NOTES.txt 09:54:36 drwxrwxr-x. 4 jenkins jenkins 54 Feb 18 09:52 snap 09:54:36 -rw-rw-r--. 1 jenkins jenkins 5 Feb 18 09:49 VERSION 09:54:36 -rw-rw-r--. 1 jenkins jenkins 222 Feb 18 09:52 version.go [Pipeline] isUnix [Pipeline] sh 09:54:36 + docker build -t docker-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=48795658231eefe43797c6bde77b808388815b9b --label arch=amd64 --label version=0.0.0 . 09:54:37 Sending build context to Docker daemon 2.547MB 09:54:37 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:54:37 Step 2/24 : FROM ${BASE} AS builder 09:54:37 ---> 994a5d0903d9 09:54:37 Step 3/24 : ARG MAKE='make build' 09:54:37 ---> Running in 1493bdc99912 09:54:37 Removing intermediate container 1493bdc99912 09:54:37 ---> 125200d1ea41 09:54:37 Step 4/24 : WORKDIR /device-sdk-go 09:54:37 ---> Running in e4e745af9d26 09:54:38 Removing intermediate container e4e745af9d26 09:54:38 ---> a63e60fb2d87 09:54:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:54:38 ---> Running in da4526eee5c2 09:54:38 Removing intermediate container da4526eee5c2 09:54:38 ---> 8f44d474a8b7 09:54:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:54:38 ---> Running in 3e581c31e6cf 09:54:39 Removing intermediate container 3e581c31e6cf 09:54:39 ---> e5156ec07df4 09:54:39 Step 7/24 : RUN apk add --update --no-cache make git 09:54:39 ---> Running in 4efa882d2821 09:54:39 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 09:54:40 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 09:54:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.125s coverage: 10.1% of statements 09:54:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.119s coverage: 12.5% of statements 09:54:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 09:54:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.148s coverage: 84.8% of statements 09:54:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 09:54:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 09:54:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 09:54:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 09:54:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.204s coverage: 49.2% of statements 09:54:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 09:54:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache 0.181s coverage: 81.3% of statements 09:54:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.163s coverage: 24.8% of statements 09:54:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.893s coverage: 83.5% of statements 09:54:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.122s coverage: 5.3% of statements 09:54:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 09:54:40 GO111MODULE=on go vet ./... 09:54:41 OK: 166 MiB in 39 packages 09:54:41 Removing intermediate container 4efa882d2821 09:54:41 ---> 55a6243c7b89 09:54:41 Step 8/24 : COPY . . 09:54:43 ---> 67ca7166ceb8 09:54:43 Step 9/24 : RUN ${MAKE} 09:54:43 ---> Running in 4ad6075896f0 09:54:43 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:54:54 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:54:55 Removing intermediate container 4ad6075896f0 09:54:55 ---> 1fa8677ee8a3 09:54:55 Step 10/24 : FROM scratch 09:54:55 ---> 09:54:55 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:54:55 ---> Running in 39a64d6c68a7 09:54:55 Removing intermediate container 39a64d6c68a7 09:54:55 ---> 243e26f24261 09:54:55 Step 12/24 : ENV APP_PORT=49990 09:54:55 ---> Running in cad57e42ee00 09:54:55 Removing intermediate container cad57e42ee00 09:54:55 ---> 745a4ea80baa 09:54:55 Step 13/24 : EXPOSE $APP_PORT 09:54:55 ---> Running in 12b6ae04599b 09:54:55 Removing intermediate container 12b6ae04599b 09:54:55 ---> e9291a8ad2b9 09:54:55 Step 14/24 : WORKDIR / 09:54:55 ---> Running in 39db0f142300 09:54:55 Removing intermediate container 39db0f142300 09:54:55 ---> e1afda6f1cb4 09:54:55 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:54:56 ---> ffc2f125d286 09:54:56 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:54:56 ---> 54987c9da945 09:54:56 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:54:57 ---> b7f74d533c96 09:54:57 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:54:57 ---> a8688153ed1b 09:54:57 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:54:57 ---> 1f95452d4af6 09:54:57 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:54:57 ---> Running in 6c0a8a128665 09:54:57 Removing intermediate container 6c0a8a128665 09:54:57 ---> e85e776bb7b9 09:54:57 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:54:57 ---> Running in 81ae1647d41e 09:54:58 Removing intermediate container 81ae1647d41e 09:54:58 ---> 2ea4b60780f9 09:54:58 Step 22/24 : LABEL arch=amd64 09:54:58 ---> Running in 886dc3deedb9 09:54:58 Removing intermediate container 886dc3deedb9 09:54:58 ---> da258b3dbda1 09:54:58 Step 23/24 : LABEL git_sha=48795658231eefe43797c6bde77b808388815b9b 09:54:58 ---> Running in 66dd2005411f 09:54:58 Removing intermediate container 66dd2005411f 09:54:58 ---> be059f22b92a 09:54:58 Step 24/24 : LABEL version=0.0.0 09:54:58 ---> Running in bf55a6d6a9b5 09:54:58 Removing intermediate container bf55a6d6a9b5 09:54:58 ---> 1149e9171ada 09:54:58 [Warning] One or more build-args [ARCH] were not consumed 09:54:58 Successfully built 1149e9171ada 09:54:58 Successfully tagged docker-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 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 09:55:12 gofmt -l . 09:55:12 [ "`gofmt -l .`" = "" ] 09:55:12 ./bin/test-attribution-txt.sh 09:55:12 ./bin/test-go-mod-tidy.sh [Pipeline] } 09:55:13 $ docker stop --time=1 6e5e106c09720b34cb34cbd107460e64c1cd7906d53f4292f9b38290c7d93afc 09:55:15 $ docker rm -f 6e5e106c09720b34cb34cbd107460e64c1cd7906d53f4292f9b38290c7d93afc [Pipeline] // withDockerContainer [Pipeline] sh 09:55:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:55:16 Warning: overwriting stash ‘coverage-report’ 09:55:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:55:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:55:18 + ls -al . 09:55:18 total 220 09:55:18 drwxrwxr-x 10 jenkins jenkins 4096 Feb 18 09:55 . 09:55:18 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:51 .. 09:55:18 -rw-rw-r-- 1 jenkins jenkins 140 Feb 18 09:51 .dockerignore 09:55:18 drwxrwxr-x 8 jenkins jenkins 4096 Feb 18 09:51 .git 09:55:18 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 09:51 .github 09:55:18 -rw-rw-r-- 1 jenkins jenkins 138 Feb 18 09:51 .gitignore 09:55:18 -rw-rw-r-- 1 jenkins jenkins 949 Feb 18 09:51 Dockerfile.build 09:55:18 -rw-rw-r-- 1 jenkins jenkins 901 Feb 18 09:51 Jenkinsfile 09:55:18 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 18 09:51 LICENSE 09:55:18 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 18 09:51 Makefile 09:55:18 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 18 09:51 README.md 09:55:18 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 18 09:51 RELEASE-NOTES.txt 09:55:18 -rw-rw-r-- 1 jenkins jenkins 5 Feb 18 09:49 VERSION 09:55:18 drwxrwxr-x 2 jenkins jenkins 4096 Feb 18 09:51 bin 09:55:18 -rw-r--r-- 1 jenkins jenkins 101947 Feb 18 09:54 coverage.out 09:55:18 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:51 example 09:55:18 -rw-r--r-- 1 jenkins jenkins 515 Feb 18 09:55 go.mod 09:55:18 -rw-r--r-- 1 jenkins jenkins 19062 Feb 18 09:55 go.sum 09:55:18 drwxrwxr-x 13 jenkins jenkins 4096 Feb 18 09:51 internal 09:55:18 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:51 openapi 09:55:18 drwxrwxr-x 5 jenkins jenkins 4096 Feb 18 09:51 pkg 09:55:18 drwxrwxr-x 4 jenkins jenkins 4096 Feb 18 09:51 snap 09:55:18 -rw-rw-r-- 1 jenkins jenkins 222 Feb 18 09:51 version.go [Pipeline] isUnix [Pipeline] sh 09:55:18 + docker build -t docker-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=48795658231eefe43797c6bde77b808388815b9b --label arch=arm64 --label version=0.0.0 . 09:55:19 Sending build context to Docker daemon 2.536MB 09:55:19 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 09:55:19 Step 2/24 : FROM ${BASE} AS builder 09:55:19 ---> 633ddf7ffd47 09:55:19 Step 3/24 : ARG MAKE='make build' 09:55:19 ---> Running in 92376cbc9722 09:55:20 Removing intermediate container 92376cbc9722 09:55:20 ---> 8e3b6af3e90f 09:55:20 Step 4/24 : WORKDIR /device-sdk-go 09:55:20 ---> Running in f28d1d5b8cd4 09:55:20 Removing intermediate container f28d1d5b8cd4 09:55:20 ---> 2cfbfcf0d7c0 09:55:20 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:55:20 ---> Running in a51f64b3bcc3 09:55:21 Removing intermediate container a51f64b3bcc3 09:55:21 ---> 297599980d2d 09:55:21 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 09:55:21 ---> Running in fb92509c2f2d 09:55:23 Removing intermediate container fb92509c2f2d 09:55:23 ---> 6b6904cf4bd4 09:55:23 Step 7/24 : RUN apk add --update --no-cache make git 09:55:23 ---> Running in 5f75d69762b3 09:55:24 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 09:55:25 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 09:55:26 OK: 142 MiB in 39 packages 09:55:27 Removing intermediate container 5f75d69762b3 09:55:27 ---> e4302cea5198 09:55:27 Step 8/24 : COPY . . 09:55:28 ---> ff43bdae563d 09:55:28 Step 9/24 : RUN ${MAKE} 09:55:28 ---> Running in 6996f05168ac 09:55:29 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:55:56 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 09:55:56 Removing intermediate container 6996f05168ac 09:55:56 ---> 10426b74aa0d 09:55:56 Step 10/24 : FROM scratch 09:55:56 ---> 09:55:56 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 09:55:56 ---> Running in 96575ab86cc4 09:55:57 Removing intermediate container 96575ab86cc4 09:55:57 ---> 6111685e1d7e 09:55:57 Step 12/24 : ENV APP_PORT=49990 09:55:57 ---> Running in c50a0b571396 09:55:57 Removing intermediate container c50a0b571396 09:55:57 ---> da6af9f2fce9 09:55:57 Step 13/24 : EXPOSE $APP_PORT 09:55:57 ---> Running in ee6f16c7ba8d 09:55:58 Removing intermediate container ee6f16c7ba8d 09:55:58 ---> 23b040067ba1 09:55:58 Step 14/24 : WORKDIR / 09:55:58 ---> Running in 7191e975a7d9 09:55:58 Removing intermediate container 7191e975a7d9 09:55:58 ---> a39e8f9339f3 09:55:58 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 09:55:59 ---> 96b0c2c419c0 09:55:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 09:56:00 ---> 871da7f408d3 09:56:00 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 09:56:01 ---> 00834471efb7 09:56:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 09:56:01 ---> a5d902fbf70e 09:56:01 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 09:56:02 ---> 6dfd1f143192 09:56:02 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 09:56:02 ---> Running in c78e3b60951f 09:56:03 Removing intermediate container c78e3b60951f 09:56:03 ---> 6045a7ab73c0 09:56:03 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 09:56:03 ---> Running in 049e0c5ccc25 09:56:03 Removing intermediate container 049e0c5ccc25 09:56:03 ---> a565d5824c7a 09:56:03 Step 22/24 : LABEL arch=arm64 09:56:04 ---> Running in 7e2d838d6407 09:56:04 Removing intermediate container 7e2d838d6407 09:56:04 ---> 296edabde034 09:56:04 Step 23/24 : LABEL git_sha=48795658231eefe43797c6bde77b808388815b9b 09:56:04 ---> Running in fc3f065e5281 09:56:05 Removing intermediate container fc3f065e5281 09:56:05 ---> 1798cb88f145 09:56:05 Step 24/24 : LABEL version=0.0.0 09:56:05 ---> Running in 226e02acd96b 09:56:05 Removing intermediate container 226e02acd96b 09:56:05 ---> 973d913eb31f 09:56:05 [Warning] One or more build-args [ARCH] were not consumed 09:56:05 Successfully built 973d913eb31f 09:56:05 Successfully tagged docker-device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [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] wrap 09:56:07 provisioning config files... 09:56:07 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config6390318211856296394tmp [Pipeline] { [Pipeline] sh 09:56:08 + set +x 09:56:08 + bash -s -- 09:56:08 + curl -s https://codecov.io/bash 09:56:08 09:56:08 _____ _ 09:56:08 / ____| | | 09:56:08 | | ___ __| | ___ ___ _____ __ 09:56:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:56:08 | |___| (_) | (_| | __/ (_| (_) \ V / 09:56:08 \_____\___/ \__,_|\___|\___\___/ \_/ 09:56:08 Bash-20210129-7c25fce 09:56:08 09:56:08 09:56:08 ==> git version 2.24.3 found 09:56:08 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 09:56:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 09:56:08 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 09:56:08 ==> Jenkins CI detected. 09:56:08 project root: . 09:56:08 --> token set from env 09:56:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:56:08 ==> Running gcov in . (disable via -X gcov) 09:56:08 ==> Python coveragepy not found 09:56:08 ==> Searching for coverage reports in: 09:56:08 + . 09:56:08 -> Found 1 reports 09:56:08 ==> Detecting git/mercurial file structure 09:56:08 ==> Reading reports 09:56:08 + ./coverage.out bytes=101947 09:56:08 ==> Appending adjustments 09:56:08 https://docs.codecov.io/docs/fixing-reports 09:56:09 + Found adjustments 09:56:09 ==> Gzipping contents 09:56:09 20K /tmp/codecov.l0wVCE.gz 09:56:09 ==> Uploading reports 09:56:09 url: https://codecov.io 09:56:09 query: branch=PR-789&commit=48795658231eefe43797c6bde77b808388815b9b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= 09:56:09 -> Pinging Codecov 09:56:09 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-789&commit=48795658231eefe43797c6bde77b808388815b9b&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-789%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=789&job=&cmd_args= 09:56:10 -> Uploading to 09:56:10 https://storage.googleapis.com/codecov/v4/raw/2021-02-18/7E55EF52A471D76F132DFD9A03CDDE97/48795658231eefe43797c6bde77b808388815b9b/6e0ac101-f1b2-49fb-93bb-351d8b8724ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210218%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210218T095610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b53457e35811b2ef95384502561c27ea9a133b21623574e805cc8545f15a889d 09:56:10 % Total % Received % Xferd Average Speed Time Time Time Current 09:56:10 Dload Upload Total Spent Left Speed 09:56:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16509 0 0 100 16509 0 31534 --:--:-- --:--:-- --:--:-- 31565 09:56:10 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/48795658231eefe43797c6bde77b808388815b9b [Pipeline] } 09:56:10 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image 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] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 09:56:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:56:14 ---> package-listing.sh 09:56:14 ++ tr '[:upper:]' '[:lower:]' 09:56:14 ++ facter osfamily 09:56:14 + OS_FAMILY=redhat 09:56:14 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-789 09:56:14 + START_PACKAGES=/tmp/packages_start.txt 09:56:14 + END_PACKAGES=/tmp/packages_end.txt 09:56:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:56:14 + PACKAGES=/tmp/packages_start.txt 09:56:14 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' 09:56:14 + PACKAGES=/tmp/packages_end.txt 09:56:14 + case "${OS_FAMILY}" in 09:56:14 + sort 09:56:14 + rpm -qa 09:56:23 + '[' -f /tmp/packages_start.txt ']' 09:56:23 + '[' -f /tmp/packages_end.txt ']' 09:56:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:56:23 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-789 ']' 09:56:23 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ 09:56:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-789/archives/ [Pipeline] echo 09:56:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-789/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 09:56:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 09:56:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:56:24 09:56:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 09:56:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:56:25 alpine: Pulling from edgex-lftools-log-publisher 09:56:25 df20fa9351a1: Pulling fs layer 09:56:25 36b3adc4ff6f: Pulling fs layer 09:56:25 8ad3a11d3b57: Pulling fs layer 09:56:25 46f8f816bc3b: Pulling fs layer 09:56:25 93b61091891f: Pulling fs layer 09:56:25 93b9cdb0e59b: Pulling fs layer 09:56:25 5e14af77c1be: Pulling fs layer 09:56:25 01666e4c0597: Pulling fs layer 09:56:25 aa168da1d23b: Pulling fs layer 09:56:25 93b9cdb0e59b: Waiting 09:56:25 5e14af77c1be: Waiting 09:56:25 01666e4c0597: Waiting 09:56:25 aa168da1d23b: Waiting 09:56:25 46f8f816bc3b: Waiting 09:56:25 93b61091891f: Waiting 09:56:25 36b3adc4ff6f: Verifying Checksum 09:56:25 36b3adc4ff6f: Download complete 09:56:25 46f8f816bc3b: Download complete 09:56:25 93b61091891f: Verifying Checksum 09:56:25 93b61091891f: Download complete 09:56:25 df20fa9351a1: Verifying Checksum 09:56:25 df20fa9351a1: Download complete 09:56:25 93b9cdb0e59b: Verifying Checksum 09:56:25 93b9cdb0e59b: Download complete 09:56:25 5e14af77c1be: Verifying Checksum 09:56:25 5e14af77c1be: Download complete 09:56:25 01666e4c0597: Verifying Checksum 09:56:25 01666e4c0597: Download complete 09:56:26 df20fa9351a1: Pull complete 09:56:26 8ad3a11d3b57: Verifying Checksum 09:56:26 8ad3a11d3b57: Download complete 09:56:27 36b3adc4ff6f: Pull complete 09:56:30 8ad3a11d3b57: Pull complete 09:56:30 46f8f816bc3b: Pull complete 09:56:30 aa168da1d23b: Verifying Checksum 09:56:30 aa168da1d23b: Download complete 09:56:30 93b61091891f: Pull complete 09:56:31 93b9cdb0e59b: Pull complete 09:56:31 5e14af77c1be: Pull complete 09:56:31 01666e4c0597: Pull complete 09:56:47 aa168da1d23b: Pull complete 09:56:47 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 09:56:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 09:56:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 09:56:47 prd-centos7-docker-4c-2g-26789 does not seem to be running inside a container 09:56:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_PR-789/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_PR-789 -v /w/workspace/dgexfoundry_device-sdk-go_PR-789:/w/workspace/dgexfoundry_device-sdk-go_PR-789:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 09:56:52 $ docker top b3dc950d37ec34debc668e04284c5cef991874ba4a817f97e63b506536a22694 -eo pid,comm [Pipeline] { [Pipeline] sh 09:56:54 + touch /tmp/pre-build-complete [Pipeline] sh 09:56:54 + mkdir -p /var/log/sa [Pipeline] sh 09:56:55 + ls /var/log/sa-host 09:56:55 + sadf -c /var/log/sa-host/sa18 09:56:55 file_magic: OK 09:56:55 HZ: Using current value: 100 09:56:55 file_header: OK 09:56:55 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:56:55 Statistics: 09:56:55 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 09:56:55 File successfully converted to sysstat format version 12.2.1 09:56:55 + sadf -c /var/log/sa-host/sa23 09:56:55 file_magic: OK 09:56:55 HZ: Using current value: 100 09:56:55 file_header: OK 09:56:55 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 09:56:55 Statistics: 09:56:55 Hnuu...uuuununununu... 09:56:55 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:56:56 provisioning config files... 09:56:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-789@tmp/config1306124827794341488tmp [Pipeline] { [Pipeline] echo 09:56:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:56:57 ---> create-netrc.sh [Pipeline] } 09:56:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 09:56:57 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 09:56:58 ---> python-tools-install.sh [Pipeline] echo 09:56:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:56:58 ---> sudo-logs.sh 09:56:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:56:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:56:59 ---> job-cost.sh 09:56:59 lf-activate-venv: SKIPPING 09:56:59 INFO: No Stack... 09:57:00 INFO: Retrieving Pricing Info for: v1-standard-2 09:57:01 INFO: Archiving Costs [Pipeline] echo 09:57:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:57:02 ---> logs-deploy.sh 09:57:02 lf-activate-venv: SKIPPING 09:57:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-789/4 09:57:02 INFO: archiving workspace using pattern(s): 09:57:04 Archives upload complete. 09:57:05 INFO: archiving logs to Nexus