Pull request #768 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 583d86123c274110cf062250fdbdaf3d8e054e54+3aea893206dfece0cb943228d650ae216607898f (4d65553e165d116ea0f2bd250864736c598c04e9) 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 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 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 15d0feb21ed94e8c3b2a9f11f016c82a5039dfb9 # timeout=10 Commit message: "Add license check to tox" > 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-24553 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [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-768 # 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/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 583d86123c274110cf062250fdbdaf3d8e054e54 Merge succeeded, producing 583d86123c274110cf062250fdbdaf3d8e054e54 Checking out Revision 583d86123c274110cf062250fdbdaf3d8e054e54 (PR-768) > git config core.sparsecheckout # timeout=10 > git checkout -f 583d86123c274110cf062250fdbdaf3d8e054e54 # 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 3aea893206dfece0cb943228d650ae216607898f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 583d86123c274110cf062250fdbdaf3d8e054e54 # timeout=10 Commit message: "refactor: upgrade SDK external function API for v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:49:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:49:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:49:55 ========================================================= 07:49:55 EdgeX Global Pipelines Version Info 07:49:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 9fe3938ee2d204b0af91be3145be6a464d2edd9d # timeout=10 07:49:58 ------------------- 07:49:58 stable info: 07:49:58 ------------------- 07:49:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:49:58 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:49:58 Message: update stable to v1.0.179 07:49:59 ------------------- 07:49:59 experimental info: 07:49:59 ------------------- 07:49:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:49:59 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 07:49:59 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:50:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:50:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:50:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:50:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:50:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:50:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 07:50:00 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 07:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 07:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 07:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:50:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:50:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:50:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:50:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:50:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:50:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:50:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:50:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:50:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 07:50:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:50:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:50:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:50:03 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 07:50:03 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 07:50:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-768 [Pipeline] echo 07:50:03 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-768 [Pipeline] echo 07:50:03 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-768 [Pipeline] echo 07:50:03 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 583d86123c274110cf062250fdbdaf3d8e054e54 [Pipeline] echo 07:50:03 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 583d861 [Pipeline] echo 07:50:03 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:50:03 provisioning config files... 07:50:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config5032561782075922921tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:04 ---> docker-login.sh 07:50:04 nexus3.edgexfoundry.org:10001 07:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:05 Configure a credential helper to remove this warning. See 07:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:05 07:50:05 Login Succeeded 07:50:05 nexus3.edgexfoundry.org:10002 07:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:05 Configure a credential helper to remove this warning. See 07:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:05 07:50:05 Login Succeeded 07:50:05 nexus3.edgexfoundry.org:10003 07:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:06 Configure a credential helper to remove this warning. See 07:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:06 07:50:06 Login Succeeded 07:50:06 nexus3.edgexfoundry.org:10004 07:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:06 Configure a credential helper to remove this warning. See 07:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:06 07:50:06 Login Succeeded 07:50:06 docker.io 07:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:06 Configure a credential helper to remove this warning. See 07:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:06 07:50:06 Login Succeeded 07:50:06 ---> docker-login.sh ends [Pipeline] } 07:50:07 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 07:50:07 + git log --format=format:%s -1 583d86123c274110cf062250fdbdaf3d8e054e54 [Pipeline] echo 07:50:08 GIT_COMMIT: 583d86123c274110cf062250fdbdaf3d8e054e54, Commit Message: refactor: upgrade SDK external function API for v2 [Pipeline] echo 07:50:08 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 07:50:09 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:50:09 07:50:09 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:50:09 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:50:09 latest: Pulling from edgex-devops/git-semver 07:50:09 31603596830f: Pulling fs layer 07:50:09 2a8b12db71e7: Pulling fs layer 07:50:09 6ca5941a6612: Pulling fs layer 07:50:09 ecc8261a40a4: Pulling fs layer 07:50:09 ecc8261a40a4: Waiting 07:50:10 2a8b12db71e7: Verifying Checksum 07:50:10 2a8b12db71e7: Download complete 07:50:10 31603596830f: Verifying Checksum 07:50:10 31603596830f: Download complete 07:50:10 ecc8261a40a4: Verifying Checksum 07:50:10 ecc8261a40a4: Download complete 07:50:10 6ca5941a6612: Verifying Checksum 07:50:10 6ca5941a6612: Download complete 07:50:10 31603596830f: Pull complete 07:50:10 2a8b12db71e7: Pull complete 07:50:13 6ca5941a6612: Pull complete 07:50:13 ecc8261a40a4: Pull complete 07:50:13 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 07:50:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:50:13 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:50:13 prd-centos7-docker-4c-2g-24553 does not seem to be running inside a container 07:50:13 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-768 -v /w/workspace/dgexfoundry_device-sdk-go_PR-768:/w/workspace/dgexfoundry_device-sdk-go_PR-768:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-768@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:10004/edgex-devops/git-semver:latest cat 07:50:16 $ docker top d8b29a5e28b80fb2db9ab9ced87f3e9569e50a4ca22d40c38ad1687684d344f7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:50:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:16 [ssh-agent] Looking for ssh-agent implementation... 07:50:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:17 $ docker exec d8b29a5e28b80fb2db9ab9ced87f3e9569e50a4ca22d40c38ad1687684d344f7 ssh-agent 07:50:17 SSH_AUTH_SOCK=/tmp/ssh-QSaK8e7L4QKJ/agent.11 07:50:17 SSH_AGENT_PID=17 07:50:17 Running ssh-add (command line suppressed) 07:50:18 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_1570779631827750448.key (/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_1570779631827750448.key) 07:50:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:19 + git tag --points-at HEAD [Pipeline] } 07:50:19 $ docker exec --env ******** --env ******** d8b29a5e28b80fb2db9ab9ced87f3e9569e50a4ca22d40c38ad1687684d344f7 ssh-agent -k 07:50:19 unset SSH_AUTH_SOCK; 07:50:19 unset SSH_AGENT_PID; 07:50:19 echo Agent pid 17 killed; 07:50:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:50:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:19 [ssh-agent] Looking for ssh-agent implementation... 07:50:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:19 $ docker exec d8b29a5e28b80fb2db9ab9ced87f3e9569e50a4ca22d40c38ad1687684d344f7 ssh-agent 07:50:20 SSH_AUTH_SOCK=/tmp/ssh-hvU1sKHNUKi0/agent.46 07:50:20 SSH_AGENT_PID=51 07:50:20 Running ssh-add (command line suppressed) 07:50:20 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_2766186602161467897.key (/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/private_key_2766186602161467897.key) 07:50:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:20 + git semver init 07:50:20 # -> Open(): unable to determine branch for HEAD 07:50:20 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-768/.git 07:50:20 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-768 07:50:20 # $SEMVER_REMOTE_NAME = origin 07:50:20 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:50:20 # $SEMVER_USER_NAME = edgex-jenkins 07:50:20 # $SEMVER_BRANCH = PR-768 07:50:20 # $SEMVER_TEMP = /tmp/semver-748124892 07:50:20 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:50:21 # '/tmp/semver-748124892' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-768/.semver' 07:50:21 # -> Force: false 07:50:21 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-768/.semver [Pipeline] } 07:50:21 $ docker exec --env ******** --env ******** d8b29a5e28b80fb2db9ab9ced87f3e9569e50a4ca22d40c38ad1687684d344f7 ssh-agent -k 07:50:22 unset SSH_AUTH_SOCK; 07:50:22 unset SSH_AGENT_PID; 07:50:22 echo Agent pid 51 killed; 07:50:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:50:22 + git semver [Pipeline] } 07:50:22 $ docker stop --time=1 d8b29a5e28b80fb2db9ab9ced87f3e9569e50a4ca22d40c38ad1687684d344f7 07:50:24 $ docker rm -f d8b29a5e28b80fb2db9ab9ced87f3e9569e50a4ca22d40c38ad1687684d344f7 [Pipeline] // withDockerContainer [Pipeline] sh 07:50:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:50:26 Stashed 1 file(s) [Pipeline] echo 07:50:26 [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 07:50:42 Still waiting to schedule task 07:50:42 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-24553’ 07:50:42 Still waiting to schedule task 07:50:42 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 07:52:24 Running on prd-ubuntu18.04-docker-arm64-4c-16g-24554 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [Pipeline] { [Pipeline] ws 07:52:24 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:52:30 using credential edgex-jenkins-ssh 07:52:30 Cloning the remote Git repository 07:52:30 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:52:30 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:52:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:52:30 > git --version # timeout=10 07:52:30 > git --version # 'git version 2.17.1' 07:52:30 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:30 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:52:31 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:52:31 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:52:31 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:52:31 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:31 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:52:32 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 583d86123c274110cf062250fdbdaf3d8e054e54 07:52:32 Merge succeeded, producing 583d86123c274110cf062250fdbdaf3d8e054e54 07:52:32 Checking out Revision 583d86123c274110cf062250fdbdaf3d8e054e54 (PR-768) 07:52:32 > git config core.sparsecheckout # timeout=10 07:52:32 > git checkout -f 583d86123c274110cf062250fdbdaf3d8e054e54 # timeout=10 07:52:32 > git remote # timeout=10 07:52:32 > git config --get remote.origin.url # timeout=10 07:52:32 using GIT_SSH to set credentials SSH Credentials for GitHub 07:52:32 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 07:52:32 > git rev-parse HEAD^{commit} # timeout=10 07:52:32 > git config core.sparsecheckout # timeout=10 07:52:32 > git checkout -f 583d86123c274110cf062250fdbdaf3d8e054e54 # timeout=10 07:52:37 Commit message: "refactor: upgrade SDK external function API for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:52:38 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 07:52:39 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:52:39 + sudo service docker restart 07:52:39 + true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:52:42 provisioning config files... 07:52:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8522911865587994082tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:42 ---> docker-login.sh 07:52:42 nexus3.edgexfoundry.org:10001 07:52:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:43 Configure a credential helper to remove this warning. See 07:52:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:43 07:52:43 Login Succeeded 07:52:43 nexus3.edgexfoundry.org:10002 07:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:44 Configure a credential helper to remove this warning. See 07:52:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:44 07:52:44 Login Succeeded 07:52:44 nexus3.edgexfoundry.org:10003 07:52:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:45 Configure a credential helper to remove this warning. See 07:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:45 07:52:45 Login Succeeded 07:52:45 nexus3.edgexfoundry.org:10004 07:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:45 Configure a credential helper to remove this warning. See 07:52:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:45 07:52:45 Login Succeeded 07:52:45 docker.io 07:52:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:52:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:52:46 Configure a credential helper to remove this warning. See 07:52:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:52:46 07:52:46 Login Succeeded 07:52:46 ---> docker-login.sh ends [Pipeline] } 07:52:46 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:52:46 ========================================================= 07:52:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 07:52:46 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:52:47 + 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 . 07:52:47 Sending build context to Docker daemon 2.427MB 07:52:47 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:52:47 Step 2/8 : FROM ${BASE} 07:52:47 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:52:47 5f621e34cdf4: Pulling fs layer 07:52:47 a4357932f1b6: Pulling fs layer 07:52:47 18c013af1878: Pulling fs layer 07:52:47 00ac8860ef70: Pulling fs layer 07:52:47 63d7cb157983: Pulling fs layer 07:52:47 b116817d02f9: Pulling fs layer 07:52:47 745a02a5169b: Pulling fs layer 07:52:47 00ac8860ef70: Waiting 07:52:47 63d7cb157983: Waiting 07:52:47 b116817d02f9: Waiting 07:52:47 745a02a5169b: Waiting 07:52:47 18c013af1878: Verifying Checksum 07:52:47 18c013af1878: Download complete 07:52:47 a4357932f1b6: Verifying Checksum 07:52:47 a4357932f1b6: Download complete 07:52:47 63d7cb157983: Verifying Checksum 07:52:47 63d7cb157983: Download complete 07:52:47 b116817d02f9: Verifying Checksum 07:52:47 b116817d02f9: Download complete 07:52:48 5f621e34cdf4: Verifying Checksum 07:52:48 5f621e34cdf4: Download complete 07:52:49 5f621e34cdf4: Pull complete 07:52:49 a4357932f1b6: Pull complete 07:52:50 18c013af1878: Pull complete 07:52:51 745a02a5169b: Verifying Checksum 07:52:51 745a02a5169b: Download complete 07:52:52 00ac8860ef70: Verifying Checksum 07:52:52 00ac8860ef70: Download complete 07:53:02 00ac8860ef70: Pull complete 07:53:02 63d7cb157983: Pull complete 07:53:02 b116817d02f9: Pull complete 07:53:07 745a02a5169b: Pull complete 07:53:07 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 07:53:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 07:53:07 ---> b7e6874047d6 07:53:07 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:53:09 ---> Running in bc327a23da94 07:53:09 Removing intermediate container bc327a23da94 07:53:09 ---> e1136d46b429 07:53:09 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:53:09 ---> Running in 34f9a23f5cc3 07:53:12 Removing intermediate container 34f9a23f5cc3 07:53:12 ---> d5f39fa07aca 07:53:12 Step 5/8 : RUN apk add --update --no-cache make git 07:53:12 ---> Running in e4345e702aba 07:53:13 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:53:14 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:53:14 OK: 142 MiB in 39 packages 07:53:16 Removing intermediate container e4345e702aba 07:53:16 ---> cd764abca2e3 07:53:16 Step 6/8 : WORKDIR /device-sdk-go 07:53:16 ---> Running in 099caee7b14d 07:53:16 Removing intermediate container 099caee7b14d 07:53:16 ---> 5111847bb1c7 07:53:16 Step 7/8 : COPY . . 07:53:17 ---> fc7f280fd405 07:53:17 Step 8/8 : RUN go mod download 07:53:17 ---> Running in feed22d48225 07:53:19 Running on prd-centos7-docker-4c-2g-24555 in /w/workspace/dgexfoundry_device-sdk-go_PR-768 [Pipeline] { [Pipeline] ws 07:53:19 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 07:53:21 using credential edgex-jenkins-ssh 07:53:21 Cloning the remote Git repository 07:53:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:53:21 > git init /w/workspace/device-sdk-go/2 # timeout=10 07:53:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:53:21 > git --version # timeout=10 07:53:21 > git --version # 'git version 2.24.3' 07:53:21 using GIT_SSH to set credentials SSH Credentials for GitHub 07:53:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:53:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:53:23 Merging remotes/origin/master commit 3aea893206dfece0cb943228d650ae216607898f into PR head commit 583d86123c274110cf062250fdbdaf3d8e054e54 07:53:23 Merge succeeded, producing 583d86123c274110cf062250fdbdaf3d8e054e54 07:53:23 Checking out Revision 583d86123c274110cf062250fdbdaf3d8e054e54 (PR-768) 07:53:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:53:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:53:22 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:53:22 using GIT_SSH to set credentials SSH Credentials for GitHub 07:53:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/768/head:refs/remotes/origin/PR-768 +refs/heads/master:refs/remotes/origin/master # timeout=10 07:53:22 > git config core.sparsecheckout # timeout=10 07:53:22 > git checkout -f 583d86123c274110cf062250fdbdaf3d8e054e54 # timeout=10 07:53:22 > git remote # timeout=10 07:53:22 > git config --get remote.origin.url # timeout=10 07:53:22 using GIT_SSH to set credentials SSH Credentials for GitHub 07:53:22 > git merge 3aea893206dfece0cb943228d650ae216607898f # timeout=10 07:53:22 > git rev-parse HEAD^{commit} # timeout=10 07:53:22 > git config core.sparsecheckout # timeout=10 07:53:22 > git checkout -f 583d86123c274110cf062250fdbdaf3d8e054e54 # timeout=10 07:53:26 Commit message: "refactor: upgrade SDK external function API for v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:53:27 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 07:53:28 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 07:53:28 + sudo service docker restart 07:53:28 + true 07:53:28 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 07:53:29 provisioning config files... 07:53:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7034996522005598474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:53:29 ---> docker-login.sh 07:53:29 nexus3.edgexfoundry.org:10001 07:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:30 Configure a credential helper to remove this warning. See 07:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:30 07:53:30 Login Succeeded 07:53:30 nexus3.edgexfoundry.org:10002 07:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:30 Configure a credential helper to remove this warning. See 07:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:30 07:53:30 Login Succeeded 07:53:30 nexus3.edgexfoundry.org:10003 07:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:30 Configure a credential helper to remove this warning. See 07:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:30 07:53:30 Login Succeeded 07:53:30 nexus3.edgexfoundry.org:10004 07:53:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:30 Configure a credential helper to remove this warning. See 07:53:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:30 07:53:30 Login Succeeded 07:53:30 docker.io 07:53:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:53:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:53:31 Configure a credential helper to remove this warning. See 07:53:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:53:31 07:53:31 Login Succeeded 07:53:31 ---> docker-login.sh ends [Pipeline] } 07:53:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:53:31 ========================================================= 07:53:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 07:53:31 ========================================================= [Pipeline] isUnix [Pipeline] sh 07:53:32 + 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 . 07:53:32 Sending build context to Docker daemon 2.421MB 07:53:32 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 07:53:32 Step 2/8 : FROM ${BASE} 07:53:32 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 07:53:32 188c0c94c7c5: Pulling fs layer 07:53:32 0ef7d3d256c8: Pulling fs layer 07:53:32 de9db76c5a1d: Pulling fs layer 07:53:32 bca2f99d35d6: Pulling fs layer 07:53:32 93359f2a8cfa: Pulling fs layer 07:53:32 7c6f9722023f: Pulling fs layer 07:53:32 a35cf1a2eb13: Pulling fs layer 07:53:32 93359f2a8cfa: Waiting 07:53:32 7c6f9722023f: Waiting 07:53:32 a35cf1a2eb13: Waiting 07:53:32 bca2f99d35d6: Waiting 07:53:32 de9db76c5a1d: Verifying Checksum 07:53:32 de9db76c5a1d: Download complete 07:53:32 0ef7d3d256c8: Verifying Checksum 07:53:32 0ef7d3d256c8: Download complete 07:53:32 93359f2a8cfa: Verifying Checksum 07:53:32 93359f2a8cfa: Download complete 07:53:32 188c0c94c7c5: Verifying Checksum 07:53:32 188c0c94c7c5: Download complete 07:53:32 7c6f9722023f: Verifying Checksum 07:53:32 7c6f9722023f: Download complete 07:53:32 188c0c94c7c5: Pull complete 07:53:32 0ef7d3d256c8: Pull complete 07:53:33 de9db76c5a1d: Pull complete 07:53:34 a35cf1a2eb13: Verifying Checksum 07:53:34 a35cf1a2eb13: Download complete 07:53:35 bca2f99d35d6: Download complete 07:53:40 Removing intermediate container feed22d48225 07:53:40 ---> 42f71f9ea346 07:53:40 Successfully built 42f71f9ea346 07:53:40 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:53:40 bca2f99d35d6: Pull complete 07:53:40 93359f2a8cfa: Pull complete 07:53:40 + docker inspect -f . ci-base-image-arm64 07:53:40 . [Pipeline] withDockerContainer 07:53:40 prd-ubuntu18.04-docker-arm64-4c-16g-24554 does not seem to be running inside a container 07:53:40 7c6f9722023f: Pull complete 07:53:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:53:42 $ docker top 596df5184afc75e5b88c732bcfe1d310483f44c3d38d3e9113ebf07bd53425ac -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:43 + go version 07:53:43 go version go1.15.5 linux/arm64 [Pipeline] } 07:53:43 $ docker stop --time=1 596df5184afc75e5b88c732bcfe1d310483f44c3d38d3e9113ebf07bd53425ac 07:53:45 $ docker rm -f 596df5184afc75e5b88c732bcfe1d310483f44c3d38d3e9113ebf07bd53425ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:53:46 + docker inspect -f . ci-base-image-arm64 07:53:46 . [Pipeline] withDockerContainer 07:53:46 prd-ubuntu18.04-docker-arm64-4c-16g-24554 does not seem to be running inside a container 07:53:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:53:47 $ docker top 8fa5f18e52e0b1f7d4425910777c24f239a967ee14766f423cefa1789a7365ea -eo pid,comm [Pipeline] { [Pipeline] sh 07:53:48 + make test 07:53:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:53:50 a35cf1a2eb13: Pull complete 07:53:50 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 07:53:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 07:53:50 ---> a62c8e92a672 07:53:50 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:53:50 ---> Running in a1681b135743 07:53:50 Removing intermediate container a1681b135743 07:53:50 ---> 8420e719cb16 07:53:50 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:53:50 ---> Running in f8dfa12d5549 07:53:51 Removing intermediate container f8dfa12d5549 07:53:51 ---> 48d84e0f5692 07:53:51 Step 5/8 : RUN apk add --update --no-cache make git 07:53:51 ---> Running in d42a63b6422e 07:53:51 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:53:52 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:53:52 OK: 166 MiB in 39 packages 07:53:53 Removing intermediate container d42a63b6422e 07:53:53 ---> 6f6f5b952c45 07:53:53 Step 6/8 : WORKDIR /device-sdk-go 07:53:53 ---> Running in 8d18dcc3130f 07:53:53 Removing intermediate container 8d18dcc3130f 07:53:53 ---> 57d06151d533 07:53:53 Step 7/8 : COPY . . 07:53:54 ---> e972223a80c2 07:53:54 Step 8/8 : RUN go mod download 07:53:54 ---> Running in 4eb43f8fa071 07:54:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:54:16 Removing intermediate container 4eb43f8fa071 07:54:16 ---> fdc083416689 07:54:16 Successfully built fdc083416689 07:54:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:54:17 + docker inspect -f . ci-base-image-x86_64 07:54:17 . [Pipeline] withDockerContainer 07:54:17 prd-centos7-docker-4c-2g-24555 does not seem to be running inside a container 07:54:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 07:54:18 $ docker top c3f5b97111d46571d3f25f948101224ed091bab17afc843105c4b3446fe5f168 -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:18 + go version 07:54:18 go version go1.15.5 linux/amd64 [Pipeline] } 07:54:18 $ docker stop --time=1 c3f5b97111d46571d3f25f948101224ed091bab17afc843105c4b3446fe5f168 07:54:20 $ docker rm -f c3f5b97111d46571d3f25f948101224ed091bab17afc843105c4b3446fe5f168 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:54:21 + docker inspect -f . ci-base-image-x86_64 07:54:21 . [Pipeline] withDockerContainer 07:54:21 prd-centos7-docker-4c-2g-24555 does not seem to be running inside a container 07:54:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 07:54:22 $ docker top bca1367e11221dbe597683a4fc9a7744a97ba99b9ce100ede1dffe1b64ef2830 -eo pid,comm [Pipeline] { [Pipeline] sh 07:54:22 + make test 07:54:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:54:30 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:54:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:54:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:54:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:54:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 24.0% of statements 07:54:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:54:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:54:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:54:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.151s coverage: 24.0% of statements 07:55:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.079s coverage: 10.1% of statements 07:55:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.059s coverage: 13.0% of statements 07:55:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:55:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.082s coverage: 85.3% of statements 07:55:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:55:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:55:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:55:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:55:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 49.5% of statements 07:55:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:55:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 07:55:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.067s coverage: 24.8% of statements 07:55:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.424s coverage: 83.5% of statements 07:55:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 5.3% of statements 07:55:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:55:18 GO111MODULE=on go vet ./... 07:55:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.121s coverage: 10.1% of statements 07:55:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.114s coverage: 13.0% of statements 07:55:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:55:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.139s coverage: 85.3% of statements 07:55:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 07:55:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 07:55:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:55:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:55:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.213s coverage: 49.5% of statements 07:55:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 07:55:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 07:55:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.200s coverage: 24.8% of statements 07:55:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.045s coverage: 83.5% of statements 07:55:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.133s coverage: 5.3% of statements 07:55:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:55:24 GO111MODULE=on go vet ./... 07:55:28 gofmt -l . 07:55:28 [ "`gofmt -l .`" = "" ] 07:55:28 ./bin/test-attribution-txt.sh 07:55:28 ./bin/test-go-mod-tidy.sh [Pipeline] } 07:55:29 $ docker stop --time=1 bca1367e11221dbe597683a4fc9a7744a97ba99b9ce100ede1dffe1b64ef2830 07:55:31 $ docker rm -f bca1367e11221dbe597683a4fc9a7744a97ba99b9ce100ede1dffe1b64ef2830 [Pipeline] // withDockerContainer [Pipeline] sh 07:55:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:55:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:55:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:55:35 + ls -al . 07:55:35 total 168 07:55:35 drwxrwxr-x. 10 jenkins jenkins 4096 Feb 2 07:55 . 07:55:35 drwxrwxr-x. 4 jenkins jenkins 28 Feb 2 07:53 .. 07:55:35 drwxrwxr-x. 2 jenkins jenkins 64 Feb 2 07:53 bin 07:55:35 -rw-r--r--. 1 jenkins jenkins 89771 Feb 2 07:55 coverage.out 07:55:35 -rw-rw-r--. 1 jenkins jenkins 949 Feb 2 07:53 Dockerfile.build 07:55:35 -rw-rw-r--. 1 jenkins jenkins 140 Feb 2 07:53 .dockerignore 07:55:35 drwxrwxr-x. 4 jenkins jenkins 48 Feb 2 07:53 example 07:55:35 drwxrwxr-x. 8 jenkins jenkins 179 Feb 2 07:53 .git 07:55:35 drwxrwxr-x. 2 jenkins jenkins 103 Feb 2 07:53 .github 07:55:35 -rw-rw-r--. 1 jenkins jenkins 138 Feb 2 07:53 .gitignore 07:55:35 -rw-r--r--. 1 jenkins jenkins 480 Feb 2 07:55 go.mod 07:55:35 -rw-r--r--. 1 jenkins jenkins 14022 Feb 2 07:55 go.sum 07:55:35 drwxrwxr-x. 13 jenkins jenkins 183 Feb 2 07:53 internal 07:55:35 -rw-rw-r--. 1 jenkins jenkins 901 Feb 2 07:53 Jenkinsfile 07:55:35 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 2 07:53 LICENSE 07:55:35 -rw-rw-r--. 1 jenkins jenkins 1016 Feb 2 07:53 Makefile 07:55:35 drwxrwxr-x. 4 jenkins jenkins 26 Feb 2 07:53 openapi 07:55:35 drwxrwxr-x. 5 jenkins jenkins 50 Feb 2 07:53 pkg 07:55:35 -rw-rw-r--. 1 jenkins jenkins 5897 Feb 2 07:53 README.md 07:55:35 -rw-rw-r--. 1 jenkins jenkins 6616 Feb 2 07:53 RELEASE-NOTES.txt 07:55:35 drwxrwxr-x. 4 jenkins jenkins 54 Feb 2 07:53 snap 07:55:35 -rw-rw-r--. 1 jenkins jenkins 5 Feb 2 07:50 VERSION 07:55:35 -rw-rw-r--. 1 jenkins jenkins 222 Feb 2 07:53 version.go [Pipeline] isUnix [Pipeline] sh 07:55:35 + 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=583d86123c274110cf062250fdbdaf3d8e054e54 --label arch=amd64 --label version=0.0.0 . 07:55:35 Sending build context to Docker daemon 2.511MB 07:55:35 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:55:35 Step 2/24 : FROM ${BASE} AS builder 07:55:35 ---> fdc083416689 07:55:35 Step 3/24 : ARG MAKE='make build' 07:55:36 ---> Running in 55a24a6ceaca 07:55:36 Removing intermediate container 55a24a6ceaca 07:55:36 ---> 8c038c349e04 07:55:36 Step 4/24 : WORKDIR /device-sdk-go 07:55:36 ---> Running in 64b4466771c6 07:55:36 Removing intermediate container 64b4466771c6 07:55:36 ---> f8f026138619 07:55:36 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:55:36 ---> Running in 7962cc1df9f5 07:55:36 Removing intermediate container 7962cc1df9f5 07:55:36 ---> b0320fc70437 07:55:36 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:55:36 ---> Running in 3b9dfdc0b3fb 07:55:37 Removing intermediate container 3b9dfdc0b3fb 07:55:37 ---> e39e6ee0d590 07:55:37 Step 7/24 : RUN apk add --update --no-cache make git 07:55:38 ---> Running in a412ebe87518 07:55:38 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 07:55:39 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 07:55:39 OK: 166 MiB in 39 packages 07:55:40 Removing intermediate container a412ebe87518 07:55:40 ---> 6dbc00e16436 07:55:40 Step 8/24 : COPY . . 07:55:41 ---> 52386eafe3ea 07:55:41 Step 9/24 : RUN ${MAKE} 07:55:41 ---> Running in 6a922b73e311 07:55:41 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 07:55:51 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:55:52 Removing intermediate container 6a922b73e311 07:55:52 ---> fa6a7d43c6fc 07:55:52 Step 10/24 : FROM scratch 07:55:52 ---> 07:55:52 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:55:52 ---> Running in 79ba44f5efc4 07:55:53 Removing intermediate container 79ba44f5efc4 07:55:53 ---> 31890fddce3a 07:55:53 Step 12/24 : ENV APP_PORT=49990 07:55:53 ---> Running in b7db35adf212 07:55:53 Removing intermediate container b7db35adf212 07:55:53 ---> 30378c3641a1 07:55:53 Step 13/24 : EXPOSE $APP_PORT 07:55:53 ---> Running in 042ceb607bc8 07:55:53 Removing intermediate container 042ceb607bc8 07:55:53 ---> 9add48715b24 07:55:53 Step 14/24 : WORKDIR / 07:55:53 ---> Running in 254ae49255f4 07:55:53 Removing intermediate container 254ae49255f4 07:55:53 ---> 901928835cdc 07:55:53 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:55:54 ---> 2f372e71272f 07:55:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:55:54 ---> bf928c02b915 07:55:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:55:54 ---> 793aece11fde 07:55:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:55:54 ---> d340334e25e0 07:55:54 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:55:54 ---> d31d24576c19 07:55:54 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:55:55 ---> Running in 5efd42bec241 07:55:55 Removing intermediate container 5efd42bec241 07:55:55 ---> e1351bbbcb97 07:55:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:55:55 ---> Running in f7bedef19cb5 07:55:55 Removing intermediate container f7bedef19cb5 07:55:55 ---> 488ffb7a7f07 07:55:55 Step 22/24 : LABEL arch=amd64 07:55:55 ---> Running in 9e0b05a6b71a 07:55:55 Removing intermediate container 9e0b05a6b71a 07:55:55 ---> 610a55024727 07:55:55 Step 23/24 : LABEL git_sha=583d86123c274110cf062250fdbdaf3d8e054e54 07:55:55 ---> Running in 4bd95e1287c9 07:55:56 Removing intermediate container 4bd95e1287c9 07:55:56 ---> c4ee36e157b7 07:55:56 Step 24/24 : LABEL version=0.0.0 07:55:56 ---> Running in 16b89b1b835f 07:55:56 Removing intermediate container 16b89b1b835f 07:55:56 ---> 3c9250dfadf3 07:55:56 [Warning] One or more build-args [ARCH] were not consumed 07:55:56 Successfully built 3c9250dfadf3 07:55:56 Successfully tagged docker-device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } 07:55:56 gofmt -l . 07:55:56 [ "`gofmt -l .`" = "" ] 07:55:56 ./bin/test-attribution-txt.sh 07:55:56 ./bin/test-go-mod-tidy.sh [Pipeline] // stage [Pipeline] } 07:55:57 $ docker stop --time=1 8fa5f18e52e0b1f7d4425910777c24f239a967ee14766f423cefa1789a7365ea 07:55:59 $ docker rm -f 8fa5f18e52e0b1f7d4425910777c24f239a967ee14766f423cefa1789a7365ea [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } 07:56:00 + sudo chown -R jenkins:jenkins . [Pipeline] // withEnv [Pipeline] } [Pipeline] stash 07:56:00 Warning: overwriting stash ‘coverage-report’ [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 07:56:01 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:56:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:56:02 + ls -al . 07:56:02 total 204 07:56:02 drwxrwxr-x 10 jenkins jenkins 4096 Feb 2 07:55 . 07:56:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 07:52 .. 07:56:02 -rw-rw-r-- 1 jenkins jenkins 140 Feb 2 07:52 .dockerignore 07:56:02 drwxrwxr-x 8 jenkins jenkins 4096 Feb 2 07:52 .git 07:56:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 07:52 .github 07:56:02 -rw-rw-r-- 1 jenkins jenkins 138 Feb 2 07:52 .gitignore 07:56:02 -rw-rw-r-- 1 jenkins jenkins 949 Feb 2 07:52 Dockerfile.build 07:56:02 -rw-rw-r-- 1 jenkins jenkins 901 Feb 2 07:52 Jenkinsfile 07:56:02 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 2 07:52 LICENSE 07:56:02 -rw-rw-r-- 1 jenkins jenkins 1016 Feb 2 07:52 Makefile 07:56:02 -rw-rw-r-- 1 jenkins jenkins 5897 Feb 2 07:52 README.md 07:56:02 -rw-rw-r-- 1 jenkins jenkins 6616 Feb 2 07:52 RELEASE-NOTES.txt 07:56:02 -rw-rw-r-- 1 jenkins jenkins 5 Feb 2 07:50 VERSION 07:56:02 drwxrwxr-x 2 jenkins jenkins 4096 Feb 2 07:52 bin 07:56:02 -rw-r--r-- 1 jenkins jenkins 89771 Feb 2 07:55 coverage.out 07:56:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 07:52 example 07:56:02 -rw-r--r-- 1 jenkins jenkins 480 Feb 2 07:55 go.mod 07:56:02 -rw-r--r-- 1 jenkins jenkins 14022 Feb 2 07:55 go.sum 07:56:02 drwxrwxr-x 13 jenkins jenkins 4096 Feb 2 07:52 internal 07:56:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 07:52 openapi 07:56:02 drwxrwxr-x 5 jenkins jenkins 4096 Feb 2 07:52 pkg 07:56:02 drwxrwxr-x 4 jenkins jenkins 4096 Feb 2 07:52 snap 07:56:02 -rw-rw-r-- 1 jenkins jenkins 222 Feb 2 07:52 version.go [Pipeline] isUnix [Pipeline] sh 07:56:02 + 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=583d86123c274110cf062250fdbdaf3d8e054e54 --label arch=arm64 --label version=0.0.0 . 07:56:02 Sending build context to Docker daemon 2.518MB 07:56:03 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 07:56:03 Step 2/24 : FROM ${BASE} AS builder 07:56:03 ---> 42f71f9ea346 07:56:03 Step 3/24 : ARG MAKE='make build' 07:56:03 ---> Running in af42c303d2e6 07:56:03 Removing intermediate container af42c303d2e6 07:56:03 ---> c92e1254bad9 07:56:03 Step 4/24 : WORKDIR /device-sdk-go 07:56:03 ---> Running in b360cac3f149 07:56:04 Removing intermediate container b360cac3f149 07:56:04 ---> 1385e694c6bf 07:56:04 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:56:04 ---> Running in 895f137a0e1a 07:56:05 Removing intermediate container 895f137a0e1a 07:56:05 ---> f58a8dad3e4a 07:56:05 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:56:05 ---> Running in d43e4636d085 07:56:07 Removing intermediate container d43e4636d085 07:56:07 ---> 77e774ce48ec 07:56:07 Step 7/24 : RUN apk add --update --no-cache make git 07:56:07 ---> Running in 2b7cc742cdf2 07:56:08 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 07:56:08 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 07:56:09 OK: 142 MiB in 39 packages 07:56:10 Removing intermediate container 2b7cc742cdf2 07:56:10 ---> 292fd624b3a6 07:56:10 Step 8/24 : COPY . . 07:56:12 ---> 733a322dbfe7 07:56:12 Step 9/24 : RUN ${MAKE} 07:56:12 ---> Running in 444082c7cb86 07:56:13 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 07:56:40 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 07:56:40 Removing intermediate container 444082c7cb86 07:56:40 ---> 252f3e528941 07:56:40 Step 10/24 : FROM scratch 07:56:40 ---> 07:56:40 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:56:40 ---> Running in cd2255233f1f 07:56:40 Removing intermediate container cd2255233f1f 07:56:40 ---> d53bb93a0c95 07:56:40 Step 12/24 : ENV APP_PORT=49990 07:56:40 ---> Running in 85d2d281f335 07:56:40 Removing intermediate container 85d2d281f335 07:56:40 ---> 436c558bdbec 07:56:40 Step 13/24 : EXPOSE $APP_PORT 07:56:40 ---> Running in d72d6bab500a 07:56:40 Removing intermediate container d72d6bab500a 07:56:40 ---> 734ad9b9ab7e 07:56:40 Step 14/24 : WORKDIR / 07:56:40 ---> Running in a8ae8111e1e0 07:56:40 Removing intermediate container a8ae8111e1e0 07:56:40 ---> b62ebb205799 07:56:40 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 07:56:41 ---> 0d6ee4e88845 07:56:41 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 07:56:42 ---> 9acaee9e6b80 07:56:42 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 07:56:43 ---> 814a51b94a0e 07:56:43 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 07:56:44 ---> 2391f1f3ab29 07:56:44 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 07:56:44 ---> a2253ae1874c 07:56:44 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 07:56:44 ---> Running in ce65f097cd6a 07:56:45 Removing intermediate container ce65f097cd6a 07:56:45 ---> 3179601582c0 07:56:45 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:56:45 ---> Running in fddcda667536 07:56:45 Removing intermediate container fddcda667536 07:56:45 ---> a366deee5627 07:56:45 Step 22/24 : LABEL arch=arm64 07:56:46 ---> Running in b5862096230e 07:56:46 Removing intermediate container b5862096230e 07:56:46 ---> 8bfff173b78f 07:56:46 Step 23/24 : LABEL git_sha=583d86123c274110cf062250fdbdaf3d8e054e54 07:56:46 ---> Running in b1b46b67dc50 07:56:46 Removing intermediate container b1b46b67dc50 07:56:46 ---> 8f3627455121 07:56:46 Step 24/24 : LABEL version=0.0.0 07:56:47 ---> Running in e2577ceb3137 07:56:47 Removing intermediate container e2577ceb3137 07:56:47 ---> 1f95bad63fe9 07:56:47 [Warning] One or more build-args [ARCH] were not consumed 07:56:47 Successfully built 1f95bad63fe9 07:56:47 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 07:56:49 provisioning config files... 07:56:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config8612601469455106221tmp [Pipeline] { [Pipeline] sh 07:56:50 + set +x 07:56:50 + bash -s -- 07:56:50 + curl -s https://codecov.io/bash 07:56:50 07:56:50 _____ _ 07:56:50 / ____| | | 07:56:50 | | ___ __| | ___ ___ _____ __ 07:56:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:56:50 | |___| (_) | (_| | __/ (_| (_) \ V / 07:56:50 \_____\___/ \__,_|\___|\___\___/ \_/ 07:56:50 Bash-20210129-7c25fce 07:56:50 07:56:50 07:56:50 ==> git version 2.24.3 found 07:56:50 ==> 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 07:56:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 07:56:50 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 07:56:50 ==> Jenkins CI detected. 07:56:50 project root: . 07:56:50 --> token set from env 07:56:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:56:50 ==> Running gcov in . (disable via -X gcov) 07:56:50 ==> Python coveragepy not found 07:56:50 ==> Searching for coverage reports in: 07:56:50 + . 07:56:50 -> Found 1 reports 07:56:50 ==> Detecting git/mercurial file structure 07:56:50 ==> Reading reports 07:56:50 + ./coverage.out bytes=89771 07:56:50 ==> Appending adjustments 07:56:50 https://docs.codecov.io/docs/fixing-reports 07:56:51 + Found adjustments 07:56:51 ==> Gzipping contents 07:56:51 16K /tmp/codecov.4wfQhP.gz 07:56:51 ==> Uploading reports 07:56:51 url: https://codecov.io 07:56:51 query: branch=PR-768&commit=583d86123c274110cf062250fdbdaf3d8e054e54&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-768%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=768&job=&cmd_args= 07:56:51 -> Pinging Codecov 07:56:51 https://codecov.io/upload/v4?package=bash-20210129-7c25fce&token=secret&branch=PR-768&commit=583d86123c274110cf062250fdbdaf3d8e054e54&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-768%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=768&job=&cmd_args= 07:56:51 -> Uploading to 07:56:51 https://storage.googleapis.com/codecov/v4/raw/2021-02-02/7E55EF52A471D76F132DFD9A03CDDE97/583d86123c274110cf062250fdbdaf3d8e054e54/054749b5-a0a5-4a48-86ef-143220a963bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210202%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210202T075651Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4719a85a94cdca2b814f3390b9627b49b74f872dc69c83d0ac18422e5b122e31 07:56:51 % Total % Received % Xferd Average Speed Time Time Time Current 07:56:51 Dload Upload Total Spent Left Speed 07:56:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 15203 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15203 0 0 100 15203 0 24755 --:--:-- --:--:-- --:--:-- 24760 07:56:52 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/583d86123c274110cf062250fdbdaf3d8e054e54 [Pipeline] } 07:56:52 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 07:56:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:56:56 ---> package-listing.sh 07:56:56 ++ facter osfamily 07:56:56 ++ tr '[:upper:]' '[:lower:]' 07:56:56 + OS_FAMILY=redhat 07:56:56 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-768 07:56:56 + START_PACKAGES=/tmp/packages_start.txt 07:56:56 + END_PACKAGES=/tmp/packages_end.txt 07:56:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:56:56 + PACKAGES=/tmp/packages_start.txt 07:56:56 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-768 ']' 07:56:56 + PACKAGES=/tmp/packages_end.txt 07:56:56 + case "${OS_FAMILY}" in 07:56:56 + rpm -qa 07:56:56 + sort 07:57:03 + '[' -f /tmp/packages_start.txt ']' 07:57:03 + '[' -f /tmp/packages_end.txt ']' 07:57:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:57:03 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-768 ']' 07:57:03 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-768/archives/ 07:57:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-768/archives/ [Pipeline] echo 07:57:03 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-768/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 07:57:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 07:57:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:57:04 07:57:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 07:57:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:57:05 alpine: Pulling from edgex-lftools-log-publisher 07:57:05 df20fa9351a1: Pulling fs layer 07:57:05 36b3adc4ff6f: Pulling fs layer 07:57:05 8ad3a11d3b57: Pulling fs layer 07:57:05 46f8f816bc3b: Pulling fs layer 07:57:05 93b61091891f: Pulling fs layer 07:57:05 93b9cdb0e59b: Pulling fs layer 07:57:05 5e14af77c1be: Pulling fs layer 07:57:05 01666e4c0597: Pulling fs layer 07:57:05 aa168da1d23b: Pulling fs layer 07:57:05 46f8f816bc3b: Waiting 07:57:05 93b61091891f: Waiting 07:57:05 93b9cdb0e59b: Waiting 07:57:05 01666e4c0597: Waiting 07:57:05 aa168da1d23b: Waiting 07:57:05 5e14af77c1be: Waiting 07:57:05 36b3adc4ff6f: Verifying Checksum 07:57:05 36b3adc4ff6f: Download complete 07:57:05 46f8f816bc3b: Verifying Checksum 07:57:05 46f8f816bc3b: Download complete 07:57:05 df20fa9351a1: Verifying Checksum 07:57:05 93b9cdb0e59b: Verifying Checksum 07:57:05 93b9cdb0e59b: Download complete 07:57:06 5e14af77c1be: Verifying Checksum 07:57:06 5e14af77c1be: Download complete 07:57:06 93b61091891f: Verifying Checksum 07:57:06 93b61091891f: Download complete 07:57:06 01666e4c0597: Verifying Checksum 07:57:06 01666e4c0597: Download complete 07:57:06 df20fa9351a1: Pull complete 07:57:06 36b3adc4ff6f: Pull complete 07:57:06 8ad3a11d3b57: Verifying Checksum 07:57:06 8ad3a11d3b57: Download complete 07:57:08 8ad3a11d3b57: Pull complete 07:57:08 46f8f816bc3b: Pull complete 07:57:09 93b61091891f: Pull complete 07:57:09 93b9cdb0e59b: Pull complete 07:57:10 5e14af77c1be: Pull complete 07:57:10 01666e4c0597: Pull complete 07:57:12 aa168da1d23b: Download complete 07:57:24 aa168da1d23b: Pull complete 07:57:24 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 07:57:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 07:57:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 07:57:25 prd-centos7-docker-4c-2g-24553 does not seem to be running inside a container 07:57:25 $ 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-768/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-768 -v /w/workspace/dgexfoundry_device-sdk-go_PR-768:/w/workspace/dgexfoundry_device-sdk-go_PR-768:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 07:57:29 $ docker top dca85b01ed3e1bccb29273dd4baceccb1ca66f2d31d1c6399f818ef1c18f501d -eo pid,comm [Pipeline] { [Pipeline] sh 07:57:30 + touch /tmp/pre-build-complete [Pipeline] sh 07:57:30 + mkdir -p /var/log/sa [Pipeline] sh 07:57:30 + ls /var/log/sa-host 07:57:30 + sadf -c /var/log/sa-host/sa02 07:57:30 file_magic: OK 07:57:30 HZ: Using current value: 100 07:57:30 file_header: OK 07:57:30 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 07:57:30 Statistics: 07:57:30 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 07:57:30 File successfully converted to sysstat format version 12.2.1 07:57:30 + sadf -c /var/log/sa-host/sa23 07:57:30 file_magic: OK 07:57:30 HZ: Using current value: 100 07:57:30 file_header: OK 07:57:30 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 07:57:30 Statistics: 07:57:30 Hnuu...uuuununununu... 07:57:30 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:57:31 provisioning config files... 07:57:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-768@tmp/config7648916425849130628tmp [Pipeline] { [Pipeline] echo 07:57:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:57:31 ---> create-netrc.sh [Pipeline] } 07:57:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 07:57:32 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 07:57:32 ---> python-tools-install.sh [Pipeline] echo 07:57:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:57:32 ---> sudo-logs.sh 07:57:32 Archiving 'sudo' log.. [Pipeline] echo 07:57:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:57:33 ---> job-cost.sh 07:57:33 lf-activate-venv: SKIPPING 07:57:33 INFO: No Stack... 07:57:34 INFO: Retrieving Pricing Info for: v1-standard-2 07:57:34 INFO: Archiving Costs [Pipeline] echo 07:57:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:57:34 ---> logs-deploy.sh 07:57:34 lf-activate-venv: SKIPPING 07:57:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-768/2 07:57:34 INFO: archiving workspace using pattern(s): 07:57:37 Archives upload complete. 07:57:37 INFO: archiving logs to Nexus