Pull request #246 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-virtual-go Obtained Jenkinsfile from 046fd81cb407d78a3ad60ebc935e66a4cfab8960+34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 (230592dbde54c24cf7e9b6d481af5fe6019067da) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5589799660725267284.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4648610713628804157.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-246/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-246/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5176220703733641236.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3994807024476530552.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-246/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-246/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8048102149300680955.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-virtual-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-virtual-go-settings PROJECT: device-virtual-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-virtual DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13361 in /w/workspace/foundry_device-virtual-go_PR-246 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-virtual-go.git > git init /w/workspace/foundry_device-virtual-go_PR-246 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-246@tmp/jenkins-gitclient-ssh3706516080874553560.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-246@tmp/jenkins-gitclient-ssh6324427693274537784.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/246/head:refs/remotes/origin/PR-246 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 046fd81cb407d78a3ad60ebc935e66a4cfab8960 Merge succeeded, producing 046fd81cb407d78a3ad60ebc935e66a4cfab8960 Checking out Revision 046fd81cb407d78a3ad60ebc935e66a4cfab8960 (PR-246) > git config core.sparsecheckout # timeout=10 > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/foundry_device-virtual-go_PR-246@tmp/jenkins-gitclient-ssh5969019379680082917.key > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 Commit message: "feat: Update configuration for new CORS and Secrets File settings" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-29T00:40:28.608Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-29T00:40:28.651Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-29T00:40:28.667Z] ========================================================= [2021-10-29T00:40:28.667Z] EdgeX Global Pipelines Version Info [2021-10-29T00:40:28.667Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 1e709f869cca46bc565284a664e58da5faac9be9 # timeout=10 [2021-10-29T00:40:29.800Z] ------------------- [2021-10-29T00:40:29.800Z] stable info: [2021-10-29T00:40:29.800Z] ------------------- [2021-10-29T00:40:29.800Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-29T00:40:29.800Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-29T00:40:29.800Z] Message: update stable to v1.0.210 [2021-10-29T00:40:30.373Z] ------------------- [2021-10-29T00:40:30.373Z] experimental info: [2021-10-29T00:40:30.373Z] ------------------- [2021-10-29T00:40:30.373Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-29T00:40:30.373Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-29T00:40:30.373Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-29T00:40:30.455Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2021-10-29T00:40:30.464Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2021-10-29T00:40:30.475Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-29T00:40:30.486Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-29T00:40:30.500Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-29T00:40:30.512Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-29T00:40:30.523Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-29T00:40:30.534Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2021-10-29T00:40:30.546Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-29T00:40:30.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-29T00:40:30.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-29T00:40:30.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2021-10-29T00:40:30.590Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-29T00:40:30.602Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-29T00:40:30.616Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T00:40:30.629Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2021-10-29T00:40:30.640Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T00:40:30.653Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-29T00:40:30.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-29T00:40:30.683Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-29T00:40:30.693Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2021-10-29T00:40:30.707Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2021-10-29T00:40:30.717Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-29T00:40:30.727Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-29T00:40:30.741Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-29T00:40:30.752Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-29T00:40:30.763Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-246 [Pipeline] echo [2021-10-29T00:40:30.774Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-246 [Pipeline] echo [2021-10-29T00:40:30.788Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-246 [Pipeline] echo [2021-10-29T00:40:30.804Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 046fd81cb407d78a3ad60ebc935e66a4cfab8960 [Pipeline] echo [2021-10-29T00:40:30.814Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 046fd81 [Pipeline] echo [2021-10-29T00:40:30.825Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T00:40:30.884Z] provisioning config files... [2021-10-29T00:40:30.908Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-246@tmp/config3245642465480239149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:40:31.215Z] ---> docker-login.sh [2021-10-29T00:40:31.215Z] nexus3.edgexfoundry.org:10001 [2021-10-29T00:40:31.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:40:31.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:40:31.480Z] Configure a credential helper to remove this warning. See [2021-10-29T00:40:31.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:40:31.480Z] [2021-10-29T00:40:31.480Z] Login Succeeded [2021-10-29T00:40:31.480Z] nexus3.edgexfoundry.org:10002 [2021-10-29T00:40:31.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:40:31.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:40:31.480Z] Configure a credential helper to remove this warning. See [2021-10-29T00:40:31.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:40:31.480Z] [2021-10-29T00:40:31.480Z] Login Succeeded [2021-10-29T00:40:31.480Z] nexus3.edgexfoundry.org:10003 [2021-10-29T00:40:31.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:40:31.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:40:31.741Z] Configure a credential helper to remove this warning. See [2021-10-29T00:40:31.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:40:31.741Z] [2021-10-29T00:40:31.741Z] Login Succeeded [2021-10-29T00:40:31.741Z] nexus3.edgexfoundry.org:10004 [2021-10-29T00:40:31.741Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:40:31.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:40:31.741Z] Configure a credential helper to remove this warning. See [2021-10-29T00:40:31.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:40:31.741Z] [2021-10-29T00:40:31.741Z] Login Succeeded [2021-10-29T00:40:31.741Z] docker.io [2021-10-29T00:40:32.002Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:40:32.264Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:40:32.264Z] Configure a credential helper to remove this warning. See [2021-10-29T00:40:32.264Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:40:32.264Z] [2021-10-29T00:40:32.264Z] Login Succeeded [2021-10-29T00:40:32.264Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T00:40:32.272Z] 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-29T00:40:32.685Z] + git log --format=format:%s -1 046fd81cb407d78a3ad60ebc935e66a4cfab8960 [Pipeline] echo [2021-10-29T00:40:32.723Z] GIT_COMMIT: 046fd81cb407d78a3ad60ebc935e66a4cfab8960, Commit Message: feat: Update configuration for new CORS and Secrets File settings [Pipeline] echo [2021-10-29T00:40:32.732Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:40:33.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T00:40:33.397Z] [2021-10-29T00:40:33.397Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:40:33.712Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T00:40:33.712Z] latest: Pulling from edgex-devops/git-semver [2021-10-29T00:40:33.712Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T00:40:33.712Z] 3e5f54012d9b: Pulling fs layer [2021-10-29T00:40:33.712Z] 4c7163046ea9: Pulling fs layer [2021-10-29T00:40:33.712Z] 0c2d73faf560: Pulling fs layer [2021-10-29T00:40:33.712Z] 0c2d73faf560: Waiting [2021-10-29T00:40:33.712Z] 3e5f54012d9b: Verifying Checksum [2021-10-29T00:40:33.712Z] 3e5f54012d9b: Download complete [2021-10-29T00:40:33.712Z] a0d0a0d46f8b: Verifying Checksum [2021-10-29T00:40:33.712Z] a0d0a0d46f8b: Download complete [2021-10-29T00:40:33.712Z] 0c2d73faf560: Verifying Checksum [2021-10-29T00:40:33.712Z] 0c2d73faf560: Download complete [2021-10-29T00:40:33.712Z] 4c7163046ea9: Verifying Checksum [2021-10-29T00:40:33.712Z] 4c7163046ea9: Download complete [2021-10-29T00:40:33.975Z] a0d0a0d46f8b: Pull complete [2021-10-29T00:40:33.975Z] 3e5f54012d9b: Pull complete [2021-10-29T00:40:34.237Z] 4c7163046ea9: Pull complete [2021-10-29T00:40:34.503Z] 0c2d73faf560: Pull complete [2021-10-29T00:40:34.503Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-29T00:40:34.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-29T00:40:34.503Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-29T00:40:34.575Z] prd-centos7-docker-4c-2g-13361 does not seem to be running inside a container [2021-10-29T00:40:34.612Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-246 -v /w/workspace/foundry_device-virtual-go_PR-246:/w/workspace/foundry_device-virtual-go_PR-246:rw,z -v /w/workspace/foundry_device-virtual-go_PR-246@tmp:/w/workspace/foundry_device-virtual-go_PR-246@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-29T00:40:35.247Z] $ docker top f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-29T00:40:35.336Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T00:40:35.336Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T00:40:35.433Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T00:40:35.435Z] $ docker exec f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 ssh-agent [2021-10-29T00:40:35.540Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJAedKE/agent.14 [2021-10-29T00:40:35.540Z] SSH_AGENT_PID=20 [2021-10-29T00:40:35.548Z] Running ssh-add (command line suppressed) [2021-10-29T00:40:35.639Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_8523050490060154803.key (/w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_8523050490060154803.key) [2021-10-29T00:40:35.651Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T00:40:35.951Z] + git tag --points-at HEAD [Pipeline] } [2021-10-29T00:40:35.966Z] $ docker exec --env ******** --env ******** f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 ssh-agent -k [2021-10-29T00:40:36.048Z] unset SSH_AUTH_SOCK; [2021-10-29T00:40:36.048Z] unset SSH_AGENT_PID; [2021-10-29T00:40:36.048Z] echo Agent pid 20 killed; [2021-10-29T00:40:36.060Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-29T00:40:36.085Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-29T00:40:36.085Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-29T00:40:36.184Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-29T00:40:36.186Z] $ docker exec f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 ssh-agent [2021-10-29T00:40:36.286Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOglaiB/agent.53 [2021-10-29T00:40:36.286Z] SSH_AGENT_PID=59 [2021-10-29T00:40:36.292Z] Running ssh-add (command line suppressed) [2021-10-29T00:40:36.381Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_4801031032559078045.key (/w/workspace/foundry_device-virtual-go_PR-246@tmp/private_key_4801031032559078045.key) [2021-10-29T00:40:36.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-29T00:40:36.689Z] + git semver init [2021-10-29T00:40:36.689Z] # -> Open(): unable to determine branch for HEAD [2021-10-29T00:40:36.689Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-246/.git [2021-10-29T00:40:36.689Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-246 [2021-10-29T00:40:36.689Z] # $SEMVER_REMOTE_NAME = origin [2021-10-29T00:40:36.689Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-29T00:40:36.689Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-29T00:40:36.689Z] # $SEMVER_BRANCH = PR-246 [2021-10-29T00:40:36.689Z] # $SEMVER_TEMP = /tmp/semver-209397293 [2021-10-29T00:40:36.689Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2021-10-29T00:40:37.634Z] # '/tmp/semver-209397293' -> '/w/workspace/foundry_device-virtual-go_PR-246/.semver' [2021-10-29T00:40:37.634Z] # -> Force: false [2021-10-29T00:40:37.634Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-246/.semver [Pipeline] } [2021-10-29T00:40:37.649Z] $ docker exec --env ******** --env ******** f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 ssh-agent -k [2021-10-29T00:40:37.747Z] unset SSH_AUTH_SOCK; [2021-10-29T00:40:37.748Z] unset SSH_AGENT_PID; [2021-10-29T00:40:37.748Z] echo Agent pid 59 killed; [2021-10-29T00:40:37.757Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-29T00:40:38.078Z] + git semver [Pipeline] } [2021-10-29T00:40:38.090Z] $ docker stop --time=1 f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 [2021-10-29T00:40:39.344Z] $ docker rm -f f5a3242a1be83f86229c740fc07cdc5bee057537ab1e7c34712ac5e529e6dcc1 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-29T00:40:39.727Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-29T00:40:39.978Z] Stashed 1 file(s) [Pipeline] echo [2021-10-29T00:40:39.980Z] [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-29T00:40:55.260Z] Still waiting to schedule task [2021-10-29T00:40:55.260Z] ‘prd-centos7-docker-4c-2g-13362’ is offline [2021-10-29T00:40:55.263Z] Still waiting to schedule task [2021-10-29T00:40:55.263Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-13358’ [2021-10-29T00:41:45.769Z] Running on prd-centos7-docker-4c-2g-13363 in /w/workspace/foundry_device-virtual-go_PR-246 [Pipeline] { [Pipeline] ws [2021-10-29T00:41:45.785Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-10-29T00:41:45.877Z] The recommended git tool is: git [2021-10-29T00:41:48.343Z] using credential edgex-jenkins-ssh [2021-10-29T00:41:48.354Z] Cloning the remote Git repository [2021-10-29T00:41:47.975Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-10-29T00:41:48.032Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-10-29T00:41:48.064Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-29T00:41:48.064Z] > git --version # timeout=10 [2021-10-29T00:41:48.071Z] > git --version # 'git version 2.24.4' [2021-10-29T00:41:48.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:41:48.092Z] [INFO] Currently running in a labeled security context [2021-10-29T00:41:48.093Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T00:41:48.093Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh4536735470211897244.key [2021-10-29T00:41:48.114Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:41:49.917Z] Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 046fd81cb407d78a3ad60ebc935e66a4cfab8960 [2021-10-29T00:41:50.013Z] Merge succeeded, producing 046fd81cb407d78a3ad60ebc935e66a4cfab8960 [2021-10-29T00:41:50.014Z] Checking out Revision 046fd81cb407d78a3ad60ebc935e66a4cfab8960 (PR-246) [2021-10-29T00:41:48.948Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-29T00:41:48.956Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:41:48.972Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-29T00:41:48.986Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-29T00:41:48.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:41:48.987Z] [INFO] Currently running in a labeled security context [2021-10-29T00:41:48.987Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T00:41:48.988Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh2569377174106726034.key [2021-10-29T00:41:48.998Z] > 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-29T00:41:49.523Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:41:49.529Z] > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 [2021-10-29T00:41:49.562Z] > git remote # timeout=10 [2021-10-29T00:41:49.572Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T00:41:49.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:41:49.580Z] [INFO] Currently running in a labeled security context [2021-10-29T00:41:49.580Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-29T00:41:49.580Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-virtual-go/2@tmp/jenkins-gitclient-ssh262743889223317531.key [2021-10-29T00:41:49.587Z] > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 [2021-10-29T00:41:49.599Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T00:41:49.614Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:41:49.627Z] > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 [2021-10-29T00:41:53.466Z] Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T00:41:53.814Z] provisioning config files... [2021-10-29T00:41:53.829Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config8899469885143396616tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:41:54.231Z] ---> docker-login.sh [2021-10-29T00:41:54.231Z] nexus3.edgexfoundry.org:10001 [2021-10-29T00:41:54.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:54.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:54.231Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:54.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:54.231Z] [2021-10-29T00:41:54.231Z] Login Succeeded [2021-10-29T00:41:54.231Z] nexus3.edgexfoundry.org:10002 [2021-10-29T00:41:54.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:54.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:54.491Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:54.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:54.491Z] [2021-10-29T00:41:54.491Z] Login Succeeded [2021-10-29T00:41:54.491Z] nexus3.edgexfoundry.org:10003 [2021-10-29T00:41:54.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:54.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:54.491Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:54.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:54.491Z] [2021-10-29T00:41:54.491Z] Login Succeeded [2021-10-29T00:41:54.491Z] nexus3.edgexfoundry.org:10004 [2021-10-29T00:41:54.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:54.752Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:54.752Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:54.752Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:54.752Z] [2021-10-29T00:41:54.752Z] Login Succeeded [2021-10-29T00:41:54.752Z] docker.io [2021-10-29T00:41:54.752Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:41:55.012Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:41:55.012Z] Configure a credential helper to remove this warning. See [2021-10-29T00:41:55.012Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:41:55.012Z] [2021-10-29T00:41:55.012Z] Login Succeeded [2021-10-29T00:41:55.012Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T00:41:55.042Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T00:41:55.173Z] ========================================================= [2021-10-29T00:41:55.173Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-29T00:41:55.173Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:41:55.479Z] + 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-29T00:41:55.479Z] Sending build context to Docker daemon 8.724MB [2021-10-29T00:41:55.479Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T00:41:55.479Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-29T00:41:55.479Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-29T00:41:55.479Z] a0d0a0d46f8b: Pulling fs layer [2021-10-29T00:41:55.479Z] 31adcdaf11c8: Pulling fs layer [2021-10-29T00:41:55.479Z] b8b176561691: Pulling fs layer [2021-10-29T00:41:55.479Z] 4527c011a84f: Pulling fs layer [2021-10-29T00:41:55.479Z] 5d74067f8e1e: Pulling fs layer [2021-10-29T00:41:55.479Z] e0aca202a116: Pulling fs layer [2021-10-29T00:41:55.479Z] 3a43be97a3b4: Pulling fs layer [2021-10-29T00:41:55.479Z] 34cad66bf833: Pulling fs layer [2021-10-29T00:41:55.479Z] b4e3c513aaa6: Pulling fs layer [2021-10-29T00:41:55.479Z] 4527c011a84f: Waiting [2021-10-29T00:41:55.479Z] 5d74067f8e1e: Waiting [2021-10-29T00:41:55.479Z] e0aca202a116: Waiting [2021-10-29T00:41:55.479Z] 3a43be97a3b4: Waiting [2021-10-29T00:41:55.479Z] 34cad66bf833: Waiting [2021-10-29T00:41:55.479Z] b4e3c513aaa6: Waiting [2021-10-29T00:41:55.479Z] b8b176561691: Verifying Checksum [2021-10-29T00:41:55.479Z] b8b176561691: Download complete [2021-10-29T00:41:55.743Z] 31adcdaf11c8: Verifying Checksum [2021-10-29T00:41:55.743Z] 31adcdaf11c8: Download complete [2021-10-29T00:41:55.743Z] 5d74067f8e1e: Verifying Checksum [2021-10-29T00:41:55.743Z] 5d74067f8e1e: Download complete [2021-10-29T00:41:55.743Z] e0aca202a116: Verifying Checksum [2021-10-29T00:41:55.743Z] e0aca202a116: Download complete [2021-10-29T00:41:55.743Z] 3a43be97a3b4: Verifying Checksum [2021-10-29T00:41:55.743Z] 3a43be97a3b4: Download complete [2021-10-29T00:41:55.743Z] a0d0a0d46f8b: Download complete [2021-10-29T00:41:55.743Z] 34cad66bf833: Verifying Checksum [2021-10-29T00:41:55.743Z] 34cad66bf833: Download complete [2021-10-29T00:41:56.017Z] a0d0a0d46f8b: Pull complete [2021-10-29T00:41:56.296Z] 4527c011a84f: Verifying Checksum [2021-10-29T00:41:56.296Z] 4527c011a84f: Download complete [2021-10-29T00:41:56.296Z] 31adcdaf11c8: Pull complete [2021-10-29T00:41:56.296Z] b4e3c513aaa6: Verifying Checksum [2021-10-29T00:41:56.296Z] b4e3c513aaa6: Download complete [2021-10-29T00:41:56.296Z] b8b176561691: Pull complete [2021-10-29T00:42:00.563Z] 4527c011a84f: Pull complete [2021-10-29T00:42:00.563Z] 5d74067f8e1e: Pull complete [2021-10-29T00:42:00.563Z] e0aca202a116: Pull complete [2021-10-29T00:42:00.563Z] 3a43be97a3b4: Pull complete [2021-10-29T00:42:00.563Z] 34cad66bf833: Pull complete [2021-10-29T00:42:02.520Z] b4e3c513aaa6: Pull complete [2021-10-29T00:42:02.520Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-29T00:42:02.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-29T00:42:02.520Z] ---> 9f6097aaca64 [2021-10-29T00:42:02.520Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-29T00:42:04.443Z] ---> Running in 27e52e6d338c [2021-10-29T00:42:04.444Z] Removing intermediate container 27e52e6d338c [2021-10-29T00:42:04.444Z] ---> 12b0a434c70f [2021-10-29T00:42:04.444Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-29T00:42:04.444Z] ---> Running in ed3921ee0d7e [2021-10-29T00:42:04.444Z] Removing intermediate container ed3921ee0d7e [2021-10-29T00:42:04.444Z] ---> 1aa2062d4646 [2021-10-29T00:42:04.444Z] Step 5/11 : WORKDIR /device-virtual-go [2021-10-29T00:42:04.444Z] ---> Running in 00e460a92db7 [2021-10-29T00:42:04.444Z] Removing intermediate container 00e460a92db7 [2021-10-29T00:42:04.444Z] ---> e6c16117efc6 [2021-10-29T00:42:04.444Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T00:42:04.444Z] ---> Running in 36de44d47e7a [2021-10-29T00:42:05.015Z] Removing intermediate container 36de44d47e7a [2021-10-29T00:42:05.015Z] ---> 300374422199 [2021-10-29T00:42:05.015Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-29T00:42:05.015Z] ---> Running in 022decf5a64a [2021-10-29T00:42:05.276Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-29T00:42:06.217Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-29T00:42:06.788Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T00:42:06.788Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-29T00:42:07.050Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T00:42:07.050Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T00:42:07.050Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T00:42:07.050Z] OK: 224 MiB in 56 packages [2021-10-29T00:42:07.624Z] Removing intermediate container 022decf5a64a [2021-10-29T00:42:07.624Z] ---> dca90ec6b0fd [2021-10-29T00:42:07.624Z] Step 8/11 : COPY . . [2021-10-29T00:42:07.624Z] ---> 5e4e1e51e0eb [2021-10-29T00:42:07.624Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T00:42:07.893Z] ---> Running in 39aef371268f [2021-10-29T00:42:46.679Z] Removing intermediate container 39aef371268f [2021-10-29T00:42:46.679Z] ---> d72d611e8bd4 [2021-10-29T00:42:46.679Z] Step 10/11 : ARG MAKE='make build' [2021-10-29T00:42:46.679Z] ---> Running in 9dcc93037cb6 [2021-10-29T00:42:46.679Z] Removing intermediate container 9dcc93037cb6 [2021-10-29T00:42:46.679Z] ---> a7d3fdec58b1 [2021-10-29T00:42:46.679Z] Step 11/11 : RUN $MAKE [2021-10-29T00:42:46.679Z] ---> Running in 1bba7fa96c58 [2021-10-29T00:42:46.679Z] noop [2021-10-29T00:42:46.679Z] Removing intermediate container 1bba7fa96c58 [2021-10-29T00:42:46.679Z] ---> e1889fd462c0 [2021-10-29T00:42:46.679Z] Successfully built e1889fd462c0 [2021-10-29T00:42:46.679Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:42:46.995Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T00:42:46.995Z] . [Pipeline] withDockerContainer [2021-10-29T00:42:47.064Z] prd-centos7-docker-4c-2g-13363 does not seem to be running inside a container [2021-10-29T00:42:47.099Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-29T00:42:47.475Z] $ docker top c75fe3d2d40bbb766d49af020d375bbaf3166e4ab5de006f9d6316540467b149 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T00:42:47.877Z] + go version [2021-10-29T00:42:47.877Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-29T00:42:47.888Z] $ docker stop --time=1 c75fe3d2d40bbb766d49af020d375bbaf3166e4ab5de006f9d6316540467b149 [2021-10-29T00:42:49.040Z] $ docker rm -f c75fe3d2d40bbb766d49af020d375bbaf3166e4ab5de006f9d6316540467b149 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:42:49.586Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-29T00:42:49.587Z] . [Pipeline] withDockerContainer [2021-10-29T00:42:49.656Z] prd-centos7-docker-4c-2g-13363 does not seem to be running inside a container [2021-10-29T00:42:49.694Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-29T00:42:50.152Z] $ docker top 00a2e7ca2b651b794892da3bfd9db3767c6cc46e95497319ef85c314e1c00d26 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T00:42:50.520Z] + make test [2021-10-29T00:42:50.520Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-29T00:42:51.096Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-10-29T00:43:13.131Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-10-29T00:43:13.132Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.277s coverage: 64.6% of statements [2021-10-29T00:43:13.132Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-29T00:43:18.462Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-29T00:43:18.462Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-29T00:43:18.462Z] ./bin/test-attribution-txt.sh [2021-10-29T00:43:18.722Z] An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add [2021-10-29T00:43:18.722Z] An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add [2021-10-29T00:43:18.983Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2021-10-29T00:43:18.996Z] $ docker stop --time=1 00a2e7ca2b651b794892da3bfd9db3767c6cc46e95497319ef85c314e1c00d26 [2021-10-29T00:43:20.456Z] $ docker rm -f 00a2e7ca2b651b794892da3bfd9db3767c6cc46e95497319ef85c314e1c00d26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:43:21.187Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:43:21.187Z] [2021-10-29T00:43:21.187Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:43:21.494Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:43:21.494Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T00:43:21.494Z] b4d181a07f80: Pulling fs layer [2021-10-29T00:43:21.494Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T00:43:21.494Z] ed53099fbce6: Pulling fs layer [2021-10-29T00:43:21.494Z] dc539afda2c1: Pulling fs layer [2021-10-29T00:43:21.494Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T00:43:21.494Z] 9065ff56babe: Pulling fs layer [2021-10-29T00:43:21.494Z] d287ab97295c: Pulling fs layer [2021-10-29T00:43:21.494Z] dc539afda2c1: Waiting [2021-10-29T00:43:21.494Z] 77bc0d833cb6: Waiting [2021-10-29T00:43:21.494Z] 9065ff56babe: Waiting [2021-10-29T00:43:21.494Z] d287ab97295c: Waiting [2021-10-29T00:43:21.494Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T00:43:21.494Z] a1111a8f2ec3: Download complete [2021-10-29T00:43:21.494Z] dc539afda2c1: Verifying Checksum [2021-10-29T00:43:21.494Z] dc539afda2c1: Download complete [2021-10-29T00:43:21.494Z] ed53099fbce6: Verifying Checksum [2021-10-29T00:43:21.494Z] ed53099fbce6: Download complete [2021-10-29T00:43:21.767Z] 9065ff56babe: Verifying Checksum [2021-10-29T00:43:21.767Z] 9065ff56babe: Download complete [2021-10-29T00:43:21.767Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T00:43:21.767Z] 77bc0d833cb6: Download complete [2021-10-29T00:43:21.767Z] b4d181a07f80: Verifying Checksum [2021-10-29T00:43:21.767Z] b4d181a07f80: Download complete [2021-10-29T00:43:22.365Z] d287ab97295c: Verifying Checksum [2021-10-29T00:43:22.365Z] d287ab97295c: Download complete [2021-10-29T00:43:23.323Z] b4d181a07f80: Pull complete [2021-10-29T00:43:23.323Z] a1111a8f2ec3: Pull complete [2021-10-29T00:43:23.912Z] ed53099fbce6: Pull complete [2021-10-29T00:43:23.912Z] dc539afda2c1: Pull complete [2021-10-29T00:43:24.178Z] 77bc0d833cb6: Pull complete [2021-10-29T00:43:24.441Z] 9065ff56babe: Pull complete [2021-10-29T00:43:29.784Z] d287ab97295c: Pull complete [2021-10-29T00:43:29.784Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T00:43:29.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:43:29.784Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T00:43:29.846Z] prd-centos7-docker-4c-2g-13363 does not seem to be running inside a container [2021-10-29T00:43:29.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-29T00:43:32.270Z] $ docker top 2a39e98df487cc00d4a5742d778d7e14c4ce8b51545acbc04e967f7d6662e29f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:43:32.720Z] ---> job-cost.sh [2021-10-29T00:43:32.720Z] lf-activate-venv: SKIPPING [2021-10-29T00:43:32.720Z] INFO: No Stack... [2021-10-29T00:43:32.980Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T00:43:33.240Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T00:43:33.536Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2021-10-29T00:43:33.536Z] + cut -d, -f6 [Pipeline] lock [2021-10-29T00:43:33.560Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] [2021-10-29T00:43:33.569Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] did not exist. Created. [2021-10-29T00:43:33.569Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T00:43:33.872Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-29T00:43:34.052Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T00:43:34.058Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T00:43:34.075Z] $ docker stop --time=1 2a39e98df487cc00d4a5742d778d7e14c4ce8b51545acbc04e967f7d6662e29f [2021-10-29T00:43:35.206Z] $ docker rm -f 2a39e98df487cc00d4a5742d778d7e14c4ce8b51545acbc04e967f7d6662e29f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-29T00:43:35.461Z] Failed in branch amd64 [2021-10-29T00:43:50.480Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13366 in /w/workspace/foundry_device-virtual-go_PR-246 [Pipeline] { [Pipeline] ws [2021-10-29T00:43:50.491Z] Running in /w/workspace/device-virtual-go/2 [Pipeline] { [Pipeline] checkout [2021-10-29T00:43:50.718Z] The recommended git tool is: git [2021-10-29T00:43:56.329Z] using credential edgex-jenkins-ssh [2021-10-29T00:43:56.346Z] Cloning the remote Git repository [2021-10-29T00:43:56.409Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2021-10-29T00:43:56.508Z] > git init /w/workspace/device-virtual-go/2 # timeout=10 [2021-10-29T00:43:56.668Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-29T00:43:56.669Z] > git --version # timeout=10 [2021-10-29T00:43:56.706Z] > git --version # 'git version 2.17.1' [2021-10-29T00:43:56.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:43:56.841Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:43:59.358Z] Merging remotes/origin/main commit 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 into PR head commit 046fd81cb407d78a3ad60ebc935e66a4cfab8960 [2021-10-29T00:43:58.597Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-29T00:43:58.625Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-29T00:43:58.652Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2021-10-29T00:43:58.692Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2021-10-29T00:43:58.693Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:43:58.713Z] > 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-29T00:43:59.382Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:43:59.396Z] > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 [2021-10-29T00:43:59.482Z] > git remote # timeout=10 [2021-10-29T00:43:59.508Z] > git config --get remote.origin.url # timeout=10 [2021-10-29T00:43:59.523Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-29T00:43:59.578Z] Merge succeeded, producing 046fd81cb407d78a3ad60ebc935e66a4cfab8960 [2021-10-29T00:43:59.578Z] Checking out Revision 046fd81cb407d78a3ad60ebc935e66a4cfab8960 (PR-246) [2021-10-29T00:43:59.536Z] > git merge 34dd1625fecf0baa0dbdc776d1b6f66a55cc7584 # timeout=10 [2021-10-29T00:43:59.559Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-29T00:43:59.588Z] > git config core.sparsecheckout # timeout=10 [2021-10-29T00:43:59.611Z] > git checkout -f 046fd81cb407d78a3ad60ebc935e66a4cfab8960 # timeout=10 [2021-10-29T00:44:04.083Z] Commit message: "feat: Update configuration for new CORS and Secrets File settings" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-29T00:44:04.941Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-29T00:44:04.941Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-29T00:44:04.941Z] Dload Upload Total Spent Left Speed [2021-10-29T00:44:04.941Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 58534 0 --:--:-- --:--:-- --:--:-- 58534 [Pipeline] sh [2021-10-29T00:44:05.379Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-29T00:44:05.717Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-29T00:44:05.717Z] + sudo tee /etc/docker/daemon.new [2021-10-29T00:44:05.717Z] { [2021-10-29T00:44:05.717Z] "registry-mirrors": [ [2021-10-29T00:44:05.717Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-29T00:44:05.717Z] ], [2021-10-29T00:44:05.717Z] "bip": "10.250.0.254/24", [2021-10-29T00:44:05.717Z] "hosts": [ [2021-10-29T00:44:05.717Z] "tcp://0.0.0.0:5555", [2021-10-29T00:44:05.717Z] "unix:///var/run/docker.sock" [2021-10-29T00:44:05.717Z] ], [2021-10-29T00:44:05.717Z] "mtu": 1458, [2021-10-29T00:44:05.717Z] "selinux-enabled": true, [2021-10-29T00:44:05.717Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-29T00:44:05.717Z] } [Pipeline] sh [2021-10-29T00:44:06.062Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-29T00:44:06.406Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T00:44:24.751Z] provisioning config files... [2021-10-29T00:44:24.777Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/2@tmp/config7191882047378441588tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:44:25.139Z] ---> docker-login.sh [2021-10-29T00:44:25.139Z] nexus3.edgexfoundry.org:10001 [2021-10-29T00:44:26.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:44:26.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:44:26.394Z] Configure a credential helper to remove this warning. See [2021-10-29T00:44:26.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:44:26.394Z] [2021-10-29T00:44:26.394Z] Login Succeeded [2021-10-29T00:44:26.394Z] nexus3.edgexfoundry.org:10002 [2021-10-29T00:44:27.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:44:27.045Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:44:27.045Z] Configure a credential helper to remove this warning. See [2021-10-29T00:44:27.045Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:44:27.045Z] [2021-10-29T00:44:27.045Z] Login Succeeded [2021-10-29T00:44:27.045Z] nexus3.edgexfoundry.org:10003 [2021-10-29T00:44:27.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:44:27.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:44:27.924Z] Configure a credential helper to remove this warning. See [2021-10-29T00:44:27.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:44:27.924Z] [2021-10-29T00:44:27.924Z] Login Succeeded [2021-10-29T00:44:27.924Z] nexus3.edgexfoundry.org:10004 [2021-10-29T00:44:28.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:44:28.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:44:28.522Z] Configure a credential helper to remove this warning. See [2021-10-29T00:44:28.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:44:28.522Z] [2021-10-29T00:44:28.522Z] Login Succeeded [2021-10-29T00:44:28.522Z] docker.io [2021-10-29T00:44:29.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-29T00:44:29.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-29T00:44:29.390Z] Configure a credential helper to remove this warning. See [2021-10-29T00:44:29.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-29T00:44:29.390Z] [2021-10-29T00:44:29.390Z] Login Succeeded [2021-10-29T00:44:29.390Z] ---> docker-login.sh ends [Pipeline] } [2021-10-29T00:44:29.408Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-29T00:44:29.925Z] ========================================================= [2021-10-29T00:44:29.925Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-29T00:44:29.925Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:44:30.289Z] + 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-29T00:44:30.889Z] Sending build context to Docker daemon 8.724MB [2021-10-29T00:44:30.889Z] Step 1/11 : ARG BASE=golang:1.16-alpine3.14 [2021-10-29T00:44:30.889Z] Step 2/11 : FROM ${BASE} AS builder [2021-10-29T00:44:31.166Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-29T00:44:31.166Z] 552d1f2373af: Pulling fs layer [2021-10-29T00:44:31.166Z] ea3f2d53f512: Pulling fs layer [2021-10-29T00:44:31.166Z] 9e70ebbbe112: Pulling fs layer [2021-10-29T00:44:31.166Z] 7a9cfe048b4a: Pulling fs layer [2021-10-29T00:44:31.166Z] 72dc09318566: Pulling fs layer [2021-10-29T00:44:31.166Z] f4f7b4309257: Pulling fs layer [2021-10-29T00:44:31.166Z] 0ac9a79272e3: Pulling fs layer [2021-10-29T00:44:31.166Z] b78e95d17946: Pulling fs layer [2021-10-29T00:44:31.166Z] 7a9cfe048b4a: Waiting [2021-10-29T00:44:31.166Z] 72dc09318566: Waiting [2021-10-29T00:44:31.166Z] f4f7b4309257: Waiting [2021-10-29T00:44:31.166Z] 0ac9a79272e3: Waiting [2021-10-29T00:44:31.166Z] b78e95d17946: Waiting [2021-10-29T00:44:31.166Z] 9e70ebbbe112: Verifying Checksum [2021-10-29T00:44:31.166Z] 9e70ebbbe112: Download complete [2021-10-29T00:44:31.166Z] ea3f2d53f512: Download complete [2021-10-29T00:44:31.166Z] 72dc09318566: Verifying Checksum [2021-10-29T00:44:31.166Z] 72dc09318566: Download complete [2021-10-29T00:44:31.166Z] f4f7b4309257: Verifying Checksum [2021-10-29T00:44:31.166Z] f4f7b4309257: Download complete [2021-10-29T00:44:31.166Z] 552d1f2373af: Verifying Checksum [2021-10-29T00:44:31.166Z] 552d1f2373af: Download complete [2021-10-29T00:44:31.166Z] 0ac9a79272e3: Download complete [2021-10-29T00:44:32.149Z] 552d1f2373af: Pull complete [2021-10-29T00:44:32.754Z] ea3f2d53f512: Pull complete [2021-10-29T00:44:33.365Z] 9e70ebbbe112: Pull complete [2021-10-29T00:44:33.365Z] b78e95d17946: Verifying Checksum [2021-10-29T00:44:33.365Z] b78e95d17946: Download complete [2021-10-29T00:44:33.963Z] 7a9cfe048b4a: Verifying Checksum [2021-10-29T00:44:33.963Z] 7a9cfe048b4a: Download complete [2021-10-29T00:44:44.138Z] 7a9cfe048b4a: Pull complete [2021-10-29T00:44:44.138Z] 72dc09318566: Pull complete [2021-10-29T00:44:44.138Z] f4f7b4309257: Pull complete [2021-10-29T00:44:44.733Z] 0ac9a79272e3: Pull complete [2021-10-29T00:44:51.459Z] b78e95d17946: Pull complete [2021-10-29T00:44:51.459Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-29T00:44:51.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-29T00:44:51.459Z] ---> 8b459fc5aaf0 [2021-10-29T00:44:51.459Z] Step 3/11 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2021-10-29T00:44:52.903Z] ---> Running in a984c58b03f3 [2021-10-29T00:44:53.176Z] Removing intermediate container a984c58b03f3 [2021-10-29T00:44:53.176Z] ---> be4623de9cc6 [2021-10-29T00:44:53.176Z] Step 4/11 : ARG ALPINE_PKG_EXTRA="" [2021-10-29T00:44:53.176Z] ---> Running in 635c21b0b651 [2021-10-29T00:44:53.775Z] Removing intermediate container 635c21b0b651 [2021-10-29T00:44:53.775Z] ---> f127f03640a0 [2021-10-29T00:44:53.775Z] Step 5/11 : WORKDIR /device-virtual-go [2021-10-29T00:44:53.775Z] ---> Running in 48e1190ef3b6 [2021-10-29T00:44:54.051Z] Removing intermediate container 48e1190ef3b6 [2021-10-29T00:44:54.051Z] ---> e01aa2449775 [2021-10-29T00:44:54.051Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-29T00:44:54.324Z] ---> Running in a543dbf90973 [2021-10-29T00:44:56.949Z] Removing intermediate container a543dbf90973 [2021-10-29T00:44:56.949Z] ---> 86e3452c99d5 [2021-10-29T00:44:56.949Z] Step 7/11 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2021-10-29T00:44:56.949Z] ---> Running in ab40d48a9751 [2021-10-29T00:44:57.924Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-29T00:44:58.901Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-29T00:44:59.886Z] (1/4) Installing openssh-keygen (8.6_p1-r3) [2021-10-29T00:44:59.886Z] (2/4) Installing libedit (20210216.3.1-r0) [2021-10-29T00:44:59.886Z] (3/4) Installing openssh-client-common (8.6_p1-r3) [2021-10-29T00:44:59.886Z] (4/4) Installing openssh-client-default (8.6_p1-r3) [2021-10-29T00:45:00.159Z] Executing busybox-1.33.1-r3.trigger [2021-10-29T00:45:00.159Z] OK: 223 MiB in 56 packages [2021-10-29T00:45:01.598Z] Removing intermediate container ab40d48a9751 [2021-10-29T00:45:01.598Z] ---> 1b231e89f48d [2021-10-29T00:45:01.598Z] Step 8/11 : COPY . . [2021-10-29T00:45:02.601Z] ---> 02ba6e1ecb55 [2021-10-29T00:45:02.601Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-29T00:45:02.601Z] ---> Running in b5ff1462aa6c [2021-10-29T00:46:24.421Z] Removing intermediate container b5ff1462aa6c [2021-10-29T00:46:24.421Z] ---> 7d53903dd3db [2021-10-29T00:46:24.421Z] Step 10/11 : ARG MAKE='make build' [2021-10-29T00:46:24.421Z] ---> Running in 22cccf0a3370 [2021-10-29T00:46:24.421Z] Removing intermediate container 22cccf0a3370 [2021-10-29T00:46:24.421Z] ---> 0c1f478737f9 [2021-10-29T00:46:24.421Z] Step 11/11 : RUN $MAKE [2021-10-29T00:46:24.421Z] ---> Running in d1158284e072 [2021-10-29T00:46:24.421Z] noop [2021-10-29T00:46:24.421Z] Removing intermediate container d1158284e072 [2021-10-29T00:46:24.421Z] ---> d99b3381c335 [2021-10-29T00:46:24.421Z] Successfully built d99b3381c335 [2021-10-29T00:46:24.421Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:46:24.763Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T00:46:24.763Z] . [Pipeline] withDockerContainer [2021-10-29T00:46:25.001Z] prd-ubuntu18.04-docker-arm64-4c-16g-13366 does not seem to be running inside a container [2021-10-29T00:46:25.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-29T00:46:26.582Z] $ docker top 2dc6c8bc4864e73fe14a74847f2de1f4a37c58f6c46d3a1c80d2e97a728322c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T00:46:27.552Z] + go version [2021-10-29T00:46:27.552Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-29T00:46:27.587Z] $ docker stop --time=1 2dc6c8bc4864e73fe14a74847f2de1f4a37c58f6c46d3a1c80d2e97a728322c6 [2021-10-29T00:46:29.357Z] $ docker rm -f 2dc6c8bc4864e73fe14a74847f2de1f4a37c58f6c46d3a1c80d2e97a728322c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:46:30.049Z] + docker inspect -f . ci-base-image-arm64 [2021-10-29T00:46:30.049Z] . [Pipeline] withDockerContainer [2021-10-29T00:46:30.331Z] prd-ubuntu18.04-docker-arm64-4c-16g-13366 does not seem to be running inside a container [2021-10-29T00:46:30.428Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-29T00:46:31.983Z] $ docker top 887bb617692ad84fe0046fa9cea61b1ad3acb067e75582d2105ee34432c1fa19 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-29T00:46:32.925Z] + make test [2021-10-29T00:46:32.926Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2021-10-29T00:46:34.914Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2021-10-29T00:47:42.996Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2021-10-29T00:47:42.996Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 1.926s coverage: 64.6% of statements [2021-10-29T00:47:42.996Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2021-10-29T00:48:15.365Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-29T00:48:15.365Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-29T00:48:15.365Z] ./bin/test-attribution-txt.sh [2021-10-29T00:48:16.347Z] An attribution for github.com/hashicorp/errwrap is missing from in Attribution.txt, please add [2021-10-29T00:48:16.347Z] An attribution for github.com/hashicorp/go-multierror is missing from in Attribution.txt, please add [2021-10-29T00:48:16.621Z] make: *** [Makefile:30: test] Error 1 [Pipeline] } [2021-10-29T00:48:16.657Z] $ docker stop --time=1 887bb617692ad84fe0046fa9cea61b1ad3acb067e75582d2105ee34432c1fa19 [2021-10-29T00:48:18.561Z] $ docker rm -f 887bb617692ad84fe0046fa9cea61b1ad3acb067e75582d2105ee34432c1fa19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:48:19.750Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T00:48:19.750Z] [2021-10-29T00:48:19.750Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:48:20.098Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T00:48:20.376Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-29T00:48:20.376Z] 448f6bf000e3: Pulling fs layer [2021-10-29T00:48:20.376Z] f757da607395: Pulling fs layer [2021-10-29T00:48:20.376Z] 05883995daec: Pulling fs layer [2021-10-29T00:48:20.376Z] 8603b9c90790: Pulling fs layer [2021-10-29T00:48:20.376Z] 1560dd03e051: Pulling fs layer [2021-10-29T00:48:20.376Z] 27f5ce0e4adf: Pulling fs layer [2021-10-29T00:48:20.376Z] c2d8d7efcc4b: Pulling fs layer [2021-10-29T00:48:20.376Z] 1560dd03e051: Waiting [2021-10-29T00:48:20.376Z] 27f5ce0e4adf: Waiting [2021-10-29T00:48:20.376Z] c2d8d7efcc4b: Waiting [2021-10-29T00:48:20.376Z] 8603b9c90790: Waiting [2021-10-29T00:48:20.376Z] f757da607395: Verifying Checksum [2021-10-29T00:48:20.376Z] f757da607395: Download complete [2021-10-29T00:48:20.376Z] 8603b9c90790: Verifying Checksum [2021-10-29T00:48:20.376Z] 8603b9c90790: Download complete [2021-10-29T00:48:20.649Z] 1560dd03e051: Verifying Checksum [2021-10-29T00:48:20.649Z] 1560dd03e051: Download complete [2021-10-29T00:48:20.649Z] 27f5ce0e4adf: Verifying Checksum [2021-10-29T00:48:20.649Z] 27f5ce0e4adf: Download complete [2021-10-29T00:48:20.649Z] 05883995daec: Verifying Checksum [2021-10-29T00:48:20.649Z] 05883995daec: Download complete [2021-10-29T00:48:20.925Z] 448f6bf000e3: Verifying Checksum [2021-10-29T00:48:20.925Z] 448f6bf000e3: Download complete [2021-10-29T00:48:23.555Z] c2d8d7efcc4b: Verifying Checksum [2021-10-29T00:48:23.555Z] c2d8d7efcc4b: Download complete [2021-10-29T00:48:24.991Z] 448f6bf000e3: Pull complete [2021-10-29T00:48:25.588Z] f757da607395: Pull complete [2021-10-29T00:48:27.024Z] 05883995daec: Pull complete [2021-10-29T00:48:27.297Z] 8603b9c90790: Pull complete [2021-10-29T00:48:28.283Z] 1560dd03e051: Pull complete [2021-10-29T00:48:28.562Z] 27f5ce0e4adf: Pull complete [2021-10-29T00:48:43.683Z] c2d8d7efcc4b: Pull complete [2021-10-29T00:48:43.683Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-29T00:48:43.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-29T00:48:43.683Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-29T00:48:43.946Z] prd-ubuntu18.04-docker-arm64-4c-16g-13366 does not seem to be running inside a container [2021-10-29T00:48:44.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/2 -v /w/workspace/device-virtual-go/2:/w/workspace/device-virtual-go/2:rw,z -v /w/workspace/device-virtual-go/2@tmp:/w/workspace/device-virtual-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-29T00:48:47.238Z] $ docker top ee43365f011d47df04f2e98cb5590e3848454590e8574a6865fdd4d8e45b07df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:48:48.202Z] ---> job-cost.sh [2021-10-29T00:48:48.202Z] lf-activate-venv: SKIPPING [2021-10-29T00:48:48.202Z] INFO: No Stack... [2021-10-29T00:48:48.476Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-29T00:48:49.075Z] INFO: Archiving Costs [Pipeline] sh [2021-10-29T00:48:49.737Z] + cat /w/workspace/device-virtual-go/2/archives/cost.csv [2021-10-29T00:48:49.737Z] + cut -d, -f6 [Pipeline] lock [2021-10-29T00:48:49.797Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] [2021-10-29T00:48:49.804Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] did not exist. Created. [2021-10-29T00:48:49.804Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-29T00:48:50.495Z] /w/workspace/device-virtual-go/2@tmp/durable-41302f7f/script.sh: 1: /w/workspace/device-virtual-go/2@tmp/durable-41302f7f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-29T00:48:51.156Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-29T00:48:51.174Z] Warning: overwriting stash ‘stack-cost’ [2021-10-29T00:48:51.684Z] Stashed 1 file(s) [Pipeline] } [2021-10-29T00:48:51.696Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-246-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-29T00:48:51.728Z] $ docker stop --time=1 ee43365f011d47df04f2e98cb5590e3848454590e8574a6865fdd4d8e45b07df [2021-10-29T00:48:53.289Z] $ docker rm -f ee43365f011d47df04f2e98cb5590e3848454590e8574a6865fdd4d8e45b07df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-29T00:48:53.812Z] 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-29T00:48:55.004Z] + '[' -d /w/workspace/foundry_device-virtual-go_PR-246/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:48:55.303Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:48:55.871Z] ---> package-listing.sh [2021-10-29T00:48:55.871Z] ++ facter osfamily [2021-10-29T00:48:55.871Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-29T00:48:56.131Z] + OS_FAMILY=redhat [2021-10-29T00:48:56.131Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-246 [2021-10-29T00:48:56.131Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-29T00:48:56.131Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-29T00:48:56.131Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-29T00:48:56.131Z] + PACKAGES=/tmp/packages_start.txt [2021-10-29T00:48:56.131Z] + '[' /w/workspace/foundry_device-virtual-go_PR-246 ']' [2021-10-29T00:48:56.131Z] + PACKAGES=/tmp/packages_end.txt [2021-10-29T00:48:56.131Z] + case "${OS_FAMILY}" in [2021-10-29T00:48:56.131Z] + rpm -qa [2021-10-29T00:48:56.131Z] + sort [2021-10-29T00:48:56.700Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-29T00:48:56.700Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-29T00:48:56.700Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-29T00:48:56.700Z] + '[' /w/workspace/foundry_device-virtual-go_PR-246 ']' [2021-10-29T00:48:56.700Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-246/archives/ [2021-10-29T00:48:56.700Z] + 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-29T00:48:56.711Z] 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-29T00:48:56.992Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:48:57.557Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:48:57.557Z] [2021-10-29T00:48:57.557Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-29T00:48:57.855Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:48:57.855Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-29T00:48:57.855Z] b4d181a07f80: Pulling fs layer [2021-10-29T00:48:57.856Z] a1111a8f2ec3: Pulling fs layer [2021-10-29T00:48:57.856Z] ed53099fbce6: Pulling fs layer [2021-10-29T00:48:57.856Z] dc539afda2c1: Pulling fs layer [2021-10-29T00:48:57.856Z] 77bc0d833cb6: Pulling fs layer [2021-10-29T00:48:57.856Z] 9065ff56babe: Pulling fs layer [2021-10-29T00:48:57.856Z] d287ab97295c: Pulling fs layer [2021-10-29T00:48:57.856Z] dc539afda2c1: Waiting [2021-10-29T00:48:57.856Z] 77bc0d833cb6: Waiting [2021-10-29T00:48:57.856Z] 9065ff56babe: Waiting [2021-10-29T00:48:57.856Z] d287ab97295c: Waiting [2021-10-29T00:48:57.856Z] a1111a8f2ec3: Verifying Checksum [2021-10-29T00:48:57.856Z] a1111a8f2ec3: Download complete [2021-10-29T00:48:57.856Z] dc539afda2c1: Verifying Checksum [2021-10-29T00:48:57.856Z] dc539afda2c1: Download complete [2021-10-29T00:48:58.122Z] ed53099fbce6: Verifying Checksum [2021-10-29T00:48:58.122Z] ed53099fbce6: Download complete [2021-10-29T00:48:58.122Z] 77bc0d833cb6: Verifying Checksum [2021-10-29T00:48:58.122Z] 77bc0d833cb6: Download complete [2021-10-29T00:48:58.122Z] 9065ff56babe: Verifying Checksum [2021-10-29T00:48:58.122Z] 9065ff56babe: Download complete [2021-10-29T00:48:58.122Z] b4d181a07f80: Download complete [2021-10-29T00:48:58.696Z] d287ab97295c: Verifying Checksum [2021-10-29T00:48:58.696Z] d287ab97295c: Download complete [2021-10-29T00:48:59.655Z] b4d181a07f80: Pull complete [2021-10-29T00:48:59.655Z] a1111a8f2ec3: Pull complete [2021-10-29T00:49:00.233Z] ed53099fbce6: Pull complete [2021-10-29T00:49:00.233Z] dc539afda2c1: Pull complete [2021-10-29T00:49:00.805Z] 77bc0d833cb6: Pull complete [2021-10-29T00:49:00.805Z] 9065ff56babe: Pull complete [2021-10-29T00:49:06.125Z] d287ab97295c: Pull complete [2021-10-29T00:49:06.125Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-29T00:49:06.125Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-29T00:49:06.125Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-29T00:49:06.191Z] prd-centos7-docker-4c-2g-13361 does not seem to be running inside a container [2021-10-29T00:49:06.227Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/foundry_device-virtual-go_PR-246/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-virtual-go_PR-246 -v /w/workspace/foundry_device-virtual-go_PR-246:/w/workspace/foundry_device-virtual-go_PR-246:rw,z -v /w/workspace/foundry_device-virtual-go_PR-246@tmp:/w/workspace/foundry_device-virtual-go_PR-246@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-29T00:49:08.617Z] $ docker top 4e6e169ddceb615e4994485a0280ad7bdc855d2631dc272287d0493b4ff8885f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-29T00:49:08.975Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-29T00:49:09.282Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-29T00:49:09.578Z] + ls /var/log/sa-host [2021-10-29T00:49:09.578Z] + sadf -c /var/log/sa-host/sa29 [2021-10-29T00:49:09.578Z] file_magic: OK [2021-10-29T00:49:09.578Z] HZ: Using current value: 100 [2021-10-29T00:49:09.578Z] file_header: OK [2021-10-29T00:49:09.578Z] 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-29T00:49:09.578Z] Statistics: [2021-10-29T00:49:09.578Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T00:49:09.578Z] File successfully converted to sysstat format version 12.0.3 [2021-10-29T00:49:09.578Z] + sadf -c /var/log/sa-host/sa30 [2021-10-29T00:49:09.578Z] file_magic: OK [2021-10-29T00:49:09.578Z] HZ: Using current value: 100 [2021-10-29T00:49:09.578Z] file_header: OK [2021-10-29T00:49:09.578Z] 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-29T00:49:09.578Z] Statistics: [2021-10-29T00:49:09.578Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-29T00:49:09.578Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-29T00:49:09.852Z] provisioning config files... [2021-10-29T00:49:09.861Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-246@tmp/config7182563114243009847tmp [Pipeline] { [Pipeline] echo [2021-10-29T00:49:09.876Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:49:10.176Z] ---> create-netrc.sh [Pipeline] } [2021-10-29T00:49:10.186Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:49:10.524Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-29T00:49:10.533Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:49:10.827Z] ---> sudo-logs.sh [2021-10-29T00:49:10.827Z] Archiving 'sudo' log.. [2021-10-29T00:49:10.827Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13361.novalocal: Name or service not known [2021-10-29T00:49:10.827Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13361.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-29T00:49:10.862Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:49:11.155Z] ---> job-cost.sh [2021-10-29T00:49:11.155Z] lf-activate-venv: SKIPPING [2021-10-29T00:49:11.155Z] DEBUG: total: 0.10999999940395355 [2021-10-29T00:49:11.155Z] INFO: Retrieving Stack Cost... [2021-10-29T00:49:11.416Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-29T00:49:11.676Z] INFO: Archiving Costs [Pipeline] echo [2021-10-29T00:49:11.691Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-29T00:49:11.978Z] ---> logs-deploy.sh [2021-10-29T00:49:11.978Z] lf-activate-venv: SKIPPING [2021-10-29T00:49:11.978Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-246/2 [2021-10-29T00:49:11.978Z] INFO: archiving workspace using pattern(s): [2021-10-29T00:49:12.552Z] Archives upload complete. [2021-10-29T00:49:12.813Z] INFO: archiving logs to Nexus