Pull request #263 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde+7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 (2a4771286e6ed13a870e6707e75da745e3c53e51) 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-ssh9242078014529906141.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh11401599349689488774.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-263/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-263/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8462922684873028000.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-263/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3963393913709171523.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16759863293271450083.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-263/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-virtual-go/branches/PR-263/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5395619282929475735.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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.17 USE_ALPINE: true 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 All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-4765 in /w/workspace/foundry_device-virtual-go_PR-263 [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-263 # 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-263@tmp/jenkins-gitclient-ssh6013467899004474173.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 into PR head commit 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde > 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-263@tmp/jenkins-gitclient-ssh5949764702164578130.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde # timeout=10 Merge succeeded, producing 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde Checking out Revision 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde (PR-263) > 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-263@tmp/jenkins-gitclient-ssh932885849027012647.key > git merge 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-07T11:05:44.405Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-07T11:05:44.596Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-07T11:05:44.705Z] ========================================================= [2022-02-07T11:05:44.705Z] EdgeX Global Pipelines Version Info [2022-02-07T11:05:44.705Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:05:45.852Z] ------------------- [2022-02-07T11:05:45.852Z] stable info: [2022-02-07T11:05:45.852Z] ------------------- [2022-02-07T11:05:45.852Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-07T11:05:45.852Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-07T11:05:45.852Z] Message: update stable to v1.0.220 [2022-02-07T11:05:46.435Z] ------------------- [2022-02-07T11:05:46.435Z] experimental info: [2022-02-07T11:05:46.435Z] ------------------- [2022-02-07T11:05:46.435Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-07T11:05:46.435Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-07T11:05:46.435Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-07T11:05:46.706Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-virtual-go-settings [Pipeline] echo [2022-02-07T11:05:46.747Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-virtual-go [Pipeline] echo [2022-02-07T11:05:46.784Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-07T11:05:46.822Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-07T11:05:46.859Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-07T11:05:46.897Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-07T11:05:46.936Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-07T11:05:46.974Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-07T11:05:47.020Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-07T11:05:47.057Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-07T11:05:47.098Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-07T11:05:47.137Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-virtual [Pipeline] echo [2022-02-07T11:05:47.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-07T11:05:47.217Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-07T11:05:47.257Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-07T11:05:47.295Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-07T11:05:47.339Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-07T11:05:47.382Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-07T11:05:47.419Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-07T11:05:47.457Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-07T11:05:47.498Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-02-07T11:05:47.569Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-02-07T11:05:47.612Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-07T11:05:47.657Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-07T11:05:47.696Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-07T11:05:47.737Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-07T11:05:47.776Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-263 [Pipeline] echo [2022-02-07T11:05:47.817Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-263 [Pipeline] echo [2022-02-07T11:05:47.862Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-263 [Pipeline] echo [2022-02-07T11:05:47.912Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde [Pipeline] echo [2022-02-07T11:05:47.952Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6cc2db3 [Pipeline] echo [2022-02-07T11:05:47.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T11:05:48.102Z] provisioning config files... [2022-02-07T11:05:48.118Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-263@tmp/config6998442948088202476tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:05:48.466Z] ---> docker-login.sh [2022-02-07T11:05:48.466Z] nexus3.edgexfoundry.org:10001 [2022-02-07T11:05:48.466Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:05:48.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:05:48.729Z] Configure a credential helper to remove this warning. See [2022-02-07T11:05:48.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:05:48.729Z] [2022-02-07T11:05:48.729Z] Login Succeeded [2022-02-07T11:05:48.729Z] nexus3.edgexfoundry.org:10002 [2022-02-07T11:05:48.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:05:48.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:05:48.729Z] Configure a credential helper to remove this warning. See [2022-02-07T11:05:48.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:05:48.729Z] [2022-02-07T11:05:48.729Z] Login Succeeded [2022-02-07T11:05:48.729Z] nexus3.edgexfoundry.org:10003 [2022-02-07T11:05:48.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:05:48.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:05:48.991Z] Configure a credential helper to remove this warning. See [2022-02-07T11:05:48.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:05:48.991Z] [2022-02-07T11:05:48.991Z] Login Succeeded [2022-02-07T11:05:48.991Z] nexus3.edgexfoundry.org:10004 [2022-02-07T11:05:48.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:05:48.991Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:05:48.991Z] Configure a credential helper to remove this warning. See [2022-02-07T11:05:48.991Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:05:48.991Z] [2022-02-07T11:05:48.991Z] Login Succeeded [2022-02-07T11:05:48.991Z] docker.io [2022-02-07T11:05:48.991Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:05:49.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:05:49.564Z] Configure a credential helper to remove this warning. See [2022-02-07T11:05:49.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:05:49.564Z] [2022-02-07T11:05:49.564Z] Login Succeeded [2022-02-07T11:05:49.564Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T11:05:49.596Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-07T11:05:50.314Z] + git rev-list -1 --merges 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde~1..6cc2db337bc92738fd09e41bb97a7d58fa7fcbde [Pipeline] echo [2022-02-07T11:05:50.362Z] -----------> git rev-list -1 --merges 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde~1..6cc2db337bc92738fd09e41bb97a7d58fa7fcbde 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde [false] [Pipeline] sh [2022-02-07T11:05:50.679Z] + git log --format=format:%s -1 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde [Pipeline] echo [2022-02-07T11:05:50.718Z] ========================================================= [2022-02-07T11:05:50.718Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-07T11:05:50.718Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-07T11:05:51.160Z] + git log --format=format:%s -1 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde [Pipeline] echo [2022-02-07T11:05:51.195Z] [semverPrep] GIT_COMMIT: 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-02-07T11:05:51.222Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-07T11:05:51.666Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-07T11:05:51.666Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-07T11:05:51.666Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-07T11:05:51.666Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-07T11:05:51.666Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-07T11:05:51.666Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-07T11:05:51.666Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-07T11:05:52.053Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T11:05:52.054Z] [2022-02-07T11:05:52.054Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T11:05:52.401Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T11:05:52.401Z] latest: Pulling from edgex-devops/git-semver [2022-02-07T11:05:52.401Z] a0d0a0d46f8b: Pulling fs layer [2022-02-07T11:05:52.401Z] 3e5f54012d9b: Pulling fs layer [2022-02-07T11:05:52.401Z] 4c7163046ea9: Pulling fs layer [2022-02-07T11:05:52.401Z] 0c2d73faf560: Pulling fs layer [2022-02-07T11:05:52.401Z] 0c2d73faf560: Waiting [2022-02-07T11:05:52.401Z] 3e5f54012d9b: Download complete [2022-02-07T11:05:52.401Z] a0d0a0d46f8b: Download complete [2022-02-07T11:05:52.401Z] 0c2d73faf560: Verifying Checksum [2022-02-07T11:05:52.401Z] 0c2d73faf560: Download complete [2022-02-07T11:05:52.680Z] 4c7163046ea9: Verifying Checksum [2022-02-07T11:05:52.680Z] 4c7163046ea9: Download complete [2022-02-07T11:05:52.680Z] a0d0a0d46f8b: Pull complete [2022-02-07T11:05:52.680Z] 3e5f54012d9b: Pull complete [2022-02-07T11:05:52.947Z] 4c7163046ea9: Pull complete [2022-02-07T11:05:53.210Z] 0c2d73faf560: Pull complete [2022-02-07T11:05:53.210Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-07T11:05:53.210Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-07T11:05:53.210Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-07T11:05:53.316Z] prd-centos7-docker-4c-2g-4765 does not seem to be running inside a container [2022-02-07T11:05:53.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-virtual-go_PR-263 -v /w/workspace/foundry_device-virtual-go_PR-263:/w/workspace/foundry_device-virtual-go_PR-263:rw,z -v /w/workspace/foundry_device-virtual-go_PR-263@tmp:/w/workspace/foundry_device-virtual-go_PR-263@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-07T11:05:54.036Z] $ docker top 28306756c644dfdd824cd1a37750ce9d4790d76318337b4a5056bda89acd5995 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-07T11:05:54.233Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-07T11:05:54.233Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-07T11:05:54.357Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-07T11:05:54.357Z] $ docker exec 28306756c644dfdd824cd1a37750ce9d4790d76318337b4a5056bda89acd5995 ssh-agent [2022-02-07T11:05:54.491Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCKJDaK/agent.14 [2022-02-07T11:05:54.491Z] SSH_AGENT_PID=20 [2022-02-07T11:05:54.499Z] Running ssh-add (command line suppressed) [2022-02-07T11:05:54.631Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-263@tmp/private_key_272559114384445275.key (/w/workspace/foundry_device-virtual-go_PR-263@tmp/private_key_272559114384445275.key) [2022-02-07T11:05:54.654Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-07T11:05:55.001Z] + git tag --points-at HEAD [Pipeline] } [2022-02-07T11:05:55.024Z] $ docker exec --env ******** --env ******** 28306756c644dfdd824cd1a37750ce9d4790d76318337b4a5056bda89acd5995 ssh-agent -k [2022-02-07T11:05:55.113Z] unset SSH_AUTH_SOCK; [2022-02-07T11:05:55.113Z] unset SSH_AGENT_PID; [2022-02-07T11:05:55.113Z] echo Agent pid 20 killed; [2022-02-07T11:05:55.128Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-07T11:05:55.218Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-07T11:05:55.218Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-07T11:05:55.355Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-07T11:05:55.354Z] $ docker exec 28306756c644dfdd824cd1a37750ce9d4790d76318337b4a5056bda89acd5995 ssh-agent [2022-02-07T11:05:55.495Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOcCcaa/agent.55 [2022-02-07T11:05:55.495Z] SSH_AGENT_PID=61 [2022-02-07T11:05:55.500Z] Running ssh-add (command line suppressed) [2022-02-07T11:05:55.587Z] Identity added: /w/workspace/foundry_device-virtual-go_PR-263@tmp/private_key_1795344157258681377.key (/w/workspace/foundry_device-virtual-go_PR-263@tmp/private_key_1795344157258681377.key) [2022-02-07T11:05:55.604Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-07T11:05:55.951Z] + git semver init [2022-02-07T11:05:55.952Z] # -> Open(): unable to determine branch for HEAD [2022-02-07T11:05:55.952Z] # $GIT_DIR = /w/workspace/foundry_device-virtual-go_PR-263/.git [2022-02-07T11:05:55.952Z] # $GIT_WORK_TREE = /w/workspace/foundry_device-virtual-go_PR-263 [2022-02-07T11:05:55.952Z] # $SEMVER_REMOTE_NAME = origin [2022-02-07T11:05:55.952Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-07T11:05:55.952Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-07T11:05:55.952Z] # $SEMVER_BRANCH = PR-263 [2022-02-07T11:05:55.952Z] # $SEMVER_TEMP = /tmp/semver-846726329 [2022-02-07T11:05:55.952Z] # git clone --branch semver git@github.com:edgexfoundry/device-virtual-go.git $SEMVER_TEMP [2022-02-07T11:05:57.335Z] # '/tmp/semver-846726329' -> '/w/workspace/foundry_device-virtual-go_PR-263/.semver' [2022-02-07T11:05:57.335Z] # -> Force: false [2022-02-07T11:05:57.335Z] # $SEMVER_DIR = /w/workspace/foundry_device-virtual-go_PR-263/.semver [Pipeline] } [2022-02-07T11:05:57.360Z] $ docker exec --env ******** --env ******** 28306756c644dfdd824cd1a37750ce9d4790d76318337b4a5056bda89acd5995 ssh-agent -k [2022-02-07T11:05:57.455Z] unset SSH_AUTH_SOCK; [2022-02-07T11:05:57.455Z] unset SSH_AGENT_PID; [2022-02-07T11:05:57.455Z] echo Agent pid 61 killed; [2022-02-07T11:05:57.468Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-07T11:05:57.909Z] + git semver [Pipeline] } [2022-02-07T11:05:57.937Z] $ docker stop --time=1 28306756c644dfdd824cd1a37750ce9d4790d76318337b4a5056bda89acd5995 [2022-02-07T11:05:59.335Z] $ docker rm -f 28306756c644dfdd824cd1a37750ce9d4790d76318337b4a5056bda89acd5995 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-07T11:05:59.767Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-07T11:06:00.058Z] Stashed 1 file(s) [Pipeline] echo [2022-02-07T11:06:00.075Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T11:06:00.698Z] provisioning config files... [2022-02-07T11:06:00.710Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/foundry_device-virtual-go_PR-263@tmp/config5028259599905961280tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:06:01.073Z] ---> docker-login.sh [2022-02-07T11:06:01.073Z] nexus3.edgexfoundry.org:10001 [2022-02-07T11:06:01.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:06:01.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:06:01.073Z] Configure a credential helper to remove this warning. See [2022-02-07T11:06:01.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:06:01.073Z] [2022-02-07T11:06:01.073Z] Login Succeeded [2022-02-07T11:06:01.073Z] nexus3.edgexfoundry.org:10002 [2022-02-07T11:06:01.073Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:06:01.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:06:01.073Z] Configure a credential helper to remove this warning. See [2022-02-07T11:06:01.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:06:01.073Z] [2022-02-07T11:06:01.073Z] Login Succeeded [2022-02-07T11:06:01.073Z] nexus3.edgexfoundry.org:10003 [2022-02-07T11:06:01.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:06:01.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:06:01.333Z] Configure a credential helper to remove this warning. See [2022-02-07T11:06:01.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:06:01.333Z] [2022-02-07T11:06:01.333Z] Login Succeeded [2022-02-07T11:06:01.333Z] nexus3.edgexfoundry.org:10004 [2022-02-07T11:06:01.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:06:01.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:06:01.333Z] Configure a credential helper to remove this warning. See [2022-02-07T11:06:01.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:06:01.333Z] [2022-02-07T11:06:01.333Z] Login Succeeded [2022-02-07T11:06:01.333Z] docker.io [2022-02-07T11:06:01.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:06:01.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:06:01.857Z] Configure a credential helper to remove this warning. See [2022-02-07T11:06:01.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:06:01.857Z] [2022-02-07T11:06:01.857Z] Login Succeeded [2022-02-07T11:06:01.857Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T11:06:01.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-07T11:06:02.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-07T11:06:02.122Z] ========================================================= [2022-02-07T11:06:02.122Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-07T11:06:02.122Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-07T11:06:02.529Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-02-07T11:06:02.529Z] Sending build context to Docker daemon 22.87MB [2022-02-07T11:06:02.529Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-07T11:06:02.529Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-07T11:06:02.791Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-07T11:06:02.791Z] 59bf1c3509f3: Pulling fs layer [2022-02-07T11:06:02.791Z] 666ba61612fd: Pulling fs layer [2022-02-07T11:06:02.791Z] 8ed8ca486205: Pulling fs layer [2022-02-07T11:06:02.791Z] 4fe6c5a15a65: Pulling fs layer [2022-02-07T11:06:02.791Z] 22a0e8bec74d: Pulling fs layer [2022-02-07T11:06:02.791Z] 640e595b4fbd: Pulling fs layer [2022-02-07T11:06:02.791Z] 763cafe07f6e: Pulling fs layer [2022-02-07T11:06:02.791Z] 0c0b528cf693: Pulling fs layer [2022-02-07T11:06:02.791Z] 10935f4eaf8b: Pulling fs layer [2022-02-07T11:06:02.791Z] 640e595b4fbd: Waiting [2022-02-07T11:06:02.791Z] 763cafe07f6e: Waiting [2022-02-07T11:06:02.791Z] 0c0b528cf693: Waiting [2022-02-07T11:06:02.791Z] 10935f4eaf8b: Waiting [2022-02-07T11:06:02.791Z] 4fe6c5a15a65: Waiting [2022-02-07T11:06:02.791Z] 22a0e8bec74d: Waiting [2022-02-07T11:06:02.791Z] 8ed8ca486205: Verifying Checksum [2022-02-07T11:06:02.791Z] 8ed8ca486205: Download complete [2022-02-07T11:06:02.791Z] 666ba61612fd: Verifying Checksum [2022-02-07T11:06:02.791Z] 666ba61612fd: Download complete [2022-02-07T11:06:02.791Z] 22a0e8bec74d: Verifying Checksum [2022-02-07T11:06:02.791Z] 22a0e8bec74d: Download complete [2022-02-07T11:06:02.791Z] 640e595b4fbd: Verifying Checksum [2022-02-07T11:06:02.791Z] 640e595b4fbd: Download complete [2022-02-07T11:06:02.791Z] 763cafe07f6e: Verifying Checksum [2022-02-07T11:06:02.791Z] 763cafe07f6e: Download complete [2022-02-07T11:06:02.791Z] 59bf1c3509f3: Verifying Checksum [2022-02-07T11:06:02.791Z] 59bf1c3509f3: Download complete [2022-02-07T11:06:02.791Z] 0c0b528cf693: Verifying Checksum [2022-02-07T11:06:02.791Z] 0c0b528cf693: Download complete [2022-02-07T11:06:03.062Z] 59bf1c3509f3: Pull complete [2022-02-07T11:06:03.333Z] 4fe6c5a15a65: Verifying Checksum [2022-02-07T11:06:03.333Z] 4fe6c5a15a65: Download complete [2022-02-07T11:06:03.333Z] 666ba61612fd: Pull complete [2022-02-07T11:06:03.333Z] 8ed8ca486205: Pull complete [2022-02-07T11:06:03.333Z] 10935f4eaf8b: Verifying Checksum [2022-02-07T11:06:03.333Z] 10935f4eaf8b: Download complete [2022-02-07T11:06:07.623Z] 4fe6c5a15a65: Pull complete [2022-02-07T11:06:07.623Z] 22a0e8bec74d: Pull complete [2022-02-07T11:06:07.623Z] 640e595b4fbd: Pull complete [2022-02-07T11:06:07.623Z] 763cafe07f6e: Pull complete [2022-02-07T11:06:07.623Z] 0c0b528cf693: Pull complete [2022-02-07T11:06:10.177Z] 10935f4eaf8b: Pull complete [2022-02-07T11:06:10.177Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-07T11:06:10.177Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-07T11:06:10.177Z] ---> 99d49a6021b9 [2022-02-07T11:06:10.177Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-07T11:06:12.091Z] ---> Running in 30d9a25c0876 [2022-02-07T11:06:12.091Z] Removing intermediate container 30d9a25c0876 [2022-02-07T11:06:12.091Z] ---> 712bf1a1600d [2022-02-07T11:06:12.091Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-07T11:06:12.091Z] ---> Running in 1bde2b122fe0 [2022-02-07T11:06:12.091Z] Removing intermediate container 1bde2b122fe0 [2022-02-07T11:06:12.091Z] ---> 5bd021c938a3 [2022-02-07T11:06:12.091Z] Step 5/12 : WORKDIR /device-virtual-go [2022-02-07T11:06:12.091Z] ---> Running in 53d00a342147 [2022-02-07T11:06:12.350Z] Removing intermediate container 53d00a342147 [2022-02-07T11:06:12.350Z] ---> 13e1d3493cef [2022-02-07T11:06:12.350Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-07T11:06:12.350Z] ---> Running in 418abf7a5293 [2022-02-07T11:06:12.613Z] Removing intermediate container 418abf7a5293 [2022-02-07T11:06:12.613Z] ---> 341bfc4af5a4 [2022-02-07T11:06:12.613Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-07T11:06:12.613Z] ---> Running in b9675911001d [2022-02-07T11:06:12.873Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-07T11:06:13.821Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-07T11:06:14.083Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-07T11:06:14.343Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-07T11:06:14.343Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-07T11:06:14.343Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-07T11:06:14.604Z] Executing busybox-1.34.1-r3.trigger [2022-02-07T11:06:14.604Z] OK: 224 MiB in 56 packages [2022-02-07T11:06:14.865Z] Removing intermediate container b9675911001d [2022-02-07T11:06:14.865Z] ---> c6f9743a017a [2022-02-07T11:06:14.865Z] Step 8/12 : COPY go.mod vendor* ./ [2022-02-07T11:06:15.132Z] ---> c110412ca5ec [2022-02-07T11:06:15.132Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-07T11:06:15.132Z] ---> Running in 85932add7c97 [2022-02-07T11:06:15.523Z] Still waiting to schedule task [2022-02-07T11:06:15.524Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-07T11:06:53.896Z] Removing intermediate container 85932add7c97 [2022-02-07T11:06:53.896Z] ---> b6137d96e324 [2022-02-07T11:06:53.896Z] Step 10/12 : COPY . . [2022-02-07T11:06:53.896Z] ---> 3f595e87137e [2022-02-07T11:06:53.896Z] Step 11/12 : ARG MAKE='make build' [2022-02-07T11:06:53.896Z] ---> Running in 5e509922fbbe [2022-02-07T11:06:53.896Z] Removing intermediate container 5e509922fbbe [2022-02-07T11:06:53.896Z] ---> ce3fbcd3e0bb [2022-02-07T11:06:53.896Z] Step 12/12 : RUN $MAKE [2022-02-07T11:06:53.896Z] ---> Running in dc46a66f67ac [2022-02-07T11:06:53.896Z] noop [2022-02-07T11:06:53.896Z] Removing intermediate container dc46a66f67ac [2022-02-07T11:06:53.896Z] ---> 85bd01996e80 [2022-02-07T11:06:53.896Z] Successfully built 85bd01996e80 [2022-02-07T11:06:53.896Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T11:06:54.236Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-07T11:06:54.236Z] . [Pipeline] withDockerContainer [2022-02-07T11:06:54.338Z] prd-centos7-docker-4c-2g-4765 does not seem to be running inside a container [2022-02-07T11:06:54.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-263 -v /w/workspace/foundry_device-virtual-go_PR-263:/w/workspace/foundry_device-virtual-go_PR-263:rw,z -v /w/workspace/foundry_device-virtual-go_PR-263@tmp:/w/workspace/foundry_device-virtual-go_PR-263@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 ******** ci-base-image-x86_64 cat [2022-02-07T11:06:54.750Z] $ docker top b577148f533ff1c3b1bf8fd687416d84cfda23554c938db7c3df1240bc220408 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T11:06:55.217Z] + go version [2022-02-07T11:06:55.217Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-07T11:06:55.247Z] $ docker stop --time=1 b577148f533ff1c3b1bf8fd687416d84cfda23554c938db7c3df1240bc220408 [2022-02-07T11:06:56.438Z] $ docker rm -f b577148f533ff1c3b1bf8fd687416d84cfda23554c938db7c3df1240bc220408 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-07T11:06:57.124Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-07T11:06:57.125Z] . [Pipeline] withDockerContainer [2022-02-07T11:06:57.220Z] prd-centos7-docker-4c-2g-4765 does not seem to be running inside a container [2022-02-07T11:06:57.248Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-virtual-go_PR-263 -v /w/workspace/foundry_device-virtual-go_PR-263:/w/workspace/foundry_device-virtual-go_PR-263:rw,z -v /w/workspace/foundry_device-virtual-go_PR-263@tmp:/w/workspace/foundry_device-virtual-go_PR-263@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 ******** ci-base-image-x86_64 cat [2022-02-07T11:06:57.666Z] $ docker top 9cd63abe02ec8ce5f8d55d12474b1ca5ee4ffcb815b4c6386c6a4f3178fb93cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-07T11:06:58.154Z] + make test [2022-02-07T11:06:58.155Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-07T11:06:58.421Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-02-07T11:07:13.409Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-02-07T11:07:13.409Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.026s coverage: 65.7% of statements [2022-02-07T11:07:13.409Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-02-07T11:07:17.650Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-07T11:07:17.650Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-07T11:07:17.650Z] ./bin/test-attribution-txt.sh [2022-02-07T11:07:17.650Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-02-07T11:07:17.650Z] make: *** [Makefile:35: test] Error 1 [Pipeline] } [2022-02-07T11:07:17.693Z] $ docker stop --time=1 9cd63abe02ec8ce5f8d55d12474b1ca5ee4ffcb815b4c6386c6a4f3178fb93cc [2022-02-07T11:07:19.158Z] $ docker rm -f 9cd63abe02ec8ce5f8d55d12474b1ca5ee4ffcb815b4c6386c6a4f3178fb93cc [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 [2022-02-07T11:07:20.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T11:07:20.278Z] [2022-02-07T11:07:20.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T11:07:20.631Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T11:07:20.631Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-07T11:07:20.631Z] b4d181a07f80: Pulling fs layer [2022-02-07T11:07:20.631Z] a1111a8f2ec3: Pulling fs layer [2022-02-07T11:07:20.631Z] ed53099fbce6: Pulling fs layer [2022-02-07T11:07:20.631Z] dc539afda2c1: Pulling fs layer [2022-02-07T11:07:20.631Z] 77bc0d833cb6: Pulling fs layer [2022-02-07T11:07:20.631Z] 9065ff56babe: Pulling fs layer [2022-02-07T11:07:20.631Z] d287ab97295c: Pulling fs layer [2022-02-07T11:07:20.631Z] dc539afda2c1: Waiting [2022-02-07T11:07:20.631Z] 77bc0d833cb6: Waiting [2022-02-07T11:07:20.631Z] 9065ff56babe: Waiting [2022-02-07T11:07:20.631Z] d287ab97295c: Waiting [2022-02-07T11:07:20.631Z] a1111a8f2ec3: Verifying Checksum [2022-02-07T11:07:20.631Z] a1111a8f2ec3: Download complete [2022-02-07T11:07:20.631Z] dc539afda2c1: Verifying Checksum [2022-02-07T11:07:20.631Z] dc539afda2c1: Download complete [2022-02-07T11:07:20.631Z] ed53099fbce6: Verifying Checksum [2022-02-07T11:07:20.631Z] ed53099fbce6: Download complete [2022-02-07T11:07:20.631Z] 77bc0d833cb6: Verifying Checksum [2022-02-07T11:07:20.631Z] 77bc0d833cb6: Download complete [2022-02-07T11:07:20.894Z] 9065ff56babe: Verifying Checksum [2022-02-07T11:07:20.894Z] 9065ff56babe: Download complete [2022-02-07T11:07:20.894Z] b4d181a07f80: Verifying Checksum [2022-02-07T11:07:20.894Z] b4d181a07f80: Download complete [2022-02-07T11:07:21.469Z] d287ab97295c: Verifying Checksum [2022-02-07T11:07:21.469Z] d287ab97295c: Download complete [2022-02-07T11:07:22.054Z] b4d181a07f80: Pull complete [2022-02-07T11:07:22.319Z] a1111a8f2ec3: Pull complete [2022-02-07T11:07:22.896Z] ed53099fbce6: Pull complete [2022-02-07T11:07:22.896Z] dc539afda2c1: Pull complete [2022-02-07T11:07:23.164Z] 77bc0d833cb6: Pull complete [2022-02-07T11:07:23.424Z] 9065ff56babe: Pull complete [2022-02-07T11:07:28.735Z] d287ab97295c: Pull complete [2022-02-07T11:07:28.735Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-07T11:07:28.735Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T11:07:28.735Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-07T11:07:28.826Z] prd-centos7-docker-4c-2g-4765 does not seem to be running inside a container [2022-02-07T11:07:28.858Z] $ 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/foundry_device-virtual-go_PR-263 -v /w/workspace/foundry_device-virtual-go_PR-263:/w/workspace/foundry_device-virtual-go_PR-263:rw,z -v /w/workspace/foundry_device-virtual-go_PR-263@tmp:/w/workspace/foundry_device-virtual-go_PR-263@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-07T11:07:31.617Z] $ docker top a1e3e00ad914228e04accb6debaf184b73b536339066f6f09b472772d2bd2c98 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:07:32.162Z] ---> job-cost.sh [2022-02-07T11:07:32.162Z] lf-activate-venv: SKIPPING [2022-02-07T11:07:32.162Z] INFO: No Stack... [2022-02-07T11:07:32.423Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-07T11:07:32.685Z] INFO: Archiving Costs [Pipeline] sh [2022-02-07T11:07:33.008Z] + cat /w/workspace/foundry_device-virtual-go_PR-263/archives/cost.csv [2022-02-07T11:07:33.008Z] + cut -d, -f6 [Pipeline] lock [2022-02-07T11:07:33.046Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-263-1-stack-cost] [2022-02-07T11:07:33.051Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-263-1-stack-cost] did not exist. Created. [2022-02-07T11:07:33.051Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-263-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-07T11:07:33.519Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-07T11:07:33.566Z] Stashed 1 file(s) [Pipeline] } [2022-02-07T11:07:33.601Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-263-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-07T11:07:33.673Z] $ docker stop --time=1 a1e3e00ad914228e04accb6debaf184b73b536339066f6f09b472772d2bd2c98 [2022-02-07T11:07:34.803Z] $ docker rm -f a1e3e00ad914228e04accb6debaf184b73b536339066f6f09b472772d2bd2c98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-07T11:07:35.250Z] Failed in branch amd64 [2022-02-07T11:07:38.127Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4766 in /w/workspace/foundry_device-virtual-go_PR-263 [Pipeline] { [Pipeline] ws [2022-02-07T11:07:38.170Z] Running in /w/workspace/device-virtual-go/1 [Pipeline] { [Pipeline] checkout [2022-02-07T11:07:38.406Z] The recommended git tool is: git [2022-02-07T11:07:43.120Z] using credential edgex-jenkins-ssh [2022-02-07T11:07:43.137Z] Cloning the remote Git repository [2022-02-07T11:07:43.259Z] Cloning repository git@github.com:edgexfoundry/device-virtual-go.git [2022-02-07T11:07:43.435Z] > git init /w/workspace/device-virtual-go/1 # timeout=10 [2022-02-07T11:07:43.537Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-02-07T11:07:43.538Z] > git --version # timeout=10 [2022-02-07T11:07:43.554Z] > git --version # 'git version 2.17.1' [2022-02-07T11:07:43.556Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T11:07:43.636Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-07T11:07:45.823Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-02-07T11:07:45.847Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-07T11:07:45.871Z] > git config remote.origin.url git@github.com:edgexfoundry/device-virtual-go.git # timeout=10 [2022-02-07T11:07:46.486Z] Merging remotes/origin/main commit 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 into PR head commit 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde [2022-02-07T11:07:46.710Z] Merge succeeded, producing 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde [2022-02-07T11:07:46.710Z] Checking out Revision 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde (PR-263) [2022-02-07T11:07:45.904Z] Fetching upstream changes from git@github.com:edgexfoundry/device-virtual-go.git [2022-02-07T11:07:45.905Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T11:07:45.924Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-virtual-go.git +refs/pull/263/head:refs/remotes/origin/PR-263 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-07T11:07:46.505Z] > git config core.sparsecheckout # timeout=10 [2022-02-07T11:07:46.537Z] > git checkout -f 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde # timeout=10 [2022-02-07T11:07:46.623Z] > git remote # timeout=10 [2022-02-07T11:07:46.641Z] > git config --get remote.origin.url # timeout=10 [2022-02-07T11:07:46.660Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-07T11:07:46.672Z] > git merge 7f10fc8ede43ab0a1e02c0d4ad73e0798a225963 # timeout=10 [2022-02-07T11:07:46.694Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-07T11:07:46.716Z] > git config core.sparsecheckout # timeout=10 [2022-02-07T11:07:46.740Z] > git checkout -f 6cc2db337bc92738fd09e41bb97a7d58fa7fcbde # timeout=10 [2022-02-07T11:07:50.864Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-02-07T11:07:50.925Z] > git --version # timeout=10 [2022-02-07T11:07:50.934Z] > git --version # 'git version 2.17.1' [2022-02-07T11:07:50.947Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-07T11:07:52.056Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-07T11:07:52.057Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-07T11:07:52.057Z] Dload Upload Total Spent Left Speed [2022-02-07T11:07:52.057Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 96284 0 --:--:-- --:--:-- --:--:-- 96284 [Pipeline] sh [2022-02-07T11:07:52.662Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-07T11:07:53.013Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-07T11:07:53.013Z] + sudo tee /etc/docker/daemon.new [2022-02-07T11:07:53.013Z] { [2022-02-07T11:07:53.013Z] "registry-mirrors": [ [2022-02-07T11:07:53.013Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-07T11:07:53.013Z] ], [2022-02-07T11:07:53.013Z] "bip": "10.250.0.254/24", [2022-02-07T11:07:53.013Z] "hosts": [ [2022-02-07T11:07:53.013Z] "tcp://0.0.0.0:5555", [2022-02-07T11:07:53.013Z] "unix:///var/run/docker.sock" [2022-02-07T11:07:53.013Z] ], [2022-02-07T11:07:53.013Z] "mtu": 1458, [2022-02-07T11:07:53.013Z] "selinux-enabled": true, [2022-02-07T11:07:53.013Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-07T11:07:53.013Z] } [Pipeline] sh [2022-02-07T11:07:53.371Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-07T11:07:53.734Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T11:08:12.122Z] provisioning config files... [2022-02-07T11:08:12.147Z] copy managed file [device-virtual-go-settings] to file:/w/workspace/device-virtual-go/1@tmp/config8523788864436570871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:08:12.708Z] ---> docker-login.sh [2022-02-07T11:08:12.708Z] nexus3.edgexfoundry.org:10001 [2022-02-07T11:08:13.303Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:08:13.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:08:13.579Z] Configure a credential helper to remove this warning. See [2022-02-07T11:08:13.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:08:13.579Z] [2022-02-07T11:08:13.579Z] Login Succeeded [2022-02-07T11:08:13.579Z] nexus3.edgexfoundry.org:10002 [2022-02-07T11:08:13.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:08:13.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:08:13.855Z] Configure a credential helper to remove this warning. See [2022-02-07T11:08:13.855Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:08:13.855Z] [2022-02-07T11:08:13.855Z] Login Succeeded [2022-02-07T11:08:13.855Z] nexus3.edgexfoundry.org:10003 [2022-02-07T11:08:14.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:08:14.461Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:08:14.461Z] Configure a credential helper to remove this warning. See [2022-02-07T11:08:14.461Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:08:14.461Z] [2022-02-07T11:08:14.461Z] Login Succeeded [2022-02-07T11:08:14.461Z] nexus3.edgexfoundry.org:10004 [2022-02-07T11:08:14.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:08:14.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:08:14.736Z] Configure a credential helper to remove this warning. See [2022-02-07T11:08:14.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:08:14.736Z] [2022-02-07T11:08:14.736Z] Login Succeeded [2022-02-07T11:08:14.736Z] docker.io [2022-02-07T11:08:15.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-07T11:08:15.601Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-07T11:08:15.601Z] Configure a credential helper to remove this warning. See [2022-02-07T11:08:15.601Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-07T11:08:15.601Z] [2022-02-07T11:08:15.601Z] Login Succeeded [2022-02-07T11:08:15.601Z] ---> docker-login.sh ends [Pipeline] } [2022-02-07T11:08:15.632Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-07T11:08:16.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-07T11:08:16.075Z] ========================================================= [2022-02-07T11:08:16.076Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-07T11:08:16.076Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-07T11:08:16.530Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-02-07T11:08:17.133Z] Sending build context to Docker daemon 11.57MB [2022-02-07T11:08:17.133Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-07T11:08:17.133Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-07T11:08:17.133Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-07T11:08:17.133Z] 9b3977197b4f: Pulling fs layer [2022-02-07T11:08:17.133Z] 1a89e8eeedd5: Pulling fs layer [2022-02-07T11:08:17.133Z] 94645a83ff95: Pulling fs layer [2022-02-07T11:08:17.133Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-07T11:08:17.133Z] 0c92f367c5e7: Pulling fs layer [2022-02-07T11:08:17.133Z] f7c0051592d6: Pulling fs layer [2022-02-07T11:08:17.133Z] a227ed2f7395: Pulling fs layer [2022-02-07T11:08:17.133Z] 7b1c46037f91: Pulling fs layer [2022-02-07T11:08:17.133Z] 3f3a8bcf1eab: Waiting [2022-02-07T11:08:17.133Z] 0c92f367c5e7: Waiting [2022-02-07T11:08:17.133Z] f7c0051592d6: Waiting [2022-02-07T11:08:17.133Z] a227ed2f7395: Waiting [2022-02-07T11:08:17.133Z] 7b1c46037f91: Waiting [2022-02-07T11:08:17.133Z] 94645a83ff95: Verifying Checksum [2022-02-07T11:08:17.133Z] 94645a83ff95: Download complete [2022-02-07T11:08:17.133Z] 1a89e8eeedd5: Verifying Checksum [2022-02-07T11:08:17.133Z] 1a89e8eeedd5: Download complete [2022-02-07T11:08:17.133Z] 0c92f367c5e7: Download complete [2022-02-07T11:08:17.133Z] f7c0051592d6: Verifying Checksum [2022-02-07T11:08:17.133Z] f7c0051592d6: Download complete [2022-02-07T11:08:17.408Z] 9b3977197b4f: Verifying Checksum [2022-02-07T11:08:17.408Z] 9b3977197b4f: Download complete [2022-02-07T11:08:17.408Z] a227ed2f7395: Verifying Checksum [2022-02-07T11:08:17.408Z] a227ed2f7395: Download complete [2022-02-07T11:08:18.005Z] 9b3977197b4f: Pull complete [2022-02-07T11:08:18.605Z] 1a89e8eeedd5: Pull complete [2022-02-07T11:08:18.880Z] 94645a83ff95: Pull complete [2022-02-07T11:08:19.152Z] 7b1c46037f91: Verifying Checksum [2022-02-07T11:08:19.152Z] 7b1c46037f91: Download complete [2022-02-07T11:08:19.750Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-07T11:08:19.750Z] 3f3a8bcf1eab: Download complete [2022-02-07T11:08:32.144Z] 3f3a8bcf1eab: Pull complete [2022-02-07T11:08:32.145Z] 0c92f367c5e7: Pull complete [2022-02-07T11:08:32.145Z] f7c0051592d6: Pull complete [2022-02-07T11:08:32.145Z] a227ed2f7395: Pull complete [2022-02-07T11:08:37.539Z] 7b1c46037f91: Pull complete [2022-02-07T11:08:37.539Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-07T11:08:37.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-07T11:08:37.539Z] ---> f79e39bc4007 [2022-02-07T11:08:37.539Z] Step 3/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-07T11:08:38.997Z] ---> Running in be33d777eecb [2022-02-07T11:08:38.997Z] Removing intermediate container be33d777eecb [2022-02-07T11:08:38.997Z] ---> 209437370873 [2022-02-07T11:08:38.997Z] Step 4/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-07T11:08:39.270Z] ---> Running in 6243bacd7ceb [2022-02-07T11:08:39.542Z] Removing intermediate container 6243bacd7ceb [2022-02-07T11:08:39.542Z] ---> 2edc660a3dff [2022-02-07T11:08:39.542Z] Step 5/12 : WORKDIR /device-virtual-go [2022-02-07T11:08:39.813Z] ---> Running in 7e31968cc38e [2022-02-07T11:08:40.086Z] Removing intermediate container 7e31968cc38e [2022-02-07T11:08:40.086Z] ---> 8d8a4d35d1a4 [2022-02-07T11:08:40.086Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-07T11:08:40.086Z] ---> Running in 696dbbbe3939 [2022-02-07T11:08:42.055Z] Removing intermediate container 696dbbbe3939 [2022-02-07T11:08:42.055Z] ---> b77abad7c980 [2022-02-07T11:08:42.055Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-07T11:08:42.055Z] ---> Running in 612d94b0192d [2022-02-07T11:08:43.031Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-07T11:08:44.010Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-07T11:08:44.604Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-07T11:08:44.604Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-07T11:08:44.876Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-07T11:08:44.876Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-07T11:08:45.149Z] Executing busybox-1.34.1-r3.trigger [2022-02-07T11:08:45.149Z] OK: 224 MiB in 56 packages [2022-02-07T11:08:46.128Z] Removing intermediate container 612d94b0192d [2022-02-07T11:08:46.128Z] ---> cbe3dee4e986 [2022-02-07T11:08:46.128Z] Step 8/12 : COPY go.mod vendor* ./ [2022-02-07T11:08:46.729Z] ---> 9b591d0f6c54 [2022-02-07T11:08:46.729Z] Step 9/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-07T11:08:46.729Z] ---> Running in 4246dfb3c72b [2022-02-07T11:10:08.548Z] Removing intermediate container 4246dfb3c72b [2022-02-07T11:10:08.548Z] ---> 67195cff43cf [2022-02-07T11:10:08.548Z] Step 10/12 : COPY . . [2022-02-07T11:10:08.548Z] ---> d86afe5536b5 [2022-02-07T11:10:08.548Z] Step 11/12 : ARG MAKE='make build' [2022-02-07T11:10:08.548Z] ---> Running in ecc2efcbc1d2 [2022-02-07T11:10:08.548Z] Removing intermediate container ecc2efcbc1d2 [2022-02-07T11:10:08.548Z] ---> a779558748f6 [2022-02-07T11:10:08.548Z] Step 12/12 : RUN $MAKE [2022-02-07T11:10:08.548Z] ---> Running in f992db405db9 [2022-02-07T11:10:08.548Z] noop [2022-02-07T11:10:08.548Z] Removing intermediate container f992db405db9 [2022-02-07T11:10:08.548Z] ---> 610dc6181d74 [2022-02-07T11:10:08.548Z] Successfully built 610dc6181d74 [2022-02-07T11:10:08.548Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-07T11:10:08.917Z] + docker inspect -f . ci-base-image-arm64 [2022-02-07T11:10:08.917Z] . [Pipeline] withDockerContainer [2022-02-07T11:10:09.160Z] prd-ubuntu18.04-docker-arm64-4c-16g-4766 does not seem to be running inside a container [2022-02-07T11:10:09.245Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-07T11:10:10.570Z] $ docker top dcd8e25792271d2a6b045e36c069f1b93d3931690f6e697d915714b4d34c12dd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T11:10:11.516Z] + go version [2022-02-07T11:10:11.516Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-07T11:10:11.553Z] $ docker stop --time=1 dcd8e25792271d2a6b045e36c069f1b93d3931690f6e697d915714b4d34c12dd [2022-02-07T11:10:13.192Z] $ docker rm -f dcd8e25792271d2a6b045e36c069f1b93d3931690f6e697d915714b4d34c12dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-07T11:10:14.048Z] + docker inspect -f . ci-base-image-arm64 [2022-02-07T11:10:14.049Z] . [Pipeline] withDockerContainer [2022-02-07T11:10:14.268Z] prd-ubuntu18.04-docker-arm64-4c-16g-4766 does not seem to be running inside a container [2022-02-07T11:10:14.345Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-07T11:10:15.669Z] $ docker top ab385ef737f8e5c4f63b6344f8ae789f6ad86d9477c166803ead34315413519f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-07T11:10:16.632Z] + make test [2022-02-07T11:10:16.632Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out [2022-02-07T11:10:17.614Z] ? github.com/edgexfoundry/device-virtual-go [no test files] [2022-02-07T11:11:04.614Z] ? github.com/edgexfoundry/device-virtual-go/cmd [no test files] [2022-02-07T11:11:04.614Z] ok github.com/edgexfoundry/device-virtual-go/internal/driver 0.120s coverage: 65.7% of statements [2022-02-07T11:11:04.614Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-02-07T11:11:19.687Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-07T11:11:19.687Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-07T11:11:19.687Z] ./bin/test-attribution-txt.sh [2022-02-07T11:11:21.121Z] An attribution for github.com/go-kit/log is missing from in Attribution.txt, please add [2022-02-07T11:11:21.395Z] make: *** [Makefile:35: test] Error 1 [Pipeline] } [2022-02-07T11:11:21.439Z] $ docker stop --time=1 ab385ef737f8e5c4f63b6344f8ae789f6ad86d9477c166803ead34315413519f [2022-02-07T11:11:23.135Z] $ docker rm -f ab385ef737f8e5c4f63b6344f8ae789f6ad86d9477c166803ead34315413519f [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 [2022-02-07T11:11:24.460Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T11:11:24.460Z] [2022-02-07T11:11:24.460Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-07T11:11:24.860Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T11:11:25.133Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-07T11:11:25.133Z] 448f6bf000e3: Pulling fs layer [2022-02-07T11:11:25.133Z] f757da607395: Pulling fs layer [2022-02-07T11:11:25.133Z] 05883995daec: Pulling fs layer [2022-02-07T11:11:25.133Z] 8603b9c90790: Pulling fs layer [2022-02-07T11:11:25.133Z] 1560dd03e051: Pulling fs layer [2022-02-07T11:11:25.133Z] 27f5ce0e4adf: Pulling fs layer [2022-02-07T11:11:25.133Z] c2d8d7efcc4b: Pulling fs layer [2022-02-07T11:11:25.133Z] 8603b9c90790: Waiting [2022-02-07T11:11:25.133Z] 1560dd03e051: Waiting [2022-02-07T11:11:25.133Z] c2d8d7efcc4b: Waiting [2022-02-07T11:11:25.133Z] 27f5ce0e4adf: Waiting [2022-02-07T11:11:25.133Z] f757da607395: Verifying Checksum [2022-02-07T11:11:25.133Z] f757da607395: Download complete [2022-02-07T11:11:25.133Z] 8603b9c90790: Verifying Checksum [2022-02-07T11:11:25.133Z] 8603b9c90790: Download complete [2022-02-07T11:11:25.133Z] 1560dd03e051: Verifying Checksum [2022-02-07T11:11:25.133Z] 1560dd03e051: Download complete [2022-02-07T11:11:25.410Z] 27f5ce0e4adf: Verifying Checksum [2022-02-07T11:11:25.410Z] 27f5ce0e4adf: Download complete [2022-02-07T11:11:25.410Z] 05883995daec: Verifying Checksum [2022-02-07T11:11:25.410Z] 05883995daec: Download complete [2022-02-07T11:11:25.685Z] 448f6bf000e3: Verifying Checksum [2022-02-07T11:11:25.685Z] 448f6bf000e3: Download complete [2022-02-07T11:11:28.303Z] c2d8d7efcc4b: Verifying Checksum [2022-02-07T11:11:28.303Z] c2d8d7efcc4b: Download complete [2022-02-07T11:11:29.284Z] 448f6bf000e3: Pull complete [2022-02-07T11:11:29.882Z] f757da607395: Pull complete [2022-02-07T11:11:31.312Z] 05883995daec: Pull complete [2022-02-07T11:11:31.583Z] 8603b9c90790: Pull complete [2022-02-07T11:11:32.593Z] 1560dd03e051: Pull complete [2022-02-07T11:11:32.593Z] 27f5ce0e4adf: Pull complete [2022-02-07T11:11:51.007Z] c2d8d7efcc4b: Pull complete [2022-02-07T11:11:51.007Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-07T11:11:51.007Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-07T11:11:51.007Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-07T11:11:51.247Z] prd-ubuntu18.04-docker-arm64-4c-16g-4766 does not seem to be running inside a container [2022-02-07T11:11:51.323Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-virtual-go/1 -v /w/workspace/device-virtual-go/1:/w/workspace/device-virtual-go/1:rw,z -v /w/workspace/device-virtual-go/1@tmp:/w/workspace/device-virtual-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-07T11:11:53.782Z] $ docker top 8a6b64b2b3a532ee80867e98d58048bb8f49083a0c3383773c4c9a334d1d1c9d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:11:54.439Z] ---> job-cost.sh [2022-02-07T11:11:54.711Z] lf-activate-venv: SKIPPING [2022-02-07T11:11:54.711Z] INFO: No Stack... [2022-02-07T11:11:54.984Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-07T11:11:55.254Z] INFO: Archiving Costs [Pipeline] sh [2022-02-07T11:11:55.608Z] + cut -d, -f6 [2022-02-07T11:11:55.608Z] + cat /w/workspace/device-virtual-go/1/archives/cost.csv [Pipeline] lock [2022-02-07T11:11:55.961Z] Trying to acquire lock on [jenkins-edgexfoundry-device-virtual-go-PR-263-1-stack-cost] [2022-02-07T11:11:55.967Z] Resource [jenkins-edgexfoundry-device-virtual-go-PR-263-1-stack-cost] did not exist. Created. [2022-02-07T11:11:55.967Z] Lock acquired on [jenkins-edgexfoundry-device-virtual-go-PR-263-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-07T11:11:56.714Z] /w/workspace/device-virtual-go/1@tmp/durable-ec614ade/script.sh: 1: /w/workspace/device-virtual-go/1@tmp/durable-ec614ade/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-07T11:11:57.407Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-07T11:11:57.442Z] Warning: overwriting stash ‘stack-cost’ [2022-02-07T11:11:57.836Z] Stashed 1 file(s) [Pipeline] } [2022-02-07T11:11:57.857Z] Lock released on resource [jenkins-edgexfoundry-device-virtual-go-PR-263-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-07T11:11:57.948Z] $ docker stop --time=1 8a6b64b2b3a532ee80867e98d58048bb8f49083a0c3383773c4c9a334d1d1c9d [2022-02-07T11:11:59.424Z] $ docker rm -f 8a6b64b2b3a532ee80867e98d58048bb8f49083a0c3383773c4c9a334d1d1c9d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-07T11:12:00.126Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-02-07T11:12:02.036Z] + '[' -d /w/workspace/foundry_device-virtual-go_PR-263/archives ']' [2022-02-07T11:12:02.036Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-263/archives [2022-02-07T11:12:02.036Z] total 8 [2022-02-07T11:12:02.036Z] drwxr-xr-x. 3 root root 34 Feb 7 11:07 . [2022-02-07T11:12:02.036Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 7 11:07 .. [2022-02-07T11:12:02.036Z] drwxr-xr-x. 2 root root 6 Feb 7 11:07 cost [2022-02-07T11:12:02.036Z] -rw-r--r--. 1 root root 88 Feb 7 11:07 cost.csv [2022-02-07T11:12:02.036Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-virtual-go_PR-263/archives [2022-02-07T11:12:02.036Z] + ls -al /w/workspace/foundry_device-virtual-go_PR-263/archives [2022-02-07T11:12:02.036Z] total 8 [2022-02-07T11:12:02.036Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 7 11:07 . [2022-02-07T11:12:02.036Z] drwxrwxr-x. 9 jenkins jenkins 4096 Feb 7 11:07 .. [2022-02-07T11:12:02.036Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 7 11:07 cost [2022-02-07T11:12:02.036Z] -rw-r--r--. 1 jenkins jenkins 88 Feb 7 11:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:12:02.368Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:12:02.960Z] ---> package-listing.sh [2022-02-07T11:12:02.960Z] ++ facter osfamily [2022-02-07T11:12:02.960Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-07T11:12:03.222Z] + OS_FAMILY=redhat [2022-02-07T11:12:03.222Z] + workspace=/w/workspace/foundry_device-virtual-go_PR-263 [2022-02-07T11:12:03.222Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-07T11:12:03.222Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-07T11:12:03.222Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-07T11:12:03.222Z] + PACKAGES=/tmp/packages_start.txt [2022-02-07T11:12:03.222Z] + '[' /w/workspace/foundry_device-virtual-go_PR-263 ']' [2022-02-07T11:12:03.222Z] + PACKAGES=/tmp/packages_end.txt [2022-02-07T11:12:03.222Z] + case "${OS_FAMILY}" in [2022-02-07T11:12:03.222Z] + rpm -qa [2022-02-07T11:12:03.222Z] + sort [2022-02-07T11:12:03.798Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-07T11:12:03.798Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-07T11:12:03.798Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-07T11:12:03.798Z] + '[' /w/workspace/foundry_device-virtual-go_PR-263 ']' [2022-02-07T11:12:03.798Z] + mkdir -p /w/workspace/foundry_device-virtual-go_PR-263/archives/ [2022-02-07T11:12:03.798Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-virtual-go_PR-263/archives/ [Pipeline] echo [2022-02-07T11:12:03.833Z] 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-263/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-07T11:12:04.131Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-07T11:12:04.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-07T11:12:04.714Z] . [Pipeline] withDockerContainer [2022-02-07T11:12:04.803Z] prd-centos7-docker-4c-2g-4765 does not seem to be running inside a container [2022-02-07T11:12:04.833Z] $ 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-263/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-263 -v /w/workspace/foundry_device-virtual-go_PR-263:/w/workspace/foundry_device-virtual-go_PR-263:rw,z -v /w/workspace/foundry_device-virtual-go_PR-263@tmp:/w/workspace/foundry_device-virtual-go_PR-263@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-07T11:12:05.050Z] $ docker top a2ff9c8becb0ec883f6a6e53fd6bce870369338c8f39e820256256c575e738e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-07T11:12:05.472Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-07T11:12:05.784Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-07T11:12:06.100Z] + ls /var/log/sa-host [2022-02-07T11:12:06.100Z] + sadf -c /var/log/sa-host/sa07 [2022-02-07T11:12:06.100Z] file_magic: OK [2022-02-07T11:12:06.100Z] HZ: Using current value: 100 [2022-02-07T11:12:06.100Z] file_header: OK [2022-02-07T11:12:06.100Z] 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 [2022-02-07T11:12:06.100Z] Statistics: [2022-02-07T11:12:06.100Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-07T11:12:06.100Z] File successfully converted to sysstat format version 12.0.3 [2022-02-07T11:12:06.100Z] + sadf -c /var/log/sa-host/sa17 [2022-02-07T11:12:06.100Z] file_magic: OK [2022-02-07T11:12:06.100Z] HZ: Using current value: 100 [2022-02-07T11:12:06.100Z] file_header: OK [2022-02-07T11:12:06.100Z] 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 [2022-02-07T11:12:06.100Z] Statistics: [2022-02-07T11:12:06.100Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-07T11:12:06.100Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-07T11:12:06.373Z] provisioning config files... [2022-02-07T11:12:06.383Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-virtual-go_PR-263@tmp/config1697697182188033480tmp [Pipeline] { [Pipeline] echo [2022-02-07T11:12:06.431Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:12:06.747Z] ---> create-netrc.sh [Pipeline] } [2022-02-07T11:12:06.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:12:07.179Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-07T11:12:07.210Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:12:07.527Z] ---> sudo-logs.sh [2022-02-07T11:12:07.527Z] Archiving 'sudo' log.. [2022-02-07T11:12:07.527Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4765.novalocal: Name or service not known [2022-02-07T11:12:07.527Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4765.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-07T11:12:07.610Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:12:07.930Z] ---> job-cost.sh [2022-02-07T11:12:07.930Z] lf-activate-venv: SKIPPING [2022-02-07T11:12:07.930Z] DEBUG: total: 0.05999999865889549 [2022-02-07T11:12:07.930Z] INFO: Retrieving Stack Cost... [2022-02-07T11:12:08.188Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-07T11:12:08.758Z] INFO: Archiving Costs [Pipeline] echo [2022-02-07T11:12:08.794Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-07T11:12:09.115Z] ---> logs-deploy.sh [2022-02-07T11:12:09.116Z] lf-activate-venv: SKIPPING [2022-02-07T11:12:09.116Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-virtual-go/PR-263/1 [2022-02-07T11:12:09.116Z] INFO: archiving workspace using pattern(s): [2022-02-07T11:12:09.685Z] Archives upload complete. [2022-02-07T11:12:09.946Z] INFO: archiving logs to Nexus