Push event to branch jakarta Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6b28ab18defc125340c64f0ec90f02309642eba1 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-ssh2819063321356047584.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-ssh7751866958747511439.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/jakarta/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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7031482641912438289.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/jakarta/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14741183469662721469.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 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-ssh10530650988243234258.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/jakarta/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/jakarta/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14875388926743496192.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-78 in /w/workspace/gexfoundry_device-sdk-go_jakarta [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_jakarta # 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 Avoid second fetch Checking out Revision 6b28ab18defc125340c64f0ec90f02309642eba1 (jakarta) > 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 core.sparsecheckout # timeout=10 > git checkout -f 6b28ab18defc125340c64f0ec90f02309642eba1 # timeout=10 Commit message: "Merge pull request #1167 from jinlinGuan/issue-1160" > git rev-list --no-walk 6a81118fd5fae2129fb08f9495f332ae0f5b104f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:07:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:07:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:07:29 ========================================================= 21:07:29 EdgeX Global Pipelines Version Info 21:07:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:07:30 ------------------- 21:07:30 stable info: 21:07:30 ------------------- 21:07:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:07:30 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 21:07:30 Message: update stable to v1.0.230 21:07:31 ------------------- 21:07:31 experimental info: 21:07:31 ------------------- 21:07:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:07:31 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 21:07:31 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6b28ab1 [Pipeline] echo 21:07:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:07:31 provisioning config files... 21:07:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config2184275060236121220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:32 ---> docker-login.sh 21:07:32 nexus3.edgexfoundry.org:10001 21:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:32 Configure a credential helper to remove this warning. See 21:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:32 21:07:32 Login Succeeded 21:07:32 nexus3.edgexfoundry.org:10002 21:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:32 Configure a credential helper to remove this warning. See 21:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:32 21:07:32 Login Succeeded 21:07:32 nexus3.edgexfoundry.org:10003 21:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:32 Configure a credential helper to remove this warning. See 21:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:32 21:07:32 Login Succeeded 21:07:32 nexus3.edgexfoundry.org:10004 21:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:32 Configure a credential helper to remove this warning. See 21:07:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:32 21:07:32 Login Succeeded 21:07:32 docker.io 21:07:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:33 Configure a credential helper to remove this warning. See 21:07:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:33 21:07:33 Login Succeeded 21:07:33 ---> docker-login.sh ends [Pipeline] } 21:07:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:07:33 + git rev-list -1 --merges 6b28ab18defc125340c64f0ec90f02309642eba1~1..6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] echo 21:07:33 -----------> git rev-list -1 --merges 6b28ab18defc125340c64f0ec90f02309642eba1~1..6b28ab18defc125340c64f0ec90f02309642eba1 6b28ab18defc125340c64f0ec90f02309642eba1 21:07:33 6b28ab18defc125340c64f0ec90f02309642eba1 [false] [Pipeline] sh 21:07:34 + git log --format=format:%s -1 6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] echo 21:07:34 ========================================================= 21:07:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:07:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:07:34 + git log --format=format:%s -1 6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] echo 21:07:34 [semverPrep] GIT_COMMIT: 6b28ab18defc125340c64f0ec90f02309642eba1, Commit Message: Merge pull request #1167 from jinlinGuan/issue-1160 [Pipeline] echo 21:07:34 [semverPrep] This is not a build commit. [Pipeline] sh 21:07:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:07:34 + grep -v github /etc/ssh/ssh_known_hosts 21:07:34 + [ -e /tmp/ssh_known_hosts ] 21:07:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:07:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:07:34 + sudo tee -a /etc/ssh/ssh_known_hosts 21:07:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:07:35 21:07:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:07:35 latest: Pulling from edgex-devops/py-git-semver 21:07:35 1fe172e4850f: Pulling fs layer 21:07:35 caf521ccaac6: Pulling fs layer 21:07:35 3ead6fa29328: Pulling fs layer 21:07:35 5c2a1cbceb83: Pulling fs layer 21:07:35 a8d5f1318db7: Pulling fs layer 21:07:35 c427282e49a2: Pulling fs layer 21:07:35 1827001aaf11: Pulling fs layer 21:07:35 0714d37db230: Pulling fs layer 21:07:35 ac28cf19c067: Pulling fs layer 21:07:35 ca983d60f3e2: Pulling fs layer 21:07:35 c427282e49a2: Waiting 21:07:35 1827001aaf11: Waiting 21:07:35 0714d37db230: Waiting 21:07:35 ac28cf19c067: Waiting 21:07:35 5c2a1cbceb83: Waiting 21:07:35 a8d5f1318db7: Waiting 21:07:35 9f894cec8388: Pulling fs layer 21:07:35 caf521ccaac6: Download complete 21:07:35 5c2a1cbceb83: Verifying Checksum 21:07:35 5c2a1cbceb83: Download complete 21:07:35 a8d5f1318db7: Verifying Checksum 21:07:35 a8d5f1318db7: Download complete 21:07:35 c427282e49a2: Verifying Checksum 21:07:35 c427282e49a2: Download complete 21:07:35 3ead6fa29328: Verifying Checksum 21:07:35 3ead6fa29328: Download complete 21:07:35 0714d37db230: Verifying Checksum 21:07:35 0714d37db230: Download complete 21:07:35 ac28cf19c067: Download complete 21:07:35 ca983d60f3e2: Verifying Checksum 21:07:35 ca983d60f3e2: Download complete 21:07:35 9f894cec8388: Verifying Checksum 21:07:35 9f894cec8388: Download complete 21:07:35 1fe172e4850f: Verifying Checksum 21:07:35 1fe172e4850f: Download complete 21:07:36 1827001aaf11: Verifying Checksum 21:07:36 1827001aaf11: Download complete 21:07:37 1fe172e4850f: Pull complete 21:07:37 caf521ccaac6: Pull complete 21:07:38 3ead6fa29328: Pull complete 21:07:38 5c2a1cbceb83: Pull complete 21:07:38 a8d5f1318db7: Pull complete 21:07:38 c427282e49a2: Pull complete 21:07:40 1827001aaf11: Pull complete 21:07:40 0714d37db230: Pull complete 21:07:40 ac28cf19c067: Pull complete 21:07:40 ca983d60f3e2: Pull complete 21:07:40 9f894cec8388: Pull complete 21:07:40 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 21:07:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:07:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:07:40 prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container 21:07:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:07:42 $ docker top ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:07:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:42 [ssh-agent] Looking for ssh-agent implementation... 21:07:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:42 $ docker exec ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 ssh-agent 21:07:42 SSH_AUTH_SOCK=/tmp/ssh-m0jDOjRHVytu/agent.31 21:07:42 SSH_AGENT_PID=38 21:07:42 Running ssh-add (command line suppressed) 21:07:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4099223491258055878.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4099223491258055878.key) 21:07:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:43 + git tag --points-at HEAD [Pipeline] } 21:07:43 $ docker exec --env ******** --env ******** ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 ssh-agent -k 21:07:43 unset SSH_AUTH_SOCK; 21:07:43 unset SSH_AGENT_PID; 21:07:43 echo Agent pid 38 killed; 21:07:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:07:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:07:43 [ssh-agent] Looking for ssh-agent implementation... 21:07:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:07:43 $ docker exec ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 ssh-agent 21:07:43 SSH_AUTH_SOCK=/tmp/ssh-HQdmtU4gRZ2H/agent.73 21:07:43 SSH_AGENT_PID=79 21:07:43 Running ssh-add (command line suppressed) 21:07:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_43690468177179262.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_43690468177179262.key) 21:07:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:07:44 + git semver init 21:07:44 2022-05-25 21:07:44,510 [run_init] DEBUG init version:0.0.0 force:False 21:07:44 2022-05-25 21:07:44,511 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver 21:07:44 2022-05-25 21:07:44,511 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver 21:07:44 2022-05-25 21:07:44,511 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=None) 21:07:45 2022-05-25 21:07:45,299 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_jakarta/.git/info/exclude 21:07:45 2022-05-25 21:07:45,300 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta with force:False 21:07:45 2022-05-25 21:07:45,300 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:07:45 2022-05-25 21:07:45,300 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:07:45 2.1.1-dev.2 [Pipeline] } 21:07:45 $ docker exec --env ******** --env ******** ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 ssh-agent -k 21:07:45 unset SSH_AUTH_SOCK; 21:07:45 unset SSH_AGENT_PID; 21:07:45 echo Agent pid 79 killed; 21:07:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:07:45 + git semver [Pipeline] } 21:07:46 $ docker stop --time=1 ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 21:07:47 $ docker rm -f ed96eb3768f3c927f10e87ab2d4d8314411505d2946c54e310624389c7cb7831 [Pipeline] // withDockerContainer [Pipeline] sh 21:07:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:07:48 Stashed 1 file(s) [Pipeline] echo 21:07:48 [edgeXSemver]: initialized semver on version 2.1.1-dev.2 [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 21:07:48 provisioning config files... 21:07:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config5489626903740997160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:07:48 ---> docker-login.sh 21:07:48 nexus3.edgexfoundry.org:10001 21:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:48 Configure a credential helper to remove this warning. See 21:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:48 21:07:48 Login Succeeded 21:07:48 nexus3.edgexfoundry.org:10002 21:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:48 Configure a credential helper to remove this warning. See 21:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:48 21:07:48 Login Succeeded 21:07:48 nexus3.edgexfoundry.org:10003 21:07:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:48 Configure a credential helper to remove this warning. See 21:07:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:48 21:07:48 Login Succeeded 21:07:48 nexus3.edgexfoundry.org:10004 21:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:49 Configure a credential helper to remove this warning. See 21:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:49 21:07:49 Login Succeeded 21:07:49 docker.io 21:07:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:07:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:07:49 Configure a credential helper to remove this warning. See 21:07:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:07:49 21:07:49 Login Succeeded 21:07:49 ---> docker-login.sh ends [Pipeline] } 21:07:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:07:49 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:07:49 ========================================================= 21:07:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 21:07:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:07:49 + 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 . 21:07:49 Sending build context to Docker daemon 20.64MB 21:07:49 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 21:07:49 Step 2/10 : FROM ${BASE} AS builder 21:07:50 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 21:07:50 59bf1c3509f3: Pulling fs layer 21:07:50 666ba61612fd: Pulling fs layer 21:07:50 8ed8ca486205: Pulling fs layer 21:07:50 4fe6c5a15a65: Pulling fs layer 21:07:50 22a0e8bec74d: Pulling fs layer 21:07:50 5f8736975d2d: Pulling fs layer 21:07:50 fe9c1520953f: Pulling fs layer 21:07:50 ad63dd2c9e3e: Pulling fs layer 21:07:50 15d927b9e438: Pulling fs layer 21:07:50 ad63dd2c9e3e: Waiting 21:07:50 fe9c1520953f: Waiting 21:07:50 5f8736975d2d: Waiting 21:07:50 15d927b9e438: Waiting 21:07:50 4fe6c5a15a65: Waiting 21:07:50 22a0e8bec74d: Waiting 21:07:50 8ed8ca486205: Verifying Checksum 21:07:50 8ed8ca486205: Download complete 21:07:50 666ba61612fd: Download complete 21:07:50 22a0e8bec74d: Verifying Checksum 21:07:50 22a0e8bec74d: Download complete 21:07:50 5f8736975d2d: Download complete 21:07:50 fe9c1520953f: Download complete 21:07:50 59bf1c3509f3: Verifying Checksum 21:07:50 59bf1c3509f3: Download complete 21:07:50 ad63dd2c9e3e: Verifying Checksum 21:07:50 ad63dd2c9e3e: Download complete 21:07:50 59bf1c3509f3: Pull complete 21:07:50 666ba61612fd: Pull complete 21:07:50 8ed8ca486205: Pull complete 21:07:50 15d927b9e438: Verifying Checksum 21:07:50 4fe6c5a15a65: Download complete 21:07:55 4fe6c5a15a65: Pull complete 21:07:55 22a0e8bec74d: Pull complete 21:07:55 5f8736975d2d: Pull complete 21:07:55 fe9c1520953f: Pull complete 21:07:55 ad63dd2c9e3e: Pull complete 21:07:57 15d927b9e438: Pull complete 21:07:57 Digest: sha256:661808593d0254beeed429a39851472eaea702e19ad1e0a0b350076e4156c215 21:07:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 21:07:57 ---> 38c4cad2258c 21:07:57 Step 3/10 : ARG MAKE=make build 21:07:58 ---> Running in 8694dd3bc142 21:07:58 Removing intermediate container 8694dd3bc142 21:07:58 ---> 18e98a1d9f3b 21:07:58 Step 4/10 : WORKDIR /device-sdk-go 21:07:59 ---> Running in 84ee9c3949cf 21:07:59 Removing intermediate container 84ee9c3949cf 21:07:59 ---> 6af2cb2d4e12 21:07:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:07:59 ---> Running in cc1a16a7b096 21:07:59 Removing intermediate container cc1a16a7b096 21:07:59 ---> aef25db3fe05 21:07:59 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:07:59 ---> Running in 7c9d2dd7aed6 21:08:00 Removing intermediate container 7c9d2dd7aed6 21:08:00 ---> a69c7d2b3209 21:08:00 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:08:00 ---> Running in f088736254b3 21:08:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:08:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:08:01 OK: 221 MiB in 52 packages 21:08:01 Removing intermediate container f088736254b3 21:08:01 ---> 4462e10e52d4 21:08:01 Step 8/10 : COPY . . 21:08:02 ---> 9cffe7140c7d 21:08:02 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:02 ---> Running in 7a8e0656e86d 21:08:02 skipping... 21:08:03 Still waiting to schedule task 21:08:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:08:03 Removing intermediate container 7a8e0656e86d 21:08:03 ---> d4cd21c9e2e8 21:08:03 Step 10/10 : RUN ${MAKE} 21:08:03 ---> Running in 5628f575b233 21:08:03 noop 21:08:04 Removing intermediate container 5628f575b233 21:08:04 ---> 85f454c1e343 21:08:04 Successfully built 85f454c1e343 21:08:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:04 + docker inspect -f . ci-base-image-x86_64 21:08:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:04 prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container 21:08:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** ci-base-image-x86_64 cat 21:08:04 $ docker top 9de5cc4a7db77ed6dd2e8b3922ce4d436f11f5e72e1912a927a4b4be0b3e4561 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:05 + go version 21:08:05 go version go1.17.6 linux/amd64 [Pipeline] } 21:08:05 $ docker stop --time=1 9de5cc4a7db77ed6dd2e8b3922ce4d436f11f5e72e1912a927a4b4be0b3e4561 21:08:06 $ docker rm -f 9de5cc4a7db77ed6dd2e8b3922ce4d436f11f5e72e1912a927a4b4be0b3e4561 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:07 + docker inspect -f . ci-base-image-x86_64 21:08:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:07 prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container 21:08:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** ci-base-image-x86_64 cat 21:08:07 $ docker top 54390f3f3b7d2e0fcfcc36a57a22cd5942e83dbfb27428773a4da1346114b7f2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:08:07 + make test 21:08:07 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:08:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:08:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 23.3% of statements 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:08:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements 21:08:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements 21:08:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.080s coverage: 9.0% of statements 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:08:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.084s coverage: 28.7% of statements 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:08:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.081s coverage: 82.9% of statements 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:08:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 57.8% of statements 21:08:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.770s coverage: 89.2% of statements 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:08:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.8% of statements 21:08:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:08:23 GO111MODULE=on go vet ./... 21:08:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:08:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:08:29 ./bin/test-attribution-txt.sh 21:08:31 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 21:08:31 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 21:08:31 go: downloading github.com/stretchr/testify v1.7.0 21:08:31 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 21:08:31 go: downloading github.com/google/uuid v1.3.0 21:08:31 go: downloading github.com/pelletier/go-toml v1.9.4 21:08:31 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 21:08:31 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:08:31 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 21:08:31 go: downloading github.com/gorilla/mux v1.8.0 21:08:31 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:08:31 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 21:08:31 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 21:08:31 go: downloading github.com/hashicorp/go-multierror v1.1.0 21:08:31 go: downloading github.com/OneOfOne/xxhash v1.2.8 21:08:31 go: downloading github.com/go-kit/kit v0.11.0 21:08:31 go: downloading github.com/go-playground/validator/v10 v10.9.0 21:08:31 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 21:08:31 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:08:31 go: downloading github.com/pebbe/zmq4 v1.2.7 21:08:31 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:08:31 go: downloading github.com/hashicorp/consul/api v1.9.1 21:08:31 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:08:31 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:08:31 go: downloading github.com/mitchellh/copystructure v1.0.0 21:08:31 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:08:31 go: downloading github.com/davecgh/go-spew v1.1.1 21:08:31 go: downloading github.com/pmezard/go-difflib v1.0.0 21:08:31 go: downloading github.com/stretchr/objx v0.1.1 21:08:31 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:08:31 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 21:08:31 go: downloading github.com/go-logfmt/logfmt v0.5.0 21:08:31 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 21:08:31 go: downloading golang.org/x/text v0.3.6 21:08:32 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:08:32 go: downloading github.com/hashicorp/errwrap v1.0.0 21:08:32 go: downloading github.com/gorilla/websocket v1.4.2 21:08:32 go: downloading github.com/go-playground/universal-translator v0.18.0 21:08:32 go: downloading github.com/leodido/go-urn v1.2.1 21:08:32 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 21:08:32 go: downloading github.com/x448/float16 v0.8.4 21:08:32 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:08:32 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:08:32 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:08:32 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:08:32 go: downloading github.com/hashicorp/serf v0.9.5 21:08:32 go: downloading github.com/go-playground/locales v0.14.0 21:08:32 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:08:32 go: downloading github.com/fatih/color v1.9.0 21:08:32 go: downloading github.com/mattn/go-colorable v0.1.6 21:08:32 go: downloading github.com/mattn/go-isatty v0.0.12 [Pipeline] echo 21:08:33 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 21:08:33 + go mod tidy 21:08:33 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:08:33 go: downloading github.com/go-stack/stack v1.8.0 21:08:33 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:08:33 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:08:33 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:08:33 go: downloading github.com/onsi/ginkgo v1.10.1 21:08:33 go: downloading github.com/onsi/gomega v1.7.0 21:08:33 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:08:33 go: downloading github.com/hashicorp/memberlist v0.2.2 21:08:33 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:08:33 go: downloading github.com/kr/pretty v0.3.0 21:08:33 go: downloading github.com/pkg/errors v0.9.1 21:08:33 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:08:33 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:08:33 go: downloading github.com/kr/text v0.2.0 21:08:34 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:08:34 go: downloading github.com/miekg/dns v1.1.26 21:08:34 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:08:34 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:08:34 go: downloading gopkg.in/yaml.v2 v2.3.0 21:08:34 go: downloading github.com/hpcloud/tail v1.0.0 21:08:34 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:08:34 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 21:08:34 $ docker stop --time=1 54390f3f3b7d2e0fcfcc36a57a22cd5942e83dbfb27428773a4da1346114b7f2 21:08:36 $ docker rm -f 54390f3f3b7d2e0fcfcc36a57a22cd5942e83dbfb27428773a4da1346114b7f2 [Pipeline] // withDockerContainer [Pipeline] sh 21:08:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:08:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:08:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:08:37 + ls -al . 21:08:37 total 308 21:08:37 drwxrwxr-x 12 jenkins jenkins 4096 May 25 21:08 . 21:08:37 drwxrwxr-x 4 jenkins jenkins 4096 May 25 21:07 .. 21:08:37 -rw-rw-r-- 1 jenkins jenkins 140 May 25 21:07 .dockerignore 21:08:37 drwxrwxr-x 8 jenkins jenkins 4096 May 25 21:07 .git 21:08:37 drwxrwxr-x 3 jenkins jenkins 4096 May 25 21:07 .github 21:08:37 -rw-rw-r-- 1 jenkins jenkins 124 May 25 21:07 .gitignore 21:08:37 drwxr-xr-x 3 jenkins jenkins 4096 May 25 21:07 .semver 21:08:37 -rw-rw-r-- 1 jenkins jenkins 26321 May 25 21:07 CHANGELOG.md 21:08:37 -rw-rw-r-- 1 jenkins jenkins 677 May 25 21:07 GOVERNANCE.md 21:08:37 -rw-rw-r-- 1 jenkins jenkins 880 May 25 21:07 Jenkinsfile 21:08:37 -rw-rw-r-- 1 jenkins jenkins 11341 May 25 21:07 LICENSE 21:08:37 -rw-rw-r-- 1 jenkins jenkins 1120 May 25 21:07 Makefile 21:08:37 -rw-rw-r-- 1 jenkins jenkins 619 May 25 21:07 OWNERS.md 21:08:37 -rw-rw-r-- 1 jenkins jenkins 4890 May 25 21:07 README.md 21:08:37 -rw-rw-r-- 1 jenkins jenkins 11 May 25 21:07 VERSION 21:08:37 drwxrwxr-x 2 jenkins jenkins 4096 May 25 21:07 bin 21:08:37 -rw-r--r-- 1 jenkins jenkins 128641 May 25 21:08 coverage.out 21:08:37 drwxrwxr-x 5 jenkins jenkins 4096 May 25 21:07 example 21:08:37 -rw-rw-r-- 1 jenkins jenkins 576 May 25 21:08 go.mod 21:08:37 -rw-rw-r-- 1 jenkins jenkins 48946 May 25 21:07 go.sum 21:08:37 drwxrwxr-x 15 jenkins jenkins 4096 May 25 21:07 internal 21:08:37 drwxrwxr-x 3 jenkins jenkins 4096 May 25 21:07 openapi 21:08:37 drwxrwxr-x 5 jenkins jenkins 4096 May 25 21:07 pkg 21:08:37 drwxrwxr-x 4 jenkins jenkins 4096 May 25 21:07 snap 21:08:37 drwxrwxr-x 6 jenkins jenkins 4096 May 25 21:07 vendor 21:08:37 -rw-rw-r-- 1 jenkins jenkins 222 May 25 21:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:38 + 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=6b28ab18defc125340c64f0ec90f02309642eba1 --label arch=amd64 --label version=2.1.1-dev.2 . 21:08:38 Sending build context to Docker daemon 20.77MB 21:08:38 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 21:08:38 Step 2/24 : FROM ${BASE} AS builder 21:08:38 ---> 85f454c1e343 21:08:38 Step 3/24 : ARG MAKE=make build 21:08:38 ---> Running in bac1dc06f901 21:08:38 Removing intermediate container bac1dc06f901 21:08:38 ---> 14a963932cb0 21:08:38 Step 4/24 : WORKDIR /device-sdk-go 21:08:38 ---> Running in cf48fb858471 21:08:38 Removing intermediate container cf48fb858471 21:08:38 ---> f32da2a23f68 21:08:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:08:38 ---> Running in 39d513e0285d 21:08:38 Removing intermediate container 39d513e0285d 21:08:38 ---> 3b50ac6b77cc 21:08:38 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:08:38 ---> Running in 0415f969903b 21:08:39 Removing intermediate container 0415f969903b 21:08:39 ---> 0c48220f516d 21:08:39 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:08:39 ---> Running in 973c9f287f2c 21:08:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:08:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:08:40 OK: 221 MiB in 52 packages 21:08:41 Removing intermediate container 973c9f287f2c 21:08:41 ---> 4c6205a76e5b 21:08:41 Step 8/24 : COPY . . 21:08:42 ---> e7b74747ba77 21:08:42 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:08:42 ---> Running in c5a41df173df 21:08:42 skipping... 21:08:42 Removing intermediate container c5a41df173df 21:08:42 ---> 76c7590b25af 21:08:42 Step 10/24 : RUN ${MAKE} 21:08:42 ---> Running in b9bd327f6c2e 21:08:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:08:49 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:08:49 Removing intermediate container b9bd327f6c2e 21:08:49 ---> e472ba37df88 21:08:49 Step 11/24 : FROM alpine:3.14 21:08:50 3.14: Pulling from library/alpine 21:08:50 8663204ce13b: Pulling fs layer 21:08:50 8663204ce13b: Verifying Checksum 21:08:50 8663204ce13b: Pull complete 21:08:50 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:08:50 Status: Downloaded newer image for alpine:3.14 21:08:50 ---> e04c818066af 21:08:50 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:08:50 ---> Running in 9ffa9cb24bfe 21:08:50 Removing intermediate container 9ffa9cb24bfe 21:08:50 ---> 57e5e237839e 21:08:50 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:08:50 ---> Running in aec3909d7a6b 21:08:51 Removing intermediate container aec3909d7a6b 21:08:51 ---> 72ab2a71063e 21:08:51 Step 14/24 : RUN apk add --update --no-cache zeromq 21:08:51 ---> Running in c9cd6bbf0c2d 21:08:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:08:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:08:53 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:08:53 (2/5) Installing libsodium (1.0.18-r0) 21:08:53 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:08:53 (4/5) Installing libzmq (4.3.4-r0) 21:08:53 (5/5) Installing zeromq (4.3.4-r0) 21:08:53 Executing busybox-1.33.1-r7.trigger 21:08:53 OK: 8 MiB in 19 packages 21:08:53 Removing intermediate container c9cd6bbf0c2d 21:08:53 ---> 37642f9c74fe 21:08:53 Step 15/24 : WORKDIR / 21:08:54 ---> Running in 59dd2de8fa77 21:08:54 Removing intermediate container 59dd2de8fa77 21:08:54 ---> 2a3238eb55fe 21:08:54 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:08:54 ---> e097131462e8 21:08:54 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:08:54 ---> 06b0a0a7ffbb 21:08:54 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:08:54 ---> beff96187a74 21:08:54 Step 19/24 : EXPOSE 59999 21:08:54 ---> Running in 9d49cafbc372 21:08:54 Removing intermediate container 9d49cafbc372 21:08:54 ---> be0b4b91160f 21:08:54 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:08:54 ---> Running in 998d350e36e2 21:08:55 Removing intermediate container 998d350e36e2 21:08:55 ---> 30df49266a6e 21:08:55 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:08:55 ---> Running in 1bff07540e34 21:08:55 Removing intermediate container 1bff07540e34 21:08:55 ---> 25cb94678f91 21:08:55 Step 22/24 : LABEL arch=amd64 21:08:55 ---> Running in fec29418298f 21:08:55 Removing intermediate container fec29418298f 21:08:55 ---> a7cee47d025f 21:08:55 Step 23/24 : LABEL git_sha=6b28ab18defc125340c64f0ec90f02309642eba1 21:08:55 ---> Running in 2343654f27a5 21:08:55 Removing intermediate container 2343654f27a5 21:08:55 ---> c2e473901153 21:08:55 Step 24/24 : LABEL version=2.1.1-dev.2 21:08:55 ---> Running in 64e6a8ede617 21:08:55 Removing intermediate container 64e6a8ede617 21:08:55 ---> 38a7cbcdfab2 21:08:55 [Warning] One or more build-args [ARCH] were not consumed 21:08:55 Successfully built 38a7cbcdfab2 21:08:55 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 21:08:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:56 21:08:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:56 latest: Pulling from edgex-lftools-log-publisher 21:08:56 5eb5b503b376: Pulling fs layer 21:08:56 5c69ac0246d0: Pulling fs layer 21:08:56 ec43610c2a17: Pulling fs layer 21:08:56 3a2ae6a8a46f: Pulling fs layer 21:08:56 33b1e0a273af: Pulling fs layer 21:08:56 5d3b04190fa2: Pulling fs layer 21:08:56 2f39f015ded8: Pulling fs layer 21:08:56 3a2ae6a8a46f: Waiting 21:08:56 5d3b04190fa2: Waiting 21:08:56 33b1e0a273af: Waiting 21:08:56 2f39f015ded8: Waiting 21:08:56 5c69ac0246d0: Verifying Checksum 21:08:56 3a2ae6a8a46f: Verifying Checksum 21:08:56 3a2ae6a8a46f: Download complete 21:08:56 33b1e0a273af: Verifying Checksum 21:08:56 33b1e0a273af: Download complete 21:08:56 ec43610c2a17: Verifying Checksum 21:08:56 ec43610c2a17: Download complete 21:08:56 5d3b04190fa2: Verifying Checksum 21:08:56 5d3b04190fa2: Download complete 21:08:56 5eb5b503b376: Download complete 21:08:57 2f39f015ded8: Download complete 21:08:57 5eb5b503b376: Pull complete 21:08:58 5c69ac0246d0: Pull complete 21:08:58 ec43610c2a17: Pull complete 21:08:58 3a2ae6a8a46f: Pull complete 21:08:58 33b1e0a273af: Pull complete 21:08:58 5d3b04190fa2: Pull complete 21:09:02 2f39f015ded8: Pull complete 21:09:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:09:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:03 prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container 21:09:03 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:04 $ docker top da31c35c7c4fa494d888d282ade48f569a2ff309e5ef73f87d770bae61a8ad11 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:09:05 ---> job-cost.sh 21:09:05 lf-activate-venv: SKIPPING 21:09:05 INFO: No Stack... 21:09:05 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:06 INFO: Archiving Costs [Pipeline] sh 21:09:06 + cat /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/cost.csv 21:09:06 + cut -d, -f6 [Pipeline] lock 21:09:06 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] 21:09:06 Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] did not exist. Created. 21:09:06 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:09:06 + echo total: 0.2199999988079071 [Pipeline] stash 21:09:06 Stashed 1 file(s) [Pipeline] } 21:09:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } 21:09:06 $ docker stop --time=1 da31c35c7c4fa494d888d282ade48f569a2ff309e5ef73f87d770bae61a8ad11 21:09:08 $ docker rm -f da31c35c7c4fa494d888d282ade48f569a2ff309e5ef73f87d770bae61a8ad11 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:09:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-79 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] ws 21:09:36 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 21:09:36 The recommended git tool is: git 21:09:43 using credential edgex-jenkins-ssh 21:09:43 Cloning the remote Git repository 21:09:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:09:43 > git init /w/workspace/device-sdk-go/6 # timeout=10 21:09:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:09:43 > git --version # timeout=10 21:09:43 > git --version # 'git version 2.25.1' 21:09:43 using GIT_SSH to set credentials SSH Credentials for GitHub 21:09:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:44 Avoid second fetch 21:09:44 Checking out Revision 6b28ab18defc125340c64f0ec90f02309642eba1 (jakarta) 21:09:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:09:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:09:44 > git config core.sparsecheckout # timeout=10 21:09:44 > git checkout -f 6b28ab18defc125340c64f0ec90f02309642eba1 # timeout=10 21:09:49 Commit message: "Merge pull request #1167 from jinlinGuan/issue-1160" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:09:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:09:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:09:50 Dload Upload Total Spent Left Speed 21:09:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 48240 0 --:--:-- --:--:-- --:--:-- 48240 [Pipeline] sh 21:09:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:09:51 + sudo tee /etc/docker/daemon.new 21:09:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:09:51 { 21:09:51 "registry-mirrors": [ 21:09:51 "https://nexus3.edgexfoundry.org:10001" 21:09:51 ], 21:09:51 "bip": "10.250.0.254/24", 21:09:51 "hosts": [ 21:09:51 "tcp://0.0.0.0:5555", 21:09:51 "unix:///var/run/docker.sock" 21:09:51 ], 21:09:51 "mtu": 1458, 21:09:51 "selinux-enabled": true, 21:09:51 "seccomp-profile": "/etc/docker/seccomp.json" 21:09:51 } [Pipeline] sh 21:09:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:09:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:10 provisioning config files... 21:10:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config4409375986983780485tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:10 ---> docker-login.sh 21:10:10 nexus3.edgexfoundry.org:10001 21:10:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:11 Configure a credential helper to remove this warning. See 21:10:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:11 21:10:11 Login Succeeded 21:10:11 nexus3.edgexfoundry.org:10002 21:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:12 Configure a credential helper to remove this warning. See 21:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:12 21:10:12 Login Succeeded 21:10:12 nexus3.edgexfoundry.org:10003 21:10:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:12 Configure a credential helper to remove this warning. See 21:10:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:12 21:10:12 Login Succeeded 21:10:12 nexus3.edgexfoundry.org:10004 21:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:13 Configure a credential helper to remove this warning. See 21:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:13 21:10:13 Login Succeeded 21:10:13 docker.io 21:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:10:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:10:14 Configure a credential helper to remove this warning. See 21:10:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:10:14 21:10:14 Login Succeeded 21:10:14 ---> docker-login.sh ends [Pipeline] } 21:10:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:10:14 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:10:14 ========================================================= 21:10:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 21:10:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:14 + 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 . 21:10:16 Sending build context to Docker daemon 16.17MB 21:10:16 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 21:10:16 Step 2/10 : FROM ${BASE} AS builder 21:10:16 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 21:10:16 9b3977197b4f: Pulling fs layer 21:10:16 1a89e8eeedd5: Pulling fs layer 21:10:16 94645a83ff95: Pulling fs layer 21:10:16 3f3a8bcf1eab: Pulling fs layer 21:10:16 0c92f367c5e7: Pulling fs layer 21:10:16 045706c8da98: Pulling fs layer 21:10:16 d7189365e05b: Pulling fs layer 21:10:16 a32415fbff51: Pulling fs layer 21:10:16 3f3a8bcf1eab: Waiting 21:10:16 0c92f367c5e7: Waiting 21:10:16 045706c8da98: Waiting 21:10:16 d7189365e05b: Waiting 21:10:16 a32415fbff51: Waiting 21:10:16 94645a83ff95: Verifying Checksum 21:10:16 94645a83ff95: Download complete 21:10:16 1a89e8eeedd5: Verifying Checksum 21:10:16 1a89e8eeedd5: Download complete 21:10:16 0c92f367c5e7: Verifying Checksum 21:10:16 0c92f367c5e7: Download complete 21:10:16 045706c8da98: Verifying Checksum 21:10:16 045706c8da98: Download complete 21:10:16 9b3977197b4f: Download complete 21:10:16 d7189365e05b: Download complete 21:10:16 9b3977197b4f: Pull complete 21:10:17 1a89e8eeedd5: Pull complete 21:10:17 94645a83ff95: Pull complete 21:10:18 a32415fbff51: Verifying Checksum 21:10:18 a32415fbff51: Download complete 21:10:18 3f3a8bcf1eab: Verifying Checksum 21:10:18 3f3a8bcf1eab: Download complete 21:10:30 3f3a8bcf1eab: Pull complete 21:10:30 0c92f367c5e7: Pull complete 21:10:30 045706c8da98: Pull complete 21:10:30 d7189365e05b: Pull complete 21:10:37 a32415fbff51: Pull complete 21:10:37 Digest: sha256:763293993303eff07c8e57fe0fe9116095497c40c1fdc093d1a27926bd48f831 21:10:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 21:10:37 ---> 96786ed1eff5 21:10:37 Step 3/10 : ARG MAKE=make build 21:10:37 ---> Running in e460155c9719 21:10:38 Removing intermediate container e460155c9719 21:10:38 ---> 556edd26c644 21:10:38 Step 4/10 : WORKDIR /device-sdk-go 21:10:38 ---> Running in fe01615c4f19 21:10:38 Removing intermediate container fe01615c4f19 21:10:38 ---> 9fe2dfb156e6 21:10:38 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:10:38 ---> Running in a7e2ba1256e4 21:10:39 Removing intermediate container a7e2ba1256e4 21:10:39 ---> 1d0b4d8a3917 21:10:39 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:10:39 ---> Running in cb611abf38b5 21:10:41 Removing intermediate container cb611abf38b5 21:10:41 ---> 7861145cab0e 21:10:41 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:10:41 ---> Running in c943e81b5445 21:10:42 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:10:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:10:43 OK: 220 MiB in 52 packages 21:10:44 Removing intermediate container c943e81b5445 21:10:44 ---> 6f1f727273c5 21:10:44 Step 8/10 : COPY . . 21:10:47 ---> 65708cdea6b3 21:10:47 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:10:48 ---> Running in 0ef71ba99c40 21:10:49 skipping... 21:10:49 Removing intermediate container 0ef71ba99c40 21:10:49 ---> a2431cc46494 21:10:49 Step 10/10 : RUN ${MAKE} 21:10:49 ---> Running in 999226ef6e44 21:10:50 noop 21:10:51 Removing intermediate container 999226ef6e44 21:10:51 ---> fad68ebaf58c 21:10:51 Successfully built fad68ebaf58c 21:10:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:51 + docker inspect -f . ci-base-image-arm64 21:10:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:51 prd-ubuntu20.04-docker-arm64-4c-16g-79 does not seem to be running inside a container 21:10:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-arm64 cat 21:10:53 $ docker top 965d7a26985844ec05b7b9ad6f29d6253ee251e0449541de046c8b4e4bdbdee4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:54 + go version 21:10:54 go version go1.17.6 linux/arm64 [Pipeline] } 21:10:54 $ docker stop --time=1 965d7a26985844ec05b7b9ad6f29d6253ee251e0449541de046c8b4e4bdbdee4 21:10:55 $ docker rm -f 965d7a26985844ec05b7b9ad6f29d6253ee251e0449541de046c8b4e4bdbdee4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:56 + docker inspect -f . ci-base-image-arm64 21:10:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:56 prd-ubuntu20.04-docker-arm64-4c-16g-79 does not seem to be running inside a container 21:10:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@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 ******** ci-base-image-arm64 cat 21:10:57 $ docker top ce7f4d7e4b3524d11b40eafa562fd8f6a628a63ba1a64df21cfff7b3b7099a19 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:10:58 + make test 21:10:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:11:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:12:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:12:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:12:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:12:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.387s coverage: 23.3% of statements 21:12:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:12:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.210s coverage: 27.6% of statements 21:12:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.333s coverage: 78.9% of statements 21:12:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.255s coverage: 9.0% of statements 21:12:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 21:12:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:12:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:12:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.364s coverage: 28.7% of statements 21:12:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:12:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.241s coverage: 82.9% of statements 21:12:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:12:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:12:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.396s coverage: 57.8% of statements 21:12:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 2.987s coverage: 89.2% of statements 21:12:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:12:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.219s coverage: 4.8% of statements 21:12:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:12:46 GO111MODULE=on go vet ./... 21:13:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:42 ./bin/test-attribution-txt.sh 21:13:42 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 21:13:42 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 21:13:42 go: downloading github.com/google/uuid v1.3.0 21:13:42 go: downloading github.com/stretchr/testify v1.7.0 21:13:42 go: downloading github.com/OneOfOne/xxhash v1.2.8 21:13:42 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 21:13:42 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 21:13:42 go: downloading github.com/pelletier/go-toml v1.9.4 21:13:42 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 21:13:42 go: downloading github.com/gorilla/mux v1.8.0 21:13:42 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:13:42 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:13:42 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 21:13:42 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 21:13:42 go: downloading github.com/hashicorp/go-multierror v1.1.0 21:13:42 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:13:42 go: downloading github.com/hashicorp/consul/api v1.9.1 21:13:42 go: downloading github.com/go-kit/kit v0.11.0 21:13:42 go: downloading github.com/go-playground/validator/v10 v10.9.0 21:13:42 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 21:13:42 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:13:42 go: downloading github.com/pebbe/zmq4 v1.2.7 21:13:42 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:13:42 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:13:42 go: downloading github.com/mitchellh/copystructure v1.0.0 21:13:42 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:13:42 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:13:42 go: downloading github.com/go-logfmt/logfmt v0.5.0 21:13:42 go: downloading github.com/davecgh/go-spew v1.1.1 21:13:42 go: downloading github.com/pmezard/go-difflib v1.0.0 21:13:42 go: downloading github.com/stretchr/objx v0.1.1 21:13:42 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 21:13:42 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 21:13:42 go: downloading golang.org/x/text v0.3.6 21:13:42 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:13:42 go: downloading github.com/hashicorp/errwrap v1.0.0 21:13:42 go: downloading github.com/x448/float16 v0.8.4 21:13:42 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:13:42 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:13:42 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:13:42 go: downloading github.com/hashicorp/serf v0.9.5 21:13:42 go: downloading github.com/go-playground/universal-translator v0.18.0 21:13:42 go: downloading github.com/leodido/go-urn v1.2.1 21:13:42 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 21:13:42 go: downloading github.com/gorilla/websocket v1.4.2 21:13:42 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:13:42 go: downloading github.com/fatih/color v1.9.0 21:13:42 go: downloading github.com/mattn/go-colorable v0.1.6 21:13:42 go: downloading github.com/mattn/go-isatty v0.0.12 21:13:42 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:13:42 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 21:13:47 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 21:13:47 + go mod tidy 21:13:48 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:13:48 go: downloading github.com/go-stack/stack v1.8.0 21:13:48 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:13:48 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:13:48 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:13:48 go: downloading github.com/onsi/ginkgo v1.10.1 21:13:48 go: downloading github.com/onsi/gomega v1.7.0 21:13:48 go: downloading github.com/kr/pretty v0.3.0 21:13:48 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:13:48 go: downloading github.com/hashicorp/memberlist v0.2.2 21:13:48 go: downloading github.com/pkg/errors v0.9.1 21:13:48 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:13:48 go: downloading github.com/kr/text v0.2.0 21:13:48 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:13:48 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:13:48 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:13:48 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:13:48 go: downloading github.com/miekg/dns v1.1.26 21:13:48 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:13:48 go: downloading gopkg.in/yaml.v2 v2.3.0 21:13:48 go: downloading github.com/hpcloud/tail v1.0.0 21:13:48 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:13:48 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 21:13:49 $ docker stop --time=1 ce7f4d7e4b3524d11b40eafa562fd8f6a628a63ba1a64df21cfff7b3b7099a19 21:13:51 $ docker rm -f ce7f4d7e4b3524d11b40eafa562fd8f6a628a63ba1a64df21cfff7b3b7099a19 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:54 Warning: overwriting stash ‘coverage-report’ 21:13:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:55 + ls -al . 21:13:55 total 304 21:13:55 drwxrwxr-x 11 jenkins jenkins 4096 May 25 21:13 . 21:13:55 drwxrwxr-x 4 jenkins jenkins 4096 May 25 21:09 .. 21:13:55 -rw-rw-r-- 1 jenkins jenkins 140 May 25 21:09 .dockerignore 21:13:55 drwxrwxr-x 8 jenkins jenkins 4096 May 25 21:09 .git 21:13:55 drwxrwxr-x 3 jenkins jenkins 4096 May 25 21:09 .github 21:13:55 -rw-rw-r-- 1 jenkins jenkins 124 May 25 21:09 .gitignore 21:13:55 -rw-rw-r-- 1 jenkins jenkins 26321 May 25 21:09 CHANGELOG.md 21:13:55 -rw-rw-r-- 1 jenkins jenkins 677 May 25 21:09 GOVERNANCE.md 21:13:55 -rw-rw-r-- 1 jenkins jenkins 880 May 25 21:09 Jenkinsfile 21:13:55 -rw-rw-r-- 1 jenkins jenkins 11341 May 25 21:09 LICENSE 21:13:55 -rw-rw-r-- 1 jenkins jenkins 1120 May 25 21:09 Makefile 21:13:55 -rw-rw-r-- 1 jenkins jenkins 619 May 25 21:09 OWNERS.md 21:13:55 -rw-rw-r-- 1 jenkins jenkins 4890 May 25 21:09 README.md 21:13:55 -rw-rw-r-- 1 jenkins jenkins 11 May 25 21:07 VERSION 21:13:55 drwxrwxr-x 2 jenkins jenkins 4096 May 25 21:09 bin 21:13:55 -rw-r--r-- 1 jenkins jenkins 128641 May 25 21:12 coverage.out 21:13:55 drwxrwxr-x 5 jenkins jenkins 4096 May 25 21:09 example 21:13:55 -rw-rw-r-- 1 jenkins jenkins 576 May 25 21:13 go.mod 21:13:55 -rw-rw-r-- 1 jenkins jenkins 48946 May 25 21:09 go.sum 21:13:55 drwxrwxr-x 15 jenkins jenkins 4096 May 25 21:09 internal 21:13:55 drwxrwxr-x 3 jenkins jenkins 4096 May 25 21:09 openapi 21:13:55 drwxrwxr-x 5 jenkins jenkins 4096 May 25 21:09 pkg 21:13:55 drwxrwxr-x 4 jenkins jenkins 4096 May 25 21:09 snap 21:13:55 drwxrwxr-x 6 jenkins jenkins 4096 May 25 21:09 vendor 21:13:55 -rw-rw-r-- 1 jenkins jenkins 222 May 25 21:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:55 + 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=6b28ab18defc125340c64f0ec90f02309642eba1 --label arch=arm64 --label version=2.1.1-dev.2 . 21:13:57 Sending build context to Docker daemon 16.3MB 21:13:57 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 21:13:57 Step 2/24 : FROM ${BASE} AS builder 21:13:57 ---> fad68ebaf58c 21:13:57 Step 3/24 : ARG MAKE=make build 21:13:57 ---> Running in 4d829b1cbfbb 21:13:57 Removing intermediate container 4d829b1cbfbb 21:13:57 ---> f838b7600a08 21:13:57 Step 4/24 : WORKDIR /device-sdk-go 21:13:57 ---> Running in 827051e7738b 21:13:57 Removing intermediate container 827051e7738b 21:13:57 ---> 5483f5db3629 21:13:57 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:13:58 ---> Running in 5ab2f96a46b3 21:13:58 Removing intermediate container 5ab2f96a46b3 21:13:58 ---> d2dafaeb122f 21:13:58 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:13:58 ---> Running in 4fbfd99b8b59 21:14:00 Removing intermediate container 4fbfd99b8b59 21:14:00 ---> 03c6313fe043 21:14:00 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:14:00 ---> Running in 4a7dbdf67419 21:14:01 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:14:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:14:02 OK: 220 MiB in 52 packages 21:14:03 Removing intermediate container 4a7dbdf67419 21:14:03 ---> b28eb836524f 21:14:03 Step 8/24 : COPY . . 21:14:07 ---> d0b541474284 21:14:07 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:14:07 ---> Running in 95496a6cdbd4 21:14:08 skipping... 21:14:09 Removing intermediate container 95496a6cdbd4 21:14:09 ---> dbd9501991d6 21:14:09 Step 10/24 : RUN ${MAKE} 21:14:09 ---> Running in 9af884086943 21:14:10 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.1-dev.2" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:14:49 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:14:49 Removing intermediate container 9af884086943 21:14:49 ---> 5fc334bb5c34 21:14:49 Step 11/24 : FROM alpine:3.14 21:14:49 3.14: Pulling from library/alpine 21:14:49 455c02918c45: Pulling fs layer 21:14:49 455c02918c45: Verifying Checksum 21:14:49 455c02918c45: Download complete 21:14:50 455c02918c45: Pull complete 21:14:50 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:14:50 Status: Downloaded newer image for alpine:3.14 21:14:50 ---> ac73e934f311 21:14:50 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:14:50 ---> Running in d5a83d1d88f4 21:14:50 Removing intermediate container d5a83d1d88f4 21:14:50 ---> 2efea640935b 21:14:50 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:14:50 ---> Running in 01ad9b94f857 21:14:52 Removing intermediate container 01ad9b94f857 21:14:52 ---> 987cc89a2f9f 21:14:52 Step 14/24 : RUN apk add --update --no-cache zeromq 21:14:52 ---> Running in f4c963913c3d 21:14:53 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:14:54 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:14:55 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:14:55 (2/5) Installing libsodium (1.0.18-r0) 21:14:55 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:14:55 (4/5) Installing libzmq (4.3.4-r0) 21:14:55 (5/5) Installing zeromq (4.3.4-r0) 21:14:55 Executing busybox-1.33.1-r7.trigger 21:14:55 OK: 8 MiB in 19 packages 21:14:56 Removing intermediate container f4c963913c3d 21:14:56 ---> 752993fb47a7 21:14:56 Step 15/24 : WORKDIR / 21:14:56 ---> Running in bda884414334 21:14:57 Removing intermediate container bda884414334 21:14:57 ---> 879695657db3 21:14:57 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:14:57 ---> af9c5023d3f6 21:14:57 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:14:58 ---> 0cb68606366c 21:14:58 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:14:59 ---> 7e8be7b3dc57 21:14:59 Step 19/24 : EXPOSE 59999 21:14:59 ---> Running in 6c9b87aa6ad9 21:14:59 Removing intermediate container 6c9b87aa6ad9 21:14:59 ---> 26ddcfa9770e 21:14:59 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:14:59 ---> Running in d4532c1b7f01 21:14:59 Removing intermediate container d4532c1b7f01 21:14:59 ---> 9ecf68a987b2 21:14:59 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:14:59 ---> Running in 91b2071ba726 21:15:00 Removing intermediate container 91b2071ba726 21:15:00 ---> 1cd8de04c281 21:15:00 Step 22/24 : LABEL arch=arm64 21:15:00 ---> Running in a6c760bbbe62 21:15:00 Removing intermediate container a6c760bbbe62 21:15:00 ---> 4f1a70a9b330 21:15:00 Step 23/24 : LABEL git_sha=6b28ab18defc125340c64f0ec90f02309642eba1 21:15:00 ---> Running in 104c5bbe239e 21:15:00 Removing intermediate container 104c5bbe239e 21:15:00 ---> 3e6af509b50f 21:15:00 Step 24/24 : LABEL version=2.1.1-dev.2 21:15:00 ---> Running in e0102b1f69f3 21:15:01 Removing intermediate container e0102b1f69f3 21:15:01 ---> 4208a365e72a 21:15:01 [Warning] One or more build-args [ARCH] were not consumed 21:15:01 Successfully built 4208a365e72a 21:15:01 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 21:15:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:01 21:15:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:02 arm64: Pulling from edgex-lftools-log-publisher 21:15:02 8998bd30e6a1: Pulling fs layer 21:15:02 04944245beec: Pulling fs layer 21:15:02 699f458cf7ca: Pulling fs layer 21:15:02 765212b225bb: Pulling fs layer 21:15:02 f23df028b6ca: Pulling fs layer 21:15:02 d65c8cfc05b1: Pulling fs layer 21:15:02 2437ff75d9bd: Pulling fs layer 21:15:02 765212b225bb: Waiting 21:15:02 d65c8cfc05b1: Waiting 21:15:02 f23df028b6ca: Waiting 21:15:02 2437ff75d9bd: Waiting 21:15:02 04944245beec: Verifying Checksum 21:15:02 04944245beec: Download complete 21:15:02 765212b225bb: Verifying Checksum 21:15:02 765212b225bb: Download complete 21:15:02 f23df028b6ca: Download complete 21:15:02 d65c8cfc05b1: Download complete 21:15:02 699f458cf7ca: Verifying Checksum 21:15:02 699f458cf7ca: Download complete 21:15:03 8998bd30e6a1: Verifying Checksum 21:15:03 8998bd30e6a1: Download complete 21:15:05 2437ff75d9bd: Verifying Checksum 21:15:05 2437ff75d9bd: Download complete 21:15:07 8998bd30e6a1: Pull complete 21:15:07 04944245beec: Pull complete 21:15:09 699f458cf7ca: Pull complete 21:15:09 765212b225bb: Pull complete 21:15:10 f23df028b6ca: Pull complete 21:15:10 d65c8cfc05b1: Pull complete 21:15:25 2437ff75d9bd: Pull complete 21:15:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:15:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:15:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:25 prd-ubuntu20.04-docker-arm64-4c-16g-79 does not seem to be running inside a container 21:15:25 $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:15:28 $ docker top c3f684f757a84a4b11b16a3e22ef7a489fc384f41b4d81c8b6473065a069f510 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:29 ---> job-cost.sh 21:15:29 lf-activate-venv: SKIPPING 21:15:29 INFO: No Stack... 21:15:29 INFO: Retrieving Pricing Info for: v3-standard-4 21:15:30 INFO: Archiving Costs [Pipeline] sh 21:15:30 + cat /w/workspace/device-sdk-go/6/archives/cost.csv 21:15:30 + cut -d, -f6 [Pipeline] lock 21:15:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] 21:15:31 Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] did not exist. Created. 21:15:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:15:31 /w/workspace/device-sdk-go/6@tmp/durable-ca9eee15/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:15:32 + echo total: 0.10999999940395355 [Pipeline] stash 21:15:32 Warning: overwriting stash ‘stack-cost’ 21:15:32 Stashed 1 file(s) [Pipeline] } 21:15:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-6-stack-cost] [Pipeline] // lock [Pipeline] } 21:15:32 $ docker stop --time=1 c3f684f757a84a4b11b16a3e22ef7a489fc384f41b4d81c8b6473065a069f510 21:15:34 $ docker rm -f c3f684f757a84a4b11b16a3e22ef7a489fc384f41b4d81c8b6473065a069f510 [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 21:15:34 provisioning config files... 21:15:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config3869997266023720089tmp [Pipeline] { [Pipeline] sh 21:15:34 + set +x 21:15:34 + bash -s -- 21:15:34 + curl -s https://codecov.io/bash 21:15:34 21:15:34 _____ _ 21:15:34 / ____| | | 21:15:34 | | ___ __| | ___ ___ _____ __ 21:15:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:15:34 | |___| (_) | (_| | __/ (_| (_) \ V / 21:15:34 \_____\___/ \__,_|\___|\___\___/ \_/ 21:15:34 Bash-1.0.6 21:15:34 21:15:34 21:15:34 ==> git version 2.25.1 found 21:15:34 ==> 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 21:15:34 Release-Date: 2020-01-08 21:15:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:15:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:15:34 ==> Jenkins CI detected. 21:15:34 current dir:  /w/workspace/gexfoundry_device-sdk-go_jakarta 21:15:34 project root: . 21:15:34 --> token set from env 21:15:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:15:34 ==> Running gcov in . (disable via -X gcov) 21:15:34 ==> Python coveragepy not found 21:15:34 ==> Searching for coverage reports in: 21:15:34 + . 21:15:34 -> Found 1 reports 21:15:34 ==> Detecting git/mercurial file structure 21:15:34 ==> Reading reports 21:15:34 + ./coverage.out bytes=128641 21:15:34 ==> Appending adjustments 21:15:34 https://docs.codecov.io/docs/fixing-reports 21:15:35 + Found adjustments 21:15:35 ==> Gzipping contents 21:15:35 24K /tmp/codecov.UShpwN.gz 21:15:35 ==> Uploading reports 21:15:35 url: https://codecov.io 21:15:35 query: branch=jakarta&commit=6b28ab18defc125340c64f0ec90f02309642eba1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:15:35 -> Pinging Codecov 21:15:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=jakarta&commit=6b28ab18defc125340c64f0ec90f02309642eba1&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:15:35 -> Uploading to 21:15:35 https://storage.googleapis.com/codecov/v4/raw/2022-05-25/7E55EF52A471D76F132DFD9A03CDDE97/6b28ab18defc125340c64f0ec90f02309642eba1/4611c4e6-6df1-4be1-9201-229048b1230e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220525%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220525T211535Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=92e7769778a7e8e2151c0fb82df63d0ae4cc82d9a785c91fbaa1059d2ff6f3d0 21:15:35 % Total % Received % Xferd Average Speed Time Time Time Current 21:15:35 Dload Upload Total Spent Left Speed 21:15:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23068 0 0 100 23068 0 98k --:--:-- --:--:-- --:--:-- 97k 100 23068 0 0 100 23068 0 97745 --:--:-- --:--:-- --:--:-- 97745 21:15:35 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] } 21:15:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:15:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:15:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:15:36 21:15:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:15:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:15:36 188c0c94c7c5: Pulling fs layer 21:15:36 0ef7d3d256c8: Pulling fs layer 21:15:36 de9db76c5a1d: Pulling fs layer 21:15:36 0eba1c9be4d2: Pulling fs layer 21:15:36 0d57e429df01: Pulling fs layer 21:15:36 4e4be7b47b0d: Pulling fs layer 21:15:36 0eba1c9be4d2: Waiting 21:15:36 e1f770b5df2f: Pulling fs layer 21:15:36 85a0685a4137: Pulling fs layer 21:15:36 85a0685a4137: Waiting 21:15:36 e1f770b5df2f: Waiting 21:15:36 4e4be7b47b0d: Waiting 21:15:36 de9db76c5a1d: Verifying Checksum 21:15:36 de9db76c5a1d: Download complete 21:15:36 0ef7d3d256c8: Download complete 21:15:36 0d57e429df01: Download complete 21:15:36 4e4be7b47b0d: Verifying Checksum 21:15:36 4e4be7b47b0d: Download complete 21:15:36 188c0c94c7c5: Verifying Checksum 21:15:36 188c0c94c7c5: Download complete 21:15:36 188c0c94c7c5: Pull complete 21:15:36 e1f770b5df2f: Verifying Checksum 21:15:36 e1f770b5df2f: Download complete 21:15:36 0ef7d3d256c8: Pull complete 21:15:37 de9db76c5a1d: Pull complete 21:15:37 0eba1c9be4d2: Verifying Checksum 21:15:37 0eba1c9be4d2: Download complete 21:15:37 85a0685a4137: Verifying Checksum 21:15:37 85a0685a4137: Download complete 21:15:40 0eba1c9be4d2: Pull complete 21:15:40 0d57e429df01: Pull complete 21:15:40 4e4be7b47b0d: Pull complete 21:15:40 e1f770b5df2f: Pull complete 21:15:44 85a0685a4137: Pull complete 21:15:44 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 21:15:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:15:44 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:44 prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container 21:15:44 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:15:46 $ docker top 53e599956f26720acc4c6daae96be9952db4f21ed17bda7b082eaf34ca085c67 -eo pid,comm [Pipeline] { [Pipeline] echo 21:15:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 21:15:46 + set -o pipefail 21:15:46 + snyk monitor '--org=edgex-jenkins' 21:15:49 21:15:49 Monitoring /w/workspace/gexfoundry_device-sdk-go_jakarta (github.com/edgexfoundry/device-sdk-go/v2)... 21:15:49 21:15:49 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/1aa36a6f-1de0-4244-844f-38bd9ad7d505 21:15:49 21:15:49 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:15:49 21:15:49 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:15:49 21:15:50 [Pipeline] } 21:15:50 $ docker stop --time=1 53e599956f26720acc4c6daae96be9952db4f21ed17bda7b082eaf34ca085c67 21:15:51 $ docker rm -f 53e599956f26720acc4c6daae96be9952db4f21ed17bda7b082eaf34ca085c67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 21:15:51 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:15:51 provisioning config files... 21:15:51 copy managed file [swaggerhub-api-key] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config1615645082138427079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:15:52 --> edgex-publish-swagger.sh 21:15:52 === Publish openapi/v2 API === 21:15:52 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 21:15:52 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/gexfoundry_device-sdk-go_jakarta/openapi/v2/device-sdk.yaml] 21:15:52 % Total % Received % Xferd Average Speed Time Time Time Current 21:15:52 Dload Upload Total Spent Left Speed 21:15:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 53699 --:--:-- --:--:-- --:--:-- 53643 100 51659 0 0 100 51659 0 53699 --:--:-- --:--:-- --:--:-- 53643 21:15:52 21:15:52 [Pipeline] } 21:15:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:15:53 + git log --format=format:%s -1 6b28ab18defc125340c64f0ec90f02309642eba1 [Pipeline] sh 21:15:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:15:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:15:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:15:54 prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container 21:15:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:15:54 $ docker top 1f1b9f267196fe8863d330946b8097287a72afec282c448f80c9b34af8e69954 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:15:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:15:54 [ssh-agent] Looking for ssh-agent implementation... 21:15:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:15:54 $ docker exec 1f1b9f267196fe8863d330946b8097287a72afec282c448f80c9b34af8e69954 ssh-agent 21:15:54 SSH_AUTH_SOCK=/tmp/ssh-sVzHLnFKaKDj/agent.33 21:15:54 SSH_AGENT_PID=40 21:15:54 Running ssh-add (command line suppressed) 21:15:54 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1480470866643450536.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1480470866643450536.key) 21:15:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:15:55 + git semver tag 21:15:55 2022-05-25 21:15:55,490 [run_tag] DEBUG tag force:False 21:15:55 2022-05-25 21:15:55,491 [check_head_tag] DEBUG check head tag 21:15:55 2022-05-25 21:15:55,491 [execute] INFO git cat-file --batch-check 21:15:55 2022-05-25 21:15:55,492 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=) 21:15:55 2022-05-25 21:15:55,495 [execute] INFO git cat-file --batch 21:15:55 2022-05-25 21:15:55,496 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=) 21:15:55 2022-05-25 21:15:55,506 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:15:55 2022-05-25 21:15:55,507 [execute] INFO git tag -a v2.1.1-dev.2 -m v2.1.1-dev.2 21:15:55 2022-05-25 21:15:55,507 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.1.1-dev.2', '-m', 'v2.1.1-dev.2'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=None) 21:15:55 2022-05-25 21:15:55,512 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:15:55 2.1.1-dev.2 [Pipeline] } 21:15:55 $ docker exec --env ******** --env ******** 1f1b9f267196fe8863d330946b8097287a72afec282c448f80c9b34af8e69954 ssh-agent -k 21:15:55 unset SSH_AUTH_SOCK; 21:15:55 unset SSH_AGENT_PID; 21:15:55 echo Agent pid 40 killed; 21:15:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:15:55 + git semver [Pipeline] } 21:15:56 $ docker stop --time=1 1f1b9f267196fe8863d330946b8097287a72afec282c448f80c9b34af8e69954 21:15:57 $ docker rm -f 1f1b9f267196fe8863d330946b8097287a72afec282c448f80c9b34af8e69954 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:57 21:15:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:15:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:15:58 0.23.1-centos7: Pulling from edgex-lftools 21:15:58 ab5ef0e58194: Pulling fs layer 21:15:58 9712f1f96733: Pulling fs layer 21:15:58 63f879dbbcfc: Pulling fs layer 21:15:58 0d9ebad4ef96: Pulling fs layer 21:15:58 e9a5061849ea: Pulling fs layer 21:15:58 d747dcd14b5f: Pulling fs layer 21:15:58 2de7ff778b66: Pulling fs layer 21:15:58 e9a5061849ea: Waiting 21:15:58 0d9ebad4ef96: Waiting 21:15:58 2de7ff778b66: Waiting 21:15:58 9712f1f96733: Verifying Checksum 21:15:58 9712f1f96733: Download complete 21:15:58 63f879dbbcfc: Verifying Checksum 21:15:58 63f879dbbcfc: Download complete 21:15:58 0d9ebad4ef96: Verifying Checksum 21:15:58 0d9ebad4ef96: Download complete 21:15:58 e9a5061849ea: Verifying Checksum 21:15:58 e9a5061849ea: Download complete 21:15:58 d747dcd14b5f: Verifying Checksum 21:15:58 d747dcd14b5f: Download complete 21:15:59 2de7ff778b66: Verifying Checksum 21:15:59 2de7ff778b66: Download complete 21:15:59 ab5ef0e58194: Download complete 21:16:02 ab5ef0e58194: Pull complete 21:16:02 9712f1f96733: Pull complete 21:16:02 63f879dbbcfc: Pull complete 21:16:06 0d9ebad4ef96: Pull complete 21:16:06 e9a5061849ea: Pull complete 21:16:06 d747dcd14b5f: Pull complete 21:16:07 2de7ff778b66: Pull complete 21:16:07 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:16:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:16:07 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:07 prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container 21:16:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:16:10 $ docker top 5faa36f97c01766f9f35a35fd42a4cae9ba5b7f52d6de89e3ae02b5b93649bea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:16:10 provisioning config files... 21:16:10 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config4353847434182899975tmp 21:16:10 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config706573808821787872tmp 21:16:10 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config9133160200597356992tmp [Pipeline] { [Pipeline] echo 21:16:10 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:16:10 ---> sigul-configuration.sh 21:16:10 gpg: directory `/root/.gnupg' created 21:16:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:16:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:16:10 gpg: keyring `/root/.gnupg/secring.gpg' created 21:16:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:16:10 gpg: CAST5 encrypted data 21:16:10 gpg: encrypted with 1 passphrase 21:16:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:16:10 + mkdir /home/jenkins 21:16:10 + mkdir /home/jenkins/sigul [Pipeline] sh 21:16:11 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:16:11 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:16:11 ---> sigul-install.sh 21:16:11 Sigul already installed; skipping installation. [Pipeline] sh 21:16:11 + git tag --list 21:16:11 0.7.1 21:16:11 delhi-tag 21:16:11 v1.0.0 21:16:11 v1.1.0 21:16:11 v1.1.1 21:16:11 v1.1.2 21:16:11 v1.2.0 21:16:11 v1.2.1 21:16:11 v1.2.2 21:16:11 v1.2.3 21:16:11 v1.3.0 21:16:11 v1.4.0 21:16:11 v2.0.0 21:16:11 v2.1.0 21:16:11 v2.1.1-dev.2 21:16:11 v2.2.0 21:16:11 v2.2.1-dev.1 21:16:11 v2.2.1-dev.2 [Pipeline] sh 21:16:11 + lftools sign git-tag v2.1.1-dev.2 21:16:12 Signing Git tag with Sigul... 21:16:12 Signing v2.1.1-dev.2 [Pipeline] echo 21:16:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:16:13 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:16:13 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:16:13 $ docker stop --time=1 5faa36f97c01766f9f35a35fd42a4cae9ba5b7f52d6de89e3ae02b5b93649bea 21:16:14 $ docker rm -f 5faa36f97c01766f9f35a35fd42a4cae9ba5b7f52d6de89e3ae02b5b93649bea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:16:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:16:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:15 prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container 21:16:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:16:15 $ docker top 5251285abfb18b4a97931897a0a2d7e6fbcbf5289f0e333f77c59d3db32d3987 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:15 [ssh-agent] Looking for ssh-agent implementation... 21:16:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:15 $ docker exec 5251285abfb18b4a97931897a0a2d7e6fbcbf5289f0e333f77c59d3db32d3987 ssh-agent 21:16:15 SSH_AUTH_SOCK=/tmp/ssh-D046yS8MVqPP/agent.33 21:16:15 SSH_AGENT_PID=39 21:16:15 Running ssh-add (command line suppressed) 21:16:16 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4106476225045884895.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_4106476225045884895.key) 21:16:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:16 + git semver bump pre 21:16:16 2022-05-25 21:16:16,603 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:16:16 2022-05-25 21:16:16,603 [bump_version] DEBUG bumping version:2.1.1-dev.2 on axis:pre with prefix:dev 21:16:16 2022-05-25 21:16:16,603 [bump_version] DEBUG bumped version:2.1.1-dev.3 21:16:16 2022-05-25 21:16:16,604 [write_version] DEBUG write version:2.1.1-dev.3 to path:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta with force:True 21:16:16 2022-05-25 21:16:16,604 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:16:16 2022-05-25 21:16:16,604 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:16:16 2022-05-25 21:16:16,605 [execute] INFO git cat-file --batch-check 21:16:16 2022-05-25 21:16:16,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 21:16:16 2022-05-25 21:16:16,611 [execute] INFO git cat-file --batch 21:16:16 2022-05-25 21:16:16,612 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=) 21:16:16 2022-05-25 21:16:16,618 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:16:16 2.1.1-dev.3 [Pipeline] } 21:16:16 $ docker exec --env ******** --env ******** 5251285abfb18b4a97931897a0a2d7e6fbcbf5289f0e333f77c59d3db32d3987 ssh-agent -k 21:16:16 unset SSH_AUTH_SOCK; 21:16:16 unset SSH_AGENT_PID; 21:16:16 echo Agent pid 39 killed; 21:16:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:17 + git semver [Pipeline] } 21:16:17 $ docker stop --time=1 5251285abfb18b4a97931897a0a2d7e6fbcbf5289f0e333f77c59d3db32d3987 21:16:18 $ docker rm -f 5251285abfb18b4a97931897a0a2d7e6fbcbf5289f0e333f77c59d3db32d3987 [Pipeline] // withDockerContainer [Pipeline] sh 21:16:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:16:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:16:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:19 prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container 21:16:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:16:19 $ docker top b387b43bcd36444ba8283872918ae97cf7c7de7befaca77de707ae7ad884f56d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:16:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:16:19 [ssh-agent] Looking for ssh-agent implementation... 21:16:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:16:20 $ docker exec b387b43bcd36444ba8283872918ae97cf7c7de7befaca77de707ae7ad884f56d ssh-agent 21:16:20 SSH_AUTH_SOCK=/tmp/ssh-0cpiAg0Gb3Ol/agent.34 21:16:20 SSH_AGENT_PID=40 21:16:20 Running ssh-add (command line suppressed) 21:16:20 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_5673684777480388172.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_5673684777480388172.key) 21:16:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:16:20 + git semver push 21:16:20 2022-05-25 21:16:20,855 [run_push] DEBUG push 21:16:20 2022-05-25 21:16:20,855 [execute] INFO git push origin semver 21:16:20 2022-05-25 21:16:20,856 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver, universal_newlines=False, shell=None, istream=None) 21:16:21 2022-05-25 21:16:21,567 [run_push] DEBUG push all version tags 21:16:21 2022-05-25 21:16:21,568 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:16:21 2022-05-25 21:16:21,568 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/gexfoundry_device-sdk-go_jakarta, universal_newlines=False, shell=None, istream=None) 21:16:22 2022-05-25 21:16:22,348 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver/jakarta 21:16:22 2.1.1-dev.3 [Pipeline] } 21:16:22 $ docker exec --env ******** --env ******** b387b43bcd36444ba8283872918ae97cf7c7de7befaca77de707ae7ad884f56d ssh-agent -k 21:16:22 unset SSH_AUTH_SOCK; 21:16:22 unset SSH_AGENT_PID; 21:16:22 echo Agent pid 40 killed; 21:16:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:16:22 + git semver [Pipeline] } 21:16:23 $ docker stop --time=1 b387b43bcd36444ba8283872918ae97cf7c7de7befaca77de707ae7ad884f56d 21:16:24 $ docker rm -f b387b43bcd36444ba8283872918ae97cf7c7de7befaca77de707ae7ad884f56d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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 21:16:25 + [ -d /w/workspace/gexfoundry_device-sdk-go_jakarta/archives ] 21:16:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 21:16:25 total 16 21:16:25 drwxr-xr-x 3 root root 4096 May 25 21:09 . 21:16:25 drwxrwxr-x 13 jenkins jenkins 4096 May 25 21:16 .. 21:16:25 drwxr-xr-x 2 root root 4096 May 25 21:09 cost 21:16:25 -rw-r--r-- 1 root root 85 May 25 21:09 cost.csv 21:16:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 21:16:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_jakarta/archives 21:16:25 total 16 21:16:25 drwxr-xr-x 3 jenkins jenkins 4096 May 25 21:09 . 21:16:25 drwxrwxr-x 13 jenkins jenkins 4096 May 25 21:16 .. 21:16:25 drwxr-xr-x 2 jenkins jenkins 4096 May 25 21:09 cost 21:16:25 -rw-r--r-- 1 jenkins jenkins 85 May 25 21:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:16:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:16:26 ---> package-listing.sh 21:16:26 ++ facter osfamily 21:16:26 ++ tr '[:upper:]' '[:lower:]' 21:16:26 + OS_FAMILY=debian 21:16:26 + workspace=/w/workspace/gexfoundry_device-sdk-go_jakarta 21:16:26 + START_PACKAGES=/tmp/packages_start.txt 21:16:26 + END_PACKAGES=/tmp/packages_end.txt 21:16:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:16:26 + PACKAGES=/tmp/packages_start.txt 21:16:26 + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' 21:16:26 + PACKAGES=/tmp/packages_end.txt 21:16:26 + case "${OS_FAMILY}" in 21:16:26 + dpkg -l 21:16:26 + grep '^ii' 21:16:26 + '[' -f /tmp/packages_start.txt ']' 21:16:26 + '[' -f /tmp/packages_end.txt ']' 21:16:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:16:26 + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' 21:16:26 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ 21:16:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ [Pipeline] echo 21:16:26 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_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:16:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:16:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:27 prd-ubuntu20.04-docker-8c-8g-78 does not seem to be running inside a container 21:16:27 $ 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_jakarta/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_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:16:27 $ docker top 8be8c5d6080db273a2de2bf5f3adef811c30079467ce4d6423e193c3fd4fe2de -eo pid,comm [Pipeline] { [Pipeline] sh 21:16:27 + touch /tmp/pre-build-complete [Pipeline] sh 21:16:28 + mkdir -p /var/log/sysstat [Pipeline] sh 21:16:28 + ls /var/log/sa-host 21:16:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:16:28 provisioning config files... 21:16:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config7154025837367563521tmp [Pipeline] { [Pipeline] echo 21:16:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:16:28 ---> create-netrc.sh [Pipeline] } 21:16:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:16:29 ---> python-tools-install.sh [Pipeline] echo 21:16:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:16:29 ---> sudo-logs.sh 21:16:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:16:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:16:29 ---> job-cost.sh 21:16:29 lf-activate-venv: SKIPPING 21:16:29 DEBUG: total: 0.2199999988079071 21:16:29 INFO: Retrieving Stack Cost... 21:16:30 INFO: Retrieving Pricing Info for: v3-standard-8 21:16:30 INFO: Archiving Costs [Pipeline] echo 21:16:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:16:30 ---> logs-deploy.sh 21:16:30 lf-activate-venv: SKIPPING 21:16:30 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/jakarta/6 21:16:30 INFO: archiving workspace using pattern(s): 21:16:31 Archives upload complete. 21:16:31 INFO: archiving logs to Nexus