Branch indexing 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 gao270615179 for edgexfoundry/device-sdk-go Loading trusted files from base branch master at 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb rather than bb3603909ab1ef3aa492044f3b646f1bb29ba67c Obtained Jenkinsfile from 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 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 b86a95d4aff1c43a521ca3be618780efd0ee2800 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b86a95d4aff1c43a521ca3be618780efd0ee2800 # timeout=10 Commit message: "Update global-jjb to latest" > 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 ‘prd-centos7-docker-4c-2g-15505’ is offline Running on prd-centos7-docker-4c-2g-21492 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [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-732 # 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/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c Merge succeeded, producing 206cdd90e7f57c2b384880b9f580462930fd44c2 Checking out Revision 206cdd90e7f57c2b384880b9f580462930fd44c2 (PR-732) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # 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 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 206cdd90e7f57c2b384880b9f580462930fd44c2 # timeout=10 Commit message: "Merge commit '69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage > git rev-list --no-walk 1204a9500ff0c8c746a195a3f0774d96d98a6e6f # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:41:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:41:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:41:47 ========================================================= 02:41:47 EdgeX Global Pipelines Version Info 02:41:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:41:48 ------------------- 02:41:48 stable info: 02:41:48 ------------------- 02:41:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:48 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:41:48 Message: update stable to v1.0.179 02:41:49 ------------------- 02:41:49 experimental info: 02:41:49 ------------------- 02:41:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:41:49 Commit SHA: 69a7e166112f335804d9fea76440e5140e47f034 02:41:49 Message: update experimental to v1.0.179 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:41:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:41:51 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:41:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 02:41:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:41:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:41:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:41:52 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 02:41:52 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 02:41:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-732 [Pipeline] echo 02:41:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-732 [Pipeline] echo 02:41:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-732 [Pipeline] echo 02:41:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 206cdd90e7f57c2b384880b9f580462930fd44c2 [Pipeline] echo 02:41:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 206cdd9 [Pipeline] echo 02:41:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:41:53 provisioning config files... 02:41:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config3790871771801372996tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:41:53 ---> docker-login.sh 02:41:53 nexus3.edgexfoundry.org:10001 02:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:54 Configure a credential helper to remove this warning. See 02:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:54 02:41:54 Login Succeeded 02:41:54 nexus3.edgexfoundry.org:10002 02:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:54 Configure a credential helper to remove this warning. See 02:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:54 02:41:54 Login Succeeded 02:41:54 nexus3.edgexfoundry.org:10003 02:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:54 Configure a credential helper to remove this warning. See 02:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:54 02:41:54 Login Succeeded 02:41:54 nexus3.edgexfoundry.org:10004 02:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:54 Configure a credential helper to remove this warning. See 02:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:54 02:41:54 Login Succeeded 02:41:54 docker.io 02:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:41:55 Configure a credential helper to remove this warning. See 02:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:41:55 02:41:55 Login Succeeded 02:41:55 ---> docker-login.sh ends [Pipeline] } 02:41:55 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 02:41:56 + git log --format=format:%s -1 206cdd90e7f57c2b384880b9f580462930fd44c2 [Pipeline] echo 02:41:56 GIT_COMMIT: 206cdd90e7f57c2b384880b9f580462930fd44c2, Commit Message: Merge commit '69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb' into HEAD [Pipeline] echo 02:41:56 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 02:41:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:57 02:41:57 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:41:57 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:57 latest: Pulling from edgex-devops/git-semver 02:41:57 31603596830f: Pulling fs layer 02:41:57 2a8b12db71e7: Pulling fs layer 02:41:57 6ca5941a6612: Pulling fs layer 02:41:57 ecc8261a40a4: Pulling fs layer 02:41:57 ecc8261a40a4: Waiting 02:41:57 2a8b12db71e7: Verifying Checksum 02:41:57 2a8b12db71e7: Download complete 02:41:57 31603596830f: Verifying Checksum 02:41:57 31603596830f: Download complete 02:41:57 ecc8261a40a4: Verifying Checksum 02:41:57 ecc8261a40a4: Download complete 02:41:57 6ca5941a6612: Verifying Checksum 02:41:57 6ca5941a6612: Download complete 02:41:58 31603596830f: Pull complete 02:41:58 2a8b12db71e7: Pull complete 02:41:59 6ca5941a6612: Pull complete 02:41:59 ecc8261a40a4: Pull complete 02:41:59 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 02:41:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:41:59 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:41:59 prd-centos7-docker-4c-2g-21492 does not seem to be running inside a container 02:41:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:42:01 $ docker top 5edbbca5913592f32dc2db448a1158e90fb2fb2aaeea326d6004f21d9a7af459 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:42:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:01 [ssh-agent] Looking for ssh-agent implementation... 02:42:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:01 $ docker exec 5edbbca5913592f32dc2db448a1158e90fb2fb2aaeea326d6004f21d9a7af459 ssh-agent 02:42:02 SSH_AUTH_SOCK=/tmp/ssh-WeCDbCGwy8CP/agent.11 02:42:02 SSH_AGENT_PID=17 02:42:02 Running ssh-add (command line suppressed) 02:42:02 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_540482270031280914.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_540482270031280914.key) 02:42:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:02 + git tag --points-at HEAD [Pipeline] } 02:42:02 $ docker exec --env ******** --env ******** 5edbbca5913592f32dc2db448a1158e90fb2fb2aaeea326d6004f21d9a7af459 ssh-agent -k 02:42:02 unset SSH_AUTH_SOCK; 02:42:02 unset SSH_AGENT_PID; 02:42:02 echo Agent pid 17 killed; 02:42:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:42:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:42:03 [ssh-agent] Looking for ssh-agent implementation... 02:42:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:42:03 $ docker exec 5edbbca5913592f32dc2db448a1158e90fb2fb2aaeea326d6004f21d9a7af459 ssh-agent 02:42:03 SSH_AUTH_SOCK=/tmp/ssh-YEM3zHBuWc5k/agent.45 02:42:03 SSH_AGENT_PID=50 02:42:03 Running ssh-add (command line suppressed) 02:42:03 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_291769051675897332.key (/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/private_key_291769051675897332.key) 02:42:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:42:03 + git semver init 02:42:03 # -> Open(): unable to determine branch for HEAD 02:42:03 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.git 02:42:03 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-732 02:42:03 # $SEMVER_REMOTE_NAME = origin 02:42:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:42:03 # $SEMVER_USER_NAME = edgex-jenkins 02:42:03 # $SEMVER_BRANCH = PR-732 02:42:03 # $SEMVER_TEMP = /tmp/semver-465187926 02:42:03 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:42:04 # '/tmp/semver-465187926' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver' 02:42:04 # -> Force: false 02:42:04 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-732/.semver [Pipeline] } 02:42:04 $ docker exec --env ******** --env ******** 5edbbca5913592f32dc2db448a1158e90fb2fb2aaeea326d6004f21d9a7af459 ssh-agent -k 02:42:05 unset SSH_AUTH_SOCK; 02:42:05 unset SSH_AGENT_PID; 02:42:05 echo Agent pid 50 killed; 02:42:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:42:05 + git semver [Pipeline] } 02:42:05 $ docker stop --time=1 5edbbca5913592f32dc2db448a1158e90fb2fb2aaeea326d6004f21d9a7af459 02:42:07 $ docker rm -f 5edbbca5913592f32dc2db448a1158e90fb2fb2aaeea326d6004f21d9a7af459 [Pipeline] // withDockerContainer [Pipeline] sh 02:42:08 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:42:08 Stashed 1 file(s) [Pipeline] echo 02:42:08 [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 02:42:24 Still waiting to schedule task 02:42:24 ‘prd-centos7-builder-2c-1g-20773’ doesn’t have label ‘centos7-docker-4c-2g’; ‘prd-centos7-docker-4c-2g-15505’ is offline; ‘prd-centos7-docker-4c-2g-21493’ is offline; ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ doesn’t have label ‘centos7-docker-4c-2g’ 02:42:24 Still waiting to schedule task 02:42:24 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 02:43:57 Running on prd-ubuntu18.04-docker-arm64-4c-16g-21494 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:43:57 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 02:44:00 Running on prd-centos7-docker-4c-2g-21495 in /w/workspace/dgexfoundry_device-sdk-go_PR-732 [Pipeline] { [Pipeline] ws 02:44:01 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 02:44:02 using credential edgex-jenkins-ssh 02:44:02 Cloning the remote Git repository 02:44:03 using credential edgex-jenkins-ssh 02:44:03 Cloning the remote Git repository 02:44:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:03 > git init /w/workspace/device-sdk-go/5 # timeout=10 02:44:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:03 > git --version # timeout=10 02:44:03 > git --version # 'git version 2.17.1' 02:44:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:03 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:44:03 > git init /w/workspace/device-sdk-go/5 # timeout=10 02:44:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:03 > git --version # timeout=10 02:44:03 > git --version # 'git version 2.24.3' 02:44:03 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:05 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:44:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:44:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:44:04 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/732/head:refs/remotes/origin/PR-732 +refs/heads/master:refs/remotes/origin/master # timeout=10 02:44:05 Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:44:05 Merge succeeded, producing 4342498561a959dc15ac013a3fcbed0228234430 02:44:05 Checking out Revision 4342498561a959dc15ac013a3fcbed0228234430 (PR-732) 02:44:05 Merging remotes/origin/master commit 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb into PR head commit bb3603909ab1ef3aa492044f3b646f1bb29ba67c 02:44:06 Merge succeeded, producing 6351c41cd400d9c6af8a689e1839d27bcd78a878 02:44:06 Checking out Revision 6351c41cd400d9c6af8a689e1839d27bcd78a878 (PR-732) 02:44:05 > git config core.sparsecheckout # timeout=10 02:44:05 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:44:05 > git remote # timeout=10 02:44:05 > git config --get remote.origin.url # timeout=10 02:44:05 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:05 > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 02:44:05 > git rev-parse HEAD^{commit} # timeout=10 02:44:05 > git config core.sparsecheckout # timeout=10 02:44:05 > git checkout -f 4342498561a959dc15ac013a3fcbed0228234430 # timeout=10 02:44:05 > git config core.sparsecheckout # timeout=10 02:44:05 > git checkout -f bb3603909ab1ef3aa492044f3b646f1bb29ba67c # timeout=10 02:44:06 > git remote # timeout=10 02:44:06 > git config --get remote.origin.url # timeout=10 02:44:06 using GIT_SSH to set credentials SSH Credentials for GitHub 02:44:06 > git merge 69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb # timeout=10 02:44:06 > git rev-parse HEAD^{commit} # timeout=10 02:44:06 > git config core.sparsecheckout # timeout=10 02:44:06 > git checkout -f 6351c41cd400d9c6af8a689e1839d27bcd78a878 # timeout=10 02:44:09 Commit message: "Merge commit '69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb' into HEAD" 02:44:09 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:44:08 > git rev-list --no-walk 1204a9500ff0c8c746a195a3f0774d96d98a6e6f # timeout=10 02:44:10 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 02:44:10 Commit message: "Merge commit '69f04b7fdf1dcdf1d7249d6f4cf0fd5d90d15cbb' into HEAD" 02:44:10 First time build. Skipping changelog. 02:44:10 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:10 + sudo service docker restart 02:44:10 + true 02:44:10 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 02:44:10 > git rev-list --no-walk 1204a9500ff0c8c746a195a3f0774d96d98a6e6f # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 02:44:12 provisioning config files... 02:44:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config3789629457243412124tmp [Pipeline] { [Pipeline] libraryResource 02:44:12 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh [Pipeline] sh 02:44:12 ---> docker-login.sh 02:44:12 nexus3.edgexfoundry.org:10001 02:44:12 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 02:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:12 Configure a credential helper to remove this warning. See 02:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:12 02:44:12 Login Succeeded 02:44:12 nexus3.edgexfoundry.org:10002 02:44:12 + true 02:44:12 + sudo service docker restart 02:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:12 Configure a credential helper to remove this warning. See 02:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:12 02:44:12 Login Succeeded 02:44:12 nexus3.edgexfoundry.org:10003 02:44:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:12 Configure a credential helper to remove this warning. See 02:44:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:12 02:44:12 Login Succeeded 02:44:12 nexus3.edgexfoundry.org:10004 02:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:13 Configure a credential helper to remove this warning. See 02:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:13 02:44:13 Login Succeeded 02:44:13 docker.io 02:44:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:13 Configure a credential helper to remove this warning. See 02:44:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:13 02:44:13 Login Succeeded 02:44:13 ---> docker-login.sh ends [Pipeline] } 02:44:13 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:14 ========================================================= 02:44:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 02:44:14 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:14 + 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 . 02:44:14 Sending build context to Docker daemon 2.566MB 02:44:14 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:14 Step 2/8 : FROM ${BASE} 02:44:14 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 02:44:14 188c0c94c7c5: Pulling fs layer 02:44:14 0ef7d3d256c8: Pulling fs layer 02:44:14 de9db76c5a1d: Pulling fs layer 02:44:14 bca2f99d35d6: Pulling fs layer 02:44:14 93359f2a8cfa: Pulling fs layer 02:44:14 7c6f9722023f: Pulling fs layer 02:44:14 a35cf1a2eb13: Pulling fs layer 02:44:14 bca2f99d35d6: Waiting 02:44:14 7c6f9722023f: Waiting 02:44:14 a35cf1a2eb13: Waiting 02:44:14 93359f2a8cfa: Waiting 02:44:14 de9db76c5a1d: Verifying Checksum 02:44:14 de9db76c5a1d: Download complete 02:44:14 0ef7d3d256c8: Download complete 02:44:14 93359f2a8cfa: Download complete 02:44:14 188c0c94c7c5: Verifying Checksum 02:44:14 188c0c94c7c5: Download complete 02:44:14 7c6f9722023f: Verifying Checksum 02:44:14 7c6f9722023f: Download complete [Pipeline] withEnv [Pipeline] { 02:44:14 188c0c94c7c5: Pull complete 02:44:14 0ef7d3d256c8: Pull complete [Pipeline] wrap 02:44:15 provisioning config files... 02:44:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config5690920955359391083tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:44:15 de9db76c5a1d: Pull complete 02:44:15 ---> docker-login.sh 02:44:15 nexus3.edgexfoundry.org:10001 02:44:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:16 Configure a credential helper to remove this warning. See 02:44:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:16 02:44:16 Login Succeeded 02:44:16 nexus3.edgexfoundry.org:10002 02:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:17 a35cf1a2eb13: Verifying Checksum 02:44:17 a35cf1a2eb13: Download complete 02:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:17 Configure a credential helper to remove this warning. See 02:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:17 02:44:17 Login Succeeded 02:44:17 nexus3.edgexfoundry.org:10003 02:44:17 bca2f99d35d6: Verifying Checksum 02:44:17 bca2f99d35d6: Download complete 02:44:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:17 Configure a credential helper to remove this warning. See 02:44:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:17 02:44:17 Login Succeeded 02:44:17 nexus3.edgexfoundry.org:10004 02:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:18 Configure a credential helper to remove this warning. See 02:44:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:18 02:44:18 Login Succeeded 02:44:18 docker.io 02:44:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:44:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:44:19 Configure a credential helper to remove this warning. See 02:44:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:44:19 02:44:19 Login Succeeded 02:44:19 ---> docker-login.sh ends [Pipeline] } 02:44:19 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:44:19 ========================================================= 02:44:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 02:44:19 ========================================================= [Pipeline] isUnix [Pipeline] sh 02:44:20 + 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 . 02:44:20 Sending build context to Docker daemon 2.565MB 02:44:20 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 02:44:20 Step 2/8 : FROM ${BASE} 02:44:20 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:44:20 5f621e34cdf4: Pulling fs layer 02:44:20 a4357932f1b6: Pulling fs layer 02:44:20 18c013af1878: Pulling fs layer 02:44:20 00ac8860ef70: Pulling fs layer 02:44:20 63d7cb157983: Pulling fs layer 02:44:20 b116817d02f9: Pulling fs layer 02:44:20 745a02a5169b: Pulling fs layer 02:44:20 00ac8860ef70: Waiting 02:44:20 63d7cb157983: Waiting 02:44:20 b116817d02f9: Waiting 02:44:20 745a02a5169b: Waiting 02:44:20 18c013af1878: Download complete 02:44:20 a4357932f1b6: Verifying Checksum 02:44:20 a4357932f1b6: Download complete 02:44:20 63d7cb157983: Verifying Checksum 02:44:20 63d7cb157983: Download complete 02:44:20 b116817d02f9: Verifying Checksum 02:44:20 b116817d02f9: Download complete 02:44:21 5f621e34cdf4: Verifying Checksum 02:44:21 5f621e34cdf4: Download complete 02:44:21 5f621e34cdf4: Pull complete 02:44:22 a4357932f1b6: Pull complete 02:44:22 18c013af1878: Pull complete 02:44:22 bca2f99d35d6: Pull complete 02:44:22 93359f2a8cfa: Pull complete 02:44:22 7c6f9722023f: Pull complete 02:44:23 745a02a5169b: Verifying Checksum 02:44:23 745a02a5169b: Download complete 02:44:24 00ac8860ef70: Verifying Checksum 02:44:24 00ac8860ef70: Download complete 02:44:30 a35cf1a2eb13: Pull complete 02:44:30 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 02:44:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 02:44:30 ---> a62c8e92a672 02:44:30 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:30 ---> Running in 9500ddeb9275 02:44:31 Removing intermediate container 9500ddeb9275 02:44:31 ---> f17482d7f60f 02:44:31 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:31 ---> Running in 1a0cf9a3a7ce 02:44:32 Removing intermediate container 1a0cf9a3a7ce 02:44:32 ---> 50059ceec3c5 02:44:32 Step 5/8 : RUN apk add --update --no-cache make git 02:44:32 ---> Running in 20df14e3f511 02:44:33 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:44:34 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:44:34 00ac8860ef70: Pull complete 02:44:34 63d7cb157983: Pull complete 02:44:34 OK: 166 MiB in 39 packages 02:44:34 b116817d02f9: Pull complete 02:44:35 Removing intermediate container 20df14e3f511 02:44:35 ---> d253aefa123b 02:44:35 Step 6/8 : WORKDIR /device-sdk-go 02:44:35 ---> Running in 3b5a2b648a5f 02:44:35 Removing intermediate container 3b5a2b648a5f 02:44:35 ---> 4676747ef4ea 02:44:35 Step 7/8 : COPY . . 02:44:36 ---> 28ffa9866add 02:44:36 Step 8/8 : RUN go mod download 02:44:36 ---> Running in ef59125fc5db 02:44:39 745a02a5169b: Pull complete 02:44:39 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 02:44:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 02:44:39 ---> b7e6874047d6 02:44:39 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:44:41 ---> Running in 7991da5523d2 02:44:41 Removing intermediate container 7991da5523d2 02:44:41 ---> bb0cf0223c52 02:44:41 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:44:41 ---> Running in 8f218f8c232f 02:44:43 Removing intermediate container 8f218f8c232f 02:44:43 ---> d1534b5a3eca 02:44:43 Step 5/8 : RUN apk add --update --no-cache make git 02:44:44 ---> Running in 14517e98d043 02:44:45 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:44:45 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:44:46 OK: 142 MiB in 39 packages 02:44:47 Removing intermediate container 14517e98d043 02:44:47 ---> 8149a56f5aa5 02:44:47 Step 6/8 : WORKDIR /device-sdk-go 02:44:48 ---> Running in 136eb96b86f6 02:44:48 Removing intermediate container 136eb96b86f6 02:44:48 ---> 2be9e8ae6a59 02:44:48 Step 7/8 : COPY . . 02:44:50 ---> 858e8e6867f8 02:44:50 Step 8/8 : RUN go mod download 02:44:50 ---> Running in b390e3b7e77c 02:44:54 Removing intermediate container ef59125fc5db 02:44:54 ---> ef51463614c5 02:44:54 Successfully built ef51463614c5 02:44:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:44:55 + docker inspect -f . ci-base-image-x86_64 02:44:55 . [Pipeline] withDockerContainer 02:44:55 prd-centos7-docker-4c-2g-21495 does not seem to be running inside a container 02:44:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:56 $ docker top 0fa5b869fd5089e99ae6a04ec8caa64acbf634fe8ad6df59a09c6d5d17b01aa0 -eo pid,comm [Pipeline] { [Pipeline] sh 02:44:56 + go version 02:44:56 go version go1.15.5 linux/amd64 [Pipeline] } 02:44:56 $ docker stop --time=1 0fa5b869fd5089e99ae6a04ec8caa64acbf634fe8ad6df59a09c6d5d17b01aa0 02:44:58 $ docker rm -f 0fa5b869fd5089e99ae6a04ec8caa64acbf634fe8ad6df59a09c6d5d17b01aa0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:44:59 + docker inspect -f . ci-base-image-x86_64 02:44:59 . [Pipeline] withDockerContainer 02:44:59 prd-centos7-docker-4c-2g-21495 does not seem to be running inside a container 02:44:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:44:59 $ docker top 69fae2b93e52b259919175066d7d9857304b399bdbb63a51f432f286109dc03d -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:00 + make test 02:45:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:06 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:45:12 Removing intermediate container b390e3b7e77c 02:45:12 ---> 25f5c532e645 02:45:12 Successfully built 25f5c532e645 02:45:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:45:12 + docker inspect -f . ci-base-image-arm64 02:45:12 . [Pipeline] withDockerContainer 02:45:12 prd-ubuntu18.04-docker-arm64-4c-16g-21494 does not seem to be running inside a container 02:45:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:14 $ docker top 12b5bab180c0b87d6cb0038f517193faffc75de0cb343931ec4435cdca5a894e -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:15 + go version 02:45:15 go version go1.15.5 linux/arm64 [Pipeline] } 02:45:15 $ docker stop --time=1 12b5bab180c0b87d6cb0038f517193faffc75de0cb343931ec4435cdca5a894e 02:45:17 $ docker rm -f 12b5bab180c0b87d6cb0038f517193faffc75de0cb343931ec4435cdca5a894e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:45:18 + docker inspect -f . ci-base-image-arm64 02:45:18 . [Pipeline] withDockerContainer 02:45:18 prd-ubuntu18.04-docker-arm64-4c-16g-21494 does not seem to be running inside a container 02:45:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:45:20 $ docker top eb9d2d07480bb10f3bf8fa56058ace2891aa8adb8e5ed89e68b9ba1ca680149d -eo pid,comm [Pipeline] { [Pipeline] sh 02:45:21 + make test 02:45:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:45:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:45:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:45:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:45:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 19.4% of statements 02:45:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.444s coverage: 97.1% of statements 02:45:43 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.060s coverage: 9.4% of statements 02:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.047s coverage: 21.7% of statements 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.221s coverage: 43.2% of statements 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.255s coverage: 66.5% of statements 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.077s coverage: 53.8% of statements 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.066s coverage: 26.8% of statements 02:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.292s coverage: 68.9% of statements 02:45:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.046s coverage: 4.2% of statements 02:45:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:45:51 GO111MODULE=on go vet ./... 02:46:02 gofmt -l . 02:46:02 [ "`gofmt -l .`" = "" ] 02:46:02 ./bin/test-attribution-txt.sh 02:46:02 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:46:02 $ docker stop --time=1 69fae2b93e52b259919175066d7d9857304b399bdbb63a51f432f286109dc03d 02:46:04 $ docker rm -f 69fae2b93e52b259919175066d7d9857304b399bdbb63a51f432f286109dc03d [Pipeline] // withDockerContainer [Pipeline] sh 02:46:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:46:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:08 + ls -al . 02:46:08 total 224 02:46:08 drwxrwxr-x. 10 jenkins jenkins 4096 Jan 20 02:46 . 02:46:08 drwxrwxr-x. 4 jenkins jenkins 28 Jan 20 02:44 .. 02:46:08 drwxrwxr-x. 2 jenkins jenkins 64 Jan 20 02:44 bin 02:46:08 -rw-r--r--. 1 jenkins jenkins 144509 Jan 20 02:45 coverage.out 02:46:08 -rw-rw-r--. 1 jenkins jenkins 949 Jan 20 02:44 Dockerfile.build 02:46:08 -rw-rw-r--. 1 jenkins jenkins 140 Jan 20 02:44 .dockerignore 02:46:08 drwxrwxr-x. 4 jenkins jenkins 48 Jan 20 02:44 example 02:46:08 drwxrwxr-x. 8 jenkins jenkins 179 Jan 20 02:44 .git 02:46:08 drwxrwxr-x. 2 jenkins jenkins 103 Jan 20 02:44 .github 02:46:08 -rw-rw-r--. 1 jenkins jenkins 138 Jan 20 02:44 .gitignore 02:46:08 -rw-r--r--. 1 jenkins jenkins 491 Jan 20 02:46 go.mod 02:46:08 -rw-r--r--. 1 jenkins jenkins 14124 Jan 20 02:46 go.sum 02:46:08 drwxrwxr-x. 15 jenkins jenkins 211 Jan 20 02:44 internal 02:46:08 -rw-rw-r--. 1 jenkins jenkins 901 Jan 20 02:44 Jenkinsfile 02:46:08 -rw-rw-r--. 1 jenkins jenkins 11341 Jan 20 02:44 LICENSE 02:46:08 -rw-rw-r--. 1 jenkins jenkins 1016 Jan 20 02:44 Makefile 02:46:08 drwxrwxr-x. 4 jenkins jenkins 26 Jan 20 02:44 openapi 02:46:08 drwxrwxr-x. 5 jenkins jenkins 50 Jan 20 02:44 pkg 02:46:08 -rw-rw-r--. 1 jenkins jenkins 5897 Jan 20 02:44 README.md 02:46:08 -rw-rw-r--. 1 jenkins jenkins 6616 Jan 20 02:44 RELEASE-NOTES.txt 02:46:08 drwxrwxr-x. 4 jenkins jenkins 54 Jan 20 02:44 snap 02:46:08 -rw-rw-r--. 1 jenkins jenkins 5 Jan 20 02:42 VERSION 02:46:08 -rw-rw-r--. 1 jenkins jenkins 222 Jan 20 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:46:09 + 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=206cdd90e7f57c2b384880b9f580462930fd44c2 --label arch=amd64 --label version=0.0.0 . 02:46:09 Sending build context to Docker daemon 2.712MB 02:46:09 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:46:09 Step 2/24 : FROM ${BASE} AS builder 02:46:09 ---> ef51463614c5 02:46:09 Step 3/24 : ARG MAKE='make build' 02:46:09 ---> Running in 7c0e28c47ebe 02:46:09 Removing intermediate container 7c0e28c47ebe 02:46:09 ---> 47b4644cf7a3 02:46:09 Step 4/24 : WORKDIR /device-sdk-go 02:46:10 ---> Running in 8747b6ebeaad 02:46:10 Removing intermediate container 8747b6ebeaad 02:46:10 ---> 6e5ed6ba18ae 02:46:10 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:10 ---> Running in 81afc06a47c3 02:46:10 Removing intermediate container 81afc06a47c3 02:46:10 ---> aa9223c326a1 02:46:10 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:10 ---> Running in c136abc275aa 02:46:11 Removing intermediate container c136abc275aa 02:46:11 ---> ae889144d8d0 02:46:11 Step 7/24 : RUN apk add --update --no-cache make git 02:46:11 ---> Running in c08f05de30b9 02:46:12 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 02:46:12 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 02:46:14 OK: 166 MiB in 39 packages 02:46:14 Removing intermediate container c08f05de30b9 02:46:14 ---> 7df5ed4c9807 02:46:14 Step 8/24 : COPY . . 02:46:15 ---> 0c41772d3019 02:46:15 Step 9/24 : RUN ${MAKE} 02:46:15 ---> Running in e4f44ad83115 02:46:16 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 02:46:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:46:22 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:46:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:46:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.149s coverage: 19.4% of statements 02:46:24 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:46:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 1.237s coverage: 97.1% of statements 02:46:26 Removing intermediate container e4f44ad83115 02:46:26 ---> 2187870fd620 02:46:26 Step 10/24 : FROM scratch 02:46:26 ---> 02:46:26 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:26 ---> Running in e177f3916796 02:46:26 Removing intermediate container e177f3916796 02:46:26 ---> 2748d8a92448 02:46:26 Step 12/24 : ENV APP_PORT=49990 02:46:26 ---> Running in ade40c7e242a 02:46:26 Removing intermediate container ade40c7e242a 02:46:26 ---> d2784c3197f2 02:46:26 Step 13/24 : EXPOSE $APP_PORT 02:46:26 ---> Running in f89de8f6dfdc 02:46:26 Removing intermediate container f89de8f6dfdc 02:46:26 ---> 94ea06261b88 02:46:26 Step 14/24 : WORKDIR / 02:46:26 ---> Running in 356308a5c6da 02:46:27 Removing intermediate container 356308a5c6da 02:46:27 ---> 1882d939ec67 02:46:27 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:46:27 ---> afa0e07e812c 02:46:27 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:46:27 ---> 006796b1a4ec 02:46:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:46:27 ---> fb8ad11055e0 02:46:27 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:46:28 ---> f76294d5df0b 02:46:28 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:46:28 ---> 7103bc496875 02:46:28 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:46:28 ---> Running in fc0c59169971 02:46:28 Removing intermediate container fc0c59169971 02:46:28 ---> fbc5e3397834 02:46:28 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:46:28 ---> Running in 395e8a4db5b9 02:46:28 Removing intermediate container 395e8a4db5b9 02:46:28 ---> 3a9a0540ffae 02:46:28 Step 22/24 : LABEL arch=amd64 02:46:28 ---> Running in bd92d19eb36c 02:46:29 Removing intermediate container bd92d19eb36c 02:46:29 ---> bbde869411d8 02:46:29 Step 23/24 : LABEL git_sha=206cdd90e7f57c2b384880b9f580462930fd44c2 02:46:29 ---> Running in ce6f0696ad9c 02:46:29 Removing intermediate container ce6f0696ad9c 02:46:29 ---> c87e50159e0f 02:46:29 Step 24/24 : LABEL version=0.0.0 02:46:29 ---> Running in 03ab516ea078 02:46:30 Removing intermediate container 03ab516ea078 02:46:30 ---> c5cb49b14ea4 02:46:30 [Warning] One or more build-args [ARCH] were not consumed 02:46:30 Successfully built c5cb49b14ea4 02:46:30 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] } 02:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 30.146s coverage: 9.4% of statements 02:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.128s coverage: 21.7% of statements 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller 0.585s coverage: 43.2% of statements 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/correlation [no test files] 02:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/handler 0.780s coverage: 66.5% of statements 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/handler/callback [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/mock [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.209s coverage: 53.8% of statements 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/application [no test files] 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/v2/cache [no test files] 02:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/v2/controller/http 0.185s coverage: 26.8% of statements 02:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.649s coverage: 68.9% of statements 02:46:58 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.150s coverage: 4.2% of statements 02:46:58 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:46:58 GO111MODULE=on go vet ./... 02:47:31 gofmt -l . 02:47:31 [ "`gofmt -l .`" = "" ] 02:47:31 ./bin/test-attribution-txt.sh 02:47:31 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:47:31 $ docker stop --time=1 eb9d2d07480bb10f3bf8fa56058ace2891aa8adb8e5ed89e68b9ba1ca680149d 02:47:33 $ docker rm -f eb9d2d07480bb10f3bf8fa56058ace2891aa8adb8e5ed89e68b9ba1ca680149d [Pipeline] // withDockerContainer [Pipeline] sh 02:47:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:47:34 Warning: overwriting stash ‘coverage-report’ 02:47:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:47:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:47:36 + ls -al . 02:47:36 total 260 02:47:36 drwxrwxr-x 10 jenkins jenkins 4096 Jan 20 02:47 . 02:47:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 02:44 .. 02:47:36 -rw-rw-r-- 1 jenkins jenkins 140 Jan 20 02:44 .dockerignore 02:47:36 drwxrwxr-x 8 jenkins jenkins 4096 Jan 20 02:44 .git 02:47:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 02:44 .github 02:47:36 -rw-rw-r-- 1 jenkins jenkins 138 Jan 20 02:44 .gitignore 02:47:36 -rw-rw-r-- 1 jenkins jenkins 949 Jan 20 02:44 Dockerfile.build 02:47:36 -rw-rw-r-- 1 jenkins jenkins 901 Jan 20 02:44 Jenkinsfile 02:47:36 -rw-rw-r-- 1 jenkins jenkins 11341 Jan 20 02:44 LICENSE 02:47:36 -rw-rw-r-- 1 jenkins jenkins 1016 Jan 20 02:44 Makefile 02:47:36 -rw-rw-r-- 1 jenkins jenkins 5897 Jan 20 02:44 README.md 02:47:36 -rw-rw-r-- 1 jenkins jenkins 6616 Jan 20 02:44 RELEASE-NOTES.txt 02:47:36 -rw-rw-r-- 1 jenkins jenkins 5 Jan 20 02:42 VERSION 02:47:36 drwxrwxr-x 2 jenkins jenkins 4096 Jan 20 02:44 bin 02:47:36 -rw-r--r-- 1 jenkins jenkins 144509 Jan 20 02:46 coverage.out 02:47:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 02:44 example 02:47:36 -rw-r--r-- 1 jenkins jenkins 491 Jan 20 02:47 go.mod 02:47:36 -rw-r--r-- 1 jenkins jenkins 14124 Jan 20 02:47 go.sum 02:47:36 drwxrwxr-x 15 jenkins jenkins 4096 Jan 20 02:44 internal 02:47:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 02:44 openapi 02:47:36 drwxrwxr-x 5 jenkins jenkins 4096 Jan 20 02:44 pkg 02:47:36 drwxrwxr-x 4 jenkins jenkins 4096 Jan 20 02:44 snap 02:47:36 -rw-rw-r-- 1 jenkins jenkins 222 Jan 20 02:44 version.go [Pipeline] isUnix [Pipeline] sh 02:47:36 + 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=206cdd90e7f57c2b384880b9f580462930fd44c2 --label arch=arm64 --label version=0.0.0 . 02:47:37 Sending build context to Docker daemon 2.711MB 02:47:37 Step 1/24 : ARG BASE=golang:1.15-alpine3.12 02:47:37 Step 2/24 : FROM ${BASE} AS builder 02:47:37 ---> 25f5c532e645 02:47:37 Step 3/24 : ARG MAKE='make build' 02:47:37 ---> Running in ed828e0129cc 02:47:38 Removing intermediate container ed828e0129cc 02:47:38 ---> 1965cb4f9c3e 02:47:38 Step 4/24 : WORKDIR /device-sdk-go 02:47:38 ---> Running in 9ca32dcb6ba3 02:47:38 Removing intermediate container 9ca32dcb6ba3 02:47:38 ---> 041bbf3980e2 02:47:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:47:38 ---> Running in 1f865a3445b1 02:47:39 Removing intermediate container 1f865a3445b1 02:47:39 ---> 3ade7a4f141f 02:47:39 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:47:39 ---> Running in 050175497d02 02:47:41 Removing intermediate container 050175497d02 02:47:41 ---> 9f7bdab56b00 02:47:41 Step 7/24 : RUN apk add --update --no-cache make git 02:47:41 ---> Running in 5e3201830ec6 02:47:42 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 02:47:43 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 02:47:44 OK: 142 MiB in 39 packages 02:47:45 Removing intermediate container 5e3201830ec6 02:47:45 ---> 276243fef9dd 02:47:45 Step 8/24 : COPY . . 02:47:47 ---> f3fe4f7ca21b 02:47:47 Step 9/24 : RUN ${MAKE} 02:47:47 ---> Running in 553e04d51a28 02:47:48 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 02:48:15 CGO_ENABLED=0 GO111MODULE=on go install -tags=safe 02:48:15 Removing intermediate container 553e04d51a28 02:48:15 ---> 0a1538f676b7 02:48:15 Step 10/24 : FROM scratch 02:48:15 ---> 02:48:15 Step 11/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:15 ---> Running in c16c3ea8f883 02:48:15 Removing intermediate container c16c3ea8f883 02:48:15 ---> 0035eea3355d 02:48:15 Step 12/24 : ENV APP_PORT=49990 02:48:16 ---> Running in da5f3d290447 02:48:16 Removing intermediate container da5f3d290447 02:48:16 ---> 3301b5006266 02:48:16 Step 13/24 : EXPOSE $APP_PORT 02:48:16 ---> Running in a2437be66396 02:48:17 Removing intermediate container a2437be66396 02:48:17 ---> 35a0f00bb7c1 02:48:17 Step 14/24 : WORKDIR / 02:48:17 ---> Running in 5e9b99f23a3a 02:48:17 Removing intermediate container 5e9b99f23a3a 02:48:17 ---> 5cca18b210d4 02:48:17 Step 15/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /usr/local/bin/device-simple 02:48:19 ---> 978925d07e1a 02:48:19 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/configuration.toml /res/configuration.toml 02:48:19 ---> 2bf48c9c1ee5 02:48:19 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/Simple-Driver.yaml /res/Simple-Driver.yaml 02:48:20 ---> c930980262d5 02:48:20 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/on.png /res/on.png 02:48:21 ---> dc2cc065154d 02:48:21 Step 19/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/off.jpg /res/off.jpg 02:48:21 ---> d343ab9fef02 02:48:21 Step 20/24 : ENTRYPOINT ["/usr/local/bin/device-simple"] 02:48:21 ---> Running in d4462885b353 02:48:22 Removing intermediate container d4462885b353 02:48:22 ---> 87264909be36 02:48:22 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:22 ---> Running in 4a642eebaf6a 02:48:23 Removing intermediate container 4a642eebaf6a 02:48:23 ---> 2582d1b2a9b9 02:48:23 Step 22/24 : LABEL arch=arm64 02:48:23 ---> Running in d1bd1fd23e61 02:48:23 Removing intermediate container d1bd1fd23e61 02:48:23 ---> 6cc9e7b94684 02:48:23 Step 23/24 : LABEL git_sha=206cdd90e7f57c2b384880b9f580462930fd44c2 02:48:23 ---> Running in 2d90a924bb29 02:48:24 Removing intermediate container 2d90a924bb29 02:48:24 ---> 1646a3d25485 02:48:24 Step 24/24 : LABEL version=0.0.0 02:48:24 ---> Running in cc68e063bd4c 02:48:24 Removing intermediate container cc68e063bd4c 02:48:24 ---> 35679049ee9a 02:48:24 [Warning] One or more build-args [ARCH] were not consumed 02:48:24 Successfully built 35679049ee9a 02:48:24 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 02:48:26 provisioning config files... 02:48:26 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config9118626502286497687tmp [Pipeline] { [Pipeline] sh 02:48:26 + set +x 02:48:26 + curl -s https://codecov.io/bash 02:48:26 + bash -s -- 02:48:27 02:48:27 _____ _ 02:48:27 / ____| | | 02:48:27 | | ___ __| | ___ ___ _____ __ 02:48:27 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:48:27 | |___| (_) | (_| | __/ (_| (_) \ V / 02:48:27 \_____\___/ \__,_|\___|\___\___/ \_/ 02:48:27 Bash-20210115-cec3c92 02:48:27 02:48:27 02:48:27 ==> git version 2.24.3 found 02:48:27 ==> 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 02:48:27 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:48:27 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:48:27 ==> Jenkins CI detected. 02:48:27 project root: . 02:48:27 --> token set from env 02:48:27 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:48:27 ==> Running gcov in . (disable via -X gcov) 02:48:27 ==> Python coveragepy not found 02:48:27 ==> Searching for coverage reports in: 02:48:27 + . 02:48:27 -> Found 1 reports 02:48:27 ==> Detecting git/mercurial file structure 02:48:27 ==> Reading reports 02:48:27 + ./coverage.out bytes=144509 02:48:27 ==> Appending adjustments 02:48:27 https://docs.codecov.io/docs/fixing-reports 02:48:27 + Found adjustments 02:48:27 ==> Gzipping contents 02:48:27 24K /tmp/codecov.g7ckRg.gz 02:48:27 ==> Uploading reports 02:48:27 url: https://codecov.io 02:48:27 query: branch=PR-732&commit=206cdd90e7f57c2b384880b9f580462930fd44c2&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:48:27 -> Pinging Codecov 02:48:27 https://codecov.io/upload/v4?package=bash-20210115-cec3c92&token=secret&branch=PR-732&commit=206cdd90e7f57c2b384880b9f580462930fd44c2&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-732%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=732&job=&cmd_args= 02:48:28 -> Uploading to 02:48:28 https://storage.googleapis.com/codecov/v4/raw/2021-01-20/7E55EF52A471D76F132DFD9A03CDDE97/206cdd90e7f57c2b384880b9f580462930fd44c2/d3f980cd-c9a5-4017-ade9-30001602387a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20210120%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20210120T024828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d5029bda6c9e0f4667b1c1ae36badeb06780ac20ef2c03a531749131917eadc2 02:48:28 % Total % Received % Xferd Average Speed Time Time Time Current 02:48:28 Dload Upload Total Spent Left Speed 02:48:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 22375 0 0 100 22375 0 38858 --:--:-- --:--:-- --:--:-- 38845 02:48:28 -> View reports at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/206cdd90e7f57c2b384880b9f580462930fd44c2 [Pipeline] } 02:48:28 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 02:48:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:48:32 ---> package-listing.sh 02:48:32 ++ facter osfamily 02:48:32 ++ tr '[:upper:]' '[:lower:]' 02:48:32 + OS_FAMILY=redhat 02:48:32 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-732 02:48:32 + START_PACKAGES=/tmp/packages_start.txt 02:48:32 + END_PACKAGES=/tmp/packages_end.txt 02:48:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:48:32 + PACKAGES=/tmp/packages_start.txt 02:48:32 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:48:32 + PACKAGES=/tmp/packages_end.txt 02:48:32 + case "${OS_FAMILY}" in 02:48:32 + rpm -qa 02:48:32 + sort 02:48:37 + '[' -f /tmp/packages_start.txt ']' 02:48:37 + '[' -f /tmp/packages_end.txt ']' 02:48:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:48:37 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-732 ']' 02:48:37 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ 02:48:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-732/archives/ [Pipeline] echo 02:48:37 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-732/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:48:38 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:48:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:38 02:48:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 02:48:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:38 alpine: Pulling from edgex-lftools-log-publisher 02:48:38 df20fa9351a1: Pulling fs layer 02:48:38 36b3adc4ff6f: Pulling fs layer 02:48:38 8ad3a11d3b57: Pulling fs layer 02:48:38 46f8f816bc3b: Pulling fs layer 02:48:38 93b61091891f: Pulling fs layer 02:48:38 93b9cdb0e59b: Pulling fs layer 02:48:38 5e14af77c1be: Pulling fs layer 02:48:38 01666e4c0597: Pulling fs layer 02:48:38 aa168da1d23b: Pulling fs layer 02:48:38 93b9cdb0e59b: Waiting 02:48:38 aa168da1d23b: Waiting 02:48:38 5e14af77c1be: Waiting 02:48:38 46f8f816bc3b: Waiting 02:48:38 93b61091891f: Waiting 02:48:38 36b3adc4ff6f: Verifying Checksum 02:48:38 36b3adc4ff6f: Download complete 02:48:39 46f8f816bc3b: Verifying Checksum 02:48:39 46f8f816bc3b: Download complete 02:48:39 df20fa9351a1: Verifying Checksum 02:48:39 df20fa9351a1: Download complete 02:48:39 93b9cdb0e59b: Verifying Checksum 02:48:39 93b9cdb0e59b: Download complete 02:48:39 93b61091891f: Download complete 02:48:39 5e14af77c1be: Verifying Checksum 02:48:39 5e14af77c1be: Download complete 02:48:39 01666e4c0597: Verifying Checksum 02:48:39 01666e4c0597: Download complete 02:48:39 8ad3a11d3b57: Verifying Checksum 02:48:39 8ad3a11d3b57: Download complete 02:48:39 df20fa9351a1: Pull complete 02:48:39 36b3adc4ff6f: Pull complete 02:48:40 8ad3a11d3b57: Pull complete 02:48:40 46f8f816bc3b: Pull complete 02:48:41 93b61091891f: Pull complete 02:48:41 93b9cdb0e59b: Pull complete 02:48:41 aa168da1d23b: Verifying Checksum 02:48:41 aa168da1d23b: Download complete 02:48:41 5e14af77c1be: Pull complete 02:48:42 01666e4c0597: Pull complete 02:48:48 aa168da1d23b: Pull complete 02:48:48 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 02:48:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 02:48:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 02:48:48 prd-centos7-docker-4c-2g-21492 does not seem to be running inside a container 02:48: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-732/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-732 -v /w/workspace/dgexfoundry_device-sdk-go_PR-732:/w/workspace/dgexfoundry_device-sdk-go_PR-732:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 02:48:52 $ docker top 3ca3c7ac5e076f781b015dc601cbe731a0b3e207df61b41f93de1676c690f0bf -eo pid,comm [Pipeline] { [Pipeline] sh 02:48:53 + touch /tmp/pre-build-complete [Pipeline] sh 02:48:53 + mkdir -p /var/log/sa [Pipeline] sh 02:48:53 + ls /var/log/sa-host 02:48:53 + sadf -c /var/log/sa-host/sa20 02:48:53 file_magic: OK 02:48:53 HZ: Using current value: 100 02:48:53 file_header: OK 02:48:53 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 02:48:53 Statistics: 02:48:53 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:48:53 File successfully converted to sysstat format version 12.2.1 02:48:53 + sadf -c /var/log/sa-host/sa23 02:48:53 file_magic: OK 02:48:53 HZ: Using current value: 100 02:48:53 file_header: OK 02:48:53 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 02:48:53 Statistics: 02:48:53 Hnuu...uuuununununu... 02:48:53 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:48:54 provisioning config files... 02:48:54 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-732@tmp/config5266010044690718892tmp [Pipeline] { [Pipeline] echo 02:48:54 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:48:55 ---> create-netrc.sh [Pipeline] } 02:48:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 02:48:55 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 02:48:55 ---> python-tools-install.sh [Pipeline] echo 02:48:55 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:48:55 ---> sudo-logs.sh 02:48:55 Archiving 'sudo' log.. [Pipeline] echo 02:48:55 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:48:56 ---> job-cost.sh 02:48:56 lf-activate-venv: SKIPPING 02:48:56 INFO: No Stack... 02:48:57 INFO: Retrieving Pricing Info for: v1-standard-2 02:48:57 INFO: Archiving Costs [Pipeline] echo 02:48:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:48:57 ---> logs-deploy.sh 02:48:57 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-732/5 02:48:57 INFO: archiving workspace using pattern(s): 02:48:59 Archives upload complete. 02:48:59 INFO: archiving logs to Nexus