Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4b1bca24a13eee0fbd94f91607ff04ee351fa403 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-ssh5137444056627708831.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-ssh8447295558303116080.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1964609253978139086.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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh680317007454991417.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh18086234775529588050.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-63529’ Running on prd-ubuntu20.04-docker-8c-8g-63539 in /w/workspace/edgexfoundry_device-sdk-go_main [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/edgexfoundry_device-sdk-go_main # 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 4b1bca24a13eee0fbd94f91607ff04ee351fa403 (main) > 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 4b1bca24a13eee0fbd94f91607ff04ee351fa403 # timeout=10 Commit message: "Merge pull request #1163 from lenny-intel/publish-swagger-levski" > git rev-list --no-walk 4f64ab83298cb604fe88218673904389f4010661 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:55:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:55:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:55:18 ========================================================= 23:55:18 EdgeX Global Pipelines Version Info 23:55:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:55:19 ------------------- 23:55:19 stable info: 23:55:19 ------------------- 23:55:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:55:19 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:55:19 Message: update stable to v1.0.230 23:55:20 ------------------- 23:55:20 experimental info: 23:55:20 ------------------- 23:55:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:55:20 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 23:55:20 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b1bca2 [Pipeline] echo 23:55:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:55:20 provisioning config files... 23:55:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1775767805423513728tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:21 ---> docker-login.sh 23:55:21 nexus3.edgexfoundry.org:10001 23:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:21 Configure a credential helper to remove this warning. See 23:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:21 23:55:21 Login Succeeded 23:55:21 nexus3.edgexfoundry.org:10002 23:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:21 Configure a credential helper to remove this warning. See 23:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:21 23:55:21 Login Succeeded 23:55:21 nexus3.edgexfoundry.org:10003 23:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:21 Configure a credential helper to remove this warning. See 23:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:21 23:55:21 Login Succeeded 23:55:21 nexus3.edgexfoundry.org:10004 23:55:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:21 Configure a credential helper to remove this warning. See 23:55:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:21 23:55:21 Login Succeeded 23:55:21 docker.io 23:55:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:22 Configure a credential helper to remove this warning. See 23:55:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:22 23:55:22 Login Succeeded 23:55:22 ---> docker-login.sh ends [Pipeline] } 23:55:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:55:22 + git rev-list -1 --merges 4b1bca24a13eee0fbd94f91607ff04ee351fa403~1..4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] echo 23:55:22 -----------> git rev-list -1 --merges 4b1bca24a13eee0fbd94f91607ff04ee351fa403~1..4b1bca24a13eee0fbd94f91607ff04ee351fa403 4b1bca24a13eee0fbd94f91607ff04ee351fa403 23:55:22 4b1bca24a13eee0fbd94f91607ff04ee351fa403 [false] [Pipeline] sh 23:55:23 + git log --format=format:%s -1 4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] echo 23:55:23 ========================================================= 23:55:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:55:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:55:23 + git log --format=format:%s -1 4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] echo 23:55:23 [semverPrep] GIT_COMMIT: 4b1bca24a13eee0fbd94f91607ff04ee351fa403, Commit Message: Merge pull request #1163 from lenny-intel/publish-swagger-levski [Pipeline] echo 23:55:23 [semverPrep] This is not a build commit. [Pipeline] sh 23:55:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:55:23 + grep -v github /etc/ssh/ssh_known_hosts 23:55:23 + [ -e /tmp/ssh_known_hosts ] 23:55:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:55:23 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:55:23 + sudo tee -a /etc/ssh/ssh_known_hosts 23:55:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:55:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:55:24 23:55:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:55:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:55:24 latest: Pulling from edgex-devops/py-git-semver 23:55:24 1fe172e4850f: Pulling fs layer 23:55:24 caf521ccaac6: Pulling fs layer 23:55:24 3ead6fa29328: Pulling fs layer 23:55:24 5c2a1cbceb83: Pulling fs layer 23:55:24 a8d5f1318db7: Pulling fs layer 23:55:24 c427282e49a2: Pulling fs layer 23:55:24 1827001aaf11: Pulling fs layer 23:55:24 0714d37db230: Pulling fs layer 23:55:24 ac28cf19c067: Pulling fs layer 23:55:24 ca983d60f3e2: Pulling fs layer 23:55:24 9f894cec8388: Pulling fs layer 23:55:24 ac28cf19c067: Waiting 23:55:24 ca983d60f3e2: Waiting 23:55:24 1827001aaf11: Waiting 23:55:24 9f894cec8388: Waiting 23:55:24 5c2a1cbceb83: Waiting 23:55:24 a8d5f1318db7: Waiting 23:55:24 0714d37db230: Waiting 23:55:24 c427282e49a2: Waiting 23:55:24 caf521ccaac6: Download complete 23:55:24 5c2a1cbceb83: Verifying Checksum 23:55:24 5c2a1cbceb83: Download complete 23:55:24 a8d5f1318db7: Verifying Checksum 23:55:24 a8d5f1318db7: Download complete 23:55:24 c427282e49a2: Verifying Checksum 23:55:24 c427282e49a2: Download complete 23:55:24 3ead6fa29328: Verifying Checksum 23:55:24 3ead6fa29328: Download complete 23:55:24 0714d37db230: Download complete 23:55:24 ac28cf19c067: Download complete 23:55:24 ca983d60f3e2: Verifying Checksum 23:55:24 ca983d60f3e2: Download complete 23:55:24 9f894cec8388: Download complete 23:55:24 1fe172e4850f: Verifying Checksum 23:55:25 1827001aaf11: Verifying Checksum 23:55:25 1827001aaf11: Download complete 23:55:26 1fe172e4850f: Pull complete 23:55:26 caf521ccaac6: Pull complete 23:55:27 3ead6fa29328: Pull complete 23:55:27 5c2a1cbceb83: Pull complete 23:55:27 a8d5f1318db7: Pull complete 23:55:27 c427282e49a2: Pull complete 23:55:29 1827001aaf11: Pull complete 23:55:29 0714d37db230: Pull complete 23:55:29 ac28cf19c067: Pull complete 23:55:29 ca983d60f3e2: Pull complete 23:55:29 9f894cec8388: Pull complete 23:55:29 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 23:55:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 23:55:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 23:55:29 prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container 23:55:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 23:55:31 $ docker top bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae -eo pid,comm 23:55:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:55:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:55:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:31 [ssh-agent] Looking for ssh-agent implementation... 23:55:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:31 $ docker exec bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae ssh-agent 23:55:32 SSH_AUTH_SOCK=/tmp/ssh-yVDrklhqsFdc/agent.33 23:55:32 SSH_AGENT_PID=39 23:55:32 Running ssh-add (command line suppressed) 23:55:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4930432200741956504.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4930432200741956504.key) 23:55:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:32 + git tag --points-at HEAD [Pipeline] } 23:55:32 $ docker exec --env ******** --env ******** bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae ssh-agent -k 23:55:32 unset SSH_AUTH_SOCK; 23:55:32 unset SSH_AGENT_PID; 23:55:32 echo Agent pid 39 killed; 23:55:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:55:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:55:32 [ssh-agent] Looking for ssh-agent implementation... 23:55:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:55:32 $ docker exec bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae ssh-agent 23:55:32 SSH_AUTH_SOCK=/tmp/ssh-zrCATczJtiR4/agent.73 23:55:32 SSH_AGENT_PID=79 23:55:32 Running ssh-add (command line suppressed) 23:55:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_439996381930140125.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_439996381930140125.key) 23:55:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:55:33 + git semver init 23:55:33 2022-05-12 23:55:33,606 [run_init] DEBUG init version:0.0.0 force:False 23:55:33 2022-05-12 23:55:33,608 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 23:55:33 2022-05-12 23:55:33,608 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 23:55:33 2022-05-12 23:55:33,608 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 23:55:34 2022-05-12 23:55:34,522 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 23:55:34 2022-05-12 23:55:34,523 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 23:55:34 2022-05-12 23:55:34,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:55:34 2022-05-12 23:55:34,523 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 23:55:34 2.2.1-dev.1 [Pipeline] } 23:55:34 $ docker exec --env ******** --env ******** bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae ssh-agent -k 23:55:34 unset SSH_AUTH_SOCK; 23:55:34 unset SSH_AGENT_PID; 23:55:34 echo Agent pid 79 killed; 23:55:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:55:35 + git semver [Pipeline] } 23:55:35 $ docker stop --time=1 bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae 23:55:36 $ docker rm -f bf468d89e0d0c47f4b1adcb553dea05188e5c2cfed19232a2e037a1901276aae [Pipeline] // withDockerContainer [Pipeline] sh 23:55:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:55:37 Stashed 1 file(s) [Pipeline] echo 23:55:37 [edgeXSemver]: initialized semver on version 2.2.1-dev.1 [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 23:55:37 provisioning config files... 23:55:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9015132776395111680tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:55:37 ---> docker-login.sh 23:55:37 nexus3.edgexfoundry.org:10001 23:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:37 Configure a credential helper to remove this warning. See 23:55:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:37 23:55:37 Login Succeeded 23:55:37 nexus3.edgexfoundry.org:10002 23:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:38 Configure a credential helper to remove this warning. See 23:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:38 23:55:38 Login Succeeded 23:55:38 nexus3.edgexfoundry.org:10003 23:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:38 Configure a credential helper to remove this warning. See 23:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:38 23:55:38 Login Succeeded 23:55:38 nexus3.edgexfoundry.org:10004 23:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:38 Configure a credential helper to remove this warning. See 23:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:38 23:55:38 Login Succeeded 23:55:38 docker.io 23:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:55:38 Configure a credential helper to remove this warning. See 23:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:55:38 23:55:38 Login Succeeded 23:55:38 ---> docker-login.sh ends [Pipeline] } 23:55:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:55:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:55:38 ========================================================= 23:55:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:55:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:55:39 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:55:39 Sending build context to Docker daemon 9.758MB 23:55:39 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:55:39 Step 2/11 : FROM ${BASE} AS builder 23:55:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:55:39 59bf1c3509f3: Pulling fs layer 23:55:39 666ba61612fd: Pulling fs layer 23:55:39 8ed8ca486205: Pulling fs layer 23:55:39 4fe6c5a15a65: Pulling fs layer 23:55:39 22a0e8bec74d: Pulling fs layer 23:55:39 ca2b28591e48: Pulling fs layer 23:55:39 a51346096db8: Pulling fs layer 23:55:39 daebc70d1ce1: Pulling fs layer 23:55:39 0e18a0eac166: Pulling fs layer 23:55:39 4fe6c5a15a65: Waiting 23:55:39 22a0e8bec74d: Waiting 23:55:39 ca2b28591e48: Waiting 23:55:39 0e18a0eac166: Waiting 23:55:39 a51346096db8: Waiting 23:55:39 8ed8ca486205: Verifying Checksum 23:55:39 8ed8ca486205: Download complete 23:55:39 22a0e8bec74d: Verifying Checksum 23:55:39 22a0e8bec74d: Download complete 23:55:39 ca2b28591e48: Download complete 23:55:39 a51346096db8: Download complete 23:55:39 59bf1c3509f3: Verifying Checksum 23:55:39 59bf1c3509f3: Download complete 23:55:39 daebc70d1ce1: Verifying Checksum 23:55:39 daebc70d1ce1: Download complete 23:55:39 59bf1c3509f3: Pull complete 23:55:39 666ba61612fd: Pull complete 23:55:39 8ed8ca486205: Pull complete 23:55:40 0e18a0eac166: Verifying Checksum 23:55:40 0e18a0eac166: Download complete 23:55:40 4fe6c5a15a65: Verifying Checksum 23:55:40 4fe6c5a15a65: Download complete 23:55:44 4fe6c5a15a65: Pull complete 23:55:44 22a0e8bec74d: Pull complete 23:55:44 ca2b28591e48: Pull complete 23:55:44 a51346096db8: Pull complete 23:55:44 daebc70d1ce1: Pull complete 23:55:47 0e18a0eac166: Pull complete 23:55:47 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 23:55:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:55:47 ---> f018257e8ee9 23:55:47 Step 3/11 : ARG MAKE=make build 23:55:49 ---> Running in 5323db09b1d8 23:55:49 Removing intermediate container 5323db09b1d8 23:55:49 ---> a5d5c0454c1c 23:55:49 Step 4/11 : WORKDIR /device-sdk-go 23:55:49 ---> Running in 217c7cf6b4c5 23:55:49 Removing intermediate container 217c7cf6b4c5 23:55:49 ---> f5f901ee5ea4 23:55:49 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:55:49 ---> Running in 457f41d73e1d 23:55:49 Removing intermediate container 457f41d73e1d 23:55:49 ---> a005ef10b4ed 23:55:49 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:55:50 ---> Running in cc6826e84414 23:55:51 Removing intermediate container cc6826e84414 23:55:51 ---> 6317dc8c3ad5 23:55:51 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:55:51 ---> Running in 2ebb2b1dea42 23:55:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:55:52 Still waiting to schedule task 23:55:52 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-63530’ 23:55:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:55:52 OK: 221 MiB in 52 packages 23:55:53 Removing intermediate container 2ebb2b1dea42 23:55:53 ---> 8c16c3507ee9 23:55:53 Step 8/11 : COPY go.mod vendor* ./ 23:55:53 ---> 66282ad6bd51 23:55:53 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:55:53 ---> Running in 56c970cce05e 23:56:08 Removing intermediate container 56c970cce05e 23:56:08 ---> 2a651247b7fd 23:56:08 Step 10/11 : COPY . . 23:56:08 ---> ac18e7cbfbdf 23:56:08 Step 11/11 : RUN ${MAKE} 23:56:08 ---> Running in bb7ac9084c7d 23:56:08 noop 23:56:08 Removing intermediate container bb7ac9084c7d 23:56:08 ---> 9931e071302d 23:56:08 Successfully built 9931e071302d 23:56:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:56:08 + docker inspect -f . ci-base-image-x86_64 23:56:08 . [Pipeline] withDockerContainer 23:56:08 prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container 23:56:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:56:09 $ docker top f722c2679ce4f798e57974796fcb3dc5e36260aa5af6ad92f9ae989addfe336b -eo pid,comm [Pipeline] { [Pipeline] sh 23:56:09 + go version 23:56:09 go version go1.17.6 linux/amd64 [Pipeline] } 23:56:09 $ docker stop --time=1 f722c2679ce4f798e57974796fcb3dc5e36260aa5af6ad92f9ae989addfe336b 23:56:10 $ docker rm -f f722c2679ce4f798e57974796fcb3dc5e36260aa5af6ad92f9ae989addfe336b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:56:11 + docker inspect -f . ci-base-image-x86_64 23:56:11 . [Pipeline] withDockerContainer 23:56:11 prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container 23:56:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 23:56:11 $ docker top b6eeccd0c5bccd0af91c3427fb27565291a0608d8965a509e0af9c116f9b4f37 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:56:12 + make test 23:56:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 23:56:17 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:56:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:56:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:56:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:56:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.101s coverage: 23.3% of statements 23:56:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:56:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements 23:56:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements 23:56:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.066s coverage: 10.8% of statements 23:56:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.123s coverage: 60.0% of statements 23:56:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:56:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:56:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 34.8% of statements 23:56:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:56:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.064s coverage: 86.5% of statements 23:56:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:56:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:56:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.094s coverage: 65.1% of statements 23:56:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.827s coverage: 89.2% of statements 23:56:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:56:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 23:56:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:56:44 GO111MODULE=on go vet ./... 23:56:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:56:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:56:48 ./bin/test-attribution-txt.sh [Pipeline] echo 23:56:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:56:48 $ docker stop --time=1 b6eeccd0c5bccd0af91c3427fb27565291a0608d8965a509e0af9c116f9b4f37 23:56:51 $ docker rm -f b6eeccd0c5bccd0af91c3427fb27565291a0608d8965a509e0af9c116f9b4f37 [Pipeline] // withDockerContainer [Pipeline] sh 23:56:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:56:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:56:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:56:52 + ls -al . 23:56:52 total 300 23:56:52 drwxrwxr-x 11 jenkins jenkins 4096 May 12 23:56 . 23:56:52 drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:55 .. 23:56:52 -rw-rw-r-- 1 jenkins jenkins 140 May 12 23:55 .dockerignore 23:56:52 drwxrwxr-x 8 jenkins jenkins 4096 May 12 23:55 .git 23:56:52 drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:55 .github 23:56:52 -rw-rw-r-- 1 jenkins jenkins 131 May 12 23:55 .gitignore 23:56:52 -rw-rw-r-- 1 jenkins jenkins 42 May 12 23:55 .golangci.yml 23:56:52 drwxr-xr-x 3 jenkins jenkins 4096 May 12 23:55 .semver 23:56:52 -rw-rw-r-- 1 jenkins jenkins 29536 May 12 23:55 CHANGELOG.md 23:56:52 -rw-rw-r-- 1 jenkins jenkins 677 May 12 23:55 GOVERNANCE.md 23:56:52 -rw-rw-r-- 1 jenkins jenkins 880 May 12 23:55 Jenkinsfile 23:56:52 -rw-rw-r-- 1 jenkins jenkins 11341 May 12 23:55 LICENSE 23:56:52 -rw-rw-r-- 1 jenkins jenkins 2015 May 12 23:55 Makefile 23:56:52 -rw-rw-r-- 1 jenkins jenkins 619 May 12 23:55 OWNERS.md 23:56:52 -rw-rw-r-- 1 jenkins jenkins 4881 May 12 23:55 README.md 23:56:52 -rw-rw-r-- 1 jenkins jenkins 11 May 12 23:55 VERSION 23:56:52 drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:55 bin 23:56:52 -rw-r--r-- 1 jenkins jenkins 130739 May 12 23:56 coverage.out 23:56:52 drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:55 example 23:56:52 -rw-rw-r-- 1 jenkins jenkins 3159 May 12 23:55 go.mod 23:56:52 -rw-rw-r-- 1 jenkins jenkins 34529 May 12 23:55 go.sum 23:56:52 drwxrwxr-x 15 jenkins jenkins 4096 May 12 23:55 internal 23:56:52 drwxrwxr-x 3 jenkins jenkins 4096 May 12 23:55 openapi 23:56:52 drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:55 pkg 23:56:52 drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:55 snap 23:56:52 -rw-rw-r-- 1 jenkins jenkins 222 May 12 23:55 version.go [Pipeline] isUnix [Pipeline] sh 23:56:52 + 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=4b1bca24a13eee0fbd94f91607ff04ee351fa403 --label arch=amd64 --label version=2.2.1-dev.1 . 23:56:52 Sending build context to Docker daemon 9.89MB 23:56:52 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:56:52 Step 2/25 : FROM ${BASE} AS builder 23:56:52 ---> 9931e071302d 23:56:52 Step 3/25 : ARG MAKE=make build 23:56:53 ---> Running in ef1b7760a951 23:56:53 Removing intermediate container ef1b7760a951 23:56:53 ---> 8b2c50897b43 23:56:53 Step 4/25 : WORKDIR /device-sdk-go 23:56:53 ---> Running in 5ba45cd5e4bb 23:56:53 Removing intermediate container 5ba45cd5e4bb 23:56:53 ---> 0d9bee79fc99 23:56:53 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:56:53 ---> Running in 5bd521929c03 23:56:53 Removing intermediate container 5bd521929c03 23:56:53 ---> f0dd551f2510 23:56:53 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:56:53 ---> Running in d3d1072995c3 23:56:54 Removing intermediate container d3d1072995c3 23:56:54 ---> c16f953589d4 23:56:54 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:56:54 ---> Running in f5fa2ab5f11b 23:56:54 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:56:55 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:56:55 OK: 221 MiB in 52 packages 23:56:55 Removing intermediate container f5fa2ab5f11b 23:56:55 ---> ad9b4ee2cebd 23:56:55 Step 8/25 : COPY go.mod vendor* ./ 23:56:55 ---> d5cab29620b0 23:56:55 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:56:55 ---> Running in 556003e2ed46 23:56:56 Removing intermediate container 556003e2ed46 23:56:56 ---> f6e18f7e77d1 23:56:56 Step 10/25 : COPY . . 23:56:57 ---> db7bdf2dd724 23:56:57 Step 11/25 : RUN ${MAKE} 23:56:57 ---> Running in ad845c156f12 23:56:57 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:57:15 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:57:16 Removing intermediate container ad845c156f12 23:57:16 ---> d798286e8cdb 23:57:16 Step 12/25 : FROM alpine:3.14 23:57:16 3.14: Pulling from library/alpine 23:57:16 8663204ce13b: Pulling fs layer 23:57:16 8663204ce13b: Download complete 23:57:17 8663204ce13b: Pull complete 23:57:17 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 23:57:17 Status: Downloaded newer image for alpine:3.14 23:57:17 ---> e04c818066af 23:57:17 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:57:17 ---> Running in 0988bc698a51 23:57:17 Removing intermediate container 0988bc698a51 23:57:17 ---> 00da7251ff1b 23:57:17 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:57:17 ---> Running in 7e560fe63539 23:57:17 Removing intermediate container 7e560fe63539 23:57:17 ---> 7c9da5288bf3 23:57:17 Step 15/25 : RUN apk add --update --no-cache zeromq 23:57:17 ---> Running in 85911f791ff5 23:57:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:57:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:57:19 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:57:19 (2/5) Installing libsodium (1.0.18-r0) 23:57:19 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:57:19 (4/5) Installing libzmq (4.3.4-r0) 23:57:19 (5/5) Installing zeromq (4.3.4-r0) 23:57:19 Executing busybox-1.33.1-r7.trigger 23:57:19 OK: 8 MiB in 19 packages 23:57:20 Removing intermediate container 85911f791ff5 23:57:20 ---> 4c5f9563e370 23:57:20 Step 16/25 : WORKDIR / 23:57:20 ---> Running in 33d0bd45af95 23:57:20 Removing intermediate container 33d0bd45af95 23:57:20 ---> 62df90a8e4b8 23:57:20 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:57:20 ---> 39fee40c8978 23:57:20 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:57:21 ---> df60039dea99 23:57:21 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:57:21 ---> ffa61b1f84a0 23:57:21 Step 20/25 : EXPOSE 59999 23:57:21 ---> Running in da058c68de78 23:57:21 Removing intermediate container da058c68de78 23:57:21 ---> 8d95494d3725 23:57:21 Step 21/25 : ENTRYPOINT ["/device-simple"] 23:57:21 ---> Running in eca0f9e16e48 23:57:21 Removing intermediate container eca0f9e16e48 23:57:21 ---> 881a0ce93d14 23:57:21 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:57:21 ---> Running in 31e01ae2d6ff 23:57:21 Removing intermediate container 31e01ae2d6ff 23:57:21 ---> 6deeac111f5b 23:57:21 Step 23/25 : LABEL arch=amd64 23:57:22 ---> Running in 7a78c1097ce3 23:57:22 Removing intermediate container 7a78c1097ce3 23:57:22 ---> e5499e02eee1 23:57:22 Step 24/25 : LABEL git_sha=4b1bca24a13eee0fbd94f91607ff04ee351fa403 23:57:22 ---> Running in a89a3e425216 23:57:22 Removing intermediate container a89a3e425216 23:57:22 ---> 42c40d18ff3d 23:57:22 Step 25/25 : LABEL version=2.2.1-dev.1 23:57:22 ---> Running in 14692b04ae30 23:57:22 Removing intermediate container 14692b04ae30 23:57:22 ---> becf25ecbdcd 23:57:22 [Warning] One or more build-args [ARCH] were not consumed 23:57:22 Successfully built becf25ecbdcd 23:57:22 Successfully tagged device-sdk-simple:latest [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] sh 23:57:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:57:22 23:57:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:57:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:57:22 latest: Pulling from edgex-lftools-log-publisher 23:57:22 5eb5b503b376: Pulling fs layer 23:57:22 5c69ac0246d0: Pulling fs layer 23:57:22 ec43610c2a17: Pulling fs layer 23:57:22 3a2ae6a8a46f: Pulling fs layer 23:57:22 33b1e0a273af: Pulling fs layer 23:57:22 3a2ae6a8a46f: Waiting 23:57:22 5d3b04190fa2: Pulling fs layer 23:57:22 2f39f015ded8: Pulling fs layer 23:57:22 33b1e0a273af: Waiting 23:57:22 2f39f015ded8: Waiting 23:57:22 5d3b04190fa2: Waiting 23:57:22 5c69ac0246d0: Verifying Checksum 23:57:22 5c69ac0246d0: Download complete 23:57:22 3a2ae6a8a46f: Download complete 23:57:23 33b1e0a273af: Verifying Checksum 23:57:23 33b1e0a273af: Download complete 23:57:23 ec43610c2a17: Download complete 23:57:23 5d3b04190fa2: Verifying Checksum 23:57:23 5d3b04190fa2: Download complete 23:57:23 5eb5b503b376: Verifying Checksum 23:57:23 5eb5b503b376: Download complete 23:57:23 2f39f015ded8: Download complete 23:57:24 5eb5b503b376: Pull complete 23:57:24 5c69ac0246d0: Pull complete 23:57:25 ec43610c2a17: Pull complete 23:57:25 3a2ae6a8a46f: Pull complete 23:57:25 33b1e0a273af: Pull complete 23:57:25 5d3b04190fa2: Pull complete 23:57:29 2f39f015ded8: Pull complete 23:57:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:57:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:57:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:57:29 prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container 23:57:29 $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:57:31 $ docker top deb0345943cffdc84b37c09581a6297e1760cd6515060391052265b2de9ab67b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:57:32 ---> job-cost.sh 23:57:32 lf-activate-venv: SKIPPING 23:57:32 INFO: No Stack... 23:57:32 INFO: Retrieving Pricing Info for: v3-standard-8 23:57:33 INFO: Archiving Costs [Pipeline] sh 23:57:33 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 23:57:33 + cut -d, -f6 [Pipeline] lock 23:57:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] 23:57:33 Resource [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] did not exist. Created. 23:57:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:57:33 + echo total: 0.2199999988079071 [Pipeline] stash 23:57:33 Stashed 1 file(s) [Pipeline] } 23:57:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 23:57:33 $ docker stop --time=1 deb0345943cffdc84b37c09581a6297e1760cd6515060391052265b2de9ab67b 23:57:34 $ docker rm -f deb0345943cffdc84b37c09581a6297e1760cd6515060391052265b2de9ab67b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:59:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63541 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 23:59:12 Running in /w/workspace/device-sdk-go/76 [Pipeline] { [Pipeline] checkout 23:59:12 The recommended git tool is: git 23:59:19 using credential edgex-jenkins-ssh 23:59:19 Cloning the remote Git repository 23:59:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:59:19 > git init /w/workspace/device-sdk-go/76 # timeout=10 23:59:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:59:19 > git --version # timeout=10 23:59:19 > git --version # 'git version 2.25.1' 23:59:19 using GIT_SSH to set credentials SSH Credentials for GitHub 23:59:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:21 Avoid second fetch 23:59:21 Checking out Revision 4b1bca24a13eee0fbd94f91607ff04ee351fa403 (main) 23:59:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:59:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:59:21 > git config core.sparsecheckout # timeout=10 23:59:21 > git checkout -f 4b1bca24a13eee0fbd94f91607ff04ee351fa403 # timeout=10 23:59:25 Commit message: "Merge pull request #1163 from lenny-intel/publish-swagger-levski" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:59:26 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:59:26 % Total % Received % Xferd Average Speed Time Time Time Current 23:59:26 Dload Upload Total Spent Left Speed 23:59:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh 23:59:27 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:59:27 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 23:59:27 23:59:27 { 23:59:27 "registry-mirrors": [ 23:59:27 "https://nexus3.edgexfoundry.org:10001" 23:59:27 ], 23:59:27 "bip": "10.250.0.254/24", 23:59:27 "hosts": [ 23:59:27 "tcp://0.0.0.0:5555", 23:59:27 "unix:///var/run/docker.sock" 23:59:27 ], 23:59:27 "mtu": 1458, 23:59:27 "selinux-enabled": true, 23:59:27 "seccomp-profile": "/etc/docker/seccomp.json" 23:59:27 } [Pipeline] sh 23:59:27 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:59:28 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:59:46 provisioning config files... 23:59:46 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/76@tmp/config843486982614671890tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:59:47 ---> docker-login.sh 23:59:47 nexus3.edgexfoundry.org:10001 23:59:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:47 Configure a credential helper to remove this warning. See 23:59:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:47 23:59:47 Login Succeeded 23:59:47 nexus3.edgexfoundry.org:10002 23:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:48 Configure a credential helper to remove this warning. See 23:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:48 23:59:48 Login Succeeded 23:59:48 nexus3.edgexfoundry.org:10003 23:59:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:48 Configure a credential helper to remove this warning. See 23:59:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:48 23:59:48 Login Succeeded 23:59:48 nexus3.edgexfoundry.org:10004 23:59:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:49 Configure a credential helper to remove this warning. See 23:59:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:49 23:59:49 Login Succeeded 23:59:49 docker.io 23:59:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:59:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:59:50 Configure a credential helper to remove this warning. See 23:59:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:59:50 23:59:50 Login Succeeded 23:59:50 ---> docker-login.sh ends [Pipeline] } 23:59:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:59:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:59:50 ========================================================= 23:59:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:59:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:59:51 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 23:59:51 Sending build context to Docker daemon 5.257MB 23:59:51 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:59:51 Step 2/11 : FROM ${BASE} AS builder 23:59:51 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:59:51 9b3977197b4f: Pulling fs layer 23:59:51 1a89e8eeedd5: Pulling fs layer 23:59:51 94645a83ff95: Pulling fs layer 23:59:51 3f3a8bcf1eab: Pulling fs layer 23:59:51 0c92f367c5e7: Pulling fs layer 23:59:51 3096ccb668a1: Pulling fs layer 23:59:51 3f3a8bcf1eab: Waiting 23:59:51 0c92f367c5e7: Waiting 23:59:51 3096ccb668a1: Waiting 23:59:51 e8cf19c19ddd: Pulling fs layer 23:59:51 a4caa8a26152: Pulling fs layer 23:59:51 e8cf19c19ddd: Waiting 23:59:51 a4caa8a26152: Waiting 23:59:51 94645a83ff95: Verifying Checksum 23:59:51 94645a83ff95: Download complete 23:59:51 1a89e8eeedd5: Verifying Checksum 23:59:51 1a89e8eeedd5: Download complete 23:59:52 0c92f367c5e7: Verifying Checksum 23:59:52 0c92f367c5e7: Download complete 23:59:52 9b3977197b4f: Download complete 23:59:52 3096ccb668a1: Verifying Checksum 23:59:52 3096ccb668a1: Download complete 23:59:52 e8cf19c19ddd: Verifying Checksum 23:59:52 e8cf19c19ddd: Download complete 23:59:52 9b3977197b4f: Pull complete 23:59:53 1a89e8eeedd5: Pull complete 23:59:53 94645a83ff95: Pull complete 23:59:54 a4caa8a26152: Verifying Checksum 23:59:54 a4caa8a26152: Download complete 23:59:54 3f3a8bcf1eab: Download complete 00:00:07 3f3a8bcf1eab: Pull complete 00:00:07 0c92f367c5e7: Pull complete 00:00:07 3096ccb668a1: Pull complete 00:00:07 e8cf19c19ddd: Pull complete 00:00:14 a4caa8a26152: Pull complete 00:00:14 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 00:00:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 00:00:14 ---> 725f1c02e7f9 00:00:14 Step 3/11 : ARG MAKE=make build 00:00:15 ---> Running in fc87649f0bcf 00:00:15 Removing intermediate container fc87649f0bcf 00:00:15 ---> 9f9de03e4a67 00:00:15 Step 4/11 : WORKDIR /device-sdk-go 00:00:15 ---> Running in 5c1d0aae4436 00:00:16 Removing intermediate container 5c1d0aae4436 00:00:16 ---> 0cdd73ed0d8e 00:00:16 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:00:16 ---> Running in 80a13f53b538 00:00:16 Removing intermediate container 80a13f53b538 00:00:16 ---> 99be3e333bea 00:00:16 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:00:16 ---> Running in ed9dbae2fac9 00:00:18 Removing intermediate container ed9dbae2fac9 00:00:18 ---> 12e5135b6b9d 00:00:18 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 00:00:18 ---> Running in 373e03029635 00:00:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:00:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:00:22 OK: 220 MiB in 52 packages 00:00:23 Removing intermediate container 373e03029635 00:00:23 ---> c208ccabab84 00:00:23 Step 8/11 : COPY go.mod vendor* ./ 00:00:24 ---> 2efacaa648fc 00:00:24 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:00:24 ---> Running in e28b3829751f 00:01:11 Removing intermediate container e28b3829751f 00:01:11 ---> b844a7f90624 00:01:11 Step 10/11 : COPY . . 00:01:12 ---> 59fa4c5c620d 00:01:12 Step 11/11 : RUN ${MAKE} 00:01:12 ---> Running in 1134f140b5e1 00:01:13 noop 00:01:14 Removing intermediate container 1134f140b5e1 00:01:14 ---> 62aea7cafd27 00:01:14 Successfully built 62aea7cafd27 00:01:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 00:01:14 + docker inspect -f . ci-base-image-arm64 00:01:14 . [Pipeline] withDockerContainer 00:01:14 prd-ubuntu20.04-docker-arm64-4c-16g-63541 does not seem to be running inside a container 00:01:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/76 -v /w/workspace/device-sdk-go/76:/w/workspace/device-sdk-go/76:rw,z -v /w/workspace/device-sdk-go/76@tmp:/w/workspace/device-sdk-go/76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:01:16 $ docker top c42acd5fe80599787aedbf7468670e565a537b98a920b9ab77c1ae8a8d51bcc6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:01:17 + go version 00:01:17 go version go1.17.6 linux/arm64 [Pipeline] } 00:01:17 $ docker stop --time=1 c42acd5fe80599787aedbf7468670e565a537b98a920b9ab77c1ae8a8d51bcc6 00:01:19 $ docker rm -f c42acd5fe80599787aedbf7468670e565a537b98a920b9ab77c1ae8a8d51bcc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:01:19 + docker inspect -f . ci-base-image-arm64 00:01:19 . [Pipeline] withDockerContainer 00:01:19 prd-ubuntu20.04-docker-arm64-4c-16g-63541 does not seem to be running inside a container 00:01:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/76 -v /w/workspace/device-sdk-go/76:/w/workspace/device-sdk-go/76:rw,z -v /w/workspace/device-sdk-go/76@tmp:/w/workspace/device-sdk-go/76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 00:01:21 $ docker top 1bd1a9622d695240c08528e8145b150addf603c12c9e90f989cbb912ad0be29a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 00:01:22 + make test 00:01:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 00:01:54 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 00:03:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 00:03:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 00:03:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 00:03:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.373s coverage: 23.3% of statements 00:03:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 00:03:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.256s coverage: 27.6% of statements 00:03:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.358s coverage: 78.9% of statements 00:03:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.226s coverage: 10.8% of statements 00:04:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.394s coverage: 60.0% of statements 00:04:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 00:04:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 00:04:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.454s coverage: 34.8% of statements 00:04:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 00:04:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.333s coverage: 86.5% of statements 00:04:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 00:04:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 00:04:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.446s coverage: 65.1% of statements 00:04:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.395s coverage: 89.2% of statements 00:04:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 00:04:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.252s coverage: 4.7% of statements 00:04:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 00:04:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:04:13 GO111MODULE=on go vet ./... 00:05:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:05:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:05:50 ./bin/test-attribution-txt.sh [Pipeline] echo 00:05:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:05:50 $ docker stop --time=1 1bd1a9622d695240c08528e8145b150addf603c12c9e90f989cbb912ad0be29a 00:05:51 $ docker rm -f 1bd1a9622d695240c08528e8145b150addf603c12c9e90f989cbb912ad0be29a [Pipeline] // withDockerContainer [Pipeline] sh 00:05:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:05:53 Warning: overwriting stash ‘coverage-report’ 00:05:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:05:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:05:54 + ls -al . 00:05:54 total 296 00:05:54 drwxrwxr-x 10 jenkins jenkins 4096 May 13 00:05 . 00:05:54 drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:59 .. 00:05:54 -rw-rw-r-- 1 jenkins jenkins 140 May 12 23:59 .dockerignore 00:05:54 drwxrwxr-x 8 jenkins jenkins 4096 May 12 23:59 .git 00:05:54 drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:59 .github 00:05:54 -rw-rw-r-- 1 jenkins jenkins 131 May 12 23:59 .gitignore 00:05:54 -rw-rw-r-- 1 jenkins jenkins 42 May 12 23:59 .golangci.yml 00:05:54 -rw-rw-r-- 1 jenkins jenkins 29536 May 12 23:59 CHANGELOG.md 00:05:54 -rw-rw-r-- 1 jenkins jenkins 677 May 12 23:59 GOVERNANCE.md 00:05:54 -rw-rw-r-- 1 jenkins jenkins 880 May 12 23:59 Jenkinsfile 00:05:54 -rw-rw-r-- 1 jenkins jenkins 11341 May 12 23:59 LICENSE 00:05:54 -rw-rw-r-- 1 jenkins jenkins 2015 May 12 23:59 Makefile 00:05:54 -rw-rw-r-- 1 jenkins jenkins 619 May 12 23:59 OWNERS.md 00:05:54 -rw-rw-r-- 1 jenkins jenkins 4881 May 12 23:59 README.md 00:05:54 -rw-rw-r-- 1 jenkins jenkins 11 May 12 23:55 VERSION 00:05:54 drwxrwxr-x 2 jenkins jenkins 4096 May 12 23:59 bin 00:05:54 -rw-r--r-- 1 jenkins jenkins 130739 May 13 00:04 coverage.out 00:05:54 drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:59 example 00:05:54 -rw-rw-r-- 1 jenkins jenkins 3159 May 12 23:59 go.mod 00:05:54 -rw-rw-r-- 1 jenkins jenkins 34529 May 12 23:59 go.sum 00:05:54 drwxrwxr-x 15 jenkins jenkins 4096 May 12 23:59 internal 00:05:54 drwxrwxr-x 3 jenkins jenkins 4096 May 12 23:59 openapi 00:05:54 drwxrwxr-x 5 jenkins jenkins 4096 May 12 23:59 pkg 00:05:54 drwxrwxr-x 4 jenkins jenkins 4096 May 12 23:59 snap 00:05:54 -rw-rw-r-- 1 jenkins jenkins 222 May 12 23:59 version.go [Pipeline] isUnix [Pipeline] sh 00:05: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=4b1bca24a13eee0fbd94f91607ff04ee351fa403 --label arch=arm64 --label version=2.2.1-dev.1 . 00:05:55 Sending build context to Docker daemon 5.388MB 00:05:55 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 00:05:55 Step 2/25 : FROM ${BASE} AS builder 00:05:55 ---> 62aea7cafd27 00:05:55 Step 3/25 : ARG MAKE=make build 00:05:55 ---> Running in 1c4604160def 00:05:55 Removing intermediate container 1c4604160def 00:05:55 ---> 276f1abd430c 00:05:55 Step 4/25 : WORKDIR /device-sdk-go 00:05:55 ---> Running in 6ae310f600de 00:05:56 Removing intermediate container 6ae310f600de 00:05:56 ---> 7a5fb4a9a0f9 00:05:56 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:05:56 ---> Running in 0fa9bc7c11f4 00:05:56 Removing intermediate container 0fa9bc7c11f4 00:05:56 ---> 6a1d2c0cfd8e 00:05:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:05:56 ---> Running in 153048830c31 00:05:58 Removing intermediate container 153048830c31 00:05:58 ---> 0cb21f15934d 00:05:58 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 00:05:58 ---> Running in 111155fe2cbe 00:05:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 00:06:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 00:06:01 OK: 220 MiB in 52 packages 00:06:02 Removing intermediate container 111155fe2cbe 00:06:02 ---> 7fa6da51e6e1 00:06:02 Step 8/25 : COPY go.mod vendor* ./ 00:06:02 ---> 6fb02d025f78 00:06:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:06:02 ---> Running in ac48a6b76bbf 00:06:04 Removing intermediate container ac48a6b76bbf 00:06:04 ---> 482e0a8aac61 00:06:04 Step 10/25 : COPY . . 00:06:06 ---> 73ca6351cd79 00:06:06 Step 11/25 : RUN ${MAKE} 00:06:06 ---> Running in 0886ff73af3e 00:06:07 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.1-dev.1" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:08:14 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 00:08:19 Removing intermediate container 0886ff73af3e 00:08:19 ---> ffe0949d4e26 00:08:19 Step 12/25 : FROM alpine:3.14 00:08:20 3.14: Pulling from library/alpine 00:08:20 455c02918c45: Pulling fs layer 00:08:20 455c02918c45: Verifying Checksum 00:08:20 455c02918c45: Download complete 00:08:21 455c02918c45: Pull complete 00:08:21 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 00:08:21 Status: Downloaded newer image for alpine:3.14 00:08:21 ---> ac73e934f311 00:08:21 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 00:08:21 ---> Running in 5e62fdea6dc9 00:08:21 Removing intermediate container 5e62fdea6dc9 00:08:21 ---> 6bf8c98109d5 00:08:21 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 00:08:21 ---> Running in b2a3a293b84d 00:08:23 Removing intermediate container b2a3a293b84d 00:08:23 ---> 516d8736f0a4 00:08:23 Step 15/25 : RUN apk add --update --no-cache zeromq 00:08:23 ---> Running in 03da70228e89 00:08:24 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 00:08:25 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 00:08:26 (1/5) Installing libgcc (10.3.1_git20210424-r2) 00:08:26 (2/5) Installing libsodium (1.0.18-r0) 00:08:26 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 00:08:26 (4/5) Installing libzmq (4.3.4-r0) 00:08:26 (5/5) Installing zeromq (4.3.4-r0) 00:08:26 Executing busybox-1.33.1-r7.trigger 00:08:26 OK: 8 MiB in 19 packages 00:08:27 Removing intermediate container 03da70228e89 00:08:27 ---> dd980bebe342 00:08:27 Step 16/25 : WORKDIR / 00:08:27 ---> Running in ec12cc1c272f 00:08:28 Removing intermediate container ec12cc1c272f 00:08:28 ---> a53f42502beb 00:08:28 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:08:28 ---> 60fa96e90f39 00:08:28 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:08:30 ---> 847e5a7e864d 00:08:30 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:08:30 ---> 2a3509944677 00:08:30 Step 20/25 : EXPOSE 59999 00:08:31 ---> Running in 3d682f07f779 00:08:31 Removing intermediate container 3d682f07f779 00:08:31 ---> 8ff4ae8dec12 00:08:31 Step 21/25 : ENTRYPOINT ["/device-simple"] 00:08:31 ---> Running in fe728bd26705 00:08:31 Removing intermediate container fe728bd26705 00:08:31 ---> 03b8cc9fc837 00:08:31 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 00:08:31 ---> Running in 1ce6cf5c2955 00:08:32 Removing intermediate container 1ce6cf5c2955 00:08:32 ---> 6e4d7dd74a65 00:08:32 Step 23/25 : LABEL arch=arm64 00:08:32 ---> Running in f7a5d72b35a3 00:08:32 Removing intermediate container f7a5d72b35a3 00:08:32 ---> bae877661890 00:08:32 Step 24/25 : LABEL git_sha=4b1bca24a13eee0fbd94f91607ff04ee351fa403 00:08:32 ---> Running in be95445618fc 00:08:32 Removing intermediate container be95445618fc 00:08:32 ---> 1a5e2a5fb1fe 00:08:32 Step 25/25 : LABEL version=2.2.1-dev.1 00:08:33 ---> Running in ef134eb29fb1 00:08:33 Removing intermediate container ef134eb29fb1 00:08:33 ---> 6a7fab23a9df 00:08:33 [Warning] One or more build-args [ARCH] were not consumed 00:08:33 Successfully built 6a7fab23a9df 00:08:33 Successfully tagged device-sdk-simple-arm64:latest [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] sh 00:08:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:08:33 00:08:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 00:08:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:08:34 arm64: Pulling from edgex-lftools-log-publisher 00:08:34 8998bd30e6a1: Pulling fs layer 00:08:34 04944245beec: Pulling fs layer 00:08:34 699f458cf7ca: Pulling fs layer 00:08:34 765212b225bb: Pulling fs layer 00:08:34 f23df028b6ca: Pulling fs layer 00:08:34 d65c8cfc05b1: Pulling fs layer 00:08:34 2437ff75d9bd: Pulling fs layer 00:08:34 765212b225bb: Waiting 00:08:34 f23df028b6ca: Waiting 00:08:34 d65c8cfc05b1: Waiting 00:08:34 2437ff75d9bd: Waiting 00:08:34 04944245beec: Download complete 00:08:34 765212b225bb: Verifying Checksum 00:08:34 765212b225bb: Download complete 00:08:34 f23df028b6ca: Verifying Checksum 00:08:34 f23df028b6ca: Download complete 00:08:34 d65c8cfc05b1: Verifying Checksum 00:08:34 d65c8cfc05b1: Download complete 00:08:34 699f458cf7ca: Verifying Checksum 00:08:34 699f458cf7ca: Download complete 00:08:34 8998bd30e6a1: Verifying Checksum 00:08:34 8998bd30e6a1: Download complete 00:08:37 2437ff75d9bd: Verifying Checksum 00:08:37 2437ff75d9bd: Download complete 00:08:39 8998bd30e6a1: Pull complete 00:08:40 04944245beec: Pull complete 00:08:41 699f458cf7ca: Pull complete 00:08:41 765212b225bb: Pull complete 00:08:42 f23df028b6ca: Pull complete 00:08:43 d65c8cfc05b1: Pull complete 00:08:58 2437ff75d9bd: Pull complete 00:08:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:08:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:08:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 00:08:58 prd-ubuntu20.04-docker-arm64-4c-16g-63541 does not seem to be running inside a container 00:08:58 $ 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/76 -v /w/workspace/device-sdk-go/76:/w/workspace/device-sdk-go/76:rw,z -v /w/workspace/device-sdk-go/76@tmp:/w/workspace/device-sdk-go/76@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:09:01 $ docker top d5b3fde55315fdc3588e5e3136499c77ed1766ff25efc8bf9dc5a778c64f5b4d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:02 ---> job-cost.sh 00:09:02 lf-activate-venv: SKIPPING 00:09:02 INFO: No Stack... 00:09:02 INFO: Retrieving Pricing Info for: v3-standard-4 00:09:03 INFO: Archiving Costs [Pipeline] sh 00:09:04 + + cutcat -d, -f6 00:09:04 /w/workspace/device-sdk-go/76/archives/cost.csv [Pipeline] lock 00:09:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] 00:09:04 Resource [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] did not exist. Created. 00:09:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:09:05 /w/workspace/device-sdk-go/76@tmp/durable-bbb44801/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:09:05 + echo total: 0.10999999940395355 [Pipeline] stash 00:09:05 Warning: overwriting stash ‘stack-cost’ 00:09:05 Stashed 1 file(s) [Pipeline] } 00:09:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 00:09:06 $ docker stop --time=1 d5b3fde55315fdc3588e5e3136499c77ed1766ff25efc8bf9dc5a778c64f5b4d 00:09:07 $ docker rm -f d5b3fde55315fdc3588e5e3136499c77ed1766ff25efc8bf9dc5a778c64f5b4d [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 00:09:08 provisioning config files... 00:09:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5308620356787661309tmp [Pipeline] { [Pipeline] sh 00:09:08 + set +x 00:09:08 + curl -s https://codecov.io/bash 00:09:08 + bash -s -- 00:09:08 00:09:08 _____ _ 00:09:08 / ____| | | 00:09:08 | | ___ __| | ___ ___ _____ __ 00:09:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:09:08 | |___| (_) | (_| | __/ (_| (_) \ V / 00:09:08 \_____\___/ \__,_|\___|\___\___/ \_/ 00:09:08 Bash-1.0.6 00:09:08 00:09:08 00:09:08 ==> git version 2.25.1 found 00:09:08 ==> 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 00:09:08 Release-Date: 2020-01-08 00:09:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:09:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:09:08 ==> Jenkins CI detected. 00:09:08 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 00:09:08 project root: . 00:09:08 --> token set from env 00:09:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:09:08 ==> Running gcov in . (disable via -X gcov) 00:09:08 ==> Python coveragepy not found 00:09:08 ==> Searching for coverage reports in: 00:09:08 + . 00:09:08 -> Found 1 reports 00:09:08 ==> Detecting git/mercurial file structure 00:09:08 ==> Reading reports 00:09:08 + ./coverage.out bytes=130739 00:09:08 ==> Appending adjustments 00:09:08 https://docs.codecov.io/docs/fixing-reports 00:09:08 + Found adjustments 00:09:08 ==> Gzipping contents 00:09:08 20K /tmp/codecov.UxGCpx.gz 00:09:08 ==> Uploading reports 00:09:08 url: https://codecov.io 00:09:08 query: branch=main&commit=4b1bca24a13eee0fbd94f91607ff04ee351fa403&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:09:08 -> Pinging Codecov 00:09:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=4b1bca24a13eee0fbd94f91607ff04ee351fa403&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:09:08 -> Uploading to 00:09:08 https://storage.googleapis.com/codecov/v4/raw/2022-05-13/7E55EF52A471D76F132DFD9A03CDDE97/4b1bca24a13eee0fbd94f91607ff04ee351fa403/9242d6c5-5e78-4860-bdf6-090f6361d4ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220513%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220513T000908Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3124b02d8813b2dd0a57e5975e2c41481374f4a3e0551e88e19b456535f335b7 00:09:08 % Total % Received % Xferd Average Speed Time Time Time Current 00:09:08 Dload Upload Total Spent Left Speed 00:09:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16844 0 0 100 16844 0 80209 --:--:-- --:--:-- --:--:-- 80209 00:09:09 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] } 00:09:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:09:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:09:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 00:09:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:09:09 00:09:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 00:09:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:09:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:09:09 188c0c94c7c5: Pulling fs layer 00:09:09 0ef7d3d256c8: Pulling fs layer 00:09:09 de9db76c5a1d: Pulling fs layer 00:09:09 0eba1c9be4d2: Pulling fs layer 00:09:09 0d57e429df01: Pulling fs layer 00:09:09 4e4be7b47b0d: Pulling fs layer 00:09:09 e1f770b5df2f: Pulling fs layer 00:09:09 85a0685a4137: Pulling fs layer 00:09:09 4e4be7b47b0d: Waiting 00:09:09 0eba1c9be4d2: Waiting 00:09:09 0d57e429df01: Waiting 00:09:09 e1f770b5df2f: Waiting 00:09:09 85a0685a4137: Waiting 00:09:09 de9db76c5a1d: Download complete 00:09:09 0ef7d3d256c8: Verifying Checksum 00:09:09 0ef7d3d256c8: Download complete 00:09:09 0d57e429df01: Download complete 00:09:09 4e4be7b47b0d: Verifying Checksum 00:09:09 4e4be7b47b0d: Download complete 00:09:09 188c0c94c7c5: Verifying Checksum 00:09:09 188c0c94c7c5: Download complete 00:09:10 188c0c94c7c5: Pull complete 00:09:10 e1f770b5df2f: Verifying Checksum 00:09:10 e1f770b5df2f: Download complete 00:09:10 0ef7d3d256c8: Pull complete 00:09:10 de9db76c5a1d: Pull complete 00:09:10 0eba1c9be4d2: Verifying Checksum 00:09:10 0eba1c9be4d2: Download complete 00:09:10 85a0685a4137: Verifying Checksum 00:09:10 85a0685a4137: Download complete 00:09:14 0eba1c9be4d2: Pull complete 00:09:14 0d57e429df01: Pull complete 00:09:14 4e4be7b47b0d: Pull complete 00:09:14 e1f770b5df2f: Pull complete 00:09:17 85a0685a4137: Pull complete 00:09:17 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 00:09:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:09:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 00:09:17 prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container 00:09:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:09:19 $ docker top 78ca3d9d380c2270529608ed8868052de196df00d6c065d80b8aff8a776ec86a -eo pid,comm [Pipeline] { [Pipeline] echo 00:09:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 00:09:20 + set -o pipefail 00:09:20 + snyk monitor '--org=edgex-jenkins' 00:09:25 00:09:25 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 00:09:25 00:09:25 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/14eabfa1-0884-418e-a5cb-dd821a01cb8b 00:09:25 00:09:25 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:09:25 00:09:25 [Pipeline] } 00:09:25 $ docker stop --time=1 78ca3d9d380c2270529608ed8868052de196df00d6c065d80b8aff8a776ec86a 00:09:27 $ docker rm -f 78ca3d9d380c2270529608ed8868052de196df00d6c065d80b8aff8a776ec86a [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 00:09:27 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:09:27 provisioning config files... 00:09:27 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4703904632707088626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:09:28 --> edgex-publish-swagger.sh 00:09:28 === Publish openapi/v2 API === 00:09:28 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 00:09:28 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 00:09:28 % Total % Received % Xferd Average Speed Time Time Time Current 00:09:28 Dload Upload Total Spent Left Speed 00:09:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 92183 --:--:-- --:--:-- --:--:-- 92024 100 53282 0 0 100 53282 0 92024 --:--:-- --:--:-- --:--:-- 92024 00:09:28 00:09:28 [Pipeline] } 00:09:28 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 00:09:29 + git log --format=format:%s -1 4b1bca24a13eee0fbd94f91607ff04ee351fa403 [Pipeline] sh 00:09:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:09:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:09:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:09:29 . [Pipeline] withDockerContainer 00:09:29 prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container 00:09:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:09:30 $ docker top 070197755a36bd548e290f52211c14ef62b741b9d2c34a00e094e7018be456e8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:09:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:30 [ssh-agent] Looking for ssh-agent implementation... 00:09:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:30 $ docker exec 070197755a36bd548e290f52211c14ef62b741b9d2c34a00e094e7018be456e8 ssh-agent 00:09:30 SSH_AUTH_SOCK=/tmp/ssh-aiiaqQcCSdsm/agent.32 00:09:30 SSH_AGENT_PID=39 00:09:30 Running ssh-add (command line suppressed) 00:09:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9129658600303194329.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9129658600303194329.key) 00:09:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:31 + git semver tag 00:09:31 2022-05-13 00:09:31,406 [run_tag] DEBUG tag force:False 00:09:31 2022-05-13 00:09:31,407 [check_head_tag] DEBUG check head tag 00:09:31 2022-05-13 00:09:31,409 [execute] INFO git cat-file --batch-check 00:09:31 2022-05-13 00:09:31,409 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:09:31 2022-05-13 00:09:31,413 [execute] INFO git cat-file --batch 00:09:31 2022-05-13 00:09:31,414 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:09:31 2022-05-13 00:09:31,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:09:31 2022-05-13 00:09:31,447 [execute] INFO git tag -a v2.2.1-dev.1 -m v2.2.1-dev.1 00:09:31 2022-05-13 00:09:31,447 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.1', '-m', 'v2.2.1-dev.1'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:09:31 2022-05-13 00:09:31,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:09:31 2.2.1-dev.1 [Pipeline] } 00:09:31 $ docker exec --env ******** --env ******** 070197755a36bd548e290f52211c14ef62b741b9d2c34a00e094e7018be456e8 ssh-agent -k 00:09:31 unset SSH_AUTH_SOCK; 00:09:31 unset SSH_AGENT_PID; 00:09:31 echo Agent pid 39 killed; 00:09:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:09:32 + git semver [Pipeline] } 00:09:32 $ docker stop --time=1 070197755a36bd548e290f52211c14ef62b741b9d2c34a00e094e7018be456e8 00:09:33 $ docker rm -f 070197755a36bd548e290f52211c14ef62b741b9d2c34a00e094e7018be456e8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 00:09:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:09:34 00:09:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 00:09:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:09:34 0.23.1-centos7: Pulling from edgex-lftools 00:09:34 ab5ef0e58194: Pulling fs layer 00:09:34 9712f1f96733: Pulling fs layer 00:09:34 63f879dbbcfc: Pulling fs layer 00:09:34 0d9ebad4ef96: Pulling fs layer 00:09:34 e9a5061849ea: Pulling fs layer 00:09:34 d747dcd14b5f: Pulling fs layer 00:09:34 2de7ff778b66: Pulling fs layer 00:09:34 0d9ebad4ef96: Waiting 00:09:34 e9a5061849ea: Waiting 00:09:34 d747dcd14b5f: Waiting 00:09:34 2de7ff778b66: Waiting 00:09:34 9712f1f96733: Download complete 00:09:34 63f879dbbcfc: Verifying Checksum 00:09:34 63f879dbbcfc: Download complete 00:09:34 e9a5061849ea: Verifying Checksum 00:09:34 e9a5061849ea: Download complete 00:09:34 0d9ebad4ef96: Verifying Checksum 00:09:34 0d9ebad4ef96: Download complete 00:09:34 d747dcd14b5f: Verifying Checksum 00:09:34 d747dcd14b5f: Download complete 00:09:34 ab5ef0e58194: Verifying Checksum 00:09:34 ab5ef0e58194: Download complete 00:09:35 2de7ff778b66: Verifying Checksum 00:09:35 2de7ff778b66: Download complete 00:09:37 ab5ef0e58194: Pull complete 00:09:37 9712f1f96733: Pull complete 00:09:38 63f879dbbcfc: Pull complete 00:09:41 0d9ebad4ef96: Pull complete 00:09:41 e9a5061849ea: Pull complete 00:09:41 d747dcd14b5f: Pull complete 00:09:43 2de7ff778b66: Pull complete 00:09:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:09:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:09:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 00:09:43 prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container 00:09:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:09:45 $ docker top 463afec319e3fddd22dade6dc5301a35dfdbf85f521eb296c1b5a8a9588dfb24 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:09:45 provisioning config files... 00:09:46 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5936674751302941619tmp 00:09:46 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3395002941546736308tmp 00:09:46 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6971620060374996505tmp [Pipeline] { [Pipeline] echo 00:09:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:09:46 ---> sigul-configuration.sh 00:09:46 gpg: directory `/root/.gnupg' created 00:09:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:09:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:09:46 gpg: keyring `/root/.gnupg/secring.gpg' created 00:09:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:09:46 gpg: CAST5 encrypted data 00:09:46 gpg: encrypted with 1 passphrase 00:09:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:09:46 + mkdir /home/jenkins 00:09:46 + mkdir /home/jenkins/sigul [Pipeline] sh 00:09:46 + 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 00:09:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:09:47 ---> sigul-install.sh 00:09:47 Sigul already installed; skipping installation. [Pipeline] sh 00:09:47 + git tag --list 00:09:47 0.7.1 00:09:47 delhi-tag 00:09:47 v1.0.0 00:09:47 v1.1.0 00:09:47 v1.1.1 00:09:47 v1.1.2 00:09:47 v1.2.0 00:09:47 v1.2.1 00:09:47 v1.2.2 00:09:47 v1.2.3 00:09:47 v1.3.0 00:09:47 v1.4.0 00:09:47 v2.0.0 00:09:47 v2.0.1-dev.1 00:09:47 v2.0.1-dev.10 00:09:47 v2.0.1-dev.11 00:09:47 v2.0.1-dev.12 00:09:47 v2.0.1-dev.13 00:09:47 v2.0.1-dev.14 00:09:47 v2.0.1-dev.15 00:09:47 v2.0.1-dev.16 00:09:47 v2.0.1-dev.17 00:09:47 v2.0.1-dev.18 00:09:47 v2.0.1-dev.19 00:09:47 v2.0.1-dev.2 00:09:47 v2.0.1-dev.20 00:09:47 v2.0.1-dev.21 00:09:47 v2.0.1-dev.22 00:09:47 v2.0.1-dev.23 00:09:47 v2.0.1-dev.24 00:09:47 v2.0.1-dev.25 00:09:47 v2.0.1-dev.26 00:09:47 v2.0.1-dev.27 00:09:47 v2.0.1-dev.28 00:09:47 v2.0.1-dev.29 00:09:47 v2.0.1-dev.3 00:09:47 v2.0.1-dev.30 00:09:47 v2.0.1-dev.31 00:09:47 v2.0.1-dev.32 00:09:47 v2.0.1-dev.33 00:09:47 v2.0.1-dev.4 00:09:47 v2.0.1-dev.5 00:09:47 v2.0.1-dev.6 00:09:47 v2.0.1-dev.7 00:09:47 v2.0.1-dev.8 00:09:47 v2.0.1-dev.9 00:09:47 v2.1.0 00:09:47 v2.1.1-dev.1 00:09:47 v2.2.0 00:09:47 v2.2.0-dev.1 00:09:47 v2.2.0-dev.10 00:09:47 v2.2.0-dev.11 00:09:47 v2.2.0-dev.12 00:09:47 v2.2.0-dev.13 00:09:47 v2.2.0-dev.14 00:09:47 v2.2.0-dev.15 00:09:47 v2.2.0-dev.16 00:09:47 v2.2.0-dev.17 00:09:47 v2.2.0-dev.18 00:09:47 v2.2.0-dev.19 00:09:47 v2.2.0-dev.2 00:09:47 v2.2.0-dev.20 00:09:47 v2.2.0-dev.21 00:09:47 v2.2.0-dev.22 00:09:47 v2.2.0-dev.23 00:09:47 v2.2.0-dev.24 00:09:47 v2.2.0-dev.25 00:09:47 v2.2.0-dev.26 00:09:47 v2.2.0-dev.27 00:09:47 v2.2.0-dev.28 00:09:47 v2.2.0-dev.29 00:09:47 v2.2.0-dev.3 00:09:47 v2.2.0-dev.30 00:09:47 v2.2.0-dev.31 00:09:47 v2.2.0-dev.32 00:09:47 v2.2.0-dev.33 00:09:47 v2.2.0-dev.34 00:09:47 v2.2.0-dev.35 00:09:47 v2.2.0-dev.36 00:09:47 v2.2.0-dev.37 00:09:47 v2.2.0-dev.38 00:09:47 v2.2.0-dev.39 00:09:47 v2.2.0-dev.4 00:09:47 v2.2.0-dev.40 00:09:47 v2.2.0-dev.5 00:09:47 v2.2.0-dev.6 00:09:47 v2.2.0-dev.7 00:09:47 v2.2.0-dev.8 00:09:47 v2.2.0-dev.9 00:09:47 v2.2.1-dev.1 [Pipeline] sh 00:09:47 + lftools sign git-tag v2.2.1-dev.1 00:09:48 Signing Git tag with Sigul... 00:09:48 Signing v2.2.1-dev.1 [Pipeline] echo 00:09:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:09:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:09:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:09:48 $ docker stop --time=1 463afec319e3fddd22dade6dc5301a35dfdbf85f521eb296c1b5a8a9588dfb24 00:09:50 $ docker rm -f 463afec319e3fddd22dade6dc5301a35dfdbf85f521eb296c1b5a8a9588dfb24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:09:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:09:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:09:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:09:50 . [Pipeline] withDockerContainer 00:09:51 prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container 00:09:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:09:51 $ docker top 52a00f893f661d1560251fc790ef0b599d97dbf6b371025a6168eb0382da7a0e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:09:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:51 [ssh-agent] Looking for ssh-agent implementation... 00:09:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:51 $ docker exec 52a00f893f661d1560251fc790ef0b599d97dbf6b371025a6168eb0382da7a0e ssh-agent 00:09:51 SSH_AUTH_SOCK=/tmp/ssh-W61b0d2Xd91r/agent.32 00:09:51 SSH_AGENT_PID=38 00:09:51 Running ssh-add (command line suppressed) 00:09:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6714783675825486443.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6714783675825486443.key) 00:09:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:52 + git semver bump pre 00:09:52 2022-05-13 00:09:52,445 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:09:52 2022-05-13 00:09:52,445 [bump_version] DEBUG bumping version:2.2.1-dev.1 on axis:pre with prefix:dev 00:09:52 2022-05-13 00:09:52,446 [bump_version] DEBUG bumped version:2.2.1-dev.2 00:09:52 2022-05-13 00:09:52,446 [write_version] DEBUG write version:2.2.1-dev.2 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 00:09:52 2022-05-13 00:09:52,446 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:09:52 2022-05-13 00:09:52,446 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:09:52 2022-05-13 00:09:52,448 [execute] INFO git cat-file --batch-check 00:09:52 2022-05-13 00:09:52,449 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:09:52 2022-05-13 00:09:52,454 [execute] INFO git cat-file --batch 00:09:52 2022-05-13 00:09:52,455 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:09:52 2022-05-13 00:09:52,459 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:09:52 2.2.1-dev.2 [Pipeline] } 00:09:52 $ docker exec --env ******** --env ******** 52a00f893f661d1560251fc790ef0b599d97dbf6b371025a6168eb0382da7a0e ssh-agent -k 00:09:52 unset SSH_AUTH_SOCK; 00:09:52 unset SSH_AGENT_PID; 00:09:52 echo Agent pid 38 killed; 00:09:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:09:52 + git semver [Pipeline] } 00:09:53 $ docker stop --time=1 52a00f893f661d1560251fc790ef0b599d97dbf6b371025a6168eb0382da7a0e 00:09:54 $ docker rm -f 52a00f893f661d1560251fc790ef0b599d97dbf6b371025a6168eb0382da7a0e [Pipeline] // withDockerContainer [Pipeline] sh 00:09:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:09:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:09:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:09:55 . [Pipeline] withDockerContainer 00:09:55 prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container 00:09:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 00:09:55 $ docker top ce42a621ac7c6a5b348ce88b1b1815d14a140fe46ce2072430a266abbf1deaec -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:09:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:09:55 [ssh-agent] Looking for ssh-agent implementation... 00:09:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:09:55 $ docker exec ce42a621ac7c6a5b348ce88b1b1815d14a140fe46ce2072430a266abbf1deaec ssh-agent 00:09:55 SSH_AUTH_SOCK=/tmp/ssh-TfcJoGM6ev8x/agent.33 00:09:55 SSH_AGENT_PID=39 00:09:55 Running ssh-add (command line suppressed) 00:09:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9200120092099154379.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9200120092099154379.key) 00:09:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:09:56 + git semver push 00:09:56 2022-05-13 00:09:56,598 [run_push] DEBUG push 00:09:56 2022-05-13 00:09:56,599 [execute] INFO git push origin semver 00:09:56 2022-05-13 00:09:56,599 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:09:57 2022-05-13 00:09:57,316 [run_push] DEBUG push all version tags 00:09:57 2022-05-13 00:09:57,317 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:09:57 2022-05-13 00:09:57,317 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:09:58 2022-05-13 00:09:58,082 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:09:58 2.2.1-dev.2 [Pipeline] } 00:09:58 $ docker exec --env ******** --env ******** ce42a621ac7c6a5b348ce88b1b1815d14a140fe46ce2072430a266abbf1deaec ssh-agent -k 00:09:58 unset SSH_AUTH_SOCK; 00:09:58 unset SSH_AGENT_PID; 00:09:58 echo Agent pid 39 killed; 00:09:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:09:58 + git semver [Pipeline] } 00:09:58 $ docker stop --time=1 ce42a621ac7c6a5b348ce88b1b1815d14a140fe46ce2072430a266abbf1deaec 00:10:00 $ docker rm -f ce42a621ac7c6a5b348ce88b1b1815d14a140fe46ce2072430a266abbf1deaec [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 00:10:00 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 00:10:00 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:10:00 total 16 00:10:00 drwxr-xr-x 3 root root 4096 May 12 23:57 . 00:10:00 drwxrwxr-x 12 jenkins jenkins 4096 May 13 00:09 .. 00:10:00 drwxr-xr-x 2 root root 4096 May 12 23:57 cost 00:10:00 -rw-r--r-- 1 root root 83 May 12 23:57 cost.csv 00:10:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:10:00 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:10:00 total 16 00:10:00 drwxr-xr-x 3 jenkins jenkins 4096 May 12 23:57 . 00:10:00 drwxrwxr-x 12 jenkins jenkins 4096 May 13 00:09 .. 00:10:00 drwxr-xr-x 2 jenkins jenkins 4096 May 12 23:57 cost 00:10:00 -rw-r--r-- 1 jenkins jenkins 83 May 12 23:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:10:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:10:01 ---> package-listing.sh 00:10:01 ++ facter osfamily 00:10:01 ++ tr '[:upper:]' '[:lower:]' 00:10:02 + OS_FAMILY=debian 00:10:02 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 00:10:02 + START_PACKAGES=/tmp/packages_start.txt 00:10:02 + END_PACKAGES=/tmp/packages_end.txt 00:10:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:10:02 + PACKAGES=/tmp/packages_start.txt 00:10:02 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:10:02 + PACKAGES=/tmp/packages_end.txt 00:10:02 + case "${OS_FAMILY}" in 00:10:02 + dpkg -l 00:10:02 + grep '^ii' 00:10:02 + '[' -f /tmp/packages_start.txt ']' 00:10:02 + '[' -f /tmp/packages_end.txt ']' 00:10:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:10:02 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:10:02 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 00:10:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 00:10:02 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:10:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 00:10:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:10:03 . [Pipeline] withDockerContainer 00:10:03 prd-ubuntu20.04-docker-8c-8g-63539 does not seem to be running inside a container 00:10:03 $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:10:03 $ docker top 276984ae6a0d7e3cd2b5f8e3d6a8228ee9314d7379f78075e2c581edd1fafb57 -eo pid,comm [Pipeline] { [Pipeline] sh 00:10:03 + touch /tmp/pre-build-complete [Pipeline] sh 00:10:04 + mkdir -p /var/log/sysstat [Pipeline] sh 00:10:04 + ls /var/log/sa-host 00:10:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:10:04 provisioning config files... 00:10:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7121708838234936261tmp [Pipeline] { [Pipeline] echo 00:10:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:10:04 ---> create-netrc.sh [Pipeline] } 00:10:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:10:05 ---> python-tools-install.sh [Pipeline] echo 00:10:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:10:05 ---> sudo-logs.sh 00:10:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:10:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:10:05 ---> job-cost.sh 00:10:05 lf-activate-venv: SKIPPING 00:10:05 DEBUG: total: 0.2199999988079071 00:10:05 INFO: Retrieving Stack Cost... 00:10:06 INFO: Retrieving Pricing Info for: v3-standard-8 00:10:06 INFO: Archiving Costs [Pipeline] echo 00:10:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:10:06 ---> logs-deploy.sh 00:10:06 lf-activate-venv: SKIPPING 00:10:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/76 00:10:06 INFO: archiving workspace using pattern(s): 00:10:07 Archives upload complete. 00:10:07 INFO: archiving logs to Nexus