Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9f4fc55359c9cb479e87cde204f04957ffcda185 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-ssh3817805189950244904.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh1823347964586649259.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/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-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2400451440013731871.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh1252231611179071499.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-sdk-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-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh692175799434387302.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-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5642 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9f4fc55359c9cb479e87cde204f04957ffcda185 (main) Commit message: "feat!: updates for common config (#1317)" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9f4fc55359c9cb479e87cde204f04957ffcda185 # timeout=10 > git rev-list --no-walk 8ea8883b1ccaac0e7f122d2d9e12f4a2ee2a0f8d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:19:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:19:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:19:14 ========================================================= 00:19:14 EdgeX Global Pipelines Version Info 00:19:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:19:14 ------------------- 00:19:14 stable info: 00:19:14 ------------------- 00:19:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:19:14 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:19:14 Message: update stable to v1.0.244 00:19:15 ------------------- 00:19:15 experimental info: 00:19:15 ------------------- 00:19:15 Commited By: **** collab-it+edgex@linuxfoundation.org 00:19:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:19:15 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9f4fc55359c9cb479e87cde204f04957ffcda185 [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9f4fc55 [Pipeline] echo 00:19:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:19:15 provisioning config files... 00:19:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9590653249546864827tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:16 ---> docker-login.sh 00:19:16 nexus3.edgexfoundry.org:10001 00:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:16 Configure a credential helper to remove this warning. See 00:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:16 00:19:16 Login Succeeded 00:19:16 nexus3.edgexfoundry.org:10002 00:19:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:16 Configure a credential helper to remove this warning. See 00:19:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:16 00:19:16 Login Succeeded 00:19:16 nexus3.edgexfoundry.org:10003 00:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:17 Configure a credential helper to remove this warning. See 00:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:17 00:19:17 Login Succeeded 00:19:17 nexus3.edgexfoundry.org:10004 00:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:17 Configure a credential helper to remove this warning. See 00:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:17 00:19:17 Login Succeeded 00:19:17 docker.io 00:19:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:17 Configure a credential helper to remove this warning. See 00:19:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:17 00:19:17 Login Succeeded 00:19:17 ---> docker-login.sh ends [Pipeline] } 00:19:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:19:17 + git rev-list -1 --merges 9f4fc55359c9cb479e87cde204f04957ffcda185~1..9f4fc55359c9cb479e87cde204f04957ffcda185 [Pipeline] echo 00:19:17 -----------> git rev-list -1 --merges 9f4fc55359c9cb479e87cde204f04957ffcda185~1..9f4fc55359c9cb479e87cde204f04957ffcda185 9f4fc55359c9cb479e87cde204f04957ffcda185 [false] [Pipeline] sh 00:19:18 + git log --format=format:%s -1 9f4fc55359c9cb479e87cde204f04957ffcda185 [Pipeline] echo 00:19:18 ========================================================= 00:19:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:19:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:19:18 + git log --format=format:%s -1 9f4fc55359c9cb479e87cde204f04957ffcda185 [Pipeline] echo 00:19:18 [semverPrep] GIT_COMMIT: 9f4fc55359c9cb479e87cde204f04957ffcda185, Commit Message: feat!: updates for common config (#1317) [Pipeline] echo 00:19:18 [semverPrep] This is not a build commit. [Pipeline] sh 00:19:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:19:18 + grep -v github /etc/ssh/ssh_known_hosts 00:19:18 + [ -e /tmp/ssh_known_hosts ] 00:19:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:19:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:19:18 + sudo tee -a /etc/ssh/ssh_known_hosts 00:19:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:19:19 00:19:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:19:21 0.1.4: Pulling from edgex-devops/py-git-semver 00:19:21 b85a868b505f: Pulling fs layer 00:19:21 e2be974225ed: Pulling fs layer 00:19:21 339a4e72a1f5: Pulling fs layer 00:19:21 988bab9f4d93: Pulling fs layer 00:19:21 1469e6f7b9e6: Pulling fs layer 00:19:21 eaf3925da568: Pulling fs layer 00:19:21 bab4dde63d76: Pulling fs layer 00:19:21 bde34c3a00c8: Pulling fs layer 00:19:21 b352a97aabf1: Pulling fs layer 00:19:21 4872d77fe225: Pulling fs layer 00:19:21 5851b861e8e6: Pulling fs layer 00:19:21 b352a97aabf1: Waiting 00:19:21 bde34c3a00c8: Waiting 00:19:21 5851b861e8e6: Waiting 00:19:21 eaf3925da568: Waiting 00:19:21 1469e6f7b9e6: Waiting 00:19:21 4872d77fe225: Waiting 00:19:21 e2be974225ed: Verifying Checksum 00:19:21 e2be974225ed: Download complete 00:19:21 1469e6f7b9e6: Verifying Checksum 00:19:21 1469e6f7b9e6: Download complete 00:19:21 eaf3925da568: Verifying Checksum 00:19:21 eaf3925da568: Download complete 00:19:21 339a4e72a1f5: Verifying Checksum 00:19:21 339a4e72a1f5: Download complete 00:19:21 bde34c3a00c8: Download complete 00:19:21 b85a868b505f: Verifying Checksum 00:19:21 b85a868b505f: Download complete 00:19:21 b352a97aabf1: Verifying Checksum 00:19:21 b352a97aabf1: Download complete 00:19:21 4872d77fe225: Verifying Checksum 00:19:21 4872d77fe225: Download complete 00:19:21 5851b861e8e6: Verifying Checksum 00:19:21 5851b861e8e6: Download complete 00:19:22 bab4dde63d76: Verifying Checksum 00:19:22 bab4dde63d76: Download complete 00:19:23 b85a868b505f: Pull complete 00:19:23 e2be974225ed: Pull complete 00:19:23 339a4e72a1f5: Pull complete 00:19:23 988bab9f4d93: Pull complete 00:19:23 1469e6f7b9e6: Pull complete 00:19:23 eaf3925da568: Pull complete 00:19:25 bab4dde63d76: Pull complete 00:19:25 bde34c3a00c8: Pull complete 00:19:26 b352a97aabf1: Pull complete 00:19:26 4872d77fe225: Pull complete 00:19:26 5851b861e8e6: Pull complete 00:19:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:19:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:19:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:19:26 prd-ubuntu20.04-docker-8c-8g-5642 does not seem to be running inside a container 00:19:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:19:31 $ docker top af0d29e9710bd36ef9ca88e37fbb7759bb9d72086df0929d9a3c9b6760c5f520 -eo pid,comm 00:19:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:19:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:19:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:19:32 [ssh-agent] Looking for ssh-agent implementation... 00:19:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:19:32 $ docker exec af0d29e9710bd36ef9ca88e37fbb7759bb9d72086df0929d9a3c9b6760c5f520 ssh-agent 00:19:32 SSH_AUTH_SOCK=/tmp/ssh-SMMKnze8sP6o/agent.31 00:19:32 SSH_AGENT_PID=37 00:19:32 Running ssh-add (command line suppressed) 00:19:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3503981851448767040.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3503981851448767040.key) 00:19:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:19:32 + git tag --points-at HEAD [Pipeline] } 00:19:32 $ docker exec --env ******** --env ******** af0d29e9710bd36ef9ca88e37fbb7759bb9d72086df0929d9a3c9b6760c5f520 ssh-agent -k 00:19:32 unset SSH_AUTH_SOCK; 00:19:32 unset SSH_AGENT_PID; 00:19:32 echo Agent pid 37 killed; 00:19:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:19:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:19:32 [ssh-agent] Looking for ssh-agent implementation... 00:19:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:19:32 $ docker exec af0d29e9710bd36ef9ca88e37fbb7759bb9d72086df0929d9a3c9b6760c5f520 ssh-agent 00:19:33 SSH_AUTH_SOCK=/tmp/ssh-x4nf1NZaFxHY/agent.69 00:19:33 SSH_AGENT_PID=75 00:19:33 Running ssh-add (command line suppressed) 00:19:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16284245947243651952.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16284245947243651952.key) 00:19:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:19:33 + git semver init 00:19:33 2023-02-14 00:19:33,641 [run_init] DEBUG init version:0.0.0 force:False 00:19:33 2023-02-14 00:19:33,642 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 00:19:33 2023-02-14 00:19:33,643 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 00:19:33 2023-02-14 00:19:33,643 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:19:35 2023-02-14 00:19:34,929 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 00:19:35 2023-02-14 00:19:34,929 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 00:19:35 2023-02-14 00:19:34,930 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:19:35 2023-02-14 00:19:34,930 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:19:35 3.0.0-dev.25 [Pipeline] } 00:19:35 $ docker exec --env ******** --env ******** af0d29e9710bd36ef9ca88e37fbb7759bb9d72086df0929d9a3c9b6760c5f520 ssh-agent -k 00:19:35 unset SSH_AUTH_SOCK; 00:19:35 unset SSH_AGENT_PID; 00:19:35 echo Agent pid 75 killed; 00:19:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:19:35 + git semver [Pipeline] } 00:19:35 $ docker stop --time=1 af0d29e9710bd36ef9ca88e37fbb7759bb9d72086df0929d9a3c9b6760c5f520 00:19:37 $ docker rm -f --volumes af0d29e9710bd36ef9ca88e37fbb7759bb9d72086df0929d9a3c9b6760c5f520 [Pipeline] // withDockerContainer [Pipeline] sh 00:19:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:19:37 Stashed 1 file(s) [Pipeline] echo 00:19:37 [edgeXSemver]: initialized semver on version 3.0.0-dev.25 [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 00:19:37 provisioning config files... 00:19:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9322207189936867270tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:19:38 ---> docker-login.sh 00:19:38 nexus3.edgexfoundry.org:10001 00:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:38 Configure a credential helper to remove this warning. See 00:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:38 00:19:38 Login Succeeded 00:19:38 nexus3.edgexfoundry.org:10002 00:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:38 Configure a credential helper to remove this warning. See 00:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:38 00:19:38 Login Succeeded 00:19:38 nexus3.edgexfoundry.org:10003 00:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:38 Configure a credential helper to remove this warning. See 00:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:38 00:19:38 Login Succeeded 00:19:38 nexus3.edgexfoundry.org:10004 00:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:38 Configure a credential helper to remove this warning. See 00:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:38 00:19:38 Login Succeeded 00:19:38 docker.io 00:19:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:19:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:19:38 Configure a credential helper to remove this warning. See 00:19:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:19:38 00:19:38 Login Succeeded 00:19:38 ---> docker-login.sh ends [Pipeline] } 00:19:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:19:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:19:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:19:38 ========================================================= 00:19:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:19:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:19:39 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:19:39 Sending build context to Docker daemon 10.41MB 00:19:39 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 00:19:39 Step 2/10 : FROM ${BASE} AS builder 00:19:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:19:39 213ec9aee27d: Pulling fs layer 00:19:39 4583459ba037: Pulling fs layer 00:19:39 93c1e223e6f2: Pulling fs layer 00:19:39 53926ce57604: Pulling fs layer 00:19:39 21b2b0c7a3f4: Pulling fs layer 00:19:39 22ff95d597cd: Pulling fs layer 00:19:39 12d6caf4c0d1: Pulling fs layer 00:19:39 96b7cbca73a9: Pulling fs layer 00:19:39 a7acece74701: Pulling fs layer 00:19:39 22ff95d597cd: Waiting 00:19:39 12d6caf4c0d1: Waiting 00:19:39 96b7cbca73a9: Waiting 00:19:39 a7acece74701: Waiting 00:19:39 21b2b0c7a3f4: Waiting 00:19:39 53926ce57604: Waiting 00:19:39 93c1e223e6f2: Verifying Checksum 00:19:39 93c1e223e6f2: Download complete 00:19:39 4583459ba037: Verifying Checksum 00:19:39 4583459ba037: Download complete 00:19:39 21b2b0c7a3f4: Download complete 00:19:39 22ff95d597cd: Verifying Checksum 00:19:39 22ff95d597cd: Download complete 00:19:39 213ec9aee27d: Verifying Checksum 00:19:39 213ec9aee27d: Download complete 00:19:39 12d6caf4c0d1: Verifying Checksum 00:19:39 12d6caf4c0d1: Download complete 00:19:39 213ec9aee27d: Pull complete 00:19:39 4583459ba037: Pull complete 00:19:39 93c1e223e6f2: Pull complete 00:19:40 a7acece74701: Verifying Checksum 00:19:40 a7acece74701: Download complete 00:19:40 53926ce57604: Verifying Checksum 00:19:40 53926ce57604: Download complete 00:19:41 96b7cbca73a9: Download complete 00:19:44 53926ce57604: Pull complete 00:19:44 21b2b0c7a3f4: Pull complete 00:19:44 22ff95d597cd: Pull complete 00:19:44 12d6caf4c0d1: Pull complete 00:19:47 96b7cbca73a9: Pull complete 00:19:47 a7acece74701: Pull complete 00:19:47 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:19:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:19:47 ---> db6d94c90886 00:19:47 Step 3/10 : ARG MAKE=make build 00:19:52 Still waiting to schedule task 00:19:52 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:19:52 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5643’ is offline 00:19:59 ---> Running in 3b943cd2c474 00:19:59 Removing intermediate container 3b943cd2c474 00:19:59 ---> be6c43aaf442 00:19:59 Step 4/10 : WORKDIR /device-sdk-go 00:19:59 ---> Running in 40d016b69c34 00:19:59 Removing intermediate container 40d016b69c34 00:19:59 ---> 8a6a4e298d45 00:19:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:19:59 ---> Running in 8d8db35cd8c5 00:19:59 Removing intermediate container 8d8db35cd8c5 00:19:59 ---> ec8f3a11333c 00:19:59 Step 6/10 : RUN apk add --update --no-cache make git 00:19:59 ---> Running in 0a33602f8590 00:19:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:19:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:19:59 OK: 211 MiB in 51 packages 00:19:59 Removing intermediate container 0a33602f8590 00:19:59 ---> d402237f1e55 00:19:59 Step 7/10 : COPY go.mod vendor* ./ 00:19:59 ---> b95587a94796 00:19:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:19:59 ---> Running in f3978d295680 00:20:56 Removing intermediate container f3978d295680 00:20:56 ---> 007a08bebf6f 00:20:56 Step 9/10 : COPY . . 00:20:56 ---> b353b262886d 00:20:56 Step 10/10 : RUN ${MAKE} 00:20:56 ---> Running in 415515d520bd 00:20:56 noop 00:20:56 Removing intermediate container 415515d520bd 00:20:56 ---> da4cf537796a 00:20:56 Successfully built da4cf537796a 00:20:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:56 + docker inspect -f . ci-base-image-x86_64 00:20:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:56 prd-ubuntu20.04-docker-8c-8g-5642 does not seem to be running inside a container 00:20:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:20:57 $ docker top bc88b528701b9d6eb02ae45e7ed38651bc6f985fdf7fd7d399842e74b51d247f -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:57 + go version 00:20:57 go version go1.18.7 linux/amd64 [Pipeline] } 00:20:57 $ docker stop --time=1 bc88b528701b9d6eb02ae45e7ed38651bc6f985fdf7fd7d399842e74b51d247f 00:20:58 $ docker rm -f --volumes bc88b528701b9d6eb02ae45e7ed38651bc6f985fdf7fd7d399842e74b51d247f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:20:59 + docker inspect -f . ci-base-image-x86_64 00:20:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:20:59 prd-ubuntu20.04-docker-8c-8g-5642 does not seem to be running inside a container 00:20:59 $ 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-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 00:20:59 $ docker top ca1e06686734f456fb679e2e3d0866365d4902bec5e90acbc180912cf95a1be5 -eo pid,comm [Pipeline] { [Pipeline] sh 00:20:59 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 00:21:00 + make test 00:21:00 go test -race -coverprofile=coverage.out ./... 00:21:06 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 00:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.088s coverage: 78.9% of statements 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 00:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.090s coverage: 78.1% of statements 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.102s coverage: 72.4% of statements 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 00:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.084s coverage: 65.2% of statements 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.794s coverage: 89.2% of statements 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 00:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.064s coverage: 4.7% of statements 00:21:21 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:21:36 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 00:21:36 GO111MODULE=on go vet ./... 00:21:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:21:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:21:37 ./bin/test-attribution-txt.sh [Pipeline] echo 00:21:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:21:37 $ docker stop --time=1 ca1e06686734f456fb679e2e3d0866365d4902bec5e90acbc180912cf95a1be5 00:21:44 $ docker rm -f --volumes ca1e06686734f456fb679e2e3d0866365d4902bec5e90acbc180912cf95a1be5 [Pipeline] // withDockerContainer [Pipeline] sh 00:21:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:21:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:21:45 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:21:45 + ls -al . 00:21:45 total 272 00:21:45 drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 00:21 . 00:21:45 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 00:19 .. 00:21:45 -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 00:19 .dockerignore 00:21:45 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 00:21 .git 00:21:45 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 00:19 .github 00:21:45 -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 00:19 .gitignore 00:21:45 -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 00:19 .golangci.yml 00:21:45 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 00:19 .semver 00:21:45 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 00:19 CHANGELOG.md 00:21:45 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 00:19 GOVERNANCE.md 00:21:45 -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 00:19 Jenkinsfile 00:21:45 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 00:19 LICENSE 00:21:45 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 00:19 Makefile 00:21:45 -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 00:19 OWNERS.md 00:21:45 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 00:19 README.md 00:21:45 -rw-rw-r-- 1 jenkins jenkins 12 Feb 14 00:19 VERSION 00:21:45 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 00:19 bin 00:21:45 -rw-r--r-- 1 jenkins jenkins 99166 Feb 14 00:21 coverage.out 00:21:45 drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 00:19 example 00:21:45 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 00:19 go.mod 00:21:45 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 00:19 go.sum 00:21:45 drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 00:19 internal 00:21:45 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 00:19 openapi 00:21:45 drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 00:19 pkg 00:21:45 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 00:19 snap 00:21:45 -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 00:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:21:45 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=9f4fc55359c9cb479e87cde204f04957ffcda185 --label arch=amd64 --label version=3.0.0-dev.25 . 00:21:45 Sending build context to Docker daemon 10.51MB 00:21:45 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 00:21:45 Step 2/23 : FROM ${BASE} AS builder 00:21:45 ---> da4cf537796a 00:21:45 Step 3/23 : ARG MAKE=make build 00:21:46 ---> Running in dc7ff9db18e3 00:21:46 Removing intermediate container dc7ff9db18e3 00:21:46 ---> ca897300e496 00:21:46 Step 4/23 : WORKDIR /device-sdk-go 00:21:46 ---> Running in 8315978f9d96 00:21:46 Removing intermediate container 8315978f9d96 00:21:46 ---> 0a090d9f6c22 00:21:46 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:21:46 ---> Running in 2aa303025d25 00:21:46 Removing intermediate container 2aa303025d25 00:21:46 ---> 06418fc2d1ff 00:21:46 Step 6/23 : RUN apk add --update --no-cache make git 00:21:46 ---> Running in 97dea8b002c0 00:21:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:21:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:21:47 OK: 211 MiB in 51 packages 00:21:47 Removing intermediate container 97dea8b002c0 00:21:47 ---> c86475ae5a6a 00:21:47 Step 7/23 : COPY go.mod vendor* ./ 00:21:47 ---> ee33f089f8f3 00:21:47 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:21:47 ---> Running in de1ce51b14fa 00:21:48 Removing intermediate container de1ce51b14fa 00:21:48 ---> 1176637be5bc 00:21:48 Step 9/23 : COPY . . 00:21:49 ---> 341758815ca0 00:21:49 Step 10/23 : RUN ${MAKE} 00:21:49 ---> Running in 83a2b9997c4e 00:21:49 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.25" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:22:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5645 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 00:22:04 Running in /w/workspace/device-sdk-go/155 [Pipeline] { [Pipeline] checkout 00:22:04 The recommended git tool is: git 00:22:09 using credential edgex-jenkins-ssh 00:22:09 Cloning the remote Git repository 00:22:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:22:09 > git init /w/workspace/device-sdk-go/155 # timeout=10 00:22:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:22:10 > git --version # timeout=10 00:22:10 > git --version # 'git version 2.25.1' 00:22:10 using GIT_SSH to set credentials SSH Credentials for GitHub 00:22:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:22:11 Removing intermediate container 83a2b9997c4e 00:22:11 ---> fa63d2590f54 00:22:11 Step 11/23 : FROM alpine:3.16 00:22:11 3.16: Pulling from library/alpine 00:22:11 ef5531b6e74e: Pulling fs layer 00:22:11 ef5531b6e74e: Verifying Checksum 00:22:11 ef5531b6e74e: Download complete 00:22:11 ef5531b6e74e: Pull complete 00:22:11 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 00:22:11 Status: Downloaded newer image for alpine:3.16 00:22:11 ---> dfd21b5a31f5 00:22:11 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:22:11 ---> Running in 5101d844b259 00:22:11 Removing intermediate container 5101d844b259 00:22:11 ---> 0553c558d1b4 00:22:11 Step 13/23 : RUN apk add --update --no-cache 00:22:11 ---> Running in c8779adc938b 00:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:22:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:22:11 OK: 6 MiB in 14 packages 00:22:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:22:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:22:12 Removing intermediate container c8779adc938b 00:22:12 ---> 788f4d9a0388 00:22:12 Step 14/23 : WORKDIR / 00:22:12 ---> Running in 44f4d96819e7 00:22:12 Removing intermediate container 44f4d96819e7 00:22:12 ---> b2e3513b8bba 00:22:12 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:22:12 ---> 6626e96cddce 00:22:12 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:22:12 Avoid second fetch 00:22:12 Checking out Revision 9f4fc55359c9cb479e87cde204f04957ffcda185 (main) 00:22:13 Commit message: "feat!: updates for common config (#1317)" 00:22:12 > git config core.sparsecheckout # timeout=10 00:22:12 > git checkout -f 9f4fc55359c9cb479e87cde204f04957ffcda185 # timeout=10 00:22:13 ---> 0ecf19d56f59 00:22:13 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:22:13 ---> 06f2367fbc59 00:22:13 Step 18/23 : EXPOSE 59999 00:22:13 ---> Running in 75b533c19e52 00:22:13 Removing intermediate container 75b533c19e52 00:22:13 ---> 52abdbadc391 00:22:13 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:22:13 ---> Running in 1d122865a371 00:22:13 Removing intermediate container 1d122865a371 00:22:13 ---> 0706ba28606e 00:22:13 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:22:13 ---> Running in 6b4b195baa7f 00:22:13 Removing intermediate container 6b4b195baa7f 00:22:13 ---> f3a23e54d93d 00:22:13 Step 21/23 : LABEL arch=amd64 00:22:13 ---> Running in 0aba61bd867f 00:22:13 Removing intermediate container 0aba61bd867f 00:22:13 ---> 82f16057cf70 00:22:13 Step 22/23 : LABEL git_sha=9f4fc55359c9cb479e87cde204f04957ffcda185 00:22:13 ---> Running in cf783328e20f 00:22:13 Removing intermediate container cf783328e20f 00:22:13 ---> 3afdd727143a 00:22:13 Step 23/23 : LABEL version=3.0.0-dev.25 00:22:13 ---> Running in 70cb984d6275 00:22:13 Removing intermediate container 70cb984d6275 00:22:13 ---> 194eef12ab1a 00:22:13 [Warning] One or more build-args [ARCH] were not consumed 00:22:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:22:14 % Total % Received % Xferd Average Speed Time Time Time Current 00:22:14 Dload Upload Total Spent Left Speed 00:22:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 00:22:14 Successfully built 194eef12ab1a 00:22:14 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:14 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:22:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:22:14 00:22:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:22:15 + sudo tee /etc/docker/daemon.new 00:22:15 { 00:22:15 "registry-mirrors": [ 00:22:15 "https://nexus3.edgexfoundry.org:10001" 00:22:15 ], 00:22:15 "bip": "10.250.0.254/24", 00:22:15 "hosts": [ 00:22:15 "tcp://0.0.0.0:5555", 00:22:15 "unix:///var/run/docker.sock" 00:22:15 ], 00:22:15 "mtu": 1458, 00:22:15 "selinux-enabled": true, 00:22:15 "seccomp-profile": "/etc/docker/seccomp.json" 00:22:15 } [Pipeline] sh 00:22:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:22:15 latest: Pulling from edgex-lftools-log-publisher 00:22:15 5eb5b503b376: Pulling fs layer 00:22:15 5c69ac0246d0: Pulling fs layer 00:22:15 ec43610c2a17: Pulling fs layer 00:22:15 3a2ae6a8a46f: Pulling fs layer 00:22:15 33b1e0a273af: Pulling fs layer 00:22:15 5d3b04190fa2: Pulling fs layer 00:22:15 2f39f015ded8: Pulling fs layer 00:22:15 33b1e0a273af: Waiting 00:22:15 5d3b04190fa2: Waiting 00:22:15 2f39f015ded8: Waiting 00:22:15 3a2ae6a8a46f: Waiting 00:22:15 5c69ac0246d0: Verifying Checksum 00:22:15 5c69ac0246d0: Download complete 00:22:15 3a2ae6a8a46f: Download complete 00:22:15 33b1e0a273af: Verifying Checksum 00:22:15 33b1e0a273af: Download complete 00:22:15 5d3b04190fa2: Verifying Checksum 00:22:15 5d3b04190fa2: Download complete 00:22:15 ec43610c2a17: Verifying Checksum 00:22:15 ec43610c2a17: Download complete 00:22:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:22:15 5eb5b503b376: Verifying Checksum 00:22:15 5eb5b503b376: Download complete 00:22:15 + sudo service docker restart 00:22:16 2f39f015ded8: Verifying Checksum 00:22:16 2f39f015ded8: Download complete 00:22:16 5eb5b503b376: Pull complete 00:22:16 5c69ac0246d0: Pull complete 00:22:17 ec43610c2a17: Pull complete 00:22:17 3a2ae6a8a46f: Pull complete 00:22:17 33b1e0a273af: Pull complete 00:22:17 5d3b04190fa2: Pull complete 00:22:21 2f39f015ded8: Pull complete 00:22:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:22:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:22:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:22:21 prd-ubuntu20.04-docker-8c-8g-5642 does not seem to be running inside a container 00:22:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:22:29 $ docker top 7e8ce3e4b1817cf8118bd385bd149119ee906cd8daa0590f6fdb9932f45b40d5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:29 ---> job-cost.sh 00:22:29 lf-activate-venv: SKIPPING 00:22:29 INFO: No Stack... 00:22:30 INFO: Retrieving Pricing Info for: v3-standard-8 00:22:30 INFO: Archiving Costs [Pipeline] sh 00:22:30 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 00:22:30 + cut -d, -f6 [Pipeline] lock 00:22:30 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-155-stack-cost] 00:22:30 Resource [jenkins-edgexfoundry-device-sdk-go-main-155-stack-cost] did not exist. Created. 00:22:30 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:22:31 + echo total: 0.2199999988079071 [Pipeline] stash 00:22:31 Stashed 1 file(s) [Pipeline] } 00:22:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } 00:22:31 $ docker stop --time=1 7e8ce3e4b1817cf8118bd385bd149119ee906cd8daa0590f6fdb9932f45b40d5 00:22:32 $ docker rm -f --volumes 7e8ce3e4b1817cf8118bd385bd149119ee906cd8daa0590f6fdb9932f45b40d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:22:37 provisioning config files... 00:22:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/155@tmp/config2986955861456071521tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:22:38 ---> docker-login.sh 00:22:38 nexus3.edgexfoundry.org:10001 00:22:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:38 Configure a credential helper to remove this warning. See 00:22:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:38 00:22:38 Login Succeeded 00:22:38 nexus3.edgexfoundry.org:10002 00:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:39 Configure a credential helper to remove this warning. See 00:22:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:39 00:22:39 Login Succeeded 00:22:39 nexus3.edgexfoundry.org:10003 00:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:39 Configure a credential helper to remove this warning. See 00:22:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:39 00:22:39 Login Succeeded 00:22:39 nexus3.edgexfoundry.org:10004 00:22:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:39 Configure a credential helper to remove this warning. See 00:22:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:39 00:22:39 Login Succeeded 00:22:39 docker.io 00:22:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:22:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:22:40 Configure a credential helper to remove this warning. See 00:22:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:22:40 00:22:40 Login Succeeded 00:22:40 ---> docker-login.sh ends [Pipeline] } 00:22:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:22:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:22:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:22:40 ========================================================= 00:22:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 00:22:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:22:41 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 00:22:41 Sending build context to Docker daemon 5.584MB 00:22:41 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 00:22:41 Step 2/10 : FROM ${BASE} AS builder 00:22:41 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:22:41 9b18e9b68314: Pulling fs layer 00:22:41 35d82f9e3411: Pulling fs layer 00:22:41 e16973657156: Pulling fs layer 00:22:41 fc693d55d65f: Pulling fs layer 00:22:41 7e9fc2657dce: Pulling fs layer 00:22:41 dda99020689f: Pulling fs layer 00:22:41 db1c61fa0a46: Pulling fs layer 00:22:41 891c053d2c06: Pulling fs layer 00:22:41 fc693d55d65f: Waiting 00:22:41 7e9fc2657dce: Waiting 00:22:41 dda99020689f: Waiting 00:22:41 db1c61fa0a46: Waiting 00:22:41 891c053d2c06: Waiting 00:22:41 e16973657156: Verifying Checksum 00:22:41 e16973657156: Download complete 00:22:41 35d82f9e3411: Verifying Checksum 00:22:41 35d82f9e3411: Download complete 00:22:41 7e9fc2657dce: Verifying Checksum 00:22:41 7e9fc2657dce: Download complete 00:22:41 dda99020689f: Verifying Checksum 00:22:41 dda99020689f: Download complete 00:22:41 9b18e9b68314: Verifying Checksum 00:22:41 9b18e9b68314: Download complete 00:22:42 9b18e9b68314: Pull complete 00:22:42 891c053d2c06: Verifying Checksum 00:22:42 891c053d2c06: Download complete 00:22:43 35d82f9e3411: Pull complete 00:22:43 e16973657156: Pull complete 00:22:43 db1c61fa0a46: Verifying Checksum 00:22:43 db1c61fa0a46: Download complete 00:22:44 fc693d55d65f: Verifying Checksum 00:22:44 fc693d55d65f: Download complete 00:22:56 fc693d55d65f: Pull complete 00:22:56 7e9fc2657dce: Pull complete 00:22:56 dda99020689f: Pull complete 00:23:02 db1c61fa0a46: Pull complete 00:23:03 891c053d2c06: Pull complete 00:23:03 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 00:23:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 00:23:03 ---> f96f9c87975a 00:23:03 Step 3/10 : ARG MAKE=make build 00:23:05 ---> Running in 62faa14320bf 00:23:05 Removing intermediate container 62faa14320bf 00:23:05 ---> b5e912ab2c49 00:23:05 Step 4/10 : WORKDIR /device-sdk-go 00:23:05 ---> Running in 3c4486061352 00:23:06 Removing intermediate container 3c4486061352 00:23:06 ---> e4fd8447dd15 00:23:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:23:06 ---> Running in 0fedfaa8d894 00:23:06 Removing intermediate container 0fedfaa8d894 00:23:06 ---> e1caba2f9a66 00:23:06 Step 6/10 : RUN apk add --update --no-cache make git 00:23:06 ---> Running in 8d29efeabf83 00:23:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:23:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:23:09 OK: 221 MiB in 51 packages 00:23:10 Removing intermediate container 8d29efeabf83 00:23:10 ---> d5e51235e4b3 00:23:10 Step 7/10 : COPY go.mod vendor* ./ 00:23:13 ---> 90c8c5c14b94 00:23:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:23:13 ---> Running in 16d2f94c9aea 00:24:21 Removing intermediate container 16d2f94c9aea 00:24:21 ---> a3a8b2242032 00:24:21 Step 9/10 : COPY . . 00:24:21 ---> 0a35260ea3be 00:24:21 Step 10/10 : RUN ${MAKE} 00:24:21 ---> Running in afe3651e22d0 00:24:21 noop 00:24:21 Removing intermediate container afe3651e22d0 00:24:21 ---> 4ef5ee3691d4 00:24:21 Successfully built 4ef5ee3691d4 00:24:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:21 + docker inspect -f . ci-base-image-arm64 00:24:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:21 prd-ubuntu20.04-docker-arm64-4c-16g-5645 does not seem to be running inside a container 00:24:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/155 -v /w/workspace/device-sdk-go/155:/w/workspace/device-sdk-go/155:rw,z -v /w/workspace/device-sdk-go/155@tmp:/w/workspace/device-sdk-go/155@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 00:24:23 $ docker top f4f4312c1ec8601602ead474e43dcd4701587cb4dbee058bd95ed4c879592075 -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:23 + go version 00:24:23 go version go1.18.7 linux/arm64 [Pipeline] } 00:24:24 $ docker stop --time=1 f4f4312c1ec8601602ead474e43dcd4701587cb4dbee058bd95ed4c879592075 00:24:25 $ docker rm -f --volumes f4f4312c1ec8601602ead474e43dcd4701587cb4dbee058bd95ed4c879592075 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:24:26 + docker inspect -f . ci-base-image-arm64 00:24:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:24:26 prd-ubuntu20.04-docker-arm64-4c-16g-5645 does not seem to be running inside a container 00:24:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/155 -v /w/workspace/device-sdk-go/155:/w/workspace/device-sdk-go/155:rw,z -v /w/workspace/device-sdk-go/155@tmp:/w/workspace/device-sdk-go/155@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 00:24:27 $ docker top a9e939e8ca65d9f0e0d2b01f11623036e9934ab95f6f92844d057409bc0f4f1f -eo pid,comm [Pipeline] { [Pipeline] sh 00:24:28 + git config --global --add safe.directory /w/workspace/device-sdk-go/155 [Pipeline] fileExists [Pipeline] sh 00:24:29 + make test 00:24:29 go test -race -coverprofile=coverage.out ./... 00:25:01 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:27:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:27:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:27:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:27:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:27:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:27:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.247s coverage: 27.6% of statements 00:27:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.344s coverage: 78.9% of statements 00:27:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 00:27:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.587s coverage: 78.1% of statements 00:27:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:27:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:27:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.523s coverage: 72.4% of statements 00:27:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:27:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 00:27:11 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 00:27:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.428s coverage: 65.2% of statements 00:27:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:27:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:27:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.288s coverage: 89.2% of statements 00:27:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 00:27:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.522s coverage: 4.7% of statements 00:27:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:27:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:27:13 GO111MODULE=on go vet ./... 00:28:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:28:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:28:49 ./bin/test-attribution-txt.sh [Pipeline] echo 00:28:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:28:49 $ docker stop --time=1 a9e939e8ca65d9f0e0d2b01f11623036e9934ab95f6f92844d057409bc0f4f1f 00:28:51 $ docker rm -f --volumes a9e939e8ca65d9f0e0d2b01f11623036e9934ab95f6f92844d057409bc0f4f1f [Pipeline] // withDockerContainer [Pipeline] sh 00:28:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:28:53 Warning: overwriting stash ‘coverage-report’ 00:28:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:28:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:28:54 + ls -al . 00:28:54 total 268 00:28:54 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 00:24 . 00:28:54 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 00:22 .. 00:28:54 -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 00:22 .dockerignore 00:28:54 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 00:22 .git 00:28:54 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 00:22 .github 00:28:54 -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 00:22 .gitignore 00:28:54 -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 00:22 .golangci.yml 00:28:54 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 00:22 CHANGELOG.md 00:28:54 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 00:22 GOVERNANCE.md 00:28:54 -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 00:22 Jenkinsfile 00:28:54 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 00:22 LICENSE 00:28:54 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 00:22 Makefile 00:28:54 -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 00:22 OWNERS.md 00:28:54 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 00:22 README.md 00:28:54 -rw-rw-r-- 1 jenkins jenkins 12 Feb 14 00:19 VERSION 00:28:54 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 00:22 bin 00:28:54 -rw-r--r-- 1 jenkins jenkins 99166 Feb 14 00:27 coverage.out 00:28:54 drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 00:22 example 00:28:54 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 00:22 go.mod 00:28:54 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 00:22 go.sum 00:28:54 drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 00:22 internal 00:28:54 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 00:22 openapi 00:28:54 drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 00:22 pkg 00:28:54 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 00:22 snap 00:28:54 -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 00:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:28:54 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=9f4fc55359c9cb479e87cde204f04957ffcda185 --label arch=arm64 --label version=3.0.0-dev.25 . 00:28:54 Sending build context to Docker daemon 5.684MB 00:28:54 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 00:28:54 Step 2/23 : FROM ${BASE} AS builder 00:28:54 ---> 4ef5ee3691d4 00:28:54 Step 3/23 : ARG MAKE=make build 00:28:55 ---> Running in f1ace7ea4f76 00:28:55 Removing intermediate container f1ace7ea4f76 00:28:55 ---> 0278e9a9ad6a 00:28:55 Step 4/23 : WORKDIR /device-sdk-go 00:28:55 ---> Running in a6e0aa29d0de 00:28:55 Removing intermediate container a6e0aa29d0de 00:28:55 ---> 0845713bf755 00:28:55 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:28:55 ---> Running in e02bda9af42f 00:28:55 Removing intermediate container e02bda9af42f 00:28:55 ---> 56d8bef7a1e7 00:28:55 Step 6/23 : RUN apk add --update --no-cache make git 00:28:56 ---> Running in 68aeeaab1520 00:28:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:28:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:28:58 OK: 221 MiB in 51 packages 00:28:58 Removing intermediate container 68aeeaab1520 00:28:58 ---> 8dd2c0fb18e0 00:28:58 Step 7/23 : COPY go.mod vendor* ./ 00:28:59 ---> 5a2dc2226049 00:28:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:28:59 ---> Running in c61d60fca421 00:29:02 Removing intermediate container c61d60fca421 00:29:02 ---> bcbee451af95 00:29:02 Step 9/23 : COPY . . 00:29:03 ---> 9795e64d0b60 00:29:03 Step 10/23 : RUN ${MAKE} 00:29:03 ---> Running in d4c053f79330 00:29:04 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.25" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 00:31:10 Removing intermediate container d4c053f79330 00:31:10 ---> c58a7694c217 00:31:10 Step 11/23 : FROM alpine:3.16 00:31:10 3.16: Pulling from library/alpine 00:31:10 3760b48202b3: Pulling fs layer 00:31:10 3760b48202b3: Verifying Checksum 00:31:10 3760b48202b3: Download complete 00:31:10 3760b48202b3: Pull complete 00:31:10 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 00:31:10 Status: Downloaded newer image for alpine:3.16 00:31:10 ---> 4c81e5bf8899 00:31:10 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:31:10 ---> Running in e3c9a4626120 00:31:10 Removing intermediate container e3c9a4626120 00:31:10 ---> 566a3ff89adf 00:31:10 Step 13/23 : RUN apk add --update --no-cache 00:31:10 ---> Running in f19da1fc0f8f 00:31:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 00:31:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 00:31:10 OK: 5 MiB in 14 packages 00:31:10 Removing intermediate container f19da1fc0f8f 00:31:10 ---> 3f4f59fc26c3 00:31:10 Step 14/23 : WORKDIR / 00:31:10 ---> Running in 1659e8dc6a33 00:31:10 Removing intermediate container 1659e8dc6a33 00:31:10 ---> c907cc68bd06 00:31:10 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:31:10 ---> d70ac98f4294 00:31:10 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:31:10 ---> 19b3d095c3ee 00:31:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:31:10 ---> 902cfe790f0e 00:31:10 Step 18/23 : EXPOSE 59999 00:31:10 ---> Running in a2b0721cf3e8 00:31:10 Removing intermediate container a2b0721cf3e8 00:31:10 ---> b5e35e73fb7c 00:31:10 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:31:10 ---> Running in f11aff1a351d 00:31:10 Removing intermediate container f11aff1a351d 00:31:10 ---> 4784744dbfd8 00:31:10 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:31:10 ---> Running in ade552e6ecb7 00:31:10 Removing intermediate container ade552e6ecb7 00:31:10 ---> 4c09c447d291 00:31:10 Step 21/23 : LABEL arch=arm64 00:31:10 ---> Running in 72c86d4a5732 00:31:10 Removing intermediate container 72c86d4a5732 00:31:10 ---> 205613a4d397 00:31:10 Step 22/23 : LABEL git_sha=9f4fc55359c9cb479e87cde204f04957ffcda185 00:31:10 ---> Running in 5b9446642d01 00:31:10 Removing intermediate container 5b9446642d01 00:31:10 ---> f775ceaa6764 00:31:10 Step 23/23 : LABEL version=3.0.0-dev.25 00:31:10 ---> Running in 7c61107b3dca 00:31:10 Removing intermediate container 7c61107b3dca 00:31:10 ---> 7eee9ba806eb 00:31:10 [Warning] One or more build-args [ARCH] were not consumed 00:31:11 Successfully built 7eee9ba806eb 00:31:11 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:31:11 00:31:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:31:11 arm64: Pulling from edgex-lftools-log-publisher 00:31:11 8998bd30e6a1: Pulling fs layer 00:31:11 04944245beec: Pulling fs layer 00:31:11 699f458cf7ca: Pulling fs layer 00:31:11 765212b225bb: Pulling fs layer 00:31:11 f23df028b6ca: Pulling fs layer 00:31:11 d65c8cfc05b1: Pulling fs layer 00:31:11 2437ff75d9bd: Pulling fs layer 00:31:11 765212b225bb: Waiting 00:31:11 d65c8cfc05b1: Waiting 00:31:11 f23df028b6ca: Waiting 00:31:11 2437ff75d9bd: Waiting 00:31:12 04944245beec: Verifying Checksum 00:31:12 04944245beec: Download complete 00:31:12 765212b225bb: Verifying Checksum 00:31:12 765212b225bb: Download complete 00:31:12 f23df028b6ca: Download complete 00:31:12 d65c8cfc05b1: Verifying Checksum 00:31:12 d65c8cfc05b1: Download complete 00:31:12 699f458cf7ca: Verifying Checksum 00:31:12 699f458cf7ca: Download complete 00:31:12 8998bd30e6a1: Verifying Checksum 00:31:15 2437ff75d9bd: Verifying Checksum 00:31:15 2437ff75d9bd: Download complete 00:31:16 8998bd30e6a1: Pull complete 00:31:17 04944245beec: Pull complete 00:31:18 699f458cf7ca: Pull complete 00:31:18 765212b225bb: Pull complete 00:31:19 f23df028b6ca: Pull complete 00:31:19 d65c8cfc05b1: Pull complete 00:31:34 2437ff75d9bd: Pull complete 00:31:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:31:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:31:34 prd-ubuntu20.04-docker-arm64-4c-16g-5645 does not seem to be running inside a container 00:31:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/155 -v /w/workspace/device-sdk-go/155:/w/workspace/device-sdk-go/155:rw,z -v /w/workspace/device-sdk-go/155@tmp:/w/workspace/device-sdk-go/155@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 00:31:37 $ docker top d3067e573f4adcba472c70aacd67c85e74a1c2aa5d66462410e263f3b70a5adc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:31:37 ---> job-cost.sh 00:31:37 lf-activate-venv: SKIPPING 00:31:37 INFO: No Stack... 00:31:38 INFO: Retrieving Pricing Info for: v3-standard-4 00:31:39 INFO: Archiving Costs [Pipeline] sh 00:31:39 + cat /w/workspace/device-sdk-go/155/archives/cost.csv 00:31:39 + cut -d, -f6 [Pipeline] lock 00:31:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-155-stack-cost] 00:31:39 Resource [jenkins-edgexfoundry-device-sdk-go-main-155-stack-cost] did not exist. Created. 00:31:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-155-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:31:40 /w/workspace/device-sdk-go/155@tmp/durable-2e8c9997/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:31:40 + echo total: 0.10999999940395355 [Pipeline] stash 00:31:40 Warning: overwriting stash ‘stack-cost’ 00:31:40 Stashed 1 file(s) [Pipeline] } 00:31:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-155-stack-cost] [Pipeline] // lock [Pipeline] } 00:31:40 $ docker stop --time=1 d3067e573f4adcba472c70aacd67c85e74a1c2aa5d66462410e263f3b70a5adc 00:31:42 $ docker rm -f --volumes d3067e573f4adcba472c70aacd67c85e74a1c2aa5d66462410e263f3b70a5adc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 00:31:42 provisioning config files... 00:31:42 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11695258901746512351tmp [Pipeline] { [Pipeline] sh 00:31:42 + set +x 00:31:42 + curl -s https://codecov.io/bash 00:31:42 + bash -s -- 00:31:42 00:31:42 _____ _ 00:31:42 / ____| | | 00:31:42 | | ___ __| | ___ ___ _____ __ 00:31:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:31:42 | |___| (_) | (_| | __/ (_| (_) \ V / 00:31:42 \_____\___/ \__,_|\___|\___\___/ \_/ 00:31:42 Bash-1.0.6 00:31:42 00:31:42 00:31:42 ==> git version 2.25.1 found 00:31:42 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 00:31:42 Release-Date: 2020-01-08 00:31:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:31:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:31:42 ==> Jenkins CI detected. 00:31:42 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 00:31:42 project root: . 00:31:42 --> token set from env 00:31:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:31:42 ==> Running gcov in . (disable via -X gcov) 00:31:42 ==> Python coveragepy not found 00:31:42 ==> Searching for coverage reports in: 00:31:42 + . 00:31:42 -> Found 1 reports 00:31:42 ==> Detecting git/mercurial file structure 00:31:42 ==> Reading reports 00:31:42 + ./coverage.out bytes=99166 00:31:42 ==> Appending adjustments 00:31:42 https://docs.codecov.io/docs/fixing-reports 00:31:43 + Found adjustments 00:31:43 ==> Gzipping contents 00:31:43 16K /tmp/codecov.cLQhZR.gz 00:31:43 ==> Uploading reports 00:31:43 url: https://codecov.io 00:31:43 query: branch=main&commit=9f4fc55359c9cb479e87cde204f04957ffcda185&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:31:43 -> Pinging Codecov 00:31:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=9f4fc55359c9cb479e87cde204f04957ffcda185&build=155&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F155%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:31:43 -> Uploading to 00:31:43 https://storage.googleapis.com/codecov/v4/raw/2023-02-14/7E55EF52A471D76F132DFD9A03CDDE97/9f4fc55359c9cb479e87cde204f04957ffcda185/51b033f2-10ad-461f-82bd-43f068138247.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T003143Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eb19d6865f7330ecc0bfdb397d8a46e23a4f321977e88846d5c032b023ec646f 00:31:43 % Total % Received % Xferd Average Speed Time Time Time Current 00:31:43 Dload Upload Total Spent Left Speed 00:31:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14397 0 0 100 14397 0 47358 --:--:-- --:--:-- --:--:-- 47358 00:31:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9f4fc55359c9cb479e87cde204f04957ffcda185 [Pipeline] } 00:31:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:31:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:31:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:31:44 00:31:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:31:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:31:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:31:44 df9b9388f04a: Pulling fs layer 00:31:44 52dc419b0ee2: Pulling fs layer 00:31:44 25bc292e5bac: Pulling fs layer 00:31:44 114826534d7a: Pulling fs layer 00:31:44 4657fd5d0bcf: Pulling fs layer 00:31:44 6ad1cebc031e: Pulling fs layer 00:31:44 8a3aa393b2d8: Pulling fs layer 00:31:44 114826534d7a: Waiting 00:31:44 4657fd5d0bcf: Waiting 00:31:44 6ad1cebc031e: Waiting 00:31:44 8a3aa393b2d8: Waiting 00:31:44 25bc292e5bac: Verifying Checksum 00:31:44 25bc292e5bac: Download complete 00:31:44 52dc419b0ee2: Verifying Checksum 00:31:44 52dc419b0ee2: Download complete 00:31:44 4657fd5d0bcf: Verifying Checksum 00:31:44 4657fd5d0bcf: Download complete 00:31:44 df9b9388f04a: Download complete 00:31:44 df9b9388f04a: Pull complete 00:31:44 52dc419b0ee2: Pull complete 00:31:44 25bc292e5bac: Pull complete 00:31:44 6ad1cebc031e: Download complete 00:31:45 114826534d7a: Verifying Checksum 00:31:45 114826534d7a: Download complete 00:31:46 8a3aa393b2d8: Verifying Checksum 00:31:46 8a3aa393b2d8: Download complete 00:31:49 114826534d7a: Pull complete 00:31:49 4657fd5d0bcf: Pull complete 00:31:49 6ad1cebc031e: Pull complete 00:31:51 8a3aa393b2d8: Pull complete 00:31:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:31:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:31:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:31:52 prd-ubuntu20.04-docker-8c-8g-5642 does not seem to be running inside a container 00:31:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 00:31:59 $ docker top e9628a54c619cca466046c1d3ee4c646de7a7c899f06f5f580b0d4ad8b9f8592 -eo pid,comm [Pipeline] { [Pipeline] echo 00:31:59 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 00:31:59 + set -o pipefail 00:31:59 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 00:32:04 00:32:04 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 00:32:04 00:32:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/743db817-73cf-4c80-8547-afaf5d0ecced 00:32:04 00:32:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:32:04 00:32:04 00:32:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:32:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:32:04 More details here: https://snyk.co/ue1NS [Pipeline] } 00:32:04 $ docker stop --time=1 e9628a54c619cca466046c1d3ee4c646de7a7c899f06f5f580b0d4ad8b9f8592 00:32:09 $ docker rm -f --volumes e9628a54c619cca466046c1d3ee4c646de7a7c899f06f5f580b0d4ad8b9f8592 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 00:32:09 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:32:09 provisioning config files... 00:32:09 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8669819202304854608tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:32:09 --> edgex-publish-swagger.sh 00:32:09 === Publish openapi/v3 API === 00:32:09 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 00:32:09 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 00:32:09 % Total % Received % Xferd Average Speed Time Time Time Current 00:32:09 Dload Upload Total Spent Left Speed 00:32:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 28371 0 0 100 28371 0 39458 --:--:-- --:--:-- --:--:-- 39458 00:32:10 00:32:10 [Pipeline] } 00:32:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:32:10 + git log --format=format:%s -1 9f4fc55359c9cb479e87cde204f04957ffcda185 [Pipeline] sh 00:32:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:32:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:32:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:11 prd-ubuntu20.04-docker-8c-8g-5642 does not seem to be running inside a container 00:32:11 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:32:12 $ docker top bc4206311ab1bfbac5e31ab404cad63b85410b29ecd14a26a41f4c6fbe0f494a -eo pid,comm 00:32:12 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). 00:32:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:32:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:12 [ssh-agent] Looking for ssh-agent implementation... 00:32:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:12 $ docker exec bc4206311ab1bfbac5e31ab404cad63b85410b29ecd14a26a41f4c6fbe0f494a ssh-agent 00:32:12 SSH_AUTH_SOCK=/tmp/ssh-2fEPZbJrC9op/agent.33 00:32:12 SSH_AGENT_PID=39 00:32:12 Running ssh-add (command line suppressed) 00:32:12 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13098129982508763203.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13098129982508763203.key) 00:32:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:12 + git semver tag 00:32:13 2023-02-14 00:32:13,091 [run_tag] DEBUG tag force:False 00:32:13 2023-02-14 00:32:13,091 [check_head_tag] DEBUG check head tag 00:32:13 2023-02-14 00:32:13,092 [execute] INFO git cat-file --batch-check 00:32:13 2023-02-14 00:32:13,092 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:32:13 2023-02-14 00:32:13,096 [execute] INFO git cat-file --batch 00:32:13 2023-02-14 00:32:13,096 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 00:32:13 2023-02-14 00:32:13,124 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:32:13 2023-02-14 00:32:13,125 [execute] INFO git tag -a v3.0.0-dev.25 -m v3.0.0-dev.25 00:32:13 2023-02-14 00:32:13,125 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.25', '-m', 'v3.0.0-dev.25'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:32:13 2023-02-14 00:32:13,130 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:32:13 3.0.0-dev.25 [Pipeline] } 00:32:13 $ docker exec --env ******** --env ******** bc4206311ab1bfbac5e31ab404cad63b85410b29ecd14a26a41f4c6fbe0f494a ssh-agent -k 00:32:13 unset SSH_AUTH_SOCK; 00:32:13 unset SSH_AGENT_PID; 00:32:13 echo Agent pid 39 killed; 00:32:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:32:13 + git semver [Pipeline] } 00:32:14 $ docker stop --time=1 bc4206311ab1bfbac5e31ab404cad63b85410b29ecd14a26a41f4c6fbe0f494a 00:32:15 $ docker rm -f --volumes bc4206311ab1bfbac5e31ab404cad63b85410b29ecd14a26a41f4c6fbe0f494a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:32:15 00:32:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:32:16 0.23.1-centos7: Pulling from edgex-lftools 00:32:16 ab5ef0e58194: Pulling fs layer 00:32:16 9712f1f96733: Pulling fs layer 00:32:16 63f879dbbcfc: Pulling fs layer 00:32:16 0d9ebad4ef96: Pulling fs layer 00:32:16 e9a5061849ea: Pulling fs layer 00:32:16 0d9ebad4ef96: Waiting 00:32:16 d747dcd14b5f: Pulling fs layer 00:32:16 2de7ff778b66: Pulling fs layer 00:32:16 2de7ff778b66: Waiting 00:32:16 e9a5061849ea: Waiting 00:32:16 9712f1f96733: Verifying Checksum 00:32:16 9712f1f96733: Download complete 00:32:16 63f879dbbcfc: Verifying Checksum 00:32:16 63f879dbbcfc: Download complete 00:32:16 e9a5061849ea: Verifying Checksum 00:32:16 e9a5061849ea: Download complete 00:32:16 d747dcd14b5f: Verifying Checksum 00:32:16 d747dcd14b5f: Download complete 00:32:17 0d9ebad4ef96: Verifying Checksum 00:32:17 0d9ebad4ef96: Download complete 00:32:17 2de7ff778b66: Verifying Checksum 00:32:17 2de7ff778b66: Download complete 00:32:17 ab5ef0e58194: Verifying Checksum 00:32:17 ab5ef0e58194: Download complete 00:32:20 ab5ef0e58194: Pull complete 00:32:20 9712f1f96733: Pull complete 00:32:20 63f879dbbcfc: Pull complete 00:32:24 0d9ebad4ef96: Pull complete 00:32:24 e9a5061849ea: Pull complete 00:32:24 d747dcd14b5f: Pull complete 00:32:25 2de7ff778b66: Pull complete 00:32:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:32:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:32:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:25 prd-ubuntu20.04-docker-8c-8g-5642 does not seem to be running inside a container 00:32:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 00:32:32 $ docker top 7bba0bdbc3fbd659d9a0387230e66ac9b2f71dfff2526e89c5b4922d2be88962 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:32:32 provisioning config files... 00:32:32 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10287704961403349787tmp 00:32:32 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7626598122275639221tmp 00:32:32 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5695835042698010451tmp [Pipeline] { [Pipeline] echo 00:32:32 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:32:32 ---> sigul-configuration.sh 00:32:32 gpg: directory `/root/.gnupg' created 00:32:32 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:32:32 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:32:32 gpg: keyring `/root/.gnupg/secring.gpg' created 00:32:32 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:32:32 gpg: CAST5 encrypted data 00:32:32 gpg: encrypted with 1 passphrase 00:32:32 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:32:32 + mkdir /home/jenkins 00:32:32 + mkdir /home/jenkins/sigul [Pipeline] sh 00:32:33 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 00:32:33 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:32:33 ---> sigul-install.sh 00:32:33 Sigul already installed; skipping installation. [Pipeline] sh 00:32:33 + git tag --list 00:32:33 0.7.1 00:32:33 delhi-tag 00:32:33 v1.0.0 00:32:33 v1.1.0 00:32:33 v1.1.1 00:32:33 v1.1.2 00:32:33 v1.2.0 00:32:33 v1.2.1 00:32:33 v1.2.2 00:32:33 v1.2.3 00:32:33 v1.3.0 00:32:33 v1.4.0 00:32:33 v2.0.0 00:32:33 v2.1.0 00:32:33 v2.1.1 00:32:33 v2.1.1-dev.2 00:32:33 v2.1.1-dev.3 00:32:33 v2.2.0 00:32:33 v2.2.1-dev.1 00:32:33 v2.2.1-dev.10 00:32:33 v2.2.1-dev.11 00:32:33 v2.2.1-dev.12 00:32:33 v2.2.1-dev.13 00:32:33 v2.2.1-dev.14 00:32:33 v2.2.1-dev.2 00:32:33 v2.2.1-dev.3 00:32:33 v2.2.1-dev.4 00:32:33 v2.2.1-dev.5 00:32:33 v2.2.1-dev.6 00:32:33 v2.2.1-dev.7 00:32:33 v2.2.1-dev.8 00:32:33 v2.2.1-dev.9 00:32:33 v2.3.0 00:32:33 v2.3.0-dev.14 00:32:33 v2.3.0-dev.15 00:32:33 v2.3.0-dev.16 00:32:33 v2.3.0-dev.17 00:32:33 v2.3.0-dev.18 00:32:33 v2.3.0-dev.19 00:32:33 v2.3.0-dev.20 00:32:33 v2.3.0-dev.21 00:32:33 v2.3.0-dev.22 00:32:33 v2.3.0-dev.23 00:32:33 v2.3.0-dev.24 00:32:33 v2.3.0-dev.25 00:32:33 v2.3.0-dev.26 00:32:33 v2.3.0-dev.27 00:32:33 v2.3.0-dev.28 00:32:33 v2.3.0-dev.29 00:32:33 v2.3.0-dev.30 00:32:33 v2.3.0-dev.31 00:32:33 v2.3.0-dev.32 00:32:33 v2.3.0-dev.33 00:32:33 v2.3.0-dev.34 00:32:33 v2.3.0-dev.35 00:32:33 v2.3.0-dev.36 00:32:33 v2.3.0-dev.37 00:32:33 v2.3.0-dev.38 00:32:33 v2.3.0-dev.39 00:32:33 v2.3.0-dev.40 00:32:33 v2.3.0-dev.41 00:32:33 v2.3.0-dev.42 00:32:33 v2.3.0-dev.43 00:32:33 v2.3.0-dev.44 00:32:33 v2.3.0-dev.45 00:32:33 v2.3.0-dev.46 00:32:33 v2.3.0-dev.47 00:32:33 v2.3.0-dev.48 00:32:33 v2.3.0-dev.49 00:32:33 v2.3.0-dev.50 00:32:33 v2.3.0-dev.51 00:32:33 v2.3.1-dev.1 00:32:33 v2.3.1-dev.2 00:32:33 v3.0.0-dev.1 00:32:33 v3.0.0-dev.10 00:32:33 v3.0.0-dev.11 00:32:33 v3.0.0-dev.12 00:32:33 v3.0.0-dev.13 00:32:33 v3.0.0-dev.14 00:32:33 v3.0.0-dev.15 00:32:33 v3.0.0-dev.16 00:32:33 v3.0.0-dev.17 00:32:33 v3.0.0-dev.18 00:32:33 v3.0.0-dev.19 00:32:33 v3.0.0-dev.2 00:32:33 v3.0.0-dev.20 00:32:33 v3.0.0-dev.21 00:32:33 v3.0.0-dev.22 00:32:33 v3.0.0-dev.23 00:32:33 v3.0.0-dev.24 00:32:33 v3.0.0-dev.25 00:32:33 v3.0.0-dev.3 00:32:33 v3.0.0-dev.4 00:32:33 v3.0.0-dev.5 00:32:33 v3.0.0-dev.6 00:32:33 v3.0.0-dev.7 00:32:33 v3.0.0-dev.8 00:32:33 v3.0.0-dev.9 [Pipeline] sh 00:32:34 + lftools sign git-tag v3.0.0-dev.25 00:32:34 Signing Git tag with Sigul... 00:32:34 Signing v3.0.0-dev.25 [Pipeline] echo 00:32:35 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:32:35 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:32:35 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:32:35 $ docker stop --time=1 7bba0bdbc3fbd659d9a0387230e66ac9b2f71dfff2526e89c5b4922d2be88962 00:32:36 $ docker rm -f --volumes 7bba0bdbc3fbd659d9a0387230e66ac9b2f71dfff2526e89c5b4922d2be88962 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:32:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:32:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:32:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:37 prd-ubuntu20.04-docker-8c-8g-5642 does not seem to be running inside a container 00:32:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:32:37 $ docker top 040741ea64b2e0c9452911d5374c2acb96f2f378304cea069837a4a164b7497a -eo pid,comm 00:32:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 00:32:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:32:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:38 [ssh-agent] Looking for ssh-agent implementation... 00:32:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:38 $ docker exec 040741ea64b2e0c9452911d5374c2acb96f2f378304cea069837a4a164b7497a ssh-agent 00:32:38 SSH_AUTH_SOCK=/tmp/ssh-A8OJJ1c47Y9y/agent.32 00:32:38 SSH_AGENT_PID=38 00:32:38 Running ssh-add (command line suppressed) 00:32:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16682556369851499826.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16682556369851499826.key) 00:32:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:38 + git semver bump pre 00:32:38 2023-02-14 00:32:38,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:32:38 2023-02-14 00:32:38,860 [bump_version] DEBUG bumping version:3.0.0-dev.25 on axis:pre with prefix:dev 00:32:38 2023-02-14 00:32:38,860 [bump_version] DEBUG bumped version:3.0.0-dev.26 00:32:38 2023-02-14 00:32:38,860 [write_version] DEBUG write version:3.0.0-dev.26 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 00:32:38 2023-02-14 00:32:38,860 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:32:38 2023-02-14 00:32:38,861 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:32:38 2023-02-14 00:32:38,863 [execute] INFO git cat-file --batch-check 00:32:38 2023-02-14 00:32:38,863 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:32:38 2023-02-14 00:32:38,869 [execute] INFO git cat-file --batch 00:32:38 2023-02-14 00:32:38,869 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:32:38 2023-02-14 00:32:38,875 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:32:38 3.0.0-dev.26 [Pipeline] } 00:32:38 $ docker exec --env ******** --env ******** 040741ea64b2e0c9452911d5374c2acb96f2f378304cea069837a4a164b7497a ssh-agent -k 00:32:39 unset SSH_AUTH_SOCK; 00:32:39 unset SSH_AGENT_PID; 00:32:39 echo Agent pid 38 killed; 00:32:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:32:39 + git semver [Pipeline] } 00:32:39 $ docker stop --time=1 040741ea64b2e0c9452911d5374c2acb96f2f378304cea069837a4a164b7497a 00:32:40 $ docker rm -f --volumes 040741ea64b2e0c9452911d5374c2acb96f2f378304cea069837a4a164b7497a [Pipeline] // withDockerContainer [Pipeline] sh 00:32:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:32:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:32:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:41 prd-ubuntu20.04-docker-8c-8g-5642 does not seem to be running inside a container 00:32:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:32:41 $ docker top 93972f98beb43b45c26e96ed3d4086434bd7a43c1845492d495197f4f33d5953 -eo pid,comm 00:32:42 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). 00:32:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:32:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:32:42 [ssh-agent] Looking for ssh-agent implementation... 00:32:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:32:42 $ docker exec 93972f98beb43b45c26e96ed3d4086434bd7a43c1845492d495197f4f33d5953 ssh-agent 00:32:42 SSH_AUTH_SOCK=/tmp/ssh-D8pudvPXbctt/agent.32 00:32:42 SSH_AGENT_PID=38 00:32:42 Running ssh-add (command line suppressed) 00:32:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14607201842599960979.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14607201842599960979.key) 00:32:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:32:42 + git semver push 00:32:42 2023-02-14 00:32:42,909 [run_push] DEBUG push 00:32:42 2023-02-14 00:32:42,909 [execute] INFO git cat-file --batch-check 00:32:42 2023-02-14 00:32:42,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:32:42 2023-02-14 00:32:42,913 [execute] INFO git rev-list 966838b24ed4be591bd205aad6a4285245a1eee7 -- 00:32:42 2023-02-14 00:32:42,913 [execute] DEBUG Popen(['git', 'rev-list', '966838b24ed4be591bd205aad6a4285245a1eee7', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:32:42 2023-02-14 00:32:42,923 [execute] INFO git fetch -v origin 00:32:42 2023-02-14 00:32:42,924 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:32:43 2023-02-14 00:32:43,528 [run_push] DEBUG no remote changes detected 00:32:43 2023-02-14 00:32:43,529 [execute] INFO git push origin semver 00:32:43 2023-02-14 00:32:43,529 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:32:44 2023-02-14 00:32:44,484 [run_push] DEBUG push all version tags 00:32:44 2023-02-14 00:32:44,484 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:32:44 2023-02-14 00:32:44,485 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 00:32:45 2023-02-14 00:32:45,272 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 00:32:45 3.0.0-dev.26 [Pipeline] } 00:32:45 $ docker exec --env ******** --env ******** 93972f98beb43b45c26e96ed3d4086434bd7a43c1845492d495197f4f33d5953 ssh-agent -k 00:32:45 unset SSH_AUTH_SOCK; 00:32:45 unset SSH_AGENT_PID; 00:32:45 echo Agent pid 38 killed; 00:32:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:32:45 + git semver [Pipeline] } 00:32:46 $ docker stop --time=1 93972f98beb43b45c26e96ed3d4086434bd7a43c1845492d495197f4f33d5953 00:32:47 $ docker rm -f --volumes 93972f98beb43b45c26e96ed3d4086434bd7a43c1845492d495197f4f33d5953 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 00:32:48 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 00:32:48 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:32:48 total 16 00:32:48 drwxr-xr-x 3 root root 4096 Feb 14 00:22 . 00:32:48 drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 00:32 .. 00:32:48 drwxr-xr-x 2 root root 4096 Feb 14 00:22 cost 00:32:48 -rw-r--r-- 1 root root 85 Feb 14 00:22 cost.csv 00:32:48 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:32:48 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 00:32:48 total 16 00:32:48 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 00:22 . 00:32:48 drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 00:32 .. 00:32:48 drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 00:22 cost 00:32:48 -rw-r--r-- 1 jenkins jenkins 85 Feb 14 00:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:32:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:32:49 ---> package-listing.sh 00:32:49 ++ facter osfamily 00:32:49 ++ tr '[:upper:]' '[:lower:]' 00:32:49 + OS_FAMILY=debian 00:32:49 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 00:32:49 + START_PACKAGES=/tmp/packages_start.txt 00:32:49 + END_PACKAGES=/tmp/packages_end.txt 00:32:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:32:49 + PACKAGES=/tmp/packages_start.txt 00:32:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:32:49 + PACKAGES=/tmp/packages_end.txt 00:32:49 + case "${OS_FAMILY}" in 00:32:49 + dpkg -l 00:32:49 + grep '^ii' 00:32:49 + '[' -f /tmp/packages_start.txt ']' 00:32:49 + '[' -f /tmp/packages_end.txt ']' 00:32:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:32:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 00:32:49 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 00:32:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 00:32:49 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:32:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:32:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:32:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:32:50 prd-ubuntu20.04-docker-8c-8g-5642 does not seem to be running inside a container 00:32:50 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:32:50 $ docker top cdc38c7f97fe679ee0cb255ee53997cecdde0342fea30d17c4a9b3bacb5d2c79 -eo pid,comm [Pipeline] { [Pipeline] sh 00:32:51 + touch /tmp/pre-build-complete [Pipeline] sh 00:32:51 + mkdir -p /var/log/sysstat [Pipeline] sh 00:32:51 + ls /var/log/sa-host 00:32:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:32:51 provisioning config files... 00:32:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6277956788988090830tmp [Pipeline] { [Pipeline] echo 00:32:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:32:52 ---> create-netrc.sh [Pipeline] } 00:32:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:32:52 ---> python-tools-install.sh [Pipeline] echo 00:32:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:32:52 ---> sudo-logs.sh 00:32:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:32:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:32:52 ---> job-cost.sh 00:32:52 lf-activate-venv: SKIPPING 00:32:52 DEBUG: total: 0.2199999988079071 00:32:52 INFO: Retrieving Stack Cost... 00:32:53 INFO: Retrieving Pricing Info for: v3-standard-8 00:32:53 INFO: Archiving Costs [Pipeline] echo 00:32:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:32:54 ---> logs-deploy.sh 00:32:54 lf-activate-venv: SKIPPING 00:32:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/155 00:32:54 INFO: archiving workspace using pattern(s): 00:32:55 Archives upload complete. 00:32:55 INFO: archiving logs to Nexus