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 ernestojeda for edgexfoundry/device-virtual-go Obtained Jenkinsfile from e73fe6918ff61e26496115ae3c80a841750f15d3+d98ab64770a8aa8499d3ed372f913abb779305df (fa2f58da3b628df4425be2e6fd5cc07c813592ff) 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-virtual-go] ========================================================= [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-virtual-go-settings PROJECT: device-virtual-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: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_IMAGE_NAME: docker-device-virtual-go DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-17116 in /w/workspace/foundry_device-virtual-go_PR-158 [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-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-158 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-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-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-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-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit e73fe6918ff61e26496115ae3c80a841750f15d3 Merge succeeded, producing e9fbb1aef84366bf56d8a545e22566b09eb166f3 Checking out Revision e9fbb1aef84366bf56d8a545e22566b09eb166f3 (PR-158) > git config core.sparsecheckout # timeout=10 > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # 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 d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e9fbb1aef84366bf56d8a545e22566b09eb166f3 # timeout=10 Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" > git rev-list --no-walk e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:13:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:13:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:13:37 ========================================================= 00:13:37 EdgeX Global Pipelines Version Info 00:13:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:13:38 ------------------- 00:13:38 stable info: 00:13:38 ------------------- 00:13:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:13:38 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:13:38 Message: update stable to v1.0.173 00:13:39 ------------------- 00:13:39 experimental info: 00:13:39 ------------------- 00:13:39 Commited By: **** collab-it+edgex@linuxfoundation.org 00:13:39 Commit SHA: 50a9f8eef5e5735e1ae4d12f0d7d5100f67887fd 00:13:39 Message: update experimental to v1.0.173 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.15 [Pipeline] echo 00:13:40 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = docker-device-virtual-go [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:13:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:13:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:13:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:13:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:13:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:13:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:13:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:13:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:13:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:13:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:13:43 [edgeXSetupEnvironment]: set envvar SECURITY_NOTIFY_LIST = security-issues@lists.edgexfoundry.org [Pipeline] echo 00:13:43 [edgeXSetupEnvironment]: set envvar SNYK_DOCKER_SCAN = false [Pipeline] echo 00:13:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-158 [Pipeline] echo 00:13:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-158 [Pipeline] echo 00:13:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-158 [Pipeline] echo 00:13:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e9fbb1aef84366bf56d8a545e22566b09eb166f3 [Pipeline] echo 00:13:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e9fbb1a [Pipeline] echo 00:13:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:13:44 provisioning config files... 00:13:44 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config2555418668520579211tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:13:44 ---> docker-login.sh 00:13:44 nexus3.edgexfoundry.org:10001 00:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:44 Configure a credential helper to remove this warning. See 00:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:44 00:13:44 Login Succeeded 00:13:44 nexus3.edgexfoundry.org:10002 00:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:45 Configure a credential helper to remove this warning. See 00:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:45 00:13:45 Login Succeeded 00:13:45 nexus3.edgexfoundry.org:10003 00:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:45 Configure a credential helper to remove this warning. See 00:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:45 00:13:45 Login Succeeded 00:13:45 nexus3.edgexfoundry.org:10004 00:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:45 Configure a credential helper to remove this warning. See 00:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:45 00:13:45 Login Succeeded 00:13:45 docker.io 00:13:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:13:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:13:45 Configure a credential helper to remove this warning. See 00:13:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:13:45 00:13:45 Login Succeeded 00:13:45 ---> docker-login.sh ends [Pipeline] } 00:13:45 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 00:13:46 + git log --format=format:%s -1 e9fbb1aef84366bf56d8a545e22566b09eb166f3 [Pipeline] echo 00:13:46 GIT_COMMIT: e9fbb1aef84366bf56d8a545e22566b09eb166f3, Commit Message: Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD [Pipeline] echo 00:13:46 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:13:47 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:47 00:13:47 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:13:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:48 latest: Pulling from edgex-devops/git-semver 00:13:48 31603596830f: Pulling fs layer 00:13:48 2a8b12db71e7: Pulling fs layer 00:13:48 6ca5941a6612: Pulling fs layer 00:13:48 ecc8261a40a4: Pulling fs layer 00:13:48 ecc8261a40a4: Waiting 00:13:48 2a8b12db71e7: Verifying Checksum 00:13:48 2a8b12db71e7: Download complete 00:13:48 31603596830f: Download complete 00:13:48 ecc8261a40a4: Verifying Checksum 00:13:48 ecc8261a40a4: Download complete 00:13:48 6ca5941a6612: Verifying Checksum 00:13:48 6ca5941a6612: Download complete 00:13:48 31603596830f: Pull complete 00:13:48 2a8b12db71e7: Pull complete 00:13:49 6ca5941a6612: Pull complete 00:13:49 ecc8261a40a4: Pull complete 00:13:49 Digest: sha256:c336c3cb7d26c4f33e4bbf869d415e221d43967d83d6a5809e4cb0cc2a1e8fe7 00:13:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:13:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:13:50 prd-centos7-docker-4c-2g-17116 does not seem to be running inside a container 00:13:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-158 -v /w/workspace/foundry_device-virtual-go_PR-158:/w/workspace/foundry_device-virtual-go_PR-158:rw,z -v /w/workspace/foundry_device-virtual-go_PR-158@tmp:/w/workspace/foundry_device-virtual-go_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 00:13:52 $ docker top efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:13:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:52 [ssh-agent] Looking for ssh-agent implementation... 00:13:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:53 $ docker exec efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa ssh-agent 00:13:53 SSH_AUTH_SOCK=/tmp/ssh-8KgXYXlH2Xvh/agent.12 00:13:53 SSH_AGENT_PID=17 00:13:53 Running ssh-add (command line suppressed) 00:13:53 Identity added: /w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_7044198442383179891.key (/w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_7044198442383179891.key) 00:13:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:53 + git tag --points-at HEAD [Pipeline] } 00:13:53 $ docker exec --env ******** --env ******** efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa ssh-agent -k 00:13:53 unset SSH_AUTH_SOCK; 00:13:53 unset SSH_AGENT_PID; 00:13:53 echo Agent pid 17 killed; 00:13:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:13:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:13:54 [ssh-agent] Looking for ssh-agent implementation... 00:13:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:13:54 $ docker exec efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa ssh-agent 00:13:54 SSH_AUTH_SOCK=/tmp/ssh-idGbtduE6XXZ/agent.46 00:13:54 SSH_AGENT_PID=51 00:13:54 Running ssh-add (command line suppressed) 00:13:54 Identity added: /w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_4980463912521225517.key (/w/workspace/foundry_device-virtual-go_PR-158@tmp/private_key_4980463912521225517.key) 00:13:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:13:55 + git semver init 00:13:55 # -> Open(): unable to determine branch for HEAD 00:13:55 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-158/.git 00:13:55 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-158 00:13:55 # $SEMVER_REMOTE_NAME = origin 00:13:55 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:13:55 # $SEMVER_USER_NAME = edgex-jenkins 00:13:55 # $SEMVER_BRANCH = PR-158 00:13:55 # $SEMVER_TEMP = /tmp/semver-020353696 00:13:55 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 00:13:55 # '/tmp/semver-020353696' -> '/w/workspace/foundry_device-virtual-go_PR-158/.semver' 00:13:55 # -> Force: false 00:13:55 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-158/.semver [Pipeline] } 00:13:55 $ docker exec --env ******** --env ******** efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa ssh-agent -k 00:13:55 unset SSH_AUTH_SOCK; 00:13:55 unset SSH_AGENT_PID; 00:13:55 echo Agent pid 51 killed; 00:13:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:13:56 + git semver [Pipeline] } 00:13:56 $ docker stop --time=1 efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa 00:13:57 $ docker rm -f efa6dc37a4b8ab0433b480e263d5bac9f988cd8403c381187821ae9fff069caa [Pipeline] // withDockerContainer [Pipeline] sh 00:13:58 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:13:58 Stashed 1 file(s) [Pipeline] echo 00:13:58 [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 00:14:14 Still waiting to schedule task 00:14:14 Waiting for next available executor on ‘centos7-docker-4c-2g’ 00:14:14 Still waiting to schedule task 00:14:14 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 00:16:08 Running on prd-ubuntu18.04-docker-arm64-4c-16g-17117 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] ws 00:16:08 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:16:13 using credential edgex-jenkins-ssh 00:16:14 Cloning the remote Git repository 00:16:14 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:16:14 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:16:14 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:14 > git --version # timeout=10 00:16:14 > git --version # 'git version 2.17.1' 00:16:14 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:14 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:15 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit e73fe6918ff61e26496115ae3c80a841750f15d3 00:16:16 Merge succeeded, producing 877a73450c2fc77ef82f9da9c6e614da35d91cee 00:16:16 Checking out Revision 877a73450c2fc77ef82f9da9c6e614da35d91cee (PR-158) 00:16:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:15 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:15 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:16:15 > git config core.sparsecheckout # timeout=10 00:16:15 > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 00:16:16 > git remote # timeout=10 00:16:16 > git config --get remote.origin.url # timeout=10 00:16:16 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:16 > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 00:16:16 > git rev-parse HEAD^{commit} # timeout=10 00:16:16 > git config core.sparsecheckout # timeout=10 00:16:16 > git checkout -f 877a73450c2fc77ef82f9da9c6e614da35d91cee # timeout=10 00:16:20 Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" 00:16:20 > git rev-list --no-walk e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:16:22 + sudo jq . + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false} /etc/docker/daemon.json [Pipeline] sh 00:16:23 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:16:23 + sudo+ service docker restart 00:16:23 true [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:16:26 provisioning config files... 00:16:26 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config3547071740686147143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:16:26 ---> docker-login.sh 00:16:26 nexus3.edgexfoundry.org:10001 00:16:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:28 Configure a credential helper to remove this warning. See 00:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:28 00:16:28 Login Succeeded 00:16:28 nexus3.edgexfoundry.org:10002 00:16:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:28 Configure a credential helper to remove this warning. See 00:16:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:28 00:16:28 Login Succeeded 00:16:28 nexus3.edgexfoundry.org:10003 00:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:29 Configure a credential helper to remove this warning. See 00:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:29 00:16:29 Login Succeeded 00:16:29 nexus3.edgexfoundry.org:10004 00:16:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:29 Configure a credential helper to remove this warning. See 00:16:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:29 00:16:29 Login Succeeded 00:16:29 docker.io 00:16:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:16:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:16:30 Configure a credential helper to remove this warning. See 00:16:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:16:30 00:16:30 Login Succeeded 00:16:30 ---> docker-login.sh ends [Pipeline] } 00:16:30 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:16:30 ========================================================= 00:16:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine] 00:16:30 ========================================================= [Pipeline] isUnix [Pipeline] sh 00:16:31 + 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 . 00:16:31 Sending build context to Docker daemon 487.4kB 00:16:31 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:16:31 Step 2/8 : FROM ${BASE} 00:16:31 1.15-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:16:31 5f621e34cdf4: Pulling fs layer 00:16:31 a4357932f1b6: Pulling fs layer 00:16:31 18c013af1878: Pulling fs layer 00:16:31 00ac8860ef70: Pulling fs layer 00:16:31 63d7cb157983: Pulling fs layer 00:16:31 b116817d02f9: Pulling fs layer 00:16:31 745a02a5169b: Pulling fs layer 00:16:31 b116817d02f9: Waiting 00:16:31 00ac8860ef70: Waiting 00:16:31 63d7cb157983: Waiting 00:16:31 745a02a5169b: Waiting 00:16:31 18c013af1878: Verifying Checksum 00:16:31 18c013af1878: Download complete 00:16:31 a4357932f1b6: Verifying Checksum 00:16:31 a4357932f1b6: Download complete 00:16:31 63d7cb157983: Verifying Checksum 00:16:31 63d7cb157983: Download complete 00:16:31 b116817d02f9: Verifying Checksum 00:16:31 b116817d02f9: Download complete 00:16:31 5f621e34cdf4: Verifying Checksum 00:16:31 5f621e34cdf4: Download complete 00:16:32 5f621e34cdf4: Pull complete 00:16:33 a4357932f1b6: Pull complete 00:16:33 18c013af1878: Pull complete 00:16:34 745a02a5169b: Verifying Checksum 00:16:34 745a02a5169b: Download complete 00:16:35 00ac8860ef70: Verifying Checksum 00:16:35 00ac8860ef70: Download complete 00:16:45 00ac8860ef70: Pull complete 00:16:46 63d7cb157983: Pull complete 00:16:46 b116817d02f9: Pull complete 00:16:49 745a02a5169b: Pull complete 00:16:49 Digest: sha256:df689100bc6b2f2091bc50e3ab30bcbb973ead998518226adecfd27d0a642918 00:16:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.15-alpine 00:16:49 ---> b7e6874047d6 00:16:49 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:16:51 Running on prd-centos7-docker-4c-2g-17118 in /w/workspace/foundry_device-virtual-go_PR-158 [Pipeline] { [Pipeline] ws 00:16:51 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:16:53 ---> Running in ca552758e661 00:16:53 Removing intermediate container ca552758e661 00:16:53 ---> 73d5e98f12a2 00:16:53 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:16:53 ---> Running in 9053cce26dcb 00:16:53 using credential edgex-jenkins-ssh 00:16:53 Cloning the remote Git repository 00:16:53 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:16:53 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:16:53 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:53 > git --version # timeout=10 00:16:53 > git --version # 'git version 2.24.3' 00:16:53 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:16:54 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:16:54 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:16:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/158/head:refs/remotes/origin/PR-158 +refs/heads/master:refs/remotes/origin/master # timeout=10 00:16:55 Merging remotes/origin/master commit d98ab64770a8aa8499d3ed372f913abb779305df into PR head commit e73fe6918ff61e26496115ae3c80a841750f15d3 00:16:55 Merge succeeded, producing 26e878330cb8de9254e32aa3307acc37ee7a53c6 00:16:55 Checking out Revision 26e878330cb8de9254e32aa3307acc37ee7a53c6 (PR-158) 00:16:55 Removing intermediate container 9053cce26dcb 00:16:55 ---> 87b257a1935d 00:16:55 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:16:55 ---> Running in c522f58076d9 00:16:54 > git config core.sparsecheckout # timeout=10 00:16:54 > git checkout -f e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 00:16:54 > git remote # timeout=10 00:16:54 > git config --get remote.origin.url # timeout=10 00:16:54 using GIT_SSH to set credentials SSH Credentials for GitHub 00:16:54 > git merge d98ab64770a8aa8499d3ed372f913abb779305df # timeout=10 00:16:54 > git rev-parse HEAD^{commit} # timeout=10 00:16:54 > git config core.sparsecheckout # timeout=10 00:16:54 > git checkout -f 26e878330cb8de9254e32aa3307acc37ee7a53c6 # timeout=10 00:16:56 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:16:57 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:16:57 (1/14) Installing libmagic (5.38-r0) 00:16:58 (2/14) Installing file (5.38-r0) 00:16:58 (3/14) Installing libc-dev (0.7.2-r3) 00:16:58 (4/14) Installing g++ (9.3.0-r2) 00:16:58 Commit message: "Merge commit 'd98ab64770a8aa8499d3ed372f913abb779305df' into HEAD" 00:16:58 > git rev-list --no-walk e73fe6918ff61e26496115ae3c80a841750f15d3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:17:00 + sudo jq '. + {"registry-mirrors": ["https://nexus3.edgexfoundry.org:10001"], debug: false}' /etc/docker/daemon.json [Pipeline] sh 00:17:00 + sudo mv /tmp/daemon.json /etc/docker/daemon.json [Pipeline] sh 00:17:00 + sudo service docker restart 00:17:00 + true 00:17:00 Redirecting to /bin/systemctl restart docker.service [Pipeline] withEnv [Pipeline] { [Pipeline] wrap 00:17:01 provisioning config files... 00:17:01 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config4965122907212030332tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:17:02 ---> docker-login.sh 00:17:02 nexus3.edgexfoundry.org:10001 00:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:02 Configure a credential helper to remove this warning. See 00:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:02 00:17:02 Login Succeeded 00:17:02 nexus3.edgexfoundry.org:10002 00:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:02 Configure a credential helper to remove this warning. See 00:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:02 00:17:02 Login Succeeded 00:17:02 nexus3.edgexfoundry.org:10003 00:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:02 Configure a credential helper to remove this warning. See 00:17:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:02 00:17:02 Login Succeeded 00:17:02 nexus3.edgexfoundry.org:10004 00:17:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:03 Configure a credential helper to remove this warning. See 00:17:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:03 00:17:03 Login Succeeded 00:17:03 docker.io 00:17:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:17:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:17:03 Configure a credential helper to remove this warning. See 00:17:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:17:03 00:17:03 Login Succeeded 00:17:03 ---> docker-login.sh ends [Pipeline] } 00:17:03 Deleting 1 temporary files [Pipeline] // wrap [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 00:17:03 (5/14) Installing fortify-headers (1.1-r0) 00:17:03 (6/14) Installing patch (2.7.6-r6) 00:17:03 (7/14) Installing build-base (0.5-r2) 00:17:03 (8/14) Installing openssh-keygen (8.3_p1-r1) 00:17:03 (9/14) Installing libedit (20191231.3.1-r0) 00:17:03 (10/14) Installing openssh-client (8.3_p1-r1) [Pipeline] echo 00:17:03 ========================================================= 00:17:03 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine] 00:17:03 ========================================================= 00:17:03 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 00:17:03 (12/14) Installing openssh-server-common (8.3_p1-r1) [Pipeline] isUnix [Pipeline] sh 00:17:04 (13/14) Installing openssh-server (8.3_p1-r1) 00:17:04 (14/14) Installing openssh (8.3_p1-r1) 00:17:04 Executing busybox-1.31.1-r19.trigger 00:17:04 OK: 221 MiB in 53 packages 00:17:04 + 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 . 00:17:04 Sending build context to Docker daemon 488.4kB 00:17:04 Step 1/8 : ARG BASE=golang:1.15-alpine3.12 00:17:04 Step 2/8 : FROM ${BASE} 00:17:04 1.15-alpine: Pulling from edgex-devops/edgex-golang-base 00:17:04 188c0c94c7c5: Pulling fs layer 00:17:04 0ef7d3d256c8: Pulling fs layer 00:17:04 de9db76c5a1d: Pulling fs layer 00:17:04 bca2f99d35d6: Pulling fs layer 00:17:04 93359f2a8cfa: Pulling fs layer 00:17:04 7c6f9722023f: Pulling fs layer 00:17:04 a35cf1a2eb13: Pulling fs layer 00:17:04 93359f2a8cfa: Waiting 00:17:04 a35cf1a2eb13: Waiting 00:17:04 bca2f99d35d6: Waiting 00:17:04 7c6f9722023f: Waiting 00:17:04 de9db76c5a1d: Verifying Checksum 00:17:04 de9db76c5a1d: Download complete 00:17:04 0ef7d3d256c8: Verifying Checksum 00:17:04 0ef7d3d256c8: Download complete 00:17:04 93359f2a8cfa: Verifying Checksum 00:17:04 93359f2a8cfa: Download complete 00:17:04 7c6f9722023f: Verifying Checksum 00:17:04 7c6f9722023f: Download complete 00:17:04 188c0c94c7c5: Download complete 00:17:04 188c0c94c7c5: Pull complete 00:17:05 0ef7d3d256c8: Pull complete 00:17:05 de9db76c5a1d: Pull complete 00:17:06 a35cf1a2eb13: Verifying Checksum 00:17:06 a35cf1a2eb13: Download complete 00:17:07 bca2f99d35d6: Verifying Checksum 00:17:07 bca2f99d35d6: Download complete 00:17:08 Removing intermediate container c522f58076d9 00:17:08 ---> d33c4b4054ed 00:17:08 Step 6/8 : WORKDIR /device-virtual-go 00:17:08 ---> Running in 9908bd68ebf5 00:17:08 Removing intermediate container 9908bd68ebf5 00:17:08 ---> f46ee15a8ec5 00:17:08 Step 7/8 : COPY . . 00:17:09 ---> 7cc4024ad02a 00:17:09 Step 8/8 : RUN go mod download 00:17:10 ---> Running in 780cedd46ee0 00:17:12 bca2f99d35d6: Pull complete 00:17:13 93359f2a8cfa: Pull complete 00:17:13 7c6f9722023f: Pull complete 00:17:17 a35cf1a2eb13: Pull complete 00:17:17 Digest: sha256:47e1832254f01ad1d18e03a79677f1a8325b9c763402aad95be204d7d7715f46 00:17:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.15-alpine 00:17:17 ---> a62c8e92a672 00:17:17 Step 3/8 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: IOTech' 00:17:17 ---> Running in 41ed8e255684 00:17:17 Removing intermediate container 41ed8e255684 00:17:17 ---> ca03359b91a0 00:17:17 Step 4/8 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:17:17 ---> Running in b4e75e915ba4 00:17:18 Removing intermediate container b4e75e915ba4 00:17:18 ---> 5d9c25cf432a 00:17:18 Step 5/8 : RUN apk add --update --no-cache make git openssh build-base 00:17:18 ---> Running in 05a882ee60a2 00:17:19 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:17:19 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:17:20 (1/14) Installing libmagic (5.38-r0) 00:17:20 (2/14) Installing file (5.38-r0) 00:17:20 (3/14) Installing libc-dev (0.7.2-r3) 00:17:20 (4/14) Installing g++ (9.3.0-r2) 00:17:26 (5/14) Installing fortify-headers (1.1-r0) 00:17:26 (6/14) Installing patch (2.7.6-r6) 00:17:26 (7/14) Installing build-base (0.5-r2) 00:17:26 (8/14) Installing openssh-keygen (8.3_p1-r1) 00:17:26 (9/14) Installing libedit (20191231.3.1-r0) 00:17:26 (10/14) Installing openssh-client (8.3_p1-r1) 00:17:26 (11/14) Installing openssh-sftp-server (8.3_p1-r1) 00:17:26 (12/14) Installing openssh-server-common (8.3_p1-r1) 00:17:26 (13/14) Installing openssh-server (8.3_p1-r1) 00:17:26 (14/14) Installing openssh (8.3_p1-r1) 00:17:26 Executing busybox-1.31.1-r19.trigger 00:17:26 OK: 237 MiB in 53 packages 00:17:29 Removing intermediate container 05a882ee60a2 00:17:29 ---> 87b683eea3a3 00:17:29 Step 6/8 : WORKDIR /device-virtual-go 00:17:29 ---> Running in 32e5195f20e8 00:17:30 Removing intermediate container 32e5195f20e8 00:17:30 ---> 8edc1eca1a44 00:17:30 Step 7/8 : COPY . . 00:17:31 ---> f2f36b1c0de3 00:17:31 Step 8/8 : RUN go mod download 00:17:31 ---> Running in 0b9ccdc9308d 00:17:36 Removing intermediate container 780cedd46ee0 00:17:36 ---> 5591f382f378 00:17:36 Successfully built 5591f382f378 00:17:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:17:37 + docker inspect -f . ci-base-image-arm64 00:17:37 . [Pipeline] withDockerContainer 00:17:37 prd-ubuntu18.04-docker-arm64-4c-16g-17117 does not seem to be running inside a container 00:17:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:17:39 $ docker top a454a38cbbbe7b8cfd1ae9985e2f6a07ca96c60e2a4f23bcc00a6a04216fc300 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:40 + go version 00:17:40 go version go1.15.5 linux/arm64 [Pipeline] } 00:17:40 $ docker stop --time=1 a454a38cbbbe7b8cfd1ae9985e2f6a07ca96c60e2a4f23bcc00a6a04216fc300 00:17:42 $ docker rm -f a454a38cbbbe7b8cfd1ae9985e2f6a07ca96c60e2a4f23bcc00a6a04216fc300 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:43 + docker inspect -f . ci-base-image-arm64 00:17:43 . [Pipeline] withDockerContainer 00:17:43 prd-ubuntu18.04-docker-arm64-4c-16g-17117 does not seem to be running inside a container 00:17:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:17:44 $ docker top 6fc23cdf2c80893357846718bf62b2e7f8b54e0882d06ba550319f1d18273358 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:45 + make test 00:17:45 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:17:46 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:17:53 Removing intermediate container 0b9ccdc9308d 00:17:53 ---> 351f1396927e 00:17:53 Successfully built 351f1396927e 00:17:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:17:53 + docker inspect -f . ci-base-image-x86_64 00:17:53 . [Pipeline] withDockerContainer 00:17:53 prd-centos7-docker-4c-2g-17118 does not seem to be running inside a container 00:17:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:17:54 $ docker top 393ba7b0d487dbe9d6e0bbd35011a88fa09e5a71b205b55f7234cec63e41d55d -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:55 + go version 00:17:55 go version go1.15.5 linux/amd64 [Pipeline] } 00:17:55 $ docker stop --time=1 393ba7b0d487dbe9d6e0bbd35011a88fa09e5a71b205b55f7234cec63e41d55d 00:17:56 $ docker rm -f 393ba7b0d487dbe9d6e0bbd35011a88fa09e5a71b205b55f7234cec63e41d55d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:17:57 + docker inspect -f . ci-base-image-x86_64 00:17:57 . [Pipeline] withDockerContainer 00:17:57 prd-centos7-docker-4c-2g-17118 does not seem to be running inside a container 00:17:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:17:58 $ docker top 67c9d718ed6f27511a726913fb109ed721a602273dcfb7096500799272d56e00 -eo pid,comm [Pipeline] { [Pipeline] sh 00:17:58 + make test 00:17:58 CGO_ENABLED=0 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:17:59 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:18:14 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:18:16 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.348s coverage: 64.4% of statements 00:18:16 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:18:19 gofmt -l . 00:18:19 [ "`gofmt -l .`" = "" ] 00:18:19 ./bin/test-attribution-txt.sh 00:18:19 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:18:20 $ docker stop --time=1 67c9d718ed6f27511a726913fb109ed721a602273dcfb7096500799272d56e00 00:18:21 $ docker rm -f 67c9d718ed6f27511a726913fb109ed721a602273dcfb7096500799272d56e00 [Pipeline] // withDockerContainer [Pipeline] sh 00:18:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:18:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:18:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:18:25 + ls -al . 00:18:25 total 124 00:18:25 drwxrwxr-x. 7 jenkins jenkins 4096 Dec 22 00:18 . 00:18:25 drwxrwxr-x. 4 jenkins jenkins 28 Dec 22 00:16 .. 00:18:25 -rw-rw-r--. 1 jenkins jenkins 6713 Dec 22 00:16 Attribution.txt 00:18:25 drwxrwxr-x. 2 jenkins jenkins 64 Dec 22 00:16 bin 00:18:25 drwxrwxr-x. 3 jenkins jenkins 32 Dec 22 00:16 cmd 00:18:25 -rw-r--r--. 1 jenkins jenkins 47242 Dec 22 00:18 coverage.out 00:18:25 -rw-rw-r--. 1 jenkins jenkins 1851 Dec 22 00:16 Dockerfile 00:18:25 -rw-rw-r--. 1 jenkins jenkins 961 Dec 22 00:16 Dockerfile.build 00:18:25 drwxrwxr-x. 8 jenkins jenkins 179 Dec 22 00:16 .git 00:18:25 drwxrwxr-x. 2 jenkins jenkins 60 Dec 22 00:16 .github 00:18:25 -rw-rw-r--. 1 jenkins jenkins 258 Dec 22 00:16 .gitignore 00:18:25 -rw-r--r--. 1 jenkins jenkins 863 Dec 22 00:18 go.mod 00:18:25 -rw-r--r--. 1 jenkins jenkins 16360 Dec 22 00:18 go.sum 00:18:25 drwxrwxr-x. 3 jenkins jenkins 20 Dec 22 00:16 internal 00:18:25 -rw-rw-r--. 1 jenkins jenkins 660 Dec 22 00:16 Jenkinsfile 00:18:25 -rw-rw-r--. 1 jenkins jenkins 11340 Dec 22 00:16 LICENSE 00:18:25 -rw-rw-r--. 1 jenkins jenkins 873 Dec 22 00:16 Makefile 00:18:25 -rw-rw-r--. 1 jenkins jenkins 918 Dec 22 00:16 README.md 00:18:25 -rw-rw-r--. 1 jenkins jenkins 5 Dec 22 00:13 VERSION 00:18:25 -rw-rw-r--. 1 jenkins jenkins 235 Dec 22 00:16 version.go [Pipeline] isUnix [Pipeline] sh 00:18:25 + docker build -t docker-device-virtual-go -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=e9fbb1aef84366bf56d8a545e22566b09eb166f3 --label arch=amd64 --label version=0.0.0 . 00:18:25 Sending build context to Docker daemon 553.5kB 00:18:25 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 00:18:25 Step 2/22 : FROM ${BASE} AS builder 00:18:26 ---> 351f1396927e 00:18:26 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:18:26 ---> Running in c1023c6baab7 00:18:26 Removing intermediate container c1023c6baab7 00:18:26 ---> 467f85372ad5 00:18:26 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:18:26 ---> Running in 0ebb4421be4b 00:18:26 Removing intermediate container 0ebb4421be4b 00:18:26 ---> 68c9c9857510 00:18:26 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:18:26 ---> Running in a84b568c306e 00:18:26 Removing intermediate container a84b568c306e 00:18:26 ---> 0db57005d788 00:18:26 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:26 ---> Running in a64ab02a879f 00:18:27 Removing intermediate container a64ab02a879f 00:18:27 ---> a6f2f9a3dbb0 00:18:27 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:27 ---> Running in e1b442b19509 00:18:28 fetch http://nl.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz 00:18:29 fetch http://nl.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz 00:18:29 OK: 237 MiB in 53 packages 00:18:30 Removing intermediate container e1b442b19509 00:18:30 ---> dca73cb33361 00:18:30 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:18:30 ---> Running in e2204b21cc8c 00:18:30 Removing intermediate container e2204b21cc8c 00:18:30 ---> c44eb413455e 00:18:30 Step 9/22 : COPY . . 00:18:31 ---> b1001b9ae4e0 00:18:31 Step 10/22 : ARG MAKE='make build' 00:18:31 ---> Running in 0cbfefc23b99 00:18:31 Removing intermediate container 0cbfefc23b99 00:18:31 ---> cd11d7c67bb9 00:18:31 Step 11/22 : RUN $MAKE 00:18:31 ---> Running in 16d08179d0dd 00:18:31 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 00:18:33 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:18:33 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.463s coverage: 64.4% of statements 00:18:33 CGO_ENABLED=0 GO111MODULE=on go vet ./... 00:18:42 gofmt -l . 00:18:42 [ "`gofmt -l .`" = "" ] 00:18:42 ./bin/test-attribution-txt.sh 00:18:42 ./bin/test-go-mod-tidy.sh [Pipeline] } 00:18:43 $ docker stop --time=1 6fc23cdf2c80893357846718bf62b2e7f8b54e0882d06ba550319f1d18273358 00:18:44 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:18:45 $ docker rm -f 6fc23cdf2c80893357846718bf62b2e7f8b54e0882d06ba550319f1d18273358 [Pipeline] // withDockerContainer [Pipeline] sh 00:18:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:18:46 Warning: overwriting stash ‘coverage-report’ 00:18:46 Removing intermediate container 16d08179d0dd 00:18:46 ---> 08942f473596 00:18:46 Step 12/22 : FROM alpine:3.12 00:18:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:18:47 + sudo chown -R jenkins:jenkins . 00:18:47 3.12: Pulling from library/alpine 00:18:47 801bfaa63ef2: Pulling fs layer 00:18:47 801bfaa63ef2: Verifying Checksum 00:18:47 801bfaa63ef2: Download complete [Pipeline] sh 00:18:48 801bfaa63ef2: Pull complete 00:18:48 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 00:18:48 Status: Downloaded newer image for alpine:3.12 00:18:48 ---> 389fef711851 00:18:48 Step 13/22 : ENV APP_PORT=49990 00:18:48 + ls -al . 00:18:48 total 148 00:18:48 drwxrwxr-x 7 jenkins jenkins 4096 Dec 22 00:18 . 00:18:48 drwxrwxr-x 4 jenkins jenkins 4096 Dec 22 00:16 .. 00:18:48 drwxrwxr-x 8 jenkins jenkins 4096 Dec 22 00:16 .git 00:18:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 22 00:16 .github 00:18:48 -rw-rw-r-- 1 jenkins jenkins 258 Dec 22 00:16 .gitignore 00:18:48 -rw-rw-r-- 1 jenkins jenkins 6713 Dec 22 00:16 Attribution.txt 00:18:48 -rw-rw-r-- 1 jenkins jenkins 1851 Dec 22 00:16 Dockerfile 00:18:48 -rw-rw-r-- 1 jenkins jenkins 961 Dec 22 00:16 Dockerfile.build 00:18:48 -rw-rw-r-- 1 jenkins jenkins 660 Dec 22 00:16 Jenkinsfile 00:18:48 -rw-rw-r-- 1 jenkins jenkins 11340 Dec 22 00:16 LICENSE 00:18:48 -rw-rw-r-- 1 jenkins jenkins 873 Dec 22 00:16 Makefile 00:18:48 -rw-rw-r-- 1 jenkins jenkins 918 Dec 22 00:16 README.md 00:18:48 -rw-rw-r-- 1 jenkins jenkins 5 Dec 22 00:13 VERSION 00:18:48 drwxrwxr-x 2 jenkins jenkins 4096 Dec 22 00:16 bin 00:18:48 drwxrwxr-x 3 jenkins jenkins 4096 Dec 22 00:16 cmd 00:18:48 -rw-r--r-- 1 jenkins jenkins 47242 Dec 22 00:18 coverage.out 00:18:48 -rw-r--r-- 1 jenkins jenkins 863 Dec 22 00:18 go.mod 00:18:48 -rw-r--r-- 1 jenkins jenkins 16360 Dec 22 00:18 go.sum 00:18:48 drwxrwxr-x 3 jenkins jenkins 4096 Dec 22 00:16 internal 00:18:48 -rw-rw-r-- 1 jenkins jenkins 235 Dec 22 00:16 version.go [Pipeline] isUnix [Pipeline] sh 00:18:48 ---> Running in e8399b84397d 00:18:48 Removing intermediate container e8399b84397d 00:18:48 ---> 002f01393452 00:18:48 Step 14/22 : EXPOSE $APP_PORT 00:18:48 + docker build -t docker-device-virtual-go-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e9fbb1aef84366bf56d8a545e22566b09eb166f3 --label arch=arm64 --label version=0.0.0 . 00:18:48 ---> Running in 44c3063ad083 00:18:48 Removing intermediate container 44c3063ad083 00:18:48 ---> 1f696b83ef11 00:18:48 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:18:48 Sending build context to Docker daemon 552.4kB 00:18:48 Step 1/22 : ARG BASE=golang:1.15-alpine3.12 00:18:48 Step 2/22 : FROM ${BASE} AS builder 00:18:48 ---> 5591f382f378 00:18:48 Step 3/22 : ARG ALPINE_PKG_BASE="build-base git openssh-client" 00:18:49 ---> Running in be2da27207b5 00:18:49 ---> 4645257df572 00:18:49 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:18:49 ---> d31c81114155 00:18:49 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 00:18:49 Removing intermediate container be2da27207b5 00:18:49 ---> 2aa6a4c83fec 00:18:49 Step 4/22 : ARG ALPINE_PKG_EXTRA="" 00:18:49 ---> Running in a034a630c353 00:18:49 ---> 754d8b442d73 00:18:49 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:18:49 ---> Running in 80542844c975 00:18:50 Removing intermediate container 80542844c975 00:18:50 ---> 89dffecefd84 00:18:50 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:18:50 ---> Running in fbbf5ebc0adc 00:18:50 Removing intermediate container a034a630c353 00:18:50 ---> 102ff8f9bf7d 00:18:50 Step 5/22 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019-2020: IOTech' 00:18:50 ---> Running in a0687776d46a 00:18:50 Removing intermediate container fbbf5ebc0adc 00:18:50 ---> 4ce35fe4c654 00:18:50 Step 20/22 : LABEL arch=amd64 00:18:50 ---> Running in 1a01300f0f25 00:18:50 Removing intermediate container 1a01300f0f25 00:18:50 ---> e71337368ff6 00:18:50 Step 21/22 : LABEL git_sha=e9fbb1aef84366bf56d8a545e22566b09eb166f3 00:18:50 ---> Running in 0cbd09ef2202 00:18:50 Removing intermediate container 0cbd09ef2202 00:18:50 ---> 6cc94e449c0b 00:18:50 Step 22/22 : LABEL version=0.0.0 00:18:50 ---> Running in 86603c8760db 00:18:50 Removing intermediate container 86603c8760db 00:18:50 ---> 3bd9180388a2 00:18:50 [Warning] One or more build-args [ARCH] were not consumed 00:18:50 Successfully built 3bd9180388a2 00:18:50 Successfully tagged docker-device-virtual-go:latest [Pipeline] } 00:18:50 Removing intermediate container a0687776d46a 00:18:50 ---> de7a20fe9dde 00:18:50 Step 6/22 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:18:50 ---> Running in 31906a553e5d [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] } 00:18:52 Removing intermediate container 31906a553e5d 00:18:52 ---> 5a82d1e816ef 00:18:52 Step 7/22 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:18:52 ---> Running in d167b4a6f168 00:18:53 fetch http://nl.alpinelinux.org/alpine/v3.12/main/aarch64/APKINDEX.tar.gz 00:18:54 fetch http://nl.alpinelinux.org/alpine/v3.12/community/aarch64/APKINDEX.tar.gz 00:18:55 OK: 221 MiB in 53 packages 00:18:56 Removing intermediate container d167b4a6f168 00:18:56 ---> 3e5751b7d81f 00:18:56 Step 8/22 : WORKDIR $GOPATH/src/github.com/edgexfoundry/device-virtual-go 00:18:56 ---> Running in 096f73d1e7d1 00:18:57 Removing intermediate container 096f73d1e7d1 00:18:57 ---> d643a2944865 00:18:57 Step 9/22 : COPY . . 00:18:58 ---> fd720c6f7d5b 00:18:58 Step 10/22 : ARG MAKE='make build' 00:18:58 ---> Running in 864735c7d243 00:18:58 Removing intermediate container 864735c7d243 00:18:58 ---> 47a46d70c39e 00:18:58 Step 11/22 : RUN $MAKE 00:18:58 ---> Running in bf920f377d69 00:18:59 CGO_ENABLED=0 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-virtual-go.Version=0.0.0" -o cmd/device-virtual ./cmd 00:19:38 CGO_ENABLED=0 GO111MODULE=on go build ./... 00:19:40 Removing intermediate container bf920f377d69 00:19:40 ---> e6595416fb2d 00:19:40 Step 12/22 : FROM alpine:3.12 00:19:40 3.12: Pulling from library/alpine 00:19:40 159e5727ea61: Pulling fs layer 00:19:40 159e5727ea61: Verifying Checksum 00:19:40 159e5727ea61: Download complete 00:19:41 159e5727ea61: Pull complete 00:19:41 Digest: sha256:3c7497bf0c7af93428242d6176e8f7905f2201d8fc5861f45be7a346b5f23436 00:19:41 Status: Downloaded newer image for alpine:3.12 00:19:41 ---> afeebe901d6b 00:19:41 Step 13/22 : ENV APP_PORT=49990 00:19:41 ---> Running in 851bef644092 00:19:42 Removing intermediate container 851bef644092 00:19:42 ---> 74547b7790d2 00:19:42 Step 14/22 : EXPOSE $APP_PORT 00:19:42 ---> Running in 36efd3612654 00:19:42 Removing intermediate container 36efd3612654 00:19:42 ---> f3f6694bff26 00:19:42 Step 15/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/cmd / 00:19:43 ---> 39bf77a77319 00:19:43 Step 16/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/Attribution.txt / 00:19:44 ---> 6da8aba95475 00:19:44 Step 17/22 : COPY --from=builder /go/src/github.com/edgexfoundry/device-virtual-go/LICENSE / 00:19:45 ---> d4d5109c0b74 00:19:45 Step 18/22 : ENTRYPOINT ["/device-virtual"] 00:19:45 ---> Running in 29f2828e341e 00:19:46 Removing intermediate container 29f2828e341e 00:19:46 ---> f4206335dff3 00:19:46 Step 19/22 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:19:46 ---> Running in 859a50f1ccba 00:19:46 Removing intermediate container 859a50f1ccba 00:19:46 ---> efd4c63d2cec 00:19:46 Step 20/22 : LABEL arch=arm64 00:19:46 ---> Running in 23e3138fc85e 00:19:47 Removing intermediate container 23e3138fc85e 00:19:47 ---> 258ad3d38eae 00:19:47 Step 21/22 : LABEL git_sha=e9fbb1aef84366bf56d8a545e22566b09eb166f3 00:19:47 ---> Running in 728f01240646 00:19:47 Removing intermediate container 728f01240646 00:19:47 ---> 273b68df22ce 00:19:47 Step 22/22 : LABEL version=0.0.0 00:19:47 ---> Running in 0855496deee1 00:19:48 Removing intermediate container 0855496deee1 00:19:48 ---> 65a684b10ef2 00:19:48 [Warning] One or more build-args [ARCH] were not consumed 00:19:48 Successfully built 65a684b10ef2 00:19:48 Successfully tagged docker-device-virtual-go-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 00:19:51 provisioning config files... 00:19:51 copy managed file [device-virtual-go-codecov-token] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config3677839488559872634tmp [Pipeline] { [Pipeline] sh 00:19:51 + set +x 00:19:51 + curl -s https://codecov.io/bash 00:19:51 + bash -s -- 00:19:52 00:19:52 _____ _ 00:19:52 / ____| | | 00:19:52 | | ___ __| | ___ ___ _____ __ 00:19:52 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:19:52 | |___| (_) | (_| | __/ (_| (_) \ V / 00:19:52 \_____\___/ \__,_|\___|\___\___/ \_/ 00:19:52 Bash-20201217-3d3df35 00:19:52 00:19:52 00:19:52 git version 2.24.3 found 00:19:52 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 00:19:52 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 00:19:52 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets found 00:19:52 ==> Jenkins CI detected. 00:19:52 project root: . 00:19:52 --> token set from env 00:19:52 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:19:52 ==> Running gcov in . (disable via -X gcov) 00:19:52 ==> Python coveragepy not found 00:19:52 ==> Searching for coverage reports in: 00:19:52 + . 00:19:52 -> Found 1 reports 00:19:52 ==> Detecting git/mercurial file structure 00:19:52 ==> Reading reports 00:19:52 + ./coverage.out bytes=47242 00:19:52 ==> Appending adjustments 00:19:52 https://docs.codecov.io/docs/fixing-reports 00:19:52 + Found adjustments 00:19:52 ==> Gzipping contents 00:19:52 8.0K /tmp/codecov.witpXK.gz 00:19:52 ==> Uploading reports 00:19:52 url: https://codecov.io 00:19:52 query: branch=PR-158&commit=e9fbb1aef84366bf56d8a545e22566b09eb166f3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-158%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=158&job=&cmd_args= 00:19:52 -> Pinging Codecov 00:19:52 https://codecov.io/upload/v4?package=bash-20201217-3d3df35&token=secret&branch=PR-158&commit=e9fbb1aef84366bf56d8a545e22566b09eb166f3&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-virtual-go%2Fjob%2FPR-158%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-virtual-go&service=jenkins&flags=&pr=158&job=&cmd_args= 00:19:52 -> Uploading to 00:19:52 https://storage.googleapis.com/codecov/v4/raw/2020-12-22/5E52B4B073DB2E39498172D8E973AA87/e9fbb1aef84366bf56d8a545e22566b09eb166f3/3e7f731a-dfe0-4e6a-89c4-138f6f8531e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EQX6OZVJGHKK3633AAFGLBUCOOATRACRQRQF6HMSMLYUP6EAD6XSWAAY%2F20201222%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20201222T001952Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=772b19bc6608f549bcc13c429e0c21f1e7cb22ebf1eebb548f031cb3d9f32245 00:19:52 % Total % Received % Xferd Average Speed Time Time Time Current 00:19:52 Dload Upload Total Spent Left Speed 00:19:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 5785 0 0 100 5785 0 10030 --:--:-- --:--:-- --:--:-- 10043 00:19:53 -> View reports at https://codecov.io/github/edgexfoundry/device-virtual-go/commit/e9fbb1aef84366bf56d8a545e22566b09eb166f3 [Pipeline] } 00:19:53 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 00:19:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:19:57 ---> package-listing.sh 00:19:57 ++ facter osfamily 00:19:57 ++ tr '[:upper:]' '[:lower:]' 00:19:57 + OS_FAMILY=redhat 00:19:57 + workspace=/w/workspace/foundry_device-virtual-go_PR-158 00:19:57 + START_PACKAGES=/tmp/packages_start.txt 00:19:57 + END_PACKAGES=/tmp/packages_end.txt 00:19:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:19:57 + PACKAGES=/tmp/packages_start.txt 00:19:57 + '[' /w/workspace/foundry_device-virtual-go_PR-158 ']' 00:19:57 + PACKAGES=/tmp/packages_end.txt 00:19:57 + case "${OS_FAMILY}" in 00:19:57 + rpm -qa 00:19:57 + sort 00:20:02 + '[' -f /tmp/packages_start.txt ']' 00:20:02 + '[' -f /tmp/packages_end.txt ']' 00:20:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:20:02 + '[' /w/workspace/foundry_device-virtual-go_PR-158 ']' 00:20:02 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-158/archives/ 00:20:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-158/archives/ [Pipeline] echo 00:20:02 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/foundry_device-virtual-go_PR-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:20:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:20:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:20:03 00:20:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] isUnix [Pipeline] sh 00:20:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:20:03 alpine: Pulling from edgex-lftools-log-publisher 00:20:03 df20fa9351a1: Pulling fs layer 00:20:03 36b3adc4ff6f: Pulling fs layer 00:20:03 8ad3a11d3b57: Pulling fs layer 00:20:03 46f8f816bc3b: Pulling fs layer 00:20:03 93b61091891f: Pulling fs layer 00:20:03 93b9cdb0e59b: Pulling fs layer 00:20:03 5e14af77c1be: Pulling fs layer 00:20:03 01666e4c0597: Pulling fs layer 00:20:03 aa168da1d23b: Pulling fs layer 00:20:03 5e14af77c1be: Waiting 00:20:03 46f8f816bc3b: Waiting 00:20:03 93b61091891f: Waiting 00:20:03 93b9cdb0e59b: Waiting 00:20:03 01666e4c0597: Waiting 00:20:03 aa168da1d23b: Waiting 00:20:03 36b3adc4ff6f: Verifying Checksum 00:20:03 36b3adc4ff6f: Download complete 00:20:03 46f8f816bc3b: Verifying Checksum 00:20:03 46f8f816bc3b: Download complete 00:20:04 df20fa9351a1: Verifying Checksum 00:20:04 df20fa9351a1: Download complete 00:20:04 93b9cdb0e59b: Verifying Checksum 00:20:04 93b9cdb0e59b: Download complete 00:20:04 93b61091891f: Download complete 00:20:04 5e14af77c1be: Verifying Checksum 00:20:04 5e14af77c1be: Download complete 00:20:04 01666e4c0597: Verifying Checksum 00:20:04 01666e4c0597: Download complete 00:20:04 8ad3a11d3b57: Verifying Checksum 00:20:04 8ad3a11d3b57: Download complete 00:20:04 df20fa9351a1: Pull complete 00:20:04 36b3adc4ff6f: Pull complete 00:20:05 8ad3a11d3b57: Pull complete 00:20:05 46f8f816bc3b: Pull complete 00:20:06 aa168da1d23b: Download complete 00:20:06 93b61091891f: Pull complete 00:20:06 93b9cdb0e59b: Pull complete 00:20:07 5e14af77c1be: Pull complete 00:20:07 01666e4c0597: Pull complete 00:20:15 aa168da1d23b: Pull complete 00:20:15 Digest: sha256:ac41798234670a79351fc13b8232b4dbeccc6fb1f122f5db5169d11b1762ca7c 00:20:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine 00:20:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine [Pipeline] withDockerContainer 00:20:15 prd-centos7-docker-4c-2g-17116 does not seem to be running inside a container 00:20:15 $ 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/foundry_device-virtual-go_PR-158/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-158 -v /w/workspace/foundry_device-virtual-go_PR-158:/w/workspace/foundry_device-virtual-go_PR-158:rw,z -v /w/workspace/foundry_device-virtual-go_PR-158@tmp:/w/workspace/foundry_device-virtual-go_PR-158@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:alpine cat 00:20:19 $ docker top d9cb96dfc44a955df145b0e82c2bfd4682c2d4d557317086cfa8e34860bab302 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:20 + touch /tmp/pre-build-complete [Pipeline] sh 00:20:20 + mkdir -p /var/log/sa [Pipeline] sh 00:20:20 + ls /var/log/sa-host 00:20:20 + sadf -c /var/log/sa-host/sa22 00:20:20 file_magic: OK 00:20:20 HZ: Using current value: 100 00:20:20 file_header: OK 00:20:20 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 00:20:20 Statistics: 00:20:20 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:20:20 File successfully converted to sysstat format version 12.2.1 00:20:20 + sadf -c /var/log/sa-host/sa23 00:20:20 file_magic: OK 00:20:20 HZ: Using current value: 100 00:20:20 file_header: OK 00:20:20 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 00:20:20 Statistics: 00:20:20 Hnuu...uuuununununu... 00:20:20 File successfully converted to sysstat format version 12.2.1 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:20:21 provisioning config files... 00:20:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-158@tmp/config8445420231383886172tmp [Pipeline] { [Pipeline] echo 00:20:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:20:21 ---> create-netrc.sh [Pipeline] } 00:20:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] echo 00:20:21 Running shell/python-tools-install.sh [Pipeline] libraryResource [Pipeline] sh 00:20:22 ---> python-tools-install.sh [Pipeline] echo 00:20:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:20:22 ---> sudo-logs.sh 00:20:22 Archiving 'sudo' log.. [Pipeline] echo 00:20:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:20:22 ---> job-cost.sh 00:20:22 lf-activate-venv: SKIPPING 00:20:22 INFO: No Stack... 00:20:23 INFO: Retrieving Pricing Info for: v1-standard-2 00:20:24 INFO: Archiving Costs [Pipeline] echo 00:20:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:20:24 ---> logs-deploy.sh 00:20:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-158/2 00:20:24 INFO: archiving workspace using pattern(s): 00:20:26 Archives upload complete. 00:20:26 INFO: archiving logs to Nexus 00:20:27 ---> uname -a: 00:20:27 Linux prd-centos7-docker-4c-2g-17116.vexxhost.local 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 Linux 00:20:27 00:20:27 00:20:27 ---> lscpu: 00:20:27 Architecture: x86_64 00:20:27 CPU op-mode(s): 32-bit, 64-bit 00:20:27 Byte Order: Little Endian 00:20:27 Address sizes: 40 bits physical, 48 bits virtual 00:20:27 CPU(s): 4 00:20:27 On-line CPU(s) list: 0-3 00:20:27 Thread(s) per core: 1 00:20:27 Core(s) per socket: 1 00:20:27 Socket(s): 4 00:20:27 NUMA node(s): 1 00:20:27 Vendor ID: GenuineIntel 00:20:27 CPU family: 6 00:20:27 Model: 44 00:20:27 Model name: Westmere E56xx/L56xx/X56xx (IBRS update) 00:20:27 Stepping: 1 00:20:27 CPU MHz: 2933.436 00:20:27 BogoMIPS: 5866.87 00:20:27 Virtualization: VT-x 00:20:27 Hypervisor vendor: KVM 00:20:27 Virtualization type: full 00:20:27 L1d cache: 128 KiB 00:20:27 L1i cache: 128 KiB 00:20:27 L2 cache: 16 MiB 00:20:27 L3 cache: 64 MiB 00:20:27 NUMA node0 CPU(s): 0-3 00:20:27 Vulnerability Itlb multihit: KVM: Mitigation: Split huge pages 00:20:27 Vulnerability L1tf: Mitigation; PTE Inversion; VMX conditional cache flushes, SMT disabled 00:20:27 Vulnerability Mds: Vulnerable: Clear CPU buffers attempted, no microcode; SMT Host state unknown 00:20:27 Vulnerability Meltdown: Mitigation; PTI 00:20:27 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:20:27 Vulnerability Spectre v1: Mitigation; Load fences, usercopy/swapgs barriers and __user pointer sanitization 00:20:27 Vulnerability Spectre v2: Mitigation; Full retpoline, IBPB 00:20:27 Vulnerability Srbds: Not affected 00:20:27 Vulnerability Tsx async abort: Not affected 00:20:27 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 00:20:27 00:20:27 00:20:27 ---> nproc: 00:20:27 4 00:20:27 00:20:27 00:20:27 ---> df -h: 00:20:27 Filesystem Size Used Available Use% Mounted on 00:20:27 overlay 50.0G 7.3G 42.7G 15% / 00:20:27 tmpfs 64.0M 0 64.0M 0% /dev 00:20:27 tmpfs 918.7M 0 918.7M 0% /sys/fs/cgroup 00:20:27 shm 64.0M 0 64.0M 0% /dev/shm 00:20:27 /dev/vda1 50.0G 7.3G 42.7G 15% /facter-os 00:20:27 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/resolv.conf 00:20:27 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hostname 00:20:27 /dev/vda1 50.0G 7.3G 42.7G 15% /etc/hosts 00:20:27 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/secure 00:20:27 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/auth.log 00:20:27 /dev/vda1 50.0G 7.3G 42.7G 15% /run/cloud-init/result.json 00:20:27 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-158 00:20:27 /dev/vda1 50.0G 7.3G 42.7G 15% /w/workspace/foundry_device-virtual-go_PR-158@tmp 00:20:27 /dev/vda1 50.0G 7.3G 42.7G 15% /var/log/sa-host 00:20:27 00:20:27 00:20:27 ---> free -m: 00:20:27 total used free shared buff/cache available 00:20:27 Mem: 1837 709 109 0 1019 1023 00:20:27 Swap: 1023 0 1023 00:20:27 00:20:27 00:20:27 ---> ip addr: 00:20:27 1: lo: mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 00:20:27 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 00:20:27 inet 127.0.0.1/8 scope host lo 00:20:27 valid_lft forever preferred_lft forever 00:20:27 inet6 ::1/128 scope host 00:20:27 valid_lft forever preferred_lft forever 00:20:27 2: eth0: mtu 1458 qdisc pfifo_fast state UP qlen 1000 00:20:27 link/ether fa:16:3e:4d:a1:a3 brd ff:ff:ff:ff:ff:ff 00:20:27 inet 10.30.123.238/23 brd 10.30.123.255 scope global dynamic eth0 00:20:27 valid_lft 85955sec preferred_lft 85955sec 00:20:27 inet6 fe80::f816:3eff:fe4d:a1a3/64 scope link 00:20:27 valid_lft forever preferred_lft forever 00:20:27 3: docker0: mtu 1500 qdisc noqueue state DOWN 00:20:27 link/ether 02:42:52:af:79:df brd ff:ff:ff:ff:ff:ff 00:20:27 inet 10.250.0.254/24 brd 10.250.0.255 scope global docker0 00:20:27 valid_lft forever preferred_lft forever 00:20:27 inet6 fe80::42:52ff:feaf:79df/64 scope link 00:20:27 valid_lft forever preferred_lft forever 00:20:27 00:20:27 00:20:27 ---> sar -b -r -n DEV: 00:20:27 Linux 3.10.0-1160.6.1.el7.x86_64 (centos-7-docker-5fbc1798-0377-b841-54c3-72bc41eda64a.vexxhost.lo) 12/22/20 _x86_64_ (4 CPU) 00:20:27 00:20:27 00:12:52 LINUX RESTART (4 CPU) 00:20:27 00:20:27 00:14:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:20:27 00:15:01 3.50 0.07 3.43 0.00 2.13 112.47 0.00 00:20:27 00:16:01 0.42 0.00 0.42 0.00 0.00 6.31 0.00 00:20:27 00:17:01 0.23 0.00 0.23 0.00 0.00 3.13 0.00 00:20:27 00:18:01 0.25 0.00 0.25 0.00 0.00 3.60 0.00 00:20:27 00:19:01 0.25 0.00 0.25 0.00 0.00 3.75 0.00 00:20:27 00:20:01 48.81 47.36 1.45 0.00 4024.64 34.59 0.00 00:20:27 Average: 8.91 7.91 1.00 0.00 671.31 27.31 0.00 00:20:27 00:20:27 00:14:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:20:27 00:15:01 151288 0 606888 32.25 2620 1120748 1076148 36.73 417916 1114456 20 00:20:27 00:16:01 149748 0 608420 32.34 2620 1120756 1076148 36.73 427960 1106216 8 00:20:27 00:17:01 149208 0 608956 32.36 2620 1120760 1076292 36.73 423344 1111652 8 00:20:27 00:18:01 148452 0 609712 32.40 2620 1120760 1076148 36.73 432756 1103052 8 00:20:27 00:19:01 148172 0 609984 32.42 2620 1120768 1076220 36.73 443564 1092480 8 00:20:27 00:20:01 77160 0 633104 33.65 2620 1168660 1112232 37.96 455864 1151948 128 00:20:27 Average: 137338 0 612844 32.57 2620 1128742 1082198 36.93 433567 1113301 30 00:20:27 00:20:27 00:14:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:20:27 00:15:01 eth0 0.40 0.08 0.02 0.01 0.00 0.00 0.00 0.00 00:20:27 00:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:16:01 eth0 0.50 0.08 0.05 0.01 0.00 0.00 0.00 0.00 00:20:27 00:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:17:01 eth0 4.76 2.18 3.60 0.47 0.00 0.00 0.00 0.00 00:20:27 00:17:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:18:01 eth0 0.10 0.08 0.01 0.04 0.00 0.00 0.00 0.00 00:20:27 00:18:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:18:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:19:01 eth0 0.28 0.20 0.14 0.07 0.00 0.00 0.00 0.00 00:20:27 00:19:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:19:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:20:01 eth0 10.70 6.26 9.76 3.61 0.00 0.00 0.00 0.00 00:20:27 00:20:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:20:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 Average: eth0 2.79 1.48 2.27 0.70 0.00 0.00 0.00 0.00 00:20:27 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:20:27 00:20:27