Pull request #246 opened 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 1e709f869cca46bc565284a664e58da5faac9be9+34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 (4eaf1c175c0f71be056fd8e9dc78b5858b960467) Running in Durability level: MAX_SURVIVABILITY 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-ssh3691912081176658617.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-ssh3387799345732722940.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-246/workspace@libs/edgex-global-pipelines # timeout=10 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-ssh3228663977707659610.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh3718705470539745672.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh4133895773434253407.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-246/workspace@libs/lf-pipelines # timeout=10 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-ssh7159774145015538322.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 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-13348 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-ssh4301007157270619434.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-ssh2540375564491228415.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 1e709f869cca46bc565284a664e58da5faac9be9 Merge succeeded, producing 1e709f869cca46bc565284a664e58da5faac9be9 Checking out Revision 1e709f869cca46bc565284a664e58da5faac9be9 (PR-246) > git config core.sparsecheckout # timeout=10 > git checkout -f 1e709f869cca46bc565284a664e58da5faac9be9 # 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-ssh9140610890644728046.key > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1e709f869cca46bc565284a664e58da5faac9be9 # timeout=10 Commit message: "feat: Update configuration for new CORS and Secrets File settings" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:27:49 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:27:49 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:27:49 ========================================================= 23:27:49 EdgeX Global Pipelines Version Info 23:27:49 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:27:51 ------------------- 23:27:51 stable info: 23:27:51 ------------------- 23:27:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:27:51 Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 23:27:51 Message: update stable to v1.0.210 23:27:51 ------------------- 23:27:51 experimental info: 23:27:51 ------------------- 23:27:51 Commited By: **** collab-it+edgex@linuxfoundation.org 23:27:51 Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af 23:27:51 Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:27:51 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo 23:27:51 [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo 23:27:51 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:27:51 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:27:51 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:27:51 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-246 [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-246 [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-246 [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e709f869cca46bc565284a664e58da5faac9be9 [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e709f8 [Pipeline] echo 23:27:52 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:27:53 provisioning config files... 23:27:53 copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-246@tmp/config6511924443501002773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:27:53 ---> docker-login.sh 23:27:53 nexus3.edgexfoundry.org:10001 23:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:53 Configure a credential helper to remove this warning. See 23:27:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:53 23:27:53 Login Succeeded 23:27:53 nexus3.edgexfoundry.org:10002 23:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:53 Configure a credential helper to remove this warning. See 23:27:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:53 23:27:53 Login Succeeded 23:27:53 nexus3.edgexfoundry.org:10003 23:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:53 Configure a credential helper to remove this warning. See 23:27:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:53 23:27:53 Login Succeeded 23:27:53 nexus3.edgexfoundry.org:10004 23:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:53 Configure a credential helper to remove this warning. See 23:27:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:53 23:27:53 Login Succeeded 23:27:53 docker.io 23:27:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:27:54 Configure a credential helper to remove this warning. See 23:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:27:54 23:27:54 Login Succeeded 23:27:54 ---> docker-login.sh ends [Pipeline] } 23:27:54 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 23:27:54 + git log --format=format:%s -1 1e709f869cca46bc565284a664e58da5faac9be9 [Pipeline] echo 23:27:54 GIT_COMMIT: 1e709f869cca46bc565284a664e58da5faac9be9, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo 23:27:54 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 23:27:55 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:27:55 23:27:55 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:27:55 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:27:55 latest: Pulling from edgex-devops/git-semver 23:27:55 a0d0a0d46f8b: Pulling fs layer 23:27:55 3e5f54012d9b: Pulling fs layer 23:27:55 4c7163046ea9: Pulling fs layer 23:27:55 0c2d73faf560: Pulling fs layer 23:27:55 0c2d73faf560: Waiting 23:27:55 3e5f54012d9b: Verifying Checksum 23:27:55 3e5f54012d9b: Download complete 23:27:55 a0d0a0d46f8b: Verifying Checksum 23:27:55 a0d0a0d46f8b: Download complete 23:27:55 4c7163046ea9: Verifying Checksum 23:27:55 4c7163046ea9: Download complete 23:27:55 0c2d73faf560: Verifying Checksum 23:27:55 0c2d73faf560: Download complete 23:27:56 a0d0a0d46f8b: Pull complete 23:27:56 3e5f54012d9b: Pull complete 23:27:56 4c7163046ea9: Pull complete 23:27:56 0c2d73faf560: Pull complete 23:27:56 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:27:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:27:56 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:27:56 prd-centos7-docker-4c-2g-13348 does not seem to be running inside a container 23:27:56 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 23:27:57 $ docker top 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:27:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:27:57 [ssh-agent] Looking for ssh-agent implementation... 23:27:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:27:57 $ docker exec 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 ssh-agent 23:27:57 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdDolFA/agent.14 23:27:57 SSH_AGENT_PID=21 23:27:57 Running ssh-add (command line suppressed) 23:27:57 Identity added: /w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_8717352933685530927.key (/w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_8717352933685530927.key) 23:27:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:27:58 + git tag --points-at HEAD [Pipeline] } 23:27:58 $ docker exec --env ******** --env ******** 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 ssh-agent -k 23:27:58 unset SSH_AUTH_SOCK; 23:27:58 unset SSH_AGENT_PID; 23:27:58 echo Agent pid 21 killed; 23:27:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:27:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:27:58 [ssh-agent] Looking for ssh-agent implementation... 23:27:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:27:58 $ docker exec 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 ssh-agent 23:27:58 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXinfAGH/agent.53 23:27:58 SSH_AGENT_PID=60 23:27:58 Running ssh-add (command line suppressed) 23:27:58 Identity added: /w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_7827918445110839167.key (/w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_7827918445110839167.key) 23:27:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:27:58 + git semver init 23:27:58 # -> Open(): unable to determine branch for HEAD 23:27:58 # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-246/.git 23:27:58 # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-246 23:27:58 # $SEMVER_REMOTE_NAME = origin 23:27:58 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:27:58 # $SEMVER_USER_NAME = edgex-jenkins 23:27:58 # $SEMVER_BRANCH = PR-246 23:27:58 # $SEMVER_TEMP = /tmp/semver-344978876 23:27:58 # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP 23:27:59 # '/tmp/semver-344978876' -> '/w/workspace/foundry_device-virtual-go_PR-246/.semver' 23:27:59 # -> Force: false 23:27:59 # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-246/.semver [Pipeline] } 23:27:59 $ docker exec --env ******** --env ******** 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 ssh-agent -k 23:28:00 unset SSH_AUTH_SOCK; 23:28:00 unset SSH_AGENT_PID; 23:28:00 echo Agent pid 60 killed; 23:28:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:28:00 + git semver [Pipeline] } 23:28:00 $ docker stop --time=1 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 23:28:01 $ docker rm -f 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 [Pipeline] // withDockerContainer [Pipeline] sh 23:28:02 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:28:02 Stashed 1 file(s) [Pipeline] echo 23:28:02 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 23:28:17 Still waiting to schedule task 23:28:17 Waiting for next available executor on ‘centos7-docker-4c-2g’ 23:28:17 Still waiting to schedule task 23:28:17 Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ 23:29:26 Running on prd-centos7-docker-4c-2g-13350 in /w/workspace/foundry_device-virtual-go_PR-246 [Pipeline] { [Pipeline] ws 23:29:26 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 23:29:26 The recommended git tool is: git 23:29:28 using credential edgex-jenkins-ssh 23:29:28 Cloning the remote Git repository 23:29:28 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:29:28 > git init /w/workspace/device-virtual-go/1 # timeout=10 23:29:28 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:29:28 > git --version # timeout=10 23:29:28 > git --version # 'git version 2.24.4' 23:29:28 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:28 [INFO] Currently running in a labeled security context 23:29:28 [INFO] Currently SELinux is 'enforcing' on the host 23:29:28 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh4210056146319862335.key 23:29:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:29:29 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:29:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:29:29 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:29:29 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:29:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:29 [INFO] Currently running in a labeled security context 23:29:29 [INFO] Currently SELinux is 'enforcing' on the host 23:29:29 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh2200067306582380945.key 23:29:29 > 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 23:29:29 Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 1e709f869cca46bc565284a664e58da5faac9be9 23:29:29 Merge succeeded, producing 1e709f869cca46bc565284a664e58da5faac9be9 23:29:29 Checking out Revision 1e709f869cca46bc565284a664e58da5faac9be9 (PR-246) 23:29:29 > git config core.sparsecheckout # timeout=10 23:29:29 > git checkout -f 1e709f869cca46bc565284a664e58da5faac9be9 # timeout=10 23:29:29 > git remote # timeout=10 23:29:29 > git config --get remote.origin.url # timeout=10 23:29:29 using GIT_SSH to set credentials SSH Credentials for GitHub 23:29:29 [INFO] Currently running in a labeled security context 23:29:29 [INFO] Currently SELinux is 'enforcing' on the host 23:29:29 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh9081734862363714743.key 23:29:29 > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 23:29:29 > git rev-parse HEAD^{commit} # timeout=10 23:29:29 > git config core.sparsecheckout # timeout=10 23:29:29 > git checkout -f 1e709f869cca46bc565284a664e58da5faac9be9 # timeout=10 23:29:33 Commit message: "feat: Update configuration for new CORS and Secrets File settings" 23:29:33 > git --version # timeout=10 23:29:33 > git --version # 'git version 2.24.4' 23:29:33 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:29:34 provisioning config files... 23:29:34 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2041318235167148178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:29:34 ---> docker-login.sh 23:29:34 nexus3.edgexfoundry.org:10001 23:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:34 Configure a credential helper to remove this warning. See 23:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:34 23:29:34 Login Succeeded 23:29:34 nexus3.edgexfoundry.org:10002 23:29:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:34 Configure a credential helper to remove this warning. See 23:29:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:34 23:29:34 Login Succeeded 23:29:34 nexus3.edgexfoundry.org:10003 23:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:35 Configure a credential helper to remove this warning. See 23:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:35 23:29:35 Login Succeeded 23:29:35 nexus3.edgexfoundry.org:10004 23:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:35 Configure a credential helper to remove this warning. See 23:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:35 23:29:35 Login Succeeded 23:29:35 docker.io 23:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:29:35 Configure a credential helper to remove this warning. See 23:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:29:35 23:29:35 Login Succeeded 23:29:35 ---> docker-login.sh ends [Pipeline] } 23:29:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:29:35 ========================================================= 23:29:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 23:29:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:29:36 + 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 . 23:29:36 Sending build context to Docker daemon 8.726MB 23:29:36 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:29:36 Step 2/11 : FROM ${BASE} AS builder 23:29:36 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 23:29:36 a0d0a0d46f8b: Pulling fs layer 23:29:36 31adcdaf11c8: Pulling fs layer 23:29:36 b8b176561691: Pulling fs layer 23:29:36 4527c011a84f: Pulling fs layer 23:29:36 5d74067f8e1e: Pulling fs layer 23:29:36 e0aca202a116: Pulling fs layer 23:29:36 3a43be97a3b4: Pulling fs layer 23:29:36 34cad66bf833: Pulling fs layer 23:29:36 b4e3c513aaa6: Pulling fs layer 23:29:36 4527c011a84f: Waiting 23:29:36 5d74067f8e1e: Waiting 23:29:36 e0aca202a116: Waiting 23:29:36 3a43be97a3b4: Waiting 23:29:36 34cad66bf833: Waiting 23:29:36 b4e3c513aaa6: Waiting 23:29:36 b8b176561691: Verifying Checksum 23:29:36 b8b176561691: Download complete 23:29:36 31adcdaf11c8: Verifying Checksum 23:29:36 31adcdaf11c8: Download complete 23:29:36 5d74067f8e1e: Verifying Checksum 23:29:36 5d74067f8e1e: Download complete 23:29:36 e0aca202a116: Verifying Checksum 23:29:36 e0aca202a116: Download complete 23:29:36 3a43be97a3b4: Verifying Checksum 23:29:36 3a43be97a3b4: Download complete 23:29:36 a0d0a0d46f8b: Verifying Checksum 23:29:36 a0d0a0d46f8b: Download complete 23:29:36 34cad66bf833: Verifying Checksum 23:29:36 34cad66bf833: Download complete 23:29:36 a0d0a0d46f8b: Pull complete 23:29:37 31adcdaf11c8: Pull complete 23:29:37 4527c011a84f: Verifying Checksum 23:29:37 4527c011a84f: Download complete 23:29:37 b8b176561691: Pull complete 23:29:37 b4e3c513aaa6: Verifying Checksum 23:29:37 b4e3c513aaa6: Download complete 23:29:41 4527c011a84f: Pull complete 23:29:41 5d74067f8e1e: Pull complete 23:29:41 e0aca202a116: Pull complete 23:29:41 3a43be97a3b4: Pull complete 23:29:41 34cad66bf833: Pull complete 23:29:43 b4e3c513aaa6: Pull complete 23:29:43 Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 23:29:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 23:29:43 ---> 9f6097aaca64 23:29:43 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:29:45 ---> Running in 5b99d892a020 23:29:45 Removing intermediate container 5b99d892a020 23:29:45 ---> b4af71442559 23:29:45 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 23:29:45 ---> Running in 999fc7fe0ac0 23:29:45 Removing intermediate container 999fc7fe0ac0 23:29:45 ---> 202d32d11669 23:29:45 Step 5/11 : WORKDIR /device-virtual-go 23:29:45 ---> Running in b8883d9e0252 23:29:46 Removing intermediate container b8883d9e0252 23:29:46 ---> 3ee4ce941cdf 23:29:46 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:29:46 ---> Running in 30baf8cc2f56 23:29:46 Removing intermediate container 30baf8cc2f56 23:29:46 ---> 021c9bedc47b 23:29:46 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:29:46 ---> Running in d7ffd5f7128b 23:29:46 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:29:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:29:48 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:29:48 (2/4) Installing libedit (20210216.3.1-r0) 23:29:48 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:29:48 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:29:48 Executing busybox-1.33.1-r3.trigger 23:29:48 OK: 224 MiB in 56 packages 23:29:48 Removing intermediate container d7ffd5f7128b 23:29:48 ---> 3712739c2afa 23:29:48 Step 8/11 : COPY . . 23:29:49 ---> e06219625c2b 23:29:49 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:29:49 ---> Running in 1acb104a00fa 23:29:50 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: verifying go.mod: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26/go.mod: reading https://sum.golang.org/lookup/github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: 410 Gone 23:29:50 server response: not found: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: invalid version: unknown revision v2.0.1-dev.26 23:29:50 skipping... 23:29:51 Removing intermediate container 1acb104a00fa 23:29:51 ---> 627774322cf4 23:29:51 Step 10/11 : ARG MAKE='make build' 23:29:51 ---> Running in 2ba2cf0e0c3c 23:29:51 Removing intermediate container 2ba2cf0e0c3c 23:29:51 ---> 8271128c0f91 23:29:51 Step 11/11 : RUN $MAKE 23:29:51 ---> Running in 706fd637e9f8 23:29:51 noop 23:29:51 Removing intermediate container 706fd637e9f8 23:29:51 ---> beaac4a7e9bc 23:29:51 Successfully built beaac4a7e9bc 23:29:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:29:52 + docker inspect -f . ci-base-image-x86_64 23:29:52 . [Pipeline] withDockerContainer 23:29:52 prd-centos7-docker-4c-2g-13350 does not seem to be running inside a container 23:29:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:29:52 $ docker top 034595f570fe0bd087d36d077737b59695e633fdf35172711fbf1743d8d2ccd1 -eo pid,comm [Pipeline] { [Pipeline] sh 23:29:52 + go version 23:29:52 go version go1.16.8 linux/amd64 [Pipeline] } 23:29:53 $ docker stop --time=1 034595f570fe0bd087d36d077737b59695e633fdf35172711fbf1743d8d2ccd1 23:29:54 $ docker rm -f 034595f570fe0bd087d36d077737b59695e633fdf35172711fbf1743d8d2ccd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:29:54 + docker inspect -f . ci-base-image-x86_64 23:29:54 . [Pipeline] withDockerContainer 23:29:54 prd-centos7-docker-4c-2g-13350 does not seem to be running inside a container 23:29:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:29:55 $ docker top f6a6d0b574ee9a0e33f1167fe1d756fd4588677e7be1bac9c8df0403571f3d83 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:29:55 + make test 23:29:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:29:55 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: 23:29:55 go mod download github.com/edgexfoundry/device-sdk-go/v2 23:29:55 make: *** [Makefile:26: test] Error 1 [Pipeline] } 23:29:55 $ docker stop --time=1 f6a6d0b574ee9a0e33f1167fe1d756fd4588677e7be1bac9c8df0403571f3d83 23:29:57 $ docker rm -f f6a6d0b574ee9a0e33f1167fe1d756fd4588677e7be1bac9c8df0403571f3d83 [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 23:29:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:58 23:29:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:29:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:29:58 latest: Pulling from edgex-lftools-log-publisher 23:29:58 b4d181a07f80: Pulling fs layer 23:29:58 a1111a8f2ec3: Pulling fs layer 23:29:58 ed53099fbce6: Pulling fs layer 23:29:58 dc539afda2c1: Pulling fs layer 23:29:58 77bc0d833cb6: Pulling fs layer 23:29:58 9065ff56babe: Pulling fs layer 23:29:58 d287ab97295c: Pulling fs layer 23:29:58 77bc0d833cb6: Waiting 23:29:58 9065ff56babe: Waiting 23:29:58 d287ab97295c: Waiting 23:29:58 dc539afda2c1: Waiting 23:29:58 a1111a8f2ec3: Verifying Checksum 23:29:58 a1111a8f2ec3: Download complete 23:29:58 dc539afda2c1: Verifying Checksum 23:29:58 dc539afda2c1: Download complete 23:29:58 ed53099fbce6: Verifying Checksum 23:29:58 ed53099fbce6: Download complete 23:29:58 9065ff56babe: Verifying Checksum 23:29:58 9065ff56babe: Download complete 23:29:58 77bc0d833cb6: Verifying Checksum 23:29:58 77bc0d833cb6: Download complete 23:29:58 b4d181a07f80: Verifying Checksum 23:29:58 b4d181a07f80: Download complete 23:29:59 d287ab97295c: Verifying Checksum 23:29:59 d287ab97295c: Download complete 23:30:00 b4d181a07f80: Pull complete 23:30:00 a1111a8f2ec3: Pull complete 23:30:01 ed53099fbce6: Pull complete 23:30:01 dc539afda2c1: Pull complete 23:30:01 77bc0d833cb6: Pull complete 23:30:01 9065ff56babe: Pull complete 23:30:06 d287ab97295c: Pull complete 23:30:06 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:30:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:30:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:30:06 prd-centos7-docker-4c-2g-13350 does not seem to be running inside a container 23:30:06 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:30:09 $ docker top 6c4d3f49a1e15f8489bc3d0fabbdd326d60ba21c4f6a8d9369959c87bfab2344 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:30:09 ---> job-cost.sh 23:30:09 lf-activate-venv: SKIPPING 23:30:09 INFO: No Stack... 23:30:09 INFO: Retrieving Pricing Info for: v3-standard-2 23:30:10 INFO: Archiving Costs [Pipeline] sh 23:30:10 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 23:30:10 + cut -d, -f6 [Pipeline] lock 23:30:10 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] 23:30:10 Resource [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] did not exist. Created. 23:30:10 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:30:10 + echo total: 0.05999999865889549 [Pipeline] stash 23:30:10 Stashed 1 file(s) [Pipeline] } 23:30:10 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:30:11 $ docker stop --time=1 6c4d3f49a1e15f8489bc3d0fabbdd326d60ba21c4f6a8d9369959c87bfab2344 23:30:12 $ docker rm -f 6c4d3f49a1e15f8489bc3d0fabbdd326d60ba21c4f6a8d9369959c87bfab2344 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:30:12 Failed in branch amd64 23:32:06 Running on prd-ubuntu18.04-docker-arm64-4c-16g-13351 in /w/workspace/foundry_device-virtual-go_PR-246 [Pipeline] { [Pipeline] ws 23:32:06 Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout 23:32:07 The recommended git tool is: git 23:32:13 using credential edgex-jenkins-ssh 23:32:13 Cloning the remote Git repository 23:32:13 Cloning repository git@github.com:edgexfoundry/device-virtual-go.git 23:32:13 > git init /w/workspace/device-virtual-go/1 # timeout=10 23:32:13 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:32:13 > git --version # timeout=10 23:32:13 > git --version # 'git version 2.17.1' 23:32:13 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:13 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:32:15 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:32:15 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 23:32:15 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git 23:32:15 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:15 > 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 23:32:16 Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 1e709f869cca46bc565284a664e58da5faac9be9 23:32:16 Merge succeeded, producing 1e709f869cca46bc565284a664e58da5faac9be9 23:32:16 Checking out Revision 1e709f869cca46bc565284a664e58da5faac9be9 (PR-246) 23:32:16 > git config core.sparsecheckout # timeout=10 23:32:16 > git checkout -f 1e709f869cca46bc565284a664e58da5faac9be9 # timeout=10 23:32:16 > git remote # timeout=10 23:32:16 > git config --get remote.origin.url # timeout=10 23:32:16 using GIT_SSH to set credentials SSH Credentials for GitHub 23:32:16 > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 23:32:16 > git rev-parse HEAD^{commit} # timeout=10 23:32:16 > git config core.sparsecheckout # timeout=10 23:32:16 > git checkout -f 1e709f869cca46bc565284a664e58da5faac9be9 # timeout=10 23:32:20 Commit message: "feat: Update configuration for new CORS and Secrets File settings" 23:32:20 > git --version # timeout=10 23:32:20 > git --version # 'git version 2.17.1' 23:32:20 fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:32:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:32:21 % Total % Received % Xferd Average Speed Time Time Time Current 23:32:21 Dload Upload Total Spent Left Speed 23:32:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 83267 0 --:--:-- --:--:-- --:--:-- 83267 [Pipeline] sh 23:32:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:32:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:32:22 + sudo tee /etc/docker/daemon.new 23:32:22 { 23:32:22 "registry-mirrors": [ 23:32:22 "https://nexus3.edgexfoundry.org:10001" 23:32:22 ], 23:32:22 "bip": "10.250.0.254/24", 23:32:22 "hosts": [ 23:32:22 "tcp://0.0.0.0:5555", 23:32:22 "unix:///var/run/docker.sock" 23:32:22 ], 23:32:22 "mtu": 1458, 23:32:22 "selinux-enabled": true, 23:32:22 "seccomp-profile": "/etc/docker/seccomp.json" 23:32:22 } [Pipeline] sh 23:32:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:32:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:32:41 provisioning config files... 23:32:41 copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7866856038135420745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:32:42 ---> docker-login.sh 23:32:42 nexus3.edgexfoundry.org:10001 23:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:43 Configure a credential helper to remove this warning. See 23:32:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:43 23:32:43 Login Succeeded 23:32:43 nexus3.edgexfoundry.org:10002 23:32:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:44 Configure a credential helper to remove this warning. See 23:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:44 23:32:44 Login Succeeded 23:32:44 nexus3.edgexfoundry.org:10003 23:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:44 Configure a credential helper to remove this warning. See 23:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:44 23:32:44 Login Succeeded 23:32:44 nexus3.edgexfoundry.org:10004 23:32:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:44 Configure a credential helper to remove this warning. See 23:32:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:44 23:32:44 Login Succeeded 23:32:44 docker.io 23:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:32:45 Configure a credential helper to remove this warning. See 23:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:32:45 23:32:45 Login Succeeded 23:32:45 ---> docker-login.sh ends [Pipeline] } 23:32:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:32:46 ========================================================= 23:32:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 23:32:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:32:46 + 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 . 23:32:47 Sending build context to Docker daemon 8.724MB 23:32:47 Step 1/11 : ARG BASE=golang:1.16-alpine3.14 23:32:47 Step 2/11 : FROM ${BASE} AS builder 23:32:47 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:32:47 552d1f2373af: Pulling fs layer 23:32:47 ea3f2d53f512: Pulling fs layer 23:32:47 9e70ebbbe112: Pulling fs layer 23:32:47 7a9cfe048b4a: Pulling fs layer 23:32:47 72dc09318566: Pulling fs layer 23:32:47 f4f7b4309257: Pulling fs layer 23:32:47 0ac9a79272e3: Pulling fs layer 23:32:47 b78e95d17946: Pulling fs layer 23:32:47 7a9cfe048b4a: Waiting 23:32:47 f4f7b4309257: Waiting 23:32:47 72dc09318566: Waiting 23:32:47 b78e95d17946: Waiting 23:32:47 0ac9a79272e3: Waiting 23:32:47 9e70ebbbe112: Verifying Checksum 23:32:47 9e70ebbbe112: Download complete 23:32:47 ea3f2d53f512: Verifying Checksum 23:32:47 ea3f2d53f512: Download complete 23:32:47 72dc09318566: Download complete 23:32:47 f4f7b4309257: Verifying Checksum 23:32:47 f4f7b4309257: Download complete 23:32:47 552d1f2373af: Download complete 23:32:47 0ac9a79272e3: Verifying Checksum 23:32:47 0ac9a79272e3: Download complete 23:32:48 552d1f2373af: Pull complete 23:32:49 ea3f2d53f512: Pull complete 23:32:49 9e70ebbbe112: Pull complete 23:32:49 b78e95d17946: Verifying Checksum 23:32:49 b78e95d17946: Download complete 23:32:50 7a9cfe048b4a: Download complete 23:33:00 7a9cfe048b4a: Pull complete 23:33:00 72dc09318566: Pull complete 23:33:00 f4f7b4309257: Pull complete 23:33:00 0ac9a79272e3: Pull complete 23:33:05 b78e95d17946: Pull complete 23:33:05 Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 23:33:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 23:33:05 ---> 8b459fc5aaf0 23:33:05 Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 23:33:09 ---> Running in 5c48faacc55f 23:33:09 Removing intermediate container 5c48faacc55f 23:33:09 ---> 70dab34a3954 23:33:09 Step 4/11 : ARG ALPINE_PKG_EXTRA="" 23:33:09 ---> Running in 2a805ff19b66 23:33:09 Removing intermediate container 2a805ff19b66 23:33:09 ---> 50ef2c2e9938 23:33:09 Step 5/11 : WORKDIR /device-virtual-go 23:33:09 ---> Running in 88436bc1bfb2 23:33:09 Removing intermediate container 88436bc1bfb2 23:33:09 ---> 5a2a3f7cd0eb 23:33:09 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:33:10 ---> Running in 214642bd257c 23:33:12 Removing intermediate container 214642bd257c 23:33:12 ---> 677f816bc196 23:33:12 Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:33:12 ---> Running in 7d45e5c92038 23:33:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:33:14 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:33:15 (1/4) Installing openssh-keygen (8.6_p1-r3) 23:33:15 (2/4) Installing libedit (20210216.3.1-r0) 23:33:15 (3/4) Installing openssh-client-common (8.6_p1-r3) 23:33:15 (4/4) Installing openssh-client-default (8.6_p1-r3) 23:33:15 Executing busybox-1.33.1-r3.trigger 23:33:15 OK: 223 MiB in 56 packages 23:33:17 Removing intermediate container 7d45e5c92038 23:33:17 ---> dacbf1587088 23:33:17 Step 8/11 : COPY . . 23:33:18 ---> 5f9cdc40bb57 23:33:18 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:33:18 ---> Running in e791367ed295 23:34:40 Removing intermediate container e791367ed295 23:34:40 ---> 4736f3fea009 23:34:40 Step 10/11 : ARG MAKE='make build' 23:34:40 ---> Running in 6f2b9459e583 23:34:41 Removing intermediate container 6f2b9459e583 23:34:41 ---> d08cbfa0660f 23:34:41 Step 11/11 : RUN $MAKE 23:34:41 ---> Running in 4362127b9f07 23:34:42 noop 23:34:43 Removing intermediate container 4362127b9f07 23:34:43 ---> 2b8275bac53d 23:34:43 Successfully built 2b8275bac53d 23:34:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:34:43 + docker inspect -f . ci-base-image-arm64 23:34:43 . [Pipeline] withDockerContainer 23:34:44 prd-ubuntu18.04-docker-arm64-4c-16g-13351 does not seem to be running inside a container 23:34:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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-arm64 cat 23:34:45 $ docker top d08869f83f5da60d82d33be9a23cb6d18960f8e871380f07d07ffa6b1e63f503 -eo pid,comm [Pipeline] { [Pipeline] sh 23:34:46 + go version 23:34:46 go version go1.16.8 linux/arm64 [Pipeline] } 23:34:46 $ docker stop --time=1 d08869f83f5da60d82d33be9a23cb6d18960f8e871380f07d07ffa6b1e63f503 23:34:48 $ docker rm -f d08869f83f5da60d82d33be9a23cb6d18960f8e871380f07d07ffa6b1e63f503 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:34:49 + docker inspect -f . ci-base-image-arm64 23:34:49 . [Pipeline] withDockerContainer 23:34:49 prd-ubuntu18.04-docker-arm64-4c-16g-13351 does not seem to be running inside a container 23:34:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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-arm64 cat 23:34:51 $ docker top 3eb3f66d60727e85d72b1e0947e61b50321bbb27b5b99d3546dac7511cbc8dd5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:34:52 + make test 23:34:52 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out 23:34:52 go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: 23:34:52 go mod download github.com/edgexfoundry/device-sdk-go/v2 23:34:52 make: *** [Makefile:26: test] Error 1 [Pipeline] } 23:34:52 $ docker stop --time=1 3eb3f66d60727e85d72b1e0947e61b50321bbb27b5b99d3546dac7511cbc8dd5 23:34:54 $ docker rm -f 3eb3f66d60727e85d72b1e0947e61b50321bbb27b5b99d3546dac7511cbc8dd5 [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 23:34:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:34:56 23:34:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:34:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:34:57 arm64: Pulling from edgex-lftools-log-publisher 23:34:57 448f6bf000e3: Pulling fs layer 23:34:57 f757da607395: Pulling fs layer 23:34:57 05883995daec: Pulling fs layer 23:34:57 8603b9c90790: Pulling fs layer 23:34:57 1560dd03e051: Pulling fs layer 23:34:57 27f5ce0e4adf: Pulling fs layer 23:34:57 c2d8d7efcc4b: Pulling fs layer 23:34:57 8603b9c90790: Waiting 23:34:57 1560dd03e051: Waiting 23:34:57 27f5ce0e4adf: Waiting 23:34:57 c2d8d7efcc4b: Waiting 23:34:57 f757da607395: Verifying Checksum 23:34:57 f757da607395: Download complete 23:34:57 8603b9c90790: Verifying Checksum 23:34:57 8603b9c90790: Download complete 23:34:57 1560dd03e051: Verifying Checksum 23:34:57 1560dd03e051: Download complete 23:34:57 27f5ce0e4adf: Verifying Checksum 23:34:57 27f5ce0e4adf: Download complete 23:34:57 05883995daec: Verifying Checksum 23:34:57 05883995daec: Download complete 23:34:57 448f6bf000e3: Verifying Checksum 23:34:57 448f6bf000e3: Download complete 23:35:00 c2d8d7efcc4b: Verifying Checksum 23:35:00 c2d8d7efcc4b: Download complete 23:35:01 448f6bf000e3: Pull complete 23:35:01 f757da607395: Pull complete 23:35:03 05883995daec: Pull complete 23:35:03 8603b9c90790: Pull complete 23:35:04 1560dd03e051: Pull complete 23:35:04 27f5ce0e4adf: Pull complete 23:35:19 c2d8d7efcc4b: Pull complete 23:35:19 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 23:35:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:35:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:35:20 prd-ubuntu18.04-docker-arm64-4c-16g-13351 does not seem to be running inside a container 23:35:20 $ 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/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@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:arm64 cat 23:35:23 $ docker top 600b07f57a28053f5326175616d4fae17697402ac7bbfc19f7a4b741933fd2f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:35:24 ---> job-cost.sh 23:35:24 lf-activate-venv: SKIPPING 23:35:24 INFO: No Stack... 23:35:24 INFO: Retrieving Pricing Info for: v3-standard-4 23:35:25 INFO: Archiving Costs [Pipeline] sh 23:35:25 + cat /w/workspace/device-virtual-go/1/archives/cost.csv 23:35:25 + cut -d, -f6 [Pipeline] lock 23:35:25 Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] 23:35:25 Resource [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] did not exist. Created. 23:35:25 Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:35:26 /w/workspace/device-virtual-go/1@tmp/durable-49c14875/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-49c14875/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 23:35:27 + echo total: 0.10999999940395355 [Pipeline] stash 23:35:27 Warning: overwriting stash ‘stack-cost’ 23:35:28 Stashed 1 file(s) [Pipeline] } 23:35:28 Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:35:28 $ docker stop --time=1 600b07f57a28053f5326175616d4fae17697402ac7bbfc19f7a4b741933fd2f5 23:35:29 $ docker rm -f 600b07f57a28053f5326175616d4fae17697402ac7bbfc19f7a4b741933fd2f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 23:35:30 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 23:35:32 + '[' -d /w/workspace/foundry_device-virtual-go_PR-246/archives ']' [Pipeline] libraryResource [Pipeline] sh 23:35:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:35:33 ---> package-listing.sh 23:35:33 ++ tr '[:upper:]' '[:lower:]' 23:35:33 ++ facter osfamily 23:35:33 + OS_FAMILY=redhat 23:35:33 + workspace=/w/workspace/foundry_device-virtual-go_PR-246 23:35:33 + START_PACKAGES=/tmp/packages_start.txt 23:35:33 + END_PACKAGES=/tmp/packages_end.txt 23:35:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:35:33 + PACKAGES=/tmp/packages_start.txt 23:35:33 + '[' /w/workspace/foundry_device-virtual-go_PR-246 ']' 23:35:33 + PACKAGES=/tmp/packages_end.txt 23:35:33 + case "${OS_FAMILY}" in 23:35:33 + sort 23:35:33 + rpm -qa 23:35:34 + '[' -f /tmp/packages_start.txt ']' 23:35:34 + '[' -f /tmp/packages_end.txt ']' 23:35:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:35:34 + '[' /w/workspace/foundry_device-virtual-go_PR-246 ']' 23:35:34 + mkdir -p /w/workspace/foundry_device-virtual-go_PR-246/archives/ 23:35:34 + 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 23:35:34 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 23:35:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:35:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:35:35 23:35:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:35:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:35:35 latest: Pulling from edgex-lftools-log-publisher 23:35:35 b4d181a07f80: Pulling fs layer 23:35:35 a1111a8f2ec3: Pulling fs layer 23:35:35 ed53099fbce6: Pulling fs layer 23:35:35 dc539afda2c1: Pulling fs layer 23:35:35 77bc0d833cb6: Pulling fs layer 23:35:35 9065ff56babe: Pulling fs layer 23:35:35 d287ab97295c: Pulling fs layer 23:35:35 77bc0d833cb6: Waiting 23:35:35 9065ff56babe: Waiting 23:35:35 dc539afda2c1: Waiting 23:35:35 d287ab97295c: Waiting 23:35:35 a1111a8f2ec3: Verifying Checksum 23:35:35 a1111a8f2ec3: Download complete 23:35:35 dc539afda2c1: Verifying Checksum 23:35:35 dc539afda2c1: Download complete 23:35:36 ed53099fbce6: Verifying Checksum 23:35:36 ed53099fbce6: Download complete 23:35:36 9065ff56babe: Verifying Checksum 23:35:36 9065ff56babe: Download complete 23:35:36 77bc0d833cb6: Verifying Checksum 23:35:36 77bc0d833cb6: Download complete 23:35:36 b4d181a07f80: Verifying Checksum 23:35:36 b4d181a07f80: Download complete 23:35:36 d287ab97295c: Verifying Checksum 23:35:36 d287ab97295c: Download complete 23:35:37 b4d181a07f80: Pull complete 23:35:37 a1111a8f2ec3: Pull complete 23:35:38 ed53099fbce6: Pull complete 23:35:38 dc539afda2c1: Pull complete 23:35:38 77bc0d833cb6: Pull complete 23:35:38 9065ff56babe: Pull complete 23:35:43 d287ab97295c: Pull complete 23:35:43 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 23:35:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:35:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:35:43 prd-centos7-docker-4c-2g-13348 does not seem to be running inside a container 23:35:43 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:35:46 $ docker top 883abda4aa0d6ad6ccb9aa35c85b6e08a30c571286d263eb8c07902655264ce9 -eo pid,comm [Pipeline] { [Pipeline] sh 23:35:46 + touch /tmp/pre-build-complete [Pipeline] sh 23:35:46 + mkdir -p /var/log/sysstat [Pipeline] sh 23:35:47 + ls /var/log/sa-host 23:35:47 + sadf -c /var/log/sa-host/sa28 23:35:47 file_magic: OK 23:35:47 HZ: Using current value: 100 23:35:47 file_header: OK 23:35:47 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 23:35:47 Statistics: 23:35:47 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 23:35:47 File successfully converted to sysstat format version 12.0.3 23:35:47 + sadf -c /var/log/sa-host/sa30 23:35:47 file_magic: OK 23:35:47 HZ: Using current value: 100 23:35:47 file_header: OK 23:35:47 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 23:35:47 Statistics: 23:35:47 Hnuu...uuuununununu...Hnuu...uuuununununu... 23:35:47 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:35:47 provisioning config files... 23:35:47 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-246@tmp/config345983653518758514tmp [Pipeline] { [Pipeline] echo 23:35:47 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:35:47 ---> create-netrc.sh [Pipeline] } 23:35:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:35:48 ---> python-tools-install.sh [Pipeline] echo 23:35:48 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:35:48 ---> sudo-logs.sh 23:35:48 Archiving 'sudo' log.. 23:35:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-13348.novalocal: Name or service not known 23:35:48 sudo: unable to resolve host prd-centos7-docker-4c-2g-13348.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 23:35:48 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:35:48 ---> job-cost.sh 23:35:48 lf-activate-venv: SKIPPING 23:35:48 DEBUG: total: 0.10999999940395355 23:35:48 INFO: Retrieving Stack Cost... 23:35:49 INFO: Retrieving Pricing Info for: v3-standard-2 23:35:50 INFO: Archiving Costs [Pipeline] echo 23:35:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:35:50 ---> logs-deploy.sh 23:35:50 lf-activate-venv: SKIPPING 23:35:50 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-246/1 23:35:50 INFO: archiving workspace using pattern(s): 23:35:51 Archives upload complete. 23:35:51 INFO: archiving logs to Nexus