Pull request #1099 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 15253665010d2bc3346aca66bb2b0b401773315e+2d47f06130efe23f62a62eca7f2537e0d7c1e066 (7daaf1cd2671510052fb54fc50c9e0d9fbef2496) 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-ssh1413884433949870863.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-ssh105775513438928462.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1099/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1099/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16810221283512765258.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 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-ssh18139880253022476575.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1099/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1099/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13313076271006278570.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [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-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 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 ‘prd-centos7-docker-4c-2g-6255’ is offline Running on prd-centos7-docker-4c-2g-6257 in /w/workspace/gexfoundry_device-sdk-go_PR-1099 [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-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1099 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go_PR-1099@tmp/jenkins-gitclient-ssh7561414027124808041.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-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-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-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-sdk-go_PR-1099@tmp/jenkins-gitclient-ssh1319211984517445909.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1099/head:refs/remotes/origin/PR-1099 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 2d47f06130efe23f62a62eca7f2537e0d7c1e066 into PR head commit 15253665010d2bc3346aca66bb2b0b401773315e Merge succeeded, producing 15253665010d2bc3346aca66bb2b0b401773315e Checking out Revision 15253665010d2bc3346aca66bb2b0b401773315e (PR-1099) > git config core.sparsecheckout # timeout=10 > git checkout -f 15253665010d2bc3346aca66bb2b0b401773315e # 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-sdk-go_PR-1099@tmp/jenkins-gitclient-ssh6343437487063774288.key > git merge 2d47f06130efe23f62a62eca7f2537e0d7c1e066 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 15253665010d2bc3346aca66bb2b0b401773315e # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-03-02T15:01:40.831Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-03-02T15:01:40.886Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-03-02T15:01:40.906Z] ========================================================= [2022-03-02T15:01:40.907Z] EdgeX Global Pipelines Version Info [2022-03-02T15:01:40.907Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4776fbe67a8c2ca1cc2e96feb3126617b9c3688f # timeout=10 [2022-03-02T15:01:42.029Z] ------------------- [2022-03-02T15:01:42.029Z] stable info: [2022-03-02T15:01:42.029Z] ------------------- [2022-03-02T15:01:42.029Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-03-02T15:01:42.029Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-03-02T15:01:42.029Z] Message: update stable to v1.0.220 [2022-03-02T15:01:42.603Z] ------------------- [2022-03-02T15:01:42.603Z] experimental info: [2022-03-02T15:01:42.603Z] ------------------- [2022-03-02T15:01:42.603Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-03-02T15:01:42.603Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-03-02T15:01:42.603Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-03-02T15:01:42.742Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-03-02T15:01:42.756Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-03-02T15:01:42.772Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-03-02T15:01:42.783Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-03-02T15:01:42.795Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-03-02T15:01:42.809Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-03-02T15:01:42.820Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-03-02T15:01:42.834Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-03-02T15:01:42.846Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-03-02T15:01:42.857Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-03-02T15:01:42.868Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-03-02T15:01:42.881Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-03-02T15:01:42.899Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-03-02T15:01:42.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-03-02T15:01:42.937Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-03-02T15:01:42.955Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-03-02T15:01:42.974Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-03-02T15:01:42.992Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-03-02T15:01:43.005Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-03-02T15:01:43.016Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-03-02T15:01:43.028Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-03-02T15:01:43.040Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-03-02T15:01:43.052Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-03-02T15:01:43.064Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-03-02T15:01:43.075Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-03-02T15:01:43.088Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-03-02T15:01:43.100Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1099 [Pipeline] echo [2022-03-02T15:01:43.112Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1099 [Pipeline] echo [2022-03-02T15:01:43.120Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1099 [Pipeline] echo [2022-03-02T15:01:43.129Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15253665010d2bc3346aca66bb2b0b401773315e [Pipeline] echo [2022-03-02T15:01:43.138Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1525366 [Pipeline] echo [2022-03-02T15:01:43.146Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-02T15:01:43.177Z] provisioning config files... [2022-03-02T15:01:43.192Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp/config8255589865911771014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:01:43.497Z] ---> docker-login.sh [2022-03-02T15:01:43.497Z] nexus3.edgexfoundry.org:10001 [2022-03-02T15:01:43.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:01:43.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:01:43.758Z] Configure a credential helper to remove this warning. See [2022-03-02T15:01:43.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:01:43.758Z] [2022-03-02T15:01:43.758Z] Login Succeeded [2022-03-02T15:01:43.758Z] nexus3.edgexfoundry.org:10002 [2022-03-02T15:01:43.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:01:43.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:01:43.758Z] Configure a credential helper to remove this warning. See [2022-03-02T15:01:43.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:01:43.758Z] [2022-03-02T15:01:43.758Z] Login Succeeded [2022-03-02T15:01:43.758Z] nexus3.edgexfoundry.org:10003 [2022-03-02T15:01:43.758Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:01:43.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:01:43.758Z] Configure a credential helper to remove this warning. See [2022-03-02T15:01:43.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:01:43.758Z] [2022-03-02T15:01:43.758Z] Login Succeeded [2022-03-02T15:01:43.758Z] nexus3.edgexfoundry.org:10004 [2022-03-02T15:01:44.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:01:44.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:01:44.017Z] Configure a credential helper to remove this warning. See [2022-03-02T15:01:44.017Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:01:44.017Z] [2022-03-02T15:01:44.017Z] Login Succeeded [2022-03-02T15:01:44.017Z] docker.io [2022-03-02T15:01:44.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:01:44.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:01:44.278Z] Configure a credential helper to remove this warning. See [2022-03-02T15:01:44.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:01:44.278Z] [2022-03-02T15:01:44.278Z] Login Succeeded [2022-03-02T15:01:44.278Z] ---> docker-login.sh ends [Pipeline] } [2022-03-02T15:01:44.290Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-03-02T15:01:44.669Z] + git rev-list -1 --merges 15253665010d2bc3346aca66bb2b0b401773315e~1..15253665010d2bc3346aca66bb2b0b401773315e [Pipeline] echo [2022-03-02T15:01:44.697Z] -----------> git rev-list -1 --merges 15253665010d2bc3346aca66bb2b0b401773315e~1..15253665010d2bc3346aca66bb2b0b401773315e 15253665010d2bc3346aca66bb2b0b401773315e [false] [Pipeline] sh [2022-03-02T15:01:44.990Z] + git log --format=format:%s -1 15253665010d2bc3346aca66bb2b0b401773315e [Pipeline] echo [2022-03-02T15:01:45.006Z] ========================================================= [2022-03-02T15:01:45.006Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-03-02T15:01:45.006Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-02T15:01:45.350Z] + git log --format=format:%s -1 15253665010d2bc3346aca66bb2b0b401773315e [Pipeline] echo [2022-03-02T15:01:45.363Z] [semverPrep] GIT_COMMIT: 15253665010d2bc3346aca66bb2b0b401773315e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo [2022-03-02T15:01:45.375Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-03-02T15:01:45.763Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-03-02T15:01:45.764Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-03-02T15:01:45.764Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-03-02T15:01:45.764Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-03-02T15:01:45.764Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-03-02T15:01:45.764Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-03-02T15:01:45.764Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-03-02T15:01:46.114Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-02T15:01:46.114Z] [2022-03-02T15:01:46.114Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-03-02T15:01:46.443Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-02T15:01:46.443Z] latest: Pulling from edgex-devops/git-semver [2022-03-02T15:01:46.443Z] a0d0a0d46f8b: Pulling fs layer [2022-03-02T15:01:46.443Z] 3e5f54012d9b: Pulling fs layer [2022-03-02T15:01:46.443Z] 4c7163046ea9: Pulling fs layer [2022-03-02T15:01:46.443Z] 0c2d73faf560: Pulling fs layer [2022-03-02T15:01:46.443Z] 0c2d73faf560: Waiting [2022-03-02T15:01:46.443Z] 3e5f54012d9b: Download complete [2022-03-02T15:01:46.443Z] a0d0a0d46f8b: Verifying Checksum [2022-03-02T15:01:46.443Z] a0d0a0d46f8b: Download complete [2022-03-02T15:01:46.443Z] 0c2d73faf560: Verifying Checksum [2022-03-02T15:01:46.443Z] 0c2d73faf560: Download complete [2022-03-02T15:01:46.443Z] 4c7163046ea9: Verifying Checksum [2022-03-02T15:01:46.443Z] 4c7163046ea9: Download complete [2022-03-02T15:01:46.706Z] a0d0a0d46f8b: Pull complete [2022-03-02T15:01:46.706Z] 3e5f54012d9b: Pull complete [2022-03-02T15:01:46.973Z] 4c7163046ea9: Pull complete [2022-03-02T15:01:47.236Z] 0c2d73faf560: Pull complete [2022-03-02T15:01:47.236Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-03-02T15:01:47.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-03-02T15:01:47.236Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-03-02T15:01:47.315Z] prd-centos7-docker-4c-2g-6257 does not seem to be running inside a container [2022-03-02T15:01:47.360Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1099 -v /w/workspace/gexfoundry_device-sdk-go_PR-1099:/w/workspace/gexfoundry_device-sdk-go_PR-1099:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1099@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:10004/edgex-devops/git-semver:latest cat [2022-03-02T15:01:47.865Z] $ docker top c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-03-02T15:01:47.967Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-02T15:01:47.967Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-02T15:01:48.076Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-02T15:01:48.081Z] $ docker exec c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 ssh-agent [2022-03-02T15:01:48.181Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpbGENl/agent.15 [2022-03-02T15:01:48.181Z] SSH_AGENT_PID=21 [2022-03-02T15:01:48.189Z] Running ssh-add (command line suppressed) [2022-03-02T15:01:48.285Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp/private_key_210137255331623352.key (/w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp/private_key_210137255331623352.key) [2022-03-02T15:01:48.296Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-02T15:01:48.590Z] + git tag --points-at HEAD [Pipeline] } [2022-03-02T15:01:48.608Z] $ docker exec --env ******** --env ******** c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 ssh-agent -k [2022-03-02T15:01:48.691Z] unset SSH_AUTH_SOCK; [2022-03-02T15:01:48.691Z] unset SSH_AGENT_PID; [2022-03-02T15:01:48.691Z] echo Agent pid 21 killed; [2022-03-02T15:01:48.700Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-03-02T15:01:48.721Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-03-02T15:01:48.721Z] [ssh-agent] Looking for ssh-agent implementation... [2022-03-02T15:01:48.835Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-03-02T15:01:48.839Z] $ docker exec c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 ssh-agent [2022-03-02T15:01:48.938Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAdAImF/agent.55 [2022-03-02T15:01:48.938Z] SSH_AGENT_PID=61 [2022-03-02T15:01:48.944Z] Running ssh-add (command line suppressed) [2022-03-02T15:01:49.046Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp/private_key_2569288527118154666.key (/w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp/private_key_2569288527118154666.key) [2022-03-02T15:01:49.067Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-03-02T15:01:49.363Z] + git semver init [2022-03-02T15:01:49.363Z] # -> Open(): unable to determine branch for HEAD [2022-03-02T15:01:49.363Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1099/.git [2022-03-02T15:01:49.363Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1099 [2022-03-02T15:01:49.363Z] # $SEMVER_REMOTE_NAME = origin [2022-03-02T15:01:49.363Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-03-02T15:01:49.363Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-03-02T15:01:49.363Z] # $SEMVER_BRANCH = PR-1099 [2022-03-02T15:01:49.363Z] # $SEMVER_TEMP = /tmp/semver-122156636 [2022-03-02T15:01:49.363Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-03-02T15:01:50.304Z] # '/tmp/semver-122156636' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1099/.semver' [2022-03-02T15:01:50.304Z] # -> Force: false [2022-03-02T15:01:50.304Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1099/.semver [Pipeline] } [2022-03-02T15:01:50.317Z] $ docker exec --env ******** --env ******** c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 ssh-agent -k [2022-03-02T15:01:50.398Z] unset SSH_AUTH_SOCK; [2022-03-02T15:01:50.398Z] unset SSH_AGENT_PID; [2022-03-02T15:01:50.398Z] echo Agent pid 61 killed; [2022-03-02T15:01:50.409Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-03-02T15:01:50.724Z] + git semver [Pipeline] } [2022-03-02T15:01:50.739Z] $ docker stop --time=1 c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 [2022-03-02T15:01:51.969Z] $ docker rm -f c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-03-02T15:01:52.318Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-03-02T15:01:52.543Z] Stashed 1 file(s) [Pipeline] echo [2022-03-02T15:01:52.547Z] [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-03-02T15:01:52.689Z] provisioning config files... [2022-03-02T15:01:52.699Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp/config4028429738893449661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:01:53.034Z] ---> docker-login.sh [2022-03-02T15:01:53.034Z] nexus3.edgexfoundry.org:10001 [2022-03-02T15:01:53.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:01:53.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:01:53.034Z] Configure a credential helper to remove this warning. See [2022-03-02T15:01:53.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:01:53.034Z] [2022-03-02T15:01:53.034Z] Login Succeeded [2022-03-02T15:01:53.034Z] nexus3.edgexfoundry.org:10002 [2022-03-02T15:01:53.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:01:53.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:01:53.296Z] Configure a credential helper to remove this warning. See [2022-03-02T15:01:53.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:01:53.296Z] [2022-03-02T15:01:53.296Z] Login Succeeded [2022-03-02T15:01:53.296Z] nexus3.edgexfoundry.org:10003 [2022-03-02T15:01:53.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:01:53.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:01:53.296Z] Configure a credential helper to remove this warning. See [2022-03-02T15:01:53.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:01:53.296Z] [2022-03-02T15:01:53.296Z] Login Succeeded [2022-03-02T15:01:53.296Z] nexus3.edgexfoundry.org:10004 [2022-03-02T15:01:53.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:01:53.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:01:53.296Z] Configure a credential helper to remove this warning. See [2022-03-02T15:01:53.296Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:01:53.296Z] [2022-03-02T15:01:53.296Z] Login Succeeded [2022-03-02T15:01:53.296Z] docker.io [2022-03-02T15:01:53.557Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:01:53.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:01:53.816Z] Configure a credential helper to remove this warning. See [2022-03-02T15:01:53.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:01:53.816Z] [2022-03-02T15:01:53.816Z] Login Succeeded [2022-03-02T15:01:53.816Z] ---> docker-login.sh ends [Pipeline] } [2022-03-02T15:01:53.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-02T15:01:53.896Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-02T15:01:53.907Z] ========================================================= [2022-03-02T15:01:53.907Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-03-02T15:01:53.907Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-02T15:01:54.223Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-03-02T15:01:54.223Z] Sending build context to Docker daemon 9.494MB [2022-03-02T15:01:54.223Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-02T15:01:54.223Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-02T15:01:54.223Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-03-02T15:01:54.223Z] 59bf1c3509f3: Pulling fs layer [2022-03-02T15:01:54.223Z] 666ba61612fd: Pulling fs layer [2022-03-02T15:01:54.223Z] 8ed8ca486205: Pulling fs layer [2022-03-02T15:01:54.223Z] 4fe6c5a15a65: Pulling fs layer [2022-03-02T15:01:54.223Z] 22a0e8bec74d: Pulling fs layer [2022-03-02T15:01:54.223Z] 640e595b4fbd: Pulling fs layer [2022-03-02T15:01:54.223Z] 763cafe07f6e: Pulling fs layer [2022-03-02T15:01:54.223Z] 0c0b528cf693: Pulling fs layer [2022-03-02T15:01:54.223Z] 10935f4eaf8b: Pulling fs layer [2022-03-02T15:01:54.223Z] 4fe6c5a15a65: Waiting [2022-03-02T15:01:54.223Z] 22a0e8bec74d: Waiting [2022-03-02T15:01:54.223Z] 640e595b4fbd: Waiting [2022-03-02T15:01:54.223Z] 763cafe07f6e: Waiting [2022-03-02T15:01:54.223Z] 0c0b528cf693: Waiting [2022-03-02T15:01:54.223Z] 10935f4eaf8b: Waiting [2022-03-02T15:01:54.488Z] 8ed8ca486205: Verifying Checksum [2022-03-02T15:01:54.488Z] 8ed8ca486205: Download complete [2022-03-02T15:01:54.488Z] 666ba61612fd: Verifying Checksum [2022-03-02T15:01:54.488Z] 666ba61612fd: Download complete [2022-03-02T15:01:54.488Z] 22a0e8bec74d: Verifying Checksum [2022-03-02T15:01:54.488Z] 22a0e8bec74d: Download complete [2022-03-02T15:01:54.488Z] 640e595b4fbd: Verifying Checksum [2022-03-02T15:01:54.488Z] 640e595b4fbd: Download complete [2022-03-02T15:01:54.488Z] 763cafe07f6e: Verifying Checksum [2022-03-02T15:01:54.488Z] 763cafe07f6e: Download complete [2022-03-02T15:01:54.488Z] 59bf1c3509f3: Verifying Checksum [2022-03-02T15:01:54.488Z] 59bf1c3509f3: Download complete [2022-03-02T15:01:54.488Z] 0c0b528cf693: Verifying Checksum [2022-03-02T15:01:54.489Z] 0c0b528cf693: Download complete [2022-03-02T15:01:54.754Z] 59bf1c3509f3: Pull complete [2022-03-02T15:01:54.754Z] 666ba61612fd: Pull complete [2022-03-02T15:01:55.023Z] 8ed8ca486205: Pull complete [2022-03-02T15:01:55.023Z] 4fe6c5a15a65: Verifying Checksum [2022-03-02T15:01:55.023Z] 4fe6c5a15a65: Download complete [2022-03-02T15:01:55.292Z] 10935f4eaf8b: Verifying Checksum [2022-03-02T15:01:55.293Z] 10935f4eaf8b: Download complete [2022-03-02T15:01:59.536Z] 4fe6c5a15a65: Pull complete [2022-03-02T15:01:59.536Z] 22a0e8bec74d: Pull complete [2022-03-02T15:01:59.536Z] 640e595b4fbd: Pull complete [2022-03-02T15:01:59.536Z] 763cafe07f6e: Pull complete [2022-03-02T15:01:59.536Z] 0c0b528cf693: Pull complete [2022-03-02T15:02:02.109Z] 10935f4eaf8b: Pull complete [2022-03-02T15:02:02.109Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-03-02T15:02:02.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-03-02T15:02:02.109Z] ---> 99d49a6021b9 [2022-03-02T15:02:02.109Z] Step 3/11 : ARG MAKE=make build [2022-03-02T15:02:03.498Z] ---> Running in 814acf94e7bb [2022-03-02T15:02:03.498Z] Removing intermediate container 814acf94e7bb [2022-03-02T15:02:03.498Z] ---> 8c6b7bbd8355 [2022-03-02T15:02:03.498Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-02T15:02:03.498Z] ---> Running in d108d3f018f0 [2022-03-02T15:02:03.498Z] Removing intermediate container d108d3f018f0 [2022-03-02T15:02:03.498Z] ---> 77de7c0b2dce [2022-03-02T15:02:03.498Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-02T15:02:03.498Z] ---> Running in 61978e800570 [2022-03-02T15:02:03.767Z] Removing intermediate container 61978e800570 [2022-03-02T15:02:03.767Z] ---> 3889c05d9230 [2022-03-02T15:02:03.767Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-02T15:02:03.767Z] ---> Running in 78b7cd72d207 [2022-03-02T15:02:04.026Z] Removing intermediate container 78b7cd72d207 [2022-03-02T15:02:04.026Z] ---> 925fc8f55054 [2022-03-02T15:02:04.026Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-02T15:02:04.288Z] ---> Running in 4fe461b8cf57 [2022-03-02T15:02:04.550Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-03-02T15:02:05.119Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-03-02T15:02:05.692Z] OK: 221 MiB in 52 packages [2022-03-02T15:02:05.692Z] Removing intermediate container 4fe461b8cf57 [2022-03-02T15:02:05.692Z] ---> 645ede8df83f [2022-03-02T15:02:05.692Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-02T15:02:05.954Z] ---> 65f2dbdfec93 [2022-03-02T15:02:05.954Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-02T15:02:05.954Z] ---> Running in 376645b19364 [2022-03-02T15:02:07.642Z] Still waiting to schedule task [2022-03-02T15:02:07.642Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-6258’ is offline [2022-03-02T15:02:32.592Z] Removing intermediate container 376645b19364 [2022-03-02T15:02:32.592Z] ---> 7a34e38ea1be [2022-03-02T15:02:32.592Z] Step 10/11 : COPY . . [2022-03-02T15:02:32.592Z] ---> d636a5d9feff [2022-03-02T15:02:32.592Z] Step 11/11 : RUN ${MAKE} [2022-03-02T15:02:32.592Z] ---> Running in bfab1f6cb4cf [2022-03-02T15:02:32.592Z] noop [2022-03-02T15:02:32.592Z] Removing intermediate container bfab1f6cb4cf [2022-03-02T15:02:32.592Z] ---> 67dd5bd6b80d [2022-03-02T15:02:32.592Z] Successfully built 67dd5bd6b80d [2022-03-02T15:02:32.592Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-02T15:02:32.887Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-02T15:02:32.887Z] . [Pipeline] withDockerContainer [2022-03-02T15:02:32.954Z] prd-centos7-docker-4c-2g-6257 does not seem to be running inside a container [2022-03-02T15:02:32.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1099 -v /w/workspace/gexfoundry_device-sdk-go_PR-1099:/w/workspace/gexfoundry_device-sdk-go_PR-1099:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-02T15:02:33.334Z] $ docker top 98d9271ac6c2cc5638e4ce46d83648a3be3dadd81cd9eed81ddfb88a5ebe4150 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-02T15:02:33.684Z] + go version [2022-03-02T15:02:33.684Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-03-02T15:02:33.701Z] $ docker stop --time=1 98d9271ac6c2cc5638e4ce46d83648a3be3dadd81cd9eed81ddfb88a5ebe4150 [2022-03-02T15:02:34.895Z] $ docker rm -f 98d9271ac6c2cc5638e4ce46d83648a3be3dadd81cd9eed81ddfb88a5ebe4150 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-02T15:02:35.321Z] + docker inspect -f . ci-base-image-x86_64 [2022-03-02T15:02:35.322Z] . [Pipeline] withDockerContainer [2022-03-02T15:02:35.388Z] prd-centos7-docker-4c-2g-6257 does not seem to be running inside a container [2022-03-02T15:02:35.427Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1099 -v /w/workspace/gexfoundry_device-sdk-go_PR-1099:/w/workspace/gexfoundry_device-sdk-go_PR-1099:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-03-02T15:02:35.772Z] $ docker top f38fb7cce45a311ad990a160f49d6784c5f80e39a9755822acd8e95c2c732a27 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-02T15:02:36.143Z] + make test [2022-03-02T15:02:36.143Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-02T15:02:36.410Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-02T15:02:44.593Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-03-02T15:02:44.593Z] internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-03-02T15:02:44.593Z] internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-03-02T15:02:44.593Z] internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-03-02T15:02:44.593Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-03-02T15:02:44.594Z] internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-03-02T15:02:51.233Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] [2022-03-02T15:02:51.234Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2022-03-02T15:02:51.234Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [github.com/edgexfoundry/device-sdk-go/v2/internal/cache.test] [2022-03-02T15:02:51.234Z] internal/cache/init.go:22: undefined: container.DeviceClientFrom [2022-03-02T15:02:51.234Z] internal/cache/init.go:23: undefined: container.DeviceProfileClientFrom [2022-03-02T15:02:51.234Z] internal/cache/init.go:24: undefined: container.ProvisionWatcherClientFrom [2022-03-02T15:02:51.234Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2022-03-02T15:02:51.815Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.013s coverage: 10.8% of statements [2022-03-02T15:02:51.815Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2022-03-02T15:02:53.199Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.010s coverage: 86.1% of statements [2022-03-02T15:02:53.199Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2022-03-02T15:02:53.199Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.028s coverage: 89.2% of statements [2022-03-02T15:02:53.199Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2022-03-02T15:02:53.199Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2022-03-02T15:02:53.213Z] $ docker stop --time=1 f38fb7cce45a311ad990a160f49d6784c5f80e39a9755822acd8e95c2c732a27 [2022-03-02T15:02:54.630Z] $ docker rm -f f38fb7cce45a311ad990a160f49d6784c5f80e39a9755822acd8e95c2c732a27 [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-03-02T15:02:55.134Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-02T15:02:55.134Z] [2022-03-02T15:02:55.134Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-03-02T15:02:55.441Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-02T15:02:55.441Z] latest: Pulling from edgex-lftools-log-publisher [2022-03-02T15:02:55.441Z] 5eb5b503b376: Pulling fs layer [2022-03-02T15:02:55.441Z] 5c69ac0246d0: Pulling fs layer [2022-03-02T15:02:55.441Z] ec43610c2a17: Pulling fs layer [2022-03-02T15:02:55.441Z] 3a2ae6a8a46f: Pulling fs layer [2022-03-02T15:02:55.441Z] 33b1e0a273af: Pulling fs layer [2022-03-02T15:02:55.441Z] 5d3b04190fa2: Pulling fs layer [2022-03-02T15:02:55.441Z] 2f39f015ded8: Pulling fs layer [2022-03-02T15:02:55.441Z] 3a2ae6a8a46f: Waiting [2022-03-02T15:02:55.441Z] 33b1e0a273af: Waiting [2022-03-02T15:02:55.441Z] 5d3b04190fa2: Waiting [2022-03-02T15:02:55.441Z] 2f39f015ded8: Waiting [2022-03-02T15:02:55.441Z] 5c69ac0246d0: Verifying Checksum [2022-03-02T15:02:55.441Z] 5c69ac0246d0: Download complete [2022-03-02T15:02:55.441Z] 3a2ae6a8a46f: Verifying Checksum [2022-03-02T15:02:55.441Z] 3a2ae6a8a46f: Download complete [2022-03-02T15:02:55.441Z] ec43610c2a17: Verifying Checksum [2022-03-02T15:02:55.441Z] ec43610c2a17: Download complete [2022-03-02T15:02:55.441Z] 33b1e0a273af: Verifying Checksum [2022-03-02T15:02:55.441Z] 33b1e0a273af: Download complete [2022-03-02T15:02:55.441Z] 5d3b04190fa2: Verifying Checksum [2022-03-02T15:02:55.441Z] 5d3b04190fa2: Download complete [2022-03-02T15:02:55.706Z] 5eb5b503b376: Verifying Checksum [2022-03-02T15:02:55.706Z] 5eb5b503b376: Download complete [2022-03-02T15:02:56.286Z] 2f39f015ded8: Verifying Checksum [2022-03-02T15:02:56.286Z] 2f39f015ded8: Download complete [2022-03-02T15:02:57.261Z] 5eb5b503b376: Pull complete [2022-03-02T15:02:57.261Z] 5c69ac0246d0: Pull complete [2022-03-02T15:02:57.834Z] ec43610c2a17: Pull complete [2022-03-02T15:02:57.834Z] 3a2ae6a8a46f: Pull complete [2022-03-02T15:02:58.097Z] 33b1e0a273af: Pull complete [2022-03-02T15:02:58.359Z] 5d3b04190fa2: Pull complete [2022-03-02T15:03:03.712Z] 2f39f015ded8: Pull complete [2022-03-02T15:03:03.712Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-03-02T15:03:03.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-02T15:03:03.712Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-03-02T15:03:03.786Z] prd-centos7-docker-4c-2g-6257 does not seem to be running inside a container [2022-03-02T15:03:03.833Z] $ 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-sdk-go_PR-1099 -v /w/workspace/gexfoundry_device-sdk-go_PR-1099:/w/workspace/gexfoundry_device-sdk-go_PR-1099:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-03-02T15:03:06.290Z] $ docker top 4acc08e2308a3f5de73f601b81883483f2acbd3b363f5f33e9aad1f43b69c189 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:03:06.724Z] ---> job-cost.sh [2022-03-02T15:03:06.724Z] lf-activate-venv: SKIPPING [2022-03-02T15:03:06.724Z] INFO: No Stack... [2022-03-02T15:03:06.985Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-02T15:03:07.575Z] INFO: Archiving Costs [Pipeline] sh [2022-03-02T15:03:07.871Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives/cost.csv [2022-03-02T15:03:07.871Z] + cut -d, -f6 [Pipeline] lock [2022-03-02T15:03:07.886Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] [2022-03-02T15:03:07.898Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] did not exist. Created. [2022-03-02T15:03:07.898Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-02T15:03:08.209Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-03-02T15:03:08.249Z] Stashed 1 file(s) [Pipeline] } [2022-03-02T15:03:08.255Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-02T15:03:08.276Z] $ docker stop --time=1 4acc08e2308a3f5de73f601b81883483f2acbd3b363f5f33e9aad1f43b69c189 [2022-03-02T15:03:09.451Z] $ docker rm -f 4acc08e2308a3f5de73f601b81883483f2acbd3b363f5f33e9aad1f43b69c189 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-02T15:03:09.577Z] Failed in branch amd64 [2022-03-02T15:04:11.717Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-6259 in /w/workspace/gexfoundry_device-sdk-go_PR-1099 [Pipeline] { [Pipeline] ws [2022-03-02T15:04:11.731Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2022-03-02T15:04:11.916Z] The recommended git tool is: git [2022-03-02T15:04:16.968Z] using credential edgex-jenkins-ssh [2022-03-02T15:04:16.986Z] Cloning the remote Git repository [2022-03-02T15:04:17.026Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-03-02T15:04:17.114Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2022-03-02T15:04:17.191Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-02T15:04:17.192Z] > git --version # timeout=10 [2022-03-02T15:04:17.214Z] > git --version # 'git version 2.17.1' [2022-03-02T15:04:17.216Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-02T15:04:17.447Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-02T15:04:19.095Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-02T15:04:19.115Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-03-02T15:04:19.147Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-03-02T15:04:19.196Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-03-02T15:04:19.197Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-02T15:04:19.208Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1099/head:refs/remotes/origin/PR-1099 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-03-02T15:04:19.858Z] Merging remotes/origin/main commit 2d47f06130efe23f62a62eca7f2537e0d7c1e066 into PR head commit 15253665010d2bc3346aca66bb2b0b401773315e [2022-03-02T15:04:20.108Z] Merge succeeded, producing 15253665010d2bc3346aca66bb2b0b401773315e [2022-03-02T15:04:20.108Z] Checking out Revision 15253665010d2bc3346aca66bb2b0b401773315e (PR-1099) [2022-03-02T15:04:19.861Z] > git config core.sparsecheckout # timeout=10 [2022-03-02T15:04:19.884Z] > git checkout -f 15253665010d2bc3346aca66bb2b0b401773315e # timeout=10 [2022-03-02T15:04:19.989Z] > git remote # timeout=10 [2022-03-02T15:04:20.007Z] > git config --get remote.origin.url # timeout=10 [2022-03-02T15:04:20.027Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-03-02T15:04:20.040Z] > git merge 2d47f06130efe23f62a62eca7f2537e0d7c1e066 # timeout=10 [2022-03-02T15:04:20.067Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-03-02T15:04:20.096Z] > git config core.sparsecheckout # timeout=10 [2022-03-02T15:04:20.115Z] > git checkout -f 15253665010d2bc3346aca66bb2b0b401773315e # timeout=10 [2022-03-02T15:04:24.365Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-03-02T15:04:25.264Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-03-02T15:04:25.264Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-03-02T15:04:25.264Z] Dload Upload Total Spent Left Speed [2022-03-02T15:04:25.265Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh [2022-03-02T15:04:25.796Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-03-02T15:04:26.139Z] + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json [2022-03-02T15:04:26.139Z] [2022-03-02T15:04:26.139Z] { [2022-03-02T15:04:26.139Z] "registry-mirrors": [ [2022-03-02T15:04:26.139Z] "https://nexus3.edgexfoundry.org:10001" [2022-03-02T15:04:26.139Z] ], [2022-03-02T15:04:26.139Z] "bip": "10.250.0.254/24", [2022-03-02T15:04:26.139Z] "hosts": [ [2022-03-02T15:04:26.139Z] "tcp://0.0.0.0:5555", [2022-03-02T15:04:26.139Z] "unix:///var/run/docker.sock" [2022-03-02T15:04:26.139Z] ], [2022-03-02T15:04:26.139Z] "mtu": 1458, [2022-03-02T15:04:26.139Z] "selinux-enabled": true, [2022-03-02T15:04:26.139Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-03-02T15:04:26.139Z] } [Pipeline] sh [2022-03-02T15:04:26.581Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-03-02T15:04:26.937Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-02T15:04:45.279Z] provisioning config files... [2022-03-02T15:04:45.303Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7728600233864588772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:04:45.661Z] ---> docker-login.sh [2022-03-02T15:04:45.661Z] nexus3.edgexfoundry.org:10001 [2022-03-02T15:04:46.259Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:04:46.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:04:46.532Z] Configure a credential helper to remove this warning. See [2022-03-02T15:04:46.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:04:46.532Z] [2022-03-02T15:04:46.532Z] Login Succeeded [2022-03-02T15:04:46.532Z] nexus3.edgexfoundry.org:10002 [2022-03-02T15:04:46.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:04:46.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:04:46.805Z] Configure a credential helper to remove this warning. See [2022-03-02T15:04:46.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:04:46.805Z] [2022-03-02T15:04:46.805Z] Login Succeeded [2022-03-02T15:04:46.805Z] nexus3.edgexfoundry.org:10003 [2022-03-02T15:04:47.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:04:47.348Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:04:47.348Z] Configure a credential helper to remove this warning. See [2022-03-02T15:04:47.348Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:04:47.348Z] [2022-03-02T15:04:47.348Z] Login Succeeded [2022-03-02T15:04:47.348Z] nexus3.edgexfoundry.org:10004 [2022-03-02T15:04:47.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:04:47.621Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:04:47.621Z] Configure a credential helper to remove this warning. See [2022-03-02T15:04:47.621Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:04:47.621Z] [2022-03-02T15:04:47.621Z] Login Succeeded [2022-03-02T15:04:47.621Z] docker.io [2022-03-02T15:04:47.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-03-02T15:04:48.485Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-03-02T15:04:48.485Z] Configure a credential helper to remove this warning. See [2022-03-02T15:04:48.485Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-03-02T15:04:48.485Z] [2022-03-02T15:04:48.485Z] Login Succeeded [2022-03-02T15:04:48.485Z] ---> docker-login.sh ends [Pipeline] } [2022-03-02T15:04:48.502Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-03-02T15:04:49.013Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-03-02T15:04:49.024Z] ========================================================= [2022-03-02T15:04:49.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-03-02T15:04:49.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-03-02T15:04:49.364Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/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-03-02T15:04:49.959Z] Sending build context to Docker daemon 5.13MB [2022-03-02T15:04:49.959Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-03-02T15:04:49.959Z] Step 2/11 : FROM ${BASE} AS builder [2022-03-02T15:04:49.959Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-03-02T15:04:49.959Z] 9b3977197b4f: Pulling fs layer [2022-03-02T15:04:49.959Z] 1a89e8eeedd5: Pulling fs layer [2022-03-02T15:04:49.959Z] 94645a83ff95: Pulling fs layer [2022-03-02T15:04:49.959Z] 3f3a8bcf1eab: Pulling fs layer [2022-03-02T15:04:49.959Z] 0c92f367c5e7: Pulling fs layer [2022-03-02T15:04:49.959Z] f7c0051592d6: Pulling fs layer [2022-03-02T15:04:49.959Z] a227ed2f7395: Pulling fs layer [2022-03-02T15:04:49.959Z] 7b1c46037f91: Pulling fs layer [2022-03-02T15:04:49.959Z] f7c0051592d6: Waiting [2022-03-02T15:04:49.959Z] 3f3a8bcf1eab: Waiting [2022-03-02T15:04:49.959Z] 0c92f367c5e7: Waiting [2022-03-02T15:04:49.959Z] a227ed2f7395: Waiting [2022-03-02T15:04:49.960Z] 7b1c46037f91: Waiting [2022-03-02T15:04:49.960Z] 94645a83ff95: Verifying Checksum [2022-03-02T15:04:49.960Z] 94645a83ff95: Download complete [2022-03-02T15:04:49.960Z] 1a89e8eeedd5: Verifying Checksum [2022-03-02T15:04:49.960Z] 1a89e8eeedd5: Download complete [2022-03-02T15:04:49.960Z] 0c92f367c5e7: Verifying Checksum [2022-03-02T15:04:49.960Z] 0c92f367c5e7: Download complete [2022-03-02T15:04:49.960Z] f7c0051592d6: Verifying Checksum [2022-03-02T15:04:49.960Z] f7c0051592d6: Download complete [2022-03-02T15:04:49.960Z] 9b3977197b4f: Verifying Checksum [2022-03-02T15:04:49.960Z] a227ed2f7395: Verifying Checksum [2022-03-02T15:04:49.960Z] a227ed2f7395: Download complete [2022-03-02T15:04:50.945Z] 9b3977197b4f: Pull complete [2022-03-02T15:04:51.543Z] 1a89e8eeedd5: Pull complete [2022-03-02T15:04:51.817Z] 94645a83ff95: Pull complete [2022-03-02T15:04:51.817Z] 7b1c46037f91: Verifying Checksum [2022-03-02T15:04:51.817Z] 7b1c46037f91: Download complete [2022-03-02T15:04:52.414Z] 3f3a8bcf1eab: Verifying Checksum [2022-03-02T15:04:52.414Z] 3f3a8bcf1eab: Download complete [2022-03-02T15:05:04.819Z] 3f3a8bcf1eab: Pull complete [2022-03-02T15:05:04.819Z] 0c92f367c5e7: Pull complete [2022-03-02T15:05:04.819Z] f7c0051592d6: Pull complete [2022-03-02T15:05:04.819Z] a227ed2f7395: Pull complete [2022-03-02T15:05:11.532Z] 7b1c46037f91: Pull complete [2022-03-02T15:05:11.532Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-03-02T15:05:11.532Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-03-02T15:05:11.532Z] ---> f79e39bc4007 [2022-03-02T15:05:11.532Z] Step 3/11 : ARG MAKE=make build [2022-03-02T15:05:12.519Z] ---> Running in 5b389c4ce109 [2022-03-02T15:05:13.116Z] Removing intermediate container 5b389c4ce109 [2022-03-02T15:05:13.116Z] ---> 5077099f523c [2022-03-02T15:05:13.116Z] Step 4/11 : WORKDIR /device-sdk-go [2022-03-02T15:05:13.116Z] ---> Running in 8ae81ebe1797 [2022-03-02T15:05:13.391Z] Removing intermediate container 8ae81ebe1797 [2022-03-02T15:05:13.391Z] ---> 305ad4f9df00 [2022-03-02T15:05:13.391Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-03-02T15:05:13.664Z] ---> Running in 51085062c4c6 [2022-03-02T15:05:13.941Z] Removing intermediate container 51085062c4c6 [2022-03-02T15:05:13.941Z] ---> a3787c39d637 [2022-03-02T15:05:13.941Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-03-02T15:05:14.213Z] ---> Running in b461716cec53 [2022-03-02T15:05:16.199Z] Removing intermediate container b461716cec53 [2022-03-02T15:05:16.199Z] ---> 3b0774872134 [2022-03-02T15:05:16.199Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-03-02T15:05:16.199Z] ---> Running in c6086b726d8f [2022-03-02T15:05:17.179Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-03-02T15:05:18.160Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-03-02T15:05:18.756Z] OK: 220 MiB in 52 packages [2022-03-02T15:05:19.736Z] Removing intermediate container c6086b726d8f [2022-03-02T15:05:19.736Z] ---> 1e4b923361f0 [2022-03-02T15:05:19.736Z] Step 8/11 : COPY go.mod vendor* ./ [2022-03-02T15:05:20.347Z] ---> 7c72b66cbbba [2022-03-02T15:05:20.347Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-03-02T15:05:20.347Z] ---> Running in 24343e94cf6e [2022-03-02T15:06:42.150Z] Removing intermediate container 24343e94cf6e [2022-03-02T15:06:42.150Z] ---> 2b2ee8e20388 [2022-03-02T15:06:42.150Z] Step 10/11 : COPY . . [2022-03-02T15:06:42.150Z] ---> c5176428c03d [2022-03-02T15:06:42.150Z] Step 11/11 : RUN ${MAKE} [2022-03-02T15:06:42.150Z] ---> Running in 736be77b3928 [2022-03-02T15:06:42.150Z] noop [2022-03-02T15:06:42.150Z] Removing intermediate container 736be77b3928 [2022-03-02T15:06:42.150Z] ---> 07282e550c2a [2022-03-02T15:06:42.150Z] Successfully built 07282e550c2a [2022-03-02T15:06:42.150Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-03-02T15:06:42.497Z] + docker inspect -f . ci-base-image-arm64 [2022-03-02T15:06:42.497Z] . [Pipeline] withDockerContainer [2022-03-02T15:06:42.736Z] prd-ubuntu18.04-docker-arm64-4c-16g-6259 does not seem to be running inside a container [2022-03-02T15:06:42.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-02T15:06:44.238Z] $ docker top a23f1f334b58e1e9ec90cccdb653e4a4c1f872216bad71725c85331502835211 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-02T15:06:45.138Z] + go version [2022-03-02T15:06:45.139Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-03-02T15:06:45.167Z] $ docker stop --time=1 a23f1f334b58e1e9ec90cccdb653e4a4c1f872216bad71725c85331502835211 [2022-03-02T15:06:46.813Z] $ docker rm -f a23f1f334b58e1e9ec90cccdb653e4a4c1f872216bad71725c85331502835211 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-03-02T15:06:47.445Z] + docker inspect -f . ci-base-image-arm64 [2022-03-02T15:06:47.446Z] . [Pipeline] withDockerContainer [2022-03-02T15:06:47.687Z] prd-ubuntu18.04-docker-arm64-4c-16g-6259 does not seem to be running inside a container [2022-03-02T15:06:47.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-03-02T15:06:49.148Z] $ docker top 6d92848474240063c2667cf56b38bcb7de664441bf61a12055281f5952f6f098 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-03-02T15:06:50.067Z] + make test [2022-03-02T15:06:50.067Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-03-02T15:06:51.513Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-03-02T15:07:23.886Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [2022-03-02T15:07:23.886Z] internal/cache/init.go:22:8: undefined: container.DeviceClientFrom [2022-03-02T15:07:23.886Z] internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom [2022-03-02T15:07:23.886Z] internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom [2022-03-02T15:07:28.232Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/common [2022-03-02T15:07:28.232Z] internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom [2022-03-02T15:07:38.402Z] # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [github.com/edgexfoundry/device-sdk-go/v2/internal/cache.test] [2022-03-02T15:07:38.402Z] internal/cache/init.go:22: undefined: container.DeviceClientFrom [2022-03-02T15:07:38.402Z] internal/cache/init.go:23: undefined: container.DeviceProfileClientFrom [2022-03-02T15:07:38.402Z] internal/cache/init.go:24: undefined: container.ProvisionWatcherClientFrom [2022-03-02T15:07:39.849Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] [2022-03-02T15:07:39.849Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] [2022-03-02T15:07:39.849Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] [2022-03-02T15:07:39.849Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.059s coverage: 10.8% of statements [2022-03-02T15:07:39.849Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] [2022-03-02T15:07:42.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.057s coverage: 86.1% of statements [2022-03-02T15:07:42.463Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] [2022-03-02T15:07:42.463Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.179s coverage: 89.2% of statements [2022-03-02T15:07:42.463Z] FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] [2022-03-02T15:07:42.734Z] make: *** [Makefile:36: unittest] Error 2 [Pipeline] } [2022-03-02T15:07:42.766Z] $ docker stop --time=1 6d92848474240063c2667cf56b38bcb7de664441bf61a12055281f5952f6f098 [2022-03-02T15:07:44.618Z] $ docker rm -f 6d92848474240063c2667cf56b38bcb7de664441bf61a12055281f5952f6f098 [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-03-02T15:07:45.521Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-02T15:07:45.521Z] [2022-03-02T15:07:45.521Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-03-02T15:07:45.876Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-02T15:07:46.152Z] arm64: Pulling from edgex-lftools-log-publisher [2022-03-02T15:07:46.152Z] 8998bd30e6a1: Pulling fs layer [2022-03-02T15:07:46.152Z] 04944245beec: Pulling fs layer [2022-03-02T15:07:46.152Z] 699f458cf7ca: Pulling fs layer [2022-03-02T15:07:46.152Z] 765212b225bb: Pulling fs layer [2022-03-02T15:07:46.152Z] f23df028b6ca: Pulling fs layer [2022-03-02T15:07:46.152Z] d65c8cfc05b1: Pulling fs layer [2022-03-02T15:07:46.152Z] 2437ff75d9bd: Pulling fs layer [2022-03-02T15:07:46.152Z] 765212b225bb: Waiting [2022-03-02T15:07:46.152Z] f23df028b6ca: Waiting [2022-03-02T15:07:46.152Z] d65c8cfc05b1: Waiting [2022-03-02T15:07:46.152Z] 2437ff75d9bd: Waiting [2022-03-02T15:07:46.152Z] 04944245beec: Verifying Checksum [2022-03-02T15:07:46.152Z] 04944245beec: Download complete [2022-03-02T15:07:46.152Z] 765212b225bb: Verifying Checksum [2022-03-02T15:07:46.152Z] 765212b225bb: Download complete [2022-03-02T15:07:46.152Z] f23df028b6ca: Verifying Checksum [2022-03-02T15:07:46.152Z] f23df028b6ca: Download complete [2022-03-02T15:07:46.152Z] d65c8cfc05b1: Verifying Checksum [2022-03-02T15:07:46.152Z] d65c8cfc05b1: Download complete [2022-03-02T15:07:46.427Z] 699f458cf7ca: Verifying Checksum [2022-03-02T15:07:46.427Z] 699f458cf7ca: Download complete [2022-03-02T15:07:46.701Z] 8998bd30e6a1: Verifying Checksum [2022-03-02T15:07:46.701Z] 8998bd30e6a1: Download complete [2022-03-02T15:07:49.327Z] 2437ff75d9bd: Verifying Checksum [2022-03-02T15:07:49.327Z] 2437ff75d9bd: Download complete [2022-03-02T15:07:50.757Z] 8998bd30e6a1: Pull complete [2022-03-02T15:07:51.355Z] 04944245beec: Pull complete [2022-03-02T15:07:52.784Z] 699f458cf7ca: Pull complete [2022-03-02T15:07:53.054Z] 765212b225bb: Pull complete [2022-03-02T15:07:53.653Z] f23df028b6ca: Pull complete [2022-03-02T15:07:53.925Z] d65c8cfc05b1: Pull complete [2022-03-02T15:08:08.988Z] 2437ff75d9bd: Pull complete [2022-03-02T15:08:08.988Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-03-02T15:08:08.988Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-03-02T15:08:08.988Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-03-02T15:08:09.192Z] prd-ubuntu18.04-docker-arm64-4c-16g-6259 does not seem to be running inside a container [2022-03-02T15:08:09.287Z] $ 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-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-03-02T15:08:11.828Z] $ docker top b4fb0694d8d09be7affa4a7c7deb1f87d06efe1e874a1bc607ef7f65d27d0625 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:08:12.736Z] ---> job-cost.sh [2022-03-02T15:08:12.737Z] lf-activate-venv: SKIPPING [2022-03-02T15:08:12.737Z] INFO: No Stack... [2022-03-02T15:08:13.007Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-03-02T15:08:13.980Z] INFO: Archiving Costs [Pipeline] sh [2022-03-02T15:08:14.635Z] + cut -d, -f6 [2022-03-02T15:08:14.635Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2022-03-02T15:08:14.698Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] [2022-03-02T15:08:14.704Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] did not exist. Created. [2022-03-02T15:08:14.704Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-03-02T15:08:15.376Z] /w/workspace/device-sdk-go/2@tmp/durable-6e8ed2d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-03-02T15:08:16.035Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-03-02T15:08:16.054Z] Warning: overwriting stash ‘stack-cost’ [2022-03-02T15:08:16.500Z] Stashed 1 file(s) [Pipeline] } [2022-03-02T15:08:16.509Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-03-02T15:08:16.536Z] $ docker stop --time=1 b4fb0694d8d09be7affa4a7c7deb1f87d06efe1e874a1bc607ef7f65d27d0625 [2022-03-02T15:08:18.034Z] $ docker rm -f b4fb0694d8d09be7affa4a7c7deb1f87d06efe1e874a1bc607ef7f65d27d0625 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-03-02T15:08:18.329Z] 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-03-02T15:08:18.988Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives ']' [2022-03-02T15:08:18.988Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives [2022-03-02T15:08:18.988Z] total 8 [2022-03-02T15:08:18.988Z] drwxr-xr-x. 3 root root 34 Mar 2 15:03 . [2022-03-02T15:08:18.988Z] drwxrwxr-x. 12 jenkins jenkins 4096 Mar 2 15:03 .. [2022-03-02T15:08:18.988Z] drwxr-xr-x. 2 root root 6 Mar 2 15:03 cost [2022-03-02T15:08:18.988Z] -rw-r--r--. 1 root root 85 Mar 2 15:03 cost.csv [2022-03-02T15:08:18.988Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives [2022-03-02T15:08:18.988Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives [2022-03-02T15:08:18.988Z] total 8 [2022-03-02T15:08:18.988Z] drwxr-xr-x. 3 jenkins jenkins 34 Mar 2 15:03 . [2022-03-02T15:08:18.988Z] drwxrwxr-x. 12 jenkins jenkins 4096 Mar 2 15:03 .. [2022-03-02T15:08:18.988Z] drwxr-xr-x. 2 jenkins jenkins 6 Mar 2 15:03 cost [2022-03-02T15:08:18.988Z] -rw-r--r--. 1 jenkins jenkins 85 Mar 2 15:03 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:08:19.291Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:08:19.848Z] ---> package-listing.sh [2022-03-02T15:08:19.848Z] ++ tr '[:upper:]' '[:lower:]' [2022-03-02T15:08:19.848Z] ++ facter osfamily [2022-03-02T15:08:20.110Z] + OS_FAMILY=redhat [2022-03-02T15:08:20.110Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1099 [2022-03-02T15:08:20.110Z] + START_PACKAGES=/tmp/packages_start.txt [2022-03-02T15:08:20.110Z] + END_PACKAGES=/tmp/packages_end.txt [2022-03-02T15:08:20.110Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-03-02T15:08:20.110Z] + PACKAGES=/tmp/packages_start.txt [2022-03-02T15:08:20.110Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1099 ']' [2022-03-02T15:08:20.110Z] + PACKAGES=/tmp/packages_end.txt [2022-03-02T15:08:20.110Z] + case "${OS_FAMILY}" in [2022-03-02T15:08:20.110Z] + sort [2022-03-02T15:08:20.110Z] + rpm -qa [2022-03-02T15:08:20.682Z] + '[' -f /tmp/packages_start.txt ']' [2022-03-02T15:08:20.682Z] + '[' -f /tmp/packages_end.txt ']' [2022-03-02T15:08:20.682Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-03-02T15:08:20.682Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1099 ']' [2022-03-02T15:08:20.682Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives/ [2022-03-02T15:08:20.682Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives/ [Pipeline] echo [2022-03-02T15:08:20.692Z] 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-sdk-go_PR-1099/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-03-02T15:08:20.973Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-03-02T15:08:21.531Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-03-02T15:08:21.531Z] . [Pipeline] withDockerContainer [2022-03-02T15:08:21.603Z] prd-centos7-docker-4c-2g-6257 does not seem to be running inside a container [2022-03-02T15:08:21.656Z] $ 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-sdk-go_PR-1099/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-sdk-go_PR-1099 -v /w/workspace/gexfoundry_device-sdk-go_PR-1099:/w/workspace/gexfoundry_device-sdk-go_PR-1099:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1099@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-03-02T15:08:21.868Z] $ docker top 0bbf33ea5b335d7ca743b4cf8fd2a1303d1dc4bdd8bdb75d0d265065e636992f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-03-02T15:08:22.221Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-03-02T15:08:22.525Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-03-02T15:08:22.982Z] + ls /var/log/sa-host [2022-03-02T15:08:22.982Z] + sadf -c /var/log/sa-host/sa02 [2022-03-02T15:08:22.982Z] file_magic: OK [2022-03-02T15:08:22.982Z] HZ: Using current value: 100 [2022-03-02T15:08:22.982Z] file_header: OK [2022-03-02T15:08:22.982Z] 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-03-02T15:08:22.982Z] Statistics: [2022-03-02T15:08:22.982Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-02T15:08:22.982Z] File successfully converted to sysstat format version 12.5.2 [2022-03-02T15:08:22.982Z] + sadf -c /var/log/sa-host/sa17 [2022-03-02T15:08:22.982Z] file_magic: OK [2022-03-02T15:08:22.982Z] HZ: Using current value: 100 [2022-03-02T15:08:22.982Z] file_header: OK [2022-03-02T15:08:22.982Z] 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-03-02T15:08:22.982Z] Statistics: [2022-03-02T15:08:22.982Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-03-02T15:08:22.982Z] File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-03-02T15:08:23.111Z] provisioning config files... [2022-03-02T15:08:23.169Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp/config1859108360819865081tmp [Pipeline] { [Pipeline] echo [2022-03-02T15:08:23.224Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:08:23.508Z] ---> create-netrc.sh [Pipeline] } [2022-03-02T15:08:23.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:08:23.843Z] ---> python-tools-install.sh [Pipeline] echo [2022-03-02T15:08:23.852Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:08:24.145Z] ---> sudo-logs.sh [2022-03-02T15:08:24.145Z] Archiving 'sudo' log.. [2022-03-02T15:08:24.145Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6257.novalocal: Name or service not known [2022-03-02T15:08:24.145Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-6257.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-03-02T15:08:24.184Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:08:24.482Z] ---> job-cost.sh [2022-03-02T15:08:24.482Z] lf-activate-venv: SKIPPING [2022-03-02T15:08:24.482Z] DEBUG: total: 0.05999999865889549 [2022-03-02T15:08:24.482Z] INFO: Retrieving Stack Cost... [2022-03-02T15:08:24.742Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-03-02T15:08:25.311Z] INFO: Archiving Costs [Pipeline] echo [2022-03-02T15:08:25.324Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-03-02T15:08:25.617Z] ---> logs-deploy.sh [2022-03-02T15:08:25.617Z] lf-activate-venv: SKIPPING [2022-03-02T15:08:25.617Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1099/2 [2022-03-02T15:08:25.617Z] INFO: archiving workspace using pattern(s): [2022-03-02T15:08:26.571Z] Archives upload complete. [2022-03-02T15:08:26.571Z] INFO: archiving logs to Nexus