Pull request #713 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ca8213842c5dc2653c4ff8829bf7c289c659faa2+909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 (80d9eecb7d2f57a5d494e60afc779095d2b5c343) 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 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 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd # timeout=10 Commit message: "Merge pull request #306 from ernestojeda/disable-snyk-scan" > 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-19541 in /w/workspace/dgexfoundry_device-sdk-go_PR-713 [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-713 # 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 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit ca8213842c5dc2653c4ff8829bf7c289c659faa2 Merge succeeded, producing ca8213842c5dc2653c4ff8829bf7c289c659faa2 Checking out Revision ca8213842c5dc2653c4ff8829bf7c289c659faa2 (PR-713) > 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/713/head:refs/remotes/origin/PR-713 +refs/heads/master:refs/remotes/origin/master # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca8213842c5dc2653c4ff8829bf7c289c659faa2 # 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 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ca8213842c5dc2653c4ff8829bf7c289c659faa2 # timeout=10 Commit message: "feat: Add /api/v2/secrets endpoint to store secrets" First time build. Skipping changelog. > git rev-list --no-walk 17b761ede73780e69f546e6eb5576d0a5856249a # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:19:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:19:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:19:39 ========================================================= 17:19:39 EdgeX Global Pipelines Version Info 17:19:39 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:19:41 ------------------- 17:19:41 stable info: 17:19:41 ------------------- 17:19:41 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:19:41 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 17:19:41 Message: update stable to v1.0.173 17:19:42 ------------------- 17:19:42 experimental info: 17:19:42 ------------------- 17:19:42 Commited By: **** collab-it+edgex@linuxfoundation.org 17:19:42 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 17:19:42 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:19:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:19:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:19:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:19:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:19:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:19:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 17:19:43 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 17:19:43 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 17:19:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:19:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:19:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:19:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-sdk-simple [Pipeline] echo 17:19:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:19:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:19:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:19:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:19:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:19:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:19:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:19:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:19:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:19:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 openapi/v2 [Pipeline] echo 17:19:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:19:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:19:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:19:45 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 17:19:45 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 17:19:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-713 [Pipeline] echo 17:19:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-713 [Pipeline] echo 17:19:46 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-713 [Pipeline] echo 17:19:46 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ca8213842c5dc2653c4ff8829bf7c289c659faa2 [Pipeline] echo 17:19:46 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ca82138 [Pipeline] echo 17:19:46 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:19:46 provisioning config files... 17:19:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/config5411458757084612400tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:19:46 ---> docker-login.sh 17:19:46 nexus3.edgexfoundry.org:10001 17:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:47 Configure a credential helper to remove this warning. See 17:19:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:47 17:19:47 Login Succeeded 17:19:47 nexus3.edgexfoundry.org:10002 17:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:47 Configure a credential helper to remove this warning. See 17:19:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:47 17:19:47 Login Succeeded 17:19:47 nexus3.edgexfoundry.org:10003 17:19:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:48 Configure a credential helper to remove this warning. See 17:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:48 17:19:48 Login Succeeded 17:19:48 nexus3.edgexfoundry.org:10004 17:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:48 Configure a credential helper to remove this warning. See 17:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:48 17:19:48 Login Succeeded 17:19:48 docker.io 17:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:19:48 Configure a credential helper to remove this warning. See 17:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:19:48 17:19:48 Login Succeeded 17:19:48 ---> docker-login.sh ends [Pipeline] } 17:19:48 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 17:19:49 + git log --format=format:%s -1 ca8213842c5dc2653c4ff8829bf7c289c659faa2 [Pipeline] echo 17:19:49 GIT_COMMIT: ca8213842c5dc2653c4ff8829bf7c289c659faa2, Commit Message: feat: Add /api/v2/secrets endpoint to store secrets [Pipeline] echo 17:19:49 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 17:19:50 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:19:50 17:19:50 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 17:19:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:19:50 latest: Pulling from edgex-devops/git-semver 17:19:50 31603596830f: Pulling fs layer 17:19:50 2a8b12db71e7: Pulling fs layer 17:19:50 6ca5941a6612: Pulling fs layer 17:19:50 ecc8261a40a4: Pulling fs layer 17:19:50 ecc8261a40a4: Waiting 17:19:50 2a8b12db71e7: Verifying Checksum 17:19:50 2a8b12db71e7: Download complete 17:19:50 31603596830f: Download complete 17:19:51 ecc8261a40a4: Verifying Checksum 17:19:51 ecc8261a40a4: Download complete 17:19:51 6ca5941a6612: Verifying Checksum 17:19:51 6ca5941a6612: Download complete 17:19:51 31603596830f: Pull complete 17:19:51 2a8b12db71e7: Pull complete 17:19:52 6ca5941a6612: Pull complete 17:19:52 ecc8261a40a4: Pull complete 17:19:52 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 17:19:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 17:19:52 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 17:19:52 prd-centos7-docker-4c-2g-19541 does not seem to be running inside a container 17:19:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_PR-713 -v /w/workspace/dgexfoundry_device-sdk-go_PR-713:/w/workspace/dgexfoundry_device-sdk-go_PR-713:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-713@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 17:19:54 $ docker top 6df7ca5e370aee7fb113f51e8568fb30df3c767fdbed86c29effa3294e9583d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:19:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:19:55 [ssh-agent] Looking for ssh-agent implementation... 17:19:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:19:55 $ docker exec 6df7ca5e370aee7fb113f51e8568fb30df3c767fdbed86c29effa3294e9583d4 ssh-agent 17:19:55 SSH_AUTH_SOCK=/tmp/ssh-B6kh7Gpj3W4W/agent.12 17:19:55 SSH_AGENT_PID=17 17:19:55 Running ssh-add (command line suppressed) 17:19:55 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_1454755599335180751.key (/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_1454755599335180751.key) 17:19:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:19:56 + git tag --points-at HEAD [Pipeline] } 17:19:56 $ docker exec --env ******** --env ******** 6df7ca5e370aee7fb113f51e8568fb30df3c767fdbed86c29effa3294e9583d4 ssh-agent -k 17:19:56 unset SSH_AUTH_SOCK; 17:19:56 unset SSH_AGENT_PID; 17:19:56 echo Agent pid 17 killed; 17:19:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:19:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:19:56 [ssh-agent] Looking for ssh-agent implementation... 17:19:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:19:56 $ docker exec 6df7ca5e370aee7fb113f51e8568fb30df3c767fdbed86c29effa3294e9583d4 ssh-agent 17:19:56 SSH_AUTH_SOCK=/tmp/ssh-kc7MzFC0o24t/agent.47 17:19:56 SSH_AGENT_PID=52 17:19:56 Running ssh-add (command line suppressed) 17:19:57 Identity added: /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_1508038199643850677.key (/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/private_key_1508038199643850677.key) 17:19:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:19:57 + git semver init 17:19:57 # -> Open(): unable to determine branch for HEAD 17:19:57 # $GIT_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-713/.git 17:19:57 # $GIT_WORK_TREE = /w/workspace/dgexfoundry_device-sdk-go_PR-713 17:19:57 # $SEMVER_REMOTE_NAME = origin 17:19:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 17:19:57 # $SEMVER_USER_NAME = edgex-jenkins 17:19:57 # $SEMVER_BRANCH = PR-713 17:19:57 # $SEMVER_TEMP = /tmp/semver-645738602 17:19:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 17:19:58 # '/tmp/semver-645738602' -> '/w/workspace/dgexfoundry_device-sdk-go_PR-713/.semver' 17:19:58 # -> Force: false 17:19:58 # $SEMVER_DIR = /w/workspace/dgexfoundry_device-sdk-go_PR-713/.semver [Pipeline] } 17:19:58 $ docker exec --env ******** --env ******** 6df7ca5e370aee7fb113f51e8568fb30df3c767fdbed86c29effa3294e9583d4 ssh-agent -k 17:19:58 unset SSH_AUTH_SOCK; 17:19:58 unset SSH_AGENT_PID; 17:19:58 echo Agent pid 52 killed; 17:19:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:19:59 + git semver [Pipeline] } 17:19:59 $ docker stop --time=1 6df7ca5e370aee7fb113f51e8568fb30df3c767fdbed86c29effa3294e9583d4 17:20:00 $ docker rm -f 6df7ca5e370aee7fb113f51e8568fb30df3c767fdbed86c29effa3294e9583d4 [Pipeline] // withDockerContainer [Pipeline] sh 17:20:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:20:02 Stashed 1 file(s) [Pipeline] echo 17:20:02 [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 17:20:17 Still waiting to schedule task 17:20:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 17:20:17 Still waiting to schedule task 17:20:17 ‘prd-ubuntu18.04-docker-arm64-4c-16g-18207’ is offline 17:22:10 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19542 in /w/workspace/dgexfoundry_device-sdk-go_PR-713 [Pipeline] { [Pipeline] ws 17:22:10 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 17:22:16 using credential edgex-jenkins-ssh 17:22:16 Cloning the remote Git repository 17:22:16 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:22:16 > git init /w/workspace/device-sdk-go/3 # timeout=10 17:22:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:22:16 > git --version # timeout=10 17:22:16 > git --version # 'git version 2.17.1' 17:22:16 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:16 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:18 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit ca8213842c5dc2653c4ff8829bf7c289c659faa2 17:22:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:22:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:22:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:22:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/713/head:refs/remotes/origin/PR-713 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:22:18 > git config core.sparsecheckout # timeout=10 17:22:18 > git checkout -f ca8213842c5dc2653c4ff8829bf7c289c659faa2 # timeout=10 17:22:18 Merge succeeded, producing ca8213842c5dc2653c4ff8829bf7c289c659faa2 17:22:18 Checking out Revision ca8213842c5dc2653c4ff8829bf7c289c659faa2 (PR-713) 17:22:18 > git remote # timeout=10 17:22:18 > git config --get remote.origin.url # timeout=10 17:22:18 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:18 > git merge 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 17:22:18 > git rev-parse HEAD^{commit} # timeout=10 17:22:18 > git config core.sparsecheckout # timeout=10 17:22:18 > git checkout -f ca8213842c5dc2653c4ff8829bf7c289c659faa2 # timeout=10 17:22:22 Commit message: "feat: Add /api/v2/secrets endpoint to store secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:24 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 17:22:24 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:22:25 + + sudotrue service 17:22:25 docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:22:27 provisioning config files... 17:22:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7792301488415325815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:28 ---> docker-login.sh 17:22:28 nexus3.edgexfoundry.org:10001 17:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:29 Configure a credential helper to remove this warning. See 17:22:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:29 17:22:29 Login Succeeded 17:22:29 nexus3.edgexfoundry.org:10002 17:22:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:30 Configure a credential helper to remove this warning. See 17:22:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:30 17:22:30 Login Succeeded 17:22:30 nexus3.edgexfoundry.org:10003 17:22:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:30 Configure a credential helper to remove this warning. See 17:22:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:30 17:22:30 Login Succeeded 17:22:30 nexus3.edgexfoundry.org:10004 17:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:31 Configure a credential helper to remove this warning. See 17:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:31 17:22:31 Login Succeeded 17:22:31 docker.io 17:22:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:31 Configure a credential helper to remove this warning. See 17:22:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:31 17:22:31 Login Succeeded 17:22:31 ---> docker-login.sh ends [Pipeline] } 17:22:31 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:22:32 ========================================================= 17:22:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 17:22:32 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:22:32 + 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 . 17:22:33 Sending build context to Docker daemon 2.486MB 17:22:33 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:22:33 Step 2/8 : FROM ${BASE} 17:22:33 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:22:33 5f621e34cdf4: Pulling fs layer 17:22:33 a4357932f1b6: Pulling fs layer 17:22:33 18c013af1878: Pulling fs layer 17:22:33 00ac8860ef70: Pulling fs layer 17:22:33 63d7cb157983: Pulling fs layer 17:22:33 b116817d02f9: Pulling fs layer 17:22:33 745a02a5169b: Pulling fs layer 17:22:33 00ac8860ef70: Waiting 17:22:33 63d7cb157983: Waiting 17:22:33 745a02a5169b: Waiting 17:22:33 b116817d02f9: Waiting 17:22:33 18c013af1878: Verifying Checksum 17:22:33 18c013af1878: Download complete 17:22:33 a4357932f1b6: Verifying Checksum 17:22:33 a4357932f1b6: Download complete 17:22:33 63d7cb157983: Verifying Checksum 17:22:33 63d7cb157983: Download complete 17:22:33 b116817d02f9: Verifying Checksum 17:22:33 b116817d02f9: Download complete 17:22:33 5f621e34cdf4: Verifying Checksum 17:22:33 5f621e34cdf4: Download complete 17:22:34 5f621e34cdf4: Pull complete 17:22:34 Running on prd-centos7-docker-4c-2g-19543 in /w/workspace/dgexfoundry_device-sdk-go_PR-713 [Pipeline] { [Pipeline] ws 17:22:34 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 17:22:34 a4357932f1b6: Pull complete 17:22:35 18c013af1878: Pull complete 17:22:36 745a02a5169b: Verifying Checksum 17:22:36 745a02a5169b: Download complete 17:22:36 using credential edgex-jenkins-ssh 17:22:36 Cloning the remote Git repository 17:22:37 00ac8860ef70: Verifying Checksum 17:22:37 00ac8860ef70: Download complete 17:22:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:22:36 > git init /w/workspace/device-sdk-go/3 # timeout=10 17:22:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:22:36 > git --version # timeout=10 17:22:36 > git --version # 'git version 2.24.3' 17:22:36 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:22:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:22:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:22:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:22:37 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/713/head:refs/remotes/origin/PR-713 +refs/heads/master:refs/remotes/origin/master # timeout=10 17:22:38 Merging remotes/origin/master commit 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 into PR head commit ca8213842c5dc2653c4ff8829bf7c289c659faa2 17:22:38 Merge succeeded, producing ca8213842c5dc2653c4ff8829bf7c289c659faa2 17:22:38 Checking out Revision ca8213842c5dc2653c4ff8829bf7c289c659faa2 (PR-713) 17:22:38 > git config core.sparsecheckout # timeout=10 17:22:38 > git checkout -f ca8213842c5dc2653c4ff8829bf7c289c659faa2 # timeout=10 17:22:38 > git remote # timeout=10 17:22:38 > git config --get remote.origin.url # timeout=10 17:22:38 using GIT_SSH to set credentials SSH Credentials for GitHub 17:22:38 > git merge 909cc88fb1ad949568bf33336c87c0ea6bd2f5d5 # timeout=10 17:22:38 > git rev-parse HEAD^{commit} # timeout=10 17:22:38 > git config core.sparsecheckout # timeout=10 17:22:38 > git checkout -f ca8213842c5dc2653c4ff8829bf7c289c659faa2 # timeout=10 17:22:42 Commit message: "feat: Add /api/v2/secrets endpoint to store secrets" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:22:43 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 17:22:43 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 17:22:44 + sudo service docker restart 17:22:44 + true 17:22:44 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 17:22:46 provisioning config files... 17:22:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7678115654313919242tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:22:46 ---> docker-login.sh 17:22:46 nexus3.edgexfoundry.org:10001 17:22:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:46 Configure a credential helper to remove this warning. See 17:22:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:46 17:22:46 Login Succeeded 17:22:46 nexus3.edgexfoundry.org:10002 17:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:47 Configure a credential helper to remove this warning. See 17:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:47 17:22:47 Login Succeeded 17:22:47 nexus3.edgexfoundry.org:10003 17:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:47 Configure a credential helper to remove this warning. See 17:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:47 17:22:47 Login Succeeded 17:22:47 nexus3.edgexfoundry.org:10004 17:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:47 Configure a credential helper to remove this warning. See 17:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:47 17:22:47 Login Succeeded 17:22:47 docker.io 17:22:47 00ac8860ef70: Pull complete 17:22:47 63d7cb157983: Pull complete 17:22:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:22:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:22:47 Configure a credential helper to remove this warning. See 17:22:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:22:47 17:22:47 Login Succeeded 17:22:47 ---> docker-login.sh ends [Pipeline] } 17:22:47 Deleting 1 temporary files [Pipeline] // wrap 17:22:47 b116817d02f9: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:22:48 ========================================================= 17:22:48 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 17:22:48 ========================================================= [Pipeline] isUnix [Pipeline] sh 17:22:48 + 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 . 17:22:48 Sending build context to Docker daemon 2.487MB 17:22:48 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 17:22:48 Step 2/8 : FROM ${BASE} 17:22:48 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 17:22:48 188c0c94c7c5: Pulling fs layer 17:22:48 0ef7d3d256c8: Pulling fs layer 17:22:48 de9db76c5a1d: Pulling fs layer 17:22:48 bca2f99d35d6: Pulling fs layer 17:22:48 93359f2a8cfa: Pulling fs layer 17:22:48 7c6f9722023f: Pulling fs layer 17:22:48 a35cf1a2eb13: Pulling fs layer 17:22:48 bca2f99d35d6: Waiting 17:22:48 93359f2a8cfa: Waiting 17:22:48 7c6f9722023f: Waiting 17:22:48 a35cf1a2eb13: Waiting 17:22:48 de9db76c5a1d: Verifying Checksum 17:22:48 de9db76c5a1d: Download complete 17:22:48 0ef7d3d256c8: Download complete 17:22:48 93359f2a8cfa: Verifying Checksum 17:22:48 93359f2a8cfa: Download complete 17:22:48 7c6f9722023f: Verifying Checksum 17:22:48 188c0c94c7c5: Verifying Checksum 17:22:48 188c0c94c7c5: Download complete 17:22:49 188c0c94c7c5: Pull complete 17:22:49 0ef7d3d256c8: Pull complete 17:22:49 de9db76c5a1d: Pull complete 17:22:51 a35cf1a2eb13: Verifying Checksum 17:22:51 a35cf1a2eb13: Download complete 17:22:51 745a02a5169b: Pull complete 17:22:51 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 17:22:51 bca2f99d35d6: Verifying Checksum 17:22:51 bca2f99d35d6: Download complete 17:22:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 17:22:51 ---> b7e6874047d6 17:22:51 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:22:55 ---> Running in f2c99be02413 17:22:55 Removing intermediate container f2c99be02413 17:22:55 ---> 2d7b01172775 17:22:55 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:22:55 ---> Running in aefd7661f9cb 17:22:56 bca2f99d35d6: Pull complete 17:22:56 93359f2a8cfa: Pull complete 17:22:57 Removing intermediate container aefd7661f9cb 17:22:57 ---> aeaf7be3dec2 17:22:57 Step 5/8 : RUN apk add --update --no-cache make git 17:22:57 7c6f9722023f: Pull complete 17:22:57 ---> Running in db771379d5c8 17:22:58 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 17:22:59 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 17:22:59 OK: 142 MiB in 39 packages 17:23:01 Removing intermediate container db771379d5c8 17:23:01 ---> 4c45672fc1aa 17:23:01 Step 6/8 : WORKDIR /device-sdk-go 17:23:01 ---> Running in 4b7d32a95aff 17:23:01 a35cf1a2eb13: Pull complete 17:23:01 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 17:23:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 17:23:01 ---> a62c8e92a672 17:23:01 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 17:23:01 Removing intermediate container 4b7d32a95aff 17:23:01 ---> 2b28a4667c12 17:23:01 Step 7/8 : COPY . . 17:23:02 ---> Running in 631c6c1808ae 17:23:02 Removing intermediate container 631c6c1808ae 17:23:02 ---> f011169cb132 17:23:02 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 17:23:02 ---> Running in bf1897699e5e 17:23:03 ---> fef6fa09c5ca 17:23:03 Step 8/8 : RUN go mod download 17:23:03 ---> Running in aecd595d3b5f 17:23:03 Removing intermediate container bf1897699e5e 17:23:03 ---> 5d2fcb0ba121 17:23:03 Step 5/8 : RUN apk add --update --no-cache make git 17:23:03 ---> Running in e36da1559afc 17:23:04 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 17:23:04 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 17:23:05 OK: 166 MiB in 39 packages 17:23:05 Removing intermediate container e36da1559afc 17:23:05 ---> 8c2f2e37438f 17:23:05 Step 6/8 : WORKDIR /device-sdk-go 17:23:05 ---> Running in 496b5bf2554a 17:23:05 Removing intermediate container 496b5bf2554a 17:23:05 ---> e42231c27a85 17:23:05 Step 7/8 : COPY . . 17:23:07 ---> 8d2b1a3fe026 17:23:07 Step 8/8 : RUN go mod download 17:23:07 ---> Running in fba50431bfec 17:23:25 Removing intermediate container aecd595d3b5f 17:23:25 ---> 67ffcf7eb413 17:23:25 Successfully built 67ffcf7eb413 17:23:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 17:23:26 + docker inspect -f . ci-base-image-arm64 17:23:26 . [Pipeline] withDockerContainer 17:23:26 prd-ubuntu18.04-docker-arm64-4c-16g-19542 does not seem to be running inside a container 17:23:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-arm64 cat 17:23:27 $ docker top 0f0a4cfa58930b6090de7dafddb340f9cff3665b3155eb260a871fa0dc395264 -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:28 + go version 17:23:28 go version go1.15.5 linux/arm64 [Pipeline] } 17:23:28 $ docker stop --time=1 0f0a4cfa58930b6090de7dafddb340f9cff3665b3155eb260a871fa0dc395264 17:23:29 Removing intermediate container fba50431bfec 17:23:29 ---> 1b4846cd5512 17:23:29 Successfully built 1b4846cd5512 17:23:29 Successfully tagged ci-base-image-x86_64:latest 17:23:30 $ docker rm -f 0f0a4cfa58930b6090de7dafddb340f9cff3665b3155eb260a871fa0dc395264 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] isUnix [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:23:31 + docker inspect -f . ci-base-image-x86_64 17:23:31 . [Pipeline] withDockerContainer 17:23:31 prd-centos7-docker-4c-2g-19543 does not seem to be running inside a container 17:23:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:23:31 + docker inspect -f . ci-base-image-arm64 17:23:31 . 17:23:32 $ docker top c4e77231bf0bfea0d6966ce64c1a5a08a27d4987e117306eebb7f2b48822344a -eo pid,comm [Pipeline] { [Pipeline] withDockerContainer 17:23:33 prd-ubuntu18.04-docker-arm64-4c-16g-19542 does not seem to be running inside a container 17:23:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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-arm64 cat 17:23:34 $ docker top 68b78ed142cd0305d6a5b61611f8dc2c8ca79b396de50141b92e6a44a4f5fa6b -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] sh 17:23:35 + go version 17:23:35 go version go1.15.5 linux/amd64 [Pipeline] } 17:23:35 $ docker stop --time=1 c4e77231bf0bfea0d6966ce64c1a5a08a27d4987e117306eebb7f2b48822344a 17:23:35 + make test 17:23:35 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:23:36 $ docker rm -f c4e77231bf0bfea0d6966ce64c1a5a08a27d4987e117306eebb7f2b48822344a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 17:23:37 + docker inspect -f . ci-base-image-x86_64 17:23:37 . [Pipeline] withDockerContainer 17:23:37 prd-centos7-docker-4c-2g-19543 does not seem to be running inside a container 17:23:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:23:38 $ docker top 36a08304f8cdb9fc54ba0d17cabd55b854704b60126ddd15068181bb22bd4d23 -eo pid,comm [Pipeline] { [Pipeline] sh 17:23:39 + make test 17:23:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 17:23:45 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:23:58 ? github.com/edgexfoundry/device-sdk-go [no test files] 17:24:00 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:24:00 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:24:00 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 17:24:00 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.072s coverage: 19.4% of statements 17:24:04 ok github.com/edgexfoundry/device-sdk-go/internal/cache 0.470s coverage: 97.1% of statements 17:24:36 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.062s coverage: 9.4% of statements 17:24:36 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.047s coverage: 21.7% of statements 17:24:36 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:24:36 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.232s coverage: 42.9% of statements 17:24:36 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:24:36 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.266s coverage: 68.9% of statements 17:24:36 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:24:36 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:24:36 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:24:36 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 17:24:36 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.069s coverage: 53.8% of statements 17:24:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 17:24:36 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 17:24:36 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.101s coverage: 31.3% of statements 17:24:36 ok github.com/edgexfoundry/device-sdk-go/pkg/models 2.333s coverage: 68.9% of statements 17:24:36 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.065s coverage: 4.2% of statements 17:24:36 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:24:36 GO111MODULE=on go vet ./... 17:24:37 ? github.com/edgexfoundry/device-sdk-go/example/cmd/device-simple [no test files] 17:24:37 ? github.com/edgexfoundry/device-sdk-go/example/driver [no test files] 17:24:37 ? github.com/edgexfoundry/device-sdk-go/internal/autodiscovery [no test files] 17:24:37 ok github.com/edgexfoundry/device-sdk-go/internal/autoevent 0.137s coverage: 19.4% of statements 17:24:41 gofmt -l . 17:24:41 [ "`gofmt -l .`" = "" ] 17:24:41 ./bin/test-attribution-txt.sh 17:24:42 An attribution for github.com/stretchr/objx is missing from in Attribution.txt, please add 17:24:42 make: *** [Makefile:36: test] Error 1 [Pipeline] } 17:24:42 $ docker stop --time=1 36a08304f8cdb9fc54ba0d17cabd55b854704b60126ddd15068181bb22bd4d23 17:24:43 ok github.com/edgexfoundry/device-sdk-go/internal/cache 1.213s coverage: 97.1% of statements 17:24:44 $ docker rm -f 36a08304f8cdb9fc54ba0d17cabd55b854704b60126ddd15068181bb22bd4d23 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:24:46 Failed in branch amd64 17:25:10 ok github.com/edgexfoundry/device-sdk-go/internal/clients 30.125s coverage: 9.4% of statements 17:25:10 ok github.com/edgexfoundry/device-sdk-go/internal/common 0.111s coverage: 21.7% of statements 17:25:10 ? github.com/edgexfoundry/device-sdk-go/internal/container [no test files] 17:25:10 ok github.com/edgexfoundry/device-sdk-go/internal/controller 0.622s coverage: 42.9% of statements 17:25:10 ? github.com/edgexfoundry/device-sdk-go/internal/controller/correlation [no test files] 17:25:10 ok github.com/edgexfoundry/device-sdk-go/internal/handler 0.753s coverage: 68.9% of statements 17:25:10 ? github.com/edgexfoundry/device-sdk-go/internal/handler/callback [no test files] 17:25:10 ? github.com/edgexfoundry/device-sdk-go/internal/mock [no test files] 17:25:10 ? github.com/edgexfoundry/device-sdk-go/internal/provision [no test files] 17:25:10 ? github.com/edgexfoundry/device-sdk-go/internal/telemetry [no test files] 17:25:10 ok github.com/edgexfoundry/device-sdk-go/internal/transformer 0.192s coverage: 53.8% of statements 17:25:10 ? github.com/edgexfoundry/device-sdk-go/internal/v2/application [no test files] 17:25:10 ? github.com/edgexfoundry/device-sdk-go/internal/v2/cache [no test files] 17:25:10 ok github.com/edgexfoundry/device-sdk-go/internal/v2/controller/http 0.160s coverage: 31.3% of statements 17:25:10 ok github.com/edgexfoundry/device-sdk-go/pkg/models 5.935s coverage: 68.9% of statements 17:25:10 ok github.com/edgexfoundry/device-sdk-go/pkg/service 0.143s coverage: 4.2% of statements 17:25:10 ? github.com/edgexfoundry/device-sdk-go/pkg/startup [no test files] 17:25:10 GO111MODULE=on go vet ./... 17:25:43 gofmt -l . 17:25:43 [ "`gofmt -l .`" = "" ] 17:25:43 ./bin/test-attribution-txt.sh 17:25:43 An attribution for github.com/stretchr/objx is missing from in Attribution.txt, please add 17:25:43 make: *** [Makefile:36: test] Error 1 [Pipeline] } 17:25:43 $ docker stop --time=1 68b78ed142cd0305d6a5b61611f8dc2c8ca79b396de50141b92e6a44a4f5fa6b 17:25:45 $ docker rm -f 68b78ed142cd0305d6a5b61611f8dc2c8ca79b396de50141b92e6a44a4f5fa6b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 17:25:47 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Docker Image Scan) Stage "Snyk Docker Image Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] libraryResource [Pipeline] sh 17:25:51 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:25:51 ---> package-listing.sh 17:25:51 ++ facter osfamily 17:25:51 ++ tr '[:upper:]' '[:lower:]' 17:25:51 + OS_FAMILY=redhat 17:25:51 + workspace=/w/workspace/dgexfoundry_device-sdk-go_PR-713 17:25:51 + START_PACKAGES=/tmp/packages_start.txt 17:25:51 + END_PACKAGES=/tmp/packages_end.txt 17:25:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:25:51 + PACKAGES=/tmp/packages_start.txt 17:25:51 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-713 ']' 17:25:51 + PACKAGES=/tmp/packages_end.txt 17:25:51 + case "${OS_FAMILY}" in 17:25:51 + rpm -qa 17:25:51 + sort 17:25:58 + '[' -f /tmp/packages_start.txt ']' 17:25:58 + '[' -f /tmp/packages_end.txt ']' 17:25:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:25:58 + '[' /w/workspace/dgexfoundry_device-sdk-go_PR-713 ']' 17:25:58 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_PR-713/archives/ 17:25:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_PR-713/archives/ [Pipeline] echo 17:25:58 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-713/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:25:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 17:25:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:25:58 17:25:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 17:25:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:25:59 alpine: Pulling from edgex-lftools-log-publisher 17:25:59 df20fa9351a1: Pulling fs layer 17:25:59 36b3adc4ff6f: Pulling fs layer 17:25:59 8ad3a11d3b57: Pulling fs layer 17:25:59 46f8f816bc3b: Pulling fs layer 17:25:59 93b61091891f: Pulling fs layer 17:25:59 93b9cdb0e59b: Pulling fs layer 17:25:59 5e14af77c1be: Pulling fs layer 17:25:59 01666e4c0597: Pulling fs layer 17:25:59 aa168da1d23b: Pulling fs layer 17:25:59 46f8f816bc3b: Waiting 17:25:59 93b61091891f: Waiting 17:25:59 93b9cdb0e59b: Waiting 17:25:59 01666e4c0597: Waiting 17:25:59 5e14af77c1be: Waiting 17:25:59 aa168da1d23b: Waiting 17:25:59 36b3adc4ff6f: Verifying Checksum 17:25:59 36b3adc4ff6f: Download complete 17:25:59 46f8f816bc3b: Verifying Checksum 17:25:59 46f8f816bc3b: Download complete 17:25:59 df20fa9351a1: Verifying Checksum 17:25:59 df20fa9351a1: Download complete 17:25:59 93b9cdb0e59b: Verifying Checksum 17:25:59 93b9cdb0e59b: Download complete 17:25:59 5e14af77c1be: Verifying Checksum 17:25:59 5e14af77c1be: Download complete 17:25:59 93b61091891f: Verifying Checksum 17:25:59 93b61091891f: Download complete 17:25:59 01666e4c0597: Verifying Checksum 17:25:59 01666e4c0597: Download complete 17:25:59 8ad3a11d3b57: Verifying Checksum 17:25:59 8ad3a11d3b57: Download complete 17:25:59 df20fa9351a1: Pull complete 17:25:59 36b3adc4ff6f: Pull complete 17:26:01 8ad3a11d3b57: Pull complete 17:26:01 46f8f816bc3b: Pull complete 17:26:01 aa168da1d23b: Verifying Checksum 17:26:01 aa168da1d23b: Download complete 17:26:01 93b61091891f: Pull complete 17:26:01 93b9cdb0e59b: Pull complete 17:26:01 5e14af77c1be: Pull complete 17:26:01 01666e4c0597: Pull complete 17:26:10 aa168da1d23b: Pull complete 17:26:10 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 17:26:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 17:26:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 17:26:10 prd-centos7-docker-4c-2g-19541 does not seem to be running inside a container 17:26:10 $ 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-713/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-713 -v /w/workspace/dgexfoundry_device-sdk-go_PR-713:/w/workspace/dgexfoundry_device-sdk-go_PR-713:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp:/w/workspace/dgexfoundry_device-sdk-go_PR-713@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 17:26:14 $ docker top 693ab152c72c9f4ebef59a6eca3b3970561052b7d397cfb8227f0645400b5acf -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:14 + touch /tmp/pre-build-complete [Pipeline] sh 17:26:14 + mkdir -p /var/log/sa [Pipeline] sh 17:26:15 + ls /var/log/sa-host 17:26:15 + sadf -c /var/log/sa-host/sa11 17:26:15 file_magic: OK 17:26:15 HZ: Using current value: 100 17:26:15 file_header: OK 17:26:15 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 17:26:15 Statistics: 17:26:15 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 17:26:15 File successfully converted to sysstat format version 12.2.1 17:26:15 + sadf -c /var/log/sa-host/sa23 17:26:15 file_magic: OK 17:26:15 HZ: Using current value: 100 17:26:15 file_header: OK 17:26:15 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 17:26:15 Statistics: 17:26:15 Hnuu...uuuununununu... 17:26:15 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:15 provisioning config files... 17:26:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp/config1314466545384122043tmp [Pipeline] { [Pipeline] echo 17:26:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:26:16 ---> create-netrc.sh [Pipeline] } 17:26:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 17:26:16 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 17:26:16 ---> python-tools-install.sh [Pipeline] echo 17:26:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:26:16 ---> sudo-logs.sh 17:26:16 Archiving 'sudo' log.. [Pipeline] echo 17:26:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:26:17 ---> job-cost.sh 17:26:17 lf-activate-venv: SKIPPING 17:26:17 INFO: No Stack... 17:26:18 INFO: Retrieving Pricing Info for: v1-standard-2 17:26:18 INFO: Archiving Costs [Pipeline] echo 17:26:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:26:19 ---> logs-deploy.sh 17:26:19 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-713/3 17:26:19 INFO: archiving workspace using pattern(s): 17:26:21 Archives upload complete. 17:26:21 INFO: archiving logs to Nexus 17:26:21 ---> uname -a: 17:26:21 Linux prd-centos7-docker-4c-2g-19541.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 17:26:21 17:26:21 17:26:21 ---> lscpu: 17:26:21 Architecture: x86_64 17:26:21 CPU op-mode(s): 32-bit, 64-bit 17:26:21 Byte Order: Little Endian 17:26:21 Address sizes: 40 bits physical, 48 bits virtual 17:26:21 CPU(s): 4 17:26:21 On-line CPU(s) list: 0-3 17:26:21 Thread(s) per core: 1 17:26:21 Core(s) per socket: 1 17:26:21 Socket(s): 4 17:26:21 NUMA node(s): 1 17:26:21 Vendor ID: GenuineIntel 17:26:21 CPU family: 6 17:26:21 Model: 44 17:26:21 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 17:26:21 Stepping: 1 17:26:21 CPU MHz: 2933.436 17:26:21 BogoMIPS: 5866.87 17:26:21 Virtualization: VT-x 17:26:21 Hypervisor vendor: KVM 17:26:21 Virtualization type: full 17:26:21 L1d cache: 128 KiB 17:26:21 L1i cache: 128 KiB 17:26:21 L2 cache: 16 MiB 17:26:21 L3 cache: 64 MiB 17:26:21 NUMA node0 CPU(s): 0-3 17:26:21 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 17:26:21 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 17:26:21 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 17:26:21 Vulnerability Meltdown: Mitigation; PTI 17:26:21 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 17:26:21 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 17:26:21 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 17:26:21 Vulnerability Srbds: Not affected 17:26:21 Vulnerability Tsx async abort: Not affected 17:26:21 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology eagerfpu pni pclmulqdq vmx ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes hypervisor lahf_lm ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid tsc_adjust arat spec_ctrl intel_stibp 17:26:21 17:26:21 17:26:21 ---> nproc: 17:26:21 4 17:26:21 17:26:21 17:26:21 ---> df -h: 17:26:21 Filesystem Size Used Available Use% Mounted on 17:26:21 overlay 50.0G 7.3G 42.7G 15% / 17:26:21 tmpfs 64.0M 0 64.0M 0% /dev 17:26:21 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 17:26:21 shm 64.0M 0 64.0M 0% /dev/shm 17:26:21 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 17:26:21 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 17:26:21 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 17:26:21 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 17:26:21 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-713@tmp 17:26:21 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 17:26:21 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 17:26:21 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 17:26:21 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 17:26:21 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/dgexfoundry_device-sdk-go_PR-713 17:26:21 17:26:21 17:26:21 ---> free -m: 17:26:21 total used free shared buff/cache available 17:26:21 Mem: 1837 690 113 0 1032 1042 17:26:21 Swap: 1023 1 1022 17:26:21 17:26:21 17:26:21 ---> ip addr: 17:26:21 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 17:26:21 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 17:26:21 inet 127.0.0.1/8 scope host lo 17:26:21 valid_lft forever preferred_lft forever 17:26:21 inet6 ::1/128 scope host 17:26:21 valid_lft forever preferred_lft forever 17:26:21 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 17:26:21 link/ether fa:16:3e:d7:c9:84 brd ff:ff:ff:ff:ff:ff 17:26:21 inet 10.30.123.183/23 brd 10.30.123.255 scope global dynamic eth0 17:26:21 valid_lft 85960sec preferred_lft 85960sec 17:26:21 inet6 fe80::f816:3eff:fed7:c984/64 scope link 17:26:21 valid_lft forever preferred_lft forever 17:26:21 3: docker0: mtu 1500 qdisc noqueue state DOWN 17:26:21 link/ether 02:42:25:1b:f3:a3 brd ff:ff:ff:ff:ff:ff 17:26:21 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 17:26:21 valid_lft forever preferred_lft forever 17:26:21 inet6 fe80::42:25ff:fe1b:f3a3/64 scope link 17:26:21 valid_lft forever preferred_lft forever 17:26:21 17:26:21 17:26:21 ---> sar -b -r -n DEV: 17:26:21 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/11/21 _x86_64_ (4 CPU) 17:26:21 17:26:21 17:18:50 LINUX RESTART (4 CPU) 17:26:21 17:26:21 17:20:02 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 17:26:21 17:21:01 3.69 0.03 3.66 0.00 1.08 117.68 0.00 17:26:21 17:22:01 0.45 0.00 0.45 0.00 0.00 6.73 0.00 17:26:21 17:23:01 0.25 0.00 0.25 0.00 0.00 2.98 0.00 17:26:21 17:24:01 0.27 0.00 0.27 0.00 0.00 3.46 0.00 17:26:21 17:25:01 0.28 0.00 0.28 0.00 0.00 3.73 0.00 17:26:21 17:26:01 57.01 49.62 7.39 0.00 4189.48 3480.33 0.00 17:26:21 Average: 10.35 8.30 2.05 0.00 700.62 604.04 0.00 17:26:21 17:26:21 17:20:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 17:26:21 17:21:01 151552 0 593932 31.57 2620 1133440 1137304 38.81 436420 1093016 20 17:26:21 17:22:01 160456 0 585020 31.09 2620 1133448 1078944 36.82 430492 1090880 12 17:26:21 17:23:01 157912 0 587560 31.23 2620 1133452 1079064 36.83 431580 1092520 16 17:26:21 17:24:01 159272 0 586200 31.16 2620 1133452 1078860 36.82 429464 1093388 20 17:26:21 17:25:01 159212 0 586252 31.16 2620 1133460 1078944 36.82 428920 1094384 8 17:26:21 17:26:01 70576 0 666800 35.44 2620 1141548 1507848 51.46 484340 1119152 66332 17:26:21 Average: 143163 0 600961 31.94 2620 1134800 1160161 39.59 440203 1097223 11068 17:26:21 17:26:21 17:20:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 17:26:21 17:21:01 eth0 0.30 0.10 0.02 0.01 0.00 0.00 0.00 0.00 17:26:21 17:21:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:21:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:22:01 eth0 4.18 1.72 3.07 0.12 0.00 0.00 0.00 0.00 17:26:21 17:22:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:22:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:23:01 eth0 1.08 0.60 0.55 0.39 0.00 0.00 0.00 0.00 17:26:21 17:23:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:23:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:24:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 17:26:21 17:24:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:24:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:25:01 eth0 0.72 0.17 0.13 0.07 0.00 0.00 0.00 0.00 17:26:21 17:25:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:25:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:26:01 eth0 209.25 169.09 2163.94 15.09 0.00 0.00 0.00 0.00 17:26:21 17:26:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:26:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 Average: eth0 36.05 28.72 362.42 2.62 0.00 0.00 0.00 0.00 17:26:21 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 17:26:21 17:26:21 17:26:21 ---> sar -P ALL: 17:26:21 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 01/11/21 _x86_64_ (4 CPU) 17:26:21 17:26:21 17:18:50 LINUX RESTART (4 CPU) 17:26:21 17:26:21 17:20:02 CPU %user %nice %system %iowait %steal %idle 17:26:21 17:21:01 all 0.19 0.00 0.06 0.00 0.01 99.74 17:26:21 17:21:01 0 0.08 0.00 0.07 0.00 0.00 99.85 17:26:21 17:21:01 1 0.53 0.00 0.03 0.00 0.02 99.42 17:26:21 17:21:01 2 0.08 0.00 0.05 0.00 0.02 99.85 17:26:21 17:21:01 3 0.05 0.00 0.08 0.00 0.02 99.85 17:26:21 17:22:01 all 0.18 0.00 0.05 0.00 0.00 99.77 17:26:21 17:22:01 0 0.08 0.00 0.07 0.00 0.02 99.83 17:26:21 17:22:01 1 0.50 0.00 0.07 0.00 0.00 99.43 17:26:21 17:22:01 2 0.07 0.00 0.07 0.00 0.00 99.87 17:26:21 17:22:01 3 0.05 0.00 0.02 0.00 0.00 99.93 17:26:21 17:23:01 all 0.16 0.00 0.04 0.00 0.01 99.79 17:26:21 17:23:01 0 0.07 0.00 0.03 0.00 0.00 99.90 17:26:21 17:23:01 1 0.48 0.00 0.03 0.00 0.02 99.47 17:26:21 17:23:01 2 0.03 0.00 0.03 0.00 0.00 99.93 17:26:21 17:23:01 3 0.07 0.00 0.05 0.00 0.02 99.87 17:26:21 17:24:01 all 0.16 0.00 0.05 0.00 0.00 99.80 17:26:21 17:24:01 0 0.05 0.00 0.07 0.00 0.00 99.88 17:26:21 17:24:01 1 0.45 0.00 0.03 0.00 0.00 99.52 17:26:21 17:24:01 2 0.05 0.00 0.05 0.00 0.00 99.90 17:26:21 17:24:01 3 0.08 0.00 0.03 0.00 0.00 99.88 17:26:21 17:25:01 all 0.16 0.00 0.03 0.00 0.00 99.80 17:26:21 17:25:01 0 0.05 0.00 0.03 0.00 0.00 99.92 17:26:21 17:25:01 1 0.52 0.00 0.03 0.00 0.00 99.45 17:26:21 17:25:01 2 0.03 0.00 0.03 0.00 0.02 99.92 17:26:21 17:25:01 3 0.05 0.00 0.03 0.00 0.00 99.92 17:26:21 17:26:01 all 2.11 0.00 1.27 1.61 0.05 94.97 17:26:21 17:26:01 0 1.64 0.00 1.14 0.10 0.02 97.10 17:26:21 17:26:01 1 1.71 0.00 1.07 0.05 0.05 97.12 17:26:21 17:26:01 2 3.37 0.00 1.52 5.70 0.03 89.38 17:26:21 17:26:01 3 1.73 0.00 1.34 0.60 0.08 96.25 17:26:21 Average: all 0.49 0.00 0.25 0.27 0.01 98.98 17:26:21 Average: 0 0.33 0.00 0.23 0.02 0.01 99.41 17:26:21 Average: 1 0.70 0.00 0.21 0.01 0.01 99.07 17:26:21 Average: 2 0.61 0.00 0.29 0.95 0.01 98.14 17:26:21 Average: 3 0.34 0.00 0.26 0.10 0.02 99.28 17:26:21 17:26:21 17:26:21