Pull request #156 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ae21353fc88158c6c7f8702ff05a21658f177a88+f3318b721e0f943881393329fd3e7443e525a415 (7150eae5decf21e7e7025ebfccd62b72ae621a07) 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-ssh14500531723655752379.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-ssh2855918775007541140.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-rest-go/branches/PR-156/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-rest-go/branches/PR-156/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12127459286476433962.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-rest-go/branches/PR-156/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3086508910523075277.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-ssh10401864159943092438.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-rest-go/branches/PR-156/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-rest-go/branches/PR-156/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15205002470366275198.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-rest-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-rest-go-settings PROJECT: device-rest-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-rest 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-5234 in /w/workspace/gexfoundry_device-rest-go_PR-156 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-156 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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/gexfoundry_device-rest-go_PR-156@tmp/jenkins-gitclient-ssh8866343033623482815.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit f3318b721e0f943881393329fd3e7443e525a415 into PR head commit ae21353fc88158c6c7f8702ff05a21658f177a88 Merge succeeded, producing ae21353fc88158c6c7f8702ff05a21658f177a88 Checking out Revision ae21353fc88158c6c7f8702ff05a21658f177a88 (PR-156) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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/gexfoundry_device-rest-go_PR-156@tmp/jenkins-gitclient-ssh3057146510240168772.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae21353fc88158c6c7f8702ff05a21658f177a88 # 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/gexfoundry_device-rest-go_PR-156@tmp/jenkins-gitclient-ssh8469677607774666622.key > git merge f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ae21353fc88158c6c7f8702ff05a21658f177a88 # 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-14T20:03:41.883Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-14T20:03:42.046Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-14T20:03:42.165Z] ========================================================= [2022-02-14T20:03:42.165Z] EdgeX Global Pipelines Version Info [2022-02-14T20:03:42.165Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:03:43.384Z] ------------------- [2022-02-14T20:03:43.384Z] stable info: [2022-02-14T20:03:43.384Z] ------------------- [2022-02-14T20:03:43.384Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-14T20:03:43.384Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-14T20:03:43.384Z] Message: update stable to v1.0.220 [2022-02-14T20:03:43.962Z] ------------------- [2022-02-14T20:03:43.962Z] experimental info: [2022-02-14T20:03:43.962Z] ------------------- [2022-02-14T20:03:43.962Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-14T20:03:43.962Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-14T20:03:43.962Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-14T20:03:44.225Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-02-14T20:03:44.264Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-02-14T20:03:44.304Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-14T20:03:44.345Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-14T20:03:44.393Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-14T20:03:44.436Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-14T20:03:44.475Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-14T20:03:44.514Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-02-14T20:03:44.551Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-14T20:03:44.588Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-14T20:03:44.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-14T20:03:44.675Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-02-14T20:03:44.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-14T20:03:44.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-14T20:03:44.793Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-14T20:03:44.835Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-02-14T20:03:44.877Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-14T20:03:44.918Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-14T20:03:44.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-14T20:03:44.996Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-14T20:03:45.042Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-02-14T20:03:45.083Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-02-14T20:03:45.122Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-14T20:03:45.162Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-14T20:03:45.226Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-14T20:03:45.292Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-14T20:03:45.334Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-156 [Pipeline] echo [2022-02-14T20:03:45.375Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-156 [Pipeline] echo [2022-02-14T20:03:45.414Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-156 [Pipeline] echo [2022-02-14T20:03:45.456Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ae21353fc88158c6c7f8702ff05a21658f177a88 [Pipeline] echo [2022-02-14T20:03:45.493Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ae21353 [Pipeline] echo [2022-02-14T20:03:45.534Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-14T20:03:45.644Z] provisioning config files... [2022-02-14T20:03:45.659Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-156@tmp/config111778847569658782tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:03:46.008Z] ---> docker-login.sh [2022-02-14T20:03:46.008Z] nexus3.edgexfoundry.org:10001 [2022-02-14T20:03:46.008Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:03:46.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:03:46.275Z] Configure a credential helper to remove this warning. See [2022-02-14T20:03:46.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:03:46.275Z] [2022-02-14T20:03:46.275Z] Login Succeeded [2022-02-14T20:03:46.275Z] nexus3.edgexfoundry.org:10002 [2022-02-14T20:03:46.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:03:46.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:03:46.275Z] Configure a credential helper to remove this warning. See [2022-02-14T20:03:46.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:03:46.275Z] [2022-02-14T20:03:46.275Z] Login Succeeded [2022-02-14T20:03:46.275Z] nexus3.edgexfoundry.org:10003 [2022-02-14T20:03:46.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:03:46.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:03:46.275Z] Configure a credential helper to remove this warning. See [2022-02-14T20:03:46.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:03:46.275Z] [2022-02-14T20:03:46.275Z] Login Succeeded [2022-02-14T20:03:46.275Z] nexus3.edgexfoundry.org:10004 [2022-02-14T20:03:46.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:03:46.539Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:03:46.539Z] Configure a credential helper to remove this warning. See [2022-02-14T20:03:46.539Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:03:46.539Z] [2022-02-14T20:03:46.539Z] Login Succeeded [2022-02-14T20:03:46.539Z] docker.io [2022-02-14T20:03:46.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:03:47.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:03:47.126Z] Configure a credential helper to remove this warning. See [2022-02-14T20:03:47.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:03:47.126Z] [2022-02-14T20:03:47.126Z] Login Succeeded [2022-02-14T20:03:47.126Z] ---> docker-login.sh ends [Pipeline] } [2022-02-14T20:03:47.153Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-14T20:03:47.749Z] + git rev-list -1 --merges ae21353fc88158c6c7f8702ff05a21658f177a88~1..ae21353fc88158c6c7f8702ff05a21658f177a88 [Pipeline] echo [2022-02-14T20:03:47.793Z] -----------> git rev-list -1 --merges ae21353fc88158c6c7f8702ff05a21658f177a88~1..ae21353fc88158c6c7f8702ff05a21658f177a88 ae21353fc88158c6c7f8702ff05a21658f177a88 [false] [Pipeline] sh [2022-02-14T20:03:48.113Z] + git log --format=format:%s -1 ae21353fc88158c6c7f8702ff05a21658f177a88 [Pipeline] echo [2022-02-14T20:03:48.153Z] ========================================================= [2022-02-14T20:03:48.153Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-14T20:03:48.153Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-14T20:03:48.585Z] + git log --format=format:%s -1 ae21353fc88158c6c7f8702ff05a21658f177a88 [Pipeline] echo [2022-02-14T20:03:48.620Z] [semverPrep] GIT_COMMIT: ae21353fc88158c6c7f8702ff05a21658f177a88, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-02-14T20:03:48.655Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-14T20:03:49.121Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-14T20:03:49.121Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-14T20:03:49.121Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-14T20:03:49.121Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-14T20:03:49.121Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-14T20:03:49.121Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-14T20:03:49.121Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-14T20:03:49.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-14T20:03:49.599Z] [2022-02-14T20:03:49.599Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T20:03:49.946Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-14T20:03:49.946Z] latest: Pulling from edgex-devops/git-semver [2022-02-14T20:03:49.946Z] a0d0a0d46f8b: Pulling fs layer [2022-02-14T20:03:49.946Z] 3e5f54012d9b: Pulling fs layer [2022-02-14T20:03:49.946Z] 4c7163046ea9: Pulling fs layer [2022-02-14T20:03:49.946Z] 0c2d73faf560: Pulling fs layer [2022-02-14T20:03:49.946Z] 0c2d73faf560: Waiting [2022-02-14T20:03:49.946Z] 3e5f54012d9b: Verifying Checksum [2022-02-14T20:03:49.946Z] 3e5f54012d9b: Download complete [2022-02-14T20:03:49.946Z] a0d0a0d46f8b: Verifying Checksum [2022-02-14T20:03:49.946Z] a0d0a0d46f8b: Download complete [2022-02-14T20:03:49.946Z] 0c2d73faf560: Verifying Checksum [2022-02-14T20:03:49.946Z] 0c2d73faf560: Download complete [2022-02-14T20:03:49.946Z] 4c7163046ea9: Verifying Checksum [2022-02-14T20:03:49.946Z] 4c7163046ea9: Download complete [2022-02-14T20:03:50.215Z] a0d0a0d46f8b: Pull complete [2022-02-14T20:03:50.215Z] 3e5f54012d9b: Pull complete [2022-02-14T20:03:50.483Z] 4c7163046ea9: Pull complete [2022-02-14T20:03:50.751Z] 0c2d73faf560: Pull complete [2022-02-14T20:03:50.751Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-14T20:03:50.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-14T20:03:50.751Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-14T20:03:50.852Z] prd-centos7-docker-4c-2g-5234 does not seem to be running inside a container [2022-02-14T20:03:50.870Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-156 -v /w/workspace/gexfoundry_device-rest-go_PR-156:/w/workspace/gexfoundry_device-rest-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-156@tmp:/w/workspace/gexfoundry_device-rest-go_PR-156@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2022-02-14T20:03:51.394Z] $ docker top 4cf7151b9270d1686f7c48df98054b2d57052a864c29c4bdb9170acf7d1f2e48 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-14T20:03:51.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-14T20:03:51.568Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-14T20:03:51.669Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-14T20:03:51.669Z] $ docker exec 4cf7151b9270d1686f7c48df98054b2d57052a864c29c4bdb9170acf7d1f2e48 ssh-agent [2022-02-14T20:03:51.768Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEAleLg/agent.14 [2022-02-14T20:03:51.768Z] SSH_AGENT_PID=20 [2022-02-14T20:03:51.775Z] Running ssh-add (command line suppressed) [2022-02-14T20:03:51.855Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-156@tmp/private_key_2706815081864718646.key (/w/workspace/gexfoundry_device-rest-go_PR-156@tmp/private_key_2706815081864718646.key) [2022-02-14T20:03:51.870Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-14T20:03:52.210Z] + git tag --points-at HEAD [Pipeline] } [2022-02-14T20:03:52.230Z] $ docker exec --env ******** --env ******** 4cf7151b9270d1686f7c48df98054b2d57052a864c29c4bdb9170acf7d1f2e48 ssh-agent -k [2022-02-14T20:03:52.318Z] unset SSH_AUTH_SOCK; [2022-02-14T20:03:52.318Z] unset SSH_AGENT_PID; [2022-02-14T20:03:52.318Z] echo Agent pid 20 killed; [2022-02-14T20:03:52.331Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-14T20:03:52.419Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-14T20:03:52.419Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-14T20:03:52.521Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-14T20:03:52.519Z] $ docker exec 4cf7151b9270d1686f7c48df98054b2d57052a864c29c4bdb9170acf7d1f2e48 ssh-agent [2022-02-14T20:03:52.615Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpCnaFO/agent.53 [2022-02-14T20:03:52.615Z] SSH_AGENT_PID=60 [2022-02-14T20:03:52.621Z] Running ssh-add (command line suppressed) [2022-02-14T20:03:52.712Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-156@tmp/private_key_2766368989119536527.key (/w/workspace/gexfoundry_device-rest-go_PR-156@tmp/private_key_2766368989119536527.key) [2022-02-14T20:03:52.732Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-14T20:03:53.070Z] + git semver init [2022-02-14T20:03:53.070Z] # -> Open(): unable to determine branch for HEAD [2022-02-14T20:03:53.071Z] # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-156/.git [2022-02-14T20:03:53.071Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-156 [2022-02-14T20:03:53.071Z] # $SEMVER_REMOTE_NAME = origin [2022-02-14T20:03:53.071Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-14T20:03:53.071Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-14T20:03:53.071Z] # $SEMVER_BRANCH = PR-156 [2022-02-14T20:03:53.071Z] # $SEMVER_TEMP = /tmp/semver-517690278 [2022-02-14T20:03:53.071Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-02-14T20:03:54.457Z] # '/tmp/semver-517690278' -> '/w/workspace/gexfoundry_device-rest-go_PR-156/.semver' [2022-02-14T20:03:54.457Z] # -> Force: false [2022-02-14T20:03:54.457Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-156/.semver [Pipeline] } [2022-02-14T20:03:54.479Z] $ docker exec --env ******** --env ******** 4cf7151b9270d1686f7c48df98054b2d57052a864c29c4bdb9170acf7d1f2e48 ssh-agent -k [2022-02-14T20:03:54.590Z] unset SSH_AUTH_SOCK; [2022-02-14T20:03:54.591Z] unset SSH_AGENT_PID; [2022-02-14T20:03:54.591Z] echo Agent pid 60 killed; [2022-02-14T20:03:54.604Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-14T20:03:55.033Z] + git semver [Pipeline] } [2022-02-14T20:03:55.060Z] $ docker stop --time=1 4cf7151b9270d1686f7c48df98054b2d57052a864c29c4bdb9170acf7d1f2e48 [2022-02-14T20:03:56.301Z] $ docker rm -f 4cf7151b9270d1686f7c48df98054b2d57052a864c29c4bdb9170acf7d1f2e48 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-14T20:03:56.718Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-14T20:03:57.011Z] Stashed 1 file(s) [Pipeline] echo [2022-02-14T20:03:57.029Z] [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-14T20:03:57.667Z] provisioning config files... [2022-02-14T20:03:57.678Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-156@tmp/config7439544030386946869tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:03:58.031Z] ---> docker-login.sh [2022-02-14T20:03:58.031Z] nexus3.edgexfoundry.org:10001 [2022-02-14T20:03:58.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:03:58.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:03:58.031Z] Configure a credential helper to remove this warning. See [2022-02-14T20:03:58.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:03:58.031Z] [2022-02-14T20:03:58.031Z] Login Succeeded [2022-02-14T20:03:58.031Z] nexus3.edgexfoundry.org:10002 [2022-02-14T20:03:58.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:03:58.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:03:58.031Z] Configure a credential helper to remove this warning. See [2022-02-14T20:03:58.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:03:58.031Z] [2022-02-14T20:03:58.031Z] Login Succeeded [2022-02-14T20:03:58.031Z] nexus3.edgexfoundry.org:10003 [2022-02-14T20:03:58.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:03:58.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:03:58.290Z] Configure a credential helper to remove this warning. See [2022-02-14T20:03:58.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:03:58.290Z] [2022-02-14T20:03:58.290Z] Login Succeeded [2022-02-14T20:03:58.290Z] nexus3.edgexfoundry.org:10004 [2022-02-14T20:03:58.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:03:58.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:03:58.290Z] Configure a credential helper to remove this warning. See [2022-02-14T20:03:58.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:03:58.290Z] [2022-02-14T20:03:58.290Z] Login Succeeded [2022-02-14T20:03:58.290Z] docker.io [2022-02-14T20:03:58.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:03:58.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:03:58.860Z] Configure a credential helper to remove this warning. See [2022-02-14T20:03:58.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:03:58.860Z] [2022-02-14T20:03:58.860Z] Login Succeeded [2022-02-14T20:03:58.860Z] ---> docker-login.sh ends [Pipeline] } [2022-02-14T20:03:58.892Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-14T20:03:59.083Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-14T20:03:59.115Z] ========================================================= [2022-02-14T20:03:59.115Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-14T20:03:59.115Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-14T20:03:59.533Z] + 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-14T20:03:59.533Z] Sending build context to Docker daemon 10.55MB [2022-02-14T20:03:59.533Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-14T20:03:59.533Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-14T20:03:59.533Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-14T20:03:59.533Z] 59bf1c3509f3: Pulling fs layer [2022-02-14T20:03:59.533Z] 666ba61612fd: Pulling fs layer [2022-02-14T20:03:59.533Z] 8ed8ca486205: Pulling fs layer [2022-02-14T20:03:59.533Z] 4fe6c5a15a65: Pulling fs layer [2022-02-14T20:03:59.533Z] 22a0e8bec74d: Pulling fs layer [2022-02-14T20:03:59.533Z] 640e595b4fbd: Pulling fs layer [2022-02-14T20:03:59.533Z] 763cafe07f6e: Pulling fs layer [2022-02-14T20:03:59.533Z] 0c0b528cf693: Pulling fs layer [2022-02-14T20:03:59.533Z] 10935f4eaf8b: Pulling fs layer [2022-02-14T20:03:59.533Z] 22a0e8bec74d: Waiting [2022-02-14T20:03:59.533Z] 640e595b4fbd: Waiting [2022-02-14T20:03:59.533Z] 763cafe07f6e: Waiting [2022-02-14T20:03:59.533Z] 0c0b528cf693: Waiting [2022-02-14T20:03:59.533Z] 10935f4eaf8b: Waiting [2022-02-14T20:03:59.533Z] 4fe6c5a15a65: Waiting [2022-02-14T20:03:59.813Z] 8ed8ca486205: Verifying Checksum [2022-02-14T20:03:59.813Z] 8ed8ca486205: Download complete [2022-02-14T20:03:59.813Z] 666ba61612fd: Verifying Checksum [2022-02-14T20:03:59.813Z] 666ba61612fd: Download complete [2022-02-14T20:03:59.813Z] 22a0e8bec74d: Verifying Checksum [2022-02-14T20:03:59.813Z] 22a0e8bec74d: Download complete [2022-02-14T20:03:59.813Z] 640e595b4fbd: Verifying Checksum [2022-02-14T20:03:59.813Z] 640e595b4fbd: Download complete [2022-02-14T20:03:59.813Z] 59bf1c3509f3: Verifying Checksum [2022-02-14T20:03:59.813Z] 59bf1c3509f3: Download complete [2022-02-14T20:03:59.813Z] 763cafe07f6e: Verifying Checksum [2022-02-14T20:03:59.813Z] 763cafe07f6e: Download complete [2022-02-14T20:03:59.813Z] 0c0b528cf693: Verifying Checksum [2022-02-14T20:03:59.813Z] 0c0b528cf693: Download complete [2022-02-14T20:04:00.415Z] 10935f4eaf8b: Verifying Checksum [2022-02-14T20:04:00.415Z] 10935f4eaf8b: Download complete [2022-02-14T20:04:00.415Z] 4fe6c5a15a65: Verifying Checksum [2022-02-14T20:04:00.415Z] 4fe6c5a15a65: Download complete [2022-02-14T20:04:00.415Z] 59bf1c3509f3: Pull complete [2022-02-14T20:04:00.415Z] 666ba61612fd: Pull complete [2022-02-14T20:04:00.415Z] 8ed8ca486205: Pull complete [2022-02-14T20:04:05.750Z] 4fe6c5a15a65: Pull complete [2022-02-14T20:04:05.750Z] 22a0e8bec74d: Pull complete [2022-02-14T20:04:05.750Z] 640e595b4fbd: Pull complete [2022-02-14T20:04:05.750Z] 763cafe07f6e: Pull complete [2022-02-14T20:04:05.750Z] 0c0b528cf693: Pull complete [2022-02-14T20:04:07.673Z] 10935f4eaf8b: Pull complete [2022-02-14T20:04:07.673Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-14T20:04:07.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-14T20:04:07.673Z] ---> 99d49a6021b9 [2022-02-14T20:04:07.673Z] Step 3/12 : ARG MAKE='make build' [2022-02-14T20:04:09.585Z] ---> Running in 754b35a86335 [2022-02-14T20:04:09.585Z] Removing intermediate container 754b35a86335 [2022-02-14T20:04:09.585Z] ---> 403a6af34a5f [2022-02-14T20:04:09.585Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-14T20:04:09.585Z] ---> Running in de6d4aacff9d [2022-02-14T20:04:09.585Z] Removing intermediate container de6d4aacff9d [2022-02-14T20:04:09.585Z] ---> e475440f9c4e [2022-02-14T20:04:09.585Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-14T20:04:09.585Z] ---> Running in 956bdfb91f38 [2022-02-14T20:04:09.585Z] Removing intermediate container 956bdfb91f38 [2022-02-14T20:04:09.585Z] ---> 1c632f6bb2ff [2022-02-14T20:04:09.585Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-14T20:04:09.585Z] ---> Running in 0e23ddf8f45c [2022-02-14T20:04:09.855Z] Removing intermediate container 0e23ddf8f45c [2022-02-14T20:04:09.855Z] ---> 16550d50eb29 [2022-02-14T20:04:09.855Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-14T20:04:09.855Z] ---> Running in a48f651d0f69 [2022-02-14T20:04:10.114Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-14T20:04:12.501Z] Still waiting to schedule task [2022-02-14T20:04:12.502Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2022-02-14T20:04:13.413Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-14T20:04:13.987Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-14T20:04:13.987Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-14T20:04:13.987Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-14T20:04:14.252Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-14T20:04:14.252Z] Executing busybox-1.34.1-r3.trigger [2022-02-14T20:04:14.252Z] OK: 224 MiB in 56 packages [2022-02-14T20:04:14.514Z] Removing intermediate container a48f651d0f69 [2022-02-14T20:04:14.514Z] ---> e64c058be9e5 [2022-02-14T20:04:14.514Z] Step 8/12 : WORKDIR /device-rest-go [2022-02-14T20:04:14.514Z] ---> Running in f29fa8713db1 [2022-02-14T20:04:14.785Z] Removing intermediate container f29fa8713db1 [2022-02-14T20:04:14.785Z] ---> 6b6d18c3dc11 [2022-02-14T20:04:14.785Z] Step 9/12 : COPY go.mod vendor* ./ [2022-02-14T20:04:14.785Z] ---> 45432f93583d [2022-02-14T20:04:14.785Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-14T20:04:14.785Z] ---> Running in e952b86faffb [2022-02-14T20:04:53.566Z] Removing intermediate container e952b86faffb [2022-02-14T20:04:53.566Z] ---> 50602b7baca0 [2022-02-14T20:04:53.566Z] Step 11/12 : COPY . . [2022-02-14T20:04:53.566Z] ---> e0c3fbaa8ecc [2022-02-14T20:04:53.566Z] Step 12/12 : RUN $MAKE [2022-02-14T20:04:53.566Z] ---> Running in f6923739e212 [2022-02-14T20:04:53.566Z] noop [2022-02-14T20:04:53.567Z] Removing intermediate container f6923739e212 [2022-02-14T20:04:53.567Z] ---> bf4563506939 [2022-02-14T20:04:53.567Z] Successfully built bf4563506939 [2022-02-14T20:04:53.567Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T20:04:53.904Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-14T20:04:53.904Z] . [Pipeline] withDockerContainer [2022-02-14T20:04:53.992Z] prd-centos7-docker-4c-2g-5234 does not seem to be running inside a container [2022-02-14T20:04:54.022Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-156 -v /w/workspace/gexfoundry_device-rest-go_PR-156:/w/workspace/gexfoundry_device-rest-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-156@tmp:/w/workspace/gexfoundry_device-rest-go_PR-156@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-x86_64 cat [2022-02-14T20:04:54.360Z] $ docker top 5a0d6d18daca6960bc977f3edb3d36c576b413a1c01dd683d4f75070f2b436d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-14T20:04:54.766Z] + go version [2022-02-14T20:04:54.766Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-14T20:04:54.793Z] $ docker stop --time=1 5a0d6d18daca6960bc977f3edb3d36c576b413a1c01dd683d4f75070f2b436d0 [2022-02-14T20:04:55.980Z] $ docker rm -f 5a0d6d18daca6960bc977f3edb3d36c576b413a1c01dd683d4f75070f2b436d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-14T20:04:56.662Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-14T20:04:56.663Z] . [Pipeline] withDockerContainer [2022-02-14T20:04:56.751Z] prd-centos7-docker-4c-2g-5234 does not seem to be running inside a container [2022-02-14T20:04:56.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-156 -v /w/workspace/gexfoundry_device-rest-go_PR-156:/w/workspace/gexfoundry_device-rest-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-156@tmp:/w/workspace/gexfoundry_device-rest-go_PR-156@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-x86_64 cat [2022-02-14T20:04:57.122Z] $ docker top 894c3e6ac34c005696c5bf4ffefba107215d96ef4ee9bba58d3e7138e307f2a8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-14T20:04:57.586Z] + make test [2022-02-14T20:04:57.586Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-14T20:04:57.852Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-02-14T20:05:06.114Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-02-14T20:05:06.114Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-02-14T20:05:06.114Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-02-14T20:05:06.114Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-02-14T20:05:06.114Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-02-14T20:05:06.114Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-02-14T20:05:11.430Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2022-02-14T20:05:11.430Z] make: *** [Makefile:27: test] Error 2 [Pipeline] } [2022-02-14T20:05:11.469Z] $ docker stop --time=1 894c3e6ac34c005696c5bf4ffefba107215d96ef4ee9bba58d3e7138e307f2a8 [2022-02-14T20:05:12.929Z] $ docker rm -f 894c3e6ac34c005696c5bf4ffefba107215d96ef4ee9bba58d3e7138e307f2a8 [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-14T20:05:14.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T20:05:14.025Z] [2022-02-14T20:05:14.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T20:05:14.377Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T20:05:14.377Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-14T20:05:14.377Z] b4d181a07f80: Pulling fs layer [2022-02-14T20:05:14.377Z] a1111a8f2ec3: Pulling fs layer [2022-02-14T20:05:14.377Z] ed53099fbce6: Pulling fs layer [2022-02-14T20:05:14.377Z] dc539afda2c1: Pulling fs layer [2022-02-14T20:05:14.377Z] 77bc0d833cb6: Pulling fs layer [2022-02-14T20:05:14.377Z] 9065ff56babe: Pulling fs layer [2022-02-14T20:05:14.377Z] d287ab97295c: Pulling fs layer [2022-02-14T20:05:14.377Z] dc539afda2c1: Waiting [2022-02-14T20:05:14.377Z] 77bc0d833cb6: Waiting [2022-02-14T20:05:14.377Z] 9065ff56babe: Waiting [2022-02-14T20:05:14.377Z] d287ab97295c: Waiting [2022-02-14T20:05:14.377Z] a1111a8f2ec3: Verifying Checksum [2022-02-14T20:05:14.377Z] a1111a8f2ec3: Download complete [2022-02-14T20:05:14.377Z] dc539afda2c1: Verifying Checksum [2022-02-14T20:05:14.377Z] dc539afda2c1: Download complete [2022-02-14T20:05:14.643Z] ed53099fbce6: Verifying Checksum [2022-02-14T20:05:14.643Z] ed53099fbce6: Download complete [2022-02-14T20:05:14.643Z] 9065ff56babe: Verifying Checksum [2022-02-14T20:05:14.643Z] 9065ff56babe: Download complete [2022-02-14T20:05:14.643Z] 77bc0d833cb6: Verifying Checksum [2022-02-14T20:05:14.643Z] 77bc0d833cb6: Download complete [2022-02-14T20:05:14.643Z] b4d181a07f80: Verifying Checksum [2022-02-14T20:05:14.643Z] b4d181a07f80: Download complete [2022-02-14T20:05:15.223Z] d287ab97295c: Verifying Checksum [2022-02-14T20:05:15.223Z] d287ab97295c: Download complete [2022-02-14T20:05:16.166Z] b4d181a07f80: Pull complete [2022-02-14T20:05:16.166Z] a1111a8f2ec3: Pull complete [2022-02-14T20:05:16.757Z] ed53099fbce6: Pull complete [2022-02-14T20:05:16.757Z] dc539afda2c1: Pull complete [2022-02-14T20:05:17.029Z] 77bc0d833cb6: Pull complete [2022-02-14T20:05:17.029Z] 9065ff56babe: Pull complete [2022-02-14T20:05:22.365Z] d287ab97295c: Pull complete [2022-02-14T20:05:22.365Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-14T20:05:22.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T20:05:22.365Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-14T20:05:22.455Z] prd-centos7-docker-4c-2g-5234 does not seem to be running inside a container [2022-02-14T20:05:22.489Z] $ 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/gexfoundry_device-rest-go_PR-156 -v /w/workspace/gexfoundry_device-rest-go_PR-156:/w/workspace/gexfoundry_device-rest-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-156@tmp:/w/workspace/gexfoundry_device-rest-go_PR-156@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:latest cat [2022-02-14T20:05:24.763Z] $ docker top 89f0f03c2c2e4ae9d85710b754f6837dc8dd70c39f97fdc039478ea3cf48fc4a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:05:25.278Z] ---> job-cost.sh [2022-02-14T20:05:25.279Z] lf-activate-venv: SKIPPING [2022-02-14T20:05:25.279Z] INFO: No Stack... [2022-02-14T20:05:25.539Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-14T20:05:25.799Z] INFO: Archiving Costs [Pipeline] sh [2022-02-14T20:05:26.114Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-156/archives/cost.csv [2022-02-14T20:05:26.114Z] + cut -d, -f6 [Pipeline] lock [2022-02-14T20:05:26.152Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-156-1-stack-cost] [2022-02-14T20:05:26.157Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-156-1-stack-cost] did not exist. Created. [2022-02-14T20:05:26.157Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-156-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-14T20:05:26.547Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-14T20:05:26.599Z] Stashed 1 file(s) [Pipeline] } [2022-02-14T20:05:26.621Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-156-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-14T20:05:26.696Z] $ docker stop --time=1 89f0f03c2c2e4ae9d85710b754f6837dc8dd70c39f97fdc039478ea3cf48fc4a [2022-02-14T20:05:27.825Z] $ docker rm -f 89f0f03c2c2e4ae9d85710b754f6837dc8dd70c39f97fdc039478ea3cf48fc4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-14T20:05:28.302Z] Failed in branch amd64 [2022-02-14T20:05:47.029Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-5236 in /w/workspace/gexfoundry_device-rest-go_PR-156 [Pipeline] { [Pipeline] ws [2022-02-14T20:05:47.070Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-02-14T20:05:47.305Z] The recommended git tool is: git [2022-02-14T20:05:52.370Z] using credential edgex-jenkins-ssh [2022-02-14T20:05:52.388Z] Cloning the remote Git repository [2022-02-14T20:05:52.452Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-02-14T20:05:52.534Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-02-14T20:05:52.633Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-02-14T20:05:52.634Z] > git --version # timeout=10 [2022-02-14T20:05:52.660Z] > git --version # 'git version 2.17.1' [2022-02-14T20:05:52.662Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-14T20:05:52.744Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-14T20:05:54.660Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-02-14T20:05:54.689Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-14T20:05:54.715Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-02-14T20:05:55.444Z] Merging remotes/origin/main commit f3318b721e0f943881393329fd3e7443e525a415 into PR head commit ae21353fc88158c6c7f8702ff05a21658f177a88 [2022-02-14T20:05:55.628Z] Merge succeeded, producing ae21353fc88158c6c7f8702ff05a21658f177a88 [2022-02-14T20:05:55.628Z] Checking out Revision ae21353fc88158c6c7f8702ff05a21658f177a88 (PR-156) [2022-02-14T20:05:54.814Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-02-14T20:05:54.824Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-14T20:05:54.848Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/156/head:refs/remotes/origin/PR-156 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-14T20:05:55.466Z] > git config core.sparsecheckout # timeout=10 [2022-02-14T20:05:55.483Z] > git checkout -f ae21353fc88158c6c7f8702ff05a21658f177a88 # timeout=10 [2022-02-14T20:05:55.559Z] > git remote # timeout=10 [2022-02-14T20:05:55.575Z] > git config --get remote.origin.url # timeout=10 [2022-02-14T20:05:55.587Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-14T20:05:55.598Z] > git merge f3318b721e0f943881393329fd3e7443e525a415 # timeout=10 [2022-02-14T20:05:55.618Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-14T20:05:55.637Z] > git config core.sparsecheckout # timeout=10 [2022-02-14T20:05:55.647Z] > git checkout -f ae21353fc88158c6c7f8702ff05a21658f177a88 # timeout=10 [2022-02-14T20:05:59.792Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-02-14T20:05:59.851Z] > git --version # timeout=10 [2022-02-14T20:05:59.866Z] > git --version # 'git version 2.17.1' [2022-02-14T20:05:59.882Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-14T20:06:00.985Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-14T20:06:00.985Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-14T20:06:00.985Z] Dload Upload Total Spent Left Speed [2022-02-14T20:06:00.985Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 78953 0 --:--:-- --:--:-- --:--:-- 79483 [Pipeline] sh [2022-02-14T20:06:01.521Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-14T20:06:01.879Z] + sudo tee /etc/docker/daemon.new [2022-02-14T20:06:01.879Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-14T20:06:01.879Z] { [2022-02-14T20:06:01.879Z] "registry-mirrors": [ [2022-02-14T20:06:01.879Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-14T20:06:01.879Z] ], [2022-02-14T20:06:01.879Z] "bip": "10.250.0.254/24", [2022-02-14T20:06:01.879Z] "hosts": [ [2022-02-14T20:06:01.879Z] "tcp://0.0.0.0:5555", [2022-02-14T20:06:01.879Z] "unix:///var/run/docker.sock" [2022-02-14T20:06:01.879Z] ], [2022-02-14T20:06:01.879Z] "mtu": 1458, [2022-02-14T20:06:01.879Z] "selinux-enabled": true, [2022-02-14T20:06:01.879Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-14T20:06:01.879Z] } [Pipeline] sh [2022-02-14T20:06:02.304Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-14T20:06:02.665Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-14T20:06:21.069Z] provisioning config files... [2022-02-14T20:06:21.096Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config8260346484315687353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:06:21.672Z] ---> docker-login.sh [2022-02-14T20:06:21.672Z] nexus3.edgexfoundry.org:10001 [2022-02-14T20:06:22.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:06:22.548Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:06:22.548Z] Configure a credential helper to remove this warning. See [2022-02-14T20:06:22.548Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:06:22.548Z] [2022-02-14T20:06:22.548Z] Login Succeeded [2022-02-14T20:06:22.548Z] nexus3.edgexfoundry.org:10002 [2022-02-14T20:06:22.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:06:23.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:06:23.101Z] Configure a credential helper to remove this warning. See [2022-02-14T20:06:23.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:06:23.101Z] [2022-02-14T20:06:23.101Z] Login Succeeded [2022-02-14T20:06:23.101Z] nexus3.edgexfoundry.org:10003 [2022-02-14T20:06:23.381Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:06:23.666Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:06:23.666Z] Configure a credential helper to remove this warning. See [2022-02-14T20:06:23.666Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:06:23.666Z] [2022-02-14T20:06:23.666Z] Login Succeeded [2022-02-14T20:06:23.666Z] nexus3.edgexfoundry.org:10004 [2022-02-14T20:06:23.940Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:06:23.940Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:06:23.940Z] Configure a credential helper to remove this warning. See [2022-02-14T20:06:23.940Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:06:23.940Z] [2022-02-14T20:06:23.940Z] Login Succeeded [2022-02-14T20:06:23.940Z] docker.io [2022-02-14T20:06:24.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-14T20:06:24.810Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-14T20:06:24.810Z] Configure a credential helper to remove this warning. See [2022-02-14T20:06:24.810Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-14T20:06:24.810Z] [2022-02-14T20:06:24.810Z] Login Succeeded [2022-02-14T20:06:24.810Z] ---> docker-login.sh ends [Pipeline] } [2022-02-14T20:06:24.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-14T20:06:25.310Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-14T20:06:25.341Z] ========================================================= [2022-02-14T20:06:25.341Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-14T20:06:25.341Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-14T20:06:25.794Z] + 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-14T20:06:25.794Z] Sending build context to Docker daemon 124.4kB [2022-02-14T20:06:26.068Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-02-14T20:06:26.068Z] Step 2/12 : FROM ${BASE} AS builder [2022-02-14T20:06:26.346Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-14T20:06:26.346Z] 9b3977197b4f: Pulling fs layer [2022-02-14T20:06:26.346Z] 1a89e8eeedd5: Pulling fs layer [2022-02-14T20:06:26.346Z] 94645a83ff95: Pulling fs layer [2022-02-14T20:06:26.346Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-14T20:06:26.346Z] 0c92f367c5e7: Pulling fs layer [2022-02-14T20:06:26.346Z] f7c0051592d6: Pulling fs layer [2022-02-14T20:06:26.346Z] a227ed2f7395: Pulling fs layer [2022-02-14T20:06:26.346Z] 7b1c46037f91: Pulling fs layer [2022-02-14T20:06:26.346Z] 3f3a8bcf1eab: Waiting [2022-02-14T20:06:26.346Z] 0c92f367c5e7: Waiting [2022-02-14T20:06:26.346Z] f7c0051592d6: Waiting [2022-02-14T20:06:26.346Z] a227ed2f7395: Waiting [2022-02-14T20:06:26.346Z] 7b1c46037f91: Waiting [2022-02-14T20:06:26.346Z] 94645a83ff95: Verifying Checksum [2022-02-14T20:06:26.346Z] 94645a83ff95: Download complete [2022-02-14T20:06:26.346Z] 1a89e8eeedd5: Verifying Checksum [2022-02-14T20:06:26.346Z] 1a89e8eeedd5: Download complete [2022-02-14T20:06:26.346Z] 0c92f367c5e7: Verifying Checksum [2022-02-14T20:06:26.346Z] 0c92f367c5e7: Download complete [2022-02-14T20:06:26.346Z] f7c0051592d6: Verifying Checksum [2022-02-14T20:06:26.346Z] f7c0051592d6: Download complete [2022-02-14T20:06:26.346Z] 9b3977197b4f: Verifying Checksum [2022-02-14T20:06:26.346Z] 9b3977197b4f: Download complete [2022-02-14T20:06:26.346Z] a227ed2f7395: Verifying Checksum [2022-02-14T20:06:26.346Z] a227ed2f7395: Download complete [2022-02-14T20:06:27.335Z] 9b3977197b4f: Pull complete [2022-02-14T20:06:27.936Z] 1a89e8eeedd5: Pull complete [2022-02-14T20:06:28.209Z] 94645a83ff95: Pull complete [2022-02-14T20:06:28.485Z] 7b1c46037f91: Verifying Checksum [2022-02-14T20:06:28.485Z] 7b1c46037f91: Download complete [2022-02-14T20:06:28.759Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-14T20:06:28.759Z] 3f3a8bcf1eab: Download complete [2022-02-14T20:06:41.163Z] 3f3a8bcf1eab: Pull complete [2022-02-14T20:06:41.163Z] 0c92f367c5e7: Pull complete [2022-02-14T20:06:41.163Z] f7c0051592d6: Pull complete [2022-02-14T20:06:41.163Z] a227ed2f7395: Pull complete [2022-02-14T20:06:46.574Z] 7b1c46037f91: Pull complete [2022-02-14T20:06:46.574Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-14T20:06:46.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-14T20:06:46.574Z] ---> f79e39bc4007 [2022-02-14T20:06:46.574Z] Step 3/12 : ARG MAKE='make build' [2022-02-14T20:06:48.556Z] ---> Running in 365320928b12 [2022-02-14T20:06:48.830Z] Removing intermediate container 365320928b12 [2022-02-14T20:06:48.830Z] ---> bbcd5c8fac95 [2022-02-14T20:06:48.830Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-02-14T20:06:49.105Z] ---> Running in 2a30fb3e665b [2022-02-14T20:06:49.377Z] Removing intermediate container 2a30fb3e665b [2022-02-14T20:06:49.377Z] ---> afe5a75e37c7 [2022-02-14T20:06:49.377Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-02-14T20:06:49.377Z] ---> Running in ce7cb3997251 [2022-02-14T20:06:49.977Z] Removing intermediate container ce7cb3997251 [2022-02-14T20:06:49.977Z] ---> ab527fe4035b [2022-02-14T20:06:49.977Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-14T20:06:50.250Z] ---> Running in 36d90bd7ae23 [2022-02-14T20:06:52.218Z] Removing intermediate container 36d90bd7ae23 [2022-02-14T20:06:52.218Z] ---> 5dc5e08758bd [2022-02-14T20:06:52.218Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-02-14T20:06:52.218Z] ---> Running in 28e287578c7f [2022-02-14T20:06:53.195Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-14T20:06:54.164Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-14T20:06:55.138Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-02-14T20:06:55.414Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-02-14T20:06:55.414Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-02-14T20:06:55.685Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-02-14T20:06:55.955Z] Executing busybox-1.34.1-r3.trigger [2022-02-14T20:06:55.955Z] OK: 224 MiB in 56 packages [2022-02-14T20:06:56.934Z] Removing intermediate container 28e287578c7f [2022-02-14T20:06:56.934Z] ---> 6ca4441c2adf [2022-02-14T20:06:56.934Z] Step 8/12 : WORKDIR /device-rest-go [2022-02-14T20:06:57.208Z] ---> Running in 2fa51449947b [2022-02-14T20:06:57.486Z] Removing intermediate container 2fa51449947b [2022-02-14T20:06:57.486Z] ---> bdc874dfd753 [2022-02-14T20:06:57.486Z] Step 9/12 : COPY go.mod vendor* ./ [2022-02-14T20:06:58.088Z] ---> 0fde48023d4d [2022-02-14T20:06:58.089Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-14T20:06:58.089Z] ---> Running in 986a14d20897 [2022-02-14T20:08:34.870Z] Removing intermediate container 986a14d20897 [2022-02-14T20:08:34.870Z] ---> 91d760479973 [2022-02-14T20:08:34.870Z] Step 11/12 : COPY . . [2022-02-14T20:08:34.870Z] ---> d0fd3543b377 [2022-02-14T20:08:34.870Z] Step 12/12 : RUN $MAKE [2022-02-14T20:08:34.870Z] ---> Running in dcca6f8549bd [2022-02-14T20:08:34.870Z] noop [2022-02-14T20:08:34.870Z] Removing intermediate container dcca6f8549bd [2022-02-14T20:08:34.870Z] ---> e607eb49269c [2022-02-14T20:08:34.870Z] Successfully built e607eb49269c [2022-02-14T20:08:34.870Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-14T20:08:41.603Z] + docker inspect -f . ci-base-image-arm64 [2022-02-14T20:08:41.603Z] . [Pipeline] withDockerContainer [2022-02-14T20:08:41.859Z] prd-ubuntu18.04-docker-arm64-4c-16g-5236 does not seem to be running inside a container [2022-02-14T20:08:41.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** ci-base-image-arm64 cat [2022-02-14T20:08:43.386Z] $ docker top 4e766f2234477bdd14916f79169b9ad1b40fd581781baf424934c905eeb7046b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-14T20:08:44.376Z] + go version [2022-02-14T20:08:44.376Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-14T20:08:44.413Z] $ docker stop --time=1 4e766f2234477bdd14916f79169b9ad1b40fd581781baf424934c905eeb7046b [2022-02-14T20:08:46.079Z] $ docker rm -f 4e766f2234477bdd14916f79169b9ad1b40fd581781baf424934c905eeb7046b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-14T20:08:46.954Z] + docker inspect -f . ci-base-image-arm64 [2022-02-14T20:08:46.954Z] . [Pipeline] withDockerContainer [2022-02-14T20:08:47.189Z] prd-ubuntu18.04-docker-arm64-4c-16g-5236 does not seem to be running inside a container [2022-02-14T20:08:47.274Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** ci-base-image-arm64 cat [2022-02-14T20:08:48.728Z] $ docker top ca6a996de70c54bec8c6a5b46e8462e22c825cb9d11cccc65de8e5dfd94f2ec7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-14T20:08:49.760Z] + make test [2022-02-14T20:08:49.760Z] CGO_ENABLED=1 GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-14T20:08:51.209Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-02-14T20:09:23.610Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-02-14T20:09:23.610Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-02-14T20:09:23.610Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-02-14T20:09:23.610Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-02-14T20:09:31.934Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-02-14T20:09:31.934Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v2@v2.2.0-dev.15/internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-02-14T20:09:42.105Z] FAIL github.com/edgexfoundry/device-rest-go/driver [build failed] [2022-02-14T20:09:42.105Z] make: *** [Makefile:27: test] Error 2 [Pipeline] } [2022-02-14T20:09:42.155Z] $ docker stop --time=1 ca6a996de70c54bec8c6a5b46e8462e22c825cb9d11cccc65de8e5dfd94f2ec7 [2022-02-14T20:09:44.049Z] $ docker rm -f ca6a996de70c54bec8c6a5b46e8462e22c825cb9d11cccc65de8e5dfd94f2ec7 [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-14T20:09:45.428Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-14T20:09:45.428Z] [2022-02-14T20:09:45.428Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-14T20:09:45.803Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-14T20:09:46.081Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-14T20:09:46.081Z] 448f6bf000e3: Pulling fs layer [2022-02-14T20:09:46.081Z] f757da607395: Pulling fs layer [2022-02-14T20:09:46.081Z] 05883995daec: Pulling fs layer [2022-02-14T20:09:46.081Z] 8603b9c90790: Pulling fs layer [2022-02-14T20:09:46.081Z] 1560dd03e051: Pulling fs layer [2022-02-14T20:09:46.081Z] 27f5ce0e4adf: Pulling fs layer [2022-02-14T20:09:46.081Z] c2d8d7efcc4b: Pulling fs layer [2022-02-14T20:09:46.081Z] 8603b9c90790: Waiting [2022-02-14T20:09:46.081Z] 1560dd03e051: Waiting [2022-02-14T20:09:46.081Z] 27f5ce0e4adf: Waiting [2022-02-14T20:09:46.081Z] c2d8d7efcc4b: Waiting [2022-02-14T20:09:46.081Z] f757da607395: Verifying Checksum [2022-02-14T20:09:46.081Z] f757da607395: Download complete [2022-02-14T20:09:46.081Z] 8603b9c90790: Verifying Checksum [2022-02-14T20:09:46.081Z] 8603b9c90790: Download complete [2022-02-14T20:09:46.360Z] 1560dd03e051: Verifying Checksum [2022-02-14T20:09:46.360Z] 1560dd03e051: Download complete [2022-02-14T20:09:46.360Z] 27f5ce0e4adf: Verifying Checksum [2022-02-14T20:09:46.360Z] 27f5ce0e4adf: Download complete [2022-02-14T20:09:46.360Z] 05883995daec: Verifying Checksum [2022-02-14T20:09:46.360Z] 05883995daec: Download complete [2022-02-14T20:09:46.635Z] 448f6bf000e3: Verifying Checksum [2022-02-14T20:09:46.635Z] 448f6bf000e3: Download complete [2022-02-14T20:09:49.265Z] c2d8d7efcc4b: Verifying Checksum [2022-02-14T20:09:49.265Z] c2d8d7efcc4b: Download complete [2022-02-14T20:09:50.705Z] 448f6bf000e3: Pull complete [2022-02-14T20:09:51.305Z] f757da607395: Pull complete [2022-02-14T20:09:52.741Z] 05883995daec: Pull complete [2022-02-14T20:09:53.013Z] 8603b9c90790: Pull complete [2022-02-14T20:09:53.987Z] 1560dd03e051: Pull complete [2022-02-14T20:09:54.257Z] 27f5ce0e4adf: Pull complete [2022-02-14T20:10:09.322Z] c2d8d7efcc4b: Pull complete [2022-02-14T20:10:09.322Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-14T20:10:09.322Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-14T20:10:09.322Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-14T20:10:09.569Z] prd-ubuntu18.04-docker-arm64-4c-16g-5236 does not seem to be running inside a container [2022-02-14T20:10:09.682Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-14T20:10:12.767Z] $ docker top bbfbce129f97d049ab2fee805c3a062a3a8772cffbd17ab4e6f0db093b60d5d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:10:13.729Z] ---> job-cost.sh [2022-02-14T20:10:13.729Z] lf-activate-venv: SKIPPING [2022-02-14T20:10:13.729Z] INFO: No Stack... [2022-02-14T20:10:14.002Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-14T20:10:14.595Z] INFO: Archiving Costs [Pipeline] sh [2022-02-14T20:10:15.285Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-02-14T20:10:15.285Z] + cut -d, -f6 [Pipeline] lock [2022-02-14T20:10:15.373Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-156-1-stack-cost] [2022-02-14T20:10:15.378Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-156-1-stack-cost] did not exist. Created. [2022-02-14T20:10:15.378Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-156-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-14T20:10:16.131Z] /w/workspace/device-rest-go/1@tmp/durable-ec06fae5/script.sh: 1: /w/workspace/device-rest-go/1@tmp/durable-ec06fae5/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-14T20:10:16.853Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-14T20:10:16.893Z] Warning: overwriting stash ‘stack-cost’ [2022-02-14T20:10:17.371Z] Stashed 1 file(s) [Pipeline] } [2022-02-14T20:10:17.394Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-156-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-14T20:10:17.475Z] $ docker stop --time=1 bbfbce129f97d049ab2fee805c3a062a3a8772cffbd17ab4e6f0db093b60d5d5 [2022-02-14T20:10:19.025Z] $ docker rm -f bbfbce129f97d049ab2fee805c3a062a3a8772cffbd17ab4e6f0db093b60d5d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-14T20:10:19.792Z] 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-14T20:10:21.782Z] + '[' -d /w/workspace/gexfoundry_device-rest-go_PR-156/archives ']' [2022-02-14T20:10:21.782Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-156/archives [2022-02-14T20:10:21.782Z] total 8 [2022-02-14T20:10:21.782Z] drwxr-xr-x. 3 root root 34 Feb 14 20:05 . [2022-02-14T20:10:21.782Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 14 20:05 .. [2022-02-14T20:10:21.782Z] drwxr-xr-x. 2 root root 6 Feb 14 20:05 cost [2022-02-14T20:10:21.782Z] -rw-r--r--. 1 root root 85 Feb 14 20:05 cost.csv [2022-02-14T20:10:21.782Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-156/archives [2022-02-14T20:10:21.782Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-156/archives [2022-02-14T20:10:21.782Z] total 8 [2022-02-14T20:10:21.782Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 14 20:05 . [2022-02-14T20:10:21.782Z] drwxrwxr-x. 10 jenkins jenkins 4096 Feb 14 20:05 .. [2022-02-14T20:10:21.782Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 14 20:05 cost [2022-02-14T20:10:21.782Z] -rw-r--r--. 1 jenkins jenkins 85 Feb 14 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:10:22.123Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:10:22.713Z] ---> package-listing.sh [2022-02-14T20:10:22.713Z] ++ facter osfamily [2022-02-14T20:10:22.713Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-14T20:10:22.974Z] + OS_FAMILY=redhat [2022-02-14T20:10:22.974Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-156 [2022-02-14T20:10:22.974Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-14T20:10:22.974Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-14T20:10:22.974Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-14T20:10:22.974Z] + PACKAGES=/tmp/packages_start.txt [2022-02-14T20:10:22.974Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-156 ']' [2022-02-14T20:10:22.974Z] + PACKAGES=/tmp/packages_end.txt [2022-02-14T20:10:22.974Z] + case "${OS_FAMILY}" in [2022-02-14T20:10:22.974Z] + sort [2022-02-14T20:10:22.974Z] + rpm -qa [2022-02-14T20:10:23.549Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-14T20:10:23.549Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-14T20:10:23.549Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-14T20:10:23.549Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-156 ']' [2022-02-14T20:10:23.549Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-156/archives/ [2022-02-14T20:10:23.549Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-156/archives/ [Pipeline] echo [2022-02-14T20:10:23.593Z] 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/gexfoundry_device-rest-go_PR-156/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-14T20:10:23.890Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-14T20:10:24.479Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-14T20:10:24.479Z] . [Pipeline] withDockerContainer [2022-02-14T20:10:24.568Z] prd-centos7-docker-4c-2g-5234 does not seem to be running inside a container [2022-02-14T20:10:24.598Z] $ 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/gexfoundry_device-rest-go_PR-156/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-156 -v /w/workspace/gexfoundry_device-rest-go_PR-156:/w/workspace/gexfoundry_device-rest-go_PR-156:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-156@tmp:/w/workspace/gexfoundry_device-rest-go_PR-156@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-14T20:10:24.805Z] $ docker top 3e89120bccad6751bc79d1d6413f9b7f6d4b7a4b7328eabe6ebdc3280012c788 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-14T20:10:25.221Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-14T20:10:25.665Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-14T20:10:26.153Z] + ls /var/log/sa-host [2022-02-14T20:10:26.153Z] + sadf -c /var/log/sa-host/sa14 [2022-02-14T20:10:26.153Z] file_magic: OK [2022-02-14T20:10:26.153Z] HZ: Using current value: 100 [2022-02-14T20:10:26.153Z] file_header: OK [2022-02-14T20:10:26.153Z] 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-14T20:10:26.153Z] Statistics: [2022-02-14T20:10:26.153Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-14T20:10:26.153Z] File successfully converted to sysstat format version 12.0.3 [2022-02-14T20:10:26.153Z] + sadf -c /var/log/sa-host/sa17 [2022-02-14T20:10:26.153Z] file_magic: OK [2022-02-14T20:10:26.153Z] HZ: Using current value: 100 [2022-02-14T20:10:26.153Z] file_header: OK [2022-02-14T20:10:26.153Z] 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-14T20:10:26.153Z] Statistics: [2022-02-14T20:10:26.153Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-14T20:10:26.153Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-14T20:10:26.431Z] provisioning config files... [2022-02-14T20:10:26.440Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-156@tmp/config3411164410705694125tmp [Pipeline] { [Pipeline] echo [2022-02-14T20:10:26.490Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:10:26.806Z] ---> create-netrc.sh [Pipeline] } [2022-02-14T20:10:26.833Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:10:27.243Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-14T20:10:27.279Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:10:27.599Z] ---> sudo-logs.sh [2022-02-14T20:10:27.599Z] Archiving 'sudo' log.. [2022-02-14T20:10:27.599Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5234.novalocal: Name or service not known [2022-02-14T20:10:27.599Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-5234.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-14T20:10:27.700Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:10:28.030Z] ---> job-cost.sh [2022-02-14T20:10:28.030Z] lf-activate-venv: SKIPPING [2022-02-14T20:10:28.030Z] DEBUG: total: 0.05999999865889549 [2022-02-14T20:10:28.030Z] INFO: Retrieving Stack Cost... [2022-02-14T20:10:28.291Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-14T20:10:28.865Z] INFO: Archiving Costs [Pipeline] echo [2022-02-14T20:10:28.901Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-14T20:10:29.226Z] ---> logs-deploy.sh [2022-02-14T20:10:29.226Z] lf-activate-venv: SKIPPING [2022-02-14T20:10:29.226Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-156/1 [2022-02-14T20:10:29.226Z] INFO: archiving workspace using pattern(s): [2022-02-14T20:10:29.797Z] Archives upload complete. [2022-02-14T20:10:30.058Z] INFO: archiving logs to Nexus