Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ee3075b8714f7f80e63bfc34ce21b756d008dcba 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-ssh18148397899264299584.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-ssh2564093050419834299.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-rest-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-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16004219059027845422.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-ssh3711218933177812905.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-rest-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-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16222388956282235711.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 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-44862 in /w/workspace/edgexfoundry_device-rest-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-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision ee3075b8714f7f80e63bfc34ce21b756d008dcba (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-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 ee3075b8714f7f80e63bfc34ce21b756d008dcba # timeout=10 Commit message: "Merge pull request #185 from jpwhitemn/kamakura-rls-notes" > git rev-list --no-walk 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:33:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:33:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:33:48 ========================================================= 06:33:48 EdgeX Global Pipelines Version Info 06:33:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:33:49 ------------------- 06:33:49 stable info: 06:33:49 ------------------- 06:33:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:33:49 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 06:33:49 Message: update stable to v1.0.227 06:33:49 ------------------- 06:33:49 experimental info: 06:33:49 ------------------- 06:33:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:33:49 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 06:33:49 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:33:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:33:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:33:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:33:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:33:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:33:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 06:33:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:33:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ee3075b [Pipeline] echo 06:33:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:33:50 provisioning config files... 06:33:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1617041994393402080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:33:50 ---> docker-login.sh 06:33:50 nexus3.edgexfoundry.org:10001 06:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:50 Configure a credential helper to remove this warning. See 06:33:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:50 06:33:50 Login Succeeded 06:33:50 nexus3.edgexfoundry.org:10002 06:33:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:51 Configure a credential helper to remove this warning. See 06:33:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:51 06:33:51 Login Succeeded 06:33:51 nexus3.edgexfoundry.org:10003 06:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:51 Configure a credential helper to remove this warning. See 06:33:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:51 06:33:51 Login Succeeded 06:33:51 nexus3.edgexfoundry.org:10004 06:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:51 Configure a credential helper to remove this warning. See 06:33:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:51 06:33:51 Login Succeeded 06:33:51 docker.io 06:33:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:33:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:33:52 Configure a credential helper to remove this warning. See 06:33:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:33:52 06:33:52 Login Succeeded 06:33:52 ---> docker-login.sh ends [Pipeline] } 06:33:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:33:52 + git rev-list -1 --merges ee3075b8714f7f80e63bfc34ce21b756d008dcba~1..ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] echo 06:33:52 -----------> git rev-list -1 --merges ee3075b8714f7f80e63bfc34ce21b756d008dcba~1..ee3075b8714f7f80e63bfc34ce21b756d008dcba ee3075b8714f7f80e63bfc34ce21b756d008dcba 06:33:52 ee3075b8714f7f80e63bfc34ce21b756d008dcba [false] [Pipeline] sh 06:33:52 + git log --format=format:%s -1 ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] echo 06:33:52 ========================================================= 06:33:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:33:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:33:53 + git log --format=format:%s -1 ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] echo 06:33:53 [semverPrep] GIT_COMMIT: ee3075b8714f7f80e63bfc34ce21b756d008dcba, Commit Message: Merge pull request #185 from jpwhitemn/kamakura-rls-notes [Pipeline] echo 06:33:53 [semverPrep] This is not a build commit. [Pipeline] sh 06:33:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:33:53 + grep -v github /etc/ssh/ssh_known_hosts 06:33:53 + [ -e /tmp/ssh_known_hosts ] 06:33:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:33:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:33:53 + sudo tee -a /etc/ssh/ssh_known_hosts 06:33:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:33:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:33:54 06:33:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 06:33:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:33:54 latest: Pulling from edgex-devops/py-git-semver 06:33:54 1fe172e4850f: Pulling fs layer 06:33:54 caf521ccaac6: Pulling fs layer 06:33:54 3ead6fa29328: Pulling fs layer 06:33:54 5c2a1cbceb83: Pulling fs layer 06:33:54 a8d5f1318db7: Pulling fs layer 06:33:54 c427282e49a2: Pulling fs layer 06:33:54 1827001aaf11: Pulling fs layer 06:33:54 5c2a1cbceb83: Waiting 06:33:54 0714d37db230: Pulling fs layer 06:33:54 ac28cf19c067: Pulling fs layer 06:33:54 ca983d60f3e2: Pulling fs layer 06:33:54 1827001aaf11: Waiting 06:33:54 ac28cf19c067: Waiting 06:33:54 0714d37db230: Waiting 06:33:54 9f894cec8388: Pulling fs layer 06:33:54 c427282e49a2: Waiting 06:33:54 ca983d60f3e2: Waiting 06:33:54 9f894cec8388: Waiting 06:33:54 a8d5f1318db7: Waiting 06:33:54 caf521ccaac6: Verifying Checksum 06:33:54 caf521ccaac6: Download complete 06:33:54 5c2a1cbceb83: Verifying Checksum 06:33:54 5c2a1cbceb83: Download complete 06:33:54 a8d5f1318db7: Verifying Checksum 06:33:54 a8d5f1318db7: Download complete 06:33:54 c427282e49a2: Verifying Checksum 06:33:54 c427282e49a2: Download complete 06:33:54 3ead6fa29328: Verifying Checksum 06:33:54 3ead6fa29328: Download complete 06:33:54 0714d37db230: Verifying Checksum 06:33:54 0714d37db230: Download complete 06:33:54 ac28cf19c067: Verifying Checksum 06:33:54 ac28cf19c067: Download complete 06:33:54 ca983d60f3e2: Verifying Checksum 06:33:54 ca983d60f3e2: Download complete 06:33:54 9f894cec8388: Verifying Checksum 06:33:54 9f894cec8388: Download complete 06:33:54 1fe172e4850f: Verifying Checksum 06:33:54 1fe172e4850f: Download complete 06:33:54 1827001aaf11: Verifying Checksum 06:33:54 1827001aaf11: Download complete 06:33:56 1fe172e4850f: Pull complete 06:33:56 caf521ccaac6: Pull complete 06:33:56 3ead6fa29328: Pull complete 06:33:56 5c2a1cbceb83: Pull complete 06:33:57 a8d5f1318db7: Pull complete 06:33:57 c427282e49a2: Pull complete 06:33:59 1827001aaf11: Pull complete 06:33:59 0714d37db230: Pull complete 06:33:59 ac28cf19c067: Pull complete 06:33:59 ca983d60f3e2: Pull complete 06:33:59 9f894cec8388: Pull complete 06:33:59 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 06:33:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:33:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 06:33:59 prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container 06:33:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 06:34:01 $ docker top a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 -eo pid,comm 06:34: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). 06:34:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:34:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:01 [ssh-agent] Looking for ssh-agent implementation... 06:34:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:01 $ docker exec a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 ssh-agent 06:34:01 SSH_AUTH_SOCK=/tmp/ssh-70MXZzxten4R/agent.32 06:34:01 SSH_AGENT_PID=38 06:34:01 Running ssh-add (command line suppressed) 06:34:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5034957317450384669.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5034957317450384669.key) 06:34:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:02 + git tag --points-at HEAD [Pipeline] } 06:34:02 $ docker exec --env ******** --env ******** a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 ssh-agent -k 06:34:02 unset SSH_AUTH_SOCK; 06:34:02 unset SSH_AGENT_PID; 06:34:02 echo Agent pid 38 killed; 06:34:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:34:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:34:02 [ssh-agent] Looking for ssh-agent implementation... 06:34:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:34:02 $ docker exec a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 ssh-agent 06:34:02 SSH_AUTH_SOCK=/tmp/ssh-RJeMBvEWZna4/agent.70 06:34:02 SSH_AGENT_PID=76 06:34:02 Running ssh-add (command line suppressed) 06:34:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_358800544338182876.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_358800544338182876.key) 06:34:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:34:03 + git semver init 06:34:03 2022-05-10 06:34:03,454 [run_init] DEBUG init version:0.0.0 force:False 06:34:03 2022-05-10 06:34:03,456 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 06:34:03 2022-05-10 06:34:03,456 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 06:34:03 2022-05-10 06:34:03,456 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 06:34:04 2022-05-10 06:34:04,462 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 06:34:04 2022-05-10 06:34:04,462 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 06:34:04 2022-05-10 06:34:04,463 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:34:04 2022-05-10 06:34:04,463 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:34:04 2.2.0-dev.15 [Pipeline] } 06:34:04 $ docker exec --env ******** --env ******** a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 ssh-agent -k 06:34:04 unset SSH_AUTH_SOCK; 06:34:04 unset SSH_AGENT_PID; 06:34:04 echo Agent pid 76 killed; 06:34:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:34:05 + git semver [Pipeline] } 06:34:05 $ docker stop --time=1 a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 06:34:06 $ docker rm -f a5fd224f28b48e1ec9350d54990deba43dba2b29bb4166311d58b9404f2af693 [Pipeline] // withDockerContainer [Pipeline] sh 06:34:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:34:07 Stashed 1 file(s) [Pipeline] echo 06:34:07 [edgeXSemver]: initialized semver on version 2.2.0-dev.15 [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 06:34:07 provisioning config files... 06:34:07 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4509156089899503219tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:34:07 ---> docker-login.sh 06:34:07 nexus3.edgexfoundry.org:10001 06:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:07 Configure a credential helper to remove this warning. See 06:34:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:07 06:34:07 Login Succeeded 06:34:07 nexus3.edgexfoundry.org:10002 06:34:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:08 Configure a credential helper to remove this warning. See 06:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:08 06:34:08 Login Succeeded 06:34:08 nexus3.edgexfoundry.org:10003 06:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:08 Configure a credential helper to remove this warning. See 06:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:08 06:34:08 Login Succeeded 06:34:08 nexus3.edgexfoundry.org:10004 06:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:08 Configure a credential helper to remove this warning. See 06:34:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:08 06:34:08 Login Succeeded 06:34:08 docker.io 06:34:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:34:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:34:09 Configure a credential helper to remove this warning. See 06:34:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:34:09 06:34:09 Login Succeeded 06:34:09 ---> docker-login.sh ends [Pipeline] } 06:34:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:34:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:34:09 ========================================================= 06:34:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 06:34:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:34:09 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:34:09 Sending build context to Docker daemon 10.62MB 06:34:09 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:34:09 Step 2/12 : FROM ${BASE} AS builder 06:34:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 06:34:09 59bf1c3509f3: Pulling fs layer 06:34:09 666ba61612fd: Pulling fs layer 06:34:09 8ed8ca486205: Pulling fs layer 06:34:09 4fe6c5a15a65: Pulling fs layer 06:34:09 22a0e8bec74d: Pulling fs layer 06:34:09 ca2b28591e48: Pulling fs layer 06:34:09 a51346096db8: Pulling fs layer 06:34:09 daebc70d1ce1: Pulling fs layer 06:34:09 0e18a0eac166: Pulling fs layer 06:34:09 ca2b28591e48: Waiting 06:34:09 a51346096db8: Waiting 06:34:09 daebc70d1ce1: Waiting 06:34:09 0e18a0eac166: Waiting 06:34:09 22a0e8bec74d: Waiting 06:34:09 4fe6c5a15a65: Waiting 06:34:09 8ed8ca486205: Verifying Checksum 06:34:09 8ed8ca486205: Download complete 06:34:09 666ba61612fd: Download complete 06:34:09 22a0e8bec74d: Verifying Checksum 06:34:09 22a0e8bec74d: Download complete 06:34:09 ca2b28591e48: Download complete 06:34:09 a51346096db8: Verifying Checksum 06:34:09 a51346096db8: Download complete 06:34:09 59bf1c3509f3: Verifying Checksum 06:34:09 daebc70d1ce1: Verifying Checksum 06:34:09 daebc70d1ce1: Download complete 06:34:09 59bf1c3509f3: Pull complete 06:34:09 666ba61612fd: Pull complete 06:34:09 8ed8ca486205: Pull complete 06:34:10 0e18a0eac166: Verifying Checksum 06:34:10 0e18a0eac166: Download complete 06:34:10 4fe6c5a15a65: Verifying Checksum 06:34:10 4fe6c5a15a65: Download complete 06:34:14 4fe6c5a15a65: Pull complete 06:34:14 22a0e8bec74d: Pull complete 06:34:14 ca2b28591e48: Pull complete 06:34:14 a51346096db8: Pull complete 06:34:15 daebc70d1ce1: Pull complete 06:34:17 0e18a0eac166: Pull complete 06:34:17 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 06:34:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 06:34:17 ---> f018257e8ee9 06:34:17 Step 3/12 : ARG MAKE='make build' 06:34:19 ---> Running in 4cbd0f206e12 06:34:19 Removing intermediate container 4cbd0f206e12 06:34:19 ---> aeee1dd9dfb2 06:34:19 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:34:19 ---> Running in 8981b08aee8e 06:34:19 Removing intermediate container 8981b08aee8e 06:34:19 ---> f936c550808b 06:34:19 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:34:19 ---> Running in 7171330d8152 06:34:19 Removing intermediate container 7171330d8152 06:34:19 ---> 603a15161900 06:34:19 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:34:19 ---> Running in 1ce13b8edfdc 06:34:20 Removing intermediate container 1ce13b8edfdc 06:34:20 ---> ede05a8f357c 06:34:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:34:20 ---> Running in 89b03031d346 06:34:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:34:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:34:22 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:34:22 (2/4) Installing libedit (20210910.3.1-r0) 06:34:22 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:34:22 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:34:22 Executing busybox-1.34.1-r3.trigger 06:34:22 OK: 224 MiB in 56 packages 06:34:22 Still waiting to schedule task 06:34:22 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 06:34:22 Removing intermediate container 89b03031d346 06:34:22 ---> 8476f54c2d68 06:34:22 Step 8/12 : WORKDIR /device-rest-go 06:34:22 ---> Running in 4c17fa0102ae 06:34:22 Removing intermediate container 4c17fa0102ae 06:34:22 ---> ab6c8fd3f32b 06:34:22 Step 9/12 : COPY go.mod vendor* ./ 06:34:23 ---> a099bd698669 06:34:23 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:34:23 ---> Running in 260f41ee2da9 06:34:41 Removing intermediate container 260f41ee2da9 06:34:41 ---> 508d705eb07a 06:34:41 Step 11/12 : COPY . . 06:34:41 ---> 5302a5c8c843 06:34:41 Step 12/12 : RUN $MAKE 06:34:41 ---> Running in 0650334220d7 06:34:41 noop 06:34:41 Removing intermediate container 0650334220d7 06:34:41 ---> 191cac8cc294 06:34:41 Successfully built 191cac8cc294 06:34:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 06:34:41 + docker inspect -f . ci-base-image-x86_64 06:34:41 . [Pipeline] withDockerContainer 06:34:41 prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container 06:34:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 06:34:42 $ docker top fdfb5b862b536b046800101a459130d722e53fc84a81798f1ed87b83944efd56 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:42 + go version 06:34:42 go version go1.17.6 linux/amd64 [Pipeline] } 06:34:42 $ docker stop --time=1 fdfb5b862b536b046800101a459130d722e53fc84a81798f1ed87b83944efd56 06:34:43 $ docker rm -f fdfb5b862b536b046800101a459130d722e53fc84a81798f1ed87b83944efd56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:34:44 + docker inspect -f . ci-base-image-x86_64 06:34:44 . [Pipeline] withDockerContainer 06:34:44 prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container 06:34:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 06:34:44 $ docker top 314804ed613e86e4bc3cfb830336312aa4302860ee5edfd248e0ef6139eb98aa -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:34:45 + make test 06:34:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:34:45 ? github.com/edgexfoundry/device-rest-go [no test files] 06:34:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:34:55 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 06:35:03 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:35:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:35:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:35:06 ./bin/test-attribution-txt.sh [Pipeline] echo 06:35:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:35:07 $ docker stop --time=1 314804ed613e86e4bc3cfb830336312aa4302860ee5edfd248e0ef6139eb98aa 06:35:09 $ docker rm -f 314804ed613e86e4bc3cfb830336312aa4302860ee5edfd248e0ef6139eb98aa [Pipeline] // withDockerContainer [Pipeline] sh 06:35:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:35:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:35:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:35:10 + ls -al . 06:35:10 total 172 06:35:10 drwxrwxr-x 9 jenkins jenkins 4096 May 10 06:35 . 06:35:10 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:33 .. 06:35:10 -rw-rw-r-- 1 jenkins jenkins 151 May 10 06:33 .dockerignore 06:35:10 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:34 .git 06:35:10 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:33 .github 06:35:10 -rw-rw-r-- 1 jenkins jenkins 329 May 10 06:33 .gitignore 06:35:10 -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:33 .golangci.yml 06:35:10 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:34 .semver 06:35:10 -rw-rw-r-- 1 jenkins jenkins 8463 May 10 06:33 Attribution.txt 06:35:10 -rw-rw-r-- 1 jenkins jenkins 11736 May 10 06:33 CHANGELOG.md 06:35:10 -rw-rw-r-- 1 jenkins jenkins 1672 May 10 06:33 Dockerfile 06:35:10 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:33 GOVERNANCE.md 06:35:10 -rw-rw-r-- 1 jenkins jenkins 680 May 10 06:33 Jenkinsfile 06:35:10 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:33 LICENSE 06:35:10 -rw-rw-r-- 1 jenkins jenkins 1977 May 10 06:33 Makefile 06:35:10 -rw-rw-r-- 1 jenkins jenkins 620 May 10 06:33 OWNERS.md 06:35:10 -rw-rw-r-- 1 jenkins jenkins 8003 May 10 06:33 README.md 06:35:10 -rw-rw-r-- 1 jenkins jenkins 12 May 10 06:34 VERSION 06:35:10 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:33 bin 06:35:10 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:33 cmd 06:35:10 -rw-r--r-- 1 jenkins jenkins 9355 May 10 06:34 coverage.out 06:35:10 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:33 driver 06:35:10 -rw-rw-r-- 1 jenkins jenkins 3333 May 10 06:33 go.mod 06:35:10 -rw-rw-r-- 1 jenkins jenkins 35259 May 10 06:33 go.sum 06:35:10 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:33 snap 06:35:10 -rw-rw-r-- 1 jenkins jenkins 713 May 10 06:33 version.go [Pipeline] isUnix [Pipeline] sh 06:35:10 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=ee3075b8714f7f80e63bfc34ce21b756d008dcba --label arch=amd64 --label version=2.2.0-dev.15 . 06:35:10 Sending build context to Docker daemon 10.63MB 06:35:10 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 06:35:10 Step 2/25 : FROM ${BASE} AS builder 06:35:10 ---> 191cac8cc294 06:35:10 Step 3/25 : ARG MAKE='make build' 06:35:11 ---> Running in 7d9da5f9c76a 06:35:11 Removing intermediate container 7d9da5f9c76a 06:35:11 ---> 4b97e6f27c33 06:35:11 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:35:11 ---> Running in db36eb1ee1e4 06:35:11 Removing intermediate container db36eb1ee1e4 06:35:11 ---> 7d101fda1b69 06:35:11 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:35:11 ---> Running in 3f590ccc23d0 06:35:11 Removing intermediate container 3f590ccc23d0 06:35:11 ---> f133592bafa1 06:35:11 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:35:11 ---> Running in b4aa95c85b54 06:35:11 Removing intermediate container b4aa95c85b54 06:35:11 ---> 37411a5f377c 06:35:11 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:35:11 ---> Running in 60e735a56c6f 06:35:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 06:35:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 06:35:13 OK: 224 MiB in 56 packages 06:35:13 Removing intermediate container 60e735a56c6f 06:35:13 ---> 54bc2edc88ec 06:35:13 Step 8/25 : WORKDIR /device-rest-go 06:35:13 ---> Running in 9b622c9df021 06:35:13 Removing intermediate container 9b622c9df021 06:35:13 ---> 55ca00b96ff4 06:35:13 Step 9/25 : COPY go.mod vendor* ./ 06:35:13 ---> 46e6a928c75b 06:35:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:35:13 ---> Running in aab9c2102642 06:35:14 Removing intermediate container aab9c2102642 06:35:14 ---> c6a63420d8e8 06:35:14 Step 11/25 : COPY . . 06:35:14 ---> 43b8cc539efe 06:35:14 Step 12/25 : RUN $MAKE 06:35:15 ---> Running in b0c36c0b5635 06:35:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 06:35:37 Removing intermediate container b0c36c0b5635 06:35:37 ---> 8f9c0827d7f5 06:35:37 Step 13/25 : FROM alpine:3.14 06:35:37 3.14: Pulling from library/alpine 06:35:37 8663204ce13b: Pulling fs layer 06:35:37 8663204ce13b: Verifying Checksum 06:35:37 8663204ce13b: Download complete 06:35:37 8663204ce13b: Pull complete 06:35:37 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:35:37 Status: Downloaded newer image for alpine:3.14 06:35:37 ---> e04c818066af 06:35:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:35:37 ---> Running in 1c47a3c9ba5f 06:35:37 Removing intermediate container 1c47a3c9ba5f 06:35:37 ---> 571bbe74f2c8 06:35:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 06:35:37 ---> Running in e47a213dc761 06:35:37 Removing intermediate container e47a213dc761 06:35:37 ---> 53a9596651fb 06:35:37 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 06:35:37 ---> Running in 4705c2e30577 06:35:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 06:35:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 06:35:37 (1/6) Installing dumb-init (1.2.5-r1) 06:35:37 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:35:37 (3/6) Installing libsodium (1.0.18-r0) 06:35:37 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:35:37 (5/6) Installing libzmq (4.3.4-r0) 06:35:37 (6/6) Installing zeromq (4.3.4-r0) 06:35:37 Executing busybox-1.33.1-r7.trigger 06:35:37 OK: 8 MiB in 20 packages 06:35:37 Removing intermediate container 4705c2e30577 06:35:37 ---> 4884a46b4bcb 06:35:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 06:35:38 ---> 38999d05ce49 06:35:38 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 06:35:38 ---> 8f7ac4021ac8 06:35:38 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 06:35:38 ---> 8d36f4fb298d 06:35:38 Step 20/25 : EXPOSE 59986 06:35:38 ---> Running in 26c73b890ac1 06:35:38 Removing intermediate container 26c73b890ac1 06:35:38 ---> 8461a12c72b3 06:35:38 Step 21/25 : ENTRYPOINT ["/device-rest"] 06:35:38 ---> Running in b15af588100f 06:35:38 Removing intermediate container b15af588100f 06:35:38 ---> 4a0fb926313b 06:35:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:35:38 ---> Running in c134cf6857f0 06:35:38 Removing intermediate container c134cf6857f0 06:35:38 ---> 1f89a18b44c2 06:35:38 Step 23/25 : LABEL arch=amd64 06:35:38 ---> Running in b84ef5e05f63 06:35:38 Removing intermediate container b84ef5e05f63 06:35:38 ---> b0b60c517308 06:35:38 Step 24/25 : LABEL git_sha=ee3075b8714f7f80e63bfc34ce21b756d008dcba 06:35:38 ---> Running in 1a97ec893f32 06:35:39 Removing intermediate container 1a97ec893f32 06:35:39 ---> 496a6842fc5b 06:35:39 Step 25/25 : LABEL version=2.2.0-dev.15 06:35:39 ---> Running in 067085ae4e96 06:35:39 Removing intermediate container 067085ae4e96 06:35:39 ---> 65c28e2e640f 06:35:39 [Warning] One or more build-args [ARCH] were not consumed 06:35:39 Successfully built 65c28e2e640f 06:35:39 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:35:39 provisioning config files... 06:35:39 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4024319516232450626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:39 ---> docker-login.sh 06:35:39 nexus3.edgexfoundry.org:10001 06:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:39 Configure a credential helper to remove this warning. See 06:35:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:39 06:35:39 Login Succeeded 06:35:39 nexus3.edgexfoundry.org:10002 06:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:39 Configure a credential helper to remove this warning. See 06:35:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:39 06:35:39 Login Succeeded 06:35:39 nexus3.edgexfoundry.org:10003 06:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:39 Configure a credential helper to remove this warning. See 06:35:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:39 06:35:39 Login Succeeded 06:35:39 nexus3.edgexfoundry.org:10004 06:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:40 Configure a credential helper to remove this warning. See 06:35:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:40 06:35:40 Login Succeeded 06:35:40 docker.io 06:35:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:35:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:35:40 Configure a credential helper to remove this warning. See 06:35:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:35:40 06:35:40 Login Succeeded 06:35:40 ---> docker-login.sh ends [Pipeline] } 06:35:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:35:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:35:40 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 06:35:40 ee3075b8714f7f80e63bfc34ce21b756d008dcba 06:35:40 latest 06:35:40 2.2.0-dev.15 06:35:40 ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 06:35:40 main 06:35:40 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:35:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] isUnix [Pipeline] sh 06:35:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba 06:35:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:35:41 901ced14a572: Preparing 06:35:41 83bf1f185c9f: Preparing 06:35:41 51ef72e6cacd: Preparing 06:35:41 a2d4d9bba7ae: Preparing 06:35:41 b541d28bf3b4: Preparing 06:35:41 b541d28bf3b4: Layer already exists 06:35:41 901ced14a572: Pushed 06:35:41 83bf1f185c9f: Pushed 06:35:41 a2d4d9bba7ae: Pushed 06:35:44 51ef72e6cacd: Pushed 06:35:44 ee3075b8714f7f80e63bfc34ce21b756d008dcba: digest: sha256:d7638f7464dea415fd6252913adf15608980a235389bc6daf02052abaf9fae60 size: 1367 [Pipeline] isUnix [Pipeline] sh 06:35:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh 06:35:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 06:35:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:35:44 901ced14a572: Preparing 06:35:44 83bf1f185c9f: Preparing 06:35:44 51ef72e6cacd: Preparing 06:35:44 a2d4d9bba7ae: Preparing 06:35:44 b541d28bf3b4: Preparing 06:35:44 51ef72e6cacd: Layer already exists 06:35:44 b541d28bf3b4: Layer already exists 06:35:44 901ced14a572: Layer already exists 06:35:44 83bf1f185c9f: Layer already exists 06:35:44 a2d4d9bba7ae: Layer already exists 06:35:44 latest: digest: sha256:d7638f7464dea415fd6252913adf15608980a235389bc6daf02052abaf9fae60 size: 1367 [Pipeline] isUnix [Pipeline] sh 06:35:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 06:35:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.15 06:35:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:35:45 901ced14a572: Preparing 06:35:45 83bf1f185c9f: Preparing 06:35:45 51ef72e6cacd: Preparing 06:35:45 a2d4d9bba7ae: Preparing 06:35:45 b541d28bf3b4: Preparing 06:35:45 a2d4d9bba7ae: Layer already exists 06:35:45 83bf1f185c9f: Layer already exists 06:35:45 901ced14a572: Layer already exists 06:35:45 51ef72e6cacd: Layer already exists 06:35:45 b541d28bf3b4: Layer already exists 06:35:45 2.2.0-dev.15: digest: sha256:d7638f7464dea415fd6252913adf15608980a235389bc6daf02052abaf9fae60 size: 1367 [Pipeline] isUnix [Pipeline] sh 06:35:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 06:35:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 06:35:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:35:46 901ced14a572: Preparing 06:35:46 83bf1f185c9f: Preparing 06:35:46 51ef72e6cacd: Preparing 06:35:46 a2d4d9bba7ae: Preparing 06:35:46 b541d28bf3b4: Preparing 06:35:46 a2d4d9bba7ae: Layer already exists 06:35:46 901ced14a572: Layer already exists 06:35:46 51ef72e6cacd: Layer already exists 06:35:46 83bf1f185c9f: Layer already exists 06:35:46 b541d28bf3b4: Layer already exists 06:35:46 ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15: digest: sha256:d7638f7464dea415fd6252913adf15608980a235389bc6daf02052abaf9fae60 size: 1367 [Pipeline] isUnix [Pipeline] sh 06:35:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh 06:35:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 06:35:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:35:46 901ced14a572: Preparing 06:35:46 83bf1f185c9f: Preparing 06:35:46 51ef72e6cacd: Preparing 06:35:46 a2d4d9bba7ae: Preparing 06:35:46 b541d28bf3b4: Preparing 06:35:46 901ced14a572: Layer already exists 06:35:46 a2d4d9bba7ae: Layer already exists 06:35:46 b541d28bf3b4: Layer already exists 06:35:46 83bf1f185c9f: Layer already exists 06:35:46 51ef72e6cacd: Layer already exists 06:35:46 main: digest: sha256:d7638f7464dea415fd6252913adf15608980a235389bc6daf02052abaf9fae60 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:35:46 ===================================================== [Pipeline] echo 06:35:46 taggedImages: 06:35:46 - nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba 06:35:46 - nexus3.edgexfoundry.org:10004/device-rest:latest 06:35:46 - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.15 06:35:46 - nexus3.edgexfoundry.org:10004/device-rest:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 06:35:46 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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 06:35:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:35:47 06:35:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 06:35:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:35:47 latest: Pulling from edgex-lftools-log-publisher 06:35:47 5eb5b503b376: Pulling fs layer 06:35:47 5c69ac0246d0: Pulling fs layer 06:35:47 ec43610c2a17: Pulling fs layer 06:35:47 3a2ae6a8a46f: Pulling fs layer 06:35:47 33b1e0a273af: Pulling fs layer 06:35:47 5d3b04190fa2: Pulling fs layer 06:35:47 2f39f015ded8: Pulling fs layer 06:35:47 5d3b04190fa2: Waiting 06:35:47 3a2ae6a8a46f: Waiting 06:35:47 2f39f015ded8: Waiting 06:35:47 33b1e0a273af: Waiting 06:35:47 5c69ac0246d0: Download complete 06:35:47 3a2ae6a8a46f: Verifying Checksum 06:35:47 3a2ae6a8a46f: Download complete 06:35:47 33b1e0a273af: Verifying Checksum 06:35:47 33b1e0a273af: Download complete 06:35:47 5d3b04190fa2: Verifying Checksum 06:35:47 5d3b04190fa2: Download complete 06:35:47 ec43610c2a17: Verifying Checksum 06:35:47 ec43610c2a17: Download complete 06:35:47 5eb5b503b376: Verifying Checksum 06:35:47 5eb5b503b376: Download complete 06:35:48 5eb5b503b376: Pull complete 06:35:48 5c69ac0246d0: Pull complete 06:35:49 ec43610c2a17: Pull complete 06:35:49 3a2ae6a8a46f: Pull complete 06:35:49 33b1e0a273af: Pull complete 06:35:50 5d3b04190fa2: Pull complete 06:35:54 2f39f015ded8: Pull complete 06:35:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:35:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:35:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 06:35:54 prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container 06:35:54 $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 06:35:56 $ docker top d0de3afd127c7fae52dda69c3e80c1ad6a922d49637ed95d55b13769279b00b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:35:56 ---> job-cost.sh 06:35:56 lf-activate-venv: SKIPPING 06:35:56 INFO: No Stack... 06:35:57 INFO: Retrieving Pricing Info for: v3-standard-8 06:35:57 INFO: Archiving Costs [Pipeline] sh 06:35:58 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 06:35:58 + cut -d, -f6 [Pipeline] lock 06:35:58 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] 06:35:58 Resource [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] did not exist. Created. 06:35:58 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:35:58 + echo total: 0.2199999988079071 [Pipeline] stash 06:35:58 Stashed 1 file(s) [Pipeline] } 06:35:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 06:35:58 $ docker stop --time=1 d0de3afd127c7fae52dda69c3e80c1ad6a922d49637ed95d55b13769279b00b2 06:35:59 $ docker rm -f d0de3afd127c7fae52dda69c3e80c1ad6a922d49637ed95d55b13769279b00b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:44:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-45067 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 06:44:51 Running in /w/workspace/device-rest-go/37 [Pipeline] { [Pipeline] checkout 06:44:52 The recommended git tool is: git 06:45:00 using credential edgex-jenkins-ssh 06:45:00 Cloning the remote Git repository 06:45:00 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:45:00 > git init /w/workspace/device-rest-go/37 # timeout=10 06:45:00 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:45:00 > git --version # timeout=10 06:45:00 > git --version # 'git version 2.25.1' 06:45:00 using GIT_SSH to set credentials SSH Credentials for GitHub 06:45:00 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:45:02 Avoid second fetch 06:45:02 Checking out Revision ee3075b8714f7f80e63bfc34ce21b756d008dcba (main) 06:45:02 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:45:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:45:02 > git config core.sparsecheckout # timeout=10 06:45:02 > git checkout -f ee3075b8714f7f80e63bfc34ce21b756d008dcba # timeout=10 06:45:07 Commit message: "Merge pull request #185 from jpwhitemn/kamakura-rls-notes" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:45:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:45:07 % Total % Received % Xferd Average Speed Time Time Time Current 06:45:07 Dload Upload Total Spent Left Speed 06:45:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81116 0 --:--:-- --:--:-- --:--:-- 80564 100 11843 100 11843 0 0 78430 0 --:--:-- --:--:-- --:--:-- 78430 [Pipeline] sh 06:45:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:45:08 + sudo tee /etc/docker/daemon.new 06:45:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:45:08 { 06:45:08 "registry-mirrors": [ 06:45:08 "https://nexus3.edgexfoundry.org:10001" 06:45:08 ], 06:45:08 "bip": "10.250.0.254/24", 06:45:08 "hosts": [ 06:45:08 "tcp://0.0.0.0:5555", 06:45:08 "unix:///var/run/docker.sock" 06:45:08 ], 06:45:08 "mtu": 1458, 06:45:08 "selinux-enabled": true, 06:45:08 "seccomp-profile": "/etc/docker/seccomp.json" 06:45:08 } [Pipeline] sh 06:45:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:45:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:45:27 provisioning config files... 06:45:27 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/37@tmp/config1954876443947762717tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:45:28 ---> docker-login.sh 06:45:28 nexus3.edgexfoundry.org:10001 06:45:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:29 Configure a credential helper to remove this warning. See 06:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:29 06:45:29 Login Succeeded 06:45:29 nexus3.edgexfoundry.org:10002 06:45:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:29 Configure a credential helper to remove this warning. See 06:45:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:29 06:45:29 Login Succeeded 06:45:29 nexus3.edgexfoundry.org:10003 06:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:30 Configure a credential helper to remove this warning. See 06:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:30 06:45:30 Login Succeeded 06:45:30 nexus3.edgexfoundry.org:10004 06:45:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:30 Configure a credential helper to remove this warning. See 06:45:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:30 06:45:30 Login Succeeded 06:45:30 docker.io 06:45:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:45:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:45:31 Configure a credential helper to remove this warning. See 06:45:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:45:31 06:45:31 Login Succeeded 06:45:31 ---> docker-login.sh ends [Pipeline] } 06:45:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:45:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:45:32 ========================================================= 06:45:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 06:45:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 06:45:32 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 06:45:32 Sending build context to Docker daemon 128.5kB 06:45:32 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 06:45:32 Step 2/12 : FROM ${BASE} AS builder 06:45:32 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:45:32 9b3977197b4f: Pulling fs layer 06:45:32 1a89e8eeedd5: Pulling fs layer 06:45:32 94645a83ff95: Pulling fs layer 06:45:32 3f3a8bcf1eab: Pulling fs layer 06:45:32 0c92f367c5e7: Pulling fs layer 06:45:32 3096ccb668a1: Pulling fs layer 06:45:32 e8cf19c19ddd: Pulling fs layer 06:45:32 a4caa8a26152: Pulling fs layer 06:45:32 3096ccb668a1: Waiting 06:45:32 e8cf19c19ddd: Waiting 06:45:32 a4caa8a26152: Waiting 06:45:32 3f3a8bcf1eab: Waiting 06:45:32 0c92f367c5e7: Waiting 06:45:32 94645a83ff95: Download complete 06:45:32 1a89e8eeedd5: Download complete 06:45:32 0c92f367c5e7: Verifying Checksum 06:45:32 0c92f367c5e7: Download complete 06:45:32 3096ccb668a1: Verifying Checksum 06:45:32 3096ccb668a1: Download complete 06:45:32 9b3977197b4f: Download complete 06:45:32 e8cf19c19ddd: Verifying Checksum 06:45:32 e8cf19c19ddd: Download complete 06:45:33 9b3977197b4f: Pull complete 06:45:34 1a89e8eeedd5: Pull complete 06:45:34 94645a83ff95: Pull complete 06:45:35 a4caa8a26152: Verifying Checksum 06:45:35 a4caa8a26152: Download complete 06:45:35 3f3a8bcf1eab: Verifying Checksum 06:45:35 3f3a8bcf1eab: Download complete 06:45:48 3f3a8bcf1eab: Pull complete 06:45:48 0c92f367c5e7: Pull complete 06:45:48 3096ccb668a1: Pull complete 06:45:48 e8cf19c19ddd: Pull complete 06:45:55 a4caa8a26152: Pull complete 06:45:55 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 06:45:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 06:45:55 ---> 725f1c02e7f9 06:45:55 Step 3/12 : ARG MAKE='make build' 06:45:55 ---> Running in a8e59e985499 06:45:55 Removing intermediate container a8e59e985499 06:45:55 ---> f4cc9ce570a4 06:45:55 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:45:55 ---> Running in 3b415991e470 06:45:56 Removing intermediate container 3b415991e470 06:45:56 ---> 610988db1025 06:45:56 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 06:45:56 ---> Running in e6a88aa53a6e 06:45:56 Removing intermediate container e6a88aa53a6e 06:45:56 ---> 3e1499cdd4d4 06:45:56 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:45:56 ---> Running in d8fba07a8c17 06:45:58 Removing intermediate container d8fba07a8c17 06:45:58 ---> 39fc0755a7bd 06:45:58 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:45:58 ---> Running in 26a57e59ca93 06:45:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:46:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:46:01 (1/4) Installing openssh-keygen (8.8_p1-r1) 06:46:01 (2/4) Installing libedit (20210910.3.1-r0) 06:46:01 (3/4) Installing openssh-client-common (8.8_p1-r1) 06:46:01 (4/4) Installing openssh-client-default (8.8_p1-r1) 06:46:01 Executing busybox-1.34.1-r3.trigger 06:46:01 OK: 224 MiB in 56 packages 06:46:03 Removing intermediate container 26a57e59ca93 06:46:03 ---> 0f3a47679771 06:46:03 Step 8/12 : WORKDIR /device-rest-go 06:46:03 ---> Running in 551fa201b947 06:46:04 Removing intermediate container 551fa201b947 06:46:04 ---> 35493c7c7c65 06:46:04 Step 9/12 : COPY go.mod vendor* ./ 06:46:04 ---> 47a4014d498a 06:46:04 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:46:04 ---> Running in c1e3a0f8a019 06:46:51 Removing intermediate container c1e3a0f8a019 06:46:51 ---> 032f7ad83a4d 06:46:51 Step 11/12 : COPY . . 06:46:51 ---> d957512ea59c 06:46:51 Step 12/12 : RUN $MAKE 06:46:51 ---> Running in 6cf2fdaac100 06:46:51 noop 06:46:51 Removing intermediate container 6cf2fdaac100 06:46:51 ---> f2dcd0c4e194 06:46:51 Successfully built f2dcd0c4e194 06:46:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:46:52 + docker inspect -f . ci-base-image-arm64 06:46:52 . [Pipeline] withDockerContainer 06:46:52 prd-ubuntu20.04-docker-arm64-4c-16g-45067 does not seem to be running inside a container 06:46:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/37 -v /w/workspace/device-rest-go/37:/w/workspace/device-rest-go/37:rw,z -v /w/workspace/device-rest-go/37@tmp:/w/workspace/device-rest-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:46:53 $ docker top 0906ad6bc500adb2d195ad5680577378b803ddfebfaa6953b19d9723186a7d3e -eo pid,comm [Pipeline] { [Pipeline] sh 06:46:54 + go version 06:46:54 go version go1.17.6 linux/arm64 [Pipeline] } 06:46:54 $ docker stop --time=1 0906ad6bc500adb2d195ad5680577378b803ddfebfaa6953b19d9723186a7d3e 06:46:56 $ docker rm -f 0906ad6bc500adb2d195ad5680577378b803ddfebfaa6953b19d9723186a7d3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:46:57 + docker inspect -f . ci-base-image-arm64 06:46:57 . [Pipeline] withDockerContainer 06:46:57 prd-ubuntu20.04-docker-arm64-4c-16g-45067 does not seem to be running inside a container 06:46:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/37 -v /w/workspace/device-rest-go/37:/w/workspace/device-rest-go/37:rw,z -v /w/workspace/device-rest-go/37@tmp:/w/workspace/device-rest-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:46:58 $ docker top d1827f8eb9a2798f1f5841c4ccad7b4cc191f531eeccccdfcbb4dcb1d0879d63 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 06:46:59 + make test 06:46:59 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 06:47:01 ? github.com/edgexfoundry/device-rest-go [no test files] 06:48:22 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:48:23 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements 06:48:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:48:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 06:48:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:48:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:48:56 ./bin/test-attribution-txt.sh [Pipeline] echo 06:48:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:48:56 $ docker stop --time=1 d1827f8eb9a2798f1f5841c4ccad7b4cc191f531eeccccdfcbb4dcb1d0879d63 06:48:58 $ docker rm -f d1827f8eb9a2798f1f5841c4ccad7b4cc191f531eeccccdfcbb4dcb1d0879d63 [Pipeline] // withDockerContainer [Pipeline] sh 06:48:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:48:59 Warning: overwriting stash ‘coverage-report’ 06:48:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:49:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:49:00 + ls -al . 06:49:00 total 168 06:49:00 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:48 . 06:49:00 drwxrwxr-x 4 jenkins jenkins 4096 May 10 06:45 .. 06:49:00 -rw-rw-r-- 1 jenkins jenkins 151 May 10 06:45 .dockerignore 06:49:00 drwxrwxr-x 8 jenkins jenkins 4096 May 10 06:45 .git 06:49:00 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:45 .github 06:49:00 -rw-rw-r-- 1 jenkins jenkins 329 May 10 06:45 .gitignore 06:49:00 -rw-rw-r-- 1 jenkins jenkins 41 May 10 06:45 .golangci.yml 06:49:00 -rw-rw-r-- 1 jenkins jenkins 8463 May 10 06:45 Attribution.txt 06:49:00 -rw-rw-r-- 1 jenkins jenkins 11736 May 10 06:45 CHANGELOG.md 06:49:00 -rw-rw-r-- 1 jenkins jenkins 1672 May 10 06:45 Dockerfile 06:49:00 -rw-rw-r-- 1 jenkins jenkins 677 May 10 06:45 GOVERNANCE.md 06:49:00 -rw-rw-r-- 1 jenkins jenkins 680 May 10 06:45 Jenkinsfile 06:49:00 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 06:45 LICENSE 06:49:00 -rw-rw-r-- 1 jenkins jenkins 1977 May 10 06:45 Makefile 06:49:00 -rw-rw-r-- 1 jenkins jenkins 620 May 10 06:45 OWNERS.md 06:49:00 -rw-rw-r-- 1 jenkins jenkins 8003 May 10 06:45 README.md 06:49:00 -rw-rw-r-- 1 jenkins jenkins 12 May 10 06:34 VERSION 06:49:00 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:45 bin 06:49:00 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:45 cmd 06:49:00 -rw-r--r-- 1 jenkins jenkins 9355 May 10 06:48 coverage.out 06:49:00 drwxrwxr-x 2 jenkins jenkins 4096 May 10 06:45 driver 06:49:00 -rw-rw-r-- 1 jenkins jenkins 3333 May 10 06:45 go.mod 06:49:00 -rw-rw-r-- 1 jenkins jenkins 35259 May 10 06:45 go.sum 06:49:00 drwxrwxr-x 3 jenkins jenkins 4096 May 10 06:45 snap 06:49:00 -rw-rw-r-- 1 jenkins jenkins 713 May 10 06:45 version.go [Pipeline] isUnix [Pipeline] sh 06:49:00 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ee3075b8714f7f80e63bfc34ce21b756d008dcba --label arch=arm64 --label version=2.2.0-dev.15 . 06:49:00 Sending build context to Docker daemon 138.8kB 06:49:01 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 06:49:01 Step 2/25 : FROM ${BASE} AS builder 06:49:01 ---> f2dcd0c4e194 06:49:01 Step 3/25 : ARG MAKE='make build' 06:49:01 ---> Running in e77350d79f37 06:49:01 Removing intermediate container e77350d79f37 06:49:01 ---> a57183bf82b0 06:49:01 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 06:49:01 ---> Running in 80dd4cc24ec4 06:49:01 Removing intermediate container 80dd4cc24ec4 06:49:01 ---> 67d3d3cd2b47 06:49:01 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 06:49:02 ---> Running in 2e4f593a1ce3 06:49:02 Removing intermediate container 2e4f593a1ce3 06:49:02 ---> 749246e32097 06:49:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 06:49:02 ---> Running in 3d6531432134 06:49:04 Removing intermediate container 3d6531432134 06:49:04 ---> b1cdec92dea9 06:49:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:49:04 ---> Running in 9a8cc5dfd12a 06:49:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 06:49:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 06:49:07 OK: 224 MiB in 56 packages 06:49:08 Removing intermediate container 9a8cc5dfd12a 06:49:08 ---> 6e493dd5fac6 06:49:08 Step 8/25 : WORKDIR /device-rest-go 06:49:08 ---> Running in 07065be0fedf 06:49:08 Removing intermediate container 07065be0fedf 06:49:08 ---> 80b703d7577b 06:49:08 Step 9/25 : COPY go.mod vendor* ./ 06:49:08 ---> 74c426b12e61 06:49:08 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:49:08 ---> Running in 1f1039629f81 06:49:10 Removing intermediate container 1f1039629f81 06:49:10 ---> 13d241d72f67 06:49:10 Step 11/25 : COPY . . 06:49:11 ---> 7e4f20c33dcd 06:49:11 Step 12/25 : RUN $MAKE 06:49:11 ---> Running in 7665b7cedce5 06:49:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.15" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 06:51:19 Removing intermediate container 7665b7cedce5 06:51:19 ---> f331b5a1929a 06:51:19 Step 13/25 : FROM alpine:3.14 06:51:19 3.14: Pulling from library/alpine 06:51:19 455c02918c45: Pulling fs layer 06:51:19 455c02918c45: Verifying Checksum 06:51:19 455c02918c45: Download complete 06:51:20 455c02918c45: Pull complete 06:51:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 06:51:20 Status: Downloaded newer image for alpine:3.14 06:51:20 ---> ac73e934f311 06:51:20 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 06:51:20 ---> Running in bcdf8e14b5b4 06:51:20 Removing intermediate container bcdf8e14b5b4 06:51:20 ---> f7a5d9beba68 06:51:20 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 06:51:20 ---> Running in 0934568ecdf1 06:51:20 Removing intermediate container 0934568ecdf1 06:51:20 ---> 3408c6ed149e 06:51:20 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 06:51:20 ---> Running in b778ecefb9bd 06:51:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 06:51:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 06:51:23 (1/6) Installing dumb-init (1.2.5-r1) 06:51:23 (2/6) Installing libgcc (10.3.1_git20210424-r2) 06:51:23 (3/6) Installing libsodium (1.0.18-r0) 06:51:23 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 06:51:23 (5/6) Installing libzmq (4.3.4-r0) 06:51:23 (6/6) Installing zeromq (4.3.4-r0) 06:51:23 Executing busybox-1.33.1-r7.trigger 06:51:23 OK: 8 MiB in 20 packages 06:51:24 Removing intermediate container b778ecefb9bd 06:51:24 ---> 161c59090859 06:51:24 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 06:51:25 ---> ed13042c5d92 06:51:25 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 06:51:26 ---> c1cf99dcd084 06:51:26 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 06:51:26 ---> 8ee4dc4bc144 06:51:26 Step 20/25 : EXPOSE 59986 06:51:26 ---> Running in 8a1079b48bee 06:51:27 Removing intermediate container 8a1079b48bee 06:51:27 ---> 7a0d6c03794d 06:51:27 Step 21/25 : ENTRYPOINT ["/device-rest"] 06:51:27 ---> Running in ce3d5eea2647 06:51:27 Removing intermediate container ce3d5eea2647 06:51:27 ---> 2d3b68ffa1f8 06:51:27 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 06:51:27 ---> Running in 8e209f83e742 06:51:27 Removing intermediate container 8e209f83e742 06:51:27 ---> 13e93e7cf40a 06:51:27 Step 23/25 : LABEL arch=arm64 06:51:27 ---> Running in 2f079073a492 06:51:28 Removing intermediate container 2f079073a492 06:51:28 ---> 48ef76a5559c 06:51:28 Step 24/25 : LABEL git_sha=ee3075b8714f7f80e63bfc34ce21b756d008dcba 06:51:28 ---> Running in 9283feb4a8c7 06:51:28 Removing intermediate container 9283feb4a8c7 06:51:28 ---> 93aaac30e4c0 06:51:28 Step 25/25 : LABEL version=2.2.0-dev.15 06:51:28 ---> Running in 95b2ac58b7a1 06:51:28 Removing intermediate container 95b2ac58b7a1 06:51:28 ---> a2f2e32661ee 06:51:28 [Warning] One or more build-args [ARCH] were not consumed 06:51:28 Successfully built a2f2e32661ee 06:51:28 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:51:28 provisioning config files... 06:51:28 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/37@tmp/config6344861445135365919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:51:29 ---> docker-login.sh 06:51:29 nexus3.edgexfoundry.org:10001 06:51:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:29 Configure a credential helper to remove this warning. See 06:51:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:29 06:51:29 Login Succeeded 06:51:29 nexus3.edgexfoundry.org:10002 06:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:30 Configure a credential helper to remove this warning. See 06:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:30 06:51:30 Login Succeeded 06:51:30 nexus3.edgexfoundry.org:10003 06:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:30 Configure a credential helper to remove this warning. See 06:51:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:30 06:51:30 Login Succeeded 06:51:30 nexus3.edgexfoundry.org:10004 06:51:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:31 Configure a credential helper to remove this warning. See 06:51:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:31 06:51:31 Login Succeeded 06:51:31 docker.io 06:51:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:32 Configure a credential helper to remove this warning. See 06:51:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:32 06:51:32 Login Succeeded 06:51:32 ---> docker-login.sh ends [Pipeline] } 06:51:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:51:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:51:32 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 06:51:32 ee3075b8714f7f80e63bfc34ce21b756d008dcba 06:51:32 latest 06:51:32 2.2.0-dev.15 06:51:32 ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 06:51:32 main 06:51:32 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:51:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] isUnix [Pipeline] sh 06:51:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba 06:51:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:51:32 e973f7f8202d: Preparing 06:51:32 2664cfee7f06: Preparing 06:51:32 277006897410: Preparing 06:51:32 c2c6bc02dd12: Preparing 06:51:32 f73e7dbfee58: Preparing 06:51:32 f73e7dbfee58: Layer already exists 06:51:33 2664cfee7f06: Pushed 06:51:33 e973f7f8202d: Pushed 06:51:33 c2c6bc02dd12: Pushed 06:51:39 277006897410: Pushed 06:51:39 ee3075b8714f7f80e63bfc34ce21b756d008dcba: digest: sha256:4afc803f49080e1cd8f3b746e6b675bc4a8e666b53d5eae635a9c8949d448948 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:51:39 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh 06:51:40 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 06:51:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:51:40 e973f7f8202d: Preparing 06:51:40 2664cfee7f06: Preparing 06:51:40 277006897410: Preparing 06:51:40 c2c6bc02dd12: Preparing 06:51:40 f73e7dbfee58: Preparing 06:51:40 277006897410: Layer already exists 06:51:40 f73e7dbfee58: Layer already exists 06:51:40 c2c6bc02dd12: Layer already exists 06:51:40 2664cfee7f06: Layer already exists 06:51:40 e973f7f8202d: Layer already exists 06:51:40 latest: digest: sha256:4afc803f49080e1cd8f3b746e6b675bc4a8e666b53d5eae635a9c8949d448948 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:51:40 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 06:51:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.15 06:51:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:51:41 e973f7f8202d: Preparing 06:51:41 2664cfee7f06: Preparing 06:51:41 277006897410: Preparing 06:51:41 c2c6bc02dd12: Preparing 06:51:41 f73e7dbfee58: Preparing 06:51:41 f73e7dbfee58: Layer already exists 06:51:41 277006897410: Layer already exists 06:51:41 e973f7f8202d: Layer already exists 06:51:41 c2c6bc02dd12: Layer already exists 06:51:41 2664cfee7f06: Layer already exists 06:51:41 2.2.0-dev.15: digest: sha256:4afc803f49080e1cd8f3b746e6b675bc4a8e666b53d5eae635a9c8949d448948 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:51:41 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 [Pipeline] isUnix [Pipeline] sh 06:51:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 06:51:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:51:41 e973f7f8202d: Preparing 06:51:41 2664cfee7f06: Preparing 06:51:41 277006897410: Preparing 06:51:41 c2c6bc02dd12: Preparing 06:51:41 f73e7dbfee58: Preparing 06:51:41 2664cfee7f06: Layer already exists 06:51:41 f73e7dbfee58: Layer already exists 06:51:41 277006897410: Layer already exists 06:51:41 e973f7f8202d: Layer already exists 06:51:41 c2c6bc02dd12: Layer already exists 06:51:42 ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15: digest: sha256:4afc803f49080e1cd8f3b746e6b675bc4a8e666b53d5eae635a9c8949d448948 size: 1366 [Pipeline] isUnix [Pipeline] sh 06:51:42 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh 06:51:42 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 06:51:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:51:42 e973f7f8202d: Preparing 06:51:42 2664cfee7f06: Preparing 06:51:42 277006897410: Preparing 06:51:42 c2c6bc02dd12: Preparing 06:51:42 f73e7dbfee58: Preparing 06:51:42 e973f7f8202d: Layer already exists 06:51:42 2664cfee7f06: Layer already exists 06:51:42 f73e7dbfee58: Layer already exists 06:51:42 277006897410: Layer already exists 06:51:42 c2c6bc02dd12: Layer already exists 06:51:43 main: digest: sha256:4afc803f49080e1cd8f3b746e6b675bc4a8e666b53d5eae635a9c8949d448948 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:51:43 ===================================================== [Pipeline] echo 06:51:43 taggedImages: 06:51:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba 06:51:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 06:51:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.15 06:51:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ee3075b8714f7f80e63bfc34ce21b756d008dcba-2.2.0-dev.15 06:51:43 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:51:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:51:43 06:51:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 06:51:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:51:44 arm64: Pulling from edgex-lftools-log-publisher 06:51:44 8998bd30e6a1: Pulling fs layer 06:51:44 04944245beec: Pulling fs layer 06:51:44 699f458cf7ca: Pulling fs layer 06:51:44 765212b225bb: Pulling fs layer 06:51:44 f23df028b6ca: Pulling fs layer 06:51:44 d65c8cfc05b1: Pulling fs layer 06:51:44 2437ff75d9bd: Pulling fs layer 06:51:44 765212b225bb: Waiting 06:51:44 f23df028b6ca: Waiting 06:51:44 d65c8cfc05b1: Waiting 06:51:44 2437ff75d9bd: Waiting 06:51:44 04944245beec: Verifying Checksum 06:51:44 04944245beec: Download complete 06:51:44 765212b225bb: Verifying Checksum 06:51:44 765212b225bb: Download complete 06:51:44 f23df028b6ca: Verifying Checksum 06:51:44 f23df028b6ca: Download complete 06:51:44 d65c8cfc05b1: Verifying Checksum 06:51:44 d65c8cfc05b1: Download complete 06:51:44 699f458cf7ca: Verifying Checksum 06:51:44 699f458cf7ca: Download complete 06:51:44 8998bd30e6a1: Verifying Checksum 06:51:44 8998bd30e6a1: Download complete 06:51:46 2437ff75d9bd: Verifying Checksum 06:51:46 2437ff75d9bd: Download complete 06:51:48 8998bd30e6a1: Pull complete 06:51:49 04944245beec: Pull complete 06:51:50 699f458cf7ca: Pull complete 06:51:51 765212b225bb: Pull complete 06:51:52 f23df028b6ca: Pull complete 06:51:52 d65c8cfc05b1: Pull complete 06:52:07 2437ff75d9bd: Pull complete 06:52:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:52:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 06:52:07 prd-ubuntu20.04-docker-arm64-4c-16g-45067 does not seem to be running inside a container 06:52:07 $ 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-rest-go/37 -v /w/workspace/device-rest-go/37:/w/workspace/device-rest-go/37:rw,z -v /w/workspace/device-rest-go/37@tmp:/w/workspace/device-rest-go/37@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:52:10 $ docker top 612b1ea21e566b9e06c9657e645a68b7fefff28af5355c975e69c73224223032 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:11 ---> job-cost.sh 06:52:11 lf-activate-venv: SKIPPING 06:52:11 INFO: No Stack... 06:52:11 INFO: Retrieving Pricing Info for: v3-standard-4 06:52:12 INFO: Archiving Costs [Pipeline] sh 06:52:13 + + cat /w/workspace/device-rest-go/37/archives/cost.csvcut 06:52:13 -d, -f6 [Pipeline] lock 06:52:13 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] 06:52:13 Resource [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] did not exist. Created. 06:52:13 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:52:13 /w/workspace/device-rest-go/37@tmp/durable-47684d05/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:52:14 + echo total: 0.10999999940395355 [Pipeline] stash 06:52:14 Warning: overwriting stash ‘stack-cost’ 06:52:14 Stashed 1 file(s) [Pipeline] } 06:52:14 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-37-stack-cost] [Pipeline] // lock [Pipeline] } 06:52:14 $ docker stop --time=1 612b1ea21e566b9e06c9657e645a68b7fefff28af5355c975e69c73224223032 06:52:16 $ docker rm -f 612b1ea21e566b9e06c9657e645a68b7fefff28af5355c975e69c73224223032 [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 06:52:16 provisioning config files... 06:52:16 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6869069465191130296tmp [Pipeline] { [Pipeline] sh 06:52:16 + set +x 06:52:16 + curl -s https://codecov.io/bash 06:52:16 + bash -s -- 06:52:16 06:52:16 _____ _ 06:52:16 / ____| | | 06:52:16 | | ___ __| | ___ ___ _____ __ 06:52:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:52:16 | |___| (_) | (_| | __/ (_| (_) \ V / 06:52:16 \_____\___/ \__,_|\___|\___\___/ \_/ 06:52:16 Bash-1.0.6 06:52:16 06:52:16 06:52:16 ==> git version 2.25.1 found 06:52:16 ==> 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 06:52:16 Release-Date: 2020-01-08 06:52:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:52:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:52:16 ==> Jenkins CI detected. 06:52:16 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 06:52:16 project root: . 06:52:16 --> token set from env 06:52:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:52:16 ==> Running gcov in . (disable via -X gcov) 06:52:16 ==> Python coveragepy not found 06:52:16 ==> Searching for coverage reports in: 06:52:16 + . 06:52:16 -> Found 1 reports 06:52:16 ==> Detecting git/mercurial file structure 06:52:16 ==> Reading reports 06:52:16 + ./coverage.out bytes=9355 06:52:16 ==> Appending adjustments 06:52:16 https://docs.codecov.io/docs/fixing-reports 06:52:17 + Found adjustments 06:52:17 ==> Gzipping contents 06:52:17 4.0K /tmp/codecov.iS0Edh.gz 06:52:17 ==> Uploading reports 06:52:17 url: https://codecov.io 06:52:17 query: branch=main&commit=ee3075b8714f7f80e63bfc34ce21b756d008dcba&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:52:17 -> Pinging Codecov 06:52:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=ee3075b8714f7f80e63bfc34ce21b756d008dcba&build=37&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F37%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:52:17 -> Uploading to 06:52:17 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/4E5D53B4F1F92C436F7061BF334D961C/ee3075b8714f7f80e63bfc34ce21b756d008dcba/b46d9b94-a488-452d-a3e1-9a5553d76067.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T065217Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05f692fc9baa9d0e39785b3c54bb9e3d8ec4452d6f212107afbe4fb8fb5c9e42 06:52:17 % Total % Received % Xferd Average Speed Time Time Time Current 06:52:17 Dload Upload Total Spent Left Speed 06:52:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8896 --:--:-- --:--:-- --:--:-- 8852 100 1806 0 0 100 1806 0 6893 --:--:-- --:--:-- --:--:-- 6893 06:52:17 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] } 06:52:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:52:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:52:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 06:52:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:52:18 06:52:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 06:52:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:52:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:52:18 188c0c94c7c5: Pulling fs layer 06:52:18 0ef7d3d256c8: Pulling fs layer 06:52:18 de9db76c5a1d: Pulling fs layer 06:52:18 0eba1c9be4d2: Pulling fs layer 06:52:18 0d57e429df01: Pulling fs layer 06:52:18 4e4be7b47b0d: Pulling fs layer 06:52:18 e1f770b5df2f: Pulling fs layer 06:52:18 85a0685a4137: Pulling fs layer 06:52:18 0eba1c9be4d2: Waiting 06:52:18 0d57e429df01: Waiting 06:52:18 4e4be7b47b0d: Waiting 06:52:18 e1f770b5df2f: Waiting 06:52:18 de9db76c5a1d: Download complete 06:52:18 0ef7d3d256c8: Download complete 06:52:18 0d57e429df01: Verifying Checksum 06:52:18 0d57e429df01: Download complete 06:52:18 4e4be7b47b0d: Verifying Checksum 06:52:18 4e4be7b47b0d: Download complete 06:52:18 188c0c94c7c5: Verifying Checksum 06:52:18 188c0c94c7c5: Download complete 06:52:18 188c0c94c7c5: Pull complete 06:52:18 0ef7d3d256c8: Pull complete 06:52:18 de9db76c5a1d: Pull complete 06:52:18 e1f770b5df2f: Verifying Checksum 06:52:18 e1f770b5df2f: Download complete 06:52:19 0eba1c9be4d2: Verifying Checksum 06:52:19 0eba1c9be4d2: Download complete 06:52:19 85a0685a4137: Verifying Checksum 06:52:19 85a0685a4137: Download complete 06:52:22 0eba1c9be4d2: Pull complete 06:52:22 0d57e429df01: Pull complete 06:52:22 4e4be7b47b0d: Pull complete 06:52:22 e1f770b5df2f: Pull complete 06:52:26 85a0685a4137: Pull complete 06:52:26 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 06:52:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:52:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 06:52:26 prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container 06:52:26 $ 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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 06:52:28 $ docker top d4bfc83206d4af8d764d568a27aa5f2f4cd2b77ef72e3775f431d2b51fc827fb -eo pid,comm [Pipeline] { [Pipeline] echo 06:52:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 06:52:28 + set -o pipefail 06:52:28 + snyk monitor '--org=edgex-jenkins' 06:52:34 06:52:34 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 06:52:34 06:52:34 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/5ced648c-8838-4607-950a-8b49a953c8f2 06:52:34 06:52:34 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:52:34 06:52:34 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:52:34 06:52:34 [Pipeline] } 06:52:34 $ docker stop --time=1 d4bfc83206d4af8d764d568a27aa5f2f4cd2b77ef72e3775f431d2b51fc827fb 06:52:36 $ docker rm -f d4bfc83206d4af8d764d568a27aa5f2f4cd2b77ef72e3775f431d2b51fc827fb [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) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:52:37 + git log --format=format:%s -1 ee3075b8714f7f80e63bfc34ce21b756d008dcba [Pipeline] sh 06:52:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:52:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:52:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:52:37 . [Pipeline] withDockerContainer 06:52:37 prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container 06:52:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 06:52:38 $ docker top 9c4032e0a2960cd7dea33e374a2851c54d0370109f10cb0cc038bd9203dc33e7 -eo pid,comm 06:52:38 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). 06:52:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:52:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:52:38 [ssh-agent] Looking for ssh-agent implementation... 06:52:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:52:38 $ docker exec 9c4032e0a2960cd7dea33e374a2851c54d0370109f10cb0cc038bd9203dc33e7 ssh-agent 06:52:38 SSH_AUTH_SOCK=/tmp/ssh-v2r4nDy7eFbU/agent.32 06:52:38 SSH_AGENT_PID=39 06:52:38 Running ssh-add (command line suppressed) 06:52:38 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8434740418454903714.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8434740418454903714.key) 06:52:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:52:39 + git semver tag 06:52:39 2022-05-10 06:52:39,407 [run_tag] DEBUG tag force:False 06:52:39 2022-05-10 06:52:39,407 [check_head_tag] DEBUG check head tag 06:52:39 2022-05-10 06:52:39,408 [execute] INFO git cat-file --batch-check 06:52:39 2022-05-10 06:52:39,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 06:52:39 2022-05-10 06:52:39,411 [execute] INFO git cat-file --batch 06:52:39 2022-05-10 06:52:39,411 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 06:52:39 2022-05-10 06:52:39,424 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:52:39 2022-05-10 06:52:39,424 [execute] INFO git tag -a v2.2.0-dev.15 -m v2.2.0-dev.15 06:52:39 2022-05-10 06:52:39,424 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.15', '-m', 'v2.2.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 06:52:39 2022-05-10 06:52:39,428 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:52:39 2.2.0-dev.15 [Pipeline] } 06:52:39 $ docker exec --env ******** --env ******** 9c4032e0a2960cd7dea33e374a2851c54d0370109f10cb0cc038bd9203dc33e7 ssh-agent -k 06:52:39 unset SSH_AUTH_SOCK; 06:52:39 unset SSH_AGENT_PID; 06:52:39 echo Agent pid 39 killed; 06:52:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:52:39 + git semver [Pipeline] } 06:52:40 $ docker stop --time=1 9c4032e0a2960cd7dea33e374a2851c54d0370109f10cb0cc038bd9203dc33e7 06:52:41 $ docker rm -f 9c4032e0a2960cd7dea33e374a2851c54d0370109f10cb0cc038bd9203dc33e7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 06:52:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:52:41 06:52:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 06:52:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:52:42 0.23.1-centos7: Pulling from edgex-lftools 06:52:42 ab5ef0e58194: Pulling fs layer 06:52:42 9712f1f96733: Pulling fs layer 06:52:42 63f879dbbcfc: Pulling fs layer 06:52:42 0d9ebad4ef96: Pulling fs layer 06:52:42 e9a5061849ea: Pulling fs layer 06:52:42 d747dcd14b5f: Pulling fs layer 06:52:42 2de7ff778b66: Pulling fs layer 06:52:42 0d9ebad4ef96: Waiting 06:52:42 e9a5061849ea: Waiting 06:52:42 2de7ff778b66: Waiting 06:52:42 d747dcd14b5f: Waiting 06:52:42 9712f1f96733: Verifying Checksum 06:52:42 9712f1f96733: Download complete 06:52:42 63f879dbbcfc: Verifying Checksum 06:52:42 63f879dbbcfc: Download complete 06:52:42 e9a5061849ea: Verifying Checksum 06:52:42 e9a5061849ea: Download complete 06:52:42 d747dcd14b5f: Verifying Checksum 06:52:42 d747dcd14b5f: Download complete 06:52:42 ab5ef0e58194: Verifying Checksum 06:52:42 ab5ef0e58194: Download complete 06:52:42 0d9ebad4ef96: Verifying Checksum 06:52:42 0d9ebad4ef96: Download complete 06:52:43 2de7ff778b66: Verifying Checksum 06:52:43 2de7ff778b66: Download complete 06:52:45 ab5ef0e58194: Pull complete 06:52:45 9712f1f96733: Pull complete 06:52:46 63f879dbbcfc: Pull complete 06:52:50 0d9ebad4ef96: Pull complete 06:52:50 e9a5061849ea: Pull complete 06:52:50 d747dcd14b5f: Pull complete 06:52:51 2de7ff778b66: Pull complete 06:52:51 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:52:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:52:51 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 06:52:51 prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container 06:52:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 06:52:54 $ docker top 643dc28ef088acd799ad777d6c8d8d5a1a29e2516a3e01dde1755f0d6538b896 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:52:54 provisioning config files... 06:52:54 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6627267756782945185tmp 06:52:54 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4653549779481321501tmp 06:52:54 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6930771017168929445tmp [Pipeline] { [Pipeline] echo 06:52:54 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:52:54 ---> sigul-configuration.sh 06:52:54 gpg: directory `/root/.gnupg' created 06:52:54 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:52:54 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:52:54 gpg: keyring `/root/.gnupg/secring.gpg' created 06:52:54 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:52:54 gpg: CAST5 encrypted data 06:52:54 gpg: encrypted with 1 passphrase 06:52:54 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:52:55 + mkdir /home/jenkins 06:52:55 + mkdir /home/jenkins/sigul [Pipeline] sh 06:52:55 + 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 06:52:55 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:52:55 ---> sigul-install.sh 06:52:55 Sigul already installed; skipping installation. [Pipeline] sh 06:52:56 + git tag --list 06:52:56 v1.0.0 06:52:56 v1.1.0 06:52:56 v1.1.1 06:52:56 v1.1.2 06:52:56 v1.2.0 06:52:56 v1.2.1 06:52:56 v2.0.0 06:52:56 v2.0.1-dev.1 06:52:56 v2.0.1-dev.10 06:52:56 v2.0.1-dev.11 06:52:56 v2.0.1-dev.12 06:52:56 v2.0.1-dev.13 06:52:56 v2.0.1-dev.14 06:52:56 v2.0.1-dev.2 06:52:56 v2.0.1-dev.3 06:52:56 v2.0.1-dev.4 06:52:56 v2.0.1-dev.5 06:52:56 v2.0.1-dev.6 06:52:56 v2.0.1-dev.7 06:52:56 v2.0.1-dev.8 06:52:56 v2.0.1-dev.9 06:52:56 v2.1.0 06:52:56 v2.2.0-dev.1 06:52:56 v2.2.0-dev.10 06:52:56 v2.2.0-dev.11 06:52:56 v2.2.0-dev.12 06:52:56 v2.2.0-dev.13 06:52:56 v2.2.0-dev.14 06:52:56 v2.2.0-dev.15 06:52:56 v2.2.0-dev.2 06:52:56 v2.2.0-dev.3 06:52:56 v2.2.0-dev.4 06:52:56 v2.2.0-dev.5 06:52:56 v2.2.0-dev.6 06:52:56 v2.2.0-dev.7 06:52:56 v2.2.0-dev.8 06:52:56 v2.2.0-dev.9 [Pipeline] sh 06:52:56 + lftools sign git-tag v2.2.0-dev.15 06:52:56 Signing Git tag with Sigul... 06:52:56 Signing v2.2.0-dev.15 [Pipeline] echo 06:52:57 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:52:57 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:52:57 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:52:57 $ docker stop --time=1 643dc28ef088acd799ad777d6c8d8d5a1a29e2516a3e01dde1755f0d6538b896 06:52:59 $ docker rm -f 643dc28ef088acd799ad777d6c8d8d5a1a29e2516a3e01dde1755f0d6538b896 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:52:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:52:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:52:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:52:59 . [Pipeline] withDockerContainer 06:52:59 prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container 06:52:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 06:53:00 $ docker top 2897e694e9291682392c63cef4404bd65a6baa0d9099e55c849958f3a90abedd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:53:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:53:00 [ssh-agent] Looking for ssh-agent implementation... 06:53:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:53:00 $ docker exec 2897e694e9291682392c63cef4404bd65a6baa0d9099e55c849958f3a90abedd ssh-agent 06:53:00 SSH_AUTH_SOCK=/tmp/ssh-CZGFwPpLMYqH/agent.33 06:53:00 SSH_AGENT_PID=40 06:53:00 Running ssh-add (command line suppressed) 06:53:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8292524678806695805.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8292524678806695805.key) 06:53:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:53:01 + git semver bump pre 06:53:01 2022-05-10 06:53:01,232 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:53:01 2022-05-10 06:53:01,233 [bump_version] DEBUG bumping version:2.2.0-dev.15 on axis:pre with prefix:dev 06:53:01 2022-05-10 06:53:01,233 [bump_version] DEBUG bumped version:2.2.0-dev.16 06:53:01 2022-05-10 06:53:01,233 [write_version] DEBUG write version:2.2.0-dev.16 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 06:53:01 2022-05-10 06:53:01,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:53:01 2022-05-10 06:53:01,233 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:53:01 2022-05-10 06:53:01,235 [execute] INFO git cat-file --batch-check 06:53:01 2022-05-10 06:53:01,235 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:53:01 2022-05-10 06:53:01,241 [execute] INFO git cat-file --batch 06:53:01 2022-05-10 06:53:01,241 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:53:01 2022-05-10 06:53:01,246 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:53:01 2.2.0-dev.16 [Pipeline] } 06:53:01 $ docker exec --env ******** --env ******** 2897e694e9291682392c63cef4404bd65a6baa0d9099e55c849958f3a90abedd ssh-agent -k 06:53:01 unset SSH_AUTH_SOCK; 06:53:01 unset SSH_AGENT_PID; 06:53:01 echo Agent pid 40 killed; 06:53:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:53:01 + git semver [Pipeline] } 06:53:02 $ docker stop --time=1 2897e694e9291682392c63cef4404bd65a6baa0d9099e55c849958f3a90abedd 06:53:03 $ docker rm -f 2897e694e9291682392c63cef4404bd65a6baa0d9099e55c849958f3a90abedd [Pipeline] // withDockerContainer [Pipeline] sh 06:53:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:53:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 06:53:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 06:53:03 . [Pipeline] withDockerContainer 06:53:04 prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container 06:53:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 06:53:04 $ docker top 25351556c015cd15f30bbb2089aa4b3042832e465a79f2d66654eebbd137ee90 -eo pid,comm 06:53:04 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). 06:53:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:53:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:53:04 [ssh-agent] Looking for ssh-agent implementation... 06:53:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:53:04 $ docker exec 25351556c015cd15f30bbb2089aa4b3042832e465a79f2d66654eebbd137ee90 ssh-agent 06:53:04 SSH_AUTH_SOCK=/tmp/ssh-tAOqaqigeFpD/agent.34 06:53:04 SSH_AGENT_PID=41 06:53:04 Running ssh-add (command line suppressed) 06:53:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4383967078036736568.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4383967078036736568.key) 06:53:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:53:05 + git semver push 06:53:05 2022-05-10 06:53:05,401 [run_push] DEBUG push 06:53:05 2022-05-10 06:53:05,402 [execute] INFO git push origin semver 06:53:05 2022-05-10 06:53:05,402 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:53:06 2022-05-10 06:53:06,206 [run_push] DEBUG push all version tags 06:53:06 2022-05-10 06:53:06,206 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:53:06 2022-05-10 06:53:06,207 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 06:53:06 2022-05-10 06:53:06,965 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:53:06 2.2.0-dev.16 [Pipeline] } 06:53:07 $ docker exec --env ******** --env ******** 25351556c015cd15f30bbb2089aa4b3042832e465a79f2d66654eebbd137ee90 ssh-agent -k 06:53:07 unset SSH_AUTH_SOCK; 06:53:07 unset SSH_AGENT_PID; 06:53:07 echo Agent pid 41 killed; 06:53:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:53:07 + git semver [Pipeline] } 06:53:07 $ docker stop --time=1 25351556c015cd15f30bbb2089aa4b3042832e465a79f2d66654eebbd137ee90 06:53:09 $ docker rm -f 25351556c015cd15f30bbb2089aa4b3042832e465a79f2d66654eebbd137ee90 [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 06:53:09 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 06:53:09 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 06:53:09 total 16 06:53:09 drwxr-xr-x 3 root root 4096 May 10 06:35 . 06:53:09 drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:52 .. 06:53:09 drwxr-xr-x 2 root root 4096 May 10 06:35 cost 06:53:09 -rw-r--r-- 1 root root 84 May 10 06:35 cost.csv 06:53:09 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 06:53:09 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 06:53:09 total 16 06:53:09 drwxr-xr-x 3 jenkins jenkins 4096 May 10 06:35 . 06:53:09 drwxrwxr-x 10 jenkins jenkins 4096 May 10 06:52 .. 06:53:09 drwxr-xr-x 2 jenkins jenkins 4096 May 10 06:35 cost 06:53:09 -rw-r--r-- 1 jenkins jenkins 84 May 10 06:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:53:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:53:11 ---> package-listing.sh 06:53:11 ++ facter osfamily 06:53:11 ++ tr '[:upper:]' '[:lower:]' 06:53:11 + OS_FAMILY=debian 06:53:11 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 06:53:11 + START_PACKAGES=/tmp/packages_start.txt 06:53:11 + END_PACKAGES=/tmp/packages_end.txt 06:53:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:53:11 + PACKAGES=/tmp/packages_start.txt 06:53:11 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:53:11 + PACKAGES=/tmp/packages_end.txt 06:53:11 + case "${OS_FAMILY}" in 06:53:11 + dpkg -l 06:53:11 + grep '^ii' 06:53:11 + '[' -f /tmp/packages_start.txt ']' 06:53:11 + '[' -f /tmp/packages_end.txt ']' 06:53:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:53:11 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:53:11 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 06:53:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 06:53:11 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-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:53:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 06:53:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:53:12 . [Pipeline] withDockerContainer 06:53:12 prd-ubuntu20.04-docker-8c-8g-44862 does not seem to be running inside a container 06:53:12 $ 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-rest-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-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-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 06:53:12 $ docker top addb228865916363cc3c8cfa4a083568b88f465104f90289c0e5e6ae1d3e3dba -eo pid,comm [Pipeline] { [Pipeline] sh 06:53:12 + touch /tmp/pre-build-complete [Pipeline] sh 06:53:13 + mkdir -p /var/log/sysstat [Pipeline] sh 06:53:13 + ls /var/log/sa-host 06:53:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:53:13 provisioning config files... 06:53:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4589263262082909043tmp [Pipeline] { [Pipeline] echo 06:53:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:53:14 ---> create-netrc.sh [Pipeline] } 06:53:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:53:14 ---> python-tools-install.sh [Pipeline] echo 06:53:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:53:14 ---> sudo-logs.sh 06:53:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:53:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:53:15 ---> job-cost.sh 06:53:15 lf-activate-venv: SKIPPING 06:53:15 DEBUG: total: 0.2199999988079071 06:53:15 INFO: Retrieving Stack Cost... 06:53:15 INFO: Retrieving Pricing Info for: v3-standard-8 06:53:15 INFO: Archiving Costs [Pipeline] echo 06:53:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:53:16 ---> logs-deploy.sh 06:53:16 lf-activate-venv: SKIPPING 06:53:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/37 06:53:16 INFO: archiving workspace using pattern(s): 06:53:17 Archives upload complete. 06:53:17 INFO: archiving logs to Nexus