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 [2021-10-28T23:27:49.676Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-28T23:27:49.798Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-28T23:27:49.872Z] ========================================================= [2021-10-28T23:27:49.872Z] EdgeX Global Pipelines Version Info [2021-10-28T23:27:49.872Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:27:51.040Z] ------------------- [2021-10-28T23:27:51.040Z] stable info: [2021-10-28T23:27:51.040Z] ------------------- [2021-10-28T23:27:51.040Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-28T23:27:51.040Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T23:27:51.040Z] Message: update stable to v1.0.210 [2021-10-28T23:27:51.617Z] ------------------- [2021-10-28T23:27:51.617Z] experimental info: [2021-10-28T23:27:51.617Z] ------------------- [2021-10-28T23:27:51.617Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-28T23:27:51.617Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-28T23:27:51.617Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-28T23:27:51.785Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-10-28T23:27:51.847Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-10-28T23:27:51.877Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-28T23:27:51.920Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-28T23:27:51.955Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-28T23:27:51.994Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-28T23:27:52.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-28T23:27:52.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-28T23:27:52.091Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-28T23:27:52.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-28T23:27:52.162Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-28T23:27:52.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-10-28T23:27:52.232Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-28T23:27:52.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-28T23:27:52.305Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T23:27:52.347Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T23:27:52.386Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T23:27:52.422Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T23:27:52.462Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-28T23:27:52.503Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-28T23:27:52.541Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-28T23:27:52.580Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-28T23:27:52.618Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-28T23:27:52.654Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-28T23:27:52.700Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-28T23:27:52.735Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-28T23:27:52.770Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-246 [Pipeline] echo [2021-10-28T23:27:52.807Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-246 [Pipeline] echo [2021-10-28T23:27:52.841Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-246 [Pipeline] echo [2021-10-28T23:27:52.880Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1e709f869cca46bc565284a664e58da5faac9be9 [Pipeline] echo [2021-10-28T23:27:52.917Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1e709f8 [Pipeline] echo [2021-10-28T23:27:52.953Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:27:53.051Z] provisioning config files... [2021-10-28T23:27:53.065Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-246@tmp/config6511924443501002773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:27:53.414Z] ---> docker-login.sh [2021-10-28T23:27:53.414Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:27:53.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:27:53.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:27:53.683Z] Configure a credential helper to remove this warning. See [2021-10-28T23:27:53.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:27:53.683Z] [2021-10-28T23:27:53.683Z] Login Succeeded [2021-10-28T23:27:53.683Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:27:53.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:27:53.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:27:53.683Z] Configure a credential helper to remove this warning. See [2021-10-28T23:27:53.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:27:53.683Z] [2021-10-28T23:27:53.683Z] Login Succeeded [2021-10-28T23:27:53.683Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:27:53.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:27:53.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:27:53.947Z] Configure a credential helper to remove this warning. See [2021-10-28T23:27:53.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:27:53.947Z] [2021-10-28T23:27:53.947Z] Login Succeeded [2021-10-28T23:27:53.947Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:27:53.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:27:53.947Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:27:53.947Z] Configure a credential helper to remove this warning. See [2021-10-28T23:27:53.947Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:27:53.947Z] [2021-10-28T23:27:53.947Z] Login Succeeded [2021-10-28T23:27:53.947Z] docker.io [2021-10-28T23:27:53.947Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:27:54.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:27:54.213Z] Configure a credential helper to remove this warning. See [2021-10-28T23:27:54.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:27:54.213Z] [2021-10-28T23:27:54.213Z] Login Succeeded [2021-10-28T23:27:54.213Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:27:54.233Z] 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 [2021-10-28T23:27:54.845Z] + git log --format=format:%s -1 1e709f869cca46bc565284a664e58da5faac9be9 [Pipeline] echo [2021-10-28T23:27:54.897Z] GIT_COMMIT: 1e709f869cca46bc565284a664e58da5faac9be9, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo [2021-10-28T23:27:54.952Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:27:55.457Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:27:55.457Z] [2021-10-28T23:27:55.457Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:27:55.792Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:27:55.792Z] latest: Pulling from edgex-devops/git-semver [2021-10-28T23:27:55.792Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T23:27:55.792Z] 3e5f54012d9b: Pulling fs layer [2021-10-28T23:27:55.792Z] 4c7163046ea9: Pulling fs layer [2021-10-28T23:27:55.792Z] 0c2d73faf560: Pulling fs layer [2021-10-28T23:27:55.792Z] 0c2d73faf560: Waiting [2021-10-28T23:27:55.792Z] 3e5f54012d9b: Verifying Checksum [2021-10-28T23:27:55.792Z] 3e5f54012d9b: Download complete [2021-10-28T23:27:55.792Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T23:27:55.792Z] a0d0a0d46f8b: Download complete [2021-10-28T23:27:55.792Z] 4c7163046ea9: Verifying Checksum [2021-10-28T23:27:55.792Z] 4c7163046ea9: Download complete [2021-10-28T23:27:55.792Z] 0c2d73faf560: Verifying Checksum [2021-10-28T23:27:55.792Z] 0c2d73faf560: Download complete [2021-10-28T23:27:56.061Z] a0d0a0d46f8b: Pull complete [2021-10-28T23:27:56.061Z] 3e5f54012d9b: Pull complete [2021-10-28T23:27:56.328Z] 4c7163046ea9: Pull complete [2021-10-28T23:27:56.592Z] 0c2d73faf560: Pull complete [2021-10-28T23:27:56.592Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-28T23:27:56.592Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T23:27:56.592Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-28T23:27:56.675Z] prd-centos7-docker-4c-2g-13348 does not seem to be running inside a container [2021-10-28T23:27:56.713Z] $ 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 [2021-10-28T23:27:57.302Z] $ docker top 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T23:27:57.471Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:27:57.471Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:27:57.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:27:57.580Z] $ docker exec 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 ssh-agent [2021-10-28T23:27:57.681Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdDolFA/agent.14 [2021-10-28T23:27:57.681Z] SSH_AGENT_PID=21 [2021-10-28T23:27:57.688Z] Running ssh-add (command line suppressed) [2021-10-28T23:27:57.774Z] 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) [2021-10-28T23:27:57.788Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:27:58.111Z] + git tag --points-at HEAD [Pipeline] } [2021-10-28T23:27:58.129Z] $ docker exec --env ******** --env ******** 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 ssh-agent -k [2021-10-28T23:27:58.220Z] unset SSH_AUTH_SOCK; [2021-10-28T23:27:58.220Z] unset SSH_AGENT_PID; [2021-10-28T23:27:58.220Z] echo Agent pid 21 killed; [2021-10-28T23:27:58.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-28T23:27:58.296Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T23:27:58.296Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T23:27:58.400Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T23:27:58.400Z] $ docker exec 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 ssh-agent [2021-10-28T23:27:58.503Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXinfAGH/agent.53 [2021-10-28T23:27:58.503Z] SSH_AGENT_PID=60 [2021-10-28T23:27:58.509Z] Running ssh-add (command line suppressed) [2021-10-28T23:27:58.606Z] 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) [2021-10-28T23:27:58.625Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T23:27:58.953Z] + git semver init [2021-10-28T23:27:58.953Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T23:27:58.953Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-246/.git [2021-10-28T23:27:58.953Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-246 [2021-10-28T23:27:58.953Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T23:27:58.953Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T23:27:58.953Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T23:27:58.953Z] # $SEMVER_BRANCH = PR-246 [2021-10-28T23:27:58.953Z] # $SEMVER_TEMP = /tmp/semver-344978876 [2021-10-28T23:27:58.953Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-10-28T23:27:59.916Z] # '/tmp/semver-344978876' -> '/w/workspace/foundry_device-virtual-go_PR-246/.semver' [2021-10-28T23:27:59.916Z] # -> Force: false [2021-10-28T23:27:59.916Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-246/.semver [Pipeline] } [2021-10-28T23:27:59.932Z] $ docker exec --env ******** --env ******** 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 ssh-agent -k [2021-10-28T23:28:00.016Z] unset SSH_AUTH_SOCK; [2021-10-28T23:28:00.016Z] unset SSH_AGENT_PID; [2021-10-28T23:28:00.017Z] echo Agent pid 60 killed; [2021-10-28T23:28:00.032Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T23:28:00.411Z] + git semver [Pipeline] } [2021-10-28T23:28:00.445Z] $ docker stop --time=1 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 [2021-10-28T23:28:01.717Z] $ docker rm -f 676958b3c5c7b7a9477e3399dde57b404b09f6c6df297b69f1ebfb5b5150bb92 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T23:28:02.098Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-28T23:28:02.371Z] Stashed 1 file(s) [Pipeline] echo [2021-10-28T23:28:02.387Z] [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 [2021-10-28T23:28:17.741Z] Still waiting to schedule task [2021-10-28T23:28:17.741Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-28T23:28:17.760Z] Still waiting to schedule task [2021-10-28T23:28:17.761Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-28T23:29:26.042Z] Running on prd-centos7-docker-4c-2g-13350 in /w/workspace/foundry_device-virtual-go_PR-246 [Pipeline] { [Pipeline] ws [2021-10-28T23:29:26.085Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-10-28T23:29:26.220Z] The recommended git tool is: git [2021-10-28T23:29:28.265Z] using credential edgex-jenkins-ssh [2021-10-28T23:29:28.275Z] Cloning the remote Git repository [2021-10-28T23:29:28.025Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-10-28T23:29:28.084Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-10-28T23:29:28.123Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-28T23:29:28.123Z] > git --version # timeout=10 [2021-10-28T23:29:28.135Z] > git --version # 'git version 2.24.4' [2021-10-28T23:29:28.136Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:29:28.162Z] [INFO] Currently running in a labeled security context [2021-10-28T23:29:28.162Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T23:29:28.162Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh4210056146319862335.key [2021-10-28T23:29:28.182Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:29:29.014Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-28T23:29:29.021Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:29:29.036Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-28T23:29:29.052Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-28T23:29:29.052Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:29:29.053Z] [INFO] Currently running in a labeled security context [2021-10-28T23:29:29.053Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T23:29:29.053Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh2200067306582380945.key [2021-10-28T23:29:29.066Z] > 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 [2021-10-28T23:29:29.867Z] Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 1e709f869cca46bc565284a664e58da5faac9be9 [2021-10-28T23:29:29.967Z] Merge succeeded, producing 1e709f869cca46bc565284a664e58da5faac9be9 [2021-10-28T23:29:29.967Z] Checking out Revision 1e709f869cca46bc565284a664e58da5faac9be9 (PR-246) [2021-10-28T23:29:29.604Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:29:29.612Z] > git checkout -f 1e709f869cca46bc565284a664e58da5faac9be9 # timeout=10 [2021-10-28T23:29:29.649Z] > git remote # timeout=10 [2021-10-28T23:29:29.659Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T23:29:29.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:29:29.665Z] [INFO] Currently running in a labeled security context [2021-10-28T23:29:29.665Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T23:29:29.665Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/1@tmp/jenkins-gitclient-ssh9081734862363714743.key [2021-10-28T23:29:29.671Z] > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 [2021-10-28T23:29:29.688Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T23:29:29.698Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:29:29.706Z] > git checkout -f 1e709f869cca46bc565284a664e58da5faac9be9 # timeout=10 [2021-10-28T23:29:33.511Z] Commit message: "feat: Update configuration for new CORS and Secrets File settings" [2021-10-28T23:29:33.336Z] > git --version # timeout=10 [2021-10-28T23:29:33.348Z] > git --version # 'git version 2.24.4' [2021-10-28T23:29:33.357Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:29:34.077Z] provisioning config files... [2021-10-28T23:29:34.097Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config2041318235167148178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:29:34.523Z] ---> docker-login.sh [2021-10-28T23:29:34.523Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:29:34.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:29:34.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:29:34.793Z] Configure a credential helper to remove this warning. See [2021-10-28T23:29:34.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:29:34.793Z] [2021-10-28T23:29:34.793Z] Login Succeeded [2021-10-28T23:29:34.793Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:29:34.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:29:34.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:29:34.793Z] Configure a credential helper to remove this warning. See [2021-10-28T23:29:34.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:29:34.793Z] [2021-10-28T23:29:34.793Z] Login Succeeded [2021-10-28T23:29:34.793Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:29:35.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:29:35.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:29:35.057Z] Configure a credential helper to remove this warning. See [2021-10-28T23:29:35.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:29:35.057Z] [2021-10-28T23:29:35.057Z] Login Succeeded [2021-10-28T23:29:35.057Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:29:35.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:29:35.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:29:35.057Z] Configure a credential helper to remove this warning. See [2021-10-28T23:29:35.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:29:35.057Z] [2021-10-28T23:29:35.057Z] Login Succeeded [2021-10-28T23:29:35.057Z] docker.io [2021-10-28T23:29:35.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:29:35.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:29:35.583Z] Configure a credential helper to remove this warning. See [2021-10-28T23:29:35.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:29:35.583Z] [2021-10-28T23:29:35.583Z] Login Succeeded [2021-10-28T23:29:35.583Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:29:35.630Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T23:29:35.858Z] ========================================================= [2021-10-28T23:29:35.858Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-28T23:29:35.858Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:29:36.238Z] + 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 . [2021-10-28T23:29:36.238Z] Sending build context to Docker daemon 8.726MB [2021-10-28T23:29:36.238Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:29:36.238Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-28T23:29:36.238Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-28T23:29:36.238Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T23:29:36.238Z] 31adcdaf11c8: Pulling fs layer [2021-10-28T23:29:36.238Z] b8b176561691: Pulling fs layer [2021-10-28T23:29:36.238Z] 4527c011a84f: Pulling fs layer [2021-10-28T23:29:36.238Z] 5d74067f8e1e: Pulling fs layer [2021-10-28T23:29:36.238Z] e0aca202a116: Pulling fs layer [2021-10-28T23:29:36.238Z] 3a43be97a3b4: Pulling fs layer [2021-10-28T23:29:36.238Z] 34cad66bf833: Pulling fs layer [2021-10-28T23:29:36.238Z] b4e3c513aaa6: Pulling fs layer [2021-10-28T23:29:36.238Z] 4527c011a84f: Waiting [2021-10-28T23:29:36.238Z] 5d74067f8e1e: Waiting [2021-10-28T23:29:36.238Z] e0aca202a116: Waiting [2021-10-28T23:29:36.238Z] 3a43be97a3b4: Waiting [2021-10-28T23:29:36.238Z] 34cad66bf833: Waiting [2021-10-28T23:29:36.238Z] b4e3c513aaa6: Waiting [2021-10-28T23:29:36.238Z] b8b176561691: Verifying Checksum [2021-10-28T23:29:36.238Z] b8b176561691: Download complete [2021-10-28T23:29:36.238Z] 31adcdaf11c8: Verifying Checksum [2021-10-28T23:29:36.238Z] 31adcdaf11c8: Download complete [2021-10-28T23:29:36.511Z] 5d74067f8e1e: Verifying Checksum [2021-10-28T23:29:36.511Z] 5d74067f8e1e: Download complete [2021-10-28T23:29:36.511Z] e0aca202a116: Verifying Checksum [2021-10-28T23:29:36.511Z] e0aca202a116: Download complete [2021-10-28T23:29:36.511Z] 3a43be97a3b4: Verifying Checksum [2021-10-28T23:29:36.511Z] 3a43be97a3b4: Download complete [2021-10-28T23:29:36.511Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T23:29:36.511Z] a0d0a0d46f8b: Download complete [2021-10-28T23:29:36.511Z] 34cad66bf833: Verifying Checksum [2021-10-28T23:29:36.511Z] 34cad66bf833: Download complete [2021-10-28T23:29:36.775Z] a0d0a0d46f8b: Pull complete [2021-10-28T23:29:37.041Z] 31adcdaf11c8: Pull complete [2021-10-28T23:29:37.041Z] 4527c011a84f: Verifying Checksum [2021-10-28T23:29:37.041Z] 4527c011a84f: Download complete [2021-10-28T23:29:37.041Z] b8b176561691: Pull complete [2021-10-28T23:29:37.041Z] b4e3c513aaa6: Verifying Checksum [2021-10-28T23:29:37.041Z] b4e3c513aaa6: Download complete [2021-10-28T23:29:41.313Z] 4527c011a84f: Pull complete [2021-10-28T23:29:41.313Z] 5d74067f8e1e: Pull complete [2021-10-28T23:29:41.313Z] e0aca202a116: Pull complete [2021-10-28T23:29:41.313Z] 3a43be97a3b4: Pull complete [2021-10-28T23:29:41.313Z] 34cad66bf833: Pull complete [2021-10-28T23:29:43.882Z] b4e3c513aaa6: Pull complete [2021-10-28T23:29:43.882Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-28T23:29:43.882Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T23:29:43.882Z] ---> 9f6097aaca64 [2021-10-28T23:29:43.882Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-28T23:29:45.827Z] ---> Running in 5b99d892a020 [2021-10-28T23:29:45.827Z] Removing intermediate container 5b99d892a020 [2021-10-28T23:29:45.827Z] ---> b4af71442559 [2021-10-28T23:29:45.827Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-28T23:29:45.827Z] ---> Running in 999fc7fe0ac0 [2021-10-28T23:29:45.827Z] Removing intermediate container 999fc7fe0ac0 [2021-10-28T23:29:45.827Z] ---> 202d32d11669 [2021-10-28T23:29:45.827Z] Step 5/11 : WORKDIR /device-virtual-go [2021-10-28T23:29:45.827Z] ---> Running in b8883d9e0252 [2021-10-28T23:29:46.091Z] Removing intermediate container b8883d9e0252 [2021-10-28T23:29:46.091Z] ---> 3ee4ce941cdf [2021-10-28T23:29:46.091Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:29:46.091Z] ---> Running in 30baf8cc2f56 [2021-10-28T23:29:46.666Z] Removing intermediate container 30baf8cc2f56 [2021-10-28T23:29:46.666Z] ---> 021c9bedc47b [2021-10-28T23:29:46.666Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-28T23:29:46.666Z] ---> Running in d7ffd5f7128b [2021-10-28T23:29:46.928Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T23:29:47.873Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T23:29:48.134Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-28T23:29:48.134Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-28T23:29:48.134Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-28T23:29:48.396Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-28T23:29:48.396Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:29:48.396Z] OK: 224 MiB in 56 packages [2021-10-28T23:29:48.975Z] Removing intermediate container d7ffd5f7128b [2021-10-28T23:29:48.975Z] ---> 3712739c2afa [2021-10-28T23:29:48.975Z] Step 8/11 : COPY . . [2021-10-28T23:29:49.245Z] ---> e06219625c2b [2021-10-28T23:29:49.245Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:29:49.245Z] ---> Running in 1acb104a00fa [2021-10-28T23:29:50.636Z] 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 [2021-10-28T23:29:50.636Z] 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 [2021-10-28T23:29:50.636Z] skipping... [2021-10-28T23:29:51.214Z] Removing intermediate container 1acb104a00fa [2021-10-28T23:29:51.214Z] ---> 627774322cf4 [2021-10-28T23:29:51.214Z] Step 10/11 : ARG MAKE='make build' [2021-10-28T23:29:51.214Z] ---> Running in 2ba2cf0e0c3c [2021-10-28T23:29:51.214Z] Removing intermediate container 2ba2cf0e0c3c [2021-10-28T23:29:51.214Z] ---> 8271128c0f91 [2021-10-28T23:29:51.214Z] Step 11/11 : RUN $MAKE [2021-10-28T23:29:51.214Z] ---> Running in 706fd637e9f8 [2021-10-28T23:29:51.477Z] noop [2021-10-28T23:29:51.738Z] Removing intermediate container 706fd637e9f8 [2021-10-28T23:29:51.738Z] ---> beaac4a7e9bc [2021-10-28T23:29:51.738Z] Successfully built beaac4a7e9bc [2021-10-28T23:29:51.738Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:29:52.071Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T23:29:52.072Z] . [Pipeline] withDockerContainer [2021-10-28T23:29:52.164Z] prd-centos7-docker-4c-2g-13350 does not seem to be running inside a container [2021-10-28T23:29:52.215Z] $ 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 [2021-10-28T23:29:52.561Z] $ docker top 034595f570fe0bd087d36d077737b59695e633fdf35172711fbf1743d8d2ccd1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:29:52.974Z] + go version [2021-10-28T23:29:52.974Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-28T23:29:53.001Z] $ docker stop --time=1 034595f570fe0bd087d36d077737b59695e633fdf35172711fbf1743d8d2ccd1 [2021-10-28T23:29:54.198Z] $ docker rm -f 034595f570fe0bd087d36d077737b59695e633fdf35172711fbf1743d8d2ccd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:29:54.878Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T23:29:54.878Z] . [Pipeline] withDockerContainer [2021-10-28T23:29:54.965Z] prd-centos7-docker-4c-2g-13350 does not seem to be running inside a container [2021-10-28T23:29:55.014Z] $ 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 [2021-10-28T23:29:55.408Z] $ docker top f6a6d0b574ee9a0e33f1167fe1d756fd4588677e7be1bac9c8df0403571f3d83 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T23:29:55.843Z] + make test [2021-10-28T23:29:55.843Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-28T23:29:55.843Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: [2021-10-28T23:29:55.843Z] go mod download github.com/edgexfoundry/device-sdk-go/v2 [2021-10-28T23:29:55.843Z] make: *** [Makefile:26: test] Error 1 [Pipeline] } [2021-10-28T23:29:55.878Z] $ docker stop --time=1 f6a6d0b574ee9a0e33f1167fe1d756fd4588677e7be1bac9c8df0403571f3d83 [2021-10-28T23:29:57.069Z] $ 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 [2021-10-28T23:29:58.274Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:29:58.274Z] [2021-10-28T23:29:58.274Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:29:58.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:29:58.617Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T23:29:58.617Z] b4d181a07f80: Pulling fs layer [2021-10-28T23:29:58.617Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T23:29:58.617Z] ed53099fbce6: Pulling fs layer [2021-10-28T23:29:58.617Z] dc539afda2c1: Pulling fs layer [2021-10-28T23:29:58.617Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T23:29:58.617Z] 9065ff56babe: Pulling fs layer [2021-10-28T23:29:58.617Z] d287ab97295c: Pulling fs layer [2021-10-28T23:29:58.617Z] 77bc0d833cb6: Waiting [2021-10-28T23:29:58.617Z] 9065ff56babe: Waiting [2021-10-28T23:29:58.617Z] d287ab97295c: Waiting [2021-10-28T23:29:58.617Z] dc539afda2c1: Waiting [2021-10-28T23:29:58.617Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T23:29:58.617Z] a1111a8f2ec3: Download complete [2021-10-28T23:29:58.617Z] dc539afda2c1: Verifying Checksum [2021-10-28T23:29:58.617Z] dc539afda2c1: Download complete [2021-10-28T23:29:58.617Z] ed53099fbce6: Verifying Checksum [2021-10-28T23:29:58.617Z] ed53099fbce6: Download complete [2021-10-28T23:29:58.617Z] 9065ff56babe: Verifying Checksum [2021-10-28T23:29:58.617Z] 9065ff56babe: Download complete [2021-10-28T23:29:58.888Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T23:29:58.888Z] 77bc0d833cb6: Download complete [2021-10-28T23:29:58.888Z] b4d181a07f80: Verifying Checksum [2021-10-28T23:29:58.888Z] b4d181a07f80: Download complete [2021-10-28T23:29:59.472Z] d287ab97295c: Verifying Checksum [2021-10-28T23:29:59.472Z] d287ab97295c: Download complete [2021-10-28T23:30:00.425Z] b4d181a07f80: Pull complete [2021-10-28T23:30:00.425Z] a1111a8f2ec3: Pull complete [2021-10-28T23:30:01.008Z] ed53099fbce6: Pull complete [2021-10-28T23:30:01.008Z] dc539afda2c1: Pull complete [2021-10-28T23:30:01.280Z] 77bc0d833cb6: Pull complete [2021-10-28T23:30:01.280Z] 9065ff56babe: Pull complete [2021-10-28T23:30:06.633Z] d287ab97295c: Pull complete [2021-10-28T23:30:06.633Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T23:30:06.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:30:06.633Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T23:30:06.738Z] prd-centos7-docker-4c-2g-13350 does not seem to be running inside a container [2021-10-28T23:30:06.802Z] $ 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 [2021-10-28T23:30:09.017Z] $ docker top 6c4d3f49a1e15f8489bc3d0fabbdd326d60ba21c4f6a8d9369959c87bfab2344 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:30:09.496Z] ---> job-cost.sh [2021-10-28T23:30:09.496Z] lf-activate-venv: SKIPPING [2021-10-28T23:30:09.496Z] INFO: No Stack... [2021-10-28T23:30:09.757Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T23:30:10.019Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T23:30:10.328Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-10-28T23:30:10.328Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T23:30:10.379Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] [2021-10-28T23:30:10.385Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] did not exist. Created. [2021-10-28T23:30:10.385Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T23:30:10.761Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-28T23:30:10.947Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T23:30:10.961Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T23:30:11.016Z] $ docker stop --time=1 6c4d3f49a1e15f8489bc3d0fabbdd326d60ba21c4f6a8d9369959c87bfab2344 [2021-10-28T23:30:12.158Z] $ 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] } [2021-10-28T23:30:12.948Z] Failed in branch amd64 [2021-10-28T23:32:06.886Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13351 in /w/workspace/foundry_device-virtual-go_PR-246 [Pipeline] { [Pipeline] ws [2021-10-28T23:32:06.927Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2021-10-28T23:32:07.189Z] The recommended git tool is: git [2021-10-28T23:32:13.261Z] using credential edgex-jenkins-ssh [2021-10-28T23:32:13.299Z] Cloning the remote Git repository [2021-10-28T23:32:13.405Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-10-28T23:32:13.526Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2021-10-28T23:32:13.619Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-28T23:32:13.620Z] > git --version # timeout=10 [2021-10-28T23:32:13.643Z] > git --version # 'git version 2.17.1' [2021-10-28T23:32:13.646Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:32:13.759Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:32:15.407Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-28T23:32:15.427Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T23:32:15.456Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-28T23:32:15.500Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-28T23:32:15.501Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:32:15.515Z] > 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 [2021-10-28T23:32:16.172Z] Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 1e709f869cca46bc565284a664e58da5faac9be9 [2021-10-28T23:32:16.391Z] Merge succeeded, producing 1e709f869cca46bc565284a664e58da5faac9be9 [2021-10-28T23:32:16.391Z] Checking out Revision 1e709f869cca46bc565284a664e58da5faac9be9 (PR-246) [2021-10-28T23:32:16.190Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:32:16.203Z] > git checkout -f 1e709f869cca46bc565284a664e58da5faac9be9 # timeout=10 [2021-10-28T23:32:16.298Z] > git remote # timeout=10 [2021-10-28T23:32:16.317Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T23:32:16.333Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T23:32:16.346Z] > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 [2021-10-28T23:32:16.372Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T23:32:16.397Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T23:32:16.413Z] > git checkout -f 1e709f869cca46bc565284a664e58da5faac9be9 # timeout=10 [2021-10-28T23:32:20.752Z] Commit message: "feat: Update configuration for new CORS and Secrets File settings" [2021-10-28T23:32:20.809Z] > git --version # timeout=10 [2021-10-28T23:32:20.828Z] > git --version # 'git version 2.17.1' [2021-10-28T23:32:20.846Z] fatal: bad object d6bf42d899a6140169a1fadeb6f44df9cdc48750 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T23:32:21.895Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-28T23:32:21.895Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T23:32:21.895Z] Dload Upload Total Spent Left Speed [2021-10-28T23:32:21.895Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 83267 0 --:--:-- --:--:-- --:--:-- 83267 [Pipeline] sh [2021-10-28T23:32:22.359Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-28T23:32:22.718Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-28T23:32:22.718Z] + sudo tee /etc/docker/daemon.new [2021-10-28T23:32:22.718Z] { [2021-10-28T23:32:22.718Z] "registry-mirrors": [ [2021-10-28T23:32:22.718Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-28T23:32:22.718Z] ], [2021-10-28T23:32:22.718Z] "bip": "10.250.0.254/24", [2021-10-28T23:32:22.718Z] "hosts": [ [2021-10-28T23:32:22.718Z] "tcp://0.0.0.0:5555", [2021-10-28T23:32:22.718Z] "unix:///var/run/docker.sock" [2021-10-28T23:32:22.718Z] ], [2021-10-28T23:32:22.718Z] "mtu": 1458, [2021-10-28T23:32:22.718Z] "selinux-enabled": true, [2021-10-28T23:32:22.718Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-28T23:32:22.718Z] } [Pipeline] sh [2021-10-28T23:32:23.078Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-28T23:32:23.441Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:32:41.851Z] provisioning config files... [2021-10-28T23:32:41.879Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config7866856038135420745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:32:42.284Z] ---> docker-login.sh [2021-10-28T23:32:42.284Z] nexus3.edgexfoundry.org:10001 [2021-10-28T23:32:43.266Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:32:43.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:32:43.537Z] Configure a credential helper to remove this warning. See [2021-10-28T23:32:43.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:32:43.537Z] [2021-10-28T23:32:43.537Z] Login Succeeded [2021-10-28T23:32:43.537Z] nexus3.edgexfoundry.org:10002 [2021-10-28T23:32:43.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:32:44.082Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:32:44.082Z] Configure a credential helper to remove this warning. See [2021-10-28T23:32:44.082Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:32:44.082Z] [2021-10-28T23:32:44.082Z] Login Succeeded [2021-10-28T23:32:44.082Z] nexus3.edgexfoundry.org:10003 [2021-10-28T23:32:44.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:32:44.627Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:32:44.627Z] Configure a credential helper to remove this warning. See [2021-10-28T23:32:44.627Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:32:44.627Z] [2021-10-28T23:32:44.627Z] Login Succeeded [2021-10-28T23:32:44.627Z] nexus3.edgexfoundry.org:10004 [2021-10-28T23:32:44.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:32:44.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:32:44.954Z] Configure a credential helper to remove this warning. See [2021-10-28T23:32:44.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:32:44.954Z] [2021-10-28T23:32:44.954Z] Login Succeeded [2021-10-28T23:32:44.954Z] docker.io [2021-10-28T23:32:45.574Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T23:32:45.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T23:32:45.847Z] Configure a credential helper to remove this warning. See [2021-10-28T23:32:45.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T23:32:45.847Z] [2021-10-28T23:32:45.847Z] Login Succeeded [2021-10-28T23:32:45.847Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T23:32:45.880Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T23:32:46.398Z] ========================================================= [2021-10-28T23:32:46.399Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-28T23:32:46.399Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:32:46.845Z] + 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 . [2021-10-28T23:32:47.133Z] Sending build context to Docker daemon 8.724MB [2021-10-28T23:32:47.409Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T23:32:47.409Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-28T23:32:47.409Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-28T23:32:47.409Z] 552d1f2373af: Pulling fs layer [2021-10-28T23:32:47.409Z] ea3f2d53f512: Pulling fs layer [2021-10-28T23:32:47.409Z] 9e70ebbbe112: Pulling fs layer [2021-10-28T23:32:47.409Z] 7a9cfe048b4a: Pulling fs layer [2021-10-28T23:32:47.409Z] 72dc09318566: Pulling fs layer [2021-10-28T23:32:47.409Z] f4f7b4309257: Pulling fs layer [2021-10-28T23:32:47.409Z] 0ac9a79272e3: Pulling fs layer [2021-10-28T23:32:47.409Z] b78e95d17946: Pulling fs layer [2021-10-28T23:32:47.409Z] 7a9cfe048b4a: Waiting [2021-10-28T23:32:47.409Z] f4f7b4309257: Waiting [2021-10-28T23:32:47.409Z] 72dc09318566: Waiting [2021-10-28T23:32:47.409Z] b78e95d17946: Waiting [2021-10-28T23:32:47.409Z] 0ac9a79272e3: Waiting [2021-10-28T23:32:47.409Z] 9e70ebbbe112: Verifying Checksum [2021-10-28T23:32:47.409Z] 9e70ebbbe112: Download complete [2021-10-28T23:32:47.409Z] ea3f2d53f512: Verifying Checksum [2021-10-28T23:32:47.409Z] ea3f2d53f512: Download complete [2021-10-28T23:32:47.409Z] 72dc09318566: Download complete [2021-10-28T23:32:47.409Z] f4f7b4309257: Verifying Checksum [2021-10-28T23:32:47.409Z] f4f7b4309257: Download complete [2021-10-28T23:32:47.689Z] 552d1f2373af: Download complete [2021-10-28T23:32:47.689Z] 0ac9a79272e3: Verifying Checksum [2021-10-28T23:32:47.689Z] 0ac9a79272e3: Download complete [2021-10-28T23:32:48.650Z] 552d1f2373af: Pull complete [2021-10-28T23:32:49.255Z] ea3f2d53f512: Pull complete [2021-10-28T23:32:49.537Z] 9e70ebbbe112: Pull complete [2021-10-28T23:32:49.818Z] b78e95d17946: Verifying Checksum [2021-10-28T23:32:49.818Z] b78e95d17946: Download complete [2021-10-28T23:32:50.094Z] 7a9cfe048b4a: Download complete [2021-10-28T23:33:00.237Z] 7a9cfe048b4a: Pull complete [2021-10-28T23:33:00.237Z] 72dc09318566: Pull complete [2021-10-28T23:33:00.237Z] f4f7b4309257: Pull complete [2021-10-28T23:33:00.237Z] 0ac9a79272e3: Pull complete [2021-10-28T23:33:05.625Z] b78e95d17946: Pull complete [2021-10-28T23:33:05.625Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-28T23:33:05.625Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-28T23:33:05.625Z] ---> 8b459fc5aaf0 [2021-10-28T23:33:05.625Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-28T23:33:09.009Z] ---> Running in 5c48faacc55f [2021-10-28T23:33:09.009Z] Removing intermediate container 5c48faacc55f [2021-10-28T23:33:09.009Z] ---> 70dab34a3954 [2021-10-28T23:33:09.009Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-28T23:33:09.009Z] ---> Running in 2a805ff19b66 [2021-10-28T23:33:09.285Z] Removing intermediate container 2a805ff19b66 [2021-10-28T23:33:09.285Z] ---> 50ef2c2e9938 [2021-10-28T23:33:09.285Z] Step 5/11 : WORKDIR /device-virtual-go [2021-10-28T23:33:09.557Z] ---> Running in 88436bc1bfb2 [2021-10-28T23:33:09.831Z] Removing intermediate container 88436bc1bfb2 [2021-10-28T23:33:09.831Z] ---> 5a2a3f7cd0eb [2021-10-28T23:33:09.831Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T23:33:10.107Z] ---> Running in 214642bd257c [2021-10-28T23:33:12.738Z] Removing intermediate container 214642bd257c [2021-10-28T23:33:12.738Z] ---> 677f816bc196 [2021-10-28T23:33:12.738Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-28T23:33:12.738Z] ---> Running in 7d45e5c92038 [2021-10-28T23:33:13.716Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T23:33:14.694Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T23:33:15.676Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-28T23:33:15.676Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-28T23:33:15.676Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-28T23:33:15.954Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-28T23:33:15.954Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T23:33:15.954Z] OK: 223 MiB in 56 packages [2021-10-28T23:33:17.397Z] Removing intermediate container 7d45e5c92038 [2021-10-28T23:33:17.397Z] ---> dacbf1587088 [2021-10-28T23:33:17.397Z] Step 8/11 : COPY . . [2021-10-28T23:33:18.391Z] ---> 5f9cdc40bb57 [2021-10-28T23:33:18.391Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T23:33:18.668Z] ---> Running in e791367ed295 [2021-10-28T23:34:40.471Z] Removing intermediate container e791367ed295 [2021-10-28T23:34:40.471Z] ---> 4736f3fea009 [2021-10-28T23:34:40.471Z] Step 10/11 : ARG MAKE='make build' [2021-10-28T23:34:40.744Z] ---> Running in 6f2b9459e583 [2021-10-28T23:34:41.343Z] Removing intermediate container 6f2b9459e583 [2021-10-28T23:34:41.343Z] ---> d08cbfa0660f [2021-10-28T23:34:41.343Z] Step 11/11 : RUN $MAKE [2021-10-28T23:34:41.343Z] ---> Running in 4362127b9f07 [2021-10-28T23:34:42.790Z] noop [2021-10-28T23:34:43.389Z] Removing intermediate container 4362127b9f07 [2021-10-28T23:34:43.389Z] ---> 2b8275bac53d [2021-10-28T23:34:43.389Z] Successfully built 2b8275bac53d [2021-10-28T23:34:43.389Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:34:43.766Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T23:34:43.766Z] . [Pipeline] withDockerContainer [2021-10-28T23:34:44.047Z] prd-ubuntu18.04-docker-arm64-4c-16g-13351 does not seem to be running inside a container [2021-10-28T23:34:44.154Z] $ 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 [2021-10-28T23:34:45.848Z] $ docker top d08869f83f5da60d82d33be9a23cb6d18960f8e871380f07d07ffa6b1e63f503 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:34:46.849Z] + go version [2021-10-28T23:34:46.849Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-28T23:34:46.888Z] $ docker stop --time=1 d08869f83f5da60d82d33be9a23cb6d18960f8e871380f07d07ffa6b1e63f503 [2021-10-28T23:34:48.681Z] $ docker rm -f d08869f83f5da60d82d33be9a23cb6d18960f8e871380f07d07ffa6b1e63f503 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:34:49.564Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T23:34:49.564Z] . [Pipeline] withDockerContainer [2021-10-28T23:34:49.858Z] prd-ubuntu18.04-docker-arm64-4c-16g-13351 does not seem to be running inside a container [2021-10-28T23:34:49.950Z] $ 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 [2021-10-28T23:34:51.565Z] $ docker top 3eb3f66d60727e85d72b1e0947e61b50321bbb27b5b99d3546dac7511cbc8dd5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T23:34:52.627Z] + make test [2021-10-28T23:34:52.628Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-28T23:34:52.903Z] go: github.com/edgexfoundry/device-sdk-go/v2@v2.0.1-dev.26: missing go.sum entry; to add it: [2021-10-28T23:34:52.903Z] go mod download github.com/edgexfoundry/device-sdk-go/v2 [2021-10-28T23:34:52.903Z] make: *** [Makefile:26: test] Error 1 [Pipeline] } [2021-10-28T23:34:52.957Z] $ docker stop --time=1 3eb3f66d60727e85d72b1e0947e61b50321bbb27b5b99d3546dac7511cbc8dd5 [2021-10-28T23:34:54.854Z] $ 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 [2021-10-28T23:34:56.077Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:34:56.350Z] [2021-10-28T23:34:56.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:34:56.727Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:34:57.004Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-28T23:34:57.004Z] 448f6bf000e3: Pulling fs layer [2021-10-28T23:34:57.004Z] f757da607395: Pulling fs layer [2021-10-28T23:34:57.004Z] 05883995daec: Pulling fs layer [2021-10-28T23:34:57.004Z] 8603b9c90790: Pulling fs layer [2021-10-28T23:34:57.004Z] 1560dd03e051: Pulling fs layer [2021-10-28T23:34:57.004Z] 27f5ce0e4adf: Pulling fs layer [2021-10-28T23:34:57.004Z] c2d8d7efcc4b: Pulling fs layer [2021-10-28T23:34:57.004Z] 8603b9c90790: Waiting [2021-10-28T23:34:57.004Z] 1560dd03e051: Waiting [2021-10-28T23:34:57.004Z] 27f5ce0e4adf: Waiting [2021-10-28T23:34:57.004Z] c2d8d7efcc4b: Waiting [2021-10-28T23:34:57.004Z] f757da607395: Verifying Checksum [2021-10-28T23:34:57.004Z] f757da607395: Download complete [2021-10-28T23:34:57.004Z] 8603b9c90790: Verifying Checksum [2021-10-28T23:34:57.004Z] 8603b9c90790: Download complete [2021-10-28T23:34:57.279Z] 1560dd03e051: Verifying Checksum [2021-10-28T23:34:57.279Z] 1560dd03e051: Download complete [2021-10-28T23:34:57.279Z] 27f5ce0e4adf: Verifying Checksum [2021-10-28T23:34:57.279Z] 27f5ce0e4adf: Download complete [2021-10-28T23:34:57.279Z] 05883995daec: Verifying Checksum [2021-10-28T23:34:57.279Z] 05883995daec: Download complete [2021-10-28T23:34:57.553Z] 448f6bf000e3: Verifying Checksum [2021-10-28T23:34:57.553Z] 448f6bf000e3: Download complete [2021-10-28T23:35:00.180Z] c2d8d7efcc4b: Verifying Checksum [2021-10-28T23:35:00.180Z] c2d8d7efcc4b: Download complete [2021-10-28T23:35:01.157Z] 448f6bf000e3: Pull complete [2021-10-28T23:35:01.753Z] f757da607395: Pull complete [2021-10-28T23:35:03.183Z] 05883995daec: Pull complete [2021-10-28T23:35:03.454Z] 8603b9c90790: Pull complete [2021-10-28T23:35:04.435Z] 1560dd03e051: Pull complete [2021-10-28T23:35:04.706Z] 27f5ce0e4adf: Pull complete [2021-10-28T23:35:19.792Z] c2d8d7efcc4b: Pull complete [2021-10-28T23:35:19.792Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-28T23:35:19.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T23:35:19.792Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-28T23:35:20.069Z] prd-ubuntu18.04-docker-arm64-4c-16g-13351 does not seem to be running inside a container [2021-10-28T23:35:20.162Z] $ 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 [2021-10-28T23:35:23.278Z] $ docker top 600b07f57a28053f5326175616d4fae17697402ac7bbfc19f7a4b741933fd2f5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:35:24.313Z] ---> job-cost.sh [2021-10-28T23:35:24.313Z] lf-activate-venv: SKIPPING [2021-10-28T23:35:24.313Z] INFO: No Stack... [2021-10-28T23:35:24.587Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-28T23:35:25.186Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T23:35:25.865Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [2021-10-28T23:35:25.865Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T23:35:25.950Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] [2021-10-28T23:35:25.955Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] did not exist. Created. [2021-10-28T23:35:25.955Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T23:35:26.684Z] /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 [2021-10-28T23:35:27.371Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-28T23:35:27.405Z] Warning: overwriting stash ‘stack-cost’ [2021-10-28T23:35:28.052Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T23:35:28.067Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-246-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T23:35:28.139Z] $ docker stop --time=1 600b07f57a28053f5326175616d4fae17697402ac7bbfc19f7a4b741933fd2f5 [2021-10-28T23:35:29.788Z] $ 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] } [2021-10-28T23:35:30.465Z] 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 [2021-10-28T23:35:32.743Z] + '[' -d /w/workspace/foundry_device-virtual-go_PR-246/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:35:33.072Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:35:33.654Z] ---> package-listing.sh [2021-10-28T23:35:33.654Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-28T23:35:33.654Z] ++ facter osfamily [2021-10-28T23:35:33.916Z] + OS_FAMILY=redhat [2021-10-28T23:35:33.916Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-246 [2021-10-28T23:35:33.916Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-28T23:35:33.916Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-28T23:35:33.916Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-28T23:35:33.916Z] + PACKAGES=/tmp/packages_start.txt [2021-10-28T23:35:33.916Z] + '[' /w/workspace/foundry_device-virtual-go_PR-246 ']' [2021-10-28T23:35:33.916Z] + PACKAGES=/tmp/packages_end.txt [2021-10-28T23:35:33.916Z] + case "${OS_FAMILY}" in [2021-10-28T23:35:33.916Z] + sort [2021-10-28T23:35:33.916Z] + rpm -qa [2021-10-28T23:35:34.529Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-28T23:35:34.529Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-28T23:35:34.529Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-28T23:35:34.529Z] + '[' /w/workspace/foundry_device-virtual-go_PR-246 ']' [2021-10-28T23:35:34.529Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-246/archives/ [2021-10-28T23:35:34.529Z] + 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 [2021-10-28T23:35:34.560Z] 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 [2021-10-28T23:35:34.856Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:35:35.442Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:35:35.442Z] [2021-10-28T23:35:35.442Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T23:35:35.776Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:35:35.776Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T23:35:35.776Z] b4d181a07f80: Pulling fs layer [2021-10-28T23:35:35.776Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T23:35:35.776Z] ed53099fbce6: Pulling fs layer [2021-10-28T23:35:35.776Z] dc539afda2c1: Pulling fs layer [2021-10-28T23:35:35.776Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T23:35:35.776Z] 9065ff56babe: Pulling fs layer [2021-10-28T23:35:35.776Z] d287ab97295c: Pulling fs layer [2021-10-28T23:35:35.776Z] 77bc0d833cb6: Waiting [2021-10-28T23:35:35.776Z] 9065ff56babe: Waiting [2021-10-28T23:35:35.776Z] dc539afda2c1: Waiting [2021-10-28T23:35:35.776Z] d287ab97295c: Waiting [2021-10-28T23:35:35.776Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T23:35:35.776Z] a1111a8f2ec3: Download complete [2021-10-28T23:35:35.776Z] dc539afda2c1: Verifying Checksum [2021-10-28T23:35:35.776Z] dc539afda2c1: Download complete [2021-10-28T23:35:36.043Z] ed53099fbce6: Verifying Checksum [2021-10-28T23:35:36.043Z] ed53099fbce6: Download complete [2021-10-28T23:35:36.043Z] 9065ff56babe: Verifying Checksum [2021-10-28T23:35:36.043Z] 9065ff56babe: Download complete [2021-10-28T23:35:36.043Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T23:35:36.043Z] 77bc0d833cb6: Download complete [2021-10-28T23:35:36.043Z] b4d181a07f80: Verifying Checksum [2021-10-28T23:35:36.043Z] b4d181a07f80: Download complete [2021-10-28T23:35:36.633Z] d287ab97295c: Verifying Checksum [2021-10-28T23:35:36.633Z] d287ab97295c: Download complete [2021-10-28T23:35:37.580Z] b4d181a07f80: Pull complete [2021-10-28T23:35:37.580Z] a1111a8f2ec3: Pull complete [2021-10-28T23:35:38.161Z] ed53099fbce6: Pull complete [2021-10-28T23:35:38.161Z] dc539afda2c1: Pull complete [2021-10-28T23:35:38.426Z] 77bc0d833cb6: Pull complete [2021-10-28T23:35:38.427Z] 9065ff56babe: Pull complete [2021-10-28T23:35:43.795Z] d287ab97295c: Pull complete [2021-10-28T23:35:43.795Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T23:35:43.795Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T23:35:43.795Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T23:35:43.869Z] prd-centos7-docker-4c-2g-13348 does not seem to be running inside a container [2021-10-28T23:35:43.906Z] $ 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 [2021-10-28T23:35:46.287Z] $ docker top 883abda4aa0d6ad6ccb9aa35c85b6e08a30c571286d263eb8c07902655264ce9 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T23:35:46.684Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-28T23:35:46.992Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-28T23:35:47.303Z] + ls /var/log/sa-host [2021-10-28T23:35:47.303Z] + sadf -c /var/log/sa-host/sa28 [2021-10-28T23:35:47.303Z] file_magic: OK [2021-10-28T23:35:47.303Z] HZ: Using current value: 100 [2021-10-28T23:35:47.303Z] file_header: OK [2021-10-28T23:35:47.303Z] 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 [2021-10-28T23:35:47.303Z] Statistics: [2021-10-28T23:35:47.303Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T23:35:47.303Z] File successfully converted to sysstat format version 12.0.3 [2021-10-28T23:35:47.303Z] + sadf -c /var/log/sa-host/sa30 [2021-10-28T23:35:47.303Z] file_magic: OK [2021-10-28T23:35:47.303Z] HZ: Using current value: 100 [2021-10-28T23:35:47.303Z] file_header: OK [2021-10-28T23:35:47.303Z] 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 [2021-10-28T23:35:47.303Z] Statistics: [2021-10-28T23:35:47.303Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T23:35:47.303Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T23:35:47.421Z] provisioning config files... [2021-10-28T23:35:47.430Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-246@tmp/config345983653518758514tmp [Pipeline] { [Pipeline] echo [2021-10-28T23:35:47.471Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:35:47.783Z] ---> create-netrc.sh [Pipeline] } [2021-10-28T23:35:47.802Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:35:48.189Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-28T23:35:48.220Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:35:48.530Z] ---> sudo-logs.sh [2021-10-28T23:35:48.530Z] Archiving 'sudo' log.. [2021-10-28T23:35:48.530Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13348.novalocal: Name or service not known [2021-10-28T23:35:48.530Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13348.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-28T23:35:48.599Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:35:48.917Z] ---> job-cost.sh [2021-10-28T23:35:48.917Z] lf-activate-venv: SKIPPING [2021-10-28T23:35:48.917Z] DEBUG: total: 0.10999999940395355 [2021-10-28T23:35:48.917Z] INFO: Retrieving Stack Cost... [2021-10-28T23:35:49.860Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T23:35:50.119Z] INFO: Archiving Costs [Pipeline] echo [2021-10-28T23:35:50.143Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T23:35:50.466Z] ---> logs-deploy.sh [2021-10-28T23:35:50.466Z] lf-activate-venv: SKIPPING [2021-10-28T23:35:50.466Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-246/1 [2021-10-28T23:35:50.466Z] INFO: archiving workspace using pattern(s): [2021-10-28T23:35:51.040Z] Archives upload complete. [2021-10-28T23:35:51.302Z] INFO: archiving logs to Nexus