Pull request #1172 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6+00685ec2d5c51377ae61b360273945aff10f59dc (f5dc42b24e91298cbba8c028138e8b1a0607cf00) 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-ssh17517104874527613226.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh5959369592673035934.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh526122474033056223.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1172/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9292255816280724640.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that 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-ssh10450994466884045680.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1172/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16852608403387368243.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-710’ Running on prd-ubuntu20.04-docker-8c-8g-713 in /w/workspace/gexfoundry_device-sdk-go_PR-1172 [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-1172 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/jakarta commit 00685ec2d5c51377ae61b360273945aff10f59dc into PR head commit 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 Merge succeeded, producing 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 Checking out Revision 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 (PR-1172) > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1172/head:refs/remotes/origin/PR-1172 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 00685ec2d5c51377ae61b360273945aff10f59dc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 # timeout=10 Commit message: "build: Update change log and released go mods for 2.1.1 patch" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:59:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:59:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:59:34 ========================================================= 22:59:34 EdgeX Global Pipelines Version Info 22:59:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:59:35 ------------------- 22:59:35 stable info: 22:59:35 ------------------- 22:59:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:59:35 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 22:59:35 Message: update stable to v1.0.230 22:59:35 ------------------- 22:59:35 experimental info: 22:59:35 ------------------- 22:59:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:59:35 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 22:59:35 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:59:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:59:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1172 [Pipeline] echo 22:59:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1172 [Pipeline] echo 22:59:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1172 [Pipeline] echo 22:59:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 [Pipeline] echo 22:59:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cf7f2c [Pipeline] echo 22:59:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:59:37 provisioning config files... 22:59:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp/config3910701530467346714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:37 ---> docker-login.sh 22:59:37 nexus3.edgexfoundry.org:10001 22:59:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:38 Configure a credential helper to remove this warning. See 22:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:38 22:59:38 Login Succeeded 22:59:38 nexus3.edgexfoundry.org:10002 22:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:38 Configure a credential helper to remove this warning. See 22:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:38 22:59:38 Login Succeeded 22:59:38 nexus3.edgexfoundry.org:10003 22:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:38 Configure a credential helper to remove this warning. See 22:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:38 22:59:38 Login Succeeded 22:59:38 nexus3.edgexfoundry.org:10004 22:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:38 Configure a credential helper to remove this warning. See 22:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:38 22:59:38 Login Succeeded 22:59:38 docker.io 22:59:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:38 Configure a credential helper to remove this warning. See 22:59:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:38 22:59:38 Login Succeeded 22:59:38 ---> docker-login.sh ends [Pipeline] } 22:59:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:59:39 + git rev-list -1 --merges 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6~1..7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 [Pipeline] echo 22:59:39 -----------> git rev-list -1 --merges 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6~1..7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 [false] [Pipeline] sh 22:59:39 + git log --format=format:%s -1 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 [Pipeline] echo 22:59:40 ========================================================= 22:59:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:59:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:40 + git log --format=format:%s -1 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 [Pipeline] echo 22:59:40 [semverPrep] GIT_COMMIT: 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6, Commit Message: build: Update change log and released go mods for 2.1.1 patch [Pipeline] echo 22:59:40 [semverPrep] This is not a build commit. [Pipeline] sh 22:59:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:59:40 + grep -v github /etc/ssh/ssh_known_hosts 22:59:40 + [ -e /tmp/ssh_known_hosts ] 22:59:40 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:59:40 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:59:40 + sudo tee -a /etc/ssh/ssh_known_hosts 22:59:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:59:41 22:59:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:59:41 latest: Pulling from edgex-devops/py-git-semver 22:59:41 1fe172e4850f: Pulling fs layer 22:59:41 caf521ccaac6: Pulling fs layer 22:59:41 3ead6fa29328: Pulling fs layer 22:59:41 5c2a1cbceb83: Pulling fs layer 22:59:41 a8d5f1318db7: Pulling fs layer 22:59:41 c427282e49a2: Pulling fs layer 22:59:41 1827001aaf11: Pulling fs layer 22:59:41 0714d37db230: Pulling fs layer 22:59:41 ac28cf19c067: Pulling fs layer 22:59:41 ca983d60f3e2: Pulling fs layer 22:59:41 9f894cec8388: Pulling fs layer 22:59:41 1827001aaf11: Waiting 22:59:41 5c2a1cbceb83: Waiting 22:59:41 0714d37db230: Waiting 22:59:41 a8d5f1318db7: Waiting 22:59:41 ac28cf19c067: Waiting 22:59:41 c427282e49a2: Waiting 22:59:41 ca983d60f3e2: Waiting 22:59:41 9f894cec8388: Waiting 22:59:41 caf521ccaac6: Verifying Checksum 22:59:41 caf521ccaac6: Download complete 22:59:41 5c2a1cbceb83: Verifying Checksum 22:59:41 5c2a1cbceb83: Download complete 22:59:41 a8d5f1318db7: Verifying Checksum 22:59:41 a8d5f1318db7: Download complete 22:59:41 3ead6fa29328: Verifying Checksum 22:59:41 3ead6fa29328: Download complete 22:59:41 c427282e49a2: Verifying Checksum 22:59:41 c427282e49a2: Download complete 22:59:41 0714d37db230: Verifying Checksum 22:59:41 0714d37db230: Download complete 22:59:41 ac28cf19c067: Download complete 22:59:41 ca983d60f3e2: Verifying Checksum 22:59:41 ca983d60f3e2: Download complete 22:59:41 9f894cec8388: Download complete 22:59:41 1fe172e4850f: Verifying Checksum 22:59:41 1fe172e4850f: Download complete 22:59:42 1827001aaf11: Verifying Checksum 22:59:42 1827001aaf11: Download complete 22:59:43 1fe172e4850f: Pull complete 22:59:43 caf521ccaac6: Pull complete 22:59:43 3ead6fa29328: Pull complete 22:59:43 5c2a1cbceb83: Pull complete 22:59:44 a8d5f1318db7: Pull complete 22:59:44 c427282e49a2: Pull complete 22:59:46 1827001aaf11: Pull complete 22:59:46 0714d37db230: Pull complete 22:59:46 ac28cf19c067: Pull complete 22:59:46 ca983d60f3e2: Pull complete 22:59:46 9f894cec8388: Pull complete 22:59:46 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 22:59:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 22:59:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:59:46 prd-ubuntu20.04-docker-8c-8g-713 does not seem to be running inside a container 22:59:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1172 -v /w/workspace/gexfoundry_device-sdk-go_PR-1172:/w/workspace/gexfoundry_device-sdk-go_PR-1172:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 22:59:48 $ docker top d2ee94e8347b485399553cb6da041da3e5d63ea187000704a1aee5e33b097953 -eo pid,comm 22:59:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:59:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:59:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:48 [ssh-agent] Looking for ssh-agent implementation... 22:59:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:48 $ docker exec d2ee94e8347b485399553cb6da041da3e5d63ea187000704a1aee5e33b097953 ssh-agent 22:59:48 SSH_AUTH_SOCK=/tmp/ssh-TkRESd0iXarC/agent.32 22:59:48 SSH_AGENT_PID=38 22:59:48 Running ssh-add (command line suppressed) 22:59:49 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp/private_key_1461486801161765658.key (/w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp/private_key_1461486801161765658.key) 22:59:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:49 + git tag --points-at HEAD [Pipeline] } 22:59:49 $ docker exec --env ******** --env ******** d2ee94e8347b485399553cb6da041da3e5d63ea187000704a1aee5e33b097953 ssh-agent -k 22:59:49 unset SSH_AUTH_SOCK; 22:59:49 unset SSH_AGENT_PID; 22:59:49 echo Agent pid 38 killed; 22:59:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:59:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:59:49 [ssh-agent] Looking for ssh-agent implementation... 22:59:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:59:49 $ docker exec d2ee94e8347b485399553cb6da041da3e5d63ea187000704a1aee5e33b097953 ssh-agent 22:59:49 SSH_AUTH_SOCK=/tmp/ssh-wGGvY1ydG2yg/agent.72 22:59:49 SSH_AGENT_PID=78 22:59:49 Running ssh-add (command line suppressed) 22:59:49 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp/private_key_486558211744385925.key (/w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp/private_key_486558211744385925.key) 22:59:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:59:50 + git semver init 22:59:50 2022-06-02 22:59:50,520 [run_init] DEBUG init version:0.0.0 force:False 22:59:50 2022-06-02 22:59:50,521 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1172/.semver 22:59:50 2022-06-02 22:59:50,521 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1172/.semver 22:59:50 2022-06-02 22:59:50,522 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1172/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1172, universal_newlines=False, shell=None, istream=None) 22:59:51 2022-06-02 22:59:51,308 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1172/.git/info/exclude 22:59:51 2022-06-02 22:59:51,309 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1172/.semver/PR-1172 with force:False 22:59:51 2022-06-02 22:59:51,309 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1172/.semver/PR-1172 22:59:51 2022-06-02 22:59:51,313 [execute] INFO git cat-file --batch-check 22:59:51 2022-06-02 22:59:51,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1172/.semver, universal_newlines=False, shell=None, istream=) 22:59:51 2022-06-02 22:59:51,321 [execute] INFO git cat-file --batch 22:59:51 2022-06-02 22:59:51,321 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1172/.semver, universal_newlines=False, shell=None, istream=) 22:59:51 2022-06-02 22:59:51,327 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1172/.semver/PR-1172 22:59:51 0.0.0 [Pipeline] } 22:59:51 $ docker exec --env ******** --env ******** d2ee94e8347b485399553cb6da041da3e5d63ea187000704a1aee5e33b097953 ssh-agent -k 22:59:51 unset SSH_AUTH_SOCK; 22:59:51 unset SSH_AGENT_PID; 22:59:51 echo Agent pid 78 killed; 22:59:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:59:52 + git semver [Pipeline] } 22:59:52 $ docker stop --time=1 d2ee94e8347b485399553cb6da041da3e5d63ea187000704a1aee5e33b097953 22:59:53 $ docker rm -f d2ee94e8347b485399553cb6da041da3e5d63ea187000704a1aee5e33b097953 [Pipeline] // withDockerContainer [Pipeline] sh 22:59:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:59:54 Stashed 1 file(s) [Pipeline] echo 22:59:54 [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 22:59:55 provisioning config files... 22:59:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp/config7634623796364081396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:59:55 ---> docker-login.sh 22:59:55 nexus3.edgexfoundry.org:10001 22:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:55 Configure a credential helper to remove this warning. See 22:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:55 22:59:55 Login Succeeded 22:59:55 nexus3.edgexfoundry.org:10002 22:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:55 Configure a credential helper to remove this warning. See 22:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:55 22:59:55 Login Succeeded 22:59:55 nexus3.edgexfoundry.org:10003 22:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:55 Configure a credential helper to remove this warning. See 22:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:55 22:59:55 Login Succeeded 22:59:55 nexus3.edgexfoundry.org:10004 22:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:55 Configure a credential helper to remove this warning. See 22:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:55 22:59:55 Login Succeeded 22:59:55 docker.io 22:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:59:56 Configure a credential helper to remove this warning. See 22:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:59:56 22:59:56 Login Succeeded 22:59:56 ---> docker-login.sh ends [Pipeline] } 22:59:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:59:56 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:59:56 ========================================================= 22:59:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 22:59:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:56 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 22:59:56 Sending build context to Docker daemon 20.77MB 22:59:56 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 22:59:56 Step 2/10 : FROM ${BASE} AS builder 22:59:57 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 22:59:57 59bf1c3509f3: Pulling fs layer 22:59:57 666ba61612fd: Pulling fs layer 22:59:57 8ed8ca486205: Pulling fs layer 22:59:57 4fe6c5a15a65: Pulling fs layer 22:59:57 22a0e8bec74d: Pulling fs layer 22:59:57 812f408151ee: Pulling fs layer 22:59:57 bab7bd504b26: Pulling fs layer 22:59:57 070449caade9: Pulling fs layer 22:59:57 8f1a5288e3a6: Pulling fs layer 22:59:57 22a0e8bec74d: Waiting 22:59:57 812f408151ee: Waiting 22:59:57 bab7bd504b26: Waiting 22:59:57 070449caade9: Waiting 22:59:57 8f1a5288e3a6: Waiting 22:59:57 8ed8ca486205: Download complete 22:59:57 666ba61612fd: Download complete 22:59:57 22a0e8bec74d: Verifying Checksum 22:59:57 812f408151ee: Verifying Checksum 22:59:57 812f408151ee: Download complete 22:59:57 59bf1c3509f3: Download complete 22:59:57 bab7bd504b26: Verifying Checksum 22:59:57 bab7bd504b26: Download complete 22:59:57 070449caade9: Verifying Checksum 22:59:57 070449caade9: Download complete 22:59:57 59bf1c3509f3: Pull complete 22:59:57 666ba61612fd: Pull complete 22:59:57 8ed8ca486205: Pull complete 22:59:57 8f1a5288e3a6: Download complete 22:59:58 4fe6c5a15a65: Verifying Checksum 22:59:58 4fe6c5a15a65: Download complete 23:00:01 4fe6c5a15a65: Pull complete 23:00:01 22a0e8bec74d: Pull complete 23:00:01 812f408151ee: Pull complete 23:00:01 bab7bd504b26: Pull complete 23:00:01 070449caade9: Pull complete 23:00:04 8f1a5288e3a6: Pull complete 23:00:04 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 23:00:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 23:00:04 ---> c47586b81864 23:00:04 Step 3/10 : ARG MAKE=make build 23:00:06 ---> Running in f228eb76df1a 23:00:06 Removing intermediate container f228eb76df1a 23:00:06 ---> 95a5bce71834 23:00:06 Step 4/10 : WORKDIR /device-sdk-go 23:00:06 ---> Running in a71d103aaf3a 23:00:06 Removing intermediate container a71d103aaf3a 23:00:06 ---> cbec24734054 23:00:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:00:06 ---> Running in bbbf54f5ea83 23:00:06 Removing intermediate container bbbf54f5ea83 23:00:06 ---> 020ead12d278 23:00:06 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:00:06 ---> Running in d721d21964cc 23:00:06 Removing intermediate container d721d21964cc 23:00:06 ---> fbdbfef35a95 23:00:06 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:00:06 ---> Running in 5b33392cc4a2 23:00:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:00:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:00:08 OK: 221 MiB in 52 packages 23:00:08 Removing intermediate container 5b33392cc4a2 23:00:08 ---> 0a3dce4e1d7b 23:00:08 Step 8/10 : COPY . . 23:00:09 ---> 66edc9658058 23:00:09 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:00:09 ---> Running in 12dfec126bca 23:00:09 skipping... 23:00:09 Still waiting to schedule task 23:00:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-711’ 23:00:10 Removing intermediate container 12dfec126bca 23:00:10 ---> 980d17e6e141 23:00:10 Step 10/10 : RUN ${MAKE} 23:00:10 ---> Running in a8f9ebb3d603 23:00:10 noop 23:00:10 Removing intermediate container a8f9ebb3d603 23:00:10 ---> b11e553fc266 23:00:10 Successfully built b11e553fc266 23:00:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:11 + docker inspect -f . ci-base-image-x86_64 23:00:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:11 prd-ubuntu20.04-docker-8c-8g-713 does not seem to be running inside a container 23:00:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1172 -v /w/workspace/gexfoundry_device-sdk-go_PR-1172:/w/workspace/gexfoundry_device-sdk-go_PR-1172:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1172@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-x86_64 cat 23:00:11 $ docker top f754618c7637fe1da8e26a254cef46087a856abb04a6855319f1cab20d14c8d5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:00:12 + go version 23:00:12 go version go1.17.6 linux/amd64 [Pipeline] } 23:00:12 $ docker stop --time=1 f754618c7637fe1da8e26a254cef46087a856abb04a6855319f1cab20d14c8d5 23:00:13 $ docker rm -f f754618c7637fe1da8e26a254cef46087a856abb04a6855319f1cab20d14c8d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:14 + docker inspect -f . ci-base-image-x86_64 23:00:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:00:14 prd-ubuntu20.04-docker-8c-8g-713 does not seem to be running inside a container 23:00:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1172 -v /w/workspace/gexfoundry_device-sdk-go_PR-1172:/w/workspace/gexfoundry_device-sdk-go_PR-1172:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1172@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-x86_64 cat 23:00:14 $ docker top daa5a98d3decbcc9f6b7d9a8169752a2eb04756b36796ee78c1d67b42a79fe96 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:00:15 + make test 23:00:15 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:00:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.072s coverage: 23.3% of statements 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.045s coverage: 27.6% of statements 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.068s coverage: 78.9% of statements 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.074s coverage: 9.0% of statements 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.066s coverage: 28.7% of statements 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.086s coverage: 82.9% of statements 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.089s coverage: 57.8% of statements 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.785s coverage: 89.2% of statements 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:00:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.8% of statements 23:00:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:00:30 GO111MODULE=on go vet ./... 23:00:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:00:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:00:37 ./bin/test-attribution-txt.sh 23:00:37 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 23:00:37 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 23:00:37 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 23:00:37 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:00:37 go: downloading github.com/stretchr/testify v1.7.0 23:00:37 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:00:37 go: downloading github.com/google/uuid v1.3.0 23:00:37 go: downloading github.com/gorilla/mux v1.8.0 23:00:37 go: downloading github.com/pelletier/go-toml v1.9.4 23:00:37 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:00:37 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:00:37 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:00:37 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:00:37 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 23:00:37 go: downloading github.com/hashicorp/consul/api v1.9.1 23:00:37 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:00:37 go: downloading github.com/go-kit/kit v0.11.0 23:00:37 go: downloading github.com/go-playground/validator/v10 v10.9.0 23:00:37 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:00:37 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:00:37 go: downloading github.com/pebbe/zmq4 v1.2.7 23:00:37 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:00:37 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:00:37 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:00:37 go: downloading github.com/mitchellh/copystructure v1.0.0 23:00:37 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:00:37 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:00:37 go: downloading github.com/davecgh/go-spew v1.1.1 23:00:37 go: downloading github.com/pmezard/go-difflib v1.0.0 23:00:37 go: downloading github.com/stretchr/objx v0.1.1 23:00:37 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:00:37 go: downloading github.com/go-logfmt/logfmt v0.5.0 23:00:37 go: downloading golang.org/x/text v0.3.6 23:00:37 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 23:00:37 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:00:37 go: downloading github.com/hashicorp/errwrap v1.0.0 23:00:37 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:00:37 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:00:37 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:00:37 go: downloading github.com/hashicorp/serf v0.9.5 23:00:37 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:00:37 go: downloading github.com/x448/float16 v0.8.4 23:00:37 go: downloading github.com/gorilla/websocket v1.4.2 23:00:38 go: downloading github.com/go-playground/universal-translator v0.18.0 23:00:38 go: downloading github.com/leodido/go-urn v1.2.1 23:00:38 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 23:00:38 go: downloading github.com/fatih/color v1.9.0 23:00:38 go: downloading github.com/mattn/go-colorable v0.1.6 23:00:38 go: downloading github.com/mattn/go-isatty v0.0.12 23:00:38 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:00:38 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 23:00:39 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:00:39 + go mod tidy 23:00:39 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:00:39 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:00:39 go: downloading github.com/go-stack/stack v1.8.0 23:00:39 go: downloading github.com/onsi/ginkgo v1.10.1 23:00:39 go: downloading github.com/onsi/gomega v1.7.0 23:00:39 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:00:39 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:00:39 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:00:39 go: downloading github.com/hashicorp/memberlist v0.2.2 23:00:39 go: downloading github.com/pkg/errors v0.9.1 23:00:39 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:00:39 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:00:39 go: downloading github.com/kr/pretty v0.3.0 23:00:39 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:00:39 go: downloading github.com/kr/text v0.2.0 23:00:39 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:00:39 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:00:39 go: downloading github.com/miekg/dns v1.1.26 23:00:39 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:00:39 go: downloading gopkg.in/yaml.v2 v2.3.0 23:00:39 go: downloading github.com/hpcloud/tail v1.0.0 23:00:39 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:00:39 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 23:00:39 $ docker stop --time=1 daa5a98d3decbcc9f6b7d9a8169752a2eb04756b36796ee78c1d67b42a79fe96 23:00:42 $ docker rm -f daa5a98d3decbcc9f6b7d9a8169752a2eb04756b36796ee78c1d67b42a79fe96 [Pipeline] // withDockerContainer [Pipeline] sh 23:00:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:00:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:00:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:00:44 + ls -al . 23:00:44 total 308 23:00:44 drwxrwxr-x 12 jenkins jenkins 4096 Jun 2 23:00 . 23:00:44 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 22:59 .. 23:00:44 -rw-rw-r-- 1 jenkins jenkins 140 Jun 2 22:59 .dockerignore 23:00:44 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 22:59 .git 23:00:44 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 22:59 .github 23:00:44 -rw-rw-r-- 1 jenkins jenkins 124 Jun 2 22:59 .gitignore 23:00:44 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 22:59 .semver 23:00:44 -rw-rw-r-- 1 jenkins jenkins 26850 Jun 2 22:59 CHANGELOG.md 23:00:44 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 22:59 GOVERNANCE.md 23:00:44 -rw-rw-r-- 1 jenkins jenkins 880 Jun 2 22:59 Jenkinsfile 23:00:44 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 2 22:59 LICENSE 23:00:44 -rw-rw-r-- 1 jenkins jenkins 1120 Jun 2 22:59 Makefile 23:00:44 -rw-rw-r-- 1 jenkins jenkins 619 Jun 2 22:59 OWNERS.md 23:00:44 -rw-rw-r-- 1 jenkins jenkins 4890 Jun 2 22:59 README.md 23:00:44 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 22:59 VERSION 23:00:44 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 22:59 bin 23:00:44 -rw-r--r-- 1 jenkins jenkins 128641 Jun 2 23:00 coverage.out 23:00:44 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 22:59 example 23:00:44 -rw-rw-r-- 1 jenkins jenkins 576 Jun 2 23:00 go.mod 23:00:44 -rw-rw-r-- 1 jenkins jenkins 48946 Jun 2 22:59 go.sum 23:00:44 drwxrwxr-x 15 jenkins jenkins 4096 Jun 2 22:59 internal 23:00:44 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 22:59 openapi 23:00:44 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 22:59 pkg 23:00:44 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 22:59 snap 23:00:44 drwxrwxr-x 6 jenkins jenkins 4096 Jun 2 22:59 vendor 23:00:44 -rw-rw-r-- 1 jenkins jenkins 222 Jun 2 22:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:00:44 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 --label arch=amd64 --label version=0.0.0 . 23:00:44 Sending build context to Docker daemon 20.9MB 23:00:44 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:00:44 Step 2/24 : FROM ${BASE} AS builder 23:00:44 ---> b11e553fc266 23:00:44 Step 3/24 : ARG MAKE=make build 23:00:44 ---> Running in 6cdf0d8b36bb 23:00:45 Removing intermediate container 6cdf0d8b36bb 23:00:45 ---> 158963be23c0 23:00:45 Step 4/24 : WORKDIR /device-sdk-go 23:00:45 ---> Running in c65d557bfef0 23:00:45 Removing intermediate container c65d557bfef0 23:00:45 ---> 70eb53feaefe 23:00:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:00:45 ---> Running in bdeefa915bb8 23:00:45 Removing intermediate container bdeefa915bb8 23:00:45 ---> ee41a6d94d8c 23:00:45 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:00:45 ---> Running in 401e1506628a 23:00:45 Removing intermediate container 401e1506628a 23:00:45 ---> d86585824fcc 23:00:45 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:00:45 ---> Running in 0d84b4c33fbc 23:00:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:00:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:00:47 OK: 221 MiB in 52 packages 23:00:47 Removing intermediate container 0d84b4c33fbc 23:00:47 ---> 2042ce7376b8 23:00:47 Step 8/24 : COPY . . 23:00:48 ---> a1a7194363fd 23:00:48 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:00:48 ---> Running in 5374581b2d58 23:00:48 skipping... 23:00:49 Removing intermediate container 5374581b2d58 23:00:49 ---> 97fd99f4e2c8 23:00:49 Step 10/24 : RUN ${MAKE} 23:00:49 ---> Running in 869f5c1c2e08 23:00:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:00:56 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:00:56 Removing intermediate container 869f5c1c2e08 23:00:56 ---> 072749a1ca3c 23:00:56 Step 11/24 : FROM alpine:3.14 23:00:57 3.14: Pulling from library/alpine 23:00:57 8663204ce13b: Pulling fs layer 23:00:57 8663204ce13b: Verifying Checksum 23:00:57 8663204ce13b: Download complete 23:00:57 8663204ce13b: Pull complete 23:00:57 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:00:57 Status: Downloaded newer image for alpine:3.14 23:00:57 ---> e04c818066af 23:00:57 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:00:57 ---> Running in dca6698bd739 23:00:58 Removing intermediate container dca6698bd739 23:00:58 ---> 8b39dee5a632 23:00:58 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:00:58 ---> Running in 664ae2861335 23:00:58 Removing intermediate container 664ae2861335 23:00:58 ---> aae49f2f91f3 23:00:58 Step 14/24 : RUN apk add --update --no-cache zeromq 23:00:58 ---> Running in 49f56e65f2f6 23:00:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:00:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:01:00 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:01:00 (2/5) Installing libsodium (1.0.18-r0) 23:01:00 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:01:00 (4/5) Installing libzmq (4.3.4-r0) 23:01:00 (5/5) Installing zeromq (4.3.4-r0) 23:01:00 Executing busybox-1.33.1-r7.trigger 23:01:00 OK: 8 MiB in 19 packages 23:01:00 Removing intermediate container 49f56e65f2f6 23:01:00 ---> 6d2c7d86a438 23:01:00 Step 15/24 : WORKDIR / 23:01:00 ---> Running in 74b458e03836 23:01:00 Removing intermediate container 74b458e03836 23:01:00 ---> a95e54782f51 23:01:00 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:01:01 ---> 577a77d6419f 23:01:01 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:01:01 ---> 67ba88b599d1 23:01:01 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:01:01 ---> 14fc8196b3e0 23:01:01 Step 19/24 : EXPOSE 59999 23:01:01 ---> Running in 6b618431090a 23:01:01 Removing intermediate container 6b618431090a 23:01:01 ---> 3a9f380a14d7 23:01:01 Step 20/24 : ENTRYPOINT ["/device-simple"] 23:01:01 ---> Running in 81d27c0d3c0f 23:01:02 Removing intermediate container 81d27c0d3c0f 23:01:02 ---> 3a5faee5272c 23:01:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:01:02 ---> Running in 7749479ae892 23:01:02 Removing intermediate container 7749479ae892 23:01:02 ---> bba45e773bba 23:01:02 Step 22/24 : LABEL arch=amd64 23:01:02 ---> Running in 580d3d24114a 23:01:02 Removing intermediate container 580d3d24114a 23:01:02 ---> a1f900d6689b 23:01:02 Step 23/24 : LABEL git_sha=7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 23:01:02 ---> Running in 6597d740b559 23:01:02 Removing intermediate container 6597d740b559 23:01:02 ---> 8f1355c04788 23:01:02 Step 24/24 : LABEL version=0.0.0 23:01:02 ---> Running in cc6154c82956 23:01:02 Removing intermediate container cc6154c82956 23:01:02 ---> 2d56754d7904 23:01:02 [Warning] One or more build-args [ARCH] were not consumed 23:01:02 Successfully built 2d56754d7904 23:01:02 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:01:03 23:01:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:01:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:01:03 latest: Pulling from edgex-lftools-log-publisher 23:01:03 5eb5b503b376: Pulling fs layer 23:01:03 5c69ac0246d0: Pulling fs layer 23:01:03 ec43610c2a17: Pulling fs layer 23:01:03 3a2ae6a8a46f: Pulling fs layer 23:01:03 33b1e0a273af: Pulling fs layer 23:01:03 5d3b04190fa2: Pulling fs layer 23:01:03 3a2ae6a8a46f: Waiting 23:01:03 33b1e0a273af: Waiting 23:01:03 2f39f015ded8: Pulling fs layer 23:01:03 5d3b04190fa2: Waiting 23:01:03 2f39f015ded8: Waiting 23:01:03 5c69ac0246d0: Verifying Checksum 23:01:03 5c69ac0246d0: Download complete 23:01:03 3a2ae6a8a46f: Verifying Checksum 23:01:03 3a2ae6a8a46f: Download complete 23:01:03 33b1e0a273af: Verifying Checksum 23:01:03 33b1e0a273af: Download complete 23:01:03 ec43610c2a17: Verifying Checksum 23:01:03 ec43610c2a17: Download complete 23:01:03 5d3b04190fa2: Verifying Checksum 23:01:03 5d3b04190fa2: Download complete 23:01:03 5eb5b503b376: Download complete 23:01:04 2f39f015ded8: Download complete 23:01:05 5eb5b503b376: Pull complete 23:01:05 5c69ac0246d0: Pull complete 23:01:05 ec43610c2a17: Pull complete 23:01:05 3a2ae6a8a46f: Pull complete 23:01:05 33b1e0a273af: Pull complete 23:01:06 5d3b04190fa2: Pull complete 23:01:10 2f39f015ded8: Pull complete 23:01:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:01:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:01:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:01:10 prd-ubuntu20.04-docker-8c-8g-713 does not seem to be running inside a container 23:01:10 $ 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-1172 -v /w/workspace/gexfoundry_device-sdk-go_PR-1172:/w/workspace/gexfoundry_device-sdk-go_PR-1172:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1172@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:latest cat 23:01:12 $ docker top 72237d6841e218910f2570ec880ba0c2e4f07c37bc6259e614144efa32a03242 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:01:13 ---> job-cost.sh 23:01:13 lf-activate-venv: SKIPPING 23:01:13 INFO: No Stack... 23:01:13 INFO: Retrieving Pricing Info for: v3-standard-8 23:01:13 INFO: Archiving Costs [Pipeline] sh 23:01:13 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1172/archives/cost.csv 23:01:13 + cut -d, -f6 [Pipeline] lock 23:01:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1172-1-stack-cost] 23:01:13 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1172-1-stack-cost] did not exist. Created. 23:01:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1172-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:01:14 + echo total: 0.2199999988079071 [Pipeline] stash 23:01:14 Stashed 1 file(s) [Pipeline] } 23:01:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1172-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:01:14 $ docker stop --time=1 72237d6841e218910f2570ec880ba0c2e4f07c37bc6259e614144efa32a03242 23:01:15 $ docker rm -f 72237d6841e218910f2570ec880ba0c2e4f07c37bc6259e614144efa32a03242 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:03:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-714 in /w/workspace/gexfoundry_device-sdk-go_PR-1172 [Pipeline] { [Pipeline] ws 23:03:51 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:03:51 The recommended git tool is: git 23:03:58 using credential edgex-jenkins-ssh 23:03:58 Cloning the remote Git repository 23:03:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:03:58 > git init /w/workspace/device-sdk-go/1 # timeout=10 23:03:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:03:59 > git --version # timeout=10 23:03:59 > git --version # 'git version 2.25.1' 23:03:59 using GIT_SSH to set credentials SSH Credentials for GitHub 23:03:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:04:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:04:01 Merging remotes/origin/jakarta commit 00685ec2d5c51377ae61b360273945aff10f59dc into PR head commit 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 23:04:02 Merge succeeded, producing 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 23:04:02 Checking out Revision 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 (PR-1172) 23:04:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:04:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:04:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:04:00 using GIT_SSH to set credentials SSH Credentials for GitHub 23:04:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1172/head:refs/remotes/origin/PR-1172 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 23:04:01 > git config core.sparsecheckout # timeout=10 23:04:01 > git checkout -f 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 # timeout=10 23:04:01 > git remote # timeout=10 23:04:02 > git config --get remote.origin.url # timeout=10 23:04:02 using GIT_SSH to set credentials SSH Credentials for GitHub 23:04:02 > git merge 00685ec2d5c51377ae61b360273945aff10f59dc # timeout=10 23:04:02 > git rev-parse HEAD^{commit} # timeout=10 23:04:02 > git config core.sparsecheckout # timeout=10 23:04:02 > git checkout -f 7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 # timeout=10 23:04:06 Commit message: "build: Update change log and released go mods for 2.1.1 patch" 23:04:06 > git --version # timeout=10 23:04:06 > git --version # 'git version 2.25.1' 23:04:06 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:04:08 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:04:08 % Total % Received % Xferd Average Speed Time Time Time Current 23:04:08 Dload Upload Total Spent Left Speed 23:04:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 94984 0 --:--:-- --:--:-- --:--:-- 94984 [Pipeline] sh 23:04:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:04:09 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 23:04:09 tee /etc/docker/daemon.new 23:04:09 { 23:04:09 "registry-mirrors": [ 23:04:09 "https://nexus3.edgexfoundry.org:10001" 23:04:09 ], 23:04:09 "bip": "10.250.0.254/24", 23:04:09 "hosts": [ 23:04:09 "tcp://0.0.0.0:5555", 23:04:09 "unix:///var/run/docker.sock" 23:04:09 ], 23:04:09 "mtu": 1458, 23:04:09 "selinux-enabled": true, 23:04:09 "seccomp-profile": "/etc/docker/seccomp.json" 23:04:09 } [Pipeline] sh 23:04:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:04:10 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:04:28 provisioning config files... 23:04:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7645148776877403897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:04:29 ---> docker-login.sh 23:04:29 nexus3.edgexfoundry.org:10001 23:04:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:29 Configure a credential helper to remove this warning. See 23:04:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:29 23:04:29 Login Succeeded 23:04:29 nexus3.edgexfoundry.org:10002 23:04:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:30 Configure a credential helper to remove this warning. See 23:04:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:30 23:04:30 Login Succeeded 23:04:30 nexus3.edgexfoundry.org:10003 23:04:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:31 Configure a credential helper to remove this warning. See 23:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:31 23:04:31 Login Succeeded 23:04:31 nexus3.edgexfoundry.org:10004 23:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:31 Configure a credential helper to remove this warning. See 23:04:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:31 23:04:31 Login Succeeded 23:04:31 docker.io 23:04:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:04:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:04:32 Configure a credential helper to remove this warning. See 23:04:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:04:32 23:04:32 Login Succeeded 23:04:32 ---> docker-login.sh ends [Pipeline] } 23:04:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:04:32 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:04:32 ========================================================= 23:04:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 23:04:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:04:33 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 23:04:34 Sending build context to Docker daemon 16.26MB 23:04:34 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 23:04:34 Step 2/10 : FROM ${BASE} AS builder 23:04:34 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 23:04:34 9b3977197b4f: Pulling fs layer 23:04:34 1a89e8eeedd5: Pulling fs layer 23:04:34 94645a83ff95: Pulling fs layer 23:04:34 3f3a8bcf1eab: Pulling fs layer 23:04:34 0c92f367c5e7: Pulling fs layer 23:04:34 63b1bc5785f6: Pulling fs layer 23:04:34 626d30ff41c6: Pulling fs layer 23:04:34 de1d54c125be: Pulling fs layer 23:04:34 3f3a8bcf1eab: Waiting 23:04:34 0c92f367c5e7: Waiting 23:04:34 63b1bc5785f6: Waiting 23:04:34 de1d54c125be: Waiting 23:04:34 626d30ff41c6: Waiting 23:04:34 94645a83ff95: Verifying Checksum 23:04:34 94645a83ff95: Download complete 23:04:34 1a89e8eeedd5: Verifying Checksum 23:04:34 1a89e8eeedd5: Download complete 23:04:34 0c92f367c5e7: Verifying Checksum 23:04:34 0c92f367c5e7: Download complete 23:04:35 63b1bc5785f6: Verifying Checksum 23:04:35 63b1bc5785f6: Download complete 23:04:35 9b3977197b4f: Verifying Checksum 23:04:35 9b3977197b4f: Download complete 23:04:35 626d30ff41c6: Verifying Checksum 23:04:35 626d30ff41c6: Download complete 23:04:35 9b3977197b4f: Pull complete 23:04:36 1a89e8eeedd5: Pull complete 23:04:36 94645a83ff95: Pull complete 23:04:37 de1d54c125be: Verifying Checksum 23:04:37 de1d54c125be: Download complete 23:04:37 3f3a8bcf1eab: Verifying Checksum 23:04:37 3f3a8bcf1eab: Download complete 23:04:50 3f3a8bcf1eab: Pull complete 23:04:50 0c92f367c5e7: Pull complete 23:04:50 63b1bc5785f6: Pull complete 23:04:50 626d30ff41c6: Pull complete 23:04:57 de1d54c125be: Pull complete 23:04:57 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 23:04:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 23:04:57 ---> 5f011755c4a2 23:04:57 Step 3/10 : ARG MAKE=make build 23:04:59 ---> Running in f598420a02c8 23:04:59 Removing intermediate container f598420a02c8 23:04:59 ---> 22c60f5bff9c 23:04:59 Step 4/10 : WORKDIR /device-sdk-go 23:04:59 ---> Running in 9dcdac526066 23:04:59 Removing intermediate container 9dcdac526066 23:04:59 ---> ae3cf22bf540 23:04:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:04:59 ---> Running in 48433c3936d1 23:05:01 Removing intermediate container 48433c3936d1 23:05:01 ---> 4401cba5d817 23:05:01 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:05:01 ---> Running in 14802ea13ae2 23:05:03 Removing intermediate container 14802ea13ae2 23:05:03 ---> bb83072c152b 23:05:03 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:05:03 ---> Running in 21ebbdf5a192 23:05:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:05:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:05:06 OK: 220 MiB in 52 packages 23:05:07 Removing intermediate container 21ebbdf5a192 23:05:07 ---> 2805af63d44c 23:05:07 Step 8/10 : COPY . . 23:05:11 ---> 2e1aef0510c1 23:05:11 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:05:11 ---> Running in c6d6a2dbe98d 23:05:12 skipping... 23:05:13 Removing intermediate container c6d6a2dbe98d 23:05:13 ---> da333fcaf1bf 23:05:13 Step 10/10 : RUN ${MAKE} 23:05:13 ---> Running in 2de23c747b70 23:05:14 noop 23:05:14 Removing intermediate container 2de23c747b70 23:05:14 ---> 9f8f2edb1610 23:05:15 Successfully built 9f8f2edb1610 23:05:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:15 + docker inspect -f . ci-base-image-arm64 23:05:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:15 prd-ubuntu20.04-docker-arm64-4c-16g-714 does not seem to be running inside a container 23:05:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:05:17 $ docker top 71b87e93d13f1715bcd1a1eeac77b623af3eb3592c437ffa38e3584509d791e2 -eo pid,comm [Pipeline] { [Pipeline] sh 23:05:18 + go version 23:05:18 go version go1.17.6 linux/arm64 [Pipeline] } 23:05:18 $ docker stop --time=1 71b87e93d13f1715bcd1a1eeac77b623af3eb3592c437ffa38e3584509d791e2 23:05:20 $ docker rm -f 71b87e93d13f1715bcd1a1eeac77b623af3eb3592c437ffa38e3584509d791e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:05:21 + docker inspect -f . ci-base-image-arm64 23:05:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:05:21 prd-ubuntu20.04-docker-arm64-4c-16g-714 does not seem to be running inside a container 23:05:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:05:22 $ docker top 063990ef08645ef370de71d0f5691f8773412b0a6a6def72847bb3e18b016255 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:05:23 + make test 23:05:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:05:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:07:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:07:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:07:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:07:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.406s coverage: 23.3% of statements 23:07:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:07:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.253s coverage: 27.6% of statements 23:07:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.267s coverage: 78.9% of statements 23:07:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.241s coverage: 9.0% of statements 23:07:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:07:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:07:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:07:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.398s coverage: 28.7% of statements 23:07:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:07:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.275s coverage: 82.9% of statements 23:07:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:07:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:07:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.404s coverage: 57.8% of statements 23:07:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.050s coverage: 89.2% of statements 23:07:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:07:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.245s coverage: 4.8% of statements 23:07:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:07:24 GO111MODULE=on go vet ./... 23:08:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:08:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:08:21 ./bin/test-attribution-txt.sh 23:08:23 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.1 23:08:23 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1 23:08:23 go: downloading github.com/google/uuid v1.3.0 23:08:23 go: downloading github.com/stretchr/testify v1.7.0 23:08:23 go: downloading github.com/OneOfOne/xxhash v1.2.8 23:08:23 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 23:08:23 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1 23:08:23 go: downloading github.com/pelletier/go-toml v1.9.4 23:08:23 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 23:08:23 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 23:08:23 go: downloading github.com/gorilla/mux v1.8.0 23:08:23 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 23:08:23 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 23:08:23 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1 23:08:23 go: downloading github.com/hashicorp/go-multierror v1.1.0 23:08:23 go: downloading github.com/hashicorp/consul/api v1.9.1 23:08:23 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 23:08:23 go: downloading github.com/go-kit/kit v0.11.0 23:08:23 go: downloading github.com/go-playground/validator/v10 v10.9.0 23:08:23 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 23:08:24 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 23:08:24 go: downloading github.com/pebbe/zmq4 v1.2.7 23:08:24 go: downloading github.com/go-redis/redis/v7 v7.3.0 23:08:24 go: downloading github.com/go-logfmt/logfmt v0.5.0 23:08:24 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 23:08:24 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 23:08:24 go: downloading github.com/mitchellh/copystructure v1.0.0 23:08:24 go: downloading github.com/mitchellh/mapstructure v1.1.2 23:08:24 go: downloading github.com/davecgh/go-spew v1.1.1 23:08:24 go: downloading github.com/pmezard/go-difflib v1.0.0 23:08:24 go: downloading github.com/stretchr/objx v0.1.1 23:08:24 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 23:08:24 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 23:08:24 go: downloading golang.org/x/text v0.3.6 23:08:25 go: downloading github.com/hashicorp/golang-lru v0.5.0 23:08:25 go: downloading github.com/hashicorp/errwrap v1.0.0 23:08:25 go: downloading github.com/x448/float16 v0.8.4 23:08:25 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 23:08:25 go: downloading github.com/hashicorp/go-hclog v0.12.0 23:08:25 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 23:08:25 go: downloading github.com/hashicorp/serf v0.9.5 23:08:26 go: downloading github.com/go-playground/universal-translator v0.18.0 23:08:26 go: downloading github.com/leodido/go-urn v1.2.1 23:08:26 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 23:08:27 go: downloading github.com/gorilla/websocket v1.4.2 23:08:27 go: downloading github.com/mitchellh/reflectwalk v1.0.0 23:08:27 go: downloading github.com/fatih/color v1.9.0 23:08:27 go: downloading github.com/mattn/go-colorable v0.1.6 23:08:27 go: downloading github.com/mattn/go-isatty v0.0.12 23:08:27 go: downloading github.com/mitchellh/go-homedir v1.1.0 23:08:27 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 23:08:33 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 23:08:34 + go mod tidy 23:08:34 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 23:08:34 go: downloading github.com/go-playground/assert/v2 v2.0.1 23:08:34 go: downloading github.com/go-stack/stack v1.8.0 23:08:35 go: downloading github.com/hashicorp/consul/sdk v0.8.0 23:08:35 go: downloading github.com/hashicorp/go-uuid v1.0.1 23:08:35 go: downloading github.com/onsi/ginkgo v1.10.1 23:08:35 go: downloading github.com/onsi/gomega v1.7.0 23:08:35 go: downloading github.com/kr/pretty v0.3.0 23:08:35 go: downloading github.com/hashicorp/go-msgpack v0.5.3 23:08:35 go: downloading github.com/hashicorp/memberlist v0.2.2 23:08:35 go: downloading github.com/pkg/errors v0.9.1 23:08:35 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 23:08:35 go: downloading github.com/kr/text v0.2.0 23:08:35 go: downloading github.com/rogpeppe/go-internal v1.8.0 23:08:35 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 23:08:35 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 23:08:35 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 23:08:35 go: downloading github.com/miekg/dns v1.1.26 23:08:35 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 23:08:35 go: downloading gopkg.in/yaml.v2 v2.3.0 23:08:35 go: downloading github.com/hpcloud/tail v1.0.0 23:08:35 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 23:08:35 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 23:08:35 $ docker stop --time=1 063990ef08645ef370de71d0f5691f8773412b0a6a6def72847bb3e18b016255 23:08:38 $ docker rm -f 063990ef08645ef370de71d0f5691f8773412b0a6a6def72847bb3e18b016255 [Pipeline] // withDockerContainer [Pipeline] sh 23:08:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:08:41 Warning: overwriting stash ‘coverage-report’ 23:08:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:08:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:08:43 + ls -al . 23:08:43 total 304 23:08:43 drwxrwxr-x 11 jenkins jenkins 4096 Jun 2 23:08 . 23:08:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:03 .. 23:08:43 -rw-rw-r-- 1 jenkins jenkins 140 Jun 2 23:04 .dockerignore 23:08:43 drwxrwxr-x 8 jenkins jenkins 4096 Jun 2 23:04 .git 23:08:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:04 .github 23:08:43 -rw-rw-r-- 1 jenkins jenkins 124 Jun 2 23:04 .gitignore 23:08:43 -rw-rw-r-- 1 jenkins jenkins 26850 Jun 2 23:04 CHANGELOG.md 23:08:43 -rw-rw-r-- 1 jenkins jenkins 677 Jun 2 23:04 GOVERNANCE.md 23:08:43 -rw-rw-r-- 1 jenkins jenkins 880 Jun 2 23:04 Jenkinsfile 23:08:43 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 2 23:04 LICENSE 23:08:43 -rw-rw-r-- 1 jenkins jenkins 1120 Jun 2 23:04 Makefile 23:08:43 -rw-rw-r-- 1 jenkins jenkins 619 Jun 2 23:04 OWNERS.md 23:08:43 -rw-rw-r-- 1 jenkins jenkins 4890 Jun 2 23:04 README.md 23:08:43 -rw-rw-r-- 1 jenkins jenkins 5 Jun 2 22:59 VERSION 23:08:43 drwxrwxr-x 2 jenkins jenkins 4096 Jun 2 23:04 bin 23:08:43 -rw-r--r-- 1 jenkins jenkins 128642 Jun 2 23:07 coverage.out 23:08:43 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 23:04 example 23:08:43 -rw-rw-r-- 1 jenkins jenkins 576 Jun 2 23:08 go.mod 23:08:43 -rw-rw-r-- 1 jenkins jenkins 48946 Jun 2 23:04 go.sum 23:08:43 drwxrwxr-x 15 jenkins jenkins 4096 Jun 2 23:04 internal 23:08:43 drwxrwxr-x 3 jenkins jenkins 4096 Jun 2 23:04 openapi 23:08:43 drwxrwxr-x 5 jenkins jenkins 4096 Jun 2 23:04 pkg 23:08:43 drwxrwxr-x 4 jenkins jenkins 4096 Jun 2 23:04 snap 23:08:43 drwxrwxr-x 6 jenkins jenkins 4096 Jun 2 23:04 vendor 23:08:43 -rw-rw-r-- 1 jenkins jenkins 222 Jun 2 23:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:08:43 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 --label arch=arm64 --label version=0.0.0 . 23:08:44 Sending build context to Docker daemon 16.39MB 23:08:44 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 23:08:44 Step 2/24 : FROM ${BASE} AS builder 23:08:44 ---> 9f8f2edb1610 23:08:44 Step 3/24 : ARG MAKE=make build 23:08:45 ---> Running in 386622a7c0e5 23:08:45 Removing intermediate container 386622a7c0e5 23:08:45 ---> 5c289872a6d7 23:08:45 Step 4/24 : WORKDIR /device-sdk-go 23:08:45 ---> Running in 9e992030c04f 23:08:45 Removing intermediate container 9e992030c04f 23:08:45 ---> f55bcf52e0e3 23:08:45 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:08:46 ---> Running in 53ef16d0482c 23:08:46 Removing intermediate container 53ef16d0482c 23:08:46 ---> cfd0df3d7736 23:08:46 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:08:46 ---> Running in 4f4405ddad8e 23:08:48 Removing intermediate container 4f4405ddad8e 23:08:48 ---> c9108cb96cb7 23:08:48 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:08:48 ---> Running in 241dbcb458fc 23:08:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:08:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:08:51 OK: 220 MiB in 52 packages 23:08:52 Removing intermediate container 241dbcb458fc 23:08:52 ---> fb6f785a1037 23:08:52 Step 8/24 : COPY . . 23:08:57 ---> dcf31755e6dc 23:08:57 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:08:57 ---> Running in 4a7c5f7bec34 23:08:57 skipping... 23:08:58 Removing intermediate container 4a7c5f7bec34 23:08:58 ---> 8ef0d4f53bb4 23:08:58 Step 10/24 : RUN ${MAKE} 23:08:58 ---> Running in b66fefd9361d 23:09:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:09:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:09:42 Removing intermediate container b66fefd9361d 23:09:42 ---> 5214010ce123 23:09:42 Step 11/24 : FROM alpine:3.14 23:09:42 3.14: Pulling from library/alpine 23:09:42 455c02918c45: Pulling fs layer 23:09:43 455c02918c45: Download complete 23:09:43 455c02918c45: Pull complete 23:09:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:09:43 Status: Downloaded newer image for alpine:3.14 23:09:43 ---> ac73e934f311 23:09:43 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:09:43 ---> Running in 8cec79391070 23:09:43 Removing intermediate container 8cec79391070 23:09:43 ---> 1c13202251af 23:09:43 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:09:44 ---> Running in 6dd22cfc9c91 23:09:46 Removing intermediate container 6dd22cfc9c91 23:09:46 ---> 952e09a3270e 23:09:46 Step 14/24 : RUN apk add --update --no-cache zeromq 23:09:46 ---> Running in 43e00bce7555 23:09:47 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:09:48 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:09:48 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:09:49 (2/5) Installing libsodium (1.0.18-r0) 23:09:49 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:09:49 (4/5) Installing libzmq (4.3.4-r0) 23:09:49 (5/5) Installing zeromq (4.3.4-r0) 23:09:49 Executing busybox-1.33.1-r7.trigger 23:09:49 OK: 8 MiB in 19 packages 23:09:50 Removing intermediate container 43e00bce7555 23:09:50 ---> c63c7c47e205 23:09:50 Step 15/24 : WORKDIR / 23:09:50 ---> Running in 2bb13b8c4178 23:09:50 Removing intermediate container 2bb13b8c4178 23:09:50 ---> 1e3e6ba59ce6 23:09:50 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:09:51 ---> 50cc72d06045 23:09:51 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:09:52 ---> f8d0010db2e8 23:09:52 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:09:53 ---> 12f46143b2db 23:09:53 Step 19/24 : EXPOSE 59999 23:09:53 ---> Running in 3e6d654c0a85 23:09:53 Removing intermediate container 3e6d654c0a85 23:09:53 ---> 0c89b19bc463 23:09:53 Step 20/24 : ENTRYPOINT ["/device-simple"] 23:09:53 ---> Running in 86bdafd42830 23:09:54 Removing intermediate container 86bdafd42830 23:09:54 ---> a147b2106d4d 23:09:54 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:09:54 ---> Running in 531f73b5ab5a 23:09:54 Removing intermediate container 531f73b5ab5a 23:09:54 ---> aa34d58e87ed 23:09:54 Step 22/24 : LABEL arch=arm64 23:09:54 ---> Running in 2c7d73477d01 23:09:54 Removing intermediate container 2c7d73477d01 23:09:54 ---> 9f21c014ff77 23:09:54 Step 23/24 : LABEL git_sha=7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 23:09:54 ---> Running in 28877b23fd8f 23:09:55 Removing intermediate container 28877b23fd8f 23:09:55 ---> 4e3de62f7506 23:09:55 Step 24/24 : LABEL version=0.0.0 23:09:55 ---> Running in bcf9babf94a2 23:09:55 Removing intermediate container bcf9babf94a2 23:09:55 ---> efca974a41ad 23:09:55 [Warning] One or more build-args [ARCH] were not consumed 23:09:56 Successfully built efca974a41ad 23:09:56 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:09:56 23:09:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:09:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:09:57 arm64: Pulling from edgex-lftools-log-publisher 23:09:57 8998bd30e6a1: Pulling fs layer 23:09:57 04944245beec: Pulling fs layer 23:09:57 699f458cf7ca: Pulling fs layer 23:09:57 765212b225bb: Pulling fs layer 23:09:57 f23df028b6ca: Pulling fs layer 23:09:57 d65c8cfc05b1: Pulling fs layer 23:09:57 2437ff75d9bd: Pulling fs layer 23:09:57 765212b225bb: Waiting 23:09:57 f23df028b6ca: Waiting 23:09:57 2437ff75d9bd: Waiting 23:09:57 d65c8cfc05b1: Waiting 23:09:57 04944245beec: Verifying Checksum 23:09:57 04944245beec: Download complete 23:09:57 765212b225bb: Verifying Checksum 23:09:57 765212b225bb: Download complete 23:09:58 f23df028b6ca: Verifying Checksum 23:09:58 f23df028b6ca: Download complete 23:09:58 d65c8cfc05b1: Verifying Checksum 23:09:58 d65c8cfc05b1: Download complete 23:09:58 699f458cf7ca: Verifying Checksum 23:09:58 699f458cf7ca: Download complete 23:09:58 8998bd30e6a1: Verifying Checksum 23:09:58 8998bd30e6a1: Download complete 23:10:01 2437ff75d9bd: Verifying Checksum 23:10:01 2437ff75d9bd: Download complete 23:10:03 8998bd30e6a1: Pull complete 23:10:04 04944245beec: Pull complete 23:10:05 699f458cf7ca: Pull complete 23:10:05 765212b225bb: Pull complete 23:10:06 f23df028b6ca: Pull complete 23:10:06 d65c8cfc05b1: Pull complete 23:10:21 2437ff75d9bd: Pull complete 23:10:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:10:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:10:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:22 prd-ubuntu20.04-docker-arm64-4c-16g-714 does not seem to be running inside a container 23:10:22 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 23:10:24 $ docker top fb7325c6ef6f534bb5f1193b31ee46125cbf4fc3fcef2e82ae489d7b96508b44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:10:25 ---> job-cost.sh 23:10:25 lf-activate-venv: SKIPPING 23:10:25 INFO: No Stack... 23:10:26 INFO: Retrieving Pricing Info for: v3-standard-4 23:10:27 INFO: Archiving Costs [Pipeline] sh 23:10:28 + cut -d, -f6 23:10:28 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 23:10:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1172-1-stack-cost] 23:10:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1172-1-stack-cost] did not exist. Created. 23:10:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1172-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:10:29 /w/workspace/device-sdk-go/1@tmp/durable-2d2c4a87/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:10:29 + echo total: 0.10999999940395355 [Pipeline] stash 23:10:29 Warning: overwriting stash ‘stack-cost’ 23:10:30 Stashed 1 file(s) [Pipeline] } 23:10:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1172-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:10:30 $ docker stop --time=1 fb7325c6ef6f534bb5f1193b31ee46125cbf4fc3fcef2e82ae489d7b96508b44 23:10:31 $ docker rm -f fb7325c6ef6f534bb5f1193b31ee46125cbf4fc3fcef2e82ae489d7b96508b44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:10:32 provisioning config files... 23:10:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp/config5116013803389516521tmp [Pipeline] { [Pipeline] sh 23:10:32 + set +x 23:10:32 + curl -s https://codecov.io/bash 23:10:32 + bash -s -- 23:10:32 23:10:32 _____ _ 23:10:32 / ____| | | 23:10:32 | | ___ __| | ___ ___ _____ __ 23:10:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:10:32 | |___| (_) | (_| | __/ (_| (_) \ V / 23:10:32 \_____\___/ \__,_|\___|\___\___/ \_/ 23:10:32 Bash-1.0.6 23:10:32 23:10:32 23:10:32 ==> git version 2.25.1 found 23:10:32 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:10:32 Release-Date: 2020-01-08 23:10:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:10:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:10:32 ==> Jenkins CI detected. 23:10:32 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1172 23:10:32 project root: . 23:10:32 --> token set from env 23:10:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:10:32 ==> Running gcov in . (disable via -X gcov) 23:10:32 ==> Python coveragepy not found 23:10:32 ==> Searching for coverage reports in: 23:10:32 + . 23:10:32 -> Found 1 reports 23:10:32 ==> Detecting git/mercurial file structure 23:10:32 ==> Reading reports 23:10:33 + ./coverage.out bytes=128642 23:10:33 ==> Appending adjustments 23:10:33 https://docs.codecov.io/docs/fixing-reports 23:10:33 + Found adjustments 23:10:33 ==> Gzipping contents 23:10:33 24K /tmp/codecov.RIlUPg.gz 23:10:33 ==> Uploading reports 23:10:33 url: https://codecov.io 23:10:33 query: branch=PR-1172&commit=7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1172%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1172&job=&cmd_args= 23:10:33 -> Pinging Codecov 23:10:33 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1172&commit=7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1172%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1172&job=&cmd_args= 23:10:33 -> Uploading to 23:10:33 https://storage.googleapis.com/codecov/v4/raw/2022-06-02/7E55EF52A471D76F132DFD9A03CDDE97/7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6/5268748f-b4c3-409e-b9c1-8470f601f542.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220602%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220602T231033Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=08ab0a67b26f90bd99249916daad6bf2123e4691e2e31ba9d9bd4eb9943562ab 23:10:33 % Total % Received % Xferd Average Speed Time Time Time Current 23:10:33 Dload Upload Total Spent Left Speed 23:10:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23055 0 0 100 23055 0 100k --:--:-- --:--:-- --:--:-- 100k 23:10:34 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7cf7f2c62d06b8c4e2b7d55d01e8ae8f22c0d1c6 [Pipeline] } 23:10:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 23:10:35 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1172/archives ] 23:10:35 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1172/archives 23:10:35 total 16 23:10:35 drwxr-xr-x 3 root root 4096 Jun 2 23:01 . 23:10:35 drwxrwxr-x 13 jenkins jenkins 4096 Jun 2 23:01 .. 23:10:35 drwxr-xr-x 2 root root 4096 Jun 2 23:01 cost 23:10:35 -rw-r--r-- 1 root root 85 Jun 2 23:01 cost.csv 23:10:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1172/archives 23:10:35 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1172/archives 23:10:35 total 16 23:10:35 drwxr-xr-x 3 jenkins jenkins 4096 Jun 2 23:01 . 23:10:35 drwxrwxr-x 13 jenkins jenkins 4096 Jun 2 23:01 .. 23:10:35 drwxr-xr-x 2 jenkins jenkins 4096 Jun 2 23:01 cost 23:10:35 -rw-r--r-- 1 jenkins jenkins 85 Jun 2 23:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:10:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:10:37 ---> package-listing.sh 23:10:37 ++ facter osfamily 23:10:37 ++ tr '[:upper:]' '[:lower:]' 23:10:37 + OS_FAMILY=debian 23:10:37 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1172 23:10:37 + START_PACKAGES=/tmp/packages_start.txt 23:10:37 + END_PACKAGES=/tmp/packages_end.txt 23:10:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:10:37 + PACKAGES=/tmp/packages_start.txt 23:10:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1172 ']' 23:10:37 + PACKAGES=/tmp/packages_end.txt 23:10:37 + case "${OS_FAMILY}" in 23:10:37 + dpkg -l 23:10:37 + grep '^ii' 23:10:37 + '[' -f /tmp/packages_start.txt ']' 23:10:37 + '[' -f /tmp/packages_end.txt ']' 23:10:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:10:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1172 ']' 23:10:37 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1172/archives/ 23:10:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1172/archives/ [Pipeline] echo 23:10:37 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1172/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:10:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:10:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:10:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:10:38 prd-ubuntu20.04-docker-8c-8g-713 does not seem to be running inside a container 23:10:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1172/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-1172 -v /w/workspace/gexfoundry_device-sdk-go_PR-1172:/w/workspace/gexfoundry_device-sdk-go_PR-1172:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1172@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 23:10:38 $ docker top 4636e6aad1d58ab40cb01a18606767270ba90e3e320258108dccfa0369c80ffe -eo pid,comm [Pipeline] { [Pipeline] sh 23:10:39 + touch /tmp/pre-build-complete [Pipeline] sh 23:10:39 + mkdir -p /var/log/sysstat [Pipeline] sh 23:10:39 + ls /var/log/sa-host 23:10:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:10:40 provisioning config files... 23:10:40 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1172@tmp/config1288137658878734541tmp [Pipeline] { [Pipeline] echo 23:10:40 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:10:40 ---> create-netrc.sh [Pipeline] } 23:10:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:10:40 ---> python-tools-install.sh [Pipeline] echo 23:10:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:10:41 ---> sudo-logs.sh 23:10:41 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:10:41 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:10:41 ---> job-cost.sh 23:10:41 lf-activate-venv: SKIPPING 23:10:41 DEBUG: total: 0.2199999988079071 23:10:41 INFO: Retrieving Stack Cost... 23:10:42 INFO: Retrieving Pricing Info for: v3-standard-8 23:10:42 INFO: Archiving Costs [Pipeline] echo 23:10:42 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:10:42 ---> logs-deploy.sh 23:10:42 lf-activate-venv: SKIPPING 23:10:42 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1172/1 23:10:42 INFO: archiving workspace using pattern(s): 23:10:43 Archives upload complete. 23:10:43 INFO: archiving logs to Nexus