Pull request #246 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 046fd81cb407d78a3ad60ebc935e66a4cfab8960+34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 (230592dbde54c24cf7e9b6d481af5fe6019067da) 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5589799660725267284.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4648610713628804157.key > 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 d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-246/workspace@libs/edgex-global-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-246/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5176220703733641236.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3994807024476530552.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-246/workspace@libs/lf-pipelines/.git # 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-246/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8048102149300680955.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > 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.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual 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 BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13361 in /w/workspace/foundry_device-virtual-go_PR-246 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-246 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-246@tmp/jenkins-gitclient-ssh3706516080874553560.key > 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 [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-246@tmp/jenkins-gitclient-ssh6324427693274537784.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/246/head:refs/remotes/origin/PR-246 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 046fd81cb407d78a3ad60ebc935e66a4cfab8960 Merge succeeded, producing 046fd81cb407d78a3ad60ebc935e66a4cfab8960 Checking out Revision 046fd81cb407d78a3ad60ebc935e66a4cfab8960 (PR-246) > git config core.sparsecheckout # timeout=10 > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-246@tmp/jenkins-gitclient-ssh5969019379680082917.key > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 Commit message: "feat: Update configuration for new CORS and Secrets File settings" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:40:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:40:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:40:28 ========================================================= 00:40:28 EdgeX Global Pipelines Version Info 00:40:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1e709f869cca46bc565284a664e58da5faac9be9 # timeout=10 00:40:29 ------------------- 00:40:29 stable info: 00:40:29 ------------------- 00:40:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:40:29 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 00:40:29 Message: update stable to v1.0.210 00:40:30 ------------------- 00:40:30 experimental info: 00:40:30 ------------------- 00:40:30 Commited By: **** collab-it+edgex@linuxfoundation.org 00:40:30 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 00:40:30 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-246 [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-246 [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-246 [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 046fd81cb407d78a3ad60ebc935e66a4cfab8960 [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 046fd81 [Pipeline] echo 00:40:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:40:30 provisioning config files... 00:40:30 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-246@tmp/config3245642465480239149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:40:31 ---> docker-login.sh 00:40:31 nexus3.edgexfoundry.org:10001 00:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:31 Configure a credential helper to remove this warning. See 00:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:31 00:40:31 Login Succeeded 00:40:31 nexus3.edgexfoundry.org:10002 00:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:31 Configure a credential helper to remove this warning. See 00:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:31 00:40:31 Login Succeeded 00:40:31 nexus3.edgexfoundry.org:10003 00:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:31 Configure a credential helper to remove this warning. See 00:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:31 00:40:31 Login Succeeded 00:40:31 nexus3.edgexfoundry.org:10004 00:40:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:31 Configure a credential helper to remove this warning. See 00:40:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:31 00:40:31 Login Succeeded 00:40:31 docker.io 00:40:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:40:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:40:32 Configure a credential helper to remove this warning. See 00:40:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:40:32 00:40:32 Login Succeeded 00:40:32 ---> docker-login.sh ends [Pipeline] } 00:40:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:40:32 + git log --format=format:%s -1 046fd81cb407d78a3ad60ebc935e66a4cfab8960 [Pipeline] echo 00:40:32 GIT_COMMIT: 046fd81cb407d78a3ad60ebc935e66a4cfab8960, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo 00:40:32 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 00:40:33 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:40:33 00:40:33 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:40:33 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:40:33 latest: Pulling from edgex-devops/git-semver 00:40:33 a0d0a0d46f8b: Pulling fs layer 00:40:33 3e5f54012d9b: Pulling fs layer 00:40:33 4c7163046ea9: Pulling fs layer 00:40:33 0c2d73faf560: Pulling fs layer 00:40:33 0c2d73faf560: Waiting 00:40:33 3e5f54012d9b: Verifying Checksum 00:40:33 3e5f54012d9b: Download complete 00:40:33 a0d0a0d46f8b: Verifying Checksum 00:40:33 a0d0a0d46f8b: Download complete 00:40:33 0c2d73faf560: Verifying Checksum 00:40:33 0c2d73faf560: Download complete 00:40:33 4c7163046ea9: Verifying Checksum 00:40:33 4c7163046ea9: Download complete 00:40:33 a0d0a0d46f8b: Pull complete 00:40:33 3e5f54012d9b: Pull complete 00:40:34 4c7163046ea9: Pull complete 00:40:34 0c2d73faf560: Pull complete 00:40:34 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 00:40:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 00:40:34 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 00:40:34 prd-centos7-docker-4c-2g-13361 does not seem to be running inside a container 00:40:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-246 -v /w/workspace/foundry_device-virtual-go_PR-246:/w/workspace/foundry_device-virtual-go_PR-246:rw,z -v /w/workspace/foundry_device-virtual-go_PR-246@tmp:/w/workspace/foundry_device-virtual-go_PR-246@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:40:35 $ docker top f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:40:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:40:35 [ssh-agent] Looking for ssh-agent implementation... 00:40:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:40:35 $ docker exec f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 ssh-agent 00:40:35 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJAedKE/agent.14 00:40:35 SSH_AGENT_PID=20 00:40:35 Running ssh-add (command line suppressed) 00:40:35 Identity added: /w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_8523050490060154803.key (/w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_8523050490060154803.key) 00:40:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:40:35 + git tag --points-at HEAD [Pipeline] } 00:40:35 $ docker exec --env ******** --env ******** f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 ssh-agent -k 00:40:36 unset SSH_AUTH_SOCK; 00:40:36 unset SSH_AGENT_PID; 00:40:36 echo Agent pid 20 killed; 00:40:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:40:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:40:36 [ssh-agent] Looking for ssh-agent implementation... 00:40:36 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:40:36 $ docker exec f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 ssh-agent 00:40:36 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOglaiB/agent.53 00:40:36 SSH_AGENT_PID=59 00:40:36 Running ssh-add (command line suppressed) 00:40:36 Identity added: /w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_4801031032559078045.key (/w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_4801031032559078045.key) 00:40:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:40:36 + git semver init 00:40:36 # -> Open(): unable to determine branch for HEAD 00:40:36 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-246/.git 00:40:36 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-246 00:40:36 # $SEMVER_REMOTE_NAME = origin 00:40:36 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 00:40:36 # $SEMVER_USER_NAME = edgex-jenkins 00:40:36 # $SEMVER_BRANCH = PR-246 00:40:36 # $SEMVER_TEMP = /tmp/semver-209397293 00:40:36 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 00:40:37 # '/tmp/semver-209397293' -> '/w/workspace/foundry_device-virtual-go_PR-246/.semver' 00:40:37 # -> Force: false 00:40:37 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-246/.semver [Pipeline] } 00:40:37 $ docker exec --env ******** --env ******** f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 ssh-agent -k 00:40:37 unset SSH_AUTH_SOCK; 00:40:37 unset SSH_AGENT_PID; 00:40:37 echo Agent pid 59 killed; 00:40:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:40:38 + git semver [Pipeline] } 00:40:38 $ docker stop --time=1 f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 00:40:39 $ docker rm -f f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 [Pipeline] // withDockerContainer [Pipeline] sh 00:40:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:40:39 Stashed 1 file(s) [Pipeline] echo 00:40:39 [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:40:55 Still waiting to schedule task 00:40:55 ‘prd-centos7-docker-4c-2g-13362’ is offline 00:40:55 Still waiting to schedule task 00:40:55 Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-13358’ 00:41:45 Running on prd-centos7-docker-4c-2g-13363 in /w/workspace/foundry_device-virtual-go_PR-246 [Pipeline] { [Pipeline] ws 00:41:45 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:41:45 The recommended git tool is: git 00:41:48 using credential edgex-jenkins-ssh 00:41:48 Cloning the remote Git repository 00:41:47 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:41:48 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:41:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:41:48 > git --version # timeout=10 00:41:48 > git --version # 'git version 2.24.4' 00:41:48 using GIT_SSH to set credentials SSH Credentials for GitHub 00:41:48 [INFO] Currently running in a labeled security context 00:41:48 [INFO] Currently SELinux is 'enforcing' on the host 00:41:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh4536735470211897244.key 00:41:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:41:49 Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 046fd81cb407d78a3ad60ebc935e66a4cfab8960 00:41:50 Merge succeeded, producing 046fd81cb407d78a3ad60ebc935e66a4cfab8960 00:41:50 Checking out Revision 046fd81cb407d78a3ad60ebc935e66a4cfab8960 (PR-246) 00:41:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:41:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:41:48 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:41:48 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:41:48 using GIT_SSH to set credentials SSH Credentials for GitHub 00:41:48 [INFO] Currently running in a labeled security context 00:41:48 [INFO] Currently SELinux is 'enforcing' on the host 00:41:48 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh2569377174106726034.key 00:41:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/246/head:refs/remotes/origin/PR-246 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:41:49 > git config core.sparsecheckout # timeout=10 00:41:49 > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 00:41:49 > git remote # timeout=10 00:41:49 > git config --get remote.origin.url # timeout=10 00:41:49 using GIT_SSH to set credentials SSH Credentials for GitHub 00:41:49 [INFO] Currently running in a labeled security context 00:41:49 [INFO] Currently SELinux is 'enforcing' on the host 00:41:49 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh262743889223317531.key 00:41:49 > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 00:41:49 > git rev-parse HEAD^{commit} # timeout=10 00:41:49 > git config core.sparsecheckout # timeout=10 00:41:49 > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 00:41:53 Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:41:53 provisioning config files... 00:41:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config8899469885143396616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:54 ---> docker-login.sh 00:41:54 nexus3.edgexfoundry.org:10001 00:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:54 Configure a credential helper to remove this warning. See 00:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:54 00:41:54 Login Succeeded 00:41:54 nexus3.edgexfoundry.org:10002 00:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:54 Configure a credential helper to remove this warning. See 00:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:54 00:41:54 Login Succeeded 00:41:54 nexus3.edgexfoundry.org:10003 00:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:54 Configure a credential helper to remove this warning. See 00:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:54 00:41:54 Login Succeeded 00:41:54 nexus3.edgexfoundry.org:10004 00:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:54 Configure a credential helper to remove this warning. See 00:41:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:54 00:41:54 Login Succeeded 00:41:54 docker.io 00:41:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:55 Configure a credential helper to remove this warning. See 00:41:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:55 00:41:55 Login Succeeded 00:41:55 ---> docker-login.sh ends [Pipeline] } 00:41:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:41:55 ========================================================= 00:41:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 00:41:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:41:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 00:41:55 Sending build context to Docker daemon 8.724MB 00:41:55 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 00:41:55 Step 2/11 : FROM ${BASE} AS builder 00:41:55 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 00:41:55 a0d0a0d46f8b: Pulling fs layer 00:41:55 31adcdaf11c8: Pulling fs layer 00:41:55 b8b176561691: Pulling fs layer 00:41:55 4527c011a84f: Pulling fs layer 00:41:55 5d74067f8e1e: Pulling fs layer 00:41:55 e0aca202a116: Pulling fs layer 00:41:55 3a43be97a3b4: Pulling fs layer 00:41:55 34cad66bf833: Pulling fs layer 00:41:55 b4e3c513aaa6: Pulling fs layer 00:41:55 4527c011a84f: Waiting 00:41:55 5d74067f8e1e: Waiting 00:41:55 e0aca202a116: Waiting 00:41:55 3a43be97a3b4: Waiting 00:41:55 34cad66bf833: Waiting 00:41:55 b4e3c513aaa6: Waiting 00:41:55 b8b176561691: Verifying Checksum 00:41:55 b8b176561691: Download complete 00:41:55 31adcdaf11c8: Verifying Checksum 00:41:55 31adcdaf11c8: Download complete 00:41:55 5d74067f8e1e: Verifying Checksum 00:41:55 5d74067f8e1e: Download complete 00:41:55 e0aca202a116: Verifying Checksum 00:41:55 e0aca202a116: Download complete 00:41:55 3a43be97a3b4: Verifying Checksum 00:41:55 3a43be97a3b4: Download complete 00:41:55 a0d0a0d46f8b: Download complete 00:41:55 34cad66bf833: Verifying Checksum 00:41:55 34cad66bf833: Download complete 00:41:56 a0d0a0d46f8b: Pull complete 00:41:56 4527c011a84f: Verifying Checksum 00:41:56 4527c011a84f: Download complete 00:41:56 31adcdaf11c8: Pull complete 00:41:56 b4e3c513aaa6: Verifying Checksum 00:41:56 b4e3c513aaa6: Download complete 00:41:56 b8b176561691: Pull complete 00:42:00 4527c011a84f: Pull complete 00:42:00 5d74067f8e1e: Pull complete 00:42:00 e0aca202a116: Pull complete 00:42:00 3a43be97a3b4: Pull complete 00:42:00 34cad66bf833: Pull complete 00:42:02 b4e3c513aaa6: Pull complete 00:42:02 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 00:42:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 00:42:02 ---> 9f6097aaca64 00:42:02 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:42:04 ---> Running in 27e52e6d338c 00:42:04 Removing intermediate container 27e52e6d338c 00:42:04 ---> 12b0a434c70f 00:42:04 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:42:04 ---> Running in ed3921ee0d7e 00:42:04 Removing intermediate container ed3921ee0d7e 00:42:04 ---> 1aa2062d4646 00:42:04 Step 5/11 : WORKDIR /device-virtual-go 00:42:04 ---> Running in 00e460a92db7 00:42:04 Removing intermediate container 00e460a92db7 00:42:04 ---> e6c16117efc6 00:42:04 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:42:04 ---> Running in 36de44d47e7a 00:42:05 Removing intermediate container 36de44d47e7a 00:42:05 ---> 300374422199 00:42:05 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:42:05 ---> Running in 022decf5a64a 00:42:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 00:42:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 00:42:06 (1/4) Installing openssh-keygen (8.6_p1-r3) 00:42:06 (2/4) Installing libedit (20210216.3.1-r0) 00:42:07 (3/4) Installing openssh-client-common (8.6_p1-r3) 00:42:07 (4/4) Installing openssh-client-default (8.6_p1-r3) 00:42:07 Executing busybox-1.33.1-r3.trigger 00:42:07 OK: 224 MiB in 56 packages 00:42:07 Removing intermediate container 022decf5a64a 00:42:07 ---> dca90ec6b0fd 00:42:07 Step 8/11 : COPY . . 00:42:07 ---> 5e4e1e51e0eb 00:42:07 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:42:07 ---> Running in 39aef371268f 00:42:46 Removing intermediate container 39aef371268f 00:42:46 ---> d72d611e8bd4 00:42:46 Step 10/11 : ARG MAKE='make build' 00:42:46 ---> Running in 9dcc93037cb6 00:42:46 Removing intermediate container 9dcc93037cb6 00:42:46 ---> a7d3fdec58b1 00:42:46 Step 11/11 : RUN $MAKE 00:42:46 ---> Running in 1bba7fa96c58 00:42:46 noop 00:42:46 Removing intermediate container 1bba7fa96c58 00:42:46 ---> e1889fd462c0 00:42:46 Successfully built e1889fd462c0 00:42:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 00:42:46 + docker inspect -f . ci-base-image-x86_64 00:42:46 . [Pipeline] withDockerContainer 00:42:47 prd-centos7-docker-4c-2g-13363 does not seem to be running inside a container 00:42:47 $ 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-x86_64 cat 00:42:47 $ docker top c75fe3d2d40bbb766d49af020d375bbaf3166e4ab5de006f9d6316540467b149 -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:47 + go version 00:42:47 go version go1.16.8 linux/amd64 [Pipeline] } 00:42:47 $ docker stop --time=1 c75fe3d2d40bbb766d49af020d375bbaf3166e4ab5de006f9d6316540467b149 00:42:49 $ docker rm -f c75fe3d2d40bbb766d49af020d375bbaf3166e4ab5de006f9d6316540467b149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:42:49 + docker inspect -f . ci-base-image-x86_64 00:42:49 . [Pipeline] withDockerContainer 00:42:49 prd-centos7-docker-4c-2g-13363 does not seem to be running inside a container 00:42:49 $ 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-x86_64 cat 00:42:50 $ docker top 00a2e7ca2b651b794892da3bfd9db3767c6cc46e95497319ef85c314e1c00d26 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:42:50 + make test 00:42:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:42:51 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:43:13 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:43:13 ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.277s coverage: 64.6% of statements 00:43:13 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:43:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:43:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:43:18 ./bin/test-attribution-txt.sh 00:43:18 An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add 00:43:18 An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add 00:43:18 make: *** [Makefile:30: test] Error 1 [Pipeline] } 00:43:18 $ docker stop --time=1 00a2e7ca2b651b794892da3bfd9db3767c6cc46e95497319ef85c314e1c00d26 00:43:20 $ docker rm -f 00a2e7ca2b651b794892da3bfd9db3767c6cc46e95497319ef85c314e1c00d26 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:43:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:43:21 00:43:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:43:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:43:21 latest: Pulling from edgex-lftools-log-publisher 00:43:21 b4d181a07f80: Pulling fs layer 00:43:21 a1111a8f2ec3: Pulling fs layer 00:43:21 ed53099fbce6: Pulling fs layer 00:43:21 dc539afda2c1: Pulling fs layer 00:43:21 77bc0d833cb6: Pulling fs layer 00:43:21 9065ff56babe: Pulling fs layer 00:43:21 d287ab97295c: Pulling fs layer 00:43:21 dc539afda2c1: Waiting 00:43:21 77bc0d833cb6: Waiting 00:43:21 9065ff56babe: Waiting 00:43:21 d287ab97295c: Waiting 00:43:21 a1111a8f2ec3: Verifying Checksum 00:43:21 a1111a8f2ec3: Download complete 00:43:21 dc539afda2c1: Verifying Checksum 00:43:21 dc539afda2c1: Download complete 00:43:21 ed53099fbce6: Verifying Checksum 00:43:21 ed53099fbce6: Download complete 00:43:21 9065ff56babe: Verifying Checksum 00:43:21 9065ff56babe: Download complete 00:43:21 77bc0d833cb6: Verifying Checksum 00:43:21 77bc0d833cb6: Download complete 00:43:21 b4d181a07f80: Verifying Checksum 00:43:21 b4d181a07f80: Download complete 00:43:22 d287ab97295c: Verifying Checksum 00:43:22 d287ab97295c: Download complete 00:43:23 b4d181a07f80: Pull complete 00:43:23 a1111a8f2ec3: Pull complete 00:43:23 ed53099fbce6: Pull complete 00:43:23 dc539afda2c1: Pull complete 00:43:24 77bc0d833cb6: Pull complete 00:43:24 9065ff56babe: Pull complete 00:43:29 d287ab97295c: Pull complete 00:43:29 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:43:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:43:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:43:29 prd-centos7-docker-4c-2g-13363 does not seem to be running inside a container 00:43:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:43:32 $ docker top 2a39e98df487cc00d4a5742d778d7e14c4ce8b51545acbc04e967f7d6662e29f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:43:32 ---> job-cost.sh 00:43:32 lf-activate-venv: SKIPPING 00:43:32 INFO: No Stack... 00:43:32 INFO: Retrieving Pricing Info for: v3-standard-2 00:43:33 INFO: Archiving Costs [Pipeline] sh 00:43:33 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 00:43:33 + cut -d, -f6 [Pipeline] lock 00:43:33 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] 00:43:33 Resource [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] did not exist. Created. 00:43:33 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:43:33 + echo total: 0.05999999865889549 [Pipeline] stash 00:43:34 Stashed 1 file(s) [Pipeline] } 00:43:34 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:43:34 $ docker stop --time=1 2a39e98df487cc00d4a5742d778d7e14c4ce8b51545acbc04e967f7d6662e29f 00:43:35 $ docker rm -f 2a39e98df487cc00d4a5742d778d7e14c4ce8b51545acbc04e967f7d6662e29f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:43:35 Failed in branch amd64 00:43:50 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13366 in /w/workspace/foundry_device-virtual-go_PR-246 [Pipeline] { [Pipeline] ws 00:43:50 Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout 00:43:50 The recommended git tool is: git 00:43:56 using credential edgex-jenkins-ssh 00:43:56 Cloning the remote Git repository 00:43:56 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 00:43:56 > git init /w/workspace/device-virtual-go/2 # timeout=10 00:43:56 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:43:56 > git --version # timeout=10 00:43:56 > git --version # 'git version 2.17.1' 00:43:56 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:56 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:43:59 Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 046fd81cb407d78a3ad60ebc935e66a4cfab8960 00:43:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:43:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:43:58 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 00:43:58 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 00:43:58 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:58 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/246/head:refs/remotes/origin/PR-246 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:43:59 > git config core.sparsecheckout # timeout=10 00:43:59 > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 00:43:59 > git remote # timeout=10 00:43:59 > git config --get remote.origin.url # timeout=10 00:43:59 using GIT_SSH to set credentials SSH Credentials for GitHub 00:43:59 Merge succeeded, producing 046fd81cb407d78a3ad60ebc935e66a4cfab8960 00:43:59 Checking out Revision 046fd81cb407d78a3ad60ebc935e66a4cfab8960 (PR-246) 00:43:59 > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 00:43:59 > git rev-parse HEAD^{commit} # timeout=10 00:43:59 > git config core.sparsecheckout # timeout=10 00:43:59 > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 00:44:04 Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:44:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:44:04 % Total % Received % Xferd Average Speed Time Time Time Current 00:44:04 Dload Upload Total Spent Left Speed 00:44:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 58534 0 --:--:-- --:--:-- --:--:-- 58534 [Pipeline] sh 00:44:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:44:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:44:05 + sudo tee /etc/docker/daemon.new 00:44:05 { 00:44:05 "registry-mirrors": [ 00:44:05 "https://nexus3.edgexfoundry.org:10001" 00:44:05 ], 00:44:05 "bip": "10.250.0.254/24", 00:44:05 "hosts": [ 00:44:05 "tcp://0.0.0.0:5555", 00:44:05 "unix:///var/run/docker.sock" 00:44:05 ], 00:44:05 "mtu": 1458, 00:44:05 "selinux-enabled": true, 00:44:05 "seccomp-profile": "/etc/docker/seccomp.json" 00:44:05 } [Pipeline] sh 00:44:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:44:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:44:24 provisioning config files... 00:44:24 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config7191882047378441588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:25 ---> docker-login.sh 00:44:25 nexus3.edgexfoundry.org:10001 00:44:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:26 Configure a credential helper to remove this warning. See 00:44:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:26 00:44:26 Login Succeeded 00:44:26 nexus3.edgexfoundry.org:10002 00:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:27 Configure a credential helper to remove this warning. See 00:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:27 00:44:27 Login Succeeded 00:44:27 nexus3.edgexfoundry.org:10003 00:44:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:27 Configure a credential helper to remove this warning. See 00:44:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:27 00:44:27 Login Succeeded 00:44:27 nexus3.edgexfoundry.org:10004 00:44:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:28 Configure a credential helper to remove this warning. See 00:44:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:28 00:44:28 Login Succeeded 00:44:28 docker.io 00:44:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:44:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:44:29 Configure a credential helper to remove this warning. See 00:44:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:44:29 00:44:29 Login Succeeded 00:44:29 ---> docker-login.sh ends [Pipeline] } 00:44:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:44:29 ========================================================= 00:44:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 00:44:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 00:44:30 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 00:44:30 Sending build context to Docker daemon 8.724MB 00:44:30 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 00:44:30 Step 2/11 : FROM ${BASE} AS builder 00:44:31 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:44:31 552d1f2373af: Pulling fs layer 00:44:31 ea3f2d53f512: Pulling fs layer 00:44:31 9e70ebbbe112: Pulling fs layer 00:44:31 7a9cfe048b4a: Pulling fs layer 00:44:31 72dc09318566: Pulling fs layer 00:44:31 f4f7b4309257: Pulling fs layer 00:44:31 0ac9a79272e3: Pulling fs layer 00:44:31 b78e95d17946: Pulling fs layer 00:44:31 7a9cfe048b4a: Waiting 00:44:31 72dc09318566: Waiting 00:44:31 f4f7b4309257: Waiting 00:44:31 0ac9a79272e3: Waiting 00:44:31 b78e95d17946: Waiting 00:44:31 9e70ebbbe112: Verifying Checksum 00:44:31 9e70ebbbe112: Download complete 00:44:31 ea3f2d53f512: Download complete 00:44:31 72dc09318566: Verifying Checksum 00:44:31 72dc09318566: Download complete 00:44:31 f4f7b4309257: Verifying Checksum 00:44:31 f4f7b4309257: Download complete 00:44:31 552d1f2373af: Verifying Checksum 00:44:31 552d1f2373af: Download complete 00:44:31 0ac9a79272e3: Download complete 00:44:32 552d1f2373af: Pull complete 00:44:32 ea3f2d53f512: Pull complete 00:44:33 9e70ebbbe112: Pull complete 00:44:33 b78e95d17946: Verifying Checksum 00:44:33 b78e95d17946: Download complete 00:44:33 7a9cfe048b4a: Verifying Checksum 00:44:33 7a9cfe048b4a: Download complete 00:44:44 7a9cfe048b4a: Pull complete 00:44:44 72dc09318566: Pull complete 00:44:44 f4f7b4309257: Pull complete 00:44:44 0ac9a79272e3: Pull complete 00:44:51 b78e95d17946: Pull complete 00:44:51 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 00:44:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 00:44:51 ---> 8b459fc5aaf0 00:44:51 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 00:44:52 ---> Running in a984c58b03f3 00:44:53 Removing intermediate container a984c58b03f3 00:44:53 ---> be4623de9cc6 00:44:53 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 00:44:53 ---> Running in 635c21b0b651 00:44:53 Removing intermediate container 635c21b0b651 00:44:53 ---> f127f03640a0 00:44:53 Step 5/11 : WORKDIR /device-virtual-go 00:44:53 ---> Running in 48e1190ef3b6 00:44:54 Removing intermediate container 48e1190ef3b6 00:44:54 ---> e01aa2449775 00:44:54 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:44:54 ---> Running in a543dbf90973 00:44:56 Removing intermediate container a543dbf90973 00:44:56 ---> 86e3452c99d5 00:44:56 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 00:44:56 ---> Running in ab40d48a9751 00:44:57 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:44:58 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:44:59 (1/4) Installing openssh-keygen (8.6_p1-r3) 00:44:59 (2/4) Installing libedit (20210216.3.1-r0) 00:44:59 (3/4) Installing openssh-client-common (8.6_p1-r3) 00:44:59 (4/4) Installing openssh-client-default (8.6_p1-r3) 00:45:00 Executing busybox-1.33.1-r3.trigger 00:45:00 OK: 223 MiB in 56 packages 00:45:01 Removing intermediate container ab40d48a9751 00:45:01 ---> 1b231e89f48d 00:45:01 Step 8/11 : COPY . . 00:45:02 ---> 02ba6e1ecb55 00:45:02 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:45:02 ---> Running in b5ff1462aa6c 00:46:24 Removing intermediate container b5ff1462aa6c 00:46:24 ---> 7d53903dd3db 00:46:24 Step 10/11 : ARG MAKE='make build' 00:46:24 ---> Running in 22cccf0a3370 00:46:24 Removing intermediate container 22cccf0a3370 00:46:24 ---> 0c1f478737f9 00:46:24 Step 11/11 : RUN $MAKE 00:46:24 ---> Running in d1158284e072 00:46:24 noop 00:46:24 Removing intermediate container d1158284e072 00:46:24 ---> d99b3381c335 00:46:24 Successfully built d99b3381c335 00:46:24 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:46:24 + docker inspect -f . ci-base-image-arm64 00:46:24 . [Pipeline] withDockerContainer 00:46:25 prd-ubuntu18.04-docker-arm64-4c-16g-13366 does not seem to be running inside a container 00:46:25 $ 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:46:26 $ docker top 2dc6c8bc4864e73fe14a74847f2de1f4a37c58f6c46d3a1c80d2e97a728322c6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:46:27 + go version 00:46:27 go version go1.16.8 linux/arm64 [Pipeline] } 00:46:27 $ docker stop --time=1 2dc6c8bc4864e73fe14a74847f2de1f4a37c58f6c46d3a1c80d2e97a728322c6 00:46:29 $ docker rm -f 2dc6c8bc4864e73fe14a74847f2de1f4a37c58f6c46d3a1c80d2e97a728322c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:46:30 + docker inspect -f . ci-base-image-arm64 00:46:30 . [Pipeline] withDockerContainer 00:46:30 prd-ubuntu18.04-docker-arm64-4c-16g-13366 does not seem to be running inside a container 00:46:30 $ 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:46:31 $ docker top 887bb617692ad84fe0046fa9cea61b1ad3acb067e75582d2105ee34432c1fa19 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:46:32 + make test 00:46:32 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 00:46:34 ? github.com/edgexfoundry/device-virtual-go [no test files] 00:47:42 ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] 00:47:42 ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.926s coverage: 64.6% of statements 00:47:42 CGO_ENABLED=1 GO111MODULE=on go vet ./... 00:48:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:48:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:48:15 ./bin/test-attribution-txt.sh 00:48:16 An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add 00:48:16 An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add 00:48:16 make: *** [Makefile:30: test] Error 1 [Pipeline] } 00:48:16 $ docker stop --time=1 887bb617692ad84fe0046fa9cea61b1ad3acb067e75582d2105ee34432c1fa19 00:48:18 $ docker rm -f 887bb617692ad84fe0046fa9cea61b1ad3acb067e75582d2105ee34432c1fa19 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:48:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:48:19 00:48:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:48:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:48:20 arm64: Pulling from edgex-lftools-log-publisher 00:48:20 448f6bf000e3: Pulling fs layer 00:48:20 f757da607395: Pulling fs layer 00:48:20 05883995daec: Pulling fs layer 00:48:20 8603b9c90790: Pulling fs layer 00:48:20 1560dd03e051: Pulling fs layer 00:48:20 27f5ce0e4adf: Pulling fs layer 00:48:20 c2d8d7efcc4b: Pulling fs layer 00:48:20 1560dd03e051: Waiting 00:48:20 27f5ce0e4adf: Waiting 00:48:20 c2d8d7efcc4b: Waiting 00:48:20 8603b9c90790: Waiting 00:48:20 f757da607395: Verifying Checksum 00:48:20 f757da607395: Download complete 00:48:20 8603b9c90790: Verifying Checksum 00:48:20 8603b9c90790: Download complete 00:48:20 1560dd03e051: Verifying Checksum 00:48:20 1560dd03e051: Download complete 00:48:20 27f5ce0e4adf: Verifying Checksum 00:48:20 27f5ce0e4adf: Download complete 00:48:20 05883995daec: Verifying Checksum 00:48:20 05883995daec: Download complete 00:48:20 448f6bf000e3: Verifying Checksum 00:48:20 448f6bf000e3: Download complete 00:48:23 c2d8d7efcc4b: Verifying Checksum 00:48:23 c2d8d7efcc4b: Download complete 00:48:24 448f6bf000e3: Pull complete 00:48:25 f757da607395: Pull complete 00:48:27 05883995daec: Pull complete 00:48:27 8603b9c90790: Pull complete 00:48:28 1560dd03e051: Pull complete 00:48:28 27f5ce0e4adf: Pull complete 00:48:43 c2d8d7efcc4b: Pull complete 00:48:43 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 00:48:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:48:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:48:43 prd-ubuntu18.04-docker-arm64-4c-16g-13366 does not seem to be running inside a container 00:48:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:48:47 $ docker top ee43365f011d47df04f2e98cb5590e3848454590e8574a6865fdd4d8e45b07df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:48:48 ---> job-cost.sh 00:48:48 lf-activate-venv: SKIPPING 00:48:48 INFO: No Stack... 00:48:48 INFO: Retrieving Pricing Info for: v3-standard-4 00:48:49 INFO: Archiving Costs [Pipeline] sh 00:48:49 + cat /w/workspace/device-virtual-go/2/archives/cost.csv 00:48:49 + cut -d, -f6 [Pipeline] lock 00:48:49 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] 00:48:49 Resource [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] did not exist. Created. 00:48:49 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:48:50 /w/workspace/device-virtual-go/2@tmp/durable-41302f7f/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-41302f7f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 00:48:51 + echo total: 0.10999999940395355 [Pipeline] stash 00:48:51 Warning: overwriting stash ‘stack-cost’ 00:48:51 Stashed 1 file(s) [Pipeline] } 00:48:51 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] [Pipeline] // lock [Pipeline] } 00:48:51 $ docker stop --time=1 ee43365f011d47df04f2e98cb5590e3848454590e8574a6865fdd4d8e45b07df 00:48:53 $ docker rm -f ee43365f011d47df04f2e98cb5590e3848454590e8574a6865fdd4d8e45b07df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 00:48:53 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] { (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] sh 00:48:55 + '[' -d /w/workspace/foundry_device-virtual-go_PR-246/archives ']' [Pipeline] libraryResource [Pipeline] sh 00:48:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:48:55 ---> package-listing.sh 00:48:55 ++ facter osfamily 00:48:55 ++ tr '[:upper:]' '[:lower:]' 00:48:56 + OS_FAMILY=redhat 00:48:56 + workspace=/w/workspace/foundry_device-virtual-go_PR-246 00:48:56 + START_PACKAGES=/tmp/packages_start.txt 00:48:56 + END_PACKAGES=/tmp/packages_end.txt 00:48:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:48:56 + PACKAGES=/tmp/packages_start.txt 00:48:56 + '[' /w/workspace/foundry_device-virtual-go_PR-246 ']' 00:48:56 + PACKAGES=/tmp/packages_end.txt 00:48:56 + case "${OS_FAMILY}" in 00:48:56 + rpm -qa 00:48:56 + sort 00:48:56 + '[' -f /tmp/packages_start.txt ']' 00:48:56 + '[' -f /tmp/packages_end.txt ']' 00:48:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:48:56 + '[' /w/workspace/foundry_device-virtual-go_PR-246 ']' 00:48:56 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-246/archives/ 00:48:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-246/archives/ [Pipeline] echo 00:48:56 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-246/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:48:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:48:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:48:57 00:48:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 00:48:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:48:57 latest: Pulling from edgex-lftools-log-publisher 00:48:57 b4d181a07f80: Pulling fs layer 00:48:57 a1111a8f2ec3: Pulling fs layer 00:48:57 ed53099fbce6: Pulling fs layer 00:48:57 dc539afda2c1: Pulling fs layer 00:48:57 77bc0d833cb6: Pulling fs layer 00:48:57 9065ff56babe: Pulling fs layer 00:48:57 d287ab97295c: Pulling fs layer 00:48:57 dc539afda2c1: Waiting 00:48:57 77bc0d833cb6: Waiting 00:48:57 9065ff56babe: Waiting 00:48:57 d287ab97295c: Waiting 00:48:57 a1111a8f2ec3: Verifying Checksum 00:48:57 a1111a8f2ec3: Download complete 00:48:57 dc539afda2c1: Verifying Checksum 00:48:57 dc539afda2c1: Download complete 00:48:58 ed53099fbce6: Verifying Checksum 00:48:58 ed53099fbce6: Download complete 00:48:58 77bc0d833cb6: Verifying Checksum 00:48:58 77bc0d833cb6: Download complete 00:48:58 9065ff56babe: Verifying Checksum 00:48:58 9065ff56babe: Download complete 00:48:58 b4d181a07f80: Download complete 00:48:58 d287ab97295c: Verifying Checksum 00:48:58 d287ab97295c: Download complete 00:48:59 b4d181a07f80: Pull complete 00:48:59 a1111a8f2ec3: Pull complete 00:49:00 ed53099fbce6: Pull complete 00:49:00 dc539afda2c1: Pull complete 00:49:00 77bc0d833cb6: Pull complete 00:49:00 9065ff56babe: Pull complete 00:49:06 d287ab97295c: Pull complete 00:49:06 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 00:49:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:49:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 00:49:06 prd-centos7-docker-4c-2g-13361 does not seem to be running inside a container 00:49:06 $ 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-246/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-246 -v /w/workspace/foundry_device-virtual-go_PR-246:/w/workspace/foundry_device-virtual-go_PR-246:rw,z -v /w/workspace/foundry_device-virtual-go_PR-246@tmp:/w/workspace/foundry_device-virtual-go_PR-246@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:latest cat 00:49:08 $ docker top 4e6e169ddceb615e4994485a0280ad7bdc855d2631dc272287d0493b4ff8885f -eo pid,comm [Pipeline] { [Pipeline] sh 00:49:08 + touch /tmp/pre-build-complete [Pipeline] sh 00:49:09 + mkdir -p /var/log/sysstat [Pipeline] sh 00:49:09 + ls /var/log/sa-host 00:49:09 + sadf -c /var/log/sa-host/sa29 00:49:09 file_magic: OK 00:49:09 HZ: Using current value: 100 00:49:09 file_header: OK 00:49:09 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:49:09 Statistics: 00:49:09 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 00:49:09 File successfully converted to sysstat format version 12.0.3 00:49:09 + sadf -c /var/log/sa-host/sa30 00:49:09 file_magic: OK 00:49:09 HZ: Using current value: 100 00:49:09 file_header: OK 00:49:09 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:49:09 Statistics: 00:49:09 Hnuu...uuuununununu...Hnuu...uuuununununu... 00:49:09 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:49:09 provisioning config files... 00:49:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-246@tmp/config7182563114243009847tmp [Pipeline] { [Pipeline] echo 00:49:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:49:10 ---> create-netrc.sh [Pipeline] } 00:49:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:49:10 ---> python-tools-install.sh [Pipeline] echo 00:49:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:49:10 ---> sudo-logs.sh 00:49:10 Archiving 'sudo' log.. 00:49:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-13361.novalocal: Name or service not known 00:49:10 sudo: unable to resolve host prd-centos7-docker-4c-2g-13361.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 00:49:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:49:11 ---> job-cost.sh 00:49:11 lf-activate-venv: SKIPPING 00:49:11 DEBUG: total: 0.10999999940395355 00:49:11 INFO: Retrieving Stack Cost... 00:49:11 INFO: Retrieving Pricing Info for: v3-standard-2 00:49:11 INFO: Archiving Costs [Pipeline] echo 00:49:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:49:11 ---> logs-deploy.sh 00:49:11 lf-activate-venv: SKIPPING 00:49:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-246/2 00:49:11 INFO: archiving workspace using pattern(s): 00:49:12 Archives upload complete. 00:49:12 INFO: archiving logs to Nexus