Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 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-ssh14067481074353175182.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-ssh14987721698301463690.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-ssh17307904608080991878.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-ssh16634018144453356673.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-ssh9215625761211946148.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 ‘prd-ubuntu20.04-docker-8c-8g-5560’ Running on prd-ubuntu20.04-docker-8c-8g-5563 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 > 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 Avoid second fetch Checking out Revision 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 (main) Commit message: "feat!: add an additional level in event publish topic (#1313)" > git config core.sparsecheckout # timeout=10 > git checkout -f 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 # timeout=10 > git rev-list --no-walk ec40eb7b3630c03e357b8f00e941d9d3aac805d2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:49:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:49:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:49:35 ========================================================= 15:49:35 EdgeX Global Pipelines Version Info 15:49:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:49:35 ------------------- 15:49:35 stable info: 15:49:35 ------------------- 15:49:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:49:35 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:49:35 Message: update stable to v1.0.244 15:49:36 ------------------- 15:49:36 experimental info: 15:49:36 ------------------- 15:49:36 Commited By: **** collab-it+edgex@linuxfoundation.org 15:49:36 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:49:36 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15fb7a8 [Pipeline] echo 15:49:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:49:37 provisioning config files... 15:49:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11955999595805008946tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:37 ---> docker-login.sh 15:49:37 nexus3.edgexfoundry.org:10001 15:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:37 Configure a credential helper to remove this warning. See 15:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:37 15:49:37 Login Succeeded 15:49:37 nexus3.edgexfoundry.org:10002 15:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:37 Configure a credential helper to remove this warning. See 15:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:37 15:49:37 Login Succeeded 15:49:37 nexus3.edgexfoundry.org:10003 15:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:37 Configure a credential helper to remove this warning. See 15:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:37 15:49:37 Login Succeeded 15:49:37 nexus3.edgexfoundry.org:10004 15:49:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:37 Configure a credential helper to remove this warning. See 15:49:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:37 15:49:37 Login Succeeded 15:49:37 docker.io 15:49:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:38 Configure a credential helper to remove this warning. See 15:49:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:38 15:49:38 Login Succeeded 15:49:38 ---> docker-login.sh ends [Pipeline] } 15:49:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:49:38 + git rev-list -1 --merges 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9~1..15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 [Pipeline] echo 15:49:38 -----------> git rev-list -1 --merges 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9~1..15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 [false] [Pipeline] sh 15:49:39 + git log --format=format:%s -1 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 [Pipeline] echo 15:49:39 ========================================================= 15:49:39 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:49:39 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:49:39 + git log --format=format:%s -1 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 [Pipeline] echo 15:49:39 [semverPrep] GIT_COMMIT: 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9, Commit Message: feat!: add an additional level in event publish topic (#1313) [Pipeline] echo 15:49:39 [semverPrep] This is not a build commit. [Pipeline] sh 15:49:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:49:39 + grep -v github /etc/ssh/ssh_known_hosts 15:49:39 + [ -e /tmp/ssh_known_hosts ] 15:49:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:49:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:49:39 + sudo tee -a /etc/ssh/ssh_known_hosts 15:49:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:49:40 15:49:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:49:40 0.1.4: Pulling from edgex-devops/py-git-semver 15:49:40 b85a868b505f: Pulling fs layer 15:49:40 e2be974225ed: Pulling fs layer 15:49:40 339a4e72a1f5: Pulling fs layer 15:49:40 988bab9f4d93: Pulling fs layer 15:49:40 1469e6f7b9e6: Pulling fs layer 15:49:40 eaf3925da568: Pulling fs layer 15:49:40 bab4dde63d76: Pulling fs layer 15:49:40 bde34c3a00c8: Pulling fs layer 15:49:40 b352a97aabf1: Pulling fs layer 15:49:40 4872d77fe225: Pulling fs layer 15:49:40 5851b861e8e6: Pulling fs layer 15:49:40 988bab9f4d93: Waiting 15:49:40 bab4dde63d76: Waiting 15:49:40 bde34c3a00c8: Waiting 15:49:40 5851b861e8e6: Waiting 15:49:40 1469e6f7b9e6: Waiting 15:49:40 b352a97aabf1: Waiting 15:49:40 4872d77fe225: Waiting 15:49:40 eaf3925da568: Waiting 15:49:40 e2be974225ed: Verifying Checksum 15:49:40 e2be974225ed: Download complete 15:49:40 988bab9f4d93: Download complete 15:49:41 1469e6f7b9e6: Verifying Checksum 15:49:41 1469e6f7b9e6: Download complete 15:49:41 eaf3925da568: Verifying Checksum 15:49:41 eaf3925da568: Download complete 15:49:41 b85a868b505f: Verifying Checksum 15:49:41 b85a868b505f: Download complete 15:49:41 bde34c3a00c8: Verifying Checksum 15:49:41 bde34c3a00c8: Download complete 15:49:41 339a4e72a1f5: Verifying Checksum 15:49:41 339a4e72a1f5: Download complete 15:49:41 4872d77fe225: Verifying Checksum 15:49:41 4872d77fe225: Download complete 15:49:41 b352a97aabf1: Verifying Checksum 15:49:41 b352a97aabf1: Download complete 15:49:41 5851b861e8e6: Verifying Checksum 15:49:41 5851b861e8e6: Download complete 15:49:41 bab4dde63d76: Verifying Checksum 15:49:41 bab4dde63d76: Download complete 15:49:42 b85a868b505f: Pull complete 15:49:42 e2be974225ed: Pull complete 15:49:43 339a4e72a1f5: Pull complete 15:49:43 988bab9f4d93: Pull complete 15:49:43 1469e6f7b9e6: Pull complete 15:49:43 eaf3925da568: Pull complete 15:49:46 bab4dde63d76: Pull complete 15:49:46 bde34c3a00c8: Pull complete 15:49:46 b352a97aabf1: Pull complete 15:49:46 4872d77fe225: Pull complete 15:49:46 5851b861e8e6: Pull complete 15:49:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:49:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:49:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:49:46 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 15:49:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:49:51 $ docker top 50fb358016bc30d3e23dde2eaaffb68817740eee4367ea2ef88ef2bab6e91616 -eo pid,comm 15:49:51 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). 15:49:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:49:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:51 [ssh-agent] Looking for ssh-agent implementation... 15:49:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:51 $ docker exec 50fb358016bc30d3e23dde2eaaffb68817740eee4367ea2ef88ef2bab6e91616 ssh-agent 15:49:51 SSH_AUTH_SOCK=/tmp/ssh-gbiGN8rkw7Dj/agent.14 15:49:51 SSH_AGENT_PID=21 15:49:51 Running ssh-add (command line suppressed) 15:49:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7320641833980274495.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7320641833980274495.key) 15:49:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:51 + git tag --points-at HEAD [Pipeline] } 15:49:51 $ docker exec --env ******** --env ******** 50fb358016bc30d3e23dde2eaaffb68817740eee4367ea2ef88ef2bab6e91616 ssh-agent -k 15:49:51 unset SSH_AUTH_SOCK; 15:49:51 unset SSH_AGENT_PID; 15:49:51 echo Agent pid 21 killed; 15:49:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:49:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:49:51 [ssh-agent] Looking for ssh-agent implementation... 15:49:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:49:52 $ docker exec 50fb358016bc30d3e23dde2eaaffb68817740eee4367ea2ef88ef2bab6e91616 ssh-agent 15:49:52 SSH_AUTH_SOCK=/tmp/ssh-ceJrxd3ilmjD/agent.71 15:49:52 SSH_AGENT_PID=77 15:49:52 Running ssh-add (command line suppressed) 15:49:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5447061692732018957.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5447061692732018957.key) 15:49:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:49:52 + git semver init 15:49:52 2023-02-13 15:49:52,899 [run_init] DEBUG init version:0.0.0 force:False 15:49:52 2023-02-13 15:49:52,900 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:49:52 2023-02-13 15:49:52,900 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:49:52 2023-02-13 15:49:52,900 [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) 15:49:54 2023-02-13 15:49:53,962 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:49:54 2023-02-13 15:49:53,962 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:49:54 2023-02-13 15:49:53,962 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:49:54 2023-02-13 15:49:53,963 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:49:54 3.0.0-dev.23 [Pipeline] } 15:49:54 $ docker exec --env ******** --env ******** 50fb358016bc30d3e23dde2eaaffb68817740eee4367ea2ef88ef2bab6e91616 ssh-agent -k 15:49:54 unset SSH_AUTH_SOCK; 15:49:54 unset SSH_AGENT_PID; 15:49:54 echo Agent pid 77 killed; 15:49:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:49:54 + git semver [Pipeline] } 15:49:55 $ docker stop --time=1 50fb358016bc30d3e23dde2eaaffb68817740eee4367ea2ef88ef2bab6e91616 15:49:56 $ docker rm -f --volumes 50fb358016bc30d3e23dde2eaaffb68817740eee4367ea2ef88ef2bab6e91616 [Pipeline] // withDockerContainer [Pipeline] sh 15:49:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:49:57 Stashed 1 file(s) [Pipeline] echo 15:49:57 [edgeXSemver]: initialized semver on version 3.0.0-dev.23 [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 15:49:57 provisioning config files... 15:49:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4934543247741691666tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:49:57 ---> docker-login.sh 15:49:57 nexus3.edgexfoundry.org:10001 15:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:57 Configure a credential helper to remove this warning. See 15:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:57 15:49:57 Login Succeeded 15:49:57 nexus3.edgexfoundry.org:10002 15:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:57 Configure a credential helper to remove this warning. See 15:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:57 15:49:57 Login Succeeded 15:49:57 nexus3.edgexfoundry.org:10003 15:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:57 Configure a credential helper to remove this warning. See 15:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:57 15:49:57 Login Succeeded 15:49:57 nexus3.edgexfoundry.org:10004 15:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:57 Configure a credential helper to remove this warning. See 15:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:57 15:49:57 Login Succeeded 15:49:57 docker.io 15:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:49:58 Configure a credential helper to remove this warning. See 15:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:49:58 15:49:58 Login Succeeded 15:49:58 ---> docker-login.sh ends [Pipeline] } 15:49:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:49:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:49:58 ========================================================= 15:49:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:49:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:49:58 + 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 . 15:49:58 Sending build context to Docker daemon 10.36MB 15:49:58 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:49:58 Step 2/10 : FROM ${BASE} AS builder 15:49:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:49:58 213ec9aee27d: Pulling fs layer 15:49:58 4583459ba037: Pulling fs layer 15:49:58 93c1e223e6f2: Pulling fs layer 15:49:58 53926ce57604: Pulling fs layer 15:49:58 21b2b0c7a3f4: Pulling fs layer 15:49:58 22ff95d597cd: Pulling fs layer 15:49:58 12d6caf4c0d1: Pulling fs layer 15:49:58 96b7cbca73a9: Pulling fs layer 15:49:58 a7acece74701: Pulling fs layer 15:49:58 22ff95d597cd: Waiting 15:49:58 21b2b0c7a3f4: Waiting 15:49:58 53926ce57604: Waiting 15:49:58 a7acece74701: Waiting 15:49:58 12d6caf4c0d1: Waiting 15:49:58 4583459ba037: Download complete 15:49:58 21b2b0c7a3f4: Download complete 15:49:58 22ff95d597cd: Verifying Checksum 15:49:58 22ff95d597cd: Download complete 15:49:58 213ec9aee27d: Download complete 15:49:58 12d6caf4c0d1: Verifying Checksum 15:49:58 12d6caf4c0d1: Download complete 15:49:59 213ec9aee27d: Pull complete 15:49:59 4583459ba037: Pull complete 15:49:59 93c1e223e6f2: Pull complete 15:50:00 a7acece74701: Verifying Checksum 15:50:00 a7acece74701: Download complete 15:50:00 53926ce57604: Verifying Checksum 15:50:00 53926ce57604: Download complete 15:50:00 96b7cbca73a9: Verifying Checksum 15:50:00 96b7cbca73a9: Download complete 15:50:04 53926ce57604: Pull complete 15:50:04 21b2b0c7a3f4: Pull complete 15:50:05 22ff95d597cd: Pull complete 15:50:06 12d6caf4c0d1: Pull complete 15:50:08 96b7cbca73a9: Pull complete 15:50:09 a7acece74701: Pull complete 15:50:09 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:50:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:50:09 ---> db6d94c90886 15:50:09 Step 3/10 : ARG MAKE=make build 15:50:12 Still waiting to schedule task 15:50:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:50:24 ---> Running in d24b7e71ac48 15:50:24 Removing intermediate container d24b7e71ac48 15:50:24 ---> 073dfa6d5f56 15:50:24 Step 4/10 : WORKDIR /device-sdk-go 15:50:25 ---> Running in 8e4397be9d65 15:50:25 Removing intermediate container 8e4397be9d65 15:50:25 ---> b8799912ac1e 15:50:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:50:25 ---> Running in 3f30afe62d23 15:50:25 Removing intermediate container 3f30afe62d23 15:50:25 ---> 664053eeb194 15:50:25 Step 6/10 : RUN apk add --update --no-cache make git 15:50:26 ---> Running in a28fedbaa3cd 15:50:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:50:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:50:26 OK: 211 MiB in 51 packages 15:50:27 Removing intermediate container a28fedbaa3cd 15:50:27 ---> a9b619b61cd3 15:50:27 Step 7/10 : COPY go.mod vendor* ./ 15:50:28 ---> 2360292e81b5 15:50:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:50:28 ---> Running in 7649b49e75e9 15:51:07 Removing intermediate container 7649b49e75e9 15:51:07 ---> 564dd28ac1eb 15:51:07 Step 9/10 : COPY . . 15:51:07 ---> f7ce5db77631 15:51:07 Step 10/10 : RUN ${MAKE} 15:51:07 ---> Running in a66c851a0206 15:51:07 noop 15:51:07 Removing intermediate container a66c851a0206 15:51:07 ---> 1c63597b1aa2 15:51:07 Successfully built 1c63597b1aa2 15:51:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:07 + docker inspect -f . ci-base-image-x86_64 15:51:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:07 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 15:51:07 $ 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 ******** ci-base-image-x86_64 cat 15:51:08 $ docker top cef8f63145a9f3a587671879b766bc6d23d79940db380e944668c0710b343e3e -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:08 + go version 15:51:08 go version go1.18.7 linux/amd64 [Pipeline] } 15:51:08 $ docker stop --time=1 cef8f63145a9f3a587671879b766bc6d23d79940db380e944668c0710b343e3e 15:51:09 $ docker rm -f --volumes cef8f63145a9f3a587671879b766bc6d23d79940db380e944668c0710b343e3e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:10 + docker inspect -f . ci-base-image-x86_64 15:51:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:51:10 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 15:51:10 $ 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 ******** ci-base-image-x86_64 cat 15:51:10 $ docker top dbf093ca2e0156f9bc01ad12b6b16860d0e0392f025ccc4e40b56331615e4d4b -eo pid,comm [Pipeline] { [Pipeline] sh 15:51:11 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:51:11 + make test 15:51:11 go test -race -coverprofile=coverage.out ./... 15:51:18 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:51:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.060s coverage: 27.6% of statements 15:51:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.096s coverage: 78.9% of statements 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 15:51:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.107s coverage: 78.1% of statements 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:51:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 63.0% of statements 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 15:51:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.110s coverage: 65.2% of statements 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:51:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.756s coverage: 89.2% of statements 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 15:51:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.057s coverage: 4.7% of statements 15:51:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:51:51 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." 15:51:51 GO111MODULE=on go vet ./... 15:51:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:51:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:51:52 ./bin/test-attribution-txt.sh [Pipeline] echo 15:51:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:51:52 $ docker stop --time=1 dbf093ca2e0156f9bc01ad12b6b16860d0e0392f025ccc4e40b56331615e4d4b 15:51:58 $ docker rm -f --volumes dbf093ca2e0156f9bc01ad12b6b16860d0e0392f025ccc4e40b56331615e4d4b [Pipeline] // withDockerContainer [Pipeline] sh 15:51:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:51:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:51:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:51:59 + ls -al . 15:51:59 total 272 15:51:59 drwxrwxr-x 11 jenkins jenkins 4096 Feb 13 15:51 . 15:51:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 15:49 .. 15:51:59 -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 15:49 .dockerignore 15:51:59 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 15:51 .git 15:51:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 15:49 .github 15:51:59 -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 15:49 .gitignore 15:51:59 -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 15:49 .golangci.yml 15:51:59 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 15:49 .semver 15:51:59 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 15:49 CHANGELOG.md 15:51:59 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 15:49 GOVERNANCE.md 15:51:59 -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 15:49 Jenkinsfile 15:51:59 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 15:49 LICENSE 15:51:59 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 15:49 Makefile 15:51:59 -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 15:49 OWNERS.md 15:51:59 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 15:49 README.md 15:51:59 -rw-rw-r-- 1 jenkins jenkins 12 Feb 13 15:49 VERSION 15:51:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 15:49 bin 15:51:59 -rw-r--r-- 1 jenkins jenkins 100377 Feb 13 15:51 coverage.out 15:51:59 drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 15:49 example 15:51:59 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 15:49 go.mod 15:51:59 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 15:49 go.sum 15:51:59 drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 15:49 internal 15:51:59 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 15:49 openapi 15:51:59 drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 15:49 pkg 15:51:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 15:49 snap 15:51:59 -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 15:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:51:59 + 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=15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 --label arch=amd64 --label version=3.0.0-dev.23 . 15:51:59 Sending build context to Docker daemon 10.46MB 15:51:59 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:51:59 Step 2/23 : FROM ${BASE} AS builder 15:51:59 ---> 1c63597b1aa2 15:51:59 Step 3/23 : ARG MAKE=make build 15:52:00 ---> Running in f54f1fe0ae3c 15:52:00 Removing intermediate container f54f1fe0ae3c 15:52:00 ---> b031c81ac952 15:52:00 Step 4/23 : WORKDIR /device-sdk-go 15:52:00 ---> Running in 86ac7e41a1e4 15:52:00 Removing intermediate container 86ac7e41a1e4 15:52:00 ---> 25bebb9baa82 15:52:00 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:52:00 ---> Running in d3161432b866 15:52:00 Removing intermediate container d3161432b866 15:52:00 ---> 3af544128622 15:52:00 Step 6/23 : RUN apk add --update --no-cache make git 15:52:00 ---> Running in 85fdd47a9e1a 15:52:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:52:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:52:01 OK: 211 MiB in 51 packages 15:52:01 Removing intermediate container 85fdd47a9e1a 15:52:01 ---> c7781707d3c0 15:52:01 Step 7/23 : COPY go.mod vendor* ./ 15:52:01 ---> 7d95e5b0da02 15:52:01 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:52:01 ---> Running in 36b796f200f9 15:52:02 Removing intermediate container 36b796f200f9 15:52:02 ---> e36e9edfb333 15:52:02 Step 9/23 : COPY . . 15:52:03 ---> 248cb0bff621 15:52:03 Step 10/23 : RUN ${MAKE} 15:52:03 ---> Running in 6b6931d5b1fe 15:52:03 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.23" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:52:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5565 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:52:20 Running in /w/workspace/device-sdk-go/153 [Pipeline] { [Pipeline] checkout 15:52:20 The recommended git tool is: git 15:52:25 Removing intermediate container 6b6931d5b1fe 15:52:25 ---> d9a1005dd84a 15:52:25 Step 11/23 : FROM alpine:3.16 15:52:25 3.16: Pulling from library/alpine 15:52:25 ef5531b6e74e: Pulling fs layer 15:52:25 ef5531b6e74e: Verifying Checksum 15:52:25 ef5531b6e74e: Download complete 15:52:25 ef5531b6e74e: Pull complete 15:52:25 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:52:25 Status: Downloaded newer image for alpine:3.16 15:52:25 ---> dfd21b5a31f5 15:52:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:52:25 ---> Running in 8ce89becb706 15:52:25 Removing intermediate container 8ce89becb706 15:52:25 ---> d527acb4d833 15:52:25 Step 13/23 : RUN apk add --update --no-cache 15:52:25 ---> Running in 16b69ee71172 15:52:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:52:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:52:25 OK: 6 MiB in 14 packages 15:52:25 Removing intermediate container 16b69ee71172 15:52:25 ---> 873ce26e956d 15:52:25 Step 14/23 : WORKDIR / 15:52:25 ---> Running in ccb5dba1c476 15:52:25 Removing intermediate container ccb5dba1c476 15:52:25 ---> 2d3e66f0a39c 15:52:25 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:52:25 ---> 056a4bc4888c 15:52:25 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:52:26 using credential edgex-jenkins-ssh 15:52:26 Cloning the remote Git repository 15:52:26 ---> 533d51e05e7d 15:52:26 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:52:26 ---> 54184e173a87 15:52:26 Step 18/23 : EXPOSE 59999 15:52:26 ---> Running in 4f18bf9dc66c 15:52:26 Removing intermediate container 4f18bf9dc66c 15:52:26 ---> 2e5df2c41f22 15:52:26 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:52:26 ---> Running in 425fd87609ee 15:52:26 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:52:26 > git init /w/workspace/device-sdk-go/153 # timeout=10 15:52:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:52:26 > git --version # timeout=10 15:52:26 > git --version # 'git version 2.25.1' 15:52:26 using GIT_SSH to set credentials SSH Credentials for GitHub 15:52:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:27 Removing intermediate container 425fd87609ee 15:52:27 ---> 614c59860e35 15:52:27 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 15:52:27 ---> Running in d5c2d51a42b0 15:52:27 Removing intermediate container d5c2d51a42b0 15:52:27 ---> 254da8c7e592 15:52:27 Step 21/23 : LABEL arch=amd64 15:52:27 ---> Running in 51b89abbaf42 15:52:27 Removing intermediate container 51b89abbaf42 15:52:27 ---> 9060e23e7c8b 15:52:27 Step 22/23 : LABEL git_sha=15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 15:52:27 ---> Running in d5da4b1bdabb 15:52:27 Removing intermediate container d5da4b1bdabb 15:52:27 ---> de89ff5aac4a 15:52:27 Step 23/23 : LABEL version=3.0.0-dev.23 15:52:27 ---> Running in ed45f65b2338 15:52:27 Removing intermediate container ed45f65b2338 15:52:27 ---> 190feb9bbf7e 15:52:27 [Warning] One or more build-args [ARCH] were not consumed 15:52:27 Successfully built 190feb9bbf7e 15:52:27 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 15:52:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:27 15:52:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:28 latest: Pulling from edgex-lftools-log-publisher 15:52:28 5eb5b503b376: Pulling fs layer 15:52:28 5c69ac0246d0: Pulling fs layer 15:52:28 ec43610c2a17: Pulling fs layer 15:52:28 3a2ae6a8a46f: Pulling fs layer 15:52:28 33b1e0a273af: Pulling fs layer 15:52:28 5d3b04190fa2: Pulling fs layer 15:52:28 3a2ae6a8a46f: Waiting 15:52:28 33b1e0a273af: Waiting 15:52:28 2f39f015ded8: Pulling fs layer 15:52:28 5d3b04190fa2: Waiting 15:52:28 2f39f015ded8: Waiting 15:52:28 5c69ac0246d0: Verifying Checksum 15:52:28 5c69ac0246d0: Download complete 15:52:28 3a2ae6a8a46f: Verifying Checksum 15:52:28 3a2ae6a8a46f: Download complete 15:52:28 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:52:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:52:28 33b1e0a273af: Verifying Checksum 15:52:28 33b1e0a273af: Download complete 15:52:28 5d3b04190fa2: Verifying Checksum 15:52:28 5d3b04190fa2: Download complete 15:52:28 ec43610c2a17: Verifying Checksum 15:52:28 ec43610c2a17: Download complete 15:52:28 5eb5b503b376: Verifying Checksum 15:52:28 5eb5b503b376: Download complete 15:52:29 Avoid second fetch 15:52:29 Checking out Revision 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 (main) 15:52:29 2f39f015ded8: Download complete 15:52:29 5eb5b503b376: Pull complete 15:52:29 > git config core.sparsecheckout # timeout=10 15:52:29 > git checkout -f 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 # timeout=10 15:52:29 5c69ac0246d0: Pull complete 15:52:29 Commit message: "feat!: add an additional level in event publish topic (#1313)" 15:52:30 15:52:30 GitHub has been notified of this commit’s build result 15:52:30 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:52:30 ec43610c2a17: Pull complete 15:52:30 3a2ae6a8a46f: Pull complete 15:52:30 33b1e0a273af: Pull complete 15:52:30 5d3b04190fa2: Pull complete 15:52:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:52:30 % Total % Received % Xferd Average Speed Time Time Time Current 15:52:30 Dload Upload Total Spent Left Speed 15:52:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 226k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 15:52:31 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:52:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:52:31 + sudo tee /etc/docker/daemon.new 15:52:31 { 15:52:31 "registry-mirrors": [ 15:52:31 "https://nexus3.edgexfoundry.org:10001" 15:52:31 ], 15:52:31 "bip": "10.250.0.254/24", 15:52:31 "hosts": [ 15:52:31 "tcp://0.0.0.0:5555", 15:52:31 "unix:///var/run/docker.sock" 15:52:31 ], 15:52:31 "mtu": 1458, 15:52:31 "selinux-enabled": true, 15:52:31 "seccomp-profile": "/etc/docker/seccomp.json" 15:52:31 } [Pipeline] sh 15:52:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:52:32 + sudo service docker restart 15:52:34 2f39f015ded8: Pull complete 15:52:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:52:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:52:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:52:34 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 15:52:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 15:52:38 $ docker top 2c0c73230220c2b8137fa6500fdbc74815df2c96108f383c79172d9acaf83e65 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:38 ---> job-cost.sh 15:52:38 lf-activate-venv: SKIPPING 15:52:38 INFO: No Stack... 15:52:38 INFO: Retrieving Pricing Info for: v3-standard-8 15:52:39 INFO: Archiving Costs [Pipeline] sh 15:52:39 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:52:39 + cut -d, -f6 [Pipeline] lock 15:52:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-153-stack-cost] 15:52:39 Resource [jenkins-edgexfoundry-device-sdk-go-main-153-stack-cost] did not exist. Created. 15:52:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:52:39 + echo total: 0.2199999988079071 [Pipeline] stash 15:52:39 Stashed 1 file(s) [Pipeline] } 15:52:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } 15:52:39 $ docker stop --time=1 2c0c73230220c2b8137fa6500fdbc74815df2c96108f383c79172d9acaf83e65 15:52:40 $ docker rm -f --volumes 2c0c73230220c2b8137fa6500fdbc74815df2c96108f383c79172d9acaf83e65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:52:50 provisioning config files... 15:52:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/153@tmp/config3254105385712481900tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:52:51 ---> docker-login.sh 15:52:51 nexus3.edgexfoundry.org:10001 15:52:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:51 Configure a credential helper to remove this warning. See 15:52:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:51 15:52:51 Login Succeeded 15:52:51 nexus3.edgexfoundry.org:10002 15:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:52 Configure a credential helper to remove this warning. See 15:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:52 15:52:52 Login Succeeded 15:52:52 nexus3.edgexfoundry.org:10003 15:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:52 Configure a credential helper to remove this warning. See 15:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:52 15:52:52 Login Succeeded 15:52:52 nexus3.edgexfoundry.org:10004 15:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:53 Configure a credential helper to remove this warning. See 15:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:53 15:52:53 Login Succeeded 15:52:53 docker.io 15:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:52:53 Configure a credential helper to remove this warning. See 15:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:52:53 15:52:53 Login Succeeded 15:52:53 ---> docker-login.sh ends [Pipeline] } 15:52:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:52:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:52:53 ========================================================= 15:52:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:52:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:52:54 + 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 . 15:52:54 Sending build context to Docker daemon 5.569MB 15:52:54 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:52:54 Step 2/10 : FROM ${BASE} AS builder 15:52:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:52:54 9b18e9b68314: Pulling fs layer 15:52:54 35d82f9e3411: Pulling fs layer 15:52:54 e16973657156: Pulling fs layer 15:52:54 fc693d55d65f: Pulling fs layer 15:52:54 7e9fc2657dce: Pulling fs layer 15:52:54 dda99020689f: Pulling fs layer 15:52:54 db1c61fa0a46: Pulling fs layer 15:52:54 891c053d2c06: Pulling fs layer 15:52:54 7e9fc2657dce: Waiting 15:52:54 fc693d55d65f: Waiting 15:52:54 dda99020689f: Waiting 15:52:54 891c053d2c06: Waiting 15:52:54 db1c61fa0a46: Waiting 15:52:54 e16973657156: Verifying Checksum 15:52:54 e16973657156: Download complete 15:52:54 35d82f9e3411: Verifying Checksum 15:52:54 35d82f9e3411: Download complete 15:52:55 7e9fc2657dce: Verifying Checksum 15:52:55 7e9fc2657dce: Download complete 15:52:55 dda99020689f: Verifying Checksum 15:52:55 dda99020689f: Download complete 15:52:55 9b18e9b68314: Verifying Checksum 15:52:55 9b18e9b68314: Download complete 15:52:56 9b18e9b68314: Pull complete 15:52:56 35d82f9e3411: Pull complete 15:52:57 891c053d2c06: Verifying Checksum 15:52:57 891c053d2c06: Download complete 15:52:57 e16973657156: Pull complete 15:52:57 db1c61fa0a46: Verifying Checksum 15:52:57 db1c61fa0a46: Download complete 15:52:58 fc693d55d65f: Verifying Checksum 15:52:58 fc693d55d65f: Download complete 15:53:10 fc693d55d65f: Pull complete 15:53:10 7e9fc2657dce: Pull complete 15:53:10 dda99020689f: Pull complete 15:53:15 db1c61fa0a46: Pull complete 15:53:17 891c053d2c06: Pull complete 15:53:17 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:53:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:53:17 ---> f96f9c87975a 15:53:17 Step 3/10 : ARG MAKE=make build 15:53:19 ---> Running in 233fce860658 15:53:19 Removing intermediate container 233fce860658 15:53:19 ---> db62da9065ae 15:53:19 Step 4/10 : WORKDIR /device-sdk-go 15:53:19 ---> Running in 18f7bfe4276f 15:53:19 Removing intermediate container 18f7bfe4276f 15:53:19 ---> 5cdc9dbd35d3 15:53:19 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:53:19 ---> Running in 28d2136d2d29 15:53:20 Removing intermediate container 28d2136d2d29 15:53:20 ---> dad3beefe013 15:53:20 Step 6/10 : RUN apk add --update --no-cache make git 15:53:20 ---> Running in d5113c533111 15:53:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:53:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:53:22 OK: 221 MiB in 51 packages 15:53:23 Removing intermediate container d5113c533111 15:53:23 ---> d52c6016923d 15:53:23 Step 7/10 : COPY go.mod vendor* ./ 15:53:24 ---> 4a1501a5fc01 15:53:24 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:53:24 ---> Running in e6d941f69cdf 15:54:31 Removing intermediate container e6d941f69cdf 15:54:31 ---> fe3bfb37db4d 15:54:31 Step 9/10 : COPY . . 15:54:31 ---> 7c7626eaf13e 15:54:31 Step 10/10 : RUN ${MAKE} 15:54:31 ---> Running in e6e815642702 15:54:31 noop 15:54:31 Removing intermediate container e6e815642702 15:54:31 ---> 713553d19e4b 15:54:31 Successfully built 713553d19e4b 15:54:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:32 + docker inspect -f . ci-base-image-arm64 15:54:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:32 prd-ubuntu20.04-docker-arm64-4c-16g-5565 does not seem to be running inside a container 15:54:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/153 -v /w/workspace/device-sdk-go/153:/w/workspace/device-sdk-go/153:rw,z -v /w/workspace/device-sdk-go/153@tmp:/w/workspace/device-sdk-go/153@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 15:54:33 $ docker top 74c855f8d2623e32e4ac3ab684af7950d017de56fe34f8ff4b5378d1971791e1 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:34 + go version 15:54:34 go version go1.18.7 linux/arm64 [Pipeline] } 15:54:34 $ docker stop --time=1 74c855f8d2623e32e4ac3ab684af7950d017de56fe34f8ff4b5378d1971791e1 15:54:36 $ docker rm -f --volumes 74c855f8d2623e32e4ac3ab684af7950d017de56fe34f8ff4b5378d1971791e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:54:36 + docker inspect -f . ci-base-image-arm64 15:54:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:54:37 prd-ubuntu20.04-docker-arm64-4c-16g-5565 does not seem to be running inside a container 15:54:37 $ 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/153 -v /w/workspace/device-sdk-go/153:/w/workspace/device-sdk-go/153:rw,z -v /w/workspace/device-sdk-go/153@tmp:/w/workspace/device-sdk-go/153@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 15:54:38 $ docker top d0809de75a21c56e5e249740ebbfb25ac152479f40e4c3dd7adf56db50a71468 -eo pid,comm [Pipeline] { [Pipeline] sh 15:54:39 + git config --global --add safe.directory /w/workspace/device-sdk-go/153 [Pipeline] fileExists [Pipeline] sh 15:54:39 + make test 15:54:39 go test -race -coverprofile=coverage.out ./... 15:55:18 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 15:57:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 15:57:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 15:57:10 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 15:57:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 15:57:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 15:57:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.350s coverage: 27.6% of statements 15:57:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.647s coverage: 78.9% of statements 15:57:25 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 15:57:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.572s coverage: 78.1% of statements 15:57:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 15:57:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 15:57:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.884s coverage: 63.0% of statements 15:57:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 15:57:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 15:57:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 15:57:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.492s coverage: 65.2% of statements 15:57:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 15:57:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 15:57:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.579s coverage: 89.2% of statements 15:57:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 15:57:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.465s coverage: 4.7% of statements 15:57:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 15:57:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:57:36 GO111MODULE=on go vet ./... 15:59:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:59:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:59:30 ./bin/test-attribution-txt.sh [Pipeline] echo 15:59:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:59:30 $ docker stop --time=1 d0809de75a21c56e5e249740ebbfb25ac152479f40e4c3dd7adf56db50a71468 15:59:31 $ docker rm -f --volumes d0809de75a21c56e5e249740ebbfb25ac152479f40e4c3dd7adf56db50a71468 [Pipeline] // withDockerContainer [Pipeline] sh 15:59:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:59:33 Warning: overwriting stash ‘coverage-report’ 15:59:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:59:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:59:34 + ls -al . 15:59:34 total 268 15:59:34 drwxrwxr-x 10 jenkins jenkins 4096 Feb 13 15:54 . 15:59:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 15:52 .. 15:59:34 -rw-rw-r-- 1 jenkins jenkins 140 Feb 13 15:52 .dockerignore 15:59:34 drwxrwxr-x 8 jenkins jenkins 4096 Feb 13 15:52 .git 15:59:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 15:52 .github 15:59:34 -rw-rw-r-- 1 jenkins jenkins 131 Feb 13 15:52 .gitignore 15:59:34 -rw-rw-r-- 1 jenkins jenkins 42 Feb 13 15:52 .golangci.yml 15:59:34 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 13 15:52 CHANGELOG.md 15:59:34 -rw-rw-r-- 1 jenkins jenkins 677 Feb 13 15:52 GOVERNANCE.md 15:59:34 -rw-rw-r-- 1 jenkins jenkins 885 Feb 13 15:52 Jenkinsfile 15:59:34 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 13 15:52 LICENSE 15:59:34 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 13 15:52 Makefile 15:59:34 -rw-rw-r-- 1 jenkins jenkins 619 Feb 13 15:52 OWNERS.md 15:59:34 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 13 15:52 README.md 15:59:34 -rw-rw-r-- 1 jenkins jenkins 12 Feb 13 15:49 VERSION 15:59:34 drwxrwxr-x 2 jenkins jenkins 4096 Feb 13 15:52 bin 15:59:34 -rw-r--r-- 1 jenkins jenkins 100376 Feb 13 15:57 coverage.out 15:59:34 drwxrwxr-x 5 jenkins jenkins 4096 Feb 13 15:52 example 15:59:34 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 13 15:52 go.mod 15:59:34 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 13 15:52 go.sum 15:59:34 drwxrwxr-x 13 jenkins jenkins 4096 Feb 13 15:52 internal 15:59:34 drwxrwxr-x 3 jenkins jenkins 4096 Feb 13 15:52 openapi 15:59:34 drwxrwxr-x 6 jenkins jenkins 4096 Feb 13 15:52 pkg 15:59:34 drwxrwxr-x 4 jenkins jenkins 4096 Feb 13 15:52 snap 15:59:34 -rw-rw-r-- 1 jenkins jenkins 222 Feb 13 15:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:35 + 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=15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 --label arch=arm64 --label version=3.0.0-dev.23 . 15:59:35 Sending build context to Docker daemon 5.67MB 15:59:35 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:59:35 Step 2/23 : FROM ${BASE} AS builder 15:59:35 ---> 713553d19e4b 15:59:35 Step 3/23 : ARG MAKE=make build 15:59:35 ---> Running in 45b39efe8fe6 15:59:35 Removing intermediate container 45b39efe8fe6 15:59:35 ---> 2a85c1a08ace 15:59:35 Step 4/23 : WORKDIR /device-sdk-go 15:59:36 ---> Running in 65bfb3b71e20 15:59:36 Removing intermediate container 65bfb3b71e20 15:59:36 ---> d8a80e30d80e 15:59:36 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 15:59:36 ---> Running in f70168bef013 15:59:36 Removing intermediate container f70168bef013 15:59:36 ---> 8531f8672e62 15:59:36 Step 6/23 : RUN apk add --update --no-cache make git 15:59:36 ---> Running in bb45e3f8f9bd 15:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:59:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:59:39 OK: 221 MiB in 51 packages 15:59:40 Removing intermediate container bb45e3f8f9bd 15:59:40 ---> f5d2aa983f36 15:59:40 Step 7/23 : COPY go.mod vendor* ./ 15:59:40 ---> 9520524865ff 15:59:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:41 ---> Running in 851ee38c966b 15:59:43 Removing intermediate container 851ee38c966b 15:59:43 ---> eb21d701b617 15:59:43 Step 9/23 : COPY . . 15:59:45 ---> 5204189bbbbe 15:59:45 Step 10/23 : RUN ${MAKE} 15:59:45 ---> Running in 41c62723975e 15:59:46 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.23" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:02:07 Removing intermediate container 41c62723975e 16:02:07 ---> 2ecd82d2879a 16:02:07 Step 11/23 : FROM alpine:3.16 16:02:07 3.16: Pulling from library/alpine 16:02:07 3760b48202b3: Pulling fs layer 16:02:07 3760b48202b3: Verifying Checksum 16:02:07 3760b48202b3: Download complete 16:02:07 3760b48202b3: Pull complete 16:02:07 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 16:02:07 Status: Downloaded newer image for alpine:3.16 16:02:07 ---> 4c81e5bf8899 16:02:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:02:07 ---> Running in b0d972a5b68e 16:02:07 Removing intermediate container b0d972a5b68e 16:02:07 ---> d9d6d58c80e9 16:02:07 Step 13/23 : RUN apk add --update --no-cache 16:02:07 ---> Running in 8459c0139be2 16:02:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:02:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:02:07 OK: 5 MiB in 14 packages 16:02:07 Removing intermediate container 8459c0139be2 16:02:07 ---> 22a24a95b892 16:02:07 Step 14/23 : WORKDIR / 16:02:07 ---> Running in e1fbd88a47a1 16:02:07 Removing intermediate container e1fbd88a47a1 16:02:07 ---> f69590396865 16:02:07 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:02:07 ---> b910026a64a4 16:02:07 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:02:07 ---> c69331f6ae22 16:02:07 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:02:07 ---> ea0c1946bdb6 16:02:07 Step 18/23 : EXPOSE 59999 16:02:07 ---> Running in 97e6c171f5ff 16:02:07 Removing intermediate container 97e6c171f5ff 16:02:07 ---> c9a4c911163c 16:02:07 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:02:07 ---> Running in 63385a350f7f 16:02:07 Removing intermediate container 63385a350f7f 16:02:07 ---> bc4bfe0d5e47 16:02:07 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:02:07 ---> Running in 5fb86a1b0fd3 16:02:07 Removing intermediate container 5fb86a1b0fd3 16:02:07 ---> 21779876620d 16:02:07 Step 21/23 : LABEL arch=arm64 16:02:07 ---> Running in ae90f555b2b1 16:02:07 Removing intermediate container ae90f555b2b1 16:02:07 ---> c470a1e69c3d 16:02:07 Step 22/23 : LABEL git_sha=15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 16:02:07 ---> Running in 9546624560ce 16:02:07 Removing intermediate container 9546624560ce 16:02:07 ---> cd9a66d17cf9 16:02:07 Step 23/23 : LABEL version=3.0.0-dev.23 16:02:07 ---> Running in 04af1e80a041 16:02:07 Removing intermediate container 04af1e80a041 16:02:07 ---> fd3a417e201d 16:02:07 [Warning] One or more build-args [ARCH] were not consumed 16:02:07 Successfully built fd3a417e201d 16:02:07 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 16:02:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:08 16:02:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:08 arm64: Pulling from edgex-lftools-log-publisher 16:02:08 8998bd30e6a1: Pulling fs layer 16:02:08 04944245beec: Pulling fs layer 16:02:08 699f458cf7ca: Pulling fs layer 16:02:08 765212b225bb: Pulling fs layer 16:02:08 f23df028b6ca: Pulling fs layer 16:02:08 d65c8cfc05b1: Pulling fs layer 16:02:08 2437ff75d9bd: Pulling fs layer 16:02:08 f23df028b6ca: Waiting 16:02:08 d65c8cfc05b1: Waiting 16:02:08 765212b225bb: Waiting 16:02:08 2437ff75d9bd: Waiting 16:02:09 04944245beec: Verifying Checksum 16:02:09 04944245beec: Download complete 16:02:09 765212b225bb: Verifying Checksum 16:02:09 765212b225bb: Download complete 16:02:09 f23df028b6ca: Verifying Checksum 16:02:09 f23df028b6ca: Download complete 16:02:09 d65c8cfc05b1: Verifying Checksum 16:02:09 d65c8cfc05b1: Download complete 16:02:09 699f458cf7ca: Verifying Checksum 16:02:09 699f458cf7ca: Download complete 16:02:09 8998bd30e6a1: Verifying Checksum 16:02:09 8998bd30e6a1: Download complete 16:02:11 2437ff75d9bd: Verifying Checksum 16:02:11 2437ff75d9bd: Download complete 16:02:13 8998bd30e6a1: Pull complete 16:02:15 04944245beec: Pull complete 16:02:16 699f458cf7ca: Pull complete 16:02:16 765212b225bb: Pull complete 16:02:17 f23df028b6ca: Pull complete 16:02:17 d65c8cfc05b1: Pull complete 16:02:33 2437ff75d9bd: Pull complete 16:02:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:02:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:02:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:33 prd-ubuntu20.04-docker-arm64-4c-16g-5565 does not seem to be running inside a container 16:02:33 $ 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/153 -v /w/workspace/device-sdk-go/153:/w/workspace/device-sdk-go/153:rw,z -v /w/workspace/device-sdk-go/153@tmp:/w/workspace/device-sdk-go/153@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 16:02:35 $ docker top d5237e97e551149d24996922a8418b57813d130e94c0f34d89847ef21e4032b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:02:36 ---> job-cost.sh 16:02:36 lf-activate-venv: SKIPPING 16:02:36 INFO: No Stack... 16:02:37 INFO: Retrieving Pricing Info for: v3-standard-4 16:02:38 INFO: Archiving Costs [Pipeline] sh 16:02:38 + cat /w/workspace/device-sdk-go/153/archives/cost.csv 16:02:38 + cut -d, -f6 [Pipeline] lock 16:02:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-153-stack-cost] 16:02:39 Resource [jenkins-edgexfoundry-device-sdk-go-main-153-stack-cost] did not exist. Created. 16:02:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-153-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:02:39 /w/workspace/device-sdk-go/153@tmp/durable-66d1ecdf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:02:40 + echo total: 0.10999999940395355 [Pipeline] stash 16:02:40 Warning: overwriting stash ‘stack-cost’ 16:02:40 Stashed 1 file(s) [Pipeline] } 16:02:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-153-stack-cost] [Pipeline] // lock [Pipeline] } 16:02:40 $ docker stop --time=1 d5237e97e551149d24996922a8418b57813d130e94c0f34d89847ef21e4032b4 16:02:41 $ docker rm -f --volumes d5237e97e551149d24996922a8418b57813d130e94c0f34d89847ef21e4032b4 [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 16:02:42 provisioning config files... 16:02:42 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18173116476313348421tmp [Pipeline] { [Pipeline] sh 16:02:42 + set +x 16:02:42 + + bashcurl -s -s -- https://codecov.io/bash 16:02:42 16:02:42 16:02:42 _____ _ 16:02:42 / ____| | | 16:02:42 | | ___ __| | ___ ___ _____ __ 16:02:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:02:42 | |___| (_) | (_| | __/ (_| (_) \ V / 16:02:42 \_____\___/ \__,_|\___|\___\___/ \_/ 16:02:42 Bash-1.0.6 16:02:42 16:02:42 16:02:42 ==> git version 2.25.1 found 16:02:42 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:02:42 Release-Date: 2020-01-08 16:02:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:02:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:02:42 ==> Jenkins CI detected. 16:02:42 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 16:02:42 project root: . 16:02:42 --> token set from env 16:02:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:02:42 ==> Running gcov in . (disable via -X gcov) 16:02:42 ==> Python coveragepy not found 16:02:42 ==> Searching for coverage reports in: 16:02:42 + . 16:02:42 -> Found 1 reports 16:02:42 ==> Detecting git/mercurial file structure 16:02:42 ==> Reading reports 16:02:42 + ./coverage.out bytes=100376 16:02:42 ==> Appending adjustments 16:02:42 https://docs.codecov.io/docs/fixing-reports 16:02:43 + Found adjustments 16:02:43 ==> Gzipping contents 16:02:43 16K /tmp/codecov.IrYHYn.gz 16:02:43 ==> Uploading reports 16:02:43 url: https://codecov.io 16:02:43 query: branch=main&commit=15fb7a88bc0851fefb7130faf6710b4e2cf95cf9&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:02:43 -> Pinging Codecov 16:02:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=15fb7a88bc0851fefb7130faf6710b4e2cf95cf9&build=153&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F153%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:02:43 -> Uploading to 16:02:43 https://storage.googleapis.com/codecov/v4/raw/2023-02-13/7E55EF52A471D76F132DFD9A03CDDE97/15fb7a88bc0851fefb7130faf6710b4e2cf95cf9/6721bd91-ed1b-4479-ba73-ed4dfbefe897.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230213T160243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bb0df4128db597ca3a593ad88518fb4fede05089bd1d25bc5481d5897227d73c 16:02:43 % Total % Received % Xferd Average Speed Time Time Time Current 16:02:43 Dload Upload Total Spent Left Speed 16:02:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14487 0 0 100 14487 0 47188 --:--:-- --:--:-- --:--:-- 47035 16:02:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 [Pipeline] } 16:02:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:02:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:02:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:02:44 16:02:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:02:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:02:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:02:44 df9b9388f04a: Pulling fs layer 16:02:44 52dc419b0ee2: Pulling fs layer 16:02:44 25bc292e5bac: Pulling fs layer 16:02:44 114826534d7a: Pulling fs layer 16:02:44 4657fd5d0bcf: Pulling fs layer 16:02:44 6ad1cebc031e: Pulling fs layer 16:02:44 8a3aa393b2d8: Pulling fs layer 16:02:44 114826534d7a: Waiting 16:02:44 4657fd5d0bcf: Waiting 16:02:44 8a3aa393b2d8: Waiting 16:02:44 6ad1cebc031e: Waiting 16:02:44 25bc292e5bac: Verifying Checksum 16:02:44 52dc419b0ee2: Verifying Checksum 16:02:44 52dc419b0ee2: Download complete 16:02:44 4657fd5d0bcf: Download complete 16:02:44 df9b9388f04a: Verifying Checksum 16:02:44 df9b9388f04a: Download complete 16:02:44 df9b9388f04a: Pull complete 16:02:44 52dc419b0ee2: Pull complete 16:02:45 25bc292e5bac: Pull complete 16:02:45 6ad1cebc031e: Verifying Checksum 16:02:45 6ad1cebc031e: Download complete 16:02:46 114826534d7a: Verifying Checksum 16:02:46 114826534d7a: Download complete 16:02:46 8a3aa393b2d8: Verifying Checksum 16:02:48 114826534d7a: Pull complete 16:02:48 4657fd5d0bcf: Pull complete 16:02:49 6ad1cebc031e: Pull complete 16:02:51 8a3aa393b2d8: Pull complete 16:02:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:02:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:02:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:02:52 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 16:02:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:02:56 $ docker top 3e02efeeaf587ba9ee039e4697a331bc48ba35a4fdc428dfffd427f3539a5953 -eo pid,comm [Pipeline] { [Pipeline] echo 16:02:56 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 16:02:56 + set -o pipefail 16:02:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 16:03:01 16:03:01 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 16:03:01 16:03:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/96b26356-3302-4948-b4fc-3299cceafb4f 16:03:01 16:03:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:03:01 16:03:01 16:03:01 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:03:01 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:03:01 More details here: https://snyk.co/ue1NS [Pipeline] } 16:03:01 $ docker stop --time=1 3e02efeeaf587ba9ee039e4697a331bc48ba35a4fdc428dfffd427f3539a5953 16:03:05 $ docker rm -f --volumes 3e02efeeaf587ba9ee039e4697a331bc48ba35a4fdc428dfffd427f3539a5953 [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 16:03:05 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:03:05 provisioning config files... 16:03:05 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9359742384348972355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:03:05 --> edgex-publish-swagger.sh 16:03:05 === Publish openapi/v3 API === 16:03:05 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 16:03:05 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 16:03:05 % Total % Received % Xferd Average Speed Time Time Time Current 16:03:05 Dload Upload Total Spent Left Speed 16:03:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 35858 0 0 100 35858 0 36515 --:--:-- --:--:-- --:--:-- 36478 100 35858 0 0 100 35858 0 36515 --:--:-- --:--:-- --:--:-- 36478 16:03:06 16:03:06 [Pipeline] } 16:03:06 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 16:03:07 + git log --format=format:%s -1 15fb7a88bc0851fefb7130faf6710b4e2cf95cf9 [Pipeline] sh 16:03:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:03:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:03:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:07 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 16:03:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:03:08 $ docker top 980733ca0fdbf9e4d09e999062dd31b68d77bafca683e6aed9c9ae8b48370670 -eo pid,comm 16:03:08 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). 16:03:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:03:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:08 [ssh-agent] Looking for ssh-agent implementation... 16:03:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:08 $ docker exec 980733ca0fdbf9e4d09e999062dd31b68d77bafca683e6aed9c9ae8b48370670 ssh-agent 16:03:08 SSH_AUTH_SOCK=/tmp/ssh-UExAO1FsXzXc/agent.32 16:03:08 SSH_AGENT_PID=38 16:03:08 Running ssh-add (command line suppressed) 16:03:08 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12598985266036723811.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12598985266036723811.key) 16:03:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:08 + git semver tag 16:03:09 2023-02-13 16:03:09,008 [run_tag] DEBUG tag force:False 16:03:09 2023-02-13 16:03:09,008 [check_head_tag] DEBUG check head tag 16:03:09 2023-02-13 16:03:09,010 [execute] INFO git cat-file --batch-check 16:03:09 2023-02-13 16:03:09,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:03:09 2023-02-13 16:03:09,013 [execute] INFO git cat-file --batch 16:03:09 2023-02-13 16:03:09,013 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:03:09 2023-02-13 16:03:09,038 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:09 2023-02-13 16:03:09,038 [execute] INFO git tag -a v3.0.0-dev.23 -m v3.0.0-dev.23 16:03:09 2023-02-13 16:03:09,038 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.23', '-m', 'v3.0.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:03:09 2023-02-13 16:03:09,042 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:09 3.0.0-dev.23 [Pipeline] } 16:03:09 $ docker exec --env ******** --env ******** 980733ca0fdbf9e4d09e999062dd31b68d77bafca683e6aed9c9ae8b48370670 ssh-agent -k 16:03:09 unset SSH_AUTH_SOCK; 16:03:09 unset SSH_AGENT_PID; 16:03:09 echo Agent pid 38 killed; 16:03:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:03:09 + git semver [Pipeline] } 16:03:09 $ docker stop --time=1 980733ca0fdbf9e4d09e999062dd31b68d77bafca683e6aed9c9ae8b48370670 16:03:11 $ docker rm -f --volumes 980733ca0fdbf9e4d09e999062dd31b68d77bafca683e6aed9c9ae8b48370670 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:03:11 16:03:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:03:11 0.23.1-centos7: Pulling from edgex-lftools 16:03:11 ab5ef0e58194: Pulling fs layer 16:03:11 9712f1f96733: Pulling fs layer 16:03:11 63f879dbbcfc: Pulling fs layer 16:03:11 0d9ebad4ef96: Pulling fs layer 16:03:11 e9a5061849ea: Pulling fs layer 16:03:11 d747dcd14b5f: Pulling fs layer 16:03:11 2de7ff778b66: Pulling fs layer 16:03:11 0d9ebad4ef96: Waiting 16:03:11 e9a5061849ea: Waiting 16:03:11 d747dcd14b5f: Waiting 16:03:11 2de7ff778b66: Waiting 16:03:11 9712f1f96733: Verifying Checksum 16:03:11 9712f1f96733: Download complete 16:03:12 63f879dbbcfc: Verifying Checksum 16:03:12 63f879dbbcfc: Download complete 16:03:13 e9a5061849ea: Verifying Checksum 16:03:13 e9a5061849ea: Download complete 16:03:13 ab5ef0e58194: Verifying Checksum 16:03:13 ab5ef0e58194: Download complete 16:03:13 0d9ebad4ef96: Verifying Checksum 16:03:13 0d9ebad4ef96: Download complete 16:03:13 d747dcd14b5f: Verifying Checksum 16:03:13 d747dcd14b5f: Download complete 16:03:13 2de7ff778b66: Verifying Checksum 16:03:13 2de7ff778b66: Download complete 16:03:16 ab5ef0e58194: Pull complete 16:03:16 9712f1f96733: Pull complete 16:03:16 63f879dbbcfc: Pull complete 16:03:20 0d9ebad4ef96: Pull complete 16:03:20 e9a5061849ea: Pull complete 16:03:20 d747dcd14b5f: Pull complete 16:03:21 2de7ff778b66: Pull complete 16:03:21 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:03:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:03:21 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:21 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 16:03:21 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:03:28 $ docker top 8eee6d0ee12ee0e9b004b2588e1c0ec52163a394f219a387a857af1b07e6f234 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:03:28 provisioning config files... 16:03:28 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12407895788030667604tmp 16:03:28 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12967802315140239856tmp 16:03:28 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4975499664796737460tmp [Pipeline] { [Pipeline] echo 16:03:28 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:03:28 ---> sigul-configuration.sh 16:03:28 gpg: directory `/root/.gnupg' created 16:03:28 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:03:28 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:03:28 gpg: keyring `/root/.gnupg/secring.gpg' created 16:03:28 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:03:28 gpg: CAST5 encrypted data 16:03:28 gpg: encrypted with 1 passphrase 16:03:28 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:03:29 + mkdir /home/jenkins 16:03:29 + mkdir /home/jenkins/sigul [Pipeline] sh 16:03:29 + 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 16:03:29 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:03:29 ---> sigul-install.sh 16:03:29 Sigul already installed; skipping installation. [Pipeline] sh 16:03:30 + git tag --list 16:03:30 0.7.1 16:03:30 delhi-tag 16:03:30 v1.0.0 16:03:30 v1.1.0 16:03:30 v1.1.1 16:03:30 v1.1.2 16:03:30 v1.2.0 16:03:30 v1.2.1 16:03:30 v1.2.2 16:03:30 v1.2.3 16:03:30 v1.3.0 16:03:30 v1.4.0 16:03:30 v2.0.0 16:03:30 v2.1.0 16:03:30 v2.1.1 16:03:30 v2.1.1-dev.2 16:03:30 v2.1.1-dev.3 16:03:30 v2.2.0 16:03:30 v2.2.1-dev.1 16:03:30 v2.2.1-dev.10 16:03:30 v2.2.1-dev.11 16:03:30 v2.2.1-dev.12 16:03:30 v2.2.1-dev.13 16:03:30 v2.2.1-dev.14 16:03:30 v2.2.1-dev.2 16:03:30 v2.2.1-dev.3 16:03:30 v2.2.1-dev.4 16:03:30 v2.2.1-dev.5 16:03:30 v2.2.1-dev.6 16:03:30 v2.2.1-dev.7 16:03:30 v2.2.1-dev.8 16:03:30 v2.2.1-dev.9 16:03:30 v2.3.0 16:03:30 v2.3.0-dev.14 16:03:30 v2.3.0-dev.15 16:03:30 v2.3.0-dev.16 16:03:30 v2.3.0-dev.17 16:03:30 v2.3.0-dev.18 16:03:30 v2.3.0-dev.19 16:03:30 v2.3.0-dev.20 16:03:30 v2.3.0-dev.21 16:03:30 v2.3.0-dev.22 16:03:30 v2.3.0-dev.23 16:03:30 v2.3.0-dev.24 16:03:30 v2.3.0-dev.25 16:03:30 v2.3.0-dev.26 16:03:30 v2.3.0-dev.27 16:03:30 v2.3.0-dev.28 16:03:30 v2.3.0-dev.29 16:03:30 v2.3.0-dev.30 16:03:30 v2.3.0-dev.31 16:03:30 v2.3.0-dev.32 16:03:30 v2.3.0-dev.33 16:03:30 v2.3.0-dev.34 16:03:30 v2.3.0-dev.35 16:03:30 v2.3.0-dev.36 16:03:30 v2.3.0-dev.37 16:03:30 v2.3.0-dev.38 16:03:30 v2.3.0-dev.39 16:03:30 v2.3.0-dev.40 16:03:30 v2.3.0-dev.41 16:03:30 v2.3.0-dev.42 16:03:30 v2.3.0-dev.43 16:03:30 v2.3.0-dev.44 16:03:30 v2.3.0-dev.45 16:03:30 v2.3.0-dev.46 16:03:30 v2.3.0-dev.47 16:03:30 v2.3.0-dev.48 16:03:30 v2.3.0-dev.49 16:03:30 v2.3.0-dev.50 16:03:30 v2.3.0-dev.51 16:03:30 v2.3.1-dev.1 16:03:30 v2.3.1-dev.2 16:03:30 v3.0.0-dev.1 16:03:30 v3.0.0-dev.10 16:03:30 v3.0.0-dev.11 16:03:30 v3.0.0-dev.12 16:03:30 v3.0.0-dev.13 16:03:30 v3.0.0-dev.14 16:03:30 v3.0.0-dev.15 16:03:30 v3.0.0-dev.16 16:03:30 v3.0.0-dev.17 16:03:30 v3.0.0-dev.18 16:03:30 v3.0.0-dev.19 16:03:30 v3.0.0-dev.2 16:03:30 v3.0.0-dev.20 16:03:30 v3.0.0-dev.21 16:03:30 v3.0.0-dev.22 16:03:30 v3.0.0-dev.23 16:03:30 v3.0.0-dev.3 16:03:30 v3.0.0-dev.4 16:03:30 v3.0.0-dev.5 16:03:30 v3.0.0-dev.6 16:03:30 v3.0.0-dev.7 16:03:30 v3.0.0-dev.8 16:03:30 v3.0.0-dev.9 [Pipeline] sh 16:03:30 + lftools sign git-tag v3.0.0-dev.23 16:03:30 Signing Git tag with Sigul... 16:03:30 Signing v3.0.0-dev.23 [Pipeline] echo 16:03:31 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:03:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:03:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:03:32 $ docker stop --time=1 8eee6d0ee12ee0e9b004b2588e1c0ec52163a394f219a387a857af1b07e6f234 16:03:33 $ docker rm -f --volumes 8eee6d0ee12ee0e9b004b2588e1c0ec52163a394f219a387a857af1b07e6f234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:03:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:03:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:03:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:34 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 16:03:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:03:34 $ docker top 11758ffda6185566378389026da2e4c9fa0b112c62237dd41370ae77fd6025ac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:03:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:34 [ssh-agent] Looking for ssh-agent implementation... 16:03:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:34 $ docker exec 11758ffda6185566378389026da2e4c9fa0b112c62237dd41370ae77fd6025ac ssh-agent 16:03:34 SSH_AUTH_SOCK=/tmp/ssh-ZERMI5uXfu2e/agent.31 16:03:34 SSH_AGENT_PID=37 16:03:34 Running ssh-add (command line suppressed) 16:03:34 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_799476344939023793.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_799476344939023793.key) 16:03:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:35 + git semver bump pre 16:03:35 2023-02-13 16:03:35,450 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:35 2023-02-13 16:03:35,450 [bump_version] DEBUG bumping version:3.0.0-dev.23 on axis:pre with prefix:dev 16:03:35 2023-02-13 16:03:35,450 [bump_version] DEBUG bumped version:3.0.0-dev.24 16:03:35 2023-02-13 16:03:35,450 [write_version] DEBUG write version:3.0.0-dev.24 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 16:03:35 2023-02-13 16:03:35,450 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:35 2023-02-13 16:03:35,450 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:35 2023-02-13 16:03:35,452 [execute] INFO git cat-file --batch-check 16:03:35 2023-02-13 16:03:35,452 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:03:35 2023-02-13 16:03:35,457 [execute] INFO git cat-file --batch 16:03:35 2023-02-13 16:03:35,457 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:03:35 2023-02-13 16:03:35,462 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:35 3.0.0-dev.24 [Pipeline] } 16:03:35 $ docker exec --env ******** --env ******** 11758ffda6185566378389026da2e4c9fa0b112c62237dd41370ae77fd6025ac ssh-agent -k 16:03:35 unset SSH_AUTH_SOCK; 16:03:35 unset SSH_AGENT_PID; 16:03:35 echo Agent pid 37 killed; 16:03:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:03:35 + git semver [Pipeline] } 16:03:36 $ docker stop --time=1 11758ffda6185566378389026da2e4c9fa0b112c62237dd41370ae77fd6025ac 16:03:37 $ docker rm -f --volumes 11758ffda6185566378389026da2e4c9fa0b112c62237dd41370ae77fd6025ac [Pipeline] // withDockerContainer [Pipeline] sh 16:03:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:03:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:03:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:38 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 16:03:38 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:03:38 $ docker top f0af97f68644279ec367deb3002a6caeecb7a535d2fb7dd7bb9cf00a3ed86c92 -eo pid,comm 16:03:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:03:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:03:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:03:38 [ssh-agent] Looking for ssh-agent implementation... 16:03:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:03:38 $ docker exec f0af97f68644279ec367deb3002a6caeecb7a535d2fb7dd7bb9cf00a3ed86c92 ssh-agent 16:03:38 SSH_AUTH_SOCK=/tmp/ssh-Nx2FRo5rFLyC/agent.33 16:03:38 SSH_AGENT_PID=39 16:03:38 Running ssh-add (command line suppressed) 16:03:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17799953690343314623.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17799953690343314623.key) 16:03:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:03:39 + git semver push 16:03:39 2023-02-13 16:03:39,415 [run_push] DEBUG push 16:03:39 2023-02-13 16:03:39,416 [execute] INFO git cat-file --batch-check 16:03:39 2023-02-13 16:03:39,416 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:03:39 2023-02-13 16:03:39,420 [execute] INFO git rev-list f6f7529ba31d7f2f79adb2187149da2f8ee47744 -- 16:03:39 2023-02-13 16:03:39,421 [execute] DEBUG Popen(['git', 'rev-list', 'f6f7529ba31d7f2f79adb2187149da2f8ee47744', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:03:39 2023-02-13 16:03:39,429 [execute] INFO git fetch -v origin 16:03:39 2023-02-13 16:03:39,430 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:03:40 2023-02-13 16:03:40,049 [run_push] DEBUG no remote changes detected 16:03:40 2023-02-13 16:03:40,049 [execute] INFO git push origin semver 16:03:40 2023-02-13 16:03:40,050 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:03:41 2023-02-13 16:03:40,947 [run_push] DEBUG push all version tags 16:03:41 2023-02-13 16:03:40,947 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:03:41 2023-02-13 16:03:40,948 [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) 16:03:42 2023-02-13 16:03:41,963 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:03:42 3.0.0-dev.24 [Pipeline] } 16:03:42 $ docker exec --env ******** --env ******** f0af97f68644279ec367deb3002a6caeecb7a535d2fb7dd7bb9cf00a3ed86c92 ssh-agent -k 16:03:42 unset SSH_AUTH_SOCK; 16:03:42 unset SSH_AGENT_PID; 16:03:42 echo Agent pid 39 killed; 16:03:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:03:42 + git semver [Pipeline] } 16:03:43 $ docker stop --time=1 f0af97f68644279ec367deb3002a6caeecb7a535d2fb7dd7bb9cf00a3ed86c92 16:03:44 $ docker rm -f --volumes f0af97f68644279ec367deb3002a6caeecb7a535d2fb7dd7bb9cf00a3ed86c92 [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 16:03:44 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 16:03:44 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:03:44 total 16 16:03:44 drwxr-xr-x 3 root root 4096 Feb 13 15:52 . 16:03:44 drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 16:03 .. 16:03:44 drwxr-xr-x 2 root root 4096 Feb 13 15:52 cost 16:03:44 -rw-r--r-- 1 root root 85 Feb 13 15:52 cost.csv 16:03:44 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:03:44 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:03:44 total 16 16:03:44 drwxr-xr-x 3 jenkins jenkins 4096 Feb 13 15:52 . 16:03:44 drwxrwxr-x 12 jenkins jenkins 4096 Feb 13 16:03 .. 16:03:44 drwxr-xr-x 2 jenkins jenkins 4096 Feb 13 15:52 cost 16:03:44 -rw-r--r-- 1 jenkins jenkins 85 Feb 13 15:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:03:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:03:46 ---> package-listing.sh 16:03:46 ++ facter osfamily 16:03:46 ++ tr '[:upper:]' '[:lower:]' 16:03:46 + OS_FAMILY=debian 16:03:46 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 16:03:46 + START_PACKAGES=/tmp/packages_start.txt 16:03:46 + END_PACKAGES=/tmp/packages_end.txt 16:03:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:03:46 + PACKAGES=/tmp/packages_start.txt 16:03:46 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:03:46 + PACKAGES=/tmp/packages_end.txt 16:03:46 + case "${OS_FAMILY}" in 16:03:46 + dpkg -l 16:03:46 + grep '^ii' 16:03:46 + '[' -f /tmp/packages_start.txt ']' 16:03:46 + '[' -f /tmp/packages_end.txt ']' 16:03:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:03:46 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:03:46 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 16:03:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 16:03:46 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 16:03:46 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:03:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:47 prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container 16:03:47 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:03:47 $ docker top 8cafde1fd7925744f7ac5512d3118966d0b4700ee91841fff2ba00294a6fde85 -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:47 + touch /tmp/pre-build-complete [Pipeline] sh 16:03:48 + mkdir -p /var/log/sysstat [Pipeline] sh 16:03:48 + ls /var/log/sa-host 16:03:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:03:48 provisioning config files... 16:03:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5001622397173790271tmp [Pipeline] { [Pipeline] echo 16:03:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:03:48 ---> create-netrc.sh [Pipeline] } 16:03:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:03:49 ---> python-tools-install.sh [Pipeline] echo 16:03:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:03:49 ---> sudo-logs.sh 16:03:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:03:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:03:49 ---> job-cost.sh 16:03:49 lf-activate-venv: SKIPPING 16:03:49 DEBUG: total: 0.2199999988079071 16:03:49 INFO: Retrieving Stack Cost... 16:03:50 INFO: Retrieving Pricing Info for: v3-standard-8 16:03:50 INFO: Archiving Costs [Pipeline] echo 16:03:50 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:03:51 ---> logs-deploy.sh 16:03:51 lf-activate-venv: SKIPPING 16:03:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/153 16:03:51 INFO: archiving workspace using pattern(s): 16:03:52 Archives upload complete. 16:03:52 INFO: archiving logs to Nexus 16:03:52 ---> uname -a: 16:03:52 Linux prd-ubuntu20-04-docker-8c-8g-5563 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:03:52 16:03:52