Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cc37b9e2c9629ca07e46878051115594cd22d281 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-ssh8419294678262792610.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh7462491809261542575.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh554319148827976347.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh9082734164861813287.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-ssh14541676398207433282.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-34821 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 cc37b9e2c9629ca07e46878051115594cd22d281 (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 cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 Commit message: "Merge pull request #1153 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.21" > git rev-list --no-walk 20e4ce91bc8e43f9f92ceaa6d310556f72a8f90b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:03:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:03:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:03:46 ========================================================= 02:03:46 EdgeX Global Pipelines Version Info 02:03:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:03:47 ------------------- 02:03:47 stable info: 02:03:47 ------------------- 02:03:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:03:47 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 02:03:47 Message: update stable to v1.0.227 02:03:47 ------------------- 02:03:47 experimental info: 02:03:47 ------------------- 02:03:47 Commited By: **** collab-it+edgex@linuxfoundation.org 02:03:47 Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 02:03:47 Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:03:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc37b9e2c9629ca07e46878051115594cd22d281 [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc37b9e [Pipeline] echo 02:03:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:03:48 provisioning config files... 02:03:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5323160158013848036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:48 ---> docker-login.sh 02:03:48 nexus3.edgexfoundry.org:10001 02:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:49 Configure a credential helper to remove this warning. See 02:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:49 02:03:49 Login Succeeded 02:03:49 nexus3.edgexfoundry.org:10002 02:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:49 Configure a credential helper to remove this warning. See 02:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:49 02:03:49 Login Succeeded 02:03:49 nexus3.edgexfoundry.org:10003 02:03:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:49 Configure a credential helper to remove this warning. See 02:03:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:49 02:03:49 Login Succeeded 02:03:49 nexus3.edgexfoundry.org:10004 02:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:50 Configure a credential helper to remove this warning. See 02:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:50 02:03:50 Login Succeeded 02:03:50 docker.io 02:03:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:03:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:03:50 Configure a credential helper to remove this warning. See 02:03:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:03:50 02:03:50 Login Succeeded 02:03:50 ---> docker-login.sh ends [Pipeline] } 02:03:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:03:50 + git rev-list -1 --merges cc37b9e2c9629ca07e46878051115594cd22d281~1..cc37b9e2c9629ca07e46878051115594cd22d281 [Pipeline] echo 02:03:51 -----------> git rev-list -1 --merges cc37b9e2c9629ca07e46878051115594cd22d281~1..cc37b9e2c9629ca07e46878051115594cd22d281 cc37b9e2c9629ca07e46878051115594cd22d281 02:03:51 cc37b9e2c9629ca07e46878051115594cd22d281 [false] [Pipeline] sh 02:03:51 + git log --format=format:%s -1 cc37b9e2c9629ca07e46878051115594cd22d281 [Pipeline] echo 02:03:51 ========================================================= 02:03:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:03:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:03:51 + git log --format=format:%s -1 cc37b9e2c9629ca07e46878051115594cd22d281 [Pipeline] echo 02:03:51 [semverPrep] GIT_COMMIT: cc37b9e2c9629ca07e46878051115594cd22d281, Commit Message: Merge pull request #1153 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.21 [Pipeline] echo 02:03:51 [semverPrep] This is not a build commit. [Pipeline] sh 02:03:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:03:52 + grep -v github /etc/ssh/ssh_known_hosts 02:03:52 + [ -e /tmp/ssh_known_hosts ] 02:03:52 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:03:52 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 02:03:52 -a /etc/ssh/ssh_known_hosts 02:03:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:03:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:03:52 02:03:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:03:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:03:53 latest: Pulling from edgex-devops/py-git-semver 02:03:53 1fe172e4850f: Pulling fs layer 02:03:53 caf521ccaac6: Pulling fs layer 02:03:53 3ead6fa29328: Pulling fs layer 02:03:53 5c2a1cbceb83: Pulling fs layer 02:03:53 a8d5f1318db7: Pulling fs layer 02:03:53 c427282e49a2: Pulling fs layer 02:03:53 1827001aaf11: Pulling fs layer 02:03:53 0714d37db230: Pulling fs layer 02:03:53 ac28cf19c067: Pulling fs layer 02:03:53 ca983d60f3e2: Pulling fs layer 02:03:53 9f894cec8388: Pulling fs layer 02:03:53 1827001aaf11: Waiting 02:03:53 ac28cf19c067: Waiting 02:03:53 0714d37db230: Waiting 02:03:53 ca983d60f3e2: Waiting 02:03:53 5c2a1cbceb83: Waiting 02:03:53 9f894cec8388: Waiting 02:03:53 c427282e49a2: Waiting 02:03:53 a8d5f1318db7: Waiting 02:03:53 caf521ccaac6: Verifying Checksum 02:03:53 caf521ccaac6: Download complete 02:03:53 5c2a1cbceb83: Verifying Checksum 02:03:53 5c2a1cbceb83: Download complete 02:03:53 a8d5f1318db7: Verifying Checksum 02:03:53 a8d5f1318db7: Download complete 02:03:53 c427282e49a2: Verifying Checksum 02:03:53 c427282e49a2: Download complete 02:03:53 3ead6fa29328: Verifying Checksum 02:03:53 3ead6fa29328: Download complete 02:03:53 0714d37db230: Verifying Checksum 02:03:53 0714d37db230: Download complete 02:03:53 ac28cf19c067: Download complete 02:03:53 ca983d60f3e2: Verifying Checksum 02:03:53 ca983d60f3e2: Download complete 02:03:53 9f894cec8388: Verifying Checksum 02:03:53 9f894cec8388: Download complete 02:03:53 1fe172e4850f: Download complete 02:03:53 1827001aaf11: Verifying Checksum 02:03:53 1827001aaf11: Download complete 02:03:54 1fe172e4850f: Pull complete 02:03:54 caf521ccaac6: Pull complete 02:03:55 3ead6fa29328: Pull complete 02:03:55 5c2a1cbceb83: Pull complete 02:03:56 a8d5f1318db7: Pull complete 02:03:56 c427282e49a2: Pull complete 02:03:58 1827001aaf11: Pull complete 02:03:58 0714d37db230: Pull complete 02:03:58 ac28cf19c067: Pull complete 02:03:58 ca983d60f3e2: Pull complete 02:03:59 9f894cec8388: Pull complete 02:03:59 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 02:03:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:03:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 02:03:59 prd-ubuntu20.04-docker-8c-8g-34821 does not seem to be running inside a container 02:03:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:04:01 $ docker top c782a5cfce2c6bc50ed9badb7a94d99ddac4bd66e883c48da2a0eb3547fb6626 -eo pid,comm 02:04:01 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). 02:04:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:04:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:04:01 [ssh-agent] Looking for ssh-agent implementation... 02:04:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:04:02 $ docker exec c782a5cfce2c6bc50ed9badb7a94d99ddac4bd66e883c48da2a0eb3547fb6626 ssh-agent 02:04:02 SSH_AUTH_SOCK=/tmp/ssh-mvYOWn7NXq9O/agent.33 02:04:02 SSH_AGENT_PID=39 02:04:02 Running ssh-add (command line suppressed) 02:04:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6551186897059653062.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6551186897059653062.key) 02:04:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:04:02 + git tag --points-at HEAD [Pipeline] } 02:04:02 $ docker exec --env ******** --env ******** c782a5cfce2c6bc50ed9badb7a94d99ddac4bd66e883c48da2a0eb3547fb6626 ssh-agent -k 02:04:02 unset SSH_AUTH_SOCK; 02:04:02 unset SSH_AGENT_PID; 02:04:02 echo Agent pid 39 killed; 02:04:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:04:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:04:02 [ssh-agent] Looking for ssh-agent implementation... 02:04:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:04:02 $ docker exec c782a5cfce2c6bc50ed9badb7a94d99ddac4bd66e883c48da2a0eb3547fb6626 ssh-agent 02:04:03 SSH_AUTH_SOCK=/tmp/ssh-dFmh4vF8ZNAu/agent.72 02:04:03 SSH_AGENT_PID=79 02:04:03 Running ssh-add (command line suppressed) 02:04:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5879152453819122276.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5879152453819122276.key) 02:04:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:04:03 + git semver init 02:04:03 2022-05-03 02:04:03,677 [run_init] DEBUG init version:0.0.0 force:False 02:04:03 2022-05-03 02:04:03,678 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 02:04:03 2022-05-03 02:04:03,678 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 02:04:03 2022-05-03 02:04:03,678 [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) 02:04:04 2022-05-03 02:04:04,555 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 02:04:04 2022-05-03 02:04:04,556 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 02:04:04 2022-05-03 02:04:04,556 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:04:04 2022-05-03 02:04:04,556 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:04:04 2.2.0-dev.37 [Pipeline] } 02:04:04 $ docker exec --env ******** --env ******** c782a5cfce2c6bc50ed9badb7a94d99ddac4bd66e883c48da2a0eb3547fb6626 ssh-agent -k 02:04:04 unset SSH_AUTH_SOCK; 02:04:04 unset SSH_AGENT_PID; 02:04:04 echo Agent pid 79 killed; 02:04:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:04:05 + git semver [Pipeline] } 02:04:05 $ docker stop --time=1 c782a5cfce2c6bc50ed9badb7a94d99ddac4bd66e883c48da2a0eb3547fb6626 02:04:06 $ docker rm -f c782a5cfce2c6bc50ed9badb7a94d99ddac4bd66e883c48da2a0eb3547fb6626 [Pipeline] // withDockerContainer [Pipeline] sh 02:04:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:04:07 Stashed 1 file(s) [Pipeline] echo 02:04:07 [edgeXSemver]: initialized semver on version 2.2.0-dev.37 [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 02:04:07 provisioning config files... 02:04:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6638860575204461846tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-34766 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 02:04:07 Running in /w/workspace/device-sdk-go/70 [Pipeline] { [Pipeline] checkout 02:04:07 The recommended git tool is: git 02:04:07 ---> docker-login.sh 02:04:07 nexus3.edgexfoundry.org:10001 02:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:07 Configure a credential helper to remove this warning. See 02:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:07 02:04:07 Login Succeeded 02:04:07 nexus3.edgexfoundry.org:10002 02:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:08 Configure a credential helper to remove this warning. See 02:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:08 02:04:08 Login Succeeded 02:04:08 nexus3.edgexfoundry.org:10003 02:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:08 Configure a credential helper to remove this warning. See 02:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:08 02:04:08 Login Succeeded 02:04:08 nexus3.edgexfoundry.org:10004 02:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:08 Configure a credential helper to remove this warning. See 02:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:08 02:04:08 Login Succeeded 02:04:08 docker.io 02:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:08 Configure a credential helper to remove this warning. See 02:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:08 02:04:08 Login Succeeded 02:04:08 ---> docker-login.sh ends [Pipeline] } 02:04:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:04:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:04:08 ========================================================= 02:04:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:04:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:04:09 + 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 . 02:04:09 Sending build context to Docker daemon 9.655MB 02:04:09 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 02:04:09 Step 2/11 : FROM ${BASE} AS builder 02:04:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:04:09 59bf1c3509f3: Pulling fs layer 02:04:09 666ba61612fd: Pulling fs layer 02:04:09 8ed8ca486205: Pulling fs layer 02:04:09 4fe6c5a15a65: Pulling fs layer 02:04:09 22a0e8bec74d: Pulling fs layer 02:04:09 ca2b28591e48: Pulling fs layer 02:04:09 a51346096db8: Pulling fs layer 02:04:09 daebc70d1ce1: Pulling fs layer 02:04:09 0e18a0eac166: Pulling fs layer 02:04:09 ca2b28591e48: Waiting 02:04:09 a51346096db8: Waiting 02:04:09 4fe6c5a15a65: Waiting 02:04:09 daebc70d1ce1: Waiting 02:04:09 22a0e8bec74d: Waiting 02:04:09 8ed8ca486205: Verifying Checksum 02:04:09 8ed8ca486205: Download complete 02:04:09 666ba61612fd: Download complete 02:04:09 22a0e8bec74d: Verifying Checksum 02:04:09 22a0e8bec74d: Download complete 02:04:09 ca2b28591e48: Verifying Checksum 02:04:09 ca2b28591e48: Download complete 02:04:09 59bf1c3509f3: Verifying Checksum 02:04:09 59bf1c3509f3: Download complete 02:04:09 a51346096db8: Verifying Checksum 02:04:09 a51346096db8: Download complete 02:04:09 daebc70d1ce1: Verifying Checksum 02:04:09 daebc70d1ce1: Download complete 02:04:09 59bf1c3509f3: Pull complete 02:04:10 4fe6c5a15a65: Verifying Checksum 02:04:10 4fe6c5a15a65: Download complete 02:04:10 0e18a0eac166: Verifying Checksum 02:04:10 0e18a0eac166: Download complete 02:04:10 666ba61612fd: Pull complete 02:04:10 8ed8ca486205: Pull complete 02:04:12 using credential edgex-jenkins-ssh 02:04:12 Cloning the remote Git repository 02:04:12 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:04:12 > git init /w/workspace/device-sdk-go/70 # timeout=10 02:04:12 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:04:12 > git --version # timeout=10 02:04:12 > git --version # 'git version 2.25.1' 02:04:12 using GIT_SSH to set credentials SSH Credentials for GitHub 02:04:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:04:14 Avoid second fetch 02:04:14 Checking out Revision cc37b9e2c9629ca07e46878051115594cd22d281 (main) 02:04:14 4fe6c5a15a65: Pull complete 02:04:14 22a0e8bec74d: Pull complete 02:04:14 ca2b28591e48: Pull complete 02:04:14 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:04:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:04:14 > git config core.sparsecheckout # timeout=10 02:04:14 > git checkout -f cc37b9e2c9629ca07e46878051115594cd22d281 # timeout=10 02:04:15 a51346096db8: Pull complete 02:04:15 daebc70d1ce1: Pull complete 02:04:17 0e18a0eac166: Pull complete 02:04:17 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 02:04:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:04:17 ---> f018257e8ee9 02:04:17 Step 3/11 : ARG MAKE=make build 02:04:18 Commit message: "Merge pull request #1153 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.2.0-dev.21" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:04:19 ---> Running in df1f1a849c8f 02:04:19 Removing intermediate container df1f1a849c8f 02:04:19 ---> 243a1d3f9c58 02:04:19 Step 4/11 : WORKDIR /device-sdk-go 02:04:19 ---> Running in 6bdadf3d6771 02:04:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:04:19 % Total % Received % Xferd Average Speed Time Time Time Current 02:04:19 Dload Upload Total Spent Left Speed 02:04:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 93251 0 --:--:-- --:--:-- --:--:-- 93992 02:04:19 Removing intermediate container 6bdadf3d6771 02:04:19 ---> 5d9a4a539b51 02:04:19 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:04:19 ---> Running in bc2bea8ea29f [Pipeline] sh 02:04:20 Removing intermediate container bc2bea8ea29f 02:04:20 ---> 60ce87a560a7 02:04:20 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:04:20 ---> Running in 833ee06d5f86 02:04:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:04:20 Removing intermediate container 833ee06d5f86 02:04:20 ---> 5991735de291 02:04:20 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:04:20 ---> Running in ac4d6afa9ae8 02:04:20 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:04:20 + sudo tee /etc/docker/daemon.new 02:04:20 { 02:04:20 "registry-mirrors": [ 02:04:20 "https://nexus3.edgexfoundry.org:10001" 02:04:20 ], 02:04:20 "bip": "10.250.0.254/24", 02:04:20 "hosts": [ 02:04:20 "tcp://0.0.0.0:5555", 02:04:20 "unix:///var/run/docker.sock" 02:04:20 ], 02:04:20 "mtu": 1458, 02:04:20 "selinux-enabled": true, 02:04:20 "seccomp-profile": "/etc/docker/seccomp.json" 02:04:20 } [Pipeline] sh 02:04:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:04:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:04:21 + sudo service docker restart 02:04:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:04:22 OK: 221 MiB in 52 packages 02:04:22 Removing intermediate container ac4d6afa9ae8 02:04:22 ---> d23f2fdc7ca5 02:04:22 Step 8/11 : COPY go.mod vendor* ./ 02:04:22 ---> 8ecb1564acee 02:04:22 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:04:22 ---> Running in eea3b2275e22 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:04:39 provisioning config files... 02:04:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/70@tmp/config3105448565498894808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:40 ---> docker-login.sh 02:04:40 nexus3.edgexfoundry.org:10001 02:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:40 Removing intermediate container eea3b2275e22 02:04:40 ---> 982893649ef4 02:04:40 Step 10/11 : COPY . . 02:04:40 ---> e23237a852eb 02:04:40 Step 11/11 : RUN ${MAKE} 02:04:40 ---> Running in fb5364bfa8c6 02:04:40 noop 02:04:40 Removing intermediate container fb5364bfa8c6 02:04:40 ---> 9a66533f2a1e 02:04:40 Successfully built 9a66533f2a1e 02:04:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:41 Configure a credential helper to remove this warning. See 02:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:41 02:04:41 Login Succeeded 02:04:41 nexus3.edgexfoundry.org:10002 02:04:41 + docker inspect -f . ci-base-image-x86_64 02:04:41 . [Pipeline] withDockerContainer 02:04:41 prd-ubuntu20.04-docker-8c-8g-34821 does not seem to be running inside a container 02:04:41 $ 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 ******** ci-base-image-x86_64 cat 02:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:41 Configure a credential helper to remove this warning. See 02:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:41 02:04:41 Login Succeeded 02:04:41 nexus3.edgexfoundry.org:10003 02:04:41 $ docker top 9ca68127476ee74d237e4b439f33b58a331f7a609b67a4953293d1f625d41ce1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:04:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:42 + go version 02:04:42 go version go1.17.6 linux/amd64 [Pipeline] } 02:04:42 $ docker stop --time=1 9ca68127476ee74d237e4b439f33b58a331f7a609b67a4953293d1f625d41ce1 02:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:42 Configure a credential helper to remove this warning. See 02:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:42 02:04:42 Login Succeeded 02:04:42 nexus3.edgexfoundry.org:10004 02:04:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:42 Configure a credential helper to remove this warning. See 02:04:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:42 02:04:42 Login Succeeded 02:04:42 docker.io 02:04:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:04:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:04:43 Configure a credential helper to remove this warning. See 02:04:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:04:43 02:04:43 Login Succeeded 02:04:43 ---> docker-login.sh ends 02:04:43 $ docker rm -f 9ca68127476ee74d237e4b439f33b58a331f7a609b67a4953293d1f625d41ce1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 02:04:43 Deleting 1 temporary files [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] echo 02:04:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:04:43 ========================================================= 02:04:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:04:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists 02:04:44 + docker inspect -f . ci-base-image-x86_64 02:04:44 . [Pipeline] withDockerContainer 02:04:44 prd-ubuntu20.04-docker-8c-8g-34821 does not seem to be running inside a container 02:04:44 $ 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 ******** ci-base-image-x86_64 cat 02:04:44 $ docker top 8764bb859765b771176b53f9e03829d06f490598de918a32e5ec8b0294a588d6 -eo pid,comm [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] fileExists [Pipeline] sh 02:04:44 + 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 . 02:04:44 + make test 02:04:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:04:45 Sending build context to Docker daemon 5.202MB 02:04:45 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 02:04:45 Step 2/11 : FROM ${BASE} AS builder 02:04:45 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:04:45 9b3977197b4f: Pulling fs layer 02:04:45 1a89e8eeedd5: Pulling fs layer 02:04:45 94645a83ff95: Pulling fs layer 02:04:45 3f3a8bcf1eab: Pulling fs layer 02:04:45 0c92f367c5e7: Pulling fs layer 02:04:45 3096ccb668a1: Pulling fs layer 02:04:45 e8cf19c19ddd: Pulling fs layer 02:04:45 a4caa8a26152: Pulling fs layer 02:04:45 3f3a8bcf1eab: Waiting 02:04:45 0c92f367c5e7: Waiting 02:04:45 3096ccb668a1: Waiting 02:04:45 e8cf19c19ddd: Waiting 02:04:45 a4caa8a26152: Waiting 02:04:45 94645a83ff95: Verifying Checksum 02:04:45 94645a83ff95: Download complete 02:04:45 1a89e8eeedd5: Verifying Checksum 02:04:45 1a89e8eeedd5: Download complete 02:04:45 0c92f367c5e7: Download complete 02:04:45 3096ccb668a1: Verifying Checksum 02:04:45 3096ccb668a1: Download complete 02:04:45 9b3977197b4f: Download complete 02:04:45 e8cf19c19ddd: Verifying Checksum 02:04:45 e8cf19c19ddd: Download complete 02:04:46 9b3977197b4f: Pull complete 02:04:47 1a89e8eeedd5: Pull complete 02:04:47 94645a83ff95: Pull complete 02:04:47 a4caa8a26152: Verifying Checksum 02:04:47 a4caa8a26152: Download complete 02:04:48 3f3a8bcf1eab: Verifying Checksum 02:04:48 3f3a8bcf1eab: Download complete 02:04:51 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:05:00 3f3a8bcf1eab: Pull complete 02:05:00 0c92f367c5e7: Pull complete 02:05:00 3096ccb668a1: Pull complete 02:05:01 e8cf19c19ddd: Pull complete 02:05:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:05:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:05:03 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:05:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.070s coverage: 23.3% of statements 02:05:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:05:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.076s coverage: 27.6% of statements 02:05:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements 02:05:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.129s coverage: 10.8% of statements 02:05:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.121s coverage: 60.0% of statements 02:05:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:05:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:05:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.104s coverage: 34.8% of statements 02:05:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:05:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.069s coverage: 86.1% of statements 02:05:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:05:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:05:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.109s coverage: 65.1% of statements 02:05:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.800s coverage: 89.2% of statements 02:05:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 02:05:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.063s coverage: 4.7% of statements 02:05:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:05:07 a4caa8a26152: Pull complete 02:05:07 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 02:05:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:05:07 ---> 725f1c02e7f9 02:05:07 Step 3/11 : ARG MAKE=make build 02:05:08 ---> Running in fceaa28d1cc6 02:05:09 Removing intermediate container fceaa28d1cc6 02:05:09 ---> 7b4b193c92cf 02:05:09 Step 4/11 : WORKDIR /device-sdk-go 02:05:09 ---> Running in 380d1619dffb 02:05:09 Removing intermediate container 380d1619dffb 02:05:09 ---> 64195ecbd3f8 02:05:09 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:05:09 ---> Running in d04f1c815c33 02:05:10 Removing intermediate container d04f1c815c33 02:05:10 ---> d65037a829c5 02:05:10 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:05:10 ---> Running in a5c00f5ebc42 02:05:12 Removing intermediate container a5c00f5ebc42 02:05:12 ---> f680e08cd80c 02:05:12 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:05:12 ---> Running in de7b1786ab20 02:05:13 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:05:14 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:05:14 OK: 220 MiB in 52 packages 02:05:15 Removing intermediate container de7b1786ab20 02:05:15 ---> 0443bd7e99d7 02:05:15 Step 8/11 : COPY go.mod vendor* ./ 02:05:16 ---> 282535ff0bd2 02:05:16 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:05:16 ---> Running in d053dc45600f 02:05:20 GO111MODULE=on go vet ./... 02:05:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:05:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:05:24 ./bin/test-attribution-txt.sh [Pipeline] echo 02:05:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:05:25 $ docker stop --time=1 8764bb859765b771176b53f9e03829d06f490598de918a32e5ec8b0294a588d6 02:05:27 $ docker rm -f 8764bb859765b771176b53f9e03829d06f490598de918a32e5ec8b0294a588d6 [Pipeline] // withDockerContainer [Pipeline] sh 02:05:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:05:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:05:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:05:29 + ls -al . 02:05:29 total 296 02:05:29 drwxrwxr-x 11 jenkins jenkins 4096 May 3 02:05 . 02:05:29 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:03 .. 02:05:29 -rw-rw-r-- 1 jenkins jenkins 140 May 3 02:03 .dockerignore 02:05:29 drwxrwxr-x 8 jenkins jenkins 4096 May 3 02:04 .git 02:05:29 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:03 .github 02:05:29 -rw-rw-r-- 1 jenkins jenkins 131 May 3 02:03 .gitignore 02:05:29 -rw-rw-r-- 1 jenkins jenkins 42 May 3 02:03 .golangci.yml 02:05:29 drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:04 .semver 02:05:29 -rw-rw-r-- 1 jenkins jenkins 26321 May 3 02:03 CHANGELOG.md 02:05:29 -rw-rw-r-- 1 jenkins jenkins 677 May 3 02:03 GOVERNANCE.md 02:05:29 -rw-rw-r-- 1 jenkins jenkins 880 May 3 02:03 Jenkinsfile 02:05:29 -rw-rw-r-- 1 jenkins jenkins 11341 May 3 02:03 LICENSE 02:05:29 -rw-rw-r-- 1 jenkins jenkins 2015 May 3 02:03 Makefile 02:05:29 -rw-rw-r-- 1 jenkins jenkins 619 May 3 02:03 OWNERS.md 02:05:29 -rw-rw-r-- 1 jenkins jenkins 4881 May 3 02:03 README.md 02:05:29 -rw-rw-r-- 1 jenkins jenkins 12 May 3 02:04 VERSION 02:05:29 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:03 bin 02:05:29 -rw-r--r-- 1 jenkins jenkins 130819 May 3 02:05 coverage.out 02:05:29 drwxrwxr-x 5 jenkins jenkins 4096 May 3 02:03 example 02:05:29 -rw-rw-r-- 1 jenkins jenkins 3198 May 3 02:03 go.mod 02:05:29 -rw-rw-r-- 1 jenkins jenkins 35003 May 3 02:03 go.sum 02:05:29 drwxrwxr-x 15 jenkins jenkins 4096 May 3 02:03 internal 02:05:29 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:03 openapi 02:05:29 drwxrwxr-x 5 jenkins jenkins 4096 May 3 02:03 pkg 02:05:29 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:03 snap 02:05:29 -rw-rw-r-- 1 jenkins jenkins 222 May 3 02:03 version.go [Pipeline] isUnix [Pipeline] sh 02:05:29 + 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=cc37b9e2c9629ca07e46878051115594cd22d281 --label arch=amd64 --label version=2.2.0-dev.37 . 02:05:29 Sending build context to Docker daemon 9.787MB 02:05:29 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 02:05:29 Step 2/25 : FROM ${BASE} AS builder 02:05:29 ---> 9a66533f2a1e 02:05:29 Step 3/25 : ARG MAKE=make build 02:05:29 ---> Running in ae260ba664ca 02:05:29 Removing intermediate container ae260ba664ca 02:05:29 ---> febff24597c6 02:05:29 Step 4/25 : WORKDIR /device-sdk-go 02:05:29 ---> Running in 628ade847466 02:05:29 Removing intermediate container 628ade847466 02:05:29 ---> 18aa1f14fb11 02:05:29 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:05:29 ---> Running in dee6d2d26de5 02:05:29 Removing intermediate container dee6d2d26de5 02:05:29 ---> e734e005102c 02:05:29 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:05:29 ---> Running in 7106f087ae44 02:05:30 Removing intermediate container 7106f087ae44 02:05:30 ---> 9e84dbb72ad9 02:05:30 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:05:30 ---> Running in 7a8adc60f5e2 02:05:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:05:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:05:31 OK: 221 MiB in 52 packages 02:05:32 Removing intermediate container 7a8adc60f5e2 02:05:32 ---> b849e4db48e3 02:05:32 Step 8/25 : COPY go.mod vendor* ./ 02:05:32 ---> 21ecdf5c4ed9 02:05:32 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:05:32 ---> Running in 29934c68381b 02:05:33 Removing intermediate container 29934c68381b 02:05:33 ---> b4827d0f8fe0 02:05:33 Step 10/25 : COPY . . 02:05:33 ---> 6a2739366981 02:05:33 Step 11/25 : RUN ${MAKE} 02:05:33 ---> Running in a8949377006c 02:05:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.37" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:05:52 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:05:54 Removing intermediate container a8949377006c 02:05:54 ---> 8ece8bda26e1 02:05:54 Step 12/25 : FROM alpine:3.14 02:05:55 3.14: Pulling from library/alpine 02:05:55 8663204ce13b: Pulling fs layer 02:05:55 8663204ce13b: Verifying Checksum 02:05:55 8663204ce13b: Download complete 02:05:55 8663204ce13b: Pull complete 02:05:55 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:05:55 Status: Downloaded newer image for alpine:3.14 02:05:55 ---> e04c818066af 02:05:55 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:05:55 ---> Running in 2175b69cbb2b 02:05:55 Removing intermediate container 2175b69cbb2b 02:05:55 ---> 9df5007006a4 02:05:55 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:05:55 ---> Running in 9fd256dd58c5 02:05:56 Removing intermediate container 9fd256dd58c5 02:05:56 ---> 6ac43e726af5 02:05:56 Step 15/25 : RUN apk add --update --no-cache zeromq 02:05:56 ---> Running in b9ab317a7e0e 02:05:56 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:05:57 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:05:57 (1/5) Installing libgcc (10.3.1_git20210424-r2) 02:05:57 (2/5) Installing libsodium (1.0.18-r0) 02:05:58 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 02:05:58 (4/5) Installing libzmq (4.3.4-r0) 02:05:58 (5/5) Installing zeromq (4.3.4-r0) 02:05:58 Executing busybox-1.33.1-r7.trigger 02:05:58 OK: 8 MiB in 19 packages 02:05:58 Removing intermediate container b9ab317a7e0e 02:05:58 ---> 53971353d14e 02:05:58 Step 16/25 : WORKDIR / 02:05:58 ---> Running in ff75e6979d18 02:05:58 Removing intermediate container ff75e6979d18 02:05:58 ---> b567269e19f9 02:05:58 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:05:58 ---> 29b45af481e6 02:05:58 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:05:59 ---> 1646f5f63f70 02:05:59 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:05:59 ---> 13b2b323b6a8 02:05:59 Step 20/25 : EXPOSE 59999 02:05:59 ---> Running in 62bec53c48cc 02:05:59 Removing intermediate container 62bec53c48cc 02:05:59 ---> 646021f82b2a 02:05:59 Step 21/25 : ENTRYPOINT ["/device-simple"] 02:05:59 ---> Running in 3ebcbc115139 02:05:59 Removing intermediate container 3ebcbc115139 02:05:59 ---> 5d0a624f7214 02:05:59 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:05:59 ---> Running in 72871a85f8c8 02:05:59 Removing intermediate container 72871a85f8c8 02:05:59 ---> 9c6f70dea1b5 02:05:59 Step 23/25 : LABEL arch=amd64 02:06:00 ---> Running in f69342a2e59f 02:06:00 Removing intermediate container f69342a2e59f 02:06:00 ---> 7a968df7e14c 02:06:00 Step 24/25 : LABEL git_sha=cc37b9e2c9629ca07e46878051115594cd22d281 02:06:00 ---> Running in 37ffe318884a 02:06:00 Removing intermediate container 37ffe318884a 02:06:00 ---> 832abc21fe45 02:06:00 Step 25/25 : LABEL version=2.2.0-dev.37 02:06:00 ---> Running in a4b2a77874e6 02:06:00 Removing intermediate container a4b2a77874e6 02:06:00 ---> c7ce7aa297bf 02:06:00 [Warning] One or more build-args [ARCH] were not consumed 02:06:00 Successfully built c7ce7aa297bf 02:06:00 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 02:06:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:00 02:06:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:06:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:01 latest: Pulling from edgex-lftools-log-publisher 02:06:01 5eb5b503b376: Pulling fs layer 02:06:01 5c69ac0246d0: Pulling fs layer 02:06:01 ec43610c2a17: Pulling fs layer 02:06:01 3a2ae6a8a46f: Pulling fs layer 02:06:01 33b1e0a273af: Pulling fs layer 02:06:01 5d3b04190fa2: Pulling fs layer 02:06:01 2f39f015ded8: Pulling fs layer 02:06:01 3a2ae6a8a46f: Waiting 02:06:01 33b1e0a273af: Waiting 02:06:01 5d3b04190fa2: Waiting 02:06:01 2f39f015ded8: Waiting 02:06:01 5c69ac0246d0: Download complete 02:06:01 3a2ae6a8a46f: Verifying Checksum 02:06:01 3a2ae6a8a46f: Download complete 02:06:01 33b1e0a273af: Download complete 02:06:01 5d3b04190fa2: Verifying Checksum 02:06:01 5d3b04190fa2: Download complete 02:06:01 ec43610c2a17: Verifying Checksum 02:06:01 ec43610c2a17: Download complete 02:06:01 5eb5b503b376: Verifying Checksum 02:06:01 5eb5b503b376: Download complete 02:06:01 2f39f015ded8: Download complete 02:06:02 5eb5b503b376: Pull complete 02:06:02 5c69ac0246d0: Pull complete 02:06:03 Removing intermediate container d053dc45600f 02:06:03 ---> 36817ab566ac 02:06:03 Step 10/11 : COPY . . 02:06:03 ---> cb3efbdbc4bf 02:06:03 Step 11/11 : RUN ${MAKE} 02:06:03 ---> Running in 051a72c7f8e7 02:06:03 ec43610c2a17: Pull complete 02:06:03 3a2ae6a8a46f: Pull complete 02:06:03 33b1e0a273af: Pull complete 02:06:03 5d3b04190fa2: Pull complete 02:06:03 noop 02:06:04 Removing intermediate container 051a72c7f8e7 02:06:04 ---> c31d3221a799 02:06:04 Successfully built c31d3221a799 02:06:04 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:06:04 + docker inspect -f . ci-base-image-arm64 02:06:04 . [Pipeline] withDockerContainer 02:06:05 prd-ubuntu20.04-docker-arm64-4c-16g-34766 does not seem to be running inside a container 02:06:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/70 -v /w/workspace/device-sdk-go/70:/w/workspace/device-sdk-go/70:rw,z -v /w/workspace/device-sdk-go/70@tmp:/w/workspace/device-sdk-go/70@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 ******** ci-base-image-arm64 cat 02:06:06 $ docker top 7b8d8d8b7fd4727ebfc695ab7da300e3b3400026d8e5728293552160d9959216 -eo pid,comm [Pipeline] { [Pipeline] sh 02:06:07 + go version 02:06:07 go version go1.17.6 linux/arm64 [Pipeline] } 02:06:07 $ docker stop --time=1 7b8d8d8b7fd4727ebfc695ab7da300e3b3400026d8e5728293552160d9959216 02:06:08 2f39f015ded8: Pull complete 02:06:08 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:06:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:08 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:06:09 $ docker rm -f 7b8d8d8b7fd4727ebfc695ab7da300e3b3400026d8e5728293552160d9959216 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] withDockerContainer 02:06:09 prd-ubuntu20.04-docker-8c-8g-34821 does not seem to be running inside a container 02:06:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 02:06:11 $ docker top eb561c65b083eea1e92b29951cd06b0792f1a6b20354b07e46bce5aeee6ca71e -eo pid,comm [Pipeline] { [Pipeline] // script [Pipeline] } [Pipeline] libraryResource [Pipeline] sh [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:06:11 ---> job-cost.sh 02:06:11 lf-activate-venv: SKIPPING 02:06:11 INFO: No Stack... 02:06:11 + docker inspect -f . ci-base-image-arm64 02:06:11 . [Pipeline] withDockerContainer 02:06:12 prd-ubuntu20.04-docker-arm64-4c-16g-34766 does not seem to be running inside a container 02:06:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/70 -v /w/workspace/device-sdk-go/70:/w/workspace/device-sdk-go/70:rw,z -v /w/workspace/device-sdk-go/70@tmp:/w/workspace/device-sdk-go/70@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 ******** ci-base-image-arm64 cat 02:06:12 INFO: Retrieving Pricing Info for: v3-standard-8 02:06:12 INFO: Archiving Costs 02:06:13 $ docker top 1c85d70e2a1f307726a3eded6ec899ed4cb743eccb42865c1fbc6ffc25c51b99 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] fileExists [Pipeline] sh 02:06:14 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 02:06:14 + cut -d, -f6 [Pipeline] lock 02:06:14 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-70-stack-cost] 02:06:14 Resource [jenkins-edgexfoundry-device-sdk-go-main-70-stack-cost] did not exist. Created. 02:06:14 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:06:14 + echo total: 0.2199999988079071 [Pipeline] stash 02:06:14 Stashed 1 file(s) [Pipeline] } 02:06:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } 02:06:14 $ docker stop --time=1 eb561c65b083eea1e92b29951cd06b0792f1a6b20354b07e46bce5aeee6ca71e 02:06:14 + make test 02:06:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:06:15 $ docker rm -f eb561c65b083eea1e92b29951cd06b0792f1a6b20354b07e46bce5aeee6ca71e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:06:47 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:08:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:08:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:08:38 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:08:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.391s coverage: 23.3% of statements 02:08:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:08:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.388s coverage: 27.6% of statements 02:08:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.339s coverage: 78.9% of statements 02:08:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.261s coverage: 10.8% of statements 02:08:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.412s coverage: 60.0% of statements 02:08:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:08:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:08:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.405s coverage: 34.8% of statements 02:08:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:08:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.392s coverage: 86.1% of statements 02:08:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:08:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:08:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.451s coverage: 65.1% of statements 02:09:00 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.269s coverage: 89.2% of statements 02:09:00 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 02:09:03 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.272s coverage: 4.7% of statements 02:09:03 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:09:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:09:03 GO111MODULE=on go vet ./... 02:10:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:10:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:10:40 ./bin/test-attribution-txt.sh [Pipeline] echo 02:10:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:10:40 $ docker stop --time=1 1c85d70e2a1f307726a3eded6ec899ed4cb743eccb42865c1fbc6ffc25c51b99 02:10:42 $ docker rm -f 1c85d70e2a1f307726a3eded6ec899ed4cb743eccb42865c1fbc6ffc25c51b99 [Pipeline] // withDockerContainer [Pipeline] sh 02:10:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:10:44 Warning: overwriting stash ‘coverage-report’ 02:10:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:10:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:10:45 + ls -al . 02:10:45 total 292 02:10:45 drwxrwxr-x 10 jenkins jenkins 4096 May 3 02:10 . 02:10:45 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:04 .. 02:10:45 -rw-rw-r-- 1 jenkins jenkins 140 May 3 02:04 .dockerignore 02:10:45 drwxrwxr-x 8 jenkins jenkins 4096 May 3 02:04 .git 02:10:45 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:04 .github 02:10:45 -rw-rw-r-- 1 jenkins jenkins 131 May 3 02:04 .gitignore 02:10:45 -rw-rw-r-- 1 jenkins jenkins 42 May 3 02:04 .golangci.yml 02:10:45 -rw-rw-r-- 1 jenkins jenkins 26321 May 3 02:04 CHANGELOG.md 02:10:45 -rw-rw-r-- 1 jenkins jenkins 677 May 3 02:04 GOVERNANCE.md 02:10:45 -rw-rw-r-- 1 jenkins jenkins 880 May 3 02:04 Jenkinsfile 02:10:45 -rw-rw-r-- 1 jenkins jenkins 11341 May 3 02:04 LICENSE 02:10:45 -rw-rw-r-- 1 jenkins jenkins 2015 May 3 02:04 Makefile 02:10:45 -rw-rw-r-- 1 jenkins jenkins 619 May 3 02:04 OWNERS.md 02:10:45 -rw-rw-r-- 1 jenkins jenkins 4881 May 3 02:04 README.md 02:10:45 -rw-rw-r-- 1 jenkins jenkins 12 May 3 02:04 VERSION 02:10:45 drwxrwxr-x 2 jenkins jenkins 4096 May 3 02:04 bin 02:10:45 -rw-r--r-- 1 jenkins jenkins 130819 May 3 02:09 coverage.out 02:10:45 drwxrwxr-x 5 jenkins jenkins 4096 May 3 02:04 example 02:10:45 -rw-rw-r-- 1 jenkins jenkins 3198 May 3 02:04 go.mod 02:10:45 -rw-rw-r-- 1 jenkins jenkins 35003 May 3 02:04 go.sum 02:10:45 drwxrwxr-x 15 jenkins jenkins 4096 May 3 02:04 internal 02:10:45 drwxrwxr-x 3 jenkins jenkins 4096 May 3 02:04 openapi 02:10:45 drwxrwxr-x 5 jenkins jenkins 4096 May 3 02:04 pkg 02:10:45 drwxrwxr-x 4 jenkins jenkins 4096 May 3 02:04 snap 02:10:45 -rw-rw-r-- 1 jenkins jenkins 222 May 3 02:04 version.go [Pipeline] isUnix [Pipeline] sh 02:10:45 + 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=cc37b9e2c9629ca07e46878051115594cd22d281 --label arch=arm64 --label version=2.2.0-dev.37 . 02:10:46 Sending build context to Docker daemon 5.334MB 02:10:46 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 02:10:46 Step 2/25 : FROM ${BASE} AS builder 02:10:46 ---> c31d3221a799 02:10:46 Step 3/25 : ARG MAKE=make build 02:10:46 ---> Running in dc1a937128d9 02:10:46 Removing intermediate container dc1a937128d9 02:10:46 ---> d959134e68ef 02:10:46 Step 4/25 : WORKDIR /device-sdk-go 02:10:46 ---> Running in c851d2d15f6f 02:10:47 Removing intermediate container c851d2d15f6f 02:10:47 ---> df0112dc448a 02:10:47 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:10:47 ---> Running in 6d71903db4d5 02:10:47 Removing intermediate container 6d71903db4d5 02:10:47 ---> 5f4a70ab7fd8 02:10:47 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:10:47 ---> Running in 0a1128da4fcb 02:10:49 Removing intermediate container 0a1128da4fcb 02:10:49 ---> f527e1033b02 02:10:49 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:10:49 ---> Running in 75ce2831dff9 02:10:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:10:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:10:52 OK: 220 MiB in 52 packages 02:10:53 Removing intermediate container 75ce2831dff9 02:10:53 ---> bb26d94253d3 02:10:53 Step 8/25 : COPY go.mod vendor* ./ 02:10:53 ---> 0996b6d12fc4 02:10:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:10:53 ---> Running in 33ea192337b9 02:10:55 Removing intermediate container 33ea192337b9 02:10:55 ---> e52ff4065117 02:10:55 Step 10/25 : COPY . . 02:10:57 ---> bf65e6e610ec 02:10:57 Step 11/25 : RUN ${MAKE} 02:10:57 ---> Running in 066cc254eefe 02:10:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.37" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:13:05 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:13:11 Removing intermediate container 066cc254eefe 02:13:11 ---> 48ef92b8fb99 02:13:11 Step 12/25 : FROM alpine:3.14 02:13:12 3.14: Pulling from library/alpine 02:13:12 455c02918c45: Pulling fs layer 02:13:12 455c02918c45: Verifying Checksum 02:13:12 455c02918c45: Download complete 02:13:13 455c02918c45: Pull complete 02:13:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:13:13 Status: Downloaded newer image for alpine:3.14 02:13:13 ---> ac73e934f311 02:13:13 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:13:13 ---> Running in f1c53f654135 02:13:13 Removing intermediate container f1c53f654135 02:13:13 ---> 99eed8a48b63 02:13:13 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:13:13 ---> Running in 5cf6989f57a1 02:13:15 Removing intermediate container 5cf6989f57a1 02:13:15 ---> 8a5ddf17f1f7 02:13:15 Step 15/25 : RUN apk add --update --no-cache zeromq 02:13:15 ---> Running in 801dbab16664 02:13:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:13:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:13:18 (1/5) Installing libgcc (10.3.1_git20210424-r2) 02:13:18 (2/5) Installing libsodium (1.0.18-r0) 02:13:18 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 02:13:18 (4/5) Installing libzmq (4.3.4-r0) 02:13:18 (5/5) Installing zeromq (4.3.4-r0) 02:13:18 Executing busybox-1.33.1-r7.trigger 02:13:18 OK: 8 MiB in 19 packages 02:13:19 Removing intermediate container 801dbab16664 02:13:19 ---> 3501a308158c 02:13:19 Step 16/25 : WORKDIR / 02:13:19 ---> Running in 367f61855d0f 02:13:19 Removing intermediate container 367f61855d0f 02:13:19 ---> 8578fb0c1956 02:13:19 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:13:20 ---> 870856bd96ae 02:13:20 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:13:21 ---> 55952f8a73bc 02:13:21 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:13:22 ---> 3294ecf52371 02:13:22 Step 20/25 : EXPOSE 59999 02:13:22 ---> Running in 6a1f13ebafe6 02:13:22 Removing intermediate container 6a1f13ebafe6 02:13:22 ---> 6c0aee120fd9 02:13:22 Step 21/25 : ENTRYPOINT ["/device-simple"] 02:13:22 ---> Running in 997af75e1c53 02:13:23 Removing intermediate container 997af75e1c53 02:13:23 ---> d7a7b47cf9b2 02:13:23 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:13:23 ---> Running in 8ebab8e3f41b 02:13:23 Removing intermediate container 8ebab8e3f41b 02:13:23 ---> acb60e39dd13 02:13:23 Step 23/25 : LABEL arch=arm64 02:13:23 ---> Running in cf068d6d25cc 02:13:23 Removing intermediate container cf068d6d25cc 02:13:23 ---> a72ef98d730e 02:13:23 Step 24/25 : LABEL git_sha=cc37b9e2c9629ca07e46878051115594cd22d281 02:13:23 ---> Running in b3e58211a0b7 02:13:24 Removing intermediate container b3e58211a0b7 02:13:24 ---> 31decbf50026 02:13:24 Step 25/25 : LABEL version=2.2.0-dev.37 02:13:24 ---> Running in bc50b697d24e 02:13:24 Removing intermediate container bc50b697d24e 02:13:24 ---> 5078eddcd70a 02:13:24 [Warning] One or more build-args [ARCH] were not consumed 02:13:24 Successfully built 5078eddcd70a 02:13:24 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 02:13:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:25 02:13:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:13:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:25 arm64: Pulling from edgex-lftools-log-publisher 02:13:25 8998bd30e6a1: Pulling fs layer 02:13:25 04944245beec: Pulling fs layer 02:13:25 699f458cf7ca: Pulling fs layer 02:13:25 765212b225bb: Pulling fs layer 02:13:25 f23df028b6ca: Pulling fs layer 02:13:25 d65c8cfc05b1: Pulling fs layer 02:13:25 2437ff75d9bd: Pulling fs layer 02:13:25 f23df028b6ca: Waiting 02:13:25 d65c8cfc05b1: Waiting 02:13:25 2437ff75d9bd: Waiting 02:13:25 765212b225bb: Waiting 02:13:25 04944245beec: Verifying Checksum 02:13:25 04944245beec: Download complete 02:13:25 765212b225bb: Verifying Checksum 02:13:25 765212b225bb: Download complete 02:13:25 f23df028b6ca: Verifying Checksum 02:13:25 f23df028b6ca: Download complete 02:13:25 d65c8cfc05b1: Verifying Checksum 02:13:25 d65c8cfc05b1: Download complete 02:13:26 699f458cf7ca: Verifying Checksum 02:13:26 699f458cf7ca: Download complete 02:13:26 8998bd30e6a1: Verifying Checksum 02:13:26 8998bd30e6a1: Download complete 02:13:28 2437ff75d9bd: Verifying Checksum 02:13:28 2437ff75d9bd: Download complete 02:13:30 8998bd30e6a1: Pull complete 02:13:31 04944245beec: Pull complete 02:13:32 699f458cf7ca: Pull complete 02:13:32 765212b225bb: Pull complete 02:13:33 f23df028b6ca: Pull complete 02:13:34 d65c8cfc05b1: Pull complete 02:13:49 2437ff75d9bd: Pull complete 02:13:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:13:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:13:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:13:49 prd-ubuntu20.04-docker-arm64-4c-16g-34766 does not seem to be running inside a container 02:13:49 $ 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/70 -v /w/workspace/device-sdk-go/70:/w/workspace/device-sdk-go/70:rw,z -v /w/workspace/device-sdk-go/70@tmp:/w/workspace/device-sdk-go/70@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:arm64 cat 02:13:52 $ docker top b2ca431e2eee8ce4d5043b28c8e07585f704850a42fd37ff4ab2645c1b97dadb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:13:53 ---> job-cost.sh 02:13:53 lf-activate-venv: SKIPPING 02:13:53 INFO: No Stack... 02:13:53 INFO: Retrieving Pricing Info for: v3-standard-4 02:13:54 INFO: Archiving Costs [Pipeline] sh 02:13:55 + cat /w/workspace/device-sdk-go/70/archives/cost.csv 02:13:55 + cut -d, -f6 [Pipeline] lock 02:13:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-70-stack-cost] 02:13:55 Resource [jenkins-edgexfoundry-device-sdk-go-main-70-stack-cost] did not exist. Created. 02:13:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-70-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:13:56 /w/workspace/device-sdk-go/70@tmp/durable-e94a6f27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:13:57 + echo total: 0.10999999940395355 [Pipeline] stash 02:13:57 Warning: overwriting stash ‘stack-cost’ 02:13:57 Stashed 1 file(s) [Pipeline] } 02:13:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-70-stack-cost] [Pipeline] // lock [Pipeline] } 02:13:57 $ docker stop --time=1 b2ca431e2eee8ce4d5043b28c8e07585f704850a42fd37ff4ab2645c1b97dadb 02:13:58 $ docker rm -f b2ca431e2eee8ce4d5043b28c8e07585f704850a42fd37ff4ab2645c1b97dadb [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 02:13:59 provisioning config files... 02:13:59 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8050452906114906452tmp [Pipeline] { [Pipeline] sh 02:13:59 + set +x 02:13:59 + curl -s https://codecov.io/bash 02:13:59 + bash -s -- 02:13:59 02:13:59 _____ _ 02:13:59 / ____| | | 02:13:59 | | ___ __| | ___ ___ _____ __ 02:13:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:13:59 | |___| (_) | (_| | __/ (_| (_) \ V / 02:13:59 \_____\___/ \__,_|\___|\___\___/ \_/ 02:13:59 Bash-1.0.6 02:13:59 02:13:59 02:13:59 ==> git version 2.25.1 found 02:13:59 ==> 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 02:13:59 Release-Date: 2020-01-08 02:13:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:13:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:13:59 ==> Jenkins CI detected. 02:13:59 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 02:13:59 project root: . 02:13:59 --> token set from env 02:13:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:13:59 ==> Running gcov in . (disable via -X gcov) 02:13:59 ==> Python coveragepy not found 02:13:59 ==> Searching for coverage reports in: 02:13:59 + . 02:13:59 -> Found 1 reports 02:13:59 ==> Detecting git/mercurial file structure 02:13:59 ==> Reading reports 02:13:59 + ./coverage.out bytes=130819 02:13:59 ==> Appending adjustments 02:13:59 https://docs.codecov.io/docs/fixing-reports 02:14:00 + Found adjustments 02:14:00 ==> Gzipping contents 02:14:00 20K /tmp/codecov.YEsuj3.gz 02:14:00 ==> Uploading reports 02:14:00 url: https://codecov.io 02:14:00 query: branch=main&commit=cc37b9e2c9629ca07e46878051115594cd22d281&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:14:00 -> Pinging Codecov 02:14:00 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=cc37b9e2c9629ca07e46878051115594cd22d281&build=70&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F70%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:14:00 -> Uploading to 02:14:00 https://storage.googleapis.com/codecov/v4/raw/2022-05-03/7E55EF52A471D76F132DFD9A03CDDE97/cc37b9e2c9629ca07e46878051115594cd22d281/3e1074a8-0183-4161-b928-851a43471c2e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T021400Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a5fb82f51ad9be116e0c121bc079476c8fae9b74f415baff967b5e782493c7d0 02:14:00 % Total % Received % Xferd Average Speed Time Time Time Current 02:14:00 Dload Upload Total Spent Left Speed 02:14:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16851 0 0 100 16851 0 74233 --:--:-- --:--:-- --:--:-- 74233 02:14:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cc37b9e2c9629ca07e46878051115594cd22d281 [Pipeline] } 02:14:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:14:01 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:14:01 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:14:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:14:01 02:14:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:14:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:14:01 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:14:01 188c0c94c7c5: Pulling fs layer 02:14:01 0ef7d3d256c8: Pulling fs layer 02:14:01 de9db76c5a1d: Pulling fs layer 02:14:01 0eba1c9be4d2: Pulling fs layer 02:14:01 0d57e429df01: Pulling fs layer 02:14:01 4e4be7b47b0d: Pulling fs layer 02:14:01 0eba1c9be4d2: Waiting 02:14:01 0d57e429df01: Waiting 02:14:01 e1f770b5df2f: Pulling fs layer 02:14:01 85a0685a4137: Pulling fs layer 02:14:01 e1f770b5df2f: Waiting 02:14:01 4e4be7b47b0d: Waiting 02:14:01 85a0685a4137: Waiting 02:14:01 de9db76c5a1d: Download complete 02:14:01 0ef7d3d256c8: Download complete 02:14:01 0d57e429df01: Verifying Checksum 02:14:01 0d57e429df01: Download complete 02:14:01 4e4be7b47b0d: Download complete 02:14:01 188c0c94c7c5: Verifying Checksum 02:14:01 188c0c94c7c5: Download complete 02:14:01 188c0c94c7c5: Pull complete 02:14:01 e1f770b5df2f: Verifying Checksum 02:14:01 e1f770b5df2f: Download complete 02:14:01 0ef7d3d256c8: Pull complete 02:14:02 de9db76c5a1d: Pull complete 02:14:02 0eba1c9be4d2: Verifying Checksum 02:14:02 0eba1c9be4d2: Download complete 02:14:02 85a0685a4137: Verifying Checksum 02:14:02 85a0685a4137: Download complete 02:14:06 0eba1c9be4d2: Pull complete 02:14:06 0d57e429df01: Pull complete 02:14:06 4e4be7b47b0d: Pull complete 02:14:06 e1f770b5df2f: Pull complete 02:14:11 85a0685a4137: Pull complete 02:14:11 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:14:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:14:11 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:14:11 prd-ubuntu20.04-docker-8c-8g-34821 does not seem to be running inside a container 02:14:11 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:14:13 $ docker top f2cf641e7870ed854f5296fe1b7a430b95c72737ea8a7b0ef1d4ac1ace42d71a -eo pid,comm [Pipeline] { [Pipeline] echo 02:14:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:14:13 + set -o pipefail 02:14:13 + snyk monitor '--org=edgex-jenkins' 02:14:18 02:14:18 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 02:14:18 02:14:18 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/18edc26c-b8d6-4564-84a3-ce55ee527693 02:14:18 02:14:18 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:14:18 02:14:18 [Pipeline] } 02:14:18 $ docker stop --time=1 f2cf641e7870ed854f5296fe1b7a430b95c72737ea8a7b0ef1d4ac1ace42d71a 02:14:21 $ docker rm -f f2cf641e7870ed854f5296fe1b7a430b95c72737ea8a7b0ef1d4ac1ace42d71a [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 02:14:21 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:21 provisioning config files... 02:14:21 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8728041373383863111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:14:21 --> edgex-publish-swagger.sh 02:14:21 === Publish openapi/v2 API === 02:14:21 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 02:14:21 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 02:14:21 % Total % Received % Xferd Average Speed Time Time Time Current 02:14:21 Dload Upload Total Spent Left Speed 02:14:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53282 0 0 100 53282 0 84041 --:--:-- --:--:-- --:--:-- 83908 02:14:22 02:14:22 [Pipeline] } 02:14:22 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 02:14:22 + git log --format=format:%s -1 cc37b9e2c9629ca07e46878051115594cd22d281 [Pipeline] sh 02:14:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:14:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:14:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:14:23 . [Pipeline] withDockerContainer 02:14:23 prd-ubuntu20.04-docker-8c-8g-34821 does not seem to be running inside a container 02:14:23 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:14:24 $ docker top a3ecc27c04a04b04f5285a88f507146fe7e68234405ffee998a23fd0ca0ec746 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:14:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:14:24 [ssh-agent] Looking for ssh-agent implementation... 02:14:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:14:24 $ docker exec a3ecc27c04a04b04f5285a88f507146fe7e68234405ffee998a23fd0ca0ec746 ssh-agent 02:14:24 SSH_AUTH_SOCK=/tmp/ssh-AHR775eGbRhS/agent.32 02:14:24 SSH_AGENT_PID=38 02:14:24 Running ssh-add (command line suppressed) 02:14:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4283365584353706237.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4283365584353706237.key) 02:14:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:14:24 + git semver tag 02:14:25 2022-05-03 02:14:25,004 [run_tag] DEBUG tag force:False 02:14:25 2022-05-03 02:14:25,004 [check_head_tag] DEBUG check head tag 02:14:25 2022-05-03 02:14:25,005 [execute] INFO git cat-file --batch-check 02:14:25 2022-05-03 02:14:25,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 02:14:25 2022-05-03 02:14:25,009 [execute] INFO git cat-file --batch 02:14:25 2022-05-03 02:14:25,009 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 02:14:25 2022-05-03 02:14:25,035 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:14:25 2022-05-03 02:14:25,036 [execute] INFO git tag -a v2.2.0-dev.37 -m v2.2.0-dev.37 02:14:25 2022-05-03 02:14:25,036 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.37', '-m', 'v2.2.0-dev.37'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 02:14:25 2022-05-03 02:14:25,041 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:14:25 2.2.0-dev.37 [Pipeline] } 02:14:25 $ docker exec --env ******** --env ******** a3ecc27c04a04b04f5285a88f507146fe7e68234405ffee998a23fd0ca0ec746 ssh-agent -k 02:14:25 unset SSH_AUTH_SOCK; 02:14:25 unset SSH_AGENT_PID; 02:14:25 echo Agent pid 38 killed; 02:14:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:14:25 + git semver [Pipeline] } 02:14:25 $ docker stop --time=1 a3ecc27c04a04b04f5285a88f507146fe7e68234405ffee998a23fd0ca0ec746 02:14:27 $ docker rm -f a3ecc27c04a04b04f5285a88f507146fe7e68234405ffee998a23fd0ca0ec746 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:14:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:14:27 02:14:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:14:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:14:27 0.23.1-centos7: Pulling from edgex-lftools 02:14:27 ab5ef0e58194: Pulling fs layer 02:14:27 9712f1f96733: Pulling fs layer 02:14:27 63f879dbbcfc: Pulling fs layer 02:14:27 0d9ebad4ef96: Pulling fs layer 02:14:27 e9a5061849ea: Pulling fs layer 02:14:27 d747dcd14b5f: Pulling fs layer 02:14:27 2de7ff778b66: Pulling fs layer 02:14:27 0d9ebad4ef96: Waiting 02:14:27 e9a5061849ea: Waiting 02:14:27 d747dcd14b5f: Waiting 02:14:27 2de7ff778b66: Waiting 02:14:27 9712f1f96733: Verifying Checksum 02:14:27 9712f1f96733: Download complete 02:14:28 63f879dbbcfc: Verifying Checksum 02:14:28 63f879dbbcfc: Download complete 02:14:28 e9a5061849ea: Verifying Checksum 02:14:28 e9a5061849ea: Download complete 02:14:28 d747dcd14b5f: Verifying Checksum 02:14:28 d747dcd14b5f: Download complete 02:14:28 ab5ef0e58194: Download complete 02:14:28 0d9ebad4ef96: Download complete 02:14:28 2de7ff778b66: Verifying Checksum 02:14:28 2de7ff778b66: Download complete 02:14:31 ab5ef0e58194: Pull complete 02:14:31 9712f1f96733: Pull complete 02:14:31 63f879dbbcfc: Pull complete 02:14:35 0d9ebad4ef96: Pull complete 02:14:35 e9a5061849ea: Pull complete 02:14:35 d747dcd14b5f: Pull complete 02:14:36 2de7ff778b66: Pull complete 02:14:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:14:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:14:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:14:36 prd-ubuntu20.04-docker-8c-8g-34821 does not seem to be running inside a container 02:14:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:14:39 $ docker top f5badbde3a3b544833e4cc9af32cb03b67d00d07ae454698a26bfedaf0fb6f2a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:14:39 provisioning config files... 02:14:39 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4787414542764835944tmp 02:14:39 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2252466289953941023tmp 02:14:39 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5502038329965306866tmp [Pipeline] { [Pipeline] echo 02:14:39 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:14:39 ---> sigul-configuration.sh 02:14:39 gpg: directory `/root/.gnupg' created 02:14:39 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:14:39 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:14:39 gpg: keyring `/root/.gnupg/secring.gpg' created 02:14:39 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:14:39 gpg: CAST5 encrypted data 02:14:39 gpg: encrypted with 1 passphrase 02:14:39 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:14:40 + mkdir /home/jenkins 02:14:40 + mkdir /home/jenkins/sigul [Pipeline] sh 02:14:40 + 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 02:14:40 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:14:40 ---> sigul-install.sh 02:14:40 Sigul already installed; skipping installation. [Pipeline] sh 02:14:41 + git tag --list 02:14:41 0.7.1 02:14:41 delhi-tag 02:14:41 v1.0.0 02:14:41 v1.1.0 02:14:41 v1.1.1 02:14:41 v1.1.2 02:14:41 v1.2.0 02:14:41 v1.2.1 02:14:41 v1.2.2 02:14:41 v1.2.3 02:14:41 v1.3.0 02:14:41 v1.4.0 02:14:41 v2.0.0 02:14:41 v2.0.1-dev.1 02:14:41 v2.0.1-dev.10 02:14:41 v2.0.1-dev.11 02:14:41 v2.0.1-dev.12 02:14:41 v2.0.1-dev.13 02:14:41 v2.0.1-dev.14 02:14:41 v2.0.1-dev.15 02:14:41 v2.0.1-dev.16 02:14:41 v2.0.1-dev.17 02:14:41 v2.0.1-dev.18 02:14:41 v2.0.1-dev.19 02:14:41 v2.0.1-dev.2 02:14:41 v2.0.1-dev.20 02:14:41 v2.0.1-dev.21 02:14:41 v2.0.1-dev.22 02:14:41 v2.0.1-dev.23 02:14:41 v2.0.1-dev.24 02:14:41 v2.0.1-dev.25 02:14:41 v2.0.1-dev.26 02:14:41 v2.0.1-dev.27 02:14:41 v2.0.1-dev.28 02:14:41 v2.0.1-dev.29 02:14:41 v2.0.1-dev.3 02:14:41 v2.0.1-dev.30 02:14:41 v2.0.1-dev.31 02:14:41 v2.0.1-dev.32 02:14:41 v2.0.1-dev.33 02:14:41 v2.0.1-dev.4 02:14:41 v2.0.1-dev.5 02:14:41 v2.0.1-dev.6 02:14:41 v2.0.1-dev.7 02:14:41 v2.0.1-dev.8 02:14:41 v2.0.1-dev.9 02:14:41 v2.1.0 02:14:41 v2.1.1-dev.1 02:14:41 v2.2.0-dev.1 02:14:41 v2.2.0-dev.10 02:14:41 v2.2.0-dev.11 02:14:41 v2.2.0-dev.12 02:14:41 v2.2.0-dev.13 02:14:41 v2.2.0-dev.14 02:14:41 v2.2.0-dev.15 02:14:41 v2.2.0-dev.16 02:14:41 v2.2.0-dev.17 02:14:41 v2.2.0-dev.18 02:14:41 v2.2.0-dev.19 02:14:41 v2.2.0-dev.2 02:14:41 v2.2.0-dev.20 02:14:41 v2.2.0-dev.21 02:14:41 v2.2.0-dev.22 02:14:41 v2.2.0-dev.23 02:14:41 v2.2.0-dev.24 02:14:41 v2.2.0-dev.25 02:14:41 v2.2.0-dev.26 02:14:41 v2.2.0-dev.27 02:14:41 v2.2.0-dev.28 02:14:41 v2.2.0-dev.29 02:14:41 v2.2.0-dev.3 02:14:41 v2.2.0-dev.30 02:14:41 v2.2.0-dev.31 02:14:41 v2.2.0-dev.32 02:14:41 v2.2.0-dev.33 02:14:41 v2.2.0-dev.34 02:14:41 v2.2.0-dev.35 02:14:41 v2.2.0-dev.36 02:14:41 v2.2.0-dev.37 02:14:41 v2.2.0-dev.4 02:14:41 v2.2.0-dev.5 02:14:41 v2.2.0-dev.6 02:14:41 v2.2.0-dev.7 02:14:41 v2.2.0-dev.8 02:14:41 v2.2.0-dev.9 [Pipeline] sh 02:14:41 + lftools sign git-tag v2.2.0-dev.37 02:14:41 Signing Git tag with Sigul... 02:14:41 Signing v2.2.0-dev.37 [Pipeline] echo 02:14:42 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:14:42 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:14:42 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:14:42 $ docker stop --time=1 f5badbde3a3b544833e4cc9af32cb03b67d00d07ae454698a26bfedaf0fb6f2a 02:14:44 $ docker rm -f f5badbde3a3b544833e4cc9af32cb03b67d00d07ae454698a26bfedaf0fb6f2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:14:44 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:14:44 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:14:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:14:44 . [Pipeline] withDockerContainer 02:14:44 prd-ubuntu20.04-docker-8c-8g-34821 does not seem to be running inside a container 02:14:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:14:45 $ docker top 04274a412cab80008fa882bdbcd910e8f86923b7f313d9845fe41dda7ce7af3a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:14:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:14:45 [ssh-agent] Looking for ssh-agent implementation... 02:14:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:14:45 $ docker exec 04274a412cab80008fa882bdbcd910e8f86923b7f313d9845fe41dda7ce7af3a ssh-agent 02:14:45 SSH_AUTH_SOCK=/tmp/ssh-pt98sEOdsUMj/agent.32 02:14:45 SSH_AGENT_PID=38 02:14:45 Running ssh-add (command line suppressed) 02:14:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_993074787159294573.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_993074787159294573.key) 02:14:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:14:46 + git semver bump pre 02:14:46 2022-05-03 02:14:46,394 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:14:46 2022-05-03 02:14:46,394 [bump_version] DEBUG bumping version:2.2.0-dev.37 on axis:pre with prefix:dev 02:14:46 2022-05-03 02:14:46,394 [bump_version] DEBUG bumped version:2.2.0-dev.38 02:14:46 2022-05-03 02:14:46,394 [write_version] DEBUG write version:2.2.0-dev.38 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 02:14:46 2022-05-03 02:14:46,394 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:14:46 2022-05-03 02:14:46,394 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:14:46 2022-05-03 02:14:46,397 [execute] INFO git cat-file --batch-check 02:14:46 2022-05-03 02:14:46,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:14:46 2022-05-03 02:14:46,402 [execute] INFO git cat-file --batch 02:14:46 2022-05-03 02:14:46,402 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:14:46 2022-05-03 02:14:46,406 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:14:46 2.2.0-dev.38 [Pipeline] } 02:14:46 $ docker exec --env ******** --env ******** 04274a412cab80008fa882bdbcd910e8f86923b7f313d9845fe41dda7ce7af3a ssh-agent -k 02:14:46 unset SSH_AUTH_SOCK; 02:14:46 unset SSH_AGENT_PID; 02:14:46 echo Agent pid 38 killed; 02:14:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:14:46 + git semver [Pipeline] } 02:14:47 $ docker stop --time=1 04274a412cab80008fa882bdbcd910e8f86923b7f313d9845fe41dda7ce7af3a 02:14:48 $ docker rm -f 04274a412cab80008fa882bdbcd910e8f86923b7f313d9845fe41dda7ce7af3a [Pipeline] // withDockerContainer [Pipeline] sh 02:14:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:14:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:14:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 02:14:49 . [Pipeline] withDockerContainer 02:14:49 prd-ubuntu20.04-docker-8c-8g-34821 does not seem to be running inside a container 02:14:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 02:14:49 $ docker top 5d3dc1b0e180a6164a6e91ca62da0aa0c8e9e2e65f4d3a86f20635f9249f86e5 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:14:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:14:49 [ssh-agent] Looking for ssh-agent implementation... 02:14:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:14:49 $ docker exec 5d3dc1b0e180a6164a6e91ca62da0aa0c8e9e2e65f4d3a86f20635f9249f86e5 ssh-agent 02:14:50 SSH_AUTH_SOCK=/tmp/ssh-pB5PxSAYpwXb/agent.32 02:14:50 SSH_AGENT_PID=39 02:14:50 Running ssh-add (command line suppressed) 02:14:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3763081686887611700.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3763081686887611700.key) 02:14:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:14:50 + git semver push 02:14:50 2022-05-03 02:14:50,659 [run_push] DEBUG push 02:14:50 2022-05-03 02:14:50,659 [execute] INFO git push origin semver 02:14:50 2022-05-03 02:14:50,659 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:14:51 2022-05-03 02:14:51,417 [run_push] DEBUG push all version tags 02:14:51 2022-05-03 02:14:51,418 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:14:51 2022-05-03 02:14:51,418 [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) 02:14:52 2022-05-03 02:14:52,099 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:14:52 2.2.0-dev.38 [Pipeline] } 02:14:52 $ docker exec --env ******** --env ******** 5d3dc1b0e180a6164a6e91ca62da0aa0c8e9e2e65f4d3a86f20635f9249f86e5 ssh-agent -k 02:14:52 unset SSH_AUTH_SOCK; 02:14:52 unset SSH_AGENT_PID; 02:14:52 echo Agent pid 39 killed; 02:14:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:14:52 + git semver [Pipeline] } 02:14:52 $ docker stop --time=1 5d3dc1b0e180a6164a6e91ca62da0aa0c8e9e2e65f4d3a86f20635f9249f86e5 02:14:54 $ docker rm -f 5d3dc1b0e180a6164a6e91ca62da0aa0c8e9e2e65f4d3a86f20635f9249f86e5 [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 02:14:54 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 02:14:54 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:14:54 total 16 02:14:54 drwxr-xr-x 3 root root 4096 May 3 02:06 . 02:14:54 drwxrwxr-x 12 jenkins jenkins 4096 May 3 02:14 .. 02:14:54 drwxr-xr-x 2 root root 4096 May 3 02:06 cost 02:14:54 -rw-r--r-- 1 root root 83 May 3 02:06 cost.csv 02:14:54 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:14:54 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:14:54 total 16 02:14:54 drwxr-xr-x 3 jenkins jenkins 4096 May 3 02:06 . 02:14:54 drwxrwxr-x 12 jenkins jenkins 4096 May 3 02:14 .. 02:14:54 drwxr-xr-x 2 jenkins jenkins 4096 May 3 02:06 cost 02:14:54 -rw-r--r-- 1 jenkins jenkins 83 May 3 02:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:14:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:14:56 ---> package-listing.sh 02:14:56 ++ facter osfamily 02:14:56 ++ tr '[:upper:]' '[:lower:]' 02:14:56 + OS_FAMILY=debian 02:14:56 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 02:14:56 + START_PACKAGES=/tmp/packages_start.txt 02:14:56 + END_PACKAGES=/tmp/packages_end.txt 02:14:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:14:56 + PACKAGES=/tmp/packages_start.txt 02:14:56 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 02:14:56 + PACKAGES=/tmp/packages_end.txt 02:14:56 + case "${OS_FAMILY}" in 02:14:56 + dpkg -l 02:14:56 + grep '^ii' 02:14:56 + '[' -f /tmp/packages_start.txt ']' 02:14:56 + '[' -f /tmp/packages_end.txt ']' 02:14:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:14:56 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 02:14:56 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 02:14:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 02:14:56 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 02:14:56 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:14:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:14:57 . [Pipeline] withDockerContainer 02:14:57 prd-ubuntu20.04-docker-8c-8g-34821 does not seem to be running inside a container 02:14:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:14:57 $ docker top f88db4d631fc0d35fefceb8598b5cdcc91b96ebfb9a0a4f45f46516adf7fdeea -eo pid,comm [Pipeline] { [Pipeline] sh 02:14:58 + touch /tmp/pre-build-complete [Pipeline] sh 02:14:58 + mkdir -p /var/log/sysstat [Pipeline] sh 02:14:58 + ls /var/log/sa-host 02:14:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:14:58 provisioning config files... 02:14:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3201719781712747789tmp [Pipeline] { [Pipeline] echo 02:14:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:14:59 ---> create-netrc.sh [Pipeline] } 02:14:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:14:59 ---> python-tools-install.sh [Pipeline] echo 02:14:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:14:59 ---> sudo-logs.sh 02:14:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:14:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:15:00 ---> job-cost.sh 02:15:00 lf-activate-venv: SKIPPING 02:15:00 DEBUG: total: 0.2199999988079071 02:15:00 INFO: Retrieving Stack Cost... 02:15:00 INFO: Retrieving Pricing Info for: v3-standard-8 02:15:01 INFO: Archiving Costs [Pipeline] echo 02:15:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:15:01 ---> logs-deploy.sh 02:15:01 lf-activate-venv: SKIPPING 02:15:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/70 02:15:01 INFO: archiving workspace using pattern(s): 02:15:02 Archives upload complete. 02:15:02 INFO: archiving logs to Nexus 02:15:03 ---> uname -a: 02:15:03 Linux prd-ubuntu20-04-docker-8c-8g-34821 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux 02:15:03 02:15:03 02:15:03 ---> lscpu: 02:15:03 Architecture: x86_64 02:15:03 CPU op-mode(s): 32-bit, 64-bit 02:15:03 Byte Order: Little Endian 02:15:03 Address sizes: 40 bits physical, 48 bits virtual 02:15:03 CPU(s): 8 02:15:03 On-line CPU(s) list: 0-7 02:15:03 Thread(s) per core: 1 02:15:03 Core(s) per socket: 1 02:15:03 Socket(s): 8 02:15:03 NUMA node(s): 1 02:15:03 Vendor ID: AuthenticAMD 02:15:03 CPU family: 23 02:15:03 Model: 49 02:15:03 Model name: AMD EPYC-Rome Processor 02:15:03 Stepping: 0 02:15:03 CPU MHz: 2799.998 02:15:03 BogoMIPS: 5599.99 02:15:03 Virtualization: AMD-V 02:15:03 Hypervisor vendor: KVM 02:15:03 Virtualization type: full 02:15:03 L1d cache: 256 KiB 02:15:03 L1i cache: 256 KiB 02:15:03 L2 cache: 4 MiB 02:15:03 L3 cache: 128 MiB 02:15:03 NUMA node0 CPU(s): 0-7 02:15:03 Vulnerability Itlb multihit: Not affected 02:15:03 Vulnerability L1tf: Not affected 02:15:03 Vulnerability Mds: Not affected 02:15:03 Vulnerability Meltdown: Not affected 02:15:03 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:15:03 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:15:03 Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:15:03 Vulnerability Srbds: Not affected 02:15:03 Vulnerability Tsx async abort: Not affected 02:15:03 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:15:03 02:15:03