Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f5cefbfc3079018690f325d1bed071e9846b5efb 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-ssh12304455847612825257.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh15045169917212616973.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14700110887163031932.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2169359052718549349.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13922072240078019650.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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.20 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-9351’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-9352’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-9292’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9416’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9417’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9422’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-9418’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-9419’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-9421’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9425 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 f5cefbfc3079018690f325d1bed071e9846b5efb (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 f5cefbfc3079018690f325d1bed071e9846b5efb # timeout=10 Commit message: "Merge pull request #298 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.73" > git rev-list --no-walk 8f28bd2feba64f4e14e7f4e476d7a420beb0434d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:31:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:31:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:31:40 ========================================================= 01:31:40 EdgeX Global Pipelines Version Info 01:31:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:31:41 ------------------- 01:31:41 stable info: 01:31:41 ------------------- 01:31:41 Commited By: Bill Mahoney bill.mahoney@intel.com 01:31:41 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:31:41 Message: update stable to v1.0.248 01:31:42 ------------------- 01:31:42 experimental info: 01:31:42 ------------------- 01:31:42 Commited By: **** collab-it+edgex@linuxfoundation.org 01:31:42 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 01:31:42 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f5cefbfc3079018690f325d1bed071e9846b5efb [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f5cefbf [Pipeline] echo 01:31:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:31:42 provisioning config files... 01:31:42 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config26626459407311710tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:31:43 ---> docker-login.sh 01:31:43 nexus3.edgexfoundry.org:10001 01:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:43 Configure a credential helper to remove this warning. See 01:31:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:43 01:31:43 Login Succeeded 01:31:43 nexus3.edgexfoundry.org:10002 01:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:43 Configure a credential helper to remove this warning. See 01:31:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:43 01:31:43 Login Succeeded 01:31:43 nexus3.edgexfoundry.org:10003 01:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:43 Configure a credential helper to remove this warning. See 01:31:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:43 01:31:43 Login Succeeded 01:31:43 nexus3.edgexfoundry.org:10004 01:31:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:43 Configure a credential helper to remove this warning. See 01:31:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:43 01:31:43 Login Succeeded 01:31:43 docker.io 01:31:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:31:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:31:44 Configure a credential helper to remove this warning. See 01:31:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:31:44 01:31:44 Login Succeeded 01:31:44 ---> docker-login.sh ends [Pipeline] } 01:31:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:31:44 + git rev-list -1 --merges f5cefbfc3079018690f325d1bed071e9846b5efb~1..f5cefbfc3079018690f325d1bed071e9846b5efb [Pipeline] echo 01:31:44 -----------> git rev-list -1 --merges f5cefbfc3079018690f325d1bed071e9846b5efb~1..f5cefbfc3079018690f325d1bed071e9846b5efb f5cefbfc3079018690f325d1bed071e9846b5efb 01:31:44 f5cefbfc3079018690f325d1bed071e9846b5efb [false] [Pipeline] sh 01:31:44 + git log --format=format:%s -1 f5cefbfc3079018690f325d1bed071e9846b5efb [Pipeline] echo 01:31:44 ========================================================= 01:31:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:31:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:31:45 + git log --format=format:%s -1 f5cefbfc3079018690f325d1bed071e9846b5efb [Pipeline] echo 01:31:45 [semverPrep] GIT_COMMIT: f5cefbfc3079018690f325d1bed071e9846b5efb, Commit Message: Merge pull request #298 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.73 [Pipeline] echo 01:31:45 [semverPrep] This is not a build commit. [Pipeline] sh 01:31:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:31:45 + grep -v github /etc/ssh/ssh_known_hosts 01:31:45 + [ -e /tmp/ssh_known_hosts ] 01:31:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:31:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:31:45 + sudo tee -a /etc/ssh/ssh_known_hosts 01:31:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:31:46 01:31:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:31:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:31:46 0.1.4: Pulling from edgex-devops/py-git-semver 01:31:46 b85a868b505f: Pulling fs layer 01:31:46 e2be974225ed: Pulling fs layer 01:31:46 339a4e72a1f5: Pulling fs layer 01:31:46 988bab9f4d93: Pulling fs layer 01:31:46 1469e6f7b9e6: Pulling fs layer 01:31:46 eaf3925da568: Pulling fs layer 01:31:46 bab4dde63d76: Pulling fs layer 01:31:46 bde34c3a00c8: Pulling fs layer 01:31:46 b352a97aabf1: Pulling fs layer 01:31:46 4872d77fe225: Pulling fs layer 01:31:46 5851b861e8e6: Pulling fs layer 01:31:46 bde34c3a00c8: Waiting 01:31:46 988bab9f4d93: Waiting 01:31:46 b352a97aabf1: Waiting 01:31:46 4872d77fe225: Waiting 01:31:46 5851b861e8e6: Waiting 01:31:46 1469e6f7b9e6: Waiting 01:31:46 bab4dde63d76: Waiting 01:31:46 e2be974225ed: Download complete 01:31:46 988bab9f4d93: Verifying Checksum 01:31:46 988bab9f4d93: Download complete 01:31:46 1469e6f7b9e6: Verifying Checksum 01:31:46 1469e6f7b9e6: Download complete 01:31:46 339a4e72a1f5: Verifying Checksum 01:31:46 339a4e72a1f5: Download complete 01:31:46 eaf3925da568: Verifying Checksum 01:31:46 eaf3925da568: Download complete 01:31:46 bde34c3a00c8: Verifying Checksum 01:31:46 bde34c3a00c8: Download complete 01:31:46 b352a97aabf1: Download complete 01:31:46 4872d77fe225: Verifying Checksum 01:31:46 4872d77fe225: Download complete 01:31:46 5851b861e8e6: Verifying Checksum 01:31:46 5851b861e8e6: Download complete 01:31:46 b85a868b505f: Download complete 01:31:46 bab4dde63d76: Verifying Checksum 01:31:46 bab4dde63d76: Download complete 01:31:47 b85a868b505f: Pull complete 01:31:48 e2be974225ed: Pull complete 01:31:48 339a4e72a1f5: Pull complete 01:31:49 988bab9f4d93: Pull complete 01:31:49 1469e6f7b9e6: Pull complete 01:31:49 eaf3925da568: Pull complete 01:31:51 bab4dde63d76: Pull complete 01:31:52 bde34c3a00c8: Pull complete 01:31:52 b352a97aabf1: Pull complete 01:31:52 4872d77fe225: Pull complete 01:31:52 5851b861e8e6: Pull complete 01:31:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:31:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:31:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:31:52 prd-ubuntu20.04-docker-8c-8g-9425 does not seem to be running inside a container 01:31:52 $ 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:0.1.4 cat 01:31:56 $ docker top e81f8d59d9485ffc85c6c824010c0e347bc549594ad62a65cd61141c552cab7e -eo pid,comm 01:31:56 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). 01:31:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:31:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:31:56 [ssh-agent] Looking for ssh-agent implementation... 01:31:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:31:56 $ docker exec e81f8d59d9485ffc85c6c824010c0e347bc549594ad62a65cd61141c552cab7e ssh-agent 01:31:56 SSH_AUTH_SOCK=/tmp/ssh-YI5E7lDzDdIt/agent.32 01:31:56 SSH_AGENT_PID=38 01:31:56 Running ssh-add (command line suppressed) 01:31:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7350317706313635010.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7350317706313635010.key) 01:31:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:31:57 + git tag --points-at HEAD [Pipeline] } 01:31:57 $ docker exec --env ******** --env ******** e81f8d59d9485ffc85c6c824010c0e347bc549594ad62a65cd61141c552cab7e ssh-agent -k 01:31:57 unset SSH_AUTH_SOCK; 01:31:57 unset SSH_AGENT_PID; 01:31:57 echo Agent pid 38 killed; 01:31:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:31:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:31:57 [ssh-agent] Looking for ssh-agent implementation... 01:31:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:31:57 $ docker exec e81f8d59d9485ffc85c6c824010c0e347bc549594ad62a65cd61141c552cab7e ssh-agent 01:31:57 SSH_AUTH_SOCK=/tmp/ssh-GttZ6ZvoCDek/agent.70 01:31:57 SSH_AGENT_PID=76 01:31:57 Running ssh-add (command line suppressed) 01:31:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12656728679918912275.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12656728679918912275.key) 01:31:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:31:57 + git semver init 01:31:58 2023-04-24 01:31:58,010 [run_init] DEBUG init version:0.0.0 force:False 01:31:58 2023-04-24 01:31:58,011 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 01:31:58 2023-04-24 01:31:58,012 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 01:31:58 2023-04-24 01:31:58,012 [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) 01:31:59 2023-04-24 01:31:58,998 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 01:31:59 2023-04-24 01:31:58,999 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 01:31:59 2023-04-24 01:31:58,999 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:31:59 2023-04-24 01:31:58,999 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:31:59 3.0.0-dev.30 [Pipeline] } 01:31:59 $ docker exec --env ******** --env ******** e81f8d59d9485ffc85c6c824010c0e347bc549594ad62a65cd61141c552cab7e ssh-agent -k 01:31:59 unset SSH_AUTH_SOCK; 01:31:59 unset SSH_AGENT_PID; 01:31:59 echo Agent pid 76 killed; 01:31:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:31:59 + git semver [Pipeline] } 01:31:59 $ docker stop --time=1 e81f8d59d9485ffc85c6c824010c0e347bc549594ad62a65cd61141c552cab7e 01:32:01 $ docker rm -f --volumes e81f8d59d9485ffc85c6c824010c0e347bc549594ad62a65cd61141c552cab7e [Pipeline] // withDockerContainer [Pipeline] sh 01:32:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:32:01 Stashed 1 file(s) [Pipeline] echo 01:32:01 [edgeXSemver]: initialized semver on version 3.0.0-dev.30 [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 01:32:01 provisioning config files... 01:32:01 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config685778582416101087tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:32:02 ---> docker-login.sh 01:32:02 nexus3.edgexfoundry.org:10001 01:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:02 Configure a credential helper to remove this warning. See 01:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:02 01:32:02 Login Succeeded 01:32:02 nexus3.edgexfoundry.org:10002 01:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:02 Configure a credential helper to remove this warning. See 01:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:02 01:32:02 Login Succeeded 01:32:02 nexus3.edgexfoundry.org:10003 01:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:02 Configure a credential helper to remove this warning. See 01:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:02 01:32:02 Login Succeeded 01:32:02 nexus3.edgexfoundry.org:10004 01:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:02 Configure a credential helper to remove this warning. See 01:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:02 01:32:02 Login Succeeded 01:32:02 docker.io 01:32:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:32:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:32:02 Configure a credential helper to remove this warning. See 01:32:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:32:02 01:32:02 Login Succeeded 01:32:02 ---> docker-login.sh ends [Pipeline] } 01:32:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:32:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:32:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:32:02 ========================================================= 01:32:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 01:32:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:03 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:32:03 Sending build context to Docker daemon 10.9MB 01:32:03 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:32:03 Step 2/12 : FROM ${BASE} AS builder 01:32:03 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 01:32:03 63b65145d645: Pulling fs layer 01:32:03 a2d21d5440eb: Pulling fs layer 01:32:03 935e6c44a52c: Pulling fs layer 01:32:03 94cc34f8dd06: Pulling fs layer 01:32:03 30dea6a524f1: Pulling fs layer 01:32:03 a2aff8979fd8: Pulling fs layer 01:32:03 94cc34f8dd06: Waiting 01:32:03 30dea6a524f1: Waiting 01:32:03 a2aff8979fd8: Waiting 01:32:03 6808be2612f2: Pulling fs layer 01:32:03 f25807f1079a: Pulling fs layer 01:32:03 a2d21d5440eb: Download complete 01:32:03 94cc34f8dd06: Verifying Checksum 01:32:03 30dea6a524f1: Verifying Checksum 01:32:03 30dea6a524f1: Download complete 01:32:03 63b65145d645: Verifying Checksum 01:32:03 63b65145d645: Download complete 01:32:03 a2aff8979fd8: Verifying Checksum 01:32:03 a2aff8979fd8: Download complete 01:32:03 63b65145d645: Pull complete 01:32:03 a2d21d5440eb: Pull complete 01:32:04 f25807f1079a: Verifying Checksum 01:32:04 f25807f1079a: Download complete 01:32:04 935e6c44a52c: Verifying Checksum 01:32:04 935e6c44a52c: Download complete 01:32:04 6808be2612f2: Verifying Checksum 01:32:04 6808be2612f2: Download complete 01:32:07 935e6c44a52c: Pull complete 01:32:07 94cc34f8dd06: Pull complete 01:32:08 30dea6a524f1: Pull complete 01:32:08 a2aff8979fd8: Pull complete 01:32:10 6808be2612f2: Pull complete 01:32:11 f25807f1079a: Pull complete 01:32:11 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 01:32:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 01:32:11 ---> 3b553350e43f 01:32:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:32:15 ---> Running in eb68112944ad 01:32:15 Removing intermediate container eb68112944ad 01:32:15 ---> 1cac15d7df80 01:32:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:32:15 ---> Running in d33096bab26f 01:32:15 Removing intermediate container d33096bab26f 01:32:15 ---> 1e8862988c94 01:32:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:32:15 ---> Running in 52b3b4065032 01:32:16 Removing intermediate container 52b3b4065032 01:32:16 ---> 14c37846f1ca 01:32:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:32:16 ---> Running in ac6bb2f645d3 01:32:16 Removing intermediate container ac6bb2f645d3 01:32:16 ---> 7fec369a827b 01:32:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:32:16 ---> Running in b449fa8835e2 01:32:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:32:16 Still waiting to schedule task 01:32:16 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 01:32:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:32:16 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:32:16 (2/4) Installing libedit (20221030.3.1-r0) 01:32:16 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:32:17 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:32:17 Executing busybox-1.35.0-r29.trigger 01:32:17 OK: 269 MiB in 57 packages 01:32:17 Removing intermediate container b449fa8835e2 01:32:17 ---> ee88109ca086 01:32:17 Step 8/12 : WORKDIR /device-rest-go 01:32:17 ---> Running in 429fda01e0a5 01:32:17 Removing intermediate container 429fda01e0a5 01:32:17 ---> 788e3194adc9 01:32:17 Step 9/12 : COPY go.mod vendor* ./ 01:32:17 ---> 3de7772d0597 01:32:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:32:17 ---> Running in 9e65fe7a6906 01:32:44 Removing intermediate container 9e65fe7a6906 01:32:44 ---> 1d4c96ad9637 01:32:44 Step 11/12 : COPY . . 01:32:44 ---> 1630d755798a 01:32:44 Step 12/12 : RUN $MAKE 01:32:44 ---> Running in cf1fad8edc1e 01:32:45 noop 01:32:45 Removing intermediate container cf1fad8edc1e 01:32:45 ---> 4c486046ddad 01:32:45 Successfully built 4c486046ddad 01:32:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:45 + docker inspect -f . ci-base-image-x86_64 01:32:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:45 prd-ubuntu20.04-docker-8c-8g-9425 does not seem to be running inside a container 01:32:45 $ 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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:32:46 $ docker top cded1208255393e06192035f9a3a683fa3801986bac8672c36860540204df16f -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:46 + go version 01:32:46 go version go1.20.2 linux/amd64 [Pipeline] } 01:32:46 $ docker stop --time=1 cded1208255393e06192035f9a3a683fa3801986bac8672c36860540204df16f 01:32:47 $ docker rm -f --volumes cded1208255393e06192035f9a3a683fa3801986bac8672c36860540204df16f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:32:48 + docker inspect -f . ci-base-image-x86_64 01:32:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:32:48 prd-ubuntu20.04-docker-8c-8g-9425 does not seem to be running inside a container 01:32:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:32:48 $ docker top 416ecf3755dcb91f1bdf5c671a2268aeecdc06f6d2ecdc42da4343f794d3e275 -eo pid,comm [Pipeline] { [Pipeline] sh 01:32:48 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 01:32:49 + make test 01:32:49 go test ./... -coverprofile=coverage.out ./... 01:32:53 ? github.com/edgexfoundry/device-rest-go [no test files] 01:33:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:33:03 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 32.2% of statements 01:33:09 go vet ./... 01:33:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:33:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:33:12 ./bin/test-attribution-txt.sh [Pipeline] echo 01:33:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:33:12 $ docker stop --time=1 416ecf3755dcb91f1bdf5c671a2268aeecdc06f6d2ecdc42da4343f794d3e275 01:33:15 $ docker rm -f --volumes 416ecf3755dcb91f1bdf5c671a2268aeecdc06f6d2ecdc42da4343f794d3e275 [Pipeline] // withDockerContainer [Pipeline] sh 01:33:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:33:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:33:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:33:17 + ls -al . 01:33:17 total 184 01:33:17 drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 01:32 . 01:33:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:31 .. 01:33:17 -rw-rw-r-- 1 jenkins jenkins 151 Apr 24 01:31 .dockerignore 01:33:17 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 01:31 .git 01:33:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:31 .github 01:33:17 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 01:31 .gitignore 01:33:17 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 01:31 .golangci.yml 01:33:17 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 01:31 .semver 01:33:17 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 24 01:31 Attribution.txt 01:33:17 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 24 01:31 CHANGELOG.md 01:33:17 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 24 01:31 Dockerfile 01:33:17 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 01:31 GOVERNANCE.md 01:33:17 -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 01:31 Jenkinsfile 01:33:17 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 01:31 LICENSE 01:33:17 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 24 01:31 Makefile 01:33:17 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 01:31 OWNERS.md 01:33:17 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 24 01:31 README.md 01:33:17 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 01:32 VERSION 01:33:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:31 bin 01:33:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:31 cmd 01:33:17 -rw-r--r-- 1 jenkins jenkins 14663 Apr 24 01:33 coverage.out 01:33:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:31 driver 01:33:17 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 24 01:31 go.mod 01:33:17 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 01:31 go.sum 01:33:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:31 snap 01:33:17 -rw-rw-r-- 1 jenkins jenkins 713 Apr 24 01:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:17 + 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=f5cefbfc3079018690f325d1bed071e9846b5efb --label arch=amd64 --label version=3.0.0-dev.30 . 01:33:17 Sending build context to Docker daemon 10.91MB 01:33:17 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:33:17 Step 2/25 : FROM ${BASE} AS builder 01:33:17 ---> 4c486046ddad 01:33:17 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:33:17 ---> Running in 94455ae5ee14 01:33:17 Removing intermediate container 94455ae5ee14 01:33:17 ---> 1e7156367a01 01:33:17 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:33:17 ---> Running in 7f8b5a3c3c5c 01:33:17 Removing intermediate container 7f8b5a3c3c5c 01:33:17 ---> 475af771177e 01:33:17 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:33:17 ---> Running in 29e9f8e00766 01:33:17 Removing intermediate container 29e9f8e00766 01:33:17 ---> 368833db4fea 01:33:17 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:33:17 ---> Running in e1c57d4f65fc 01:33:18 Removing intermediate container e1c57d4f65fc 01:33:18 ---> 84785b666877 01:33:18 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:33:18 ---> Running in 0fba123c2c36 01:33:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:33:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:33:18 OK: 269 MiB in 57 packages 01:33:19 Removing intermediate container 0fba123c2c36 01:33:19 ---> 88d5c1cd63c1 01:33:19 Step 8/25 : WORKDIR /device-rest-go 01:33:19 ---> Running in 406c00938587 01:33:19 Removing intermediate container 406c00938587 01:33:19 ---> 9fd478bc192e 01:33:19 Step 9/25 : COPY go.mod vendor* ./ 01:33:19 ---> da649f43a1b5 01:33:19 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:33:19 ---> Running in 2694268cba27 01:33:19 Removing intermediate container 2694268cba27 01:33:19 ---> 4ebcf9d1199c 01:33:19 Step 11/25 : COPY . . 01:33:20 ---> b05243ea933e 01:33:20 Step 12/25 : RUN $MAKE 01:33:20 ---> Running in 14945a9cb770 01:33:20 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.30" -trimpath -mod=readonly -o cmd/device-rest ./cmd 01:33:39 Removing intermediate container 14945a9cb770 01:33:39 ---> 55a95853ee4e 01:33:39 Step 13/25 : FROM alpine:3.17 01:33:46 3.17: Pulling from library/alpine 01:33:46 f56be85fc22e: Pulling fs layer 01:33:46 f56be85fc22e: Download complete 01:33:46 f56be85fc22e: Pull complete 01:33:46 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:33:46 Status: Downloaded newer image for alpine:3.17 01:33:46 ---> 9ed4aefc74f6 01:33:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:33:46 ---> Running in fe169c36fc00 01:33:46 Removing intermediate container fe169c36fc00 01:33:46 ---> c797d007f356 01:33:46 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 01:33:46 ---> Running in c5c73744e72c 01:33:46 Removing intermediate container c5c73744e72c 01:33:46 ---> 144c93565118 01:33:46 Step 16/25 : RUN apk add --update --no-cache dumb-init 01:33:46 ---> Running in a31ff396660d 01:33:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 01:33:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 01:33:46 (1/1) Installing dumb-init (1.2.5-r2) 01:33:46 Executing busybox-1.35.0-r29.trigger 01:33:46 OK: 7 MiB in 16 packages 01:33:46 Removing intermediate container a31ff396660d 01:33:46 ---> f9b35498c57d 01:33:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 01:33:47 ---> b023480d0810 01:33:47 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 01:33:47 ---> 2e9af0305866 01:33:47 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 01:33:47 ---> a3ebc830e3e1 01:33:47 Step 20/25 : EXPOSE 59986 01:33:47 ---> Running in 3c75c33424ae 01:33:48 Removing intermediate container 3c75c33424ae 01:33:48 ---> 10f00f9ea1e5 01:33:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 01:33:48 ---> Running in 2b2cd7666956 01:33:48 Removing intermediate container 2b2cd7666956 01:33:48 ---> a0ae13445e8b 01:33:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:33:48 ---> Running in 1c8f0d1c97b8 01:33:48 Removing intermediate container 1c8f0d1c97b8 01:33:48 ---> 27c8e53155f0 01:33:48 Step 23/25 : LABEL arch=amd64 01:33:48 ---> Running in 2579a8a328db 01:33:48 Removing intermediate container 2579a8a328db 01:33:48 ---> 13e860b17cc2 01:33:48 Step 24/25 : LABEL git_sha=f5cefbfc3079018690f325d1bed071e9846b5efb 01:33:48 ---> Running in bb9a07497ad9 01:33:48 Removing intermediate container bb9a07497ad9 01:33:48 ---> 6fb608f8a081 01:33:48 Step 25/25 : LABEL version=3.0.0-dev.30 01:33:48 ---> Running in 0ecb14978257 01:33:48 Removing intermediate container 0ecb14978257 01:33:48 ---> 0dcce74ab765 01:33:48 [Warning] One or more build-args [ARCH] were not consumed 01:33:48 Successfully built 0dcce74ab765 01:33:48 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:33:48 provisioning config files... 01:33:48 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15587063312821483180tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:33:48 ---> docker-login.sh 01:33:48 nexus3.edgexfoundry.org:10001 01:33:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:48 Configure a credential helper to remove this warning. See 01:33:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:48 01:33:48 Login Succeeded 01:33:48 nexus3.edgexfoundry.org:10002 01:33:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:48 Configure a credential helper to remove this warning. See 01:33:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:48 01:33:48 Login Succeeded 01:33:48 nexus3.edgexfoundry.org:10003 01:33:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:48 Configure a credential helper to remove this warning. See 01:33:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:48 01:33:48 Login Succeeded 01:33:48 nexus3.edgexfoundry.org:10004 01:33:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:48 Configure a credential helper to remove this warning. See 01:33:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:48 01:33:48 Login Succeeded 01:33:48 docker.io 01:33:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:33:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:33:49 Configure a credential helper to remove this warning. See 01:33:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:33:49 01:33:49 Login Succeeded 01:33:49 ---> docker-login.sh ends [Pipeline] } 01:33:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:33:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:33:49 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 01:33:49 f5cefbfc3079018690f325d1bed071e9846b5efb 01:33:49 latest 01:33:49 3.0.0-dev.30 01:33:49 f5cefbfc3079018690f325d1bed071e9846b5efb-3.0.0-dev.30 01:33:49 main 01:33:49 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:49 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f5cefbfc3079018690f325d1bed071e9846b5efb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:49 + docker push nexus3.edgexfoundry.org:10004/device-rest:f5cefbfc3079018690f325d1bed071e9846b5efb 01:33:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:33:49 16546dbdd776: Preparing 01:33:49 0e53531d34c8: Preparing 01:33:49 6b5fc3a2d909: Preparing 01:33:49 204a7cfe156a: Preparing 01:33:49 f1417ff83b31: Preparing 01:33:49 f1417ff83b31: Layer already exists 01:33:49 16546dbdd776: Pushed 01:33:49 204a7cfe156a: Pushed 01:33:49 0e53531d34c8: Pushed 01:33:52 6b5fc3a2d909: Pushed 01:33:52 f5cefbfc3079018690f325d1bed071e9846b5efb: digest: sha256:a329c8b7d0d438170246ec767b2c4d55bac2a570342ad593b91d2bcdaafb17c7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 01:33:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:33:53 16546dbdd776: Preparing 01:33:53 0e53531d34c8: Preparing 01:33:53 6b5fc3a2d909: Preparing 01:33:53 204a7cfe156a: Preparing 01:33:53 f1417ff83b31: Preparing 01:33:53 f1417ff83b31: Layer already exists 01:33:53 6b5fc3a2d909: Layer already exists 01:33:53 16546dbdd776: Layer already exists 01:33:53 0e53531d34c8: Layer already exists 01:33:53 204a7cfe156a: Layer already exists 01:33:53 latest: digest: sha256:a329c8b7d0d438170246ec767b2c4d55bac2a570342ad593b91d2bcdaafb17c7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.30 01:33:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:33:53 16546dbdd776: Preparing 01:33:53 0e53531d34c8: Preparing 01:33:53 6b5fc3a2d909: Preparing 01:33:53 204a7cfe156a: Preparing 01:33:53 f1417ff83b31: Preparing 01:33:53 f1417ff83b31: Layer already exists 01:33:53 6b5fc3a2d909: Layer already exists 01:33:53 204a7cfe156a: Layer already exists 01:33:53 16546dbdd776: Layer already exists 01:33:53 0e53531d34c8: Layer already exists 01:33:53 3.0.0-dev.30: digest: sha256:a329c8b7d0d438170246ec767b2c4d55bac2a570342ad593b91d2bcdaafb17c7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f5cefbfc3079018690f325d1bed071e9846b5efb-3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:f5cefbfc3079018690f325d1bed071e9846b5efb-3.0.0-dev.30 01:33:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:33:54 16546dbdd776: Preparing 01:33:54 0e53531d34c8: Preparing 01:33:54 6b5fc3a2d909: Preparing 01:33:54 204a7cfe156a: Preparing 01:33:54 f1417ff83b31: Preparing 01:33:54 0e53531d34c8: Layer already exists 01:33:54 204a7cfe156a: Layer already exists 01:33:54 f1417ff83b31: Layer already exists 01:33:54 16546dbdd776: Layer already exists 01:33:54 6b5fc3a2d909: Layer already exists 01:33:54 f5cefbfc3079018690f325d1bed071e9846b5efb-3.0.0-dev.30: digest: sha256:a329c8b7d0d438170246ec767b2c4d55bac2a570342ad593b91d2bcdaafb17c7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:54 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 01:33:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 01:33:54 16546dbdd776: Preparing 01:33:54 0e53531d34c8: Preparing 01:33:54 6b5fc3a2d909: Preparing 01:33:54 204a7cfe156a: Preparing 01:33:54 f1417ff83b31: Preparing 01:33:54 6b5fc3a2d909: Layer already exists 01:33:54 16546dbdd776: Layer already exists 01:33:54 f1417ff83b31: Layer already exists 01:33:54 204a7cfe156a: Layer already exists 01:33:54 0e53531d34c8: Layer already exists 01:33:54 main: digest: sha256:a329c8b7d0d438170246ec767b2c4d55bac2a570342ad593b91d2bcdaafb17c7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:33:54 ===================================================== [Pipeline] echo 01:33:54 taggedImages: 01:33:54 - nexus3.edgexfoundry.org:10004/device-rest:f5cefbfc3079018690f325d1bed071e9846b5efb 01:33:54 - nexus3.edgexfoundry.org:10004/device-rest:latest 01:33:54 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.30 01:33:54 - nexus3.edgexfoundry.org:10004/device-rest:f5cefbfc3079018690f325d1bed071e9846b5efb-3.0.0-dev.30 01:33:54 - 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] withEnv [Pipeline] { [Pipeline] sh 01:33:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:55 01:33:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:33:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:33:55 latest: Pulling from edgex-lftools-log-publisher 01:33:55 5eb5b503b376: Pulling fs layer 01:33:55 5c69ac0246d0: Pulling fs layer 01:33:55 ec43610c2a17: Pulling fs layer 01:33:55 3a2ae6a8a46f: Pulling fs layer 01:33:55 33b1e0a273af: Pulling fs layer 01:33:55 5d3b04190fa2: Pulling fs layer 01:33:55 2f39f015ded8: Pulling fs layer 01:33:55 33b1e0a273af: Waiting 01:33:55 5d3b04190fa2: Waiting 01:33:55 2f39f015ded8: Waiting 01:33:55 5c69ac0246d0: Verifying Checksum 01:33:55 5c69ac0246d0: Download complete 01:33:55 3a2ae6a8a46f: Verifying Checksum 01:33:55 3a2ae6a8a46f: Download complete 01:33:55 33b1e0a273af: Verifying Checksum 01:33:55 33b1e0a273af: Download complete 01:33:55 ec43610c2a17: Verifying Checksum 01:33:55 ec43610c2a17: Download complete 01:33:55 5d3b04190fa2: Verifying Checksum 01:33:55 5d3b04190fa2: Download complete 01:33:55 5eb5b503b376: Verifying Checksum 01:33:55 5eb5b503b376: Download complete 01:33:56 2f39f015ded8: Download complete 01:33:57 5eb5b503b376: Pull complete 01:33:57 5c69ac0246d0: Pull complete 01:33:57 ec43610c2a17: Pull complete 01:33:57 3a2ae6a8a46f: Pull complete 01:33:57 33b1e0a273af: Pull complete 01:33:57 5d3b04190fa2: Pull complete 01:34:02 2f39f015ded8: Pull complete 01:34:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:34:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:34:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:34:02 prd-ubuntu20.04-docker-8c-8g-9425 does not seem to be running inside a container 01:34:02 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:34:04 $ docker top 272b21ad2db09460de23e238eaa02037e2db0c46d6833dcfdb99fc92f85cfdf9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:34:05 ---> job-cost.sh 01:34:05 lf-activate-venv: SKIPPING 01:34:05 INFO: No Stack... 01:34:05 INFO: Retrieving Pricing Info for: v3-standard-8 01:34:05 INFO: Archiving Costs [Pipeline] sh 01:34:05 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 01:34:05 + cut -d, -f6 [Pipeline] lock 01:34:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-102-stack-cost] 01:34:06 Resource [jenkins-edgexfoundry-device-rest-go-main-102-stack-cost] did not exist. Created. 01:34:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:34:06 + echo total: 0.2199999988079071 [Pipeline] stash 01:34:06 Stashed 1 file(s) [Pipeline] } 01:34:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-102-stack-cost] [Pipeline] // lock [Pipeline] } 01:34:06 $ docker stop --time=1 272b21ad2db09460de23e238eaa02037e2db0c46d6833dcfdb99fc92f85cfdf9 01:34:07 $ docker rm -f --volumes 272b21ad2db09460de23e238eaa02037e2db0c46d6833dcfdb99fc92f85cfdf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:35:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9435 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 01:35:17 Running in /w/workspace/device-rest-go/102 [Pipeline] { [Pipeline] checkout 01:35:17 The recommended git tool is: git 01:35:24 using credential edgex-jenkins-ssh 01:35:24 Cloning the remote Git repository 01:35:24 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:35:24 > git init /w/workspace/device-rest-go/102 # timeout=10 01:35:25 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:35:25 > git --version # timeout=10 01:35:25 > git --version # 'git version 2.25.1' 01:35:25 using GIT_SSH to set credentials SSH Credentials for GitHub 01:35:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:35:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:35:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:35:28 Avoid second fetch 01:35:28 Checking out Revision f5cefbfc3079018690f325d1bed071e9846b5efb (main) 01:35:28 > git config core.sparsecheckout # timeout=10 01:35:28 > git checkout -f f5cefbfc3079018690f325d1bed071e9846b5efb # timeout=10 01:35:29 Commit message: "Merge pull request #298 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.73" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:35:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:35:30 % Total % Received % Xferd Average Speed Time Time Time Current 01:35:30 Dload Upload Total Spent Left Speed 01:35:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 204k 0 --:--:-- --:--:-- --:--:-- 204k [Pipeline] sh 01:35:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:35:31 + + sudo teesudo /etc/docker/daemon.new jq 01:35:31 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:35:31 { 01:35:31 "registry-mirrors": [ 01:35:31 "https://nexus3.edgexfoundry.org:10001" 01:35:31 ], 01:35:31 "bip": "10.250.0.254/24", 01:35:31 "hosts": [ 01:35:31 "tcp://0.0.0.0:5555", 01:35:31 "unix:///var/run/docker.sock" 01:35:31 ], 01:35:31 "mtu": 1458, 01:35:31 "selinux-enabled": true, 01:35:31 "seccomp-profile": "/etc/docker/seccomp.json" 01:35:31 } [Pipeline] sh 01:35:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:35:32 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:35:50 provisioning config files... 01:35:50 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/102@tmp/config13739255022583418274tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:35:50 ---> docker-login.sh 01:35:50 nexus3.edgexfoundry.org:10001 01:35:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:51 Configure a credential helper to remove this warning. See 01:35:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:51 01:35:51 Login Succeeded 01:35:51 nexus3.edgexfoundry.org:10002 01:35:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:52 Configure a credential helper to remove this warning. See 01:35:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:52 01:35:52 Login Succeeded 01:35:52 nexus3.edgexfoundry.org:10003 01:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:52 Configure a credential helper to remove this warning. See 01:35:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:52 01:35:52 Login Succeeded 01:35:52 nexus3.edgexfoundry.org:10004 01:35:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:53 Configure a credential helper to remove this warning. See 01:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:53 01:35:53 Login Succeeded 01:35:53 docker.io 01:35:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:35:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:35:53 Configure a credential helper to remove this warning. See 01:35:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:35:53 01:35:53 Login Succeeded 01:35:53 ---> docker-login.sh ends [Pipeline] } 01:35:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:35:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:35:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:35:54 ========================================================= 01:35:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 01:35:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:35:54 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 01:35:54 Sending build context to Docker daemon 138.8kB 01:35:54 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 01:35:54 Step 2/12 : FROM ${BASE} AS builder 01:35:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:35:54 af6eaf76a39c: Pulling fs layer 01:35:54 55522c791124: Pulling fs layer 01:35:54 ce5c4a1c91eb: Pulling fs layer 01:35:54 169dfbe0d373: Pulling fs layer 01:35:54 e1ff8fa3b103: Pulling fs layer 01:35:54 52ebb69f0ebf: Pulling fs layer 01:35:54 5abe8eddf0d5: Pulling fs layer 01:35:54 169dfbe0d373: Waiting 01:35:54 e1ff8fa3b103: Waiting 01:35:54 52ebb69f0ebf: Waiting 01:35:54 5abe8eddf0d5: Waiting 01:35:54 55522c791124: Verifying Checksum 01:35:54 55522c791124: Download complete 01:35:54 169dfbe0d373: Verifying Checksum 01:35:54 169dfbe0d373: Download complete 01:35:54 e1ff8fa3b103: Verifying Checksum 01:35:54 e1ff8fa3b103: Download complete 01:35:54 af6eaf76a39c: Verifying Checksum 01:35:54 af6eaf76a39c: Download complete 01:35:56 5abe8eddf0d5: Verifying Checksum 01:35:56 5abe8eddf0d5: Download complete 01:35:56 af6eaf76a39c: Pull complete 01:35:57 55522c791124: Pull complete 01:35:57 ce5c4a1c91eb: Verifying Checksum 01:35:57 ce5c4a1c91eb: Download complete 01:35:57 52ebb69f0ebf: Verifying Checksum 01:35:57 52ebb69f0ebf: Download complete 01:36:10 ce5c4a1c91eb: Pull complete 01:36:10 169dfbe0d373: Pull complete 01:36:10 e1ff8fa3b103: Pull complete 01:36:16 52ebb69f0ebf: Pull complete 01:36:17 5abe8eddf0d5: Pull complete 01:36:17 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 01:36:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 01:36:17 ---> 6cb57ee374ae 01:36:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 01:36:20 ---> Running in a68e56eb3a88 01:36:20 Removing intermediate container a68e56eb3a88 01:36:20 ---> 25c356fafbcf 01:36:20 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:36:20 ---> Running in e33015ba2b24 01:36:20 Removing intermediate container e33015ba2b24 01:36:20 ---> bbb65e92414e 01:36:20 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:36:20 ---> Running in acef9a868334 01:36:21 Removing intermediate container acef9a868334 01:36:21 ---> 115e9bef8899 01:36:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 01:36:21 ---> Running in 8f2784709a04 01:36:21 Removing intermediate container 8f2784709a04 01:36:21 ---> 37bc80e49c37 01:36:21 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:36:21 ---> Running in 29a80e359489 01:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:36:24 (1/4) Installing openssh-keygen (9.1_p1-r2) 01:36:25 (2/4) Installing libedit (20221030.3.1-r0) 01:36:25 (3/4) Installing openssh-client-common (9.1_p1-r2) 01:36:25 (4/4) Installing openssh-client-default (9.1_p1-r2) 01:36:25 Executing busybox-1.35.0-r29.trigger 01:36:25 OK: 268 MiB in 57 packages 01:36:26 Removing intermediate container 29a80e359489 01:36:26 ---> 2bce486c31ca 01:36:26 Step 8/12 : WORKDIR /device-rest-go 01:36:26 ---> Running in 81ffeff63f2e 01:36:26 Removing intermediate container 81ffeff63f2e 01:36:26 ---> 32ea5a0c3754 01:36:26 Step 9/12 : COPY go.mod vendor* ./ 01:36:27 ---> 363d4511d9e7 01:36:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:36:27 ---> Running in d4416ed68d9f 01:37:35 Removing intermediate container d4416ed68d9f 01:37:35 ---> 9b3954318b8e 01:37:35 Step 11/12 : COPY . . 01:37:35 ---> 10a265e785c2 01:37:35 Step 12/12 : RUN $MAKE 01:37:35 ---> Running in a96ce760e590 01:37:35 noop 01:37:36 Removing intermediate container a96ce760e590 01:37:36 ---> 7e02a0b40bd5 01:37:36 Successfully built 7e02a0b40bd5 01:37:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:36 + docker inspect -f . ci-base-image-arm64 01:37:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:36 prd-ubuntu20.04-docker-arm64-4c-16g-9435 does not seem to be running inside a container 01:37:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/102 -v /w/workspace/device-rest-go/102:/w/workspace/device-rest-go/102:rw,z -v /w/workspace/device-rest-go/102@tmp:/w/workspace/device-rest-go/102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:37:38 $ docker top 22f6b5638c5734651ea30190fcbb356783a69c6da486e614ba9f4f6432fcb517 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:39 + go version 01:37:39 go version go1.20.2 linux/arm64 [Pipeline] } 01:37:39 $ docker stop --time=1 22f6b5638c5734651ea30190fcbb356783a69c6da486e614ba9f4f6432fcb517 01:37:40 $ docker rm -f --volumes 22f6b5638c5734651ea30190fcbb356783a69c6da486e614ba9f4f6432fcb517 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:37:41 + docker inspect -f . ci-base-image-arm64 01:37:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:37:41 prd-ubuntu20.04-docker-arm64-4c-16g-9435 does not seem to be running inside a container 01:37:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/102 -v /w/workspace/device-rest-go/102:/w/workspace/device-rest-go/102:rw,z -v /w/workspace/device-rest-go/102@tmp:/w/workspace/device-rest-go/102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:37:43 $ docker top 9ef72c6fd53ed29f827f205f13a228b7608b89723064d88d1ae6ebaec4964bb0 -eo pid,comm [Pipeline] { [Pipeline] sh 01:37:43 + git config --global --add safe.directory /w/workspace/device-rest-go/102 [Pipeline] fileExists [Pipeline] sh 01:37:44 + make test 01:37:44 go test ./... -coverprofile=coverage.out ./... 01:38:23 ? github.com/edgexfoundry/device-rest-go [no test files] 01:41:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:41:02 ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 32.2% of statements 01:41:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:41:03 go vet ./... 01:41:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:41:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:41:42 ./bin/test-attribution-txt.sh [Pipeline] echo 01:41:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:41:42 $ docker stop --time=1 9ef72c6fd53ed29f827f205f13a228b7608b89723064d88d1ae6ebaec4964bb0 01:41:44 $ docker rm -f --volumes 9ef72c6fd53ed29f827f205f13a228b7608b89723064d88d1ae6ebaec4964bb0 [Pipeline] // withDockerContainer [Pipeline] sh 01:41:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:41:45 Warning: overwriting stash ‘coverage-report’ 01:41:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:41:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:41:47 + ls -al . 01:41:47 total 180 01:41:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 01:37 . 01:41:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:35 .. 01:41:47 -rw-rw-r-- 1 jenkins jenkins 151 Apr 24 01:35 .dockerignore 01:41:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 01:35 .git 01:41:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:35 .github 01:41:47 -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 01:35 .gitignore 01:41:47 -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 01:35 .golangci.yml 01:41:47 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 24 01:35 Attribution.txt 01:41:47 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 24 01:35 CHANGELOG.md 01:41:47 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 24 01:35 Dockerfile 01:41:47 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 01:35 GOVERNANCE.md 01:41:47 -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 01:35 Jenkinsfile 01:41:47 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 01:35 LICENSE 01:41:47 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 24 01:35 Makefile 01:41:47 -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 01:35 OWNERS.md 01:41:47 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 24 01:35 README.md 01:41:47 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 01:32 VERSION 01:41:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:35 bin 01:41:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:35 cmd 01:41:47 -rw-r--r-- 1 jenkins jenkins 14663 Apr 24 01:41 coverage.out 01:41:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:35 driver 01:41:47 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 24 01:35 go.mod 01:41:47 -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 01:35 go.sum 01:41:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:35 snap 01:41:47 -rw-rw-r-- 1 jenkins jenkins 713 Apr 24 01:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:41:47 + 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=f5cefbfc3079018690f325d1bed071e9846b5efb --label arch=arm64 --label version=3.0.0-dev.30 . 01:41:47 Sending build context to Docker daemon 154.1kB 01:41:47 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 01:41:47 Step 2/25 : FROM ${BASE} AS builder 01:41:47 ---> 7e02a0b40bd5 01:41:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 01:41:48 ---> Running in a0703dc68c8b 01:41:48 Removing intermediate container a0703dc68c8b 01:41:48 ---> ed0e97d7b09f 01:41:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 01:41:48 ---> Running in 8b1a7b6d52ff 01:41:48 Removing intermediate container 8b1a7b6d52ff 01:41:48 ---> c2868640a193 01:41:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 01:41:48 ---> Running in 60fdbb6dddeb 01:41:49 Removing intermediate container 60fdbb6dddeb 01:41:49 ---> 02373645ddb3 01:41:49 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 01:41:51 ---> Running in 8abd6b16b939 01:41:51 Removing intermediate container 8abd6b16b939 01:41:51 ---> f541de8deec6 01:41:51 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:41:51 ---> Running in bcf8278d79f6 01:41:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:41:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:41:54 OK: 268 MiB in 57 packages 01:41:55 Removing intermediate container bcf8278d79f6 01:41:55 ---> 5b920d69ee59 01:41:55 Step 8/25 : WORKDIR /device-rest-go 01:41:55 ---> Running in 3f54cfe550cf 01:41:55 Removing intermediate container 3f54cfe550cf 01:41:55 ---> dfa7815aa7df 01:41:55 Step 9/25 : COPY go.mod vendor* ./ 01:41:56 ---> a6bc107d6253 01:41:56 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:41:56 ---> Running in 06a15d2d4b84 01:42:00 Removing intermediate container 06a15d2d4b84 01:42:00 ---> f3bf360aef83 01:42:00 Step 11/25 : COPY . . 01:42:00 ---> 467f6cae68b5 01:42:00 Step 12/25 : RUN $MAKE 01:42:00 ---> Running in 552c644d8bb5 01:42:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.30" -trimpath -mod=readonly -o cmd/device-rest ./cmd 01:44:54 Removing intermediate container 552c644d8bb5 01:44:54 ---> 795221b2e9b8 01:44:54 Step 13/25 : FROM alpine:3.17 01:44:54 3.17: Pulling from library/alpine 01:44:54 c41833b44d91: Pulling fs layer 01:44:54 c41833b44d91: Download complete 01:44:54 c41833b44d91: Pull complete 01:44:54 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 01:44:54 Status: Downloaded newer image for alpine:3.17 01:44:54 ---> 51e60588ff2c 01:44:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:44:54 ---> Running in 58816a7f5a06 01:44:54 Removing intermediate container 58816a7f5a06 01:44:54 ---> 117ded836731 01:44:54 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 01:44:54 ---> Running in 6ea8f9035b00 01:44:54 Removing intermediate container 6ea8f9035b00 01:44:54 ---> 6bc66304c1c7 01:44:54 Step 16/25 : RUN apk add --update --no-cache dumb-init 01:44:54 ---> Running in 2c4ac0e0d36c 01:44:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 01:44:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 01:44:55 (1/1) Installing dumb-init (1.2.5-r2) 01:44:55 Executing busybox-1.35.0-r29.trigger 01:44:55 OK: 8 MiB in 16 packages 01:44:56 Removing intermediate container 2c4ac0e0d36c 01:44:56 ---> 918fe6bd9e1d 01:44:56 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 01:44:57 ---> 2ddb12112288 01:44:57 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 01:44:58 ---> 59c413355646 01:44:58 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 01:44:58 ---> fe6bd34634f6 01:44:58 Step 20/25 : EXPOSE 59986 01:44:58 ---> Running in 1a070dfef4b8 01:44:59 Removing intermediate container 1a070dfef4b8 01:44:59 ---> 2bef9874d929 01:44:59 Step 21/25 : ENTRYPOINT ["/device-rest"] 01:44:59 ---> Running in f09e43983259 01:44:59 Removing intermediate container f09e43983259 01:44:59 ---> bebcd15914bf 01:44:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 01:44:59 ---> Running in 1be6d1c82d6e 01:44:59 Removing intermediate container 1be6d1c82d6e 01:44:59 ---> 6e9b88d190d6 01:44:59 Step 23/25 : LABEL arch=arm64 01:45:00 ---> Running in f4dee785376f 01:45:00 Removing intermediate container f4dee785376f 01:45:00 ---> 69b7c4e6e84b 01:45:00 Step 24/25 : LABEL git_sha=f5cefbfc3079018690f325d1bed071e9846b5efb 01:45:00 ---> Running in 62c1e7e76011 01:45:00 Removing intermediate container 62c1e7e76011 01:45:00 ---> c6c7655fc398 01:45:00 Step 25/25 : LABEL version=3.0.0-dev.30 01:45:00 ---> Running in 0815bdf751a2 01:45:01 Removing intermediate container 0815bdf751a2 01:45:01 ---> 78b17721826e 01:45:01 [Warning] One or more build-args [ARCH] were not consumed 01:45:01 Successfully built 78b17721826e 01:45:01 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:45:01 provisioning config files... 01:45:01 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/102@tmp/config1270388226029934549tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:01 ---> docker-login.sh 01:45:01 nexus3.edgexfoundry.org:10001 01:45:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:01 Configure a credential helper to remove this warning. See 01:45:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:01 01:45:01 Login Succeeded 01:45:01 nexus3.edgexfoundry.org:10002 01:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:02 Configure a credential helper to remove this warning. See 01:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:02 01:45:02 Login Succeeded 01:45:02 nexus3.edgexfoundry.org:10003 01:45:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:02 Configure a credential helper to remove this warning. See 01:45:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:02 01:45:02 Login Succeeded 01:45:02 nexus3.edgexfoundry.org:10004 01:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:03 Configure a credential helper to remove this warning. See 01:45:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:03 01:45:03 Login Succeeded 01:45:03 docker.io 01:45:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:45:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:45:04 Configure a credential helper to remove this warning. See 01:45:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:45:04 01:45:04 Login Succeeded 01:45:04 ---> docker-login.sh ends [Pipeline] } 01:45:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:45:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:45:04 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 01:45:04 f5cefbfc3079018690f325d1bed071e9846b5efb 01:45:04 latest 01:45:04 3.0.0-dev.30 01:45:04 f5cefbfc3079018690f325d1bed071e9846b5efb-3.0.0-dev.30 01:45:04 main 01:45:04 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:04 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f5cefbfc3079018690f325d1bed071e9846b5efb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f5cefbfc3079018690f325d1bed071e9846b5efb 01:45:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:45:05 26df0a27fdce: Preparing 01:45:05 c39c004af05c: Preparing 01:45:05 58fb65bd3826: Preparing 01:45:05 a9c68a5e690a: Preparing 01:45:05 26cbea5cba74: Preparing 01:45:05 26cbea5cba74: Layer already exists 01:45:05 c39c004af05c: Pushed 01:45:05 26df0a27fdce: Pushed 01:45:05 a9c68a5e690a: Pushed 01:45:12 58fb65bd3826: Pushed 01:45:12 f5cefbfc3079018690f325d1bed071e9846b5efb: digest: sha256:548b0ffcaa6a0fe0233e746ad70b092bf07abd83b7d9c9e2a8a69370ffab64b6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:45:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:45:12 26df0a27fdce: Preparing 01:45:12 c39c004af05c: Preparing 01:45:12 58fb65bd3826: Preparing 01:45:12 a9c68a5e690a: Preparing 01:45:12 26cbea5cba74: Preparing 01:45:12 a9c68a5e690a: Layer already exists 01:45:12 c39c004af05c: Layer already exists 01:45:12 58fb65bd3826: Layer already exists 01:45:12 26df0a27fdce: Layer already exists 01:45:12 26cbea5cba74: Layer already exists 01:45:13 latest: digest: sha256:548b0ffcaa6a0fe0233e746ad70b092bf07abd83b7d9c9e2a8a69370ffab64b6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.30 01:45:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:45:13 26df0a27fdce: Preparing 01:45:13 c39c004af05c: Preparing 01:45:13 58fb65bd3826: Preparing 01:45:13 a9c68a5e690a: Preparing 01:45:13 26cbea5cba74: Preparing 01:45:13 26df0a27fdce: Layer already exists 01:45:13 a9c68a5e690a: Layer already exists 01:45:13 c39c004af05c: Layer already exists 01:45:13 58fb65bd3826: Layer already exists 01:45:13 26cbea5cba74: Layer already exists 01:45:13 3.0.0-dev.30: digest: sha256:548b0ffcaa6a0fe0233e746ad70b092bf07abd83b7d9c9e2a8a69370ffab64b6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f5cefbfc3079018690f325d1bed071e9846b5efb-3.0.0-dev.30 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f5cefbfc3079018690f325d1bed071e9846b5efb-3.0.0-dev.30 01:45:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:45:14 26df0a27fdce: Preparing 01:45:14 c39c004af05c: Preparing 01:45:14 58fb65bd3826: Preparing 01:45:14 a9c68a5e690a: Preparing 01:45:14 26cbea5cba74: Preparing 01:45:14 26cbea5cba74: Layer already exists 01:45:14 a9c68a5e690a: Layer already exists 01:45:14 26df0a27fdce: Layer already exists 01:45:14 58fb65bd3826: Layer already exists 01:45:14 c39c004af05c: Layer already exists 01:45:15 f5cefbfc3079018690f325d1bed071e9846b5efb-3.0.0-dev.30: digest: sha256:548b0ffcaa6a0fe0233e746ad70b092bf07abd83b7d9c9e2a8a69370ffab64b6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 01:45:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 01:45:15 26df0a27fdce: Preparing 01:45:15 c39c004af05c: Preparing 01:45:15 58fb65bd3826: Preparing 01:45:15 a9c68a5e690a: Preparing 01:45:15 26cbea5cba74: Preparing 01:45:15 26cbea5cba74: Layer already exists 01:45:15 a9c68a5e690a: Layer already exists 01:45:15 26df0a27fdce: Layer already exists 01:45:15 58fb65bd3826: Layer already exists 01:45:15 c39c004af05c: Layer already exists 01:45:16 main: digest: sha256:548b0ffcaa6a0fe0233e746ad70b092bf07abd83b7d9c9e2a8a69370ffab64b6 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 01:45:16 ===================================================== [Pipeline] echo 01:45:16 taggedImages: 01:45:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f5cefbfc3079018690f325d1bed071e9846b5efb 01:45:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 01:45:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.30 01:45:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f5cefbfc3079018690f325d1bed071e9846b5efb-3.0.0-dev.30 01:45:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:45:16 01:45:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:45:17 arm64: Pulling from edgex-lftools-log-publisher 01:45:17 8998bd30e6a1: Pulling fs layer 01:45:17 04944245beec: Pulling fs layer 01:45:17 699f458cf7ca: Pulling fs layer 01:45:17 765212b225bb: Pulling fs layer 01:45:17 f23df028b6ca: Pulling fs layer 01:45:17 d65c8cfc05b1: Pulling fs layer 01:45:17 2437ff75d9bd: Pulling fs layer 01:45:17 765212b225bb: Waiting 01:45:17 f23df028b6ca: Waiting 01:45:17 d65c8cfc05b1: Waiting 01:45:17 2437ff75d9bd: Waiting 01:45:17 04944245beec: Verifying Checksum 01:45:17 04944245beec: Download complete 01:45:17 765212b225bb: Verifying Checksum 01:45:17 765212b225bb: Download complete 01:45:17 f23df028b6ca: Download complete 01:45:17 d65c8cfc05b1: Verifying Checksum 01:45:17 d65c8cfc05b1: Download complete 01:45:17 699f458cf7ca: Verifying Checksum 01:45:17 699f458cf7ca: Download complete 01:45:17 8998bd30e6a1: Verifying Checksum 01:45:17 8998bd30e6a1: Download complete 01:45:20 2437ff75d9bd: Verifying Checksum 01:45:20 2437ff75d9bd: Download complete 01:45:22 8998bd30e6a1: Pull complete 01:45:22 04944245beec: Pull complete 01:45:24 699f458cf7ca: Pull complete 01:45:24 765212b225bb: Pull complete 01:45:25 f23df028b6ca: Pull complete 01:45:25 d65c8cfc05b1: Pull complete 01:45:40 2437ff75d9bd: Pull complete 01:45:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:45:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:45:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:40 prd-ubuntu20.04-docker-arm64-4c-16g-9435 does not seem to be running inside a container 01:45:40 $ 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/102 -v /w/workspace/device-rest-go/102:/w/workspace/device-rest-go/102:rw,z -v /w/workspace/device-rest-go/102@tmp:/w/workspace/device-rest-go/102@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:45:43 $ docker top 58ff07bf40190cbc7a3e0682f76bd2d982f7c11962d702df47404b0c3d5845c9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:45:44 ---> job-cost.sh 01:45:44 lf-activate-venv: SKIPPING 01:45:44 INFO: No Stack... 01:45:45 INFO: Retrieving Pricing Info for: v3-standard-4 01:45:45 INFO: Archiving Costs [Pipeline] sh 01:45:46 + cat /w/workspace/device-rest-go/102/archives/cost.csv 01:45:46 + cut -d, -f6 [Pipeline] lock 01:45:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-102-stack-cost] 01:45:46 Resource [jenkins-edgexfoundry-device-rest-go-main-102-stack-cost] did not exist. Created. 01:45:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-102-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:45:47 /w/workspace/device-rest-go/102@tmp/durable-89c641bf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:45:47 + echo total: 0.10999999940395355 [Pipeline] stash 01:45:47 Warning: overwriting stash ‘stack-cost’ 01:45:48 Stashed 1 file(s) [Pipeline] } 01:45:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-102-stack-cost] [Pipeline] // lock [Pipeline] } 01:45:48 $ docker stop --time=1 58ff07bf40190cbc7a3e0682f76bd2d982f7c11962d702df47404b0c3d5845c9 01:45:49 $ docker rm -f --volumes 58ff07bf40190cbc7a3e0682f76bd2d982f7c11962d702df47404b0c3d5845c9 [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 01:45:49 provisioning config files... 01:45:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1288617915942853258tmp [Pipeline] { [Pipeline] sh 01:45:50 + set +x 01:45:50 + curl -s https://codecov.io/bash 01:45:50 + bash -s -- 01:45:50 01:45:50 _____ _ 01:45:50 / ____| | | 01:45:50 | | ___ __| | ___ ___ _____ __ 01:45:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:45:50 | |___| (_) | (_| | __/ (_| (_) \ V / 01:45:50 \_____\___/ \__,_|\___|\___\___/ \_/ 01:45:50 Bash-1.0.6 01:45:50 01:45:50 01:45:50 ==> git version 2.25.1 found 01:45:50 ==> 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 01:45:50 Release-Date: 2020-01-08 01:45:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:45:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:45:50 ==> Jenkins CI detected. 01:45:50 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 01:45:50 project root: . 01:45:50 --> token set from env 01:45:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:45:50 ==> Running gcov in . (disable via -X gcov) 01:45:50 ==> Python coveragepy not found 01:45:50 ==> Searching for coverage reports in: 01:45:50 + . 01:45:50 -> Found 1 reports 01:45:50 ==> Detecting git/mercurial file structure 01:45:50 ==> Reading reports 01:45:50 + ./coverage.out bytes=14663 01:45:50 ==> Appending adjustments 01:45:50 https://docs.codecov.io/docs/fixing-reports 01:45:50 + Found adjustments 01:45:50 ==> Gzipping contents 01:45:50 4.0K /tmp/codecov.Slrx94.gz 01:45:50 ==> Uploading reports 01:45:50 url: https://codecov.io 01:45:50 query: branch=main&commit=f5cefbfc3079018690f325d1bed071e9846b5efb&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:45:50 -> Pinging Codecov 01:45:50 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=f5cefbfc3079018690f325d1bed071e9846b5efb&build=102&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F102%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:45:50 -> Uploading to 01:45:50 https://storage.googleapis.com/codecov/v4/raw/2023-04-24/4E5D53B4F1F92C436F7061BF334D961C/f5cefbfc3079018690f325d1bed071e9846b5efb/a1be82ee-0c17-4a92-87de-cf653f1560a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T014550Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e881bf5801820b082f53fca79dab66b1af648aa9dc904dc3ca5b9b8e3a9bfd9f 01:45:50 % Total % Received % Xferd Average Speed Time Time Time Current 01:45:50 Dload Upload Total Spent Left Speed 01:45:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12364 --:--:-- --:--:-- --:--:-- 12303 100 2510 0 0 100 2510 0 11409 --:--:-- --:--:-- --:--:-- 11357 01:45:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f5cefbfc3079018690f325d1bed071e9846b5efb [Pipeline] } 01:45:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:45:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:45:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:45:51 01:45:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:45:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:45:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:45:51 df9b9388f04a: Pulling fs layer 01:45:51 52dc419b0ee2: Pulling fs layer 01:45:51 25bc292e5bac: Pulling fs layer 01:45:51 114826534d7a: Pulling fs layer 01:45:51 4657fd5d0bcf: Pulling fs layer 01:45:51 6ad1cebc031e: Pulling fs layer 01:45:51 8a3aa393b2d8: Pulling fs layer 01:45:51 4657fd5d0bcf: Waiting 01:45:51 6ad1cebc031e: Waiting 01:45:51 114826534d7a: Waiting 01:45:51 25bc292e5bac: Verifying Checksum 01:45:51 25bc292e5bac: Download complete 01:45:51 52dc419b0ee2: Verifying Checksum 01:45:51 52dc419b0ee2: Download complete 01:45:51 4657fd5d0bcf: Verifying Checksum 01:45:51 4657fd5d0bcf: Download complete 01:45:51 df9b9388f04a: Verifying Checksum 01:45:51 df9b9388f04a: Download complete 01:45:51 6ad1cebc031e: Verifying Checksum 01:45:51 6ad1cebc031e: Download complete 01:45:51 df9b9388f04a: Pull complete 01:45:51 52dc419b0ee2: Pull complete 01:45:51 25bc292e5bac: Pull complete 01:45:52 114826534d7a: Verifying Checksum 01:45:52 114826534d7a: Download complete 01:45:52 8a3aa393b2d8: Verifying Checksum 01:45:52 8a3aa393b2d8: Download complete 01:45:56 114826534d7a: Pull complete 01:45:56 4657fd5d0bcf: Pull complete 01:45:56 6ad1cebc031e: Pull complete 01:45:59 8a3aa393b2d8: Pull complete 01:45:59 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:45:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:45:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:45:59 prd-ubuntu20.04-docker-8c-8g-9425 does not seem to be running inside a container 01:45:59 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:46:03 $ docker top ee11dbee5de0c6d961b8a90e52f4d17b3a8eb9794b48ccd97eb58f02b29643fe -eo pid,comm [Pipeline] { [Pipeline] echo 01:46:03 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 01:46:03 + set -o pipefail 01:46:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 01:46:07 01:46:07 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 01:46:07 01:46:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/72fa6f37-014f-40d3-b27f-2006ae66a73a 01:46:07 01:46:07 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 01:46:07 01:46:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:46:07 01:46:07 01:46:07 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:46:07 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:46:07 More details here: https://snyk.co/ue1NS [Pipeline] } 01:46:08 $ docker stop --time=1 ee11dbee5de0c6d961b8a90e52f4d17b3a8eb9794b48ccd97eb58f02b29643fe 01:46:11 $ docker rm -f --volumes ee11dbee5de0c6d961b8a90e52f4d17b3a8eb9794b48ccd97eb58f02b29643fe [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 01:46:11 + git log --format=format:%s -1 f5cefbfc3079018690f325d1bed071e9846b5efb [Pipeline] sh 01:46:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:46:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:46:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:12 prd-ubuntu20.04-docker-8c-8g-9425 does not seem to be running inside a container 01:46:12 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:46:13 $ docker top 3ef0a365e681f79e368e34961f4ebfbf168addc1406156a6e51c1a2a3d0a8d10 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:46:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:46:13 [ssh-agent] Looking for ssh-agent implementation... 01:46:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:46:13 $ docker exec 3ef0a365e681f79e368e34961f4ebfbf168addc1406156a6e51c1a2a3d0a8d10 ssh-agent 01:46:13 SSH_AUTH_SOCK=/tmp/ssh-gvumv9QQ9bia/agent.33 01:46:13 SSH_AGENT_PID=39 01:46:13 Running ssh-add (command line suppressed) 01:46:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12711222257243326465.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12711222257243326465.key) 01:46:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:46:13 + git semver tag 01:46:13 2023-04-24 01:46:13,926 [run_tag] DEBUG tag force:False 01:46:13 2023-04-24 01:46:13,926 [check_head_tag] DEBUG check head tag 01:46:13 2023-04-24 01:46:13,927 [execute] INFO git cat-file --batch-check 01:46:13 2023-04-24 01:46:13,928 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:46:13 2023-04-24 01:46:13,932 [execute] INFO git cat-file --batch 01:46:13 2023-04-24 01:46:13,933 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 01:46:13 2023-04-24 01:46:13,955 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:46:13 2023-04-24 01:46:13,955 [execute] INFO git tag -a v3.0.0-dev.30 -m v3.0.0-dev.30 01:46:13 2023-04-24 01:46:13,955 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.30', '-m', 'v3.0.0-dev.30'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 01:46:13 2023-04-24 01:46:13,959 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:46:13 3.0.0-dev.30 [Pipeline] } 01:46:14 $ docker exec --env ******** --env ******** 3ef0a365e681f79e368e34961f4ebfbf168addc1406156a6e51c1a2a3d0a8d10 ssh-agent -k 01:46:14 unset SSH_AUTH_SOCK; 01:46:14 unset SSH_AGENT_PID; 01:46:14 echo Agent pid 39 killed; 01:46:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:46:14 + git semver [Pipeline] } 01:46:14 $ docker stop --time=1 3ef0a365e681f79e368e34961f4ebfbf168addc1406156a6e51c1a2a3d0a8d10 01:46:15 $ docker rm -f --volumes 3ef0a365e681f79e368e34961f4ebfbf168addc1406156a6e51c1a2a3d0a8d10 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:46:16 01:46:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:46:16 0.23.1-centos7: Pulling from edgex-lftools 01:46:16 ab5ef0e58194: Pulling fs layer 01:46:16 9712f1f96733: Pulling fs layer 01:46:16 63f879dbbcfc: Pulling fs layer 01:46:16 0d9ebad4ef96: Pulling fs layer 01:46:16 e9a5061849ea: Pulling fs layer 01:46:16 d747dcd14b5f: Pulling fs layer 01:46:16 2de7ff778b66: Pulling fs layer 01:46:16 0d9ebad4ef96: Waiting 01:46:16 2de7ff778b66: Waiting 01:46:16 9712f1f96733: Verifying Checksum 01:46:16 9712f1f96733: Download complete 01:46:17 63f879dbbcfc: Verifying Checksum 01:46:17 63f879dbbcfc: Download complete 01:46:17 0d9ebad4ef96: Verifying Checksum 01:46:17 0d9ebad4ef96: Download complete 01:46:17 ab5ef0e58194: Verifying Checksum 01:46:17 ab5ef0e58194: Download complete 01:46:17 d747dcd14b5f: Download complete 01:46:17 e9a5061849ea: Verifying Checksum 01:46:17 e9a5061849ea: Download complete 01:46:17 2de7ff778b66: Verifying Checksum 01:46:17 2de7ff778b66: Download complete 01:46:20 ab5ef0e58194: Pull complete 01:46:20 9712f1f96733: Pull complete 01:46:21 63f879dbbcfc: Pull complete 01:46:25 0d9ebad4ef96: Pull complete 01:46:25 e9a5061849ea: Pull complete 01:46:25 d747dcd14b5f: Pull complete 01:46:26 2de7ff778b66: Pull complete 01:46:26 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:46:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:46:26 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:26 prd-ubuntu20.04-docker-8c-8g-9425 does not seem to be running inside a container 01:46:26 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:46:31 $ docker top 581a31c9aa29595f366307cc9d826f34baee579929fefdb0a753bdb3ba9916a3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:46:31 provisioning config files... 01:46:31 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17283494619788862497tmp 01:46:31 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3988763186847846450tmp 01:46:31 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3048948213273457457tmp [Pipeline] { [Pipeline] echo 01:46:31 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:46:31 ---> sigul-configuration.sh 01:46:31 gpg: directory `/root/.gnupg' created 01:46:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:46:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:46:31 gpg: keyring `/root/.gnupg/secring.gpg' created 01:46:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:46:31 gpg: CAST5 encrypted data 01:46:31 gpg: encrypted with 1 passphrase 01:46:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:46:31 + mkdir /home/jenkins 01:46:31 + mkdir /home/jenkins/sigul [Pipeline] sh 01:46:32 + 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 01:46:32 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:46:32 ---> sigul-install.sh 01:46:32 Sigul already installed; skipping installation. [Pipeline] sh 01:46:32 + git tag --list 01:46:32 v1.0.0 01:46:32 v1.1.0 01:46:32 v1.1.1 01:46:32 v1.1.2 01:46:32 v1.2.0 01:46:32 v1.2.1 01:46:32 v2.0.0 01:46:32 v2.1.0 01:46:32 v2.1.1 01:46:32 v2.1.1-dev.1 01:46:32 v2.1.1-dev.2 01:46:32 v2.1.1-dev.3 01:46:32 v2.2.0 01:46:32 v2.2.1-dev.1 01:46:32 v2.2.1-dev.2 01:46:32 v2.2.1-dev.3 01:46:32 v2.2.1-dev.4 01:46:32 v2.2.1-dev.5 01:46:32 v2.2.1-dev.6 01:46:32 v2.2.1-dev.7 01:46:32 v2.2.1-dev.8 01:46:32 v2.2.1-dev.9 01:46:32 v2.3.0 01:46:32 v2.3.0-dev.10 01:46:32 v2.3.0-dev.11 01:46:32 v2.3.0-dev.12 01:46:32 v2.3.0-dev.13 01:46:32 v2.3.0-dev.14 01:46:32 v2.3.0-dev.15 01:46:32 v2.3.0-dev.16 01:46:32 v2.3.0-dev.17 01:46:32 v2.3.0-dev.18 01:46:32 v2.3.0-dev.19 01:46:32 v2.3.0-dev.20 01:46:32 v2.3.0-dev.21 01:46:32 v2.3.0-dev.22 01:46:32 v2.3.0-dev.23 01:46:32 v2.3.0-dev.24 01:46:32 v2.3.0-dev.25 01:46:32 v2.3.0-dev.9 01:46:32 v3.0.0-dev.1 01:46:32 v3.0.0-dev.10 01:46:32 v3.0.0-dev.11 01:46:32 v3.0.0-dev.12 01:46:32 v3.0.0-dev.13 01:46:32 v3.0.0-dev.14 01:46:32 v3.0.0-dev.15 01:46:32 v3.0.0-dev.16 01:46:32 v3.0.0-dev.17 01:46:32 v3.0.0-dev.18 01:46:32 v3.0.0-dev.19 01:46:32 v3.0.0-dev.2 01:46:32 v3.0.0-dev.20 01:46:32 v3.0.0-dev.21 01:46:32 v3.0.0-dev.22 01:46:32 v3.0.0-dev.23 01:46:32 v3.0.0-dev.24 01:46:32 v3.0.0-dev.25 01:46:32 v3.0.0-dev.26 01:46:32 v3.0.0-dev.27 01:46:32 v3.0.0-dev.28 01:46:32 v3.0.0-dev.29 01:46:32 v3.0.0-dev.3 01:46:32 v3.0.0-dev.30 01:46:32 v3.0.0-dev.4 01:46:32 v3.0.0-dev.5 01:46:32 v3.0.0-dev.6 01:46:32 v3.0.0-dev.7 01:46:32 v3.0.0-dev.8 01:46:32 v3.0.0-dev.9 [Pipeline] sh 01:46:32 + lftools sign git-tag v3.0.0-dev.30 01:46:33 Signing Git tag with Sigul... 01:46:33 Signing v3.0.0-dev.30 [Pipeline] echo 01:46:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:46:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:46:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:46:34 $ docker stop --time=1 581a31c9aa29595f366307cc9d826f34baee579929fefdb0a753bdb3ba9916a3 01:46:35 $ docker rm -f --volumes 581a31c9aa29595f366307cc9d826f34baee579929fefdb0a753bdb3ba9916a3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:46:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:46:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:46:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:36 prd-ubuntu20.04-docker-8c-8g-9425 does not seem to be running inside a container 01:46:36 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:46:36 $ docker top 2c533165c53642344d41801a1397d15ae4d0463c9aa09c12e3d008480a98dc25 -eo pid,comm 01:46:36 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). 01:46:36 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:46:36 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:46:36 [ssh-agent] Looking for ssh-agent implementation... 01:46:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:46:37 $ docker exec 2c533165c53642344d41801a1397d15ae4d0463c9aa09c12e3d008480a98dc25 ssh-agent 01:46:37 SSH_AUTH_SOCK=/tmp/ssh-uXHFBsBm0ALo/agent.32 01:46:37 SSH_AGENT_PID=39 01:46:37 Running ssh-add (command line suppressed) 01:46:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16261113324370123654.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16261113324370123654.key) 01:46:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:46:37 + git semver bump pre 01:46:37 2023-04-24 01:46:37,818 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:46:37 2023-04-24 01:46:37,818 [bump_version] DEBUG bumping version:3.0.0-dev.30 on axis:pre with prefix:dev 01:46:37 2023-04-24 01:46:37,818 [bump_version] DEBUG bumped version:3.0.0-dev.31 01:46:37 2023-04-24 01:46:37,818 [write_version] DEBUG write version:3.0.0-dev.31 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 01:46:37 2023-04-24 01:46:37,818 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:46:37 2023-04-24 01:46:37,818 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:46:37 2023-04-24 01:46:37,820 [execute] INFO git cat-file --batch-check 01:46:37 2023-04-24 01:46:37,820 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:46:37 2023-04-24 01:46:37,826 [execute] INFO git cat-file --batch 01:46:37 2023-04-24 01:46:37,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:46:37 2023-04-24 01:46:37,832 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:46:37 3.0.0-dev.31 [Pipeline] } 01:46:37 $ docker exec --env ******** --env ******** 2c533165c53642344d41801a1397d15ae4d0463c9aa09c12e3d008480a98dc25 ssh-agent -k 01:46:38 unset SSH_AUTH_SOCK; 01:46:38 unset SSH_AGENT_PID; 01:46:38 echo Agent pid 39 killed; 01:46:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:46:38 + git semver [Pipeline] } 01:46:38 $ docker stop --time=1 2c533165c53642344d41801a1397d15ae4d0463c9aa09c12e3d008480a98dc25 01:46:39 $ docker rm -f --volumes 2c533165c53642344d41801a1397d15ae4d0463c9aa09c12e3d008480a98dc25 [Pipeline] // withDockerContainer [Pipeline] sh 01:46:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:46:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:46:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:40 prd-ubuntu20.04-docker-8c-8g-9425 does not seem to be running inside a container 01:46:40 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:46:41 $ docker top cf2910a9330399e0266e41c75b9eaf354e97ef2239679b2721089042e557a8f4 -eo pid,comm 01:46:41 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). 01:46:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:46:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:46:41 [ssh-agent] Looking for ssh-agent implementation... 01:46:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:46:41 $ docker exec cf2910a9330399e0266e41c75b9eaf354e97ef2239679b2721089042e557a8f4 ssh-agent 01:46:41 SSH_AUTH_SOCK=/tmp/ssh-iuLfSnqcJ6bP/agent.31 01:46:41 SSH_AGENT_PID=37 01:46:41 Running ssh-add (command line suppressed) 01:46:41 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11198956484001774905.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11198956484001774905.key) 01:46:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:46:41 + git semver push 01:46:42 2023-04-24 01:46:41,955 [run_push] DEBUG push 01:46:42 2023-04-24 01:46:41,956 [execute] INFO git cat-file --batch-check 01:46:42 2023-04-24 01:46:41,956 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 01:46:42 2023-04-24 01:46:41,959 [execute] INFO git rev-list 19fe1d162f158cf2d56d4d8531ff72303ac52a50 -- 01:46:42 2023-04-24 01:46:41,960 [execute] DEBUG Popen(['git', 'rev-list', '19fe1d162f158cf2d56d4d8531ff72303ac52a50', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:46:42 2023-04-24 01:46:41,968 [execute] INFO git fetch -v origin 01:46:42 2023-04-24 01:46:41,968 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 01:46:42 2023-04-24 01:46:42,446 [run_push] DEBUG no remote changes detected 01:46:42 2023-04-24 01:46:42,446 [execute] INFO git push origin semver 01:46:42 2023-04-24 01:46:42,447 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 01:46:43 2023-04-24 01:46:43,180 [run_push] DEBUG push all version tags 01:46:43 2023-04-24 01:46:43,181 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:46:43 2023-04-24 01:46:43,182 [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) 01:46:44 2023-04-24 01:46:43,922 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 01:46:44 3.0.0-dev.31 [Pipeline] } 01:46:44 $ docker exec --env ******** --env ******** cf2910a9330399e0266e41c75b9eaf354e97ef2239679b2721089042e557a8f4 ssh-agent -k 01:46:44 unset SSH_AUTH_SOCK; 01:46:44 unset SSH_AGENT_PID; 01:46:44 echo Agent pid 37 killed; 01:46:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:46:44 + git semver [Pipeline] } 01:46:44 $ docker stop --time=1 cf2910a9330399e0266e41c75b9eaf354e97ef2239679b2721089042e557a8f4 01:46:46 $ docker rm -f --volumes cf2910a9330399e0266e41c75b9eaf354e97ef2239679b2721089042e557a8f4 [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 01:46:46 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 01:46:46 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:46:46 total 16 01:46:46 drwxr-xr-x 3 root root 4096 Apr 24 01:34 . 01:46:46 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 01:46 .. 01:46:46 drwxr-xr-x 2 root root 4096 Apr 24 01:34 cost 01:46:46 -rw-r--r-- 1 root root 86 Apr 24 01:34 cost.csv 01:46:46 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 01:46:46 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 01:46:46 total 16 01:46:46 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 01:34 . 01:46:46 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 01:46 .. 01:46:46 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 01:34 cost 01:46:46 -rw-r--r-- 1 jenkins jenkins 86 Apr 24 01:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:46:46 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:46:47 ---> package-listing.sh 01:46:47 ++ facter osfamily 01:46:47 ++ tr '[:upper:]' '[:lower:]' 01:46:48 + OS_FAMILY=debian 01:46:48 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 01:46:48 + START_PACKAGES=/tmp/packages_start.txt 01:46:48 + END_PACKAGES=/tmp/packages_end.txt 01:46:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:46:48 + PACKAGES=/tmp/packages_start.txt 01:46:48 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:46:48 + PACKAGES=/tmp/packages_end.txt 01:46:48 + case "${OS_FAMILY}" in 01:46:48 + dpkg -l 01:46:48 + grep '^ii' 01:46:48 + '[' -f /tmp/packages_start.txt ']' 01:46:48 + '[' -f /tmp/packages_end.txt ']' 01:46:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:46:48 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 01:46:48 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 01:46:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 01:46:48 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 01:46:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:46:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:46:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:46:49 prd-ubuntu20.04-docker-8c-8g-9425 does not seem to be running inside a container 01:46:49 $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:46:49 $ docker top b53f95296a35fcc895e6b5a1bb0e4ade7e8a3cc151f150cbe955a2b3ba09e0b2 -eo pid,comm [Pipeline] { [Pipeline] sh 01:46:49 + touch /tmp/pre-build-complete [Pipeline] sh 01:46:50 + mkdir -p /var/log/sysstat [Pipeline] sh 01:46:50 + ls /var/log/sa-host 01:46:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:46:50 provisioning config files... 01:46:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6023196258990267193tmp [Pipeline] { [Pipeline] echo 01:46:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:46:50 ---> create-netrc.sh [Pipeline] } 01:46:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:46:51 ---> python-tools-install.sh [Pipeline] echo 01:46:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:46:51 ---> sudo-logs.sh 01:46:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:46:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:46:51 ---> job-cost.sh 01:46:51 lf-activate-venv: SKIPPING 01:46:51 DEBUG: total: 0.2199999988079071 01:46:51 INFO: Retrieving Stack Cost... 01:46:51 INFO: Retrieving Pricing Info for: v3-standard-8 01:46:52 INFO: Archiving Costs [Pipeline] echo 01:46:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:46:52 ---> logs-deploy.sh 01:46:52 lf-activate-venv: SKIPPING 01:46:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/102 01:46:52 INFO: archiving workspace using pattern(s): 01:46:53 Archives upload complete. 01:46:53 INFO: archiving logs to Nexus