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 15:01:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:01:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:01:40 ========================================================= 15:01:40 EdgeX Global Pipelines Version Info 15:01:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 4776fbe67a8c2ca1cc2e96feb3126617b9c3688f # timeout=10 15:01:42 ------------------- 15:01:42 stable info: 15:01:42 ------------------- 15:01:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:01:42 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 15:01:42 Message: update stable to v1.0.220 15:01:42 ------------------- 15:01:42 experimental info: 15:01:42 ------------------- 15:01:42 Commited By: **** collab-it+edgex@linuxfoundation.org 15:01:42 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 15:01:42 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:01:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1099 [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1099 [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1099 [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15253665010d2bc3346aca66bb2b0b401773315e [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1525366 [Pipeline] echo 15:01:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:01:43 provisioning config files... 15:01:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp/config8255589865911771014tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:01:43 ---> docker-login.sh 15:01:43 nexus3.edgexfoundry.org:10001 15:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:43 Configure a credential helper to remove this warning. See 15:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:43 15:01:43 Login Succeeded 15:01:43 nexus3.edgexfoundry.org:10002 15:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:43 Configure a credential helper to remove this warning. See 15:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:43 15:01:43 Login Succeeded 15:01:43 nexus3.edgexfoundry.org:10003 15:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:43 Configure a credential helper to remove this warning. See 15:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:43 15:01:43 Login Succeeded 15:01:43 nexus3.edgexfoundry.org:10004 15:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:44 Configure a credential helper to remove this warning. See 15:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:44 15:01:44 Login Succeeded 15:01:44 docker.io 15:01:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:44 Configure a credential helper to remove this warning. See 15:01:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:44 15:01:44 Login Succeeded 15:01:44 ---> docker-login.sh ends [Pipeline] } 15:01:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:01:44 + git rev-list -1 --merges 15253665010d2bc3346aca66bb2b0b401773315e~1..15253665010d2bc3346aca66bb2b0b401773315e [Pipeline] echo 15:01:44 -----------> git rev-list -1 --merges 15253665010d2bc3346aca66bb2b0b401773315e~1..15253665010d2bc3346aca66bb2b0b401773315e 15253665010d2bc3346aca66bb2b0b401773315e [false] [Pipeline] sh 15:01:44 + git log --format=format:%s -1 15253665010d2bc3346aca66bb2b0b401773315e [Pipeline] echo 15:01:45 ========================================================= 15:01:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:01:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:01:45 + git log --format=format:%s -1 15253665010d2bc3346aca66bb2b0b401773315e [Pipeline] echo 15:01:45 [semverPrep] GIT_COMMIT: 15253665010d2bc3346aca66bb2b0b401773315e, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 15:01:45 [semverPrep] This is not a build commit. [Pipeline] sh 15:01:45 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 15:01:45 + grep -v github /etc/ssh/ssh_known_hosts 15:01:45 + '[' -e /tmp/ssh_known_hosts ']' 15:01:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:01:45 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 15:01:45 + sudo tee -a /etc/ssh/ssh_known_hosts 15:01:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 15:01:46 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:01:46 15:01:46 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 15:01:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:01:46 latest: Pulling from edgex-devops/git-semver 15:01:46 a0d0a0d46f8b: Pulling fs layer 15:01:46 3e5f54012d9b: Pulling fs layer 15:01:46 4c7163046ea9: Pulling fs layer 15:01:46 0c2d73faf560: Pulling fs layer 15:01:46 0c2d73faf560: Waiting 15:01:46 3e5f54012d9b: Download complete 15:01:46 a0d0a0d46f8b: Verifying Checksum 15:01:46 a0d0a0d46f8b: Download complete 15:01:46 0c2d73faf560: Verifying Checksum 15:01:46 0c2d73faf560: Download complete 15:01:46 4c7163046ea9: Verifying Checksum 15:01:46 4c7163046ea9: Download complete 15:01:46 a0d0a0d46f8b: Pull complete 15:01:46 3e5f54012d9b: Pull complete 15:01:46 4c7163046ea9: Pull complete 15:01:47 0c2d73faf560: Pull complete 15:01:47 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 15:01:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 15:01:47 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 15:01:47 prd-centos7-docker-4c-2g-6257 does not seem to be running inside a container 15:01:47 $ 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 15:01:47 $ docker top c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:01:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:01:47 [ssh-agent] Looking for ssh-agent implementation... 15:01:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:01:48 $ docker exec c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 ssh-agent 15:01:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpbGENl/agent.15 15:01:48 SSH_AGENT_PID=21 15:01:48 Running ssh-add (command line suppressed) 15:01:48 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) 15:01:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:01:48 + git tag --points-at HEAD [Pipeline] } 15:01:48 $ docker exec --env ******** --env ******** c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 ssh-agent -k 15:01:48 unset SSH_AUTH_SOCK; 15:01:48 unset SSH_AGENT_PID; 15:01:48 echo Agent pid 21 killed; 15:01:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:01:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:01:48 [ssh-agent] Looking for ssh-agent implementation... 15:01:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:01:48 $ docker exec c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 ssh-agent 15:01:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAdAImF/agent.55 15:01:48 SSH_AGENT_PID=61 15:01:48 Running ssh-add (command line suppressed) 15:01:49 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) 15:01:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:01:49 + git semver init 15:01:49 # -> Open(): unable to determine branch for HEAD 15:01:49 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1099/.git 15:01:49 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1099 15:01:49 # $SEMVER_REMOTE_NAME = origin 15:01:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 15:01:49 # $SEMVER_USER_NAME = edgex-jenkins 15:01:49 # $SEMVER_BRANCH = PR-1099 15:01:49 # $SEMVER_TEMP = /tmp/semver-122156636 15:01:49 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 15:01:50 # '/tmp/semver-122156636' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1099/.semver' 15:01:50 # -> Force: false 15:01:50 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1099/.semver [Pipeline] } 15:01:50 $ docker exec --env ******** --env ******** c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 ssh-agent -k 15:01:50 unset SSH_AUTH_SOCK; 15:01:50 unset SSH_AGENT_PID; 15:01:50 echo Agent pid 61 killed; 15:01:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:01:50 + git semver [Pipeline] } 15:01:50 $ docker stop --time=1 c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 15:01:51 $ docker rm -f c1a02e364feba79f21eaf137b13cf816893257907fc9107006c57066fff0cab3 [Pipeline] // withDockerContainer [Pipeline] sh 15:01:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:01:52 Stashed 1 file(s) [Pipeline] echo 15:01:52 [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 15:01:52 provisioning config files... 15:01:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp/config4028429738893449661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:01:53 ---> docker-login.sh 15:01:53 nexus3.edgexfoundry.org:10001 15:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:53 Configure a credential helper to remove this warning. See 15:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:53 15:01:53 Login Succeeded 15:01:53 nexus3.edgexfoundry.org:10002 15:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:53 Configure a credential helper to remove this warning. See 15:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:53 15:01:53 Login Succeeded 15:01:53 nexus3.edgexfoundry.org:10003 15:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:53 Configure a credential helper to remove this warning. See 15:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:53 15:01:53 Login Succeeded 15:01:53 nexus3.edgexfoundry.org:10004 15:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:53 Configure a credential helper to remove this warning. See 15:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:53 15:01:53 Login Succeeded 15:01:53 docker.io 15:01:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:01:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:01:53 Configure a credential helper to remove this warning. See 15:01:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:01:53 15:01:53 Login Succeeded 15:01:53 ---> docker-login.sh ends [Pipeline] } 15:01:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:01:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:01:53 ========================================================= 15:01:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 15:01:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:01:54 + 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 . 15:01:54 Sending build context to Docker daemon 9.494MB 15:01:54 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:01:54 Step 2/11 : FROM ${BASE} AS builder 15:01:54 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 15:01:54 59bf1c3509f3: Pulling fs layer 15:01:54 666ba61612fd: Pulling fs layer 15:01:54 8ed8ca486205: Pulling fs layer 15:01:54 4fe6c5a15a65: Pulling fs layer 15:01:54 22a0e8bec74d: Pulling fs layer 15:01:54 640e595b4fbd: Pulling fs layer 15:01:54 763cafe07f6e: Pulling fs layer 15:01:54 0c0b528cf693: Pulling fs layer 15:01:54 10935f4eaf8b: Pulling fs layer 15:01:54 4fe6c5a15a65: Waiting 15:01:54 22a0e8bec74d: Waiting 15:01:54 640e595b4fbd: Waiting 15:01:54 763cafe07f6e: Waiting 15:01:54 0c0b528cf693: Waiting 15:01:54 10935f4eaf8b: Waiting 15:01:54 8ed8ca486205: Verifying Checksum 15:01:54 8ed8ca486205: Download complete 15:01:54 666ba61612fd: Verifying Checksum 15:01:54 666ba61612fd: Download complete 15:01:54 22a0e8bec74d: Verifying Checksum 15:01:54 22a0e8bec74d: Download complete 15:01:54 640e595b4fbd: Verifying Checksum 15:01:54 640e595b4fbd: Download complete 15:01:54 763cafe07f6e: Verifying Checksum 15:01:54 763cafe07f6e: Download complete 15:01:54 59bf1c3509f3: Verifying Checksum 15:01:54 59bf1c3509f3: Download complete 15:01:54 0c0b528cf693: Verifying Checksum 15:01:54 0c0b528cf693: Download complete 15:01:54 59bf1c3509f3: Pull complete 15:01:54 666ba61612fd: Pull complete 15:01:55 8ed8ca486205: Pull complete 15:01:55 4fe6c5a15a65: Verifying Checksum 15:01:55 4fe6c5a15a65: Download complete 15:01:55 10935f4eaf8b: Verifying Checksum 15:01:55 10935f4eaf8b: Download complete 15:01:59 4fe6c5a15a65: Pull complete 15:01:59 22a0e8bec74d: Pull complete 15:01:59 640e595b4fbd: Pull complete 15:01:59 763cafe07f6e: Pull complete 15:01:59 0c0b528cf693: Pull complete 15:02:02 10935f4eaf8b: Pull complete 15:02:02 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 15:02:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 15:02:02 ---> 99d49a6021b9 15:02:02 Step 3/11 : ARG MAKE=make build 15:02:03 ---> Running in 814acf94e7bb 15:02:03 Removing intermediate container 814acf94e7bb 15:02:03 ---> 8c6b7bbd8355 15:02:03 Step 4/11 : WORKDIR /device-sdk-go 15:02:03 ---> Running in d108d3f018f0 15:02:03 Removing intermediate container d108d3f018f0 15:02:03 ---> 77de7c0b2dce 15:02:03 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:02:03 ---> Running in 61978e800570 15:02:03 Removing intermediate container 61978e800570 15:02:03 ---> 3889c05d9230 15:02:03 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:02:03 ---> Running in 78b7cd72d207 15:02:04 Removing intermediate container 78b7cd72d207 15:02:04 ---> 925fc8f55054 15:02:04 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:02:04 ---> Running in 4fe461b8cf57 15:02:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 15:02:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 15:02:05 OK: 221 MiB in 52 packages 15:02:05 Removing intermediate container 4fe461b8cf57 15:02:05 ---> 645ede8df83f 15:02:05 Step 8/11 : COPY go.mod vendor* ./ 15:02:05 ---> 65f2dbdfec93 15:02:05 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:02:05 ---> Running in 376645b19364 15:02:07 Still waiting to schedule task 15:02:07 ‘prd-ubuntu18.04-docker-arm64-4c-16g-6258’ is offline 15:02:32 Removing intermediate container 376645b19364 15:02:32 ---> 7a34e38ea1be 15:02:32 Step 10/11 : COPY . . 15:02:32 ---> d636a5d9feff 15:02:32 Step 11/11 : RUN ${MAKE} 15:02:32 ---> Running in bfab1f6cb4cf 15:02:32 noop 15:02:32 Removing intermediate container bfab1f6cb4cf 15:02:32 ---> 67dd5bd6b80d 15:02:32 Successfully built 67dd5bd6b80d 15:02:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 15:02:32 + docker inspect -f . ci-base-image-x86_64 15:02:32 . [Pipeline] withDockerContainer 15:02:32 prd-centos7-docker-4c-2g-6257 does not seem to be running inside a container 15:02:32 $ 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 15:02:33 $ docker top 98d9271ac6c2cc5638e4ce46d83648a3be3dadd81cd9eed81ddfb88a5ebe4150 -eo pid,comm [Pipeline] { [Pipeline] sh 15:02:33 + go version 15:02:33 go version go1.17.6 linux/amd64 [Pipeline] } 15:02:33 $ docker stop --time=1 98d9271ac6c2cc5638e4ce46d83648a3be3dadd81cd9eed81ddfb88a5ebe4150 15:02:34 $ docker rm -f 98d9271ac6c2cc5638e4ce46d83648a3be3dadd81cd9eed81ddfb88a5ebe4150 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:02:35 + docker inspect -f . ci-base-image-x86_64 15:02:35 . [Pipeline] withDockerContainer 15:02:35 prd-centos7-docker-4c-2g-6257 does not seem to be running inside a container 15:02:35 $ 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 15:02:35 $ docker top f38fb7cce45a311ad990a160f49d6784c5f80e39a9755822acd8e95c2c732a27 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:02:36 + make test 15:02:36 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:02:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:02:44 # github.com/edgexfoundry/device-sdk-go/v2/internal/cache 15:02:44 internal/cache/init.go:22:8: undefined: container.DeviceClientFrom 15:02:44 internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom 15:02:44 internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom 15:02:44 # github.com/edgexfoundry/device-sdk-go/v2/internal/common 15:02:44 internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom 15:02:51 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] 15:02:51 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] 15:02:51 # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [github.com/edgexfoundry/device-sdk-go/v2/internal/cache.test] 15:02:51 internal/cache/init.go:22: undefined: container.DeviceClientFrom 15:02:51 internal/cache/init.go:23: undefined: container.DeviceProfileClientFrom 15:02:51 internal/cache/init.go:24: undefined: container.ProvisionWatcherClientFrom 15:02:51 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] 15:02:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.013s coverage: 10.8% of statements 15:02:51 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] 15:02:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.010s coverage: 86.1% of statements 15:02:53 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] 15:02:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.028s coverage: 89.2% of statements 15:02:53 FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] 15:02:53 make: *** [Makefile:36: unittest] Error 2 [Pipeline] } 15:02:53 $ docker stop --time=1 f38fb7cce45a311ad990a160f49d6784c5f80e39a9755822acd8e95c2c732a27 15:02:54 $ 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 15:02:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:02:55 15:02:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 15:02:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:02:55 latest: Pulling from edgex-lftools-log-publisher 15:02:55 5eb5b503b376: Pulling fs layer 15:02:55 5c69ac0246d0: Pulling fs layer 15:02:55 ec43610c2a17: Pulling fs layer 15:02:55 3a2ae6a8a46f: Pulling fs layer 15:02:55 33b1e0a273af: Pulling fs layer 15:02:55 5d3b04190fa2: Pulling fs layer 15:02:55 2f39f015ded8: Pulling fs layer 15:02:55 3a2ae6a8a46f: Waiting 15:02:55 33b1e0a273af: Waiting 15:02:55 5d3b04190fa2: Waiting 15:02:55 2f39f015ded8: Waiting 15:02:55 5c69ac0246d0: Verifying Checksum 15:02:55 5c69ac0246d0: Download complete 15:02:55 3a2ae6a8a46f: Verifying Checksum 15:02:55 3a2ae6a8a46f: Download complete 15:02:55 ec43610c2a17: Verifying Checksum 15:02:55 ec43610c2a17: Download complete 15:02:55 33b1e0a273af: Verifying Checksum 15:02:55 33b1e0a273af: Download complete 15:02:55 5d3b04190fa2: Verifying Checksum 15:02:55 5d3b04190fa2: Download complete 15:02:55 5eb5b503b376: Verifying Checksum 15:02:55 5eb5b503b376: Download complete 15:02:56 2f39f015ded8: Verifying Checksum 15:02:56 2f39f015ded8: Download complete 15:02:57 5eb5b503b376: Pull complete 15:02:57 5c69ac0246d0: Pull complete 15:02:57 ec43610c2a17: Pull complete 15:02:57 3a2ae6a8a46f: Pull complete 15:02:58 33b1e0a273af: Pull complete 15:02:58 5d3b04190fa2: Pull complete 15:03:03 2f39f015ded8: Pull complete 15:03:03 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:03:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:03:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 15:03:03 prd-centos7-docker-4c-2g-6257 does not seem to be running inside a container 15:03:03 $ 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 15:03:06 $ docker top 4acc08e2308a3f5de73f601b81883483f2acbd3b363f5f33e9aad1f43b69c189 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:03:06 ---> job-cost.sh 15:03:06 lf-activate-venv: SKIPPING 15:03:06 INFO: No Stack... 15:03:06 INFO: Retrieving Pricing Info for: v3-standard-2 15:03:07 INFO: Archiving Costs [Pipeline] sh 15:03:07 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives/cost.csv 15:03:07 + cut -d, -f6 [Pipeline] lock 15:03:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] 15:03:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] did not exist. Created. 15:03:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:03:08 + echo total: 0.05999999865889549 [Pipeline] stash 15:03:08 Stashed 1 file(s) [Pipeline] } 15:03:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:03:08 $ docker stop --time=1 4acc08e2308a3f5de73f601b81883483f2acbd3b363f5f33e9aad1f43b69c189 15:03:09 $ docker rm -f 4acc08e2308a3f5de73f601b81883483f2acbd3b363f5f33e9aad1f43b69c189 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:03:09 Failed in branch amd64 15:04:11 Running on prd-ubuntu18.04-docker-arm64-4c-16g-6259 in /w/workspace/gexfoundry_device-sdk-go_PR-1099 [Pipeline] { [Pipeline] ws 15:04:11 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 15:04:11 The recommended git tool is: git 15:04:16 using credential edgex-jenkins-ssh 15:04:16 Cloning the remote Git repository 15:04:17 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:04:17 > git init /w/workspace/device-sdk-go/2 # timeout=10 15:04:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:04:17 > git --version # timeout=10 15:04:17 > git --version # 'git version 2.17.1' 15:04:17 using GIT_SSH to set credentials SSH Credentials for GitHub 15:04:17 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:04:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:04:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:04:19 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:04:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:04:19 using GIT_SSH to set credentials SSH Credentials for GitHub 15:04:19 > 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 15:04:19 Merging remotes/origin/main commit 2d47f06130efe23f62a62eca7f2537e0d7c1e066 into PR head commit 15253665010d2bc3346aca66bb2b0b401773315e 15:04:20 Merge succeeded, producing 15253665010d2bc3346aca66bb2b0b401773315e 15:04:20 Checking out Revision 15253665010d2bc3346aca66bb2b0b401773315e (PR-1099) 15:04:19 > git config core.sparsecheckout # timeout=10 15:04:19 > git checkout -f 15253665010d2bc3346aca66bb2b0b401773315e # timeout=10 15:04:19 > git remote # timeout=10 15:04:20 > git config --get remote.origin.url # timeout=10 15:04:20 using GIT_SSH to set credentials SSH Credentials for GitHub 15:04:20 > git merge 2d47f06130efe23f62a62eca7f2537e0d7c1e066 # timeout=10 15:04:20 > git rev-parse HEAD^{commit} # timeout=10 15:04:20 > git config core.sparsecheckout # timeout=10 15:04:20 > git checkout -f 15253665010d2bc3346aca66bb2b0b401773315e # timeout=10 15:04:24 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 15:04:25 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:04:25 % Total % Received % Xferd Average Speed Time Time Time Current 15:04:25 Dload Upload Total Spent Left Speed 15:04:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 15:04:25 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:04:26 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 15:04:26 15:04:26 { 15:04:26 "registry-mirrors": [ 15:04:26 "https://nexus3.edgexfoundry.org:10001" 15:04:26 ], 15:04:26 "bip": "10.250.0.254/24", 15:04:26 "hosts": [ 15:04:26 "tcp://0.0.0.0:5555", 15:04:26 "unix:///var/run/docker.sock" 15:04:26 ], 15:04:26 "mtu": 1458, 15:04:26 "selinux-enabled": true, 15:04:26 "seccomp-profile": "/etc/docker/seccomp.json" 15:04:26 } [Pipeline] sh 15:04:26 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:04:26 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:04:45 provisioning config files... 15:04:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7728600233864588772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:04:45 ---> docker-login.sh 15:04:45 nexus3.edgexfoundry.org:10001 15:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:46 Configure a credential helper to remove this warning. See 15:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:46 15:04:46 Login Succeeded 15:04:46 nexus3.edgexfoundry.org:10002 15:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:46 Configure a credential helper to remove this warning. See 15:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:46 15:04:46 Login Succeeded 15:04:46 nexus3.edgexfoundry.org:10003 15:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:47 Configure a credential helper to remove this warning. See 15:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:47 15:04:47 Login Succeeded 15:04:47 nexus3.edgexfoundry.org:10004 15:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:47 Configure a credential helper to remove this warning. See 15:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:47 15:04:47 Login Succeeded 15:04:47 docker.io 15:04:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:04:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:04:48 Configure a credential helper to remove this warning. See 15:04:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:04:48 15:04:48 Login Succeeded 15:04:48 ---> docker-login.sh ends [Pipeline] } 15:04:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:04:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:04:49 ========================================================= 15:04:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 15:04:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 15:04:49 + 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 . 15:04:49 Sending build context to Docker daemon 5.13MB 15:04:49 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 15:04:49 Step 2/11 : FROM ${BASE} AS builder 15:04:49 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:04:49 9b3977197b4f: Pulling fs layer 15:04:49 1a89e8eeedd5: Pulling fs layer 15:04:49 94645a83ff95: Pulling fs layer 15:04:49 3f3a8bcf1eab: Pulling fs layer 15:04:49 0c92f367c5e7: Pulling fs layer 15:04:49 f7c0051592d6: Pulling fs layer 15:04:49 a227ed2f7395: Pulling fs layer 15:04:49 7b1c46037f91: Pulling fs layer 15:04:49 f7c0051592d6: Waiting 15:04:49 3f3a8bcf1eab: Waiting 15:04:49 0c92f367c5e7: Waiting 15:04:49 a227ed2f7395: Waiting 15:04:49 7b1c46037f91: Waiting 15:04:49 94645a83ff95: Verifying Checksum 15:04:49 94645a83ff95: Download complete 15:04:49 1a89e8eeedd5: Verifying Checksum 15:04:49 1a89e8eeedd5: Download complete 15:04:49 0c92f367c5e7: Verifying Checksum 15:04:49 0c92f367c5e7: Download complete 15:04:49 f7c0051592d6: Verifying Checksum 15:04:49 f7c0051592d6: Download complete 15:04:49 9b3977197b4f: Verifying Checksum 15:04:49 a227ed2f7395: Verifying Checksum 15:04:49 a227ed2f7395: Download complete 15:04:50 9b3977197b4f: Pull complete 15:04:51 1a89e8eeedd5: Pull complete 15:04:51 94645a83ff95: Pull complete 15:04:51 7b1c46037f91: Verifying Checksum 15:04:51 7b1c46037f91: Download complete 15:04:52 3f3a8bcf1eab: Verifying Checksum 15:04:52 3f3a8bcf1eab: Download complete 15:05:04 3f3a8bcf1eab: Pull complete 15:05:04 0c92f367c5e7: Pull complete 15:05:04 f7c0051592d6: Pull complete 15:05:04 a227ed2f7395: Pull complete 15:05:11 7b1c46037f91: Pull complete 15:05:11 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 15:05:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 15:05:11 ---> f79e39bc4007 15:05:11 Step 3/11 : ARG MAKE=make build 15:05:12 ---> Running in 5b389c4ce109 15:05:13 Removing intermediate container 5b389c4ce109 15:05:13 ---> 5077099f523c 15:05:13 Step 4/11 : WORKDIR /device-sdk-go 15:05:13 ---> Running in 8ae81ebe1797 15:05:13 Removing intermediate container 8ae81ebe1797 15:05:13 ---> 305ad4f9df00 15:05:13 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 15:05:13 ---> Running in 51085062c4c6 15:05:13 Removing intermediate container 51085062c4c6 15:05:13 ---> a3787c39d637 15:05:13 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 15:05:14 ---> Running in b461716cec53 15:05:16 Removing intermediate container b461716cec53 15:05:16 ---> 3b0774872134 15:05:16 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:05:16 ---> Running in c6086b726d8f 15:05:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 15:05:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 15:05:18 OK: 220 MiB in 52 packages 15:05:19 Removing intermediate container c6086b726d8f 15:05:19 ---> 1e4b923361f0 15:05:19 Step 8/11 : COPY go.mod vendor* ./ 15:05:20 ---> 7c72b66cbbba 15:05:20 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:05:20 ---> Running in 24343e94cf6e 15:06:42 Removing intermediate container 24343e94cf6e 15:06:42 ---> 2b2ee8e20388 15:06:42 Step 10/11 : COPY . . 15:06:42 ---> c5176428c03d 15:06:42 Step 11/11 : RUN ${MAKE} 15:06:42 ---> Running in 736be77b3928 15:06:42 noop 15:06:42 Removing intermediate container 736be77b3928 15:06:42 ---> 07282e550c2a 15:06:42 Successfully built 07282e550c2a 15:06:42 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 15:06:42 + docker inspect -f . ci-base-image-arm64 15:06:42 . [Pipeline] withDockerContainer 15:06:42 prd-ubuntu18.04-docker-arm64-4c-16g-6259 does not seem to be running inside a container 15:06:42 $ 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 15:06:44 $ docker top a23f1f334b58e1e9ec90cccdb653e4a4c1f872216bad71725c85331502835211 -eo pid,comm [Pipeline] { [Pipeline] sh 15:06:45 + go version 15:06:45 go version go1.17.6 linux/arm64 [Pipeline] } 15:06:45 $ docker stop --time=1 a23f1f334b58e1e9ec90cccdb653e4a4c1f872216bad71725c85331502835211 15:06:46 $ docker rm -f a23f1f334b58e1e9ec90cccdb653e4a4c1f872216bad71725c85331502835211 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 15:06:47 + docker inspect -f . ci-base-image-arm64 15:06:47 . [Pipeline] withDockerContainer 15:06:47 prd-ubuntu18.04-docker-arm64-4c-16g-6259 does not seem to be running inside a container 15:06:47 $ 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 15:06:49 $ docker top 6d92848474240063c2667cf56b38bcb7de664441bf61a12055281f5952f6f098 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 15:06:50 + make test 15:06:50 GO111MODULE=on go test -coverprofile=coverage.out ./... 15:06:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:07:23 # github.com/edgexfoundry/device-sdk-go/v2/internal/cache 15:07:23 internal/cache/init.go:22:8: undefined: container.DeviceClientFrom 15:07:23 internal/cache/init.go:23:9: undefined: container.DeviceProfileClientFrom 15:07:23 internal/cache/init.go:24:9: undefined: container.ProvisionWatcherClientFrom 15:07:28 # github.com/edgexfoundry/device-sdk-go/v2/internal/common 15:07:28 internal/common/utils.go:75:9: undefined: "github.com/edgexfoundry/go-mod-bootstrap/v2/bootstrap/container".EventClientFrom 15:07:38 # github.com/edgexfoundry/device-sdk-go/v2/internal/cache [github.com/edgexfoundry/device-sdk-go/v2/internal/cache.test] 15:07:38 internal/cache/init.go:22: undefined: container.DeviceClientFrom 15:07:38 internal/cache/init.go:23: undefined: container.DeviceProfileClientFrom 15:07:38 internal/cache/init.go:24: undefined: container.ProvisionWatcherClientFrom 15:07:39 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/application [build failed] 15:07:39 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent [build failed] 15:07:39 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/cache [build failed] 15:07:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.059s coverage: 10.8% of statements 15:07:39 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http [build failed] 15:07:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.057s coverage: 86.1% of statements 15:07:42 FAIL github.com/edgexfoundry/device-sdk-go/v2/internal/transformer [build failed] 15:07:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.179s coverage: 89.2% of statements 15:07:42 FAIL github.com/edgexfoundry/device-sdk-go/v2/pkg/service [build failed] 15:07:42 make: *** [Makefile:36: unittest] Error 2 [Pipeline] } 15:07:42 $ docker stop --time=1 6d92848474240063c2667cf56b38bcb7de664441bf61a12055281f5952f6f098 15:07:44 $ 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 15:07:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:07:45 15:07:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 15:07:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:07:46 arm64: Pulling from edgex-lftools-log-publisher 15:07:46 8998bd30e6a1: Pulling fs layer 15:07:46 04944245beec: Pulling fs layer 15:07:46 699f458cf7ca: Pulling fs layer 15:07:46 765212b225bb: Pulling fs layer 15:07:46 f23df028b6ca: Pulling fs layer 15:07:46 d65c8cfc05b1: Pulling fs layer 15:07:46 2437ff75d9bd: Pulling fs layer 15:07:46 765212b225bb: Waiting 15:07:46 f23df028b6ca: Waiting 15:07:46 d65c8cfc05b1: Waiting 15:07:46 2437ff75d9bd: Waiting 15:07:46 04944245beec: Verifying Checksum 15:07:46 04944245beec: Download complete 15:07:46 765212b225bb: Verifying Checksum 15:07:46 765212b225bb: Download complete 15:07:46 f23df028b6ca: Verifying Checksum 15:07:46 f23df028b6ca: Download complete 15:07:46 d65c8cfc05b1: Verifying Checksum 15:07:46 d65c8cfc05b1: Download complete 15:07:46 699f458cf7ca: Verifying Checksum 15:07:46 699f458cf7ca: Download complete 15:07:46 8998bd30e6a1: Verifying Checksum 15:07:46 8998bd30e6a1: Download complete 15:07:49 2437ff75d9bd: Verifying Checksum 15:07:49 2437ff75d9bd: Download complete 15:07:50 8998bd30e6a1: Pull complete 15:07:51 04944245beec: Pull complete 15:07:52 699f458cf7ca: Pull complete 15:07:53 765212b225bb: Pull complete 15:07:53 f23df028b6ca: Pull complete 15:07:53 d65c8cfc05b1: Pull complete 15:08:08 2437ff75d9bd: Pull complete 15:08:08 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:08:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:08:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 15:08:09 prd-ubuntu18.04-docker-arm64-4c-16g-6259 does not seem to be running inside a container 15:08:09 $ 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 15:08:11 $ docker top b4fb0694d8d09be7affa4a7c7deb1f87d06efe1e874a1bc607ef7f65d27d0625 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:12 ---> job-cost.sh 15:08:12 lf-activate-venv: SKIPPING 15:08:12 INFO: No Stack... 15:08:13 INFO: Retrieving Pricing Info for: v3-standard-4 15:08:13 INFO: Archiving Costs [Pipeline] sh 15:08:14 + cut -d, -f6 15:08:14 + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 15:08:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] 15:08:14 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] did not exist. Created. 15:08:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:08:15 /w/workspace/device-sdk-go/2@tmp/durable-6e8ed2d7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:08:16 + echo total: 0.10999999940395355 [Pipeline] stash 15:08:16 Warning: overwriting stash ‘stack-cost’ 15:08:16 Stashed 1 file(s) [Pipeline] } 15:08:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1099-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:08:16 $ docker stop --time=1 b4fb0694d8d09be7affa4a7c7deb1f87d06efe1e874a1bc607ef7f65d27d0625 15:08:18 $ 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] } 15:08:18 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 15:08:18 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives ']' 15:08:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives 15:08:18 total 8 15:08:18 drwxr-xr-x. 3 root root 34 Mar 2 15:03 . 15:08:18 drwxrwxr-x. 12 jenkins jenkins 4096 Mar 2 15:03 .. 15:08:18 drwxr-xr-x. 2 root root 6 Mar 2 15:03 cost 15:08:18 -rw-r--r--. 1 root root 85 Mar 2 15:03 cost.csv 15:08:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives 15:08:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives 15:08:18 total 8 15:08:18 drwxr-xr-x. 3 jenkins jenkins 34 Mar 2 15:03 . 15:08:18 drwxrwxr-x. 12 jenkins jenkins 4096 Mar 2 15:03 .. 15:08:18 drwxr-xr-x. 2 jenkins jenkins 6 Mar 2 15:03 cost 15:08:18 -rw-r--r--. 1 jenkins jenkins 85 Mar 2 15:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:08:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:08:19 ---> package-listing.sh 15:08:19 ++ tr '[:upper:]' '[:lower:]' 15:08:19 ++ facter osfamily 15:08:20 + OS_FAMILY=redhat 15:08:20 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1099 15:08:20 + START_PACKAGES=/tmp/packages_start.txt 15:08:20 + END_PACKAGES=/tmp/packages_end.txt 15:08:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:08:20 + PACKAGES=/tmp/packages_start.txt 15:08:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1099 ']' 15:08:20 + PACKAGES=/tmp/packages_end.txt 15:08:20 + case "${OS_FAMILY}" in 15:08:20 + sort 15:08:20 + rpm -qa 15:08:20 + '[' -f /tmp/packages_start.txt ']' 15:08:20 + '[' -f /tmp/packages_end.txt ']' 15:08:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:08:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1099 ']' 15:08:20 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1099/archives/ 15:08:20 + 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 15:08:20 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 15:08:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 15:08:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:08:21 . [Pipeline] withDockerContainer 15:08:21 prd-centos7-docker-4c-2g-6257 does not seem to be running inside a container 15:08:21 $ 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 15:08:21 $ docker top 0bbf33ea5b335d7ca743b4cf8fd2a1303d1dc4bdd8bdb75d0d265065e636992f -eo pid,comm [Pipeline] { [Pipeline] sh 15:08:22 + touch /tmp/pre-build-complete [Pipeline] sh 15:08:22 + mkdir -p /var/log/sysstat [Pipeline] sh 15:08:22 + ls /var/log/sa-host 15:08:22 + sadf -c /var/log/sa-host/sa02 15:08:22 file_magic: OK 15:08:22 HZ: Using current value: 100 15:08:22 file_header: OK 15:08:22 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 15:08:22 Statistics: 15:08:22 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 15:08:22 File successfully converted to sysstat format version 12.5.2 15:08:22 + sadf -c /var/log/sa-host/sa17 15:08:22 file_magic: OK 15:08:22 HZ: Using current value: 100 15:08:22 file_header: OK 15:08:22 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 15:08:22 Statistics: 15:08:22 Hnuu...uuuununununu...Hnuu...uuuununununu... 15:08:22 File successfully converted to sysstat format version 12.5.2 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:23 provisioning config files... 15:08:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1099@tmp/config1859108360819865081tmp [Pipeline] { [Pipeline] echo 15:08:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:08:23 ---> create-netrc.sh [Pipeline] } 15:08:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:08:23 ---> python-tools-install.sh [Pipeline] echo 15:08:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:08:24 ---> sudo-logs.sh 15:08:24 Archiving 'sudo' log.. 15:08:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-6257.novalocal: Name or service not known 15:08:24 sudo: unable to resolve host prd-centos7-docker-4c-2g-6257.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 15:08:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:08:24 ---> job-cost.sh 15:08:24 lf-activate-venv: SKIPPING 15:08:24 DEBUG: total: 0.05999999865889549 15:08:24 INFO: Retrieving Stack Cost... 15:08:24 INFO: Retrieving Pricing Info for: v3-standard-2 15:08:25 INFO: Archiving Costs [Pipeline] echo 15:08:25 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:08:25 ---> logs-deploy.sh 15:08:25 lf-activate-venv: SKIPPING 15:08:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1099/2 15:08:25 INFO: archiving workspace using pattern(s): 15:08:26 Archives upload complete. 15:08:26 INFO: archiving logs to Nexus