Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 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-ssh6481053176842263499.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-ssh16329412281228380669.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-ssh12866169214808663080.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-ssh9913946575370711464.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-ssh10342437754313105835.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7379 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 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 # timeout=10 Commit message: "Merge pull request #1349 from vli11/path_to_secretName" > git rev-list --no-walk b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:41:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:41:46 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:41:46 ========================================================= 18:41:46 EdgeX Global Pipelines Version Info 18:41:46 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:41:47 ------------------- 18:41:47 stable info: 18:41:47 ------------------- 18:41:47 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:41:47 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:41:47 Message: update stable to v1.0.244 18:41:48 ------------------- 18:41:48 experimental info: 18:41:48 ------------------- 18:41:48 Commited By: **** collab-it+edgex@linuxfoundation.org 18:41:48 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 18:41:48 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c1e0dd [Pipeline] echo 18:41:48 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:41:48 provisioning config files... 18:41:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5974078492756837901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:41:49 ---> docker-login.sh 18:41:49 nexus3.edgexfoundry.org:10001 18:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:49 Configure a credential helper to remove this warning. See 18:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:49 18:41:49 Login Succeeded 18:41:49 nexus3.edgexfoundry.org:10002 18:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:49 Configure a credential helper to remove this warning. See 18:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:49 18:41:49 Login Succeeded 18:41:49 nexus3.edgexfoundry.org:10003 18:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:49 Configure a credential helper to remove this warning. See 18:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:49 18:41:49 Login Succeeded 18:41:49 nexus3.edgexfoundry.org:10004 18:41:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:49 Configure a credential helper to remove this warning. See 18:41:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:49 18:41:49 Login Succeeded 18:41:50 docker.io 18:41:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:41:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:41:50 Configure a credential helper to remove this warning. See 18:41:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:41:50 18:41:50 Login Succeeded 18:41:50 ---> docker-login.sh ends [Pipeline] } 18:41:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:41:50 + git rev-list -1 --merges 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8~1..5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 [Pipeline] echo 18:41:50 -----------> git rev-list -1 --merges 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8~1..5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 18:41:50 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 [false] [Pipeline] sh 18:41:51 + git log --format=format:%s -1 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 [Pipeline] echo 18:41:51 ========================================================= 18:41:51 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:41:51 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:41:51 + git log --format=format:%s -1 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 [Pipeline] echo 18:41:51 [semverPrep] GIT_COMMIT: 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8, Commit Message: Merge pull request #1349 from vli11/path_to_secretName [Pipeline] echo 18:41:51 [semverPrep] This is not a build commit. [Pipeline] sh 18:41:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:41:51 + grep -v github /etc/ssh/ssh_known_hosts 18:41:51 + [ -e /tmp/ssh_known_hosts ] 18:41:51 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:41:51 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:41:51 + sudo tee -a /etc/ssh/ssh_known_hosts 18:41:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:52 18:41:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:41:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:52 0.1.4: Pulling from edgex-devops/py-git-semver 18:41:52 b85a868b505f: Pulling fs layer 18:41:52 e2be974225ed: Pulling fs layer 18:41:52 339a4e72a1f5: Pulling fs layer 18:41:52 988bab9f4d93: Pulling fs layer 18:41:52 1469e6f7b9e6: Pulling fs layer 18:41:52 eaf3925da568: Pulling fs layer 18:41:52 bab4dde63d76: Pulling fs layer 18:41:52 bde34c3a00c8: Pulling fs layer 18:41:52 b352a97aabf1: Pulling fs layer 18:41:52 4872d77fe225: Pulling fs layer 18:41:52 5851b861e8e6: Pulling fs layer 18:41:52 988bab9f4d93: Waiting 18:41:52 1469e6f7b9e6: Waiting 18:41:52 5851b861e8e6: Waiting 18:41:52 4872d77fe225: Waiting 18:41:52 eaf3925da568: Waiting 18:41:52 bab4dde63d76: Waiting 18:41:52 bde34c3a00c8: Waiting 18:41:52 b352a97aabf1: Waiting 18:41:52 e2be974225ed: Verifying Checksum 18:41:52 e2be974225ed: Download complete 18:41:52 988bab9f4d93: Verifying Checksum 18:41:52 988bab9f4d93: Download complete 18:41:52 1469e6f7b9e6: Verifying Checksum 18:41:52 1469e6f7b9e6: Download complete 18:41:52 339a4e72a1f5: Verifying Checksum 18:41:52 339a4e72a1f5: Download complete 18:41:52 eaf3925da568: Verifying Checksum 18:41:52 eaf3925da568: Download complete 18:41:52 bde34c3a00c8: Download complete 18:41:52 b352a97aabf1: Verifying Checksum 18:41:52 b352a97aabf1: Download complete 18:41:52 4872d77fe225: Verifying Checksum 18:41:52 4872d77fe225: Download complete 18:41:52 5851b861e8e6: Verifying Checksum 18:41:52 5851b861e8e6: Download complete 18:41:52 b85a868b505f: Verifying Checksum 18:41:52 b85a868b505f: Download complete 18:41:53 bab4dde63d76: Verifying Checksum 18:41:53 bab4dde63d76: Download complete 18:41:54 b85a868b505f: Pull complete 18:41:54 e2be974225ed: Pull complete 18:41:54 339a4e72a1f5: Pull complete 18:41:54 988bab9f4d93: Pull complete 18:41:55 1469e6f7b9e6: Pull complete 18:41:55 eaf3925da568: Pull complete 18:41:56 bab4dde63d76: Pull complete 18:41:57 bde34c3a00c8: Pull complete 18:41:57 b352a97aabf1: Pull complete 18:41:57 4872d77fe225: Pull complete 18:41:57 5851b861e8e6: Pull complete 18:41:57 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:41:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:41:57 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:41:57 prd-ubuntu20.04-docker-8c-8g-7379 does not seem to be running inside a container 18:41:57 $ 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 18:41:59 $ docker top a99b502a241449a16eaca856c1d78747837625c6ad8fbca0a4340c35842dc868 -eo pid,comm 18:41:59 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). 18:41:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:41:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:41:59 [ssh-agent] Looking for ssh-agent implementation... 18:42:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:00 $ docker exec a99b502a241449a16eaca856c1d78747837625c6ad8fbca0a4340c35842dc868 ssh-agent 18:42:00 SSH_AUTH_SOCK=/tmp/ssh-SXteCtCBjfRs/agent.31 18:42:00 SSH_AGENT_PID=37 18:42:00 Running ssh-add (command line suppressed) 18:42:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9869381388973798234.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9869381388973798234.key) 18:42:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:00 + git tag --points-at HEAD [Pipeline] } 18:42:00 $ docker exec --env ******** --env ******** a99b502a241449a16eaca856c1d78747837625c6ad8fbca0a4340c35842dc868 ssh-agent -k 18:42:00 unset SSH_AUTH_SOCK; 18:42:00 unset SSH_AGENT_PID; 18:42:00 echo Agent pid 37 killed; 18:42:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:42:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:42:00 [ssh-agent] Looking for ssh-agent implementation... 18:42:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:42:00 $ docker exec a99b502a241449a16eaca856c1d78747837625c6ad8fbca0a4340c35842dc868 ssh-agent 18:42:00 SSH_AUTH_SOCK=/tmp/ssh-xWZ1v9hKesRf/agent.69 18:42:00 SSH_AGENT_PID=75 18:42:00 Running ssh-add (command line suppressed) 18:42:01 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13568540060779189348.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13568540060779189348.key) 18:42:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:42:01 + git semver init 18:42:01 2023-02-24 18:42:01,505 [run_init] DEBUG init version:0.0.0 force:False 18:42:01 2023-02-24 18:42:01,506 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:42:01 2023-02-24 18:42:01,506 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:42:01 2023-02-24 18:42:01,506 [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) 18:42:02 2023-02-24 18:42:02,520 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 18:42:02 2023-02-24 18:42:02,520 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 18:42:02 2023-02-24 18:42:02,520 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:42:02 2023-02-24 18:42:02,521 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:42:02 3.0.0-dev.38 [Pipeline] } 18:42:02 $ docker exec --env ******** --env ******** a99b502a241449a16eaca856c1d78747837625c6ad8fbca0a4340c35842dc868 ssh-agent -k 18:42:02 unset SSH_AUTH_SOCK; 18:42:02 unset SSH_AGENT_PID; 18:42:02 echo Agent pid 75 killed; 18:42:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:42:03 + git semver [Pipeline] } 18:42:03 $ docker stop --time=1 a99b502a241449a16eaca856c1d78747837625c6ad8fbca0a4340c35842dc868 18:42:04 $ docker rm -f --volumes a99b502a241449a16eaca856c1d78747837625c6ad8fbca0a4340c35842dc868 [Pipeline] // withDockerContainer [Pipeline] sh 18:42:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:42:05 Stashed 1 file(s) [Pipeline] echo 18:42:05 [edgeXSemver]: initialized semver on version 3.0.0-dev.38 [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 18:42:05 provisioning config files... 18:42:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3638793494060009807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:42:05 ---> docker-login.sh 18:42:05 nexus3.edgexfoundry.org:10001 18:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:05 Configure a credential helper to remove this warning. See 18:42:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:05 18:42:05 Login Succeeded 18:42:05 nexus3.edgexfoundry.org:10002 18:42:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:05 Configure a credential helper to remove this warning. See 18:42:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:05 18:42:05 Login Succeeded 18:42:05 nexus3.edgexfoundry.org:10003 18:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:06 Configure a credential helper to remove this warning. See 18:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:06 18:42:06 Login Succeeded 18:42:06 nexus3.edgexfoundry.org:10004 18:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:06 Configure a credential helper to remove this warning. See 18:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:06 18:42:06 Login Succeeded 18:42:06 docker.io 18:42:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:42:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:42:06 Configure a credential helper to remove this warning. See 18:42:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:42:06 18:42:06 Login Succeeded 18:42:06 ---> docker-login.sh ends [Pipeline] } 18:42:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:42:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:42:06 ========================================================= 18:42:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:42:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:07 + 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 . 18:42:07 Sending build context to Docker daemon 10.55MB 18:42:07 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:42:07 Step 2/10 : FROM ${BASE} AS builder 18:42:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:42:07 213ec9aee27d: Pulling fs layer 18:42:07 4583459ba037: Pulling fs layer 18:42:07 93c1e223e6f2: Pulling fs layer 18:42:07 53926ce57604: Pulling fs layer 18:42:07 21b2b0c7a3f4: Pulling fs layer 18:42:07 22ff95d597cd: Pulling fs layer 18:42:07 12d6caf4c0d1: Pulling fs layer 18:42:07 96b7cbca73a9: Pulling fs layer 18:42:07 a7acece74701: Pulling fs layer 18:42:07 21b2b0c7a3f4: Waiting 18:42:07 22ff95d597cd: Waiting 18:42:07 12d6caf4c0d1: Waiting 18:42:07 96b7cbca73a9: Waiting 18:42:07 53926ce57604: Waiting 18:42:07 a7acece74701: Waiting 18:42:07 93c1e223e6f2: Verifying Checksum 18:42:07 93c1e223e6f2: Download complete 18:42:07 4583459ba037: Download complete 18:42:07 21b2b0c7a3f4: Verifying Checksum 18:42:07 21b2b0c7a3f4: Download complete 18:42:07 22ff95d597cd: Verifying Checksum 18:42:07 22ff95d597cd: Download complete 18:42:07 213ec9aee27d: Verifying Checksum 18:42:07 213ec9aee27d: Download complete 18:42:07 12d6caf4c0d1: Download complete 18:42:07 213ec9aee27d: Pull complete 18:42:07 4583459ba037: Pull complete 18:42:07 93c1e223e6f2: Pull complete 18:42:07 a7acece74701: Verifying Checksum 18:42:07 a7acece74701: Download complete 18:42:08 96b7cbca73a9: Verifying Checksum 18:42:08 53926ce57604: Verifying Checksum 18:42:08 53926ce57604: Download complete 18:42:12 53926ce57604: Pull complete 18:42:12 21b2b0c7a3f4: Pull complete 18:42:12 22ff95d597cd: Pull complete 18:42:12 12d6caf4c0d1: Pull complete 18:42:13 96b7cbca73a9: Pull complete 18:42:14 a7acece74701: Pull complete 18:42:14 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 18:42:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:42:14 ---> db6d94c90886 18:42:14 Step 3/10 : ARG MAKE=make build 18:42:16 ---> Running in d4ef692c00f9 18:42:16 Removing intermediate container d4ef692c00f9 18:42:16 ---> cb2aaa6ef275 18:42:16 Step 4/10 : WORKDIR /device-sdk-go 18:42:16 ---> Running in 4d17c99b8c2a 18:42:16 Removing intermediate container 4d17c99b8c2a 18:42:16 ---> ae7480bf7964 18:42:16 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:42:16 ---> Running in eb035dfbe722 18:42:16 Removing intermediate container eb035dfbe722 18:42:16 ---> 99005130cb8b 18:42:16 Step 6/10 : RUN apk add --update --no-cache make git 18:42:17 ---> Running in e3617a89e488 18:42:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:42:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:42:17 OK: 211 MiB in 51 packages 18:42:18 Removing intermediate container e3617a89e488 18:42:18 ---> 6bcdbf744de6 18:42:18 Step 7/10 : COPY go.mod vendor* ./ 18:42:18 ---> ca18f1e2a78e 18:42:18 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:42:18 ---> Running in 9309734fa5ee 18:42:20 Still waiting to schedule task 18:42:20 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7377’ 18:42:44 Removing intermediate container 9309734fa5ee 18:42:44 ---> 0b4ae0c5c927 18:42:44 Step 9/10 : COPY . . 18:42:44 ---> 108a0229e1bf 18:42:44 Step 10/10 : RUN ${MAKE} 18:42:44 ---> Running in a5401662ed22 18:42:44 noop 18:42:44 Removing intermediate container a5401662ed22 18:42:44 ---> 44dca7763c6d 18:42:44 Successfully built 44dca7763c6d 18:42:44 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:44 + docker inspect -f . ci-base-image-x86_64 18:42:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:45 prd-ubuntu20.04-docker-8c-8g-7379 does not seem to be running inside a container 18:42:45 $ 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 18:42:45 $ docker top 50698dd955fec19efc8d6493064d72206e185aeeb668dde3498dd15fe46d8da7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:45 + go version 18:42:45 go version go1.18.7 linux/amd64 [Pipeline] } 18:42:45 $ docker stop --time=1 50698dd955fec19efc8d6493064d72206e185aeeb668dde3498dd15fe46d8da7 18:42:47 $ docker rm -f --volumes 50698dd955fec19efc8d6493064d72206e185aeeb668dde3498dd15fe46d8da7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:42:47 + docker inspect -f . ci-base-image-x86_64 18:42:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:42:47 prd-ubuntu20.04-docker-8c-8g-7379 does not seem to be running inside a container 18:42:47 $ 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 18:42:47 $ docker top 33240a9dfd9010e063b5b9fee608bdd6ecf8c9fa2e0efca2da0cdfe0f5a9c09e -eo pid,comm [Pipeline] { [Pipeline] sh 18:42:48 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 18:42:48 + make test 18:42:48 go test -race -coverprofile=coverage.out ./... 18:42:55 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:43:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.052s coverage: 27.6% of statements 18:43:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.072s coverage: 78.9% of statements 18:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 18:43:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.097s coverage: 86.0% of statements 18:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:43:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.106s coverage: 74.7% of statements 18:43:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:43:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.083s coverage: 15.5% of statements 18:43:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:43:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.105s coverage: 65.2% of statements 18:43:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:43:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:43:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.710s coverage: 89.2% of statements 18:43:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 18:43:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.057s coverage: 4.6% of statements 18:43:10 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:43:25 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." 18:43:25 GO111MODULE=on go vet ./... 18:43:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:43:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:43:26 ./bin/test-attribution-txt.sh [Pipeline] echo 18:43:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:43:27 $ docker stop --time=1 33240a9dfd9010e063b5b9fee608bdd6ecf8c9fa2e0efca2da0cdfe0f5a9c09e 18:43:29 $ docker rm -f --volumes 33240a9dfd9010e063b5b9fee608bdd6ecf8c9fa2e0efca2da0cdfe0f5a9c09e [Pipeline] // withDockerContainer [Pipeline] sh 18:43:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:43:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:43:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:43:30 + ls -al . 18:43:30 total 284 18:43:30 drwxrwxr-x 11 jenkins jenkins 4096 Feb 24 18:42 . 18:43:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:41 .. 18:43:30 -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 18:41 .dockerignore 18:43:30 drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 18:43 .git 18:43:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:41 .github 18:43:30 -rw-rw-r-- 1 jenkins jenkins 131 Feb 24 18:41 .gitignore 18:43:30 -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 18:41 .golangci.yml 18:43:30 drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 18:42 .semver 18:43:30 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 24 18:41 CHANGELOG.md 18:43:30 -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 18:41 GOVERNANCE.md 18:43:30 -rw-rw-r-- 1 jenkins jenkins 885 Feb 24 18:41 Jenkinsfile 18:43:30 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 18:41 LICENSE 18:43:30 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 24 18:41 Makefile 18:43:30 -rw-rw-r-- 1 jenkins jenkins 619 Feb 24 18:41 OWNERS.md 18:43:30 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 24 18:41 README.md 18:43:30 -rw-rw-r-- 1 jenkins jenkins 12 Feb 24 18:42 VERSION 18:43:30 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:41 bin 18:43:30 -rw-r--r-- 1 jenkins jenkins 111045 Feb 24 18:43 coverage.out 18:43:30 drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 18:41 example 18:43:30 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 24 18:41 go.mod 18:43:30 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 24 18:41 go.sum 18:43:30 drwxrwxr-x 13 jenkins jenkins 4096 Feb 24 18:41 internal 18:43:30 drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 18:41 openapi 18:43:30 drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 18:41 pkg 18:43:30 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:41 snap 18:43:30 -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:31 + 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=5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 --label arch=amd64 --label version=3.0.0-dev.38 . 18:43:31 Sending build context to Docker daemon 10.66MB 18:43:31 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 18:43:31 Step 2/23 : FROM ${BASE} AS builder 18:43:31 ---> 44dca7763c6d 18:43:31 Step 3/23 : ARG MAKE=make build 18:43:31 ---> Running in 209ccde89711 18:43:31 Removing intermediate container 209ccde89711 18:43:31 ---> cc3eff4b4301 18:43:31 Step 4/23 : WORKDIR /device-sdk-go 18:43:31 ---> Running in 8d159d5246e7 18:43:31 Removing intermediate container 8d159d5246e7 18:43:31 ---> 193334e8ada6 18:43:31 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:43:31 ---> Running in a0e349ad2fdf 18:43:31 Removing intermediate container a0e349ad2fdf 18:43:31 ---> 5db1384faf5e 18:43:31 Step 6/23 : RUN apk add --update --no-cache make git 18:43:31 ---> Running in d9b0d065851d 18:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:43:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:43:32 OK: 211 MiB in 51 packages 18:43:32 Removing intermediate container d9b0d065851d 18:43:32 ---> ec58d0a00247 18:43:32 Step 7/23 : COPY go.mod vendor* ./ 18:43:32 ---> 66f31208077d 18:43:32 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:43:32 ---> Running in bd699df8f222 18:43:33 Removing intermediate container bd699df8f222 18:43:33 ---> fa9357e2ddd5 18:43:33 Step 9/23 : COPY . . 18:43:34 ---> b378c7bde848 18:43:34 Step 10/23 : RUN ${MAKE} 18:43:34 ---> Running in 29ff892f8735 18:43:34 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.38" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:43:52 Removing intermediate container 29ff892f8735 18:43:52 ---> 89a5e3dc8c97 18:43:52 Step 11/23 : FROM alpine:3.16 18:43:52 3.16: Pulling from library/alpine 18:43:52 ef5531b6e74e: Pulling fs layer 18:43:52 ef5531b6e74e: Download complete 18:43:52 ef5531b6e74e: Pull complete 18:43:52 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:43:52 Status: Downloaded newer image for alpine:3.16 18:43:52 ---> dfd21b5a31f5 18:43:52 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:43:52 ---> Running in ffe696472d96 18:43:52 Removing intermediate container ffe696472d96 18:43:52 ---> 1bf3770d282f 18:43:52 Step 13/23 : RUN apk add --update --no-cache 18:43:52 ---> Running in c76774240a40 18:43:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:43:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:43:52 OK: 6 MiB in 14 packages 18:43:53 Removing intermediate container c76774240a40 18:43:53 ---> cd1ca6de33c4 18:43:53 Step 14/23 : WORKDIR / 18:43:53 ---> Running in 1f79e89714fc 18:43:53 Removing intermediate container 1f79e89714fc 18:43:53 ---> 2e4f32b9733d 18:43:53 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:43:53 ---> 80a334fc8759 18:43:53 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:43:54 ---> 3136a41fa578 18:43:54 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:43:54 ---> 04cedb127143 18:43:54 Step 18/23 : EXPOSE 59999 18:43:54 ---> Running in 519a095317d5 18:43:54 Removing intermediate container 519a095317d5 18:43:54 ---> cd4d771e989f 18:43:54 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:43:54 ---> Running in 8f02476229af 18:43:54 Removing intermediate container 8f02476229af 18:43:54 ---> 6df30655cceb 18:43:54 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:43:54 ---> Running in 9398a08fa692 18:43:54 Removing intermediate container 9398a08fa692 18:43:54 ---> 247f69345814 18:43:54 Step 21/23 : LABEL arch=amd64 18:43:54 ---> Running in 788678ef8574 18:43:54 Removing intermediate container 788678ef8574 18:43:54 ---> a11914a6be90 18:43:54 Step 22/23 : LABEL git_sha=5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 18:43:54 ---> Running in dec9440a6b3e 18:43:54 Removing intermediate container dec9440a6b3e 18:43:54 ---> 9d6c3ea53b18 18:43:54 Step 23/23 : LABEL version=3.0.0-dev.38 18:43:54 ---> Running in 2609a00619ee 18:43:55 Removing intermediate container 2609a00619ee 18:43:55 ---> f38c9f1f2487 18:43:55 [Warning] One or more build-args [ARCH] were not consumed 18:43:55 Successfully built f38c9f1f2487 18:43:55 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] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:55 18:43:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:43:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:43:55 latest: Pulling from edgex-lftools-log-publisher 18:43:55 5eb5b503b376: Pulling fs layer 18:43:55 5c69ac0246d0: Pulling fs layer 18:43:55 ec43610c2a17: Pulling fs layer 18:43:55 3a2ae6a8a46f: Pulling fs layer 18:43:55 33b1e0a273af: Pulling fs layer 18:43:55 5d3b04190fa2: Pulling fs layer 18:43:55 2f39f015ded8: Pulling fs layer 18:43:55 33b1e0a273af: Waiting 18:43:55 5d3b04190fa2: Waiting 18:43:55 3a2ae6a8a46f: Waiting 18:43:55 2f39f015ded8: Waiting 18:43:55 5c69ac0246d0: Verifying Checksum 18:43:55 5c69ac0246d0: Download complete 18:43:55 3a2ae6a8a46f: Verifying Checksum 18:43:55 3a2ae6a8a46f: Download complete 18:43:56 33b1e0a273af: Verifying Checksum 18:43:56 33b1e0a273af: Download complete 18:43:56 ec43610c2a17: Verifying Checksum 18:43:56 ec43610c2a17: Download complete 18:43:56 5d3b04190fa2: Verifying Checksum 18:43:56 5d3b04190fa2: Download complete 18:43:56 5eb5b503b376: Verifying Checksum 18:43:56 5eb5b503b376: Download complete 18:43:56 2f39f015ded8: Download complete 18:43:57 5eb5b503b376: Pull complete 18:43:57 5c69ac0246d0: Pull complete 18:43:57 ec43610c2a17: Pull complete 18:43:57 3a2ae6a8a46f: Pull complete 18:43:58 33b1e0a273af: Pull complete 18:43:58 5d3b04190fa2: Pull complete 18:44:02 2f39f015ded8: Pull complete 18:44:02 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:44:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:44:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:44:02 prd-ubuntu20.04-docker-8c-8g-7379 does not seem to be running inside a container 18:44:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-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 18:44:04 $ docker top 68788b43a3646a315a7e9f9b57fd33b383176ada8f174ee5ae57d2ab3e91ec4b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:44:04 ---> job-cost.sh 18:44:04 lf-activate-venv: SKIPPING 18:44:04 INFO: No Stack... 18:44:05 INFO: Retrieving Pricing Info for: v3-standard-8 18:44:05 INFO: Archiving Costs [Pipeline] sh 18:44:05 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 18:44:05 + cut -d, -f6 [Pipeline] lock 18:44:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-168-stack-cost] 18:44:05 Resource [jenkins-edgexfoundry-device-sdk-go-main-168-stack-cost] did not exist. Created. 18:44:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-168-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:44:06 + echo total: 0.2199999988079071 [Pipeline] stash 18:44:06 Stashed 1 file(s) [Pipeline] } 18:44:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-168-stack-cost] [Pipeline] // lock [Pipeline] } 18:44:06 $ docker stop --time=1 68788b43a3646a315a7e9f9b57fd33b383176ada8f174ee5ae57d2ab3e91ec4b 18:44:07 $ docker rm -f --volumes 68788b43a3646a315a7e9f9b57fd33b383176ada8f174ee5ae57d2ab3e91ec4b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:45:03 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7384 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 18:45:03 Running in /w/workspace/device-sdk-go/168 [Pipeline] { [Pipeline] checkout 18:45:03 The recommended git tool is: git 18:45:09 using credential edgex-jenkins-ssh 18:45:09 Cloning the remote Git repository 18:45:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 18:45:09 > git init /w/workspace/device-sdk-go/168 # timeout=10 18:45:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 18:45:10 > git --version # timeout=10 18:45:10 > git --version # 'git version 2.25.1' 18:45:10 using GIT_SSH to set credentials SSH Credentials for GitHub 18:45:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:45:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 18:45:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:45:13 Avoid second fetch 18:45:13 Checking out Revision 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 (main) 18:45:13 > git config core.sparsecheckout # timeout=10 18:45:13 > git checkout -f 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 # timeout=10 18:45:13 Commit message: "Merge pull request #1349 from vli11/path_to_secretName" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:45:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:45:14 % Total % Received % Xferd Average Speed Time Time Time Current 18:45:14 Dload Upload Total Spent Left Speed 18:45:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 18:45:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:45:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:45:15 + sudo tee /etc/docker/daemon.new 18:45:15 { 18:45:15 "registry-mirrors": [ 18:45:15 "https://nexus3.edgexfoundry.org:10001" 18:45:15 ], 18:45:15 "bip": "10.250.0.254/24", 18:45:15 "hosts": [ 18:45:15 "tcp://0.0.0.0:5555", 18:45:15 "unix:///var/run/docker.sock" 18:45:15 ], 18:45:15 "mtu": 1458, 18:45:15 "selinux-enabled": true, 18:45:15 "seccomp-profile": "/etc/docker/seccomp.json" 18:45:15 } [Pipeline] sh 18:45:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:45:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:45:34 provisioning config files... 18:45:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/168@tmp/config5206804202339371552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:45:35 ---> docker-login.sh 18:45:35 nexus3.edgexfoundry.org:10001 18:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:39 Configure a credential helper to remove this warning. See 18:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:39 18:45:39 Login Succeeded 18:45:39 nexus3.edgexfoundry.org:10002 18:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:39 Configure a credential helper to remove this warning. See 18:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:39 18:45:39 Login Succeeded 18:45:39 nexus3.edgexfoundry.org:10003 18:45:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:39 Configure a credential helper to remove this warning. See 18:45:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:39 18:45:39 Login Succeeded 18:45:39 nexus3.edgexfoundry.org:10004 18:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:40 Configure a credential helper to remove this warning. See 18:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:40 18:45:40 Login Succeeded 18:45:40 docker.io 18:45:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:45:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:45:40 Configure a credential helper to remove this warning. See 18:45:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:45:40 18:45:40 Login Succeeded 18:45:40 ---> docker-login.sh ends [Pipeline] } 18:45:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:45:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:45:41 ========================================================= 18:45:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 18:45:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:45: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 . 18:45:41 Sending build context to Docker daemon 5.652MB 18:45:42 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:45:42 Step 2/10 : FROM ${BASE} AS builder 18:45:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:45:42 9b18e9b68314: Pulling fs layer 18:45:42 35d82f9e3411: Pulling fs layer 18:45:42 e16973657156: Pulling fs layer 18:45:42 fc693d55d65f: Pulling fs layer 18:45:42 7e9fc2657dce: Pulling fs layer 18:45:42 dda99020689f: Pulling fs layer 18:45:42 db1c61fa0a46: Pulling fs layer 18:45:42 891c053d2c06: Pulling fs layer 18:45:42 dda99020689f: Waiting 18:45:42 db1c61fa0a46: Waiting 18:45:42 fc693d55d65f: Waiting 18:45:42 891c053d2c06: Waiting 18:45:42 7e9fc2657dce: Waiting 18:45:42 e16973657156: Verifying Checksum 18:45:42 e16973657156: Download complete 18:45:42 35d82f9e3411: Download complete 18:45:42 7e9fc2657dce: Verifying Checksum 18:45:42 7e9fc2657dce: Download complete 18:45:42 dda99020689f: Verifying Checksum 18:45:42 dda99020689f: Download complete 18:45:42 9b18e9b68314: Verifying Checksum 18:45:42 9b18e9b68314: Download complete 18:45:43 9b18e9b68314: Pull complete 18:45:43 891c053d2c06: Verifying Checksum 18:45:43 891c053d2c06: Download complete 18:45:43 35d82f9e3411: Pull complete 18:45:44 e16973657156: Pull complete 18:45:45 db1c61fa0a46: Verifying Checksum 18:45:45 db1c61fa0a46: Download complete 18:45:45 fc693d55d65f: Verifying Checksum 18:45:45 fc693d55d65f: Download complete 18:45:58 fc693d55d65f: Pull complete 18:45:58 7e9fc2657dce: Pull complete 18:45:58 dda99020689f: Pull complete 18:46:03 db1c61fa0a46: Pull complete 18:46:05 891c053d2c06: Pull complete 18:46:05 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 18:46:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 18:46:05 ---> f96f9c87975a 18:46:05 Step 3/10 : ARG MAKE=make build 18:46:07 ---> Running in 8d04584d7a39 18:46:07 Removing intermediate container 8d04584d7a39 18:46:07 ---> 7f468ad612f5 18:46:07 Step 4/10 : WORKDIR /device-sdk-go 18:46:07 ---> Running in f394052f1911 18:46:08 Removing intermediate container f394052f1911 18:46:08 ---> 385c4c18fefa 18:46:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:46:08 ---> Running in 945ca060f094 18:46:08 Removing intermediate container 945ca060f094 18:46:08 ---> b24e8ce7729d 18:46:08 Step 6/10 : RUN apk add --update --no-cache make git 18:46:08 ---> Running in 21f449d9de73 18:46:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:46:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:46:11 OK: 221 MiB in 51 packages 18:46:12 Removing intermediate container 21f449d9de73 18:46:12 ---> bbf9e5b41e65 18:46:12 Step 7/10 : COPY go.mod vendor* ./ 18:46:13 ---> 70783c48b948 18:46:13 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:46:13 ---> Running in 3a7ace45a72b 18:47:21 Removing intermediate container 3a7ace45a72b 18:47:21 ---> cae4276c96c4 18:47:21 Step 9/10 : COPY . . 18:47:21 ---> c9553e50de66 18:47:21 Step 10/10 : RUN ${MAKE} 18:47:21 ---> Running in 8dbd0d448277 18:47:22 noop 18:47:23 Removing intermediate container 8dbd0d448277 18:47:23 ---> 35ce222e7848 18:47:23 Successfully built 35ce222e7848 18:47:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:23 + docker inspect -f . ci-base-image-arm64 18:47:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:23 prd-ubuntu20.04-docker-arm64-4c-16g-7384 does not seem to be running inside a container 18:47:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/168 -v /w/workspace/device-sdk-go/168:/w/workspace/device-sdk-go/168:rw,z -v /w/workspace/device-sdk-go/168@tmp:/w/workspace/device-sdk-go/168@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 18:47:25 $ docker top 90337b74393c1be64100cc0c9d5f5050b5d8398a4d5881533bf088963b30b67f -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:25 + go version 18:47:25 go version go1.18.7 linux/arm64 [Pipeline] } 18:47:26 $ docker stop --time=1 90337b74393c1be64100cc0c9d5f5050b5d8398a4d5881533bf088963b30b67f 18:47:27 $ docker rm -f --volumes 90337b74393c1be64100cc0c9d5f5050b5d8398a4d5881533bf088963b30b67f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:47:28 + docker inspect -f . ci-base-image-arm64 18:47:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:47:28 prd-ubuntu20.04-docker-arm64-4c-16g-7384 does not seem to be running inside a container 18:47:28 $ 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/168 -v /w/workspace/device-sdk-go/168:/w/workspace/device-sdk-go/168:rw,z -v /w/workspace/device-sdk-go/168@tmp:/w/workspace/device-sdk-go/168@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 18:47:29 $ docker top fd0eab21fdad6494cad9cdd4058aacd55b43cbf0750977e6af3bc93e4289716c -eo pid,comm [Pipeline] { [Pipeline] sh 18:47:30 + git config --global --add safe.directory /w/workspace/device-sdk-go/168 [Pipeline] fileExists [Pipeline] sh 18:47:31 + make test 18:47:31 go test -race -coverprofile=coverage.out ./... 18:48:10 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 18:50:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 18:50:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 18:50:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 18:50:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 18:50:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 18:50:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.340s coverage: 27.6% of statements 18:50:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.311s coverage: 78.9% of statements 18:50:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 18:50:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.456s coverage: 86.0% of statements 18:50:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 18:50:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 18:50:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.603s coverage: 74.7% of statements 18:50:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 18:50:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.346s coverage: 15.5% of statements 18:50:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 18:50:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.496s coverage: 65.2% of statements 18:50:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 18:50:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 18:50:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.454s coverage: 89.2% of statements 18:50:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 18:50:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.297s coverage: 4.6% of statements 18:50:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 18:50:59 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:50:59 GO111MODULE=on go vet ./... 18:52:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:52:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:52:51 ./bin/test-attribution-txt.sh [Pipeline] echo 18:52:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:52:51 $ docker stop --time=1 fd0eab21fdad6494cad9cdd4058aacd55b43cbf0750977e6af3bc93e4289716c 18:52:53 $ docker rm -f --volumes fd0eab21fdad6494cad9cdd4058aacd55b43cbf0750977e6af3bc93e4289716c [Pipeline] // withDockerContainer [Pipeline] sh 18:52:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:52:55 Warning: overwriting stash ‘coverage-report’ 18:52:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:52:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:56 + ls -al . 18:52:56 total 280 18:52:56 drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 18:47 . 18:52:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:45 .. 18:52:56 -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 18:45 .dockerignore 18:52:56 drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 18:45 .git 18:52:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:45 .github 18:52:56 -rw-rw-r-- 1 jenkins jenkins 131 Feb 24 18:45 .gitignore 18:52:56 -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 18:45 .golangci.yml 18:52:56 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 24 18:45 CHANGELOG.md 18:52:56 -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 18:45 GOVERNANCE.md 18:52:56 -rw-rw-r-- 1 jenkins jenkins 885 Feb 24 18:45 Jenkinsfile 18:52:56 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 18:45 LICENSE 18:52:56 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 24 18:45 Makefile 18:52:56 -rw-rw-r-- 1 jenkins jenkins 619 Feb 24 18:45 OWNERS.md 18:52:56 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 24 18:45 README.md 18:52:56 -rw-rw-r-- 1 jenkins jenkins 12 Feb 24 18:42 VERSION 18:52:56 drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 18:45 bin 18:52:56 -rw-r--r-- 1 jenkins jenkins 111045 Feb 24 18:50 coverage.out 18:52:56 drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 18:45 example 18:52:56 -rw-rw-r-- 1 jenkins jenkins 3266 Feb 24 18:45 go.mod 18:52:56 -rw-rw-r-- 1 jenkins jenkins 32794 Feb 24 18:45 go.sum 18:52:56 drwxrwxr-x 13 jenkins jenkins 4096 Feb 24 18:45 internal 18:52:56 drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 18:45 openapi 18:52:56 drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 18:45 pkg 18:52:56 drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 18:45 snap 18:52:56 -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 18:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:56 + 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=5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 --label arch=arm64 --label version=3.0.0-dev.38 . 18:52:57 Sending build context to Docker daemon 5.764MB 18:52:57 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 18:52:57 Step 2/23 : FROM ${BASE} AS builder 18:52:57 ---> 35ce222e7848 18:52:57 Step 3/23 : ARG MAKE=make build 18:52:57 ---> Running in b31498b32e0c 18:52:57 Removing intermediate container b31498b32e0c 18:52:57 ---> 25f897bb83fb 18:52:57 Step 4/23 : WORKDIR /device-sdk-go 18:52:58 ---> Running in 72bcc064aa5c 18:52:58 Removing intermediate container 72bcc064aa5c 18:52:58 ---> ec3e684c0cc5 18:52:58 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:52:58 ---> Running in cd86616d59ac 18:52:58 Removing intermediate container cd86616d59ac 18:52:58 ---> b44c8f92d028 18:52:58 Step 6/23 : RUN apk add --update --no-cache make git 18:52:58 ---> Running in 24e59cd163da 18:52:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:53:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:53:01 OK: 221 MiB in 51 packages 18:53:02 Removing intermediate container 24e59cd163da 18:53:02 ---> 663776c3e9aa 18:53:02 Step 7/23 : COPY go.mod vendor* ./ 18:53:03 ---> a677abdab097 18:53:03 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:53:03 ---> Running in 2fd30f5eae5f 18:53:05 Removing intermediate container 2fd30f5eae5f 18:53:05 ---> 55421a33f5ba 18:53:05 Step 9/23 : COPY . . 18:53:07 ---> 7bec37d7ad7f 18:53:07 Step 10/23 : RUN ${MAKE} 18:53:07 ---> Running in bf4f984d6be9 18:53:08 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.38" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:55:30 Removing intermediate container bf4f984d6be9 18:55:30 ---> 619e5fc7d3c2 18:55:30 Step 11/23 : FROM alpine:3.16 18:55:30 3.16: Pulling from library/alpine 18:55:30 3760b48202b3: Pulling fs layer 18:55:30 3760b48202b3: Download complete 18:55:30 3760b48202b3: Pull complete 18:55:30 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 18:55:30 Status: Downloaded newer image for alpine:3.16 18:55:30 ---> 4c81e5bf8899 18:55:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:55:30 ---> Running in bcfaee126760 18:55:30 Removing intermediate container bcfaee126760 18:55:30 ---> 5d855238eb3d 18:55:30 Step 13/23 : RUN apk add --update --no-cache 18:55:30 ---> Running in 7edd2633f618 18:55:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 18:55:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 18:55:30 OK: 5 MiB in 14 packages 18:55:30 Removing intermediate container 7edd2633f618 18:55:30 ---> 7b4af4dbbfdd 18:55:30 Step 14/23 : WORKDIR / 18:55:30 ---> Running in 3976004fddcb 18:55:30 Removing intermediate container 3976004fddcb 18:55:30 ---> 16cd049cd0e8 18:55:30 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:55:30 ---> 5f0613586412 18:55:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:55:31 ---> 155a17081fb4 18:55:31 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:55:32 ---> 356cebffd870 18:55:32 Step 18/23 : EXPOSE 59999 18:55:32 ---> Running in f4293bf94da0 18:55:32 Removing intermediate container f4293bf94da0 18:55:32 ---> de4ae6718bd9 18:55:32 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:55:32 ---> Running in e0c3857e5ab6 18:55:32 Removing intermediate container e0c3857e5ab6 18:55:32 ---> ae8bd3972688 18:55:32 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 18:55:32 ---> Running in eb1edad991ee 18:55:33 Removing intermediate container eb1edad991ee 18:55:33 ---> a53ef4a8fa2e 18:55:33 Step 21/23 : LABEL arch=arm64 18:55:33 ---> Running in 0fc2817a0269 18:55:33 Removing intermediate container 0fc2817a0269 18:55:33 ---> d3d95e8bf439 18:55:33 Step 22/23 : LABEL git_sha=5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 18:55:33 ---> Running in 8f5e28140b27 18:55:34 Removing intermediate container 8f5e28140b27 18:55:34 ---> 932f60e2c9b3 18:55:34 Step 23/23 : LABEL version=3.0.0-dev.38 18:55:34 ---> Running in e7571f07d581 18:55:34 Removing intermediate container e7571f07d581 18:55:34 ---> 34c9cf03fda9 18:55:34 [Warning] One or more build-args [ARCH] were not consumed 18:55:34 Successfully built 34c9cf03fda9 18:55:34 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 18:55:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:35 18:55:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:55:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:35 arm64: Pulling from edgex-lftools-log-publisher 18:55:35 8998bd30e6a1: Pulling fs layer 18:55:35 04944245beec: Pulling fs layer 18:55:35 699f458cf7ca: Pulling fs layer 18:55:35 765212b225bb: Pulling fs layer 18:55:35 f23df028b6ca: Pulling fs layer 18:55:35 d65c8cfc05b1: Pulling fs layer 18:55:35 2437ff75d9bd: Pulling fs layer 18:55:35 f23df028b6ca: Waiting 18:55:35 d65c8cfc05b1: Waiting 18:55:35 2437ff75d9bd: Waiting 18:55:35 765212b225bb: Waiting 18:55:35 04944245beec: Verifying Checksum 18:55:35 04944245beec: Download complete 18:55:35 765212b225bb: Verifying Checksum 18:55:35 765212b225bb: Download complete 18:55:35 f23df028b6ca: Verifying Checksum 18:55:35 f23df028b6ca: Download complete 18:55:35 d65c8cfc05b1: Verifying Checksum 18:55:35 d65c8cfc05b1: Download complete 18:55:36 699f458cf7ca: Verifying Checksum 18:55:36 699f458cf7ca: Download complete 18:55:36 8998bd30e6a1: Verifying Checksum 18:55:36 8998bd30e6a1: Download complete 18:55:38 2437ff75d9bd: Verifying Checksum 18:55:38 2437ff75d9bd: Download complete 18:55:40 8998bd30e6a1: Pull complete 18:55:40 04944245beec: Pull complete 18:55:42 699f458cf7ca: Pull complete 18:55:42 765212b225bb: Pull complete 18:55:43 f23df028b6ca: Pull complete 18:55:43 d65c8cfc05b1: Pull complete 18:55:58 2437ff75d9bd: Pull complete 18:55:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:55:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:55:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:55:58 prd-ubuntu20.04-docker-arm64-4c-16g-7384 does not seem to be running inside a container 18:55:58 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/168 -v /w/workspace/device-sdk-go/168:/w/workspace/device-sdk-go/168:rw,z -v /w/workspace/device-sdk-go/168@tmp:/w/workspace/device-sdk-go/168@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 18:56:01 $ docker top b91d37b748eb33f1e6b4ab10b89187ff918a5619af399c683ae5d544a913bb69 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:02 ---> job-cost.sh 18:56:02 lf-activate-venv: SKIPPING 18:56:02 INFO: No Stack... 18:56:03 INFO: Retrieving Pricing Info for: v3-standard-4 18:56:04 INFO: Archiving Costs [Pipeline] sh 18:56:04 + cat /w/workspace/device-sdk-go/168/archives/cost.csv 18:56:04 + cut -d, -f6 [Pipeline] lock 18:56:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-168-stack-cost] 18:56:04 Resource [jenkins-edgexfoundry-device-sdk-go-main-168-stack-cost] did not exist. Created. 18:56:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-168-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:56:05 /w/workspace/device-sdk-go/168@tmp/durable-6e1d33dc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:56:06 + echo total: 0.10999999940395355 [Pipeline] stash 18:56:06 Warning: overwriting stash ‘stack-cost’ 18:56:06 Stashed 1 file(s) [Pipeline] } 18:56:06 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-168-stack-cost] [Pipeline] // lock [Pipeline] } 18:56:06 $ docker stop --time=1 b91d37b748eb33f1e6b4ab10b89187ff918a5619af399c683ae5d544a913bb69 18:56:07 $ docker rm -f --volumes b91d37b748eb33f1e6b4ab10b89187ff918a5619af399c683ae5d544a913bb69 [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 18:56:08 provisioning config files... 18:56:08 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config461951621379462469tmp [Pipeline] { [Pipeline] sh 18:56:08 + set +x 18:56:08 + bash -s -- 18:56:08 + curl -s https://codecov.io/bash 18:56:08 18:56:08 _____ _ 18:56:08 / ____| | | 18:56:08 | | ___ __| | ___ ___ _____ __ 18:56:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:56:08 | |___| (_) | (_| | __/ (_| (_) \ V / 18:56:08 \_____\___/ \__,_|\___|\___\___/ \_/ 18:56:08 Bash-1.0.6 18:56:08 18:56:08 18:56:08 ==> git version 2.25.1 found 18:56:08 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 18:56:08 Release-Date: 2020-01-08 18:56:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:56:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:56:08 ==> Jenkins CI detected. 18:56:08 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 18:56:08 project root: . 18:56:08 --> token set from env 18:56:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:56:08 ==> Running gcov in . (disable via -X gcov) 18:56:08 ==> Python coveragepy not found 18:56:08 ==> Searching for coverage reports in: 18:56:08 + . 18:56:08 -> Found 1 reports 18:56:08 ==> Detecting git/mercurial file structure 18:56:08 ==> Reading reports 18:56:08 + ./coverage.out bytes=111045 18:56:08 ==> Appending adjustments 18:56:08 https://docs.codecov.io/docs/fixing-reports 18:56:08 + Found adjustments 18:56:08 ==> Gzipping contents 18:56:08 16K /tmp/codecov.67nTjn.gz 18:56:09 ==> Uploading reports 18:56:09 url: https://codecov.io 18:56:09 query: branch=main&commit=5c1e0dd5a754f3bad37da38710a9de66bfde6ab8&build=168&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F168%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:56:09 -> Pinging Codecov 18:56:09 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=5c1e0dd5a754f3bad37da38710a9de66bfde6ab8&build=168&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F168%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:56:19 -> Uploading to 18:56:19 https://storage.googleapis.com/codecov/v4/raw/2023-02-24/7E55EF52A471D76F132DFD9A03CDDE97/5c1e0dd5a754f3bad37da38710a9de66bfde6ab8/419d7e59-d1d4-4cad-bb2b-be36027881d2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230224T185618Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c771d687279b09a6cc6d849e82dcd584bf23540c71ffef211cc2dd1acd513885 18:56:19 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:19 Dload Upload Total Spent Left Speed 18:56:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15367 0 0 100 15367 0 48784 --:--:-- --:--:-- --:--:-- 48939 18:56:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 [Pipeline] } 18:56:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:56:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:56:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:56:19 18:56:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:56:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:56:20 df9b9388f04a: Pulling fs layer 18:56:20 52dc419b0ee2: Pulling fs layer 18:56:20 25bc292e5bac: Pulling fs layer 18:56:20 114826534d7a: Pulling fs layer 18:56:20 4657fd5d0bcf: Pulling fs layer 18:56:20 6ad1cebc031e: Pulling fs layer 18:56:20 8a3aa393b2d8: Pulling fs layer 18:56:20 4657fd5d0bcf: Waiting 18:56:20 6ad1cebc031e: Waiting 18:56:20 8a3aa393b2d8: Waiting 18:56:20 114826534d7a: Waiting 18:56:20 25bc292e5bac: Verifying Checksum 18:56:20 25bc292e5bac: Download complete 18:56:20 52dc419b0ee2: Download complete 18:56:20 4657fd5d0bcf: Verifying Checksum 18:56:20 4657fd5d0bcf: Download complete 18:56:20 df9b9388f04a: Verifying Checksum 18:56:20 df9b9388f04a: Download complete 18:56:20 df9b9388f04a: Pull complete 18:56:20 6ad1cebc031e: Verifying Checksum 18:56:20 6ad1cebc031e: Download complete 18:56:20 52dc419b0ee2: Pull complete 18:56:20 25bc292e5bac: Pull complete 18:56:20 114826534d7a: Verifying Checksum 18:56:20 114826534d7a: Download complete 18:56:21 8a3aa393b2d8: Verifying Checksum 18:56:21 8a3aa393b2d8: Download complete 18:56:24 114826534d7a: Pull complete 18:56:24 4657fd5d0bcf: Pull complete 18:56:24 6ad1cebc031e: Pull complete 18:56:26 8a3aa393b2d8: Pull complete 18:56:26 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:56:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:56:26 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:26 prd-ubuntu20.04-docker-8c-8g-7379 does not seem to be running inside a container 18:56:27 $ 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 18:56:28 $ docker top 58f1f4141207a13903ef517253181c5549e5ecbeb09736c917e7397a0eec1f91 -eo pid,comm [Pipeline] { [Pipeline] echo 18:56:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 18:56:29 + set -o pipefail 18:56:29 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 18:56:35 18:56:35 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 18:56:35 18:56:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/3ae6a218-4a5a-4e5a-9a37-d9e1a737699a 18:56:35 18:56:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:56:35 18:56:35 18:56:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:56:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:56:35 More details here: https://snyk.co/ue1NS [Pipeline] } 18:56:35 $ docker stop --time=1 58f1f4141207a13903ef517253181c5549e5ecbeb09736c917e7397a0eec1f91 18:56:37 $ docker rm -f --volumes 58f1f4141207a13903ef517253181c5549e5ecbeb09736c917e7397a0eec1f91 [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 18:56:38 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:56:38 provisioning config files... 18:56:38 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13480590963787955542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:56:38 --> edgex-publish-swagger.sh 18:56:38 === Publish openapi/v3 API === 18:56:38 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 18:56:38 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 18:56:38 % Total % Received % Xferd Average Speed Time Time Time Current 18:56:38 Dload Upload Total Spent Left Speed 18:56:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 18947 0:00:01 0:00:01 --:--:-- 18932 100 23571 0 0 100 23571 0 10499 0:00:02 0:00:02 --:--:-- 10494 100 23571 0 0 100 23571 0 9577 0:00:02 0:00:02 --:--:-- 9573 18:56:40 18:56:40 [Pipeline] } 18:56:40 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 18:56:41 + git log --format=format:%s -1 5c1e0dd5a754f3bad37da38710a9de66bfde6ab8 [Pipeline] sh 18:56:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:56:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:56:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:42 prd-ubuntu20.04-docker-8c-8g-7379 does not seem to be running inside a container 18:56:42 $ 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 18:56:42 $ docker top 0460ccf7c9f335af8f8f96ca96fe8ed55934643b2a3db575141e0a1f2763449c -eo pid,comm 18:56: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). 18:56:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:56:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:56:42 [ssh-agent] Looking for ssh-agent implementation... 18:56:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:56:42 $ docker exec 0460ccf7c9f335af8f8f96ca96fe8ed55934643b2a3db575141e0a1f2763449c ssh-agent 18:56:42 SSH_AUTH_SOCK=/tmp/ssh-ixSRMAPZ2PyE/agent.32 18:56:42 SSH_AGENT_PID=38 18:56:42 Running ssh-add (command line suppressed) 18:56:42 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9798658092569359664.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9798658092569359664.key) 18:56:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:56:43 + git semver tag 18:56:43 2023-02-24 18:56:43,309 [run_tag] DEBUG tag force:False 18:56:43 2023-02-24 18:56:43,309 [check_head_tag] DEBUG check head tag 18:56:43 2023-02-24 18:56:43,311 [execute] INFO git cat-file --batch-check 18:56:43 2023-02-24 18:56:43,311 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:56:43 2023-02-24 18:56:43,315 [execute] INFO git cat-file --batch 18:56:43 2023-02-24 18:56:43,315 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 18:56:43 2023-02-24 18:56:43,347 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:56:43 2023-02-24 18:56:43,348 [execute] INFO git tag -a v3.0.0-dev.38 -m v3.0.0-dev.38 18:56:43 2023-02-24 18:56:43,348 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.38', '-m', 'v3.0.0-dev.38'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 18:56:43 2023-02-24 18:56:43,351 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:56:43 3.0.0-dev.38 [Pipeline] } 18:56:43 $ docker exec --env ******** --env ******** 0460ccf7c9f335af8f8f96ca96fe8ed55934643b2a3db575141e0a1f2763449c ssh-agent -k 18:56:43 unset SSH_AUTH_SOCK; 18:56:43 unset SSH_AGENT_PID; 18:56:43 echo Agent pid 38 killed; 18:56:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:56:43 + git semver [Pipeline] } 18:56:44 $ docker stop --time=1 0460ccf7c9f335af8f8f96ca96fe8ed55934643b2a3db575141e0a1f2763449c 18:56:45 $ docker rm -f --volumes 0460ccf7c9f335af8f8f96ca96fe8ed55934643b2a3db575141e0a1f2763449c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:56:45 18:56:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:56:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:56:46 0.23.1-centos7: Pulling from edgex-lftools 18:56:46 ab5ef0e58194: Pulling fs layer 18:56:46 9712f1f96733: Pulling fs layer 18:56:46 63f879dbbcfc: Pulling fs layer 18:56:46 0d9ebad4ef96: Pulling fs layer 18:56:46 e9a5061849ea: Pulling fs layer 18:56:46 d747dcd14b5f: Pulling fs layer 18:56:46 2de7ff778b66: Pulling fs layer 18:56:46 0d9ebad4ef96: Waiting 18:56:46 e9a5061849ea: Waiting 18:56:46 d747dcd14b5f: Waiting 18:56:46 2de7ff778b66: Waiting 18:56:46 9712f1f96733: Verifying Checksum 18:56:46 9712f1f96733: Download complete 18:56:46 63f879dbbcfc: Verifying Checksum 18:56:46 63f879dbbcfc: Download complete 18:56:46 e9a5061849ea: Verifying Checksum 18:56:46 e9a5061849ea: Download complete 18:56:46 d747dcd14b5f: Verifying Checksum 18:56:46 d747dcd14b5f: Download complete 18:56:46 0d9ebad4ef96: Verifying Checksum 18:56:46 0d9ebad4ef96: Download complete 18:56:46 ab5ef0e58194: Download complete 18:56:46 2de7ff778b66: Verifying Checksum 18:56:46 2de7ff778b66: Download complete 18:56:49 ab5ef0e58194: Pull complete 18:56:49 9712f1f96733: Pull complete 18:56:50 63f879dbbcfc: Pull complete 18:56:54 0d9ebad4ef96: Pull complete 18:56:54 e9a5061849ea: Pull complete 18:56:54 d747dcd14b5f: Pull complete 18:56:55 2de7ff778b66: Pull complete 18:56:55 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:56:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:56:55 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:56:55 prd-ubuntu20.04-docker-8c-8g-7379 does not seem to be running inside a container 18:56:55 $ 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 18:56:57 $ docker top 2e362e4d8ff28de6a4e8d33e2c7eec20280a446acdb77a32f6f8042d9c79cc90 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:56:57 provisioning config files... 18:56:57 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16566016918123860279tmp 18:56:57 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10339334210174754929tmp 18:56:57 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16245186729751484155tmp [Pipeline] { [Pipeline] echo 18:56:57 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:56:57 ---> sigul-configuration.sh 18:56:57 gpg: directory `/root/.gnupg' created 18:56:57 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:56:57 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:56:57 gpg: keyring `/root/.gnupg/secring.gpg' created 18:56:57 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:56:57 gpg: CAST5 encrypted data 18:56:57 gpg: encrypted with 1 passphrase 18:56:57 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:56:57 + mkdir /home/jenkins 18:56:57 + mkdir /home/jenkins/sigul [Pipeline] sh 18:56:58 + 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 18:56:58 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:56:58 ---> sigul-install.sh 18:56:58 Sigul already installed; skipping installation. [Pipeline] sh 18:56:58 + git tag --list 18:56:58 0.7.1 18:56:58 delhi-tag 18:56:58 v1.0.0 18:56:58 v1.1.0 18:56:58 v1.1.1 18:56:58 v1.1.2 18:56:58 v1.2.0 18:56:58 v1.2.1 18:56:58 v1.2.2 18:56:58 v1.2.3 18:56:58 v1.3.0 18:56:58 v1.4.0 18:56:58 v2.0.0 18:56:58 v2.1.0 18:56:58 v2.1.1 18:56:58 v2.1.1-dev.2 18:56:58 v2.1.1-dev.3 18:56:58 v2.2.0 18:56:58 v2.2.1-dev.1 18:56:58 v2.2.1-dev.10 18:56:58 v2.2.1-dev.11 18:56:58 v2.2.1-dev.12 18:56:58 v2.2.1-dev.13 18:56:58 v2.2.1-dev.14 18:56:58 v2.2.1-dev.2 18:56:58 v2.2.1-dev.3 18:56:58 v2.2.1-dev.4 18:56:58 v2.2.1-dev.5 18:56:58 v2.2.1-dev.6 18:56:58 v2.2.1-dev.7 18:56:58 v2.2.1-dev.8 18:56:58 v2.2.1-dev.9 18:56:58 v2.3.0 18:56:58 v2.3.0-dev.14 18:56:58 v2.3.0-dev.15 18:56:58 v2.3.0-dev.16 18:56:58 v2.3.0-dev.17 18:56:58 v2.3.0-dev.18 18:56:58 v2.3.0-dev.19 18:56:58 v2.3.0-dev.20 18:56:58 v2.3.0-dev.21 18:56:58 v2.3.0-dev.22 18:56:58 v2.3.0-dev.23 18:56:58 v2.3.0-dev.24 18:56:58 v2.3.0-dev.25 18:56:58 v2.3.0-dev.26 18:56:58 v2.3.0-dev.27 18:56:58 v2.3.0-dev.28 18:56:58 v2.3.0-dev.29 18:56:58 v2.3.0-dev.30 18:56:58 v2.3.0-dev.31 18:56:58 v2.3.0-dev.32 18:56:58 v2.3.0-dev.33 18:56:58 v2.3.0-dev.34 18:56:58 v2.3.0-dev.35 18:56:58 v2.3.0-dev.36 18:56:58 v2.3.0-dev.37 18:56:58 v2.3.0-dev.38 18:56:58 v2.3.0-dev.39 18:56:58 v2.3.0-dev.40 18:56:58 v2.3.0-dev.41 18:56:58 v2.3.0-dev.42 18:56:58 v2.3.0-dev.43 18:56:58 v2.3.0-dev.44 18:56:58 v2.3.0-dev.45 18:56:58 v2.3.0-dev.46 18:56:58 v2.3.0-dev.47 18:56:58 v2.3.0-dev.48 18:56:58 v2.3.0-dev.49 18:56:58 v2.3.0-dev.50 18:56:58 v2.3.0-dev.51 18:56:58 v2.3.1-dev.1 18:56:58 v2.3.1-dev.2 18:56:58 v3.0.0-dev.1 18:56:58 v3.0.0-dev.10 18:56:58 v3.0.0-dev.11 18:56:58 v3.0.0-dev.12 18:56:58 v3.0.0-dev.13 18:56:58 v3.0.0-dev.14 18:56:58 v3.0.0-dev.15 18:56:58 v3.0.0-dev.16 18:56:58 v3.0.0-dev.17 18:56:58 v3.0.0-dev.18 18:56:58 v3.0.0-dev.19 18:56:58 v3.0.0-dev.2 18:56:58 v3.0.0-dev.20 18:56:58 v3.0.0-dev.21 18:56:58 v3.0.0-dev.22 18:56:58 v3.0.0-dev.23 18:56:58 v3.0.0-dev.24 18:56:58 v3.0.0-dev.25 18:56:58 v3.0.0-dev.26 18:56:58 v3.0.0-dev.27 18:56:58 v3.0.0-dev.28 18:56:58 v3.0.0-dev.29 18:56:58 v3.0.0-dev.3 18:56:58 v3.0.0-dev.30 18:56:58 v3.0.0-dev.31 18:56:58 v3.0.0-dev.32 18:56:58 v3.0.0-dev.33 18:56:58 v3.0.0-dev.34 18:56:58 v3.0.0-dev.35 18:56:58 v3.0.0-dev.36 18:56:58 v3.0.0-dev.37 18:56:58 v3.0.0-dev.38 18:56:58 v3.0.0-dev.4 18:56:58 v3.0.0-dev.5 18:56:58 v3.0.0-dev.6 18:56:58 v3.0.0-dev.7 18:56:58 v3.0.0-dev.8 18:56:58 v3.0.0-dev.9 [Pipeline] sh 18:56:59 + lftools sign git-tag v3.0.0-dev.38 18:56:59 Signing Git tag with Sigul... 18:56:59 Signing v3.0.0-dev.38 [Pipeline] echo 18:56:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:57:00 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:57:00 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:57:00 $ docker stop --time=1 2e362e4d8ff28de6a4e8d33e2c7eec20280a446acdb77a32f6f8042d9c79cc90 18:57:01 $ docker rm -f --volumes 2e362e4d8ff28de6a4e8d33e2c7eec20280a446acdb77a32f6f8042d9c79cc90 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:57:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:57:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:57:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:02 prd-ubuntu20.04-docker-8c-8g-7379 does not seem to be running inside a container 18:57:02 $ 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 18:57:02 $ docker top af618d24a66f62d6b4deb6e97dc87a83cb43ceb8a08c050841fb217747b62212 -eo pid,comm 18:57:02 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). 18:57:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:57:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:02 [ssh-agent] Looking for ssh-agent implementation... 18:57:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:02 $ docker exec af618d24a66f62d6b4deb6e97dc87a83cb43ceb8a08c050841fb217747b62212 ssh-agent 18:57:03 SSH_AUTH_SOCK=/tmp/ssh-BB7BQ5qSBfQN/agent.33 18:57:03 SSH_AGENT_PID=39 18:57:03 Running ssh-add (command line suppressed) 18:57:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8922459628925165077.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8922459628925165077.key) 18:57:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:03 + git semver bump pre 18:57:03 2023-02-24 18:57:03,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:57:03 2023-02-24 18:57:03,657 [bump_version] DEBUG bumping version:3.0.0-dev.38 on axis:pre with prefix:dev 18:57:03 2023-02-24 18:57:03,657 [bump_version] DEBUG bumped version:3.0.0-dev.39 18:57:03 2023-02-24 18:57:03,657 [write_version] DEBUG write version:3.0.0-dev.39 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 18:57:03 2023-02-24 18:57:03,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:57:03 2023-02-24 18:57:03,657 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:57:03 2023-02-24 18:57:03,659 [execute] INFO git cat-file --batch-check 18:57:03 2023-02-24 18:57:03,660 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:57:03 2023-02-24 18:57:03,666 [execute] INFO git cat-file --batch 18:57:03 2023-02-24 18:57:03,666 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:57:03 2023-02-24 18:57:03,671 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:57:03 3.0.0-dev.39 [Pipeline] } 18:57:03 $ docker exec --env ******** --env ******** af618d24a66f62d6b4deb6e97dc87a83cb43ceb8a08c050841fb217747b62212 ssh-agent -k 18:57:03 unset SSH_AUTH_SOCK; 18:57:03 unset SSH_AGENT_PID; 18:57:03 echo Agent pid 39 killed; 18:57:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:57:04 + git semver [Pipeline] } 18:57:04 $ docker stop --time=1 af618d24a66f62d6b4deb6e97dc87a83cb43ceb8a08c050841fb217747b62212 18:57:05 $ docker rm -f --volumes af618d24a66f62d6b4deb6e97dc87a83cb43ceb8a08c050841fb217747b62212 [Pipeline] // withDockerContainer [Pipeline] sh 18:57:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:57:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:57:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:06 prd-ubuntu20.04-docker-8c-8g-7379 does not seem to be running inside a container 18:57:06 $ 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 18:57:06 $ docker top aa02ba8997d22493cbcc8eddc2b8efa54e740d2b78eeb14a4270ec11f872e7ca -eo pid,comm 18:57:06 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). 18:57:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:57:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:57:06 [ssh-agent] Looking for ssh-agent implementation... 18:57:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:57:07 $ docker exec aa02ba8997d22493cbcc8eddc2b8efa54e740d2b78eeb14a4270ec11f872e7ca ssh-agent 18:57:07 SSH_AUTH_SOCK=/tmp/ssh-UvR3k2HThpJm/agent.32 18:57:07 SSH_AGENT_PID=38 18:57:07 Running ssh-add (command line suppressed) 18:57:07 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11243677757763276520.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11243677757763276520.key) 18:57:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:57:07 + git semver push 18:57:07 2023-02-24 18:57:07,736 [run_push] DEBUG push 18:57:07 2023-02-24 18:57:07,737 [execute] INFO git cat-file --batch-check 18:57:07 2023-02-24 18:57:07,737 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:57:07 2023-02-24 18:57:07,741 [execute] INFO git rev-list 74cdb4e805abe77609fbf3c0f1748a30531dc416 -- 18:57:07 2023-02-24 18:57:07,742 [execute] DEBUG Popen(['git', 'rev-list', '74cdb4e805abe77609fbf3c0f1748a30531dc416', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:57:07 2023-02-24 18:57:07,755 [execute] INFO git fetch -v origin 18:57:07 2023-02-24 18:57:07,755 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:57:08 2023-02-24 18:57:08,288 [run_push] DEBUG no remote changes detected 18:57:08 2023-02-24 18:57:08,288 [execute] INFO git push origin semver 18:57:08 2023-02-24 18:57:08,289 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:57:09 2023-02-24 18:57:09,201 [run_push] DEBUG push all version tags 18:57:09 2023-02-24 18:57:09,201 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:57:09 2023-02-24 18:57:09,202 [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) 18:57:10 2023-02-24 18:57:10,006 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:57:10 3.0.0-dev.39 [Pipeline] } 18:57:10 $ docker exec --env ******** --env ******** aa02ba8997d22493cbcc8eddc2b8efa54e740d2b78eeb14a4270ec11f872e7ca ssh-agent -k 18:57:10 unset SSH_AUTH_SOCK; 18:57:10 unset SSH_AGENT_PID; 18:57:10 echo Agent pid 38 killed; 18:57:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:57:10 + git semver [Pipeline] } 18:57:10 $ docker stop --time=1 aa02ba8997d22493cbcc8eddc2b8efa54e740d2b78eeb14a4270ec11f872e7ca 18:57:12 $ docker rm -f --volumes aa02ba8997d22493cbcc8eddc2b8efa54e740d2b78eeb14a4270ec11f872e7ca [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 18:57:12 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 18:57:12 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:57:12 total 16 18:57:12 drwxr-xr-x 3 root root 4096 Feb 24 18:44 . 18:57:12 drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 18:56 .. 18:57:12 drwxr-xr-x 2 root root 4096 Feb 24 18:44 cost 18:57:12 -rw-r--r-- 1 root root 85 Feb 24 18:44 cost.csv 18:57:12 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:57:12 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 18:57:12 total 16 18:57:12 drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 18:44 . 18:57:12 drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 18:56 .. 18:57:12 drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 18:44 cost 18:57:12 -rw-r--r-- 1 jenkins jenkins 85 Feb 24 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:57:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:57:13 ---> package-listing.sh 18:57:13 ++ facter osfamily 18:57:13 ++ tr '[:upper:]' '[:lower:]' 18:57:14 + OS_FAMILY=debian 18:57:14 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 18:57:14 + START_PACKAGES=/tmp/packages_start.txt 18:57:14 + END_PACKAGES=/tmp/packages_end.txt 18:57:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:57:14 + PACKAGES=/tmp/packages_start.txt 18:57:14 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:57:14 + PACKAGES=/tmp/packages_end.txt 18:57:14 + case "${OS_FAMILY}" in 18:57:14 + dpkg -l 18:57:14 + grep '^ii' 18:57:14 + '[' -f /tmp/packages_start.txt ']' 18:57:14 + '[' -f /tmp/packages_end.txt ']' 18:57:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:57:14 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 18:57:14 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 18:57:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 18:57:14 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 18:57:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:57:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:57:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:57:15 prd-ubuntu20.04-docker-8c-8g-7379 does not seem to be running inside a container 18:57:15 $ 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 18:57:15 $ docker top a0974fdf66b00fe94e5a8568613ccaa5aaf7f338195e79fd005494148a202ac2 -eo pid,comm [Pipeline] { [Pipeline] sh 18:57:15 + touch /tmp/pre-build-complete [Pipeline] sh 18:57:16 + mkdir -p /var/log/sysstat [Pipeline] sh 18:57:16 + ls /var/log/sa-host 18:57:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:57:16 provisioning config files... 18:57:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6799279742603431291tmp [Pipeline] { [Pipeline] echo 18:57:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:57:16 ---> create-netrc.sh [Pipeline] } 18:57:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:57:17 ---> python-tools-install.sh [Pipeline] echo 18:57:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:57:17 ---> sudo-logs.sh 18:57:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:57:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:57:17 ---> job-cost.sh 18:57:17 lf-activate-venv: SKIPPING 18:57:17 DEBUG: total: 0.2199999988079071 18:57:17 INFO: Retrieving Stack Cost... 18:57:18 INFO: Retrieving Pricing Info for: v3-standard-8 18:57:18 INFO: Archiving Costs [Pipeline] echo 18:57:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:57:18 ---> logs-deploy.sh 18:57:18 lf-activate-venv: SKIPPING 18:57:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/168 18:57:18 INFO: archiving workspace using pattern(s): 18:57:19 Archives upload complete. 18:57:19 INFO: archiving logs to Nexus