Push event to branch levski Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 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-ssh8102125726153652729.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-ssh8959820799416342487.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/levski/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/levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14083961139674158726.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-ssh18316993086830512326.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/levski/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/levski/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16763451791759416868.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/v2]] ========================================================= [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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8558 in /w/workspace/dgexfoundry_device-sdk-go_levski [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/dgexfoundry_device-sdk-go_levski # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 (levski) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 # timeout=10 Commit message: "fix: assign device service in dic before driver.Initialize (#1359)" > git rev-list --no-walk b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:05:31 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:05:31 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:05:31 ========================================================= 15:05:31 EdgeX Global Pipelines Version Info 15:05:31 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:05:32 ------------------- 15:05:32 stable info: 15:05:32 ------------------- 15:05:32 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:05:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:05:32 Message: update stable to v1.0.244 15:05:32 ------------------- 15:05:32 experimental info: 15:05:32 ------------------- 15:05:32 Commited By: **** collab-it+edgex@linuxfoundation.org 15:05:32 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:05:32 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d4ffc7 [Pipeline] echo 15:05:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:05:33 provisioning config files... 15:05:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config12324525805546114905tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:05:33 ---> docker-login.sh 15:05:33 nexus3.edgexfoundry.org:10001 15:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:34 Configure a credential helper to remove this warning. See 15:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:34 15:05:34 Login Succeeded 15:05:34 nexus3.edgexfoundry.org:10002 15:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:34 Configure a credential helper to remove this warning. See 15:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:34 15:05:34 Login Succeeded 15:05:34 nexus3.edgexfoundry.org:10003 15:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:34 Configure a credential helper to remove this warning. See 15:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:34 15:05:34 Login Succeeded 15:05:34 nexus3.edgexfoundry.org:10004 15:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:34 Configure a credential helper to remove this warning. See 15:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:34 15:05:34 Login Succeeded 15:05:34 docker.io 15:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:34 Configure a credential helper to remove this warning. See 15:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:34 15:05:34 Login Succeeded 15:05:34 ---> docker-login.sh ends [Pipeline] } 15:05:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:05:35 + git rev-list -1 --merges 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7~1..4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo 15:05:35 -----------> git rev-list -1 --merges 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7~1..4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [false] [Pipeline] sh 15:05:35 + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo 15:05:35 ========================================================= 15:05:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:05:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:05:35 + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] echo 15:05:35 [semverPrep] GIT_COMMIT: 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7, Commit Message: fix: assign device service in dic before driver.Initialize (#1359) [Pipeline] echo 15:05:35 [semverPrep] This is not a build commit. [Pipeline] sh 15:05:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:05:36 + grep -v github /etc/ssh/ssh_known_hosts 15:05:36 + [ -e /tmp/ssh_known_hosts ] 15:05:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:05:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:05:36 + sudo tee -a /etc/ssh/ssh_known_hosts 15:05:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:05:36 15:05:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:05:36 0.1.4: Pulling from edgex-devops/py-git-semver 15:05:36 b85a868b505f: Pulling fs layer 15:05:36 e2be974225ed: Pulling fs layer 15:05:36 339a4e72a1f5: Pulling fs layer 15:05:36 988bab9f4d93: Pulling fs layer 15:05:36 1469e6f7b9e6: Pulling fs layer 15:05:36 eaf3925da568: Pulling fs layer 15:05:36 bab4dde63d76: Pulling fs layer 15:05:36 bde34c3a00c8: Pulling fs layer 15:05:36 b352a97aabf1: Pulling fs layer 15:05:36 4872d77fe225: Pulling fs layer 15:05:36 5851b861e8e6: Pulling fs layer 15:05:36 eaf3925da568: Waiting 15:05:36 bab4dde63d76: Waiting 15:05:36 bde34c3a00c8: Waiting 15:05:36 b352a97aabf1: Waiting 15:05:36 4872d77fe225: Waiting 15:05:36 5851b861e8e6: Waiting 15:05:36 988bab9f4d93: Waiting 15:05:36 e2be974225ed: Download complete 15:05:36 988bab9f4d93: Verifying Checksum 15:05:36 988bab9f4d93: Download complete 15:05:37 1469e6f7b9e6: Download complete 15:05:37 eaf3925da568: Verifying Checksum 15:05:37 eaf3925da568: Download complete 15:05:37 339a4e72a1f5: Verifying Checksum 15:05:37 339a4e72a1f5: Download complete 15:05:37 bde34c3a00c8: Verifying Checksum 15:05:37 bde34c3a00c8: Download complete 15:05:37 b352a97aabf1: Download complete 15:05:37 4872d77fe225: Download complete 15:05:37 5851b861e8e6: Download complete 15:05:37 b85a868b505f: Verifying Checksum 15:05:37 b85a868b505f: Download complete 15:05:37 bab4dde63d76: Verifying Checksum 15:05:37 bab4dde63d76: Download complete 15:05:38 b85a868b505f: Pull complete 15:05:38 e2be974225ed: Pull complete 15:05:39 339a4e72a1f5: Pull complete 15:05:39 988bab9f4d93: Pull complete 15:05:39 1469e6f7b9e6: Pull complete 15:05:39 eaf3925da568: Pull complete 15:05:41 bab4dde63d76: Pull complete 15:05:41 bde34c3a00c8: Pull complete 15:05:41 b352a97aabf1: Pull complete 15:05:41 4872d77fe225: Pull complete 15:05:41 5851b861e8e6: Pull complete 15:05:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:05:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:05:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:05:42 prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container 15:05:42 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:05:44 $ docker top e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd -eo pid,comm 15:05:44 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:05:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:05:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:05:44 [ssh-agent] Looking for ssh-agent implementation... 15:05:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:05:44 $ docker exec e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd ssh-agent 15:05:44 SSH_AUTH_SOCK=/tmp/ssh-m93IzN6RZekx/agent.33 15:05:44 SSH_AGENT_PID=39 15:05:44 Running ssh-add (command line suppressed) 15:05:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_8118309737356394894.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_8118309737356394894.key) 15:05:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:05:45 + git tag --points-at HEAD [Pipeline] } 15:05:45 $ docker exec --env ******** --env ******** e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd ssh-agent -k 15:05:45 unset SSH_AUTH_SOCK; 15:05:45 unset SSH_AGENT_PID; 15:05:45 echo Agent pid 39 killed; 15:05:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:05:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:05:45 [ssh-agent] Looking for ssh-agent implementation... 15:05:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:05:45 $ docker exec e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd ssh-agent 15:05:45 SSH_AUTH_SOCK=/tmp/ssh-8IaimVgUgbKw/agent.71 15:05:45 SSH_AGENT_PID=77 15:05:45 Running ssh-add (command line suppressed) 15:05:45 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_14827741442715253700.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_14827741442715253700.key) 15:05:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:05:46 + git semver init 15:05:46 2023-03-07 15:05:46,282 [run_init] DEBUG init version:0.0.0 force:False 15:05:46 2023-03-07 15:05:46,283 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver 15:05:46 2023-03-07 15:05:46,284 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/dgexfoundry_device-sdk-go_levski/.semver 15:05:46 2023-03-07 15:05:46,284 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/dgexfoundry_device-sdk-go_levski/.semver'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=None) 15:05:47 2023-03-07 15:05:47,171 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.git/info/exclude 15:05:47 2023-03-07 15:05:47,172 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski with force:False 15:05:47 2023-03-07 15:05:47,172 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 15:05:47 2023-03-07 15:05:47,176 [execute] INFO git cat-file --batch-check 15:05:47 2023-03-07 15:05:47,176 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) 15:05:47 2023-03-07 15:05:47,181 [execute] INFO git cat-file --batch 15:05:47 2023-03-07 15:05:47,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) 15:05:47 2023-03-07 15:05:47,187 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 15:05:47 0.0.0 [Pipeline] } 15:05:47 $ docker exec --env ******** --env ******** e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd ssh-agent -k 15:05:47 unset SSH_AUTH_SOCK; 15:05:47 unset SSH_AGENT_PID; 15:05:47 echo Agent pid 77 killed; 15:05:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:05:47 + git semver [Pipeline] } 15:05:47 $ docker stop --time=1 e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd 15:05:49 $ docker rm -f --volumes e4e4f08f756c81fc840622f40aa625dff339a192eebc410e395811244e13dcbd [Pipeline] // withDockerContainer [Pipeline] sh 15:05:49 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:05:49 Stashed 1 file(s) [Pipeline] echo 15:05:49 [edgeXSemver]: initialized semver on version 0.0.0 [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:05:49 provisioning config files... 15:05:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config10020168558488913668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:05:50 ---> docker-login.sh 15:05:50 nexus3.edgexfoundry.org:10001 15:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:50 Configure a credential helper to remove this warning. See 15:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:50 15:05:50 Login Succeeded 15:05:50 nexus3.edgexfoundry.org:10002 15:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:50 Configure a credential helper to remove this warning. See 15:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:50 15:05:50 Login Succeeded 15:05:50 nexus3.edgexfoundry.org:10003 15:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:50 Configure a credential helper to remove this warning. See 15:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:50 15:05:50 Login Succeeded 15:05:50 nexus3.edgexfoundry.org:10004 15:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:50 Configure a credential helper to remove this warning. See 15:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:50 15:05:50 Login Succeeded 15:05:50 docker.io 15:05:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:05:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:05:50 Configure a credential helper to remove this warning. See 15:05:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:05:50 15:05:50 Login Succeeded 15:05:50 ---> docker-login.sh ends [Pipeline] } 15:05:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:05:50 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:05:50 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:05:50 ========================================================= 15:05:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:05:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:51 + 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:05:51 Sending build context to Docker daemon 10.66MB 15:05:51 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:05:51 Step 2/10 : FROM ${BASE} AS builder 15:05:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:05:51 213ec9aee27d: Pulling fs layer 15:05:51 4583459ba037: Pulling fs layer 15:05:51 93c1e223e6f2: Pulling fs layer 15:05:51 53926ce57604: Pulling fs layer 15:05:51 21b2b0c7a3f4: Pulling fs layer 15:05:51 22ff95d597cd: Pulling fs layer 15:05:51 12d6caf4c0d1: Pulling fs layer 15:05:51 96b7cbca73a9: Pulling fs layer 15:05:51 a7acece74701: Pulling fs layer 15:05:51 53926ce57604: Waiting 15:05:51 21b2b0c7a3f4: Waiting 15:05:51 22ff95d597cd: Waiting 15:05:51 12d6caf4c0d1: Waiting 15:05:51 96b7cbca73a9: Waiting 15:05:51 a7acece74701: Waiting 15:05:51 93c1e223e6f2: Verifying Checksum 15:05:51 93c1e223e6f2: Download complete 15:05:51 4583459ba037: Download complete 15:05:51 21b2b0c7a3f4: Verifying Checksum 15:05:51 21b2b0c7a3f4: Download complete 15:05:51 22ff95d597cd: Verifying Checksum 15:05:51 213ec9aee27d: Verifying Checksum 15:05:51 213ec9aee27d: Download complete 15:05:51 12d6caf4c0d1: Verifying Checksum 15:05:51 12d6caf4c0d1: Download complete 15:05:51 213ec9aee27d: Pull complete 15:05:51 4583459ba037: Pull complete 15:05:51 93c1e223e6f2: Pull complete 15:05:52 a7acece74701: Verifying Checksum 15:05:52 a7acece74701: Download complete 15:05:52 96b7cbca73a9: Download complete 15:05:52 53926ce57604: Verifying Checksum 15:05:52 53926ce57604: Download complete 15:05:56 53926ce57604: Pull complete 15:05:56 21b2b0c7a3f4: Pull complete 15:05:56 22ff95d597cd: Pull complete 15:05:56 12d6caf4c0d1: Pull complete 15:05:59 96b7cbca73a9: Pull complete 15:06:00 a7acece74701: Pull complete 15:06:00 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:06:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:06:00 ---> db6d94c90886 15:06:00 Step 3/10 : ARG MAKE=make build 15:06:04 Still waiting to schedule task 15:06:04 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:06:06 ---> Running in 9a23e86958e0 15:06:06 Removing intermediate container 9a23e86958e0 15:06:06 ---> 46494942654b 15:06:06 Step 4/10 : WORKDIR /device-sdk-go 15:06:06 ---> Running in 3507c7406ce4 15:06:06 Removing intermediate container 3507c7406ce4 15:06:06 ---> 045287566058 15:06:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:06:06 ---> Running in cec51ae44f64 15:06:06 Removing intermediate container cec51ae44f64 15:06:06 ---> a7ba59b79d68 15:06:06 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:06:06 ---> Running in cb60f3cefc12 15:06:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:06:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:06:06 OK: 211 MiB in 51 packages 15:06:07 Removing intermediate container cb60f3cefc12 15:06:07 ---> 8e04433ae127 15:06:07 Step 7/10 : COPY go.mod vendor* ./ 15:06:07 ---> d8a895b7a629 15:06:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:06:07 ---> Running in 5e791fc40a0b 15:06:39 Removing intermediate container 5e791fc40a0b 15:06:39 ---> 899cb60b293a 15:06:39 Step 9/10 : COPY . . 15:06:39 ---> 6a7d54cd061d 15:06:39 Step 10/10 : RUN ${MAKE} 15:06:39 ---> Running in a5d62c8620e2 15:06:39 noop 15:06:39 Removing intermediate container a5d62c8620e2 15:06:39 ---> 6c50f077e54d 15:06:39 Successfully built 6c50f077e54d 15:06:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:40 + docker inspect -f . ci-base-image-x86_64 15:06:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:40 prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container 15:06:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:06:40 $ docker top 5551cb12bc4ed4070b67278c621ec7121290b59560814710b04c573228b83a99 -eo pid,comm [Pipeline] { [Pipeline] sh 15:06:41 + go version 15:06:41 go version go1.18.7 linux/amd64 [Pipeline] } 15:06:41 $ docker stop --time=1 5551cb12bc4ed4070b67278c621ec7121290b59560814710b04c573228b83a99 15:06:42 $ docker rm -f --volumes 5551cb12bc4ed4070b67278c621ec7121290b59560814710b04c573228b83a99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:43 + docker inspect -f . ci-base-image-x86_64 15:06:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:06:43 prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container 15:06:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:06:43 $ docker top 07c92ee33b00c32907ef65ede00cb5b23505029a566b2608a7f3acd3883edde2 -eo pid,comm [Pipeline] { [Pipeline] sh 15:06:44 + git config --global --add safe.directory /w/workspace/dgexfoundry_device-sdk-go_levski [Pipeline] fileExists [Pipeline] sh 15:06:44 + make test 15:06:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:06:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:07:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:07:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:07:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:07:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:07:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:07:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 27.6% of statements 15:07:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.082s coverage: 78.9% of statements 15:07:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 15:07:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.124s coverage: 73.1% of statements 15:07:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:07:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:07:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.119s coverage: 54.4% of statements 15:07:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:07:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 15:07:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:07:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:07:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements 15:07:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 15:07:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:07:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.835s coverage: 89.2% of statements 15:07:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:07:06 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.074s coverage: 4.7% of statements 15:07:06 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:07:24 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:07:24 GO111MODULE=on go vet ./... 15:07:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:07:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:07:26 ./bin/test-attribution-txt.sh 15:07:26 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:07:26 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:07:26 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:07:26 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:07:26 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:07:26 $ docker stop --time=1 07c92ee33b00c32907ef65ede00cb5b23505029a566b2608a7f3acd3883edde2 15:07:33 $ docker rm -f --volumes 07c92ee33b00c32907ef65ede00cb5b23505029a566b2608a7f3acd3883edde2 [Pipeline] // withDockerContainer [Pipeline] sh 15:07:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:07:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:07:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:07:34 + ls -al . 15:07:34 total 280 15:07:34 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 15:06 . 15:07:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 15:05 .. 15:07:34 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 15:05 .dockerignore 15:07:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 15:07 .git 15:07:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 15:05 .github 15:07:34 -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 15:05 .gitignore 15:07:34 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 15:05 .golangci.yml 15:07:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 15:05 .semver 15:07:34 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 15:05 CHANGELOG.md 15:07:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 15:05 GOVERNANCE.md 15:07:34 -rw-rw-r-- 1 jenkins jenkins 880 Mar 7 15:05 Jenkinsfile 15:07:34 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 15:05 LICENSE 15:07:34 -rw-rw-r-- 1 jenkins jenkins 2003 Mar 7 15:05 Makefile 15:07:34 -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 15:05 OWNERS.md 15:07:34 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 7 15:05 README.md 15:07:34 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 15:05 VERSION 15:07:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 15:05 bin 15:07:34 -rw-r--r-- 1 jenkins jenkins 101840 Mar 7 15:07 coverage.out 15:07:34 drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 15:05 example 15:07:34 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 7 15:05 go.mod 15:07:34 -rw-rw-r-- 1 jenkins jenkins 44423 Mar 7 15:05 go.sum 15:07:34 drwxrwxr-x 14 jenkins jenkins 4096 Mar 7 15:05 internal 15:07:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 15:05 openapi 15:07:34 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 15:05 pkg 15:07:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 15:05 snap 15:07:34 -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 15:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:35 + 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=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 --label arch=amd64 --label version=0.0.0 . 15:07:35 Sending build context to Docker daemon 10.76MB 15:07:35 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:07:35 Step 2/23 : FROM ${BASE} AS builder 15:07:35 ---> 6c50f077e54d 15:07:35 Step 3/23 : ARG MAKE=make build 15:07:35 ---> Running in 4ffa9bedddf3 15:07:35 Removing intermediate container 4ffa9bedddf3 15:07:35 ---> c65947f1ab18 15:07:35 Step 4/23 : WORKDIR /device-sdk-go 15:07:35 ---> Running in 02e12bedeee0 15:07:35 Removing intermediate container 02e12bedeee0 15:07:35 ---> 24aea9b5d614 15:07:35 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:07:35 ---> Running in 0f5b2cfc5967 15:07:35 Removing intermediate container 0f5b2cfc5967 15:07:35 ---> 8a5261cad1b2 15:07:35 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:07:35 ---> Running in 0a53bcdfe010 15:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:07:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:07:36 OK: 211 MiB in 51 packages 15:07:36 Removing intermediate container 0a53bcdfe010 15:07:36 ---> fa03f43a64c4 15:07:36 Step 7/23 : COPY go.mod vendor* ./ 15:07:36 ---> 2c0dfd7738a6 15:07:36 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:07:36 ---> Running in 581552c7eb5a 15:07:37 Removing intermediate container 581552c7eb5a 15:07:37 ---> 2ec43a817fab 15:07:37 Step 9/23 : COPY . . 15:07:37 ---> 32876cbc92ea 15:07:37 Step 10/23 : RUN ${MAKE} 15:07:37 ---> Running in 5b13106b6b94 15:07:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8559 in /w/workspace/dgexfoundry_device-sdk-go_levski 15:07:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] { [Pipeline] ws 15:07:38 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 15:07:38 The recommended git tool is: git 15:07:43 using credential edgex-jenkins-ssh 15:07:43 Cloning the remote Git repository 15:07:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:07:43 > git init /w/workspace/device-sdk-go/2 # timeout=10 15:07:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:07:43 > git --version # timeout=10 15:07:43 > git --version # 'git version 2.25.1' 15:07:43 using GIT_SSH to set credentials SSH Credentials for GitHub 15:07:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:07:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:07:45 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:07:45 Avoid second fetch 15:07:45 Checking out Revision 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 (levski) 15:07:46 Commit message: "fix: assign device service in dic before driver.Initialize (#1359)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:07:45 > git config core.sparsecheckout # timeout=10 15:07:45 > git checkout -f 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 # timeout=10 15:07:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:07:47 % Total % Received % Xferd Average Speed Time Time Time Current 15:07:47 Dload Upload Total Spent Left Speed 15:07:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh 15:07:48 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:07:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:07:48 + sudo tee /etc/docker/daemon.new 15:07:48 { 15:07:48 "registry-mirrors": [ 15:07:48 "https://nexus3.edgexfoundry.org:10001" 15:07:48 ], 15:07:48 "bip": "10.250.0.254/24", 15:07:48 "hosts": [ 15:07:48 "tcp://0.0.0.0:5555", 15:07:48 "unix:///var/run/docker.sock" 15:07:48 ], 15:07:48 "mtu": 1458, 15:07:48 "selinux-enabled": true, 15:07:48 "seccomp-profile": "/etc/docker/seccomp.json" 15:07:48 } [Pipeline] sh 15:07:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:07:49 + sudo service docker restart 15:07:56 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:08:02 Removing intermediate container 5b13106b6b94 15:08:02 ---> af0524f13bb3 15:08:02 Step 11/23 : FROM alpine:3.16 15:08:03 3.16: Pulling from library/alpine 15:08:03 ef5531b6e74e: Pulling fs layer 15:08:03 ef5531b6e74e: Verifying Checksum 15:08:03 ef5531b6e74e: Download complete 15:08:03 ef5531b6e74e: Pull complete 15:08:03 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:08:03 Status: Downloaded newer image for alpine:3.16 15:08:03 ---> dfd21b5a31f5 15:08:03 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:08:03 ---> Running in f2d4cac7a0df 15:08:03 Removing intermediate container f2d4cac7a0df 15:08:03 ---> 38585c690ff9 15:08:03 Step 13/23 : RUN apk add --update --no-cache zeromq 15:08:03 ---> Running in 3f91663638bf 15:08:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:08:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:08:04 (1/5) Installing libgcc (11.2.1_git20220219-r2) 15:08:04 (2/5) Installing libsodium (1.0.18-r0) 15:08:04 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 15:08:04 (4/5) Installing libzmq (4.3.4-r0) 15:08:04 (5/5) Installing zeromq (4.3.4-r0) 15:08:04 Executing busybox-1.35.0-r17.trigger 15:08:04 OK: 8 MiB in 19 packages 15:08:05 Removing intermediate container 3f91663638bf 15:08:05 ---> b4f80f05d500 15:08:05 Step 14/23 : WORKDIR / 15:08:05 ---> Running in b7b25b1acd09 15:08:05 Removing intermediate container b7b25b1acd09 15:08:05 ---> dd92498abb37 15:08:05 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:08:05 ---> 9c4d4c601f01 15:08:05 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:08:06 ---> 191b7ff6a70a 15:08:06 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:08:06 ---> cc1752a8b15e 15:08:06 Step 18/23 : EXPOSE 59999 15:08:06 ---> Running in 96f657c42f4b 15:08:06 Removing intermediate container 96f657c42f4b 15:08:06 ---> 07e0e112e702 15:08:06 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:08:06 ---> Running in 871c33ca9bc6 15:08:06 Removing intermediate container 871c33ca9bc6 15:08:06 ---> 9f02f2b39204 15:08:06 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:08:06 ---> Running in fe2145ae993f 15:08:06 Removing intermediate container fe2145ae993f 15:08:06 ---> 52f46db86151 15:08:06 Step 21/23 : LABEL arch=amd64 15:08:07 ---> Running in 6c1e500dc5d5 15:08:07 Removing intermediate container 6c1e500dc5d5 15:08:07 ---> 9497be224c6e 15:08:07 Step 22/23 : LABEL git_sha=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 15:08:07 ---> Running in b46501dc8021 15:08:07 Removing intermediate container b46501dc8021 15:08:07 ---> 23e2b3f09e7c 15:08:07 Step 23/23 : LABEL version=0.0.0 15:08:07 ---> Running in 9e8749fe6724 15:08:07 Removing intermediate container 9e8749fe6724 15:08:07 ---> e6a6a8813d95 15:08:07 [Warning] One or more build-args [ARCH] were not consumed 15:08:07 Successfully built e6a6a8813d95 15:08:07 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:08:07 provisioning config files... 15:08:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config8604858209284021738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:08:07 15:08:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:07 ---> docker-login.sh 15:08:07 nexus3.edgexfoundry.org:10001 15:08:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:08:07 latest: Pulling from edgex-lftools-log-publisher 15:08:07 5eb5b503b376: Pulling fs layer 15:08:07 5c69ac0246d0: Pulling fs layer 15:08:07 ec43610c2a17: Pulling fs layer 15:08:07 3a2ae6a8a46f: Pulling fs layer 15:08:07 33b1e0a273af: Pulling fs layer 15:08:07 5d3b04190fa2: Pulling fs layer 15:08:07 2f39f015ded8: Pulling fs layer 15:08:07 33b1e0a273af: Waiting 15:08:07 5d3b04190fa2: Waiting 15:08:07 2f39f015ded8: Waiting 15:08:07 3a2ae6a8a46f: Waiting 15:08:07 5c69ac0246d0: Download complete 15:08:07 3a2ae6a8a46f: Download complete 15:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:08 33b1e0a273af: Verifying Checksum 15:08:08 33b1e0a273af: Download complete 15:08:08 5d3b04190fa2: Download complete 15:08:08 ec43610c2a17: Verifying Checksum 15:08:08 ec43610c2a17: Download complete 15:08:08 5eb5b503b376: Verifying Checksum 15:08:08 5eb5b503b376: Download complete 15:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:08 Configure a credential helper to remove this warning. See 15:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:08 15:08:08 Login Succeeded 15:08:08 nexus3.edgexfoundry.org:10002 15:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:08 Configure a credential helper to remove this warning. See 15:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:08 15:08:08 Login Succeeded 15:08:08 nexus3.edgexfoundry.org:10003 15:08:08 2f39f015ded8: Verifying Checksum 15:08:08 2f39f015ded8: Download complete 15:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:09 Configure a credential helper to remove this warning. See 15:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:09 15:08:09 Login Succeeded 15:08:09 nexus3.edgexfoundry.org:10004 15:08:09 5eb5b503b376: Pull complete 15:08:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:09 Configure a credential helper to remove this warning. See 15:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:09 15:08:09 Login Succeeded 15:08:09 docker.io 15:08:09 5c69ac0246d0: Pull complete 15:08:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:08:09 Configure a credential helper to remove this warning. See 15:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:08:09 15:08:09 Login Succeeded 15:08:09 ---> docker-login.sh ends [Pipeline] } 15:08:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 15:08:10 ec43610c2a17: Pull complete 15:08:10 3a2ae6a8a46f: Pull complete [Pipeline] echo 15:08:10 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:08:10 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:08:10 ========================================================= 15:08:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:08:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:10 33b1e0a273af: Pull complete 15:08:10 5d3b04190fa2: Pull complete 15:08:10 + 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:08:10 Sending build context to Docker daemon 5.737MB 15:08:11 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:08:11 Step 2/10 : FROM ${BASE} AS builder 15:08:11 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:08:11 9b18e9b68314: Pulling fs layer 15:08:11 35d82f9e3411: Pulling fs layer 15:08:11 e16973657156: Pulling fs layer 15:08:11 fc693d55d65f: Pulling fs layer 15:08:11 7e9fc2657dce: Pulling fs layer 15:08:11 dda99020689f: Pulling fs layer 15:08:11 db1c61fa0a46: Pulling fs layer 15:08:11 891c053d2c06: Pulling fs layer 15:08:11 fc693d55d65f: Waiting 15:08:11 db1c61fa0a46: Waiting 15:08:11 7e9fc2657dce: Waiting 15:08:11 dda99020689f: Waiting 15:08:11 891c053d2c06: Waiting 15:08:11 e16973657156: Download complete 15:08:11 35d82f9e3411: Verifying Checksum 15:08:11 35d82f9e3411: Download complete 15:08:11 7e9fc2657dce: Verifying Checksum 15:08:11 7e9fc2657dce: Download complete 15:08:11 9b18e9b68314: Verifying Checksum 15:08:11 dda99020689f: Verifying Checksum 15:08:11 dda99020689f: Download complete 15:08:13 9b18e9b68314: Pull complete 15:08:13 891c053d2c06: Verifying Checksum 15:08:13 891c053d2c06: Download complete 15:08:13 35d82f9e3411: Pull complete 15:08:13 e16973657156: Pull complete 15:08:14 db1c61fa0a46: Download complete 15:08:14 2f39f015ded8: Pull complete 15:08:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:08:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:08:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:14 prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container 15:08:14 $ 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/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@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 15:08:14 fc693d55d65f: Verifying Checksum 15:08:14 fc693d55d65f: Download complete 15:08:21 $ docker top ce8e054a7b0fa6288468054de4840be92d493e1d7bac9161085785b41dbd50b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:08:21 ---> job-cost.sh 15:08:21 lf-activate-venv: SKIPPING 15:08:21 INFO: No Stack... 15:08:21 INFO: Retrieving Pricing Info for: v3-standard-8 15:08:21 INFO: Archiving Costs [Pipeline] sh 15:08:22 + cat /w/workspace/dgexfoundry_device-sdk-go_levski/archives/cost.csv 15:08:22 + cut -d, -f6 [Pipeline] lock 15:08:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] 15:08:22 Resource [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] did not exist. Created. 15:08:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:08:22 + echo total: 0.2199999988079071 [Pipeline] stash 15:08:22 Stashed 1 file(s) [Pipeline] } 15:08:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:08:22 $ docker stop --time=1 ce8e054a7b0fa6288468054de4840be92d493e1d7bac9161085785b41dbd50b3 15:08:23 $ docker rm -f --volumes ce8e054a7b0fa6288468054de4840be92d493e1d7bac9161085785b41dbd50b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:08:27 fc693d55d65f: Pull complete 15:08:27 7e9fc2657dce: Pull complete 15:08:27 dda99020689f: Pull complete 15:08:33 db1c61fa0a46: Pull complete 15:08:37 891c053d2c06: Pull complete 15:08:37 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 15:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:08:37 ---> f96f9c87975a 15:08:37 Step 3/10 : ARG MAKE=make build 15:08:38 ---> Running in faee3a319155 15:08:38 Removing intermediate container faee3a319155 15:08:38 ---> 9a5ceb9dfb9e 15:08:38 Step 4/10 : WORKDIR /device-sdk-go 15:08:38 ---> Running in a4f1b2469542 15:08:39 Removing intermediate container a4f1b2469542 15:08:39 ---> bd36625831e7 15:08:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:08:39 ---> Running in 91c55e020568 15:08:39 Removing intermediate container 91c55e020568 15:08:39 ---> 32e34d84180c 15:08:39 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:08:39 ---> Running in 2b3b1318d64c 15:08:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:08:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:08:42 OK: 221 MiB in 51 packages 15:08:43 Removing intermediate container 2b3b1318d64c 15:08:43 ---> 195eb1641249 15:08:43 Step 7/10 : COPY go.mod vendor* ./ 15:08:43 ---> de2a59d88a1a 15:08:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:08:43 ---> Running in f658bdc0277d 15:09:40 Removing intermediate container f658bdc0277d 15:09:40 ---> 3c02e4d20b37 15:09:40 Step 9/10 : COPY . . 15:09:40 ---> d1644ac51d18 15:09:40 Step 10/10 : RUN ${MAKE} 15:09:40 ---> Running in 06028feded1f 15:09:40 noop 15:09:41 Removing intermediate container 06028feded1f 15:09:41 ---> 5a59f85fbe26 15:09:41 Successfully built 5a59f85fbe26 15:09:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:42 + docker inspect -f . ci-base-image-arm64 15:09:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:09:42 prd-ubuntu20.04-docker-arm64-4c-16g-8559 does not seem to be running inside a container 15:09:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:09:43 $ docker top 2f96072f9ca95b70c52864fb6204674293f7ebe2b6fd6bfa27f11ccd4f09709c -eo pid,comm [Pipeline] { [Pipeline] sh 15:09:44 + go version 15:09:44 go version go1.18.7 linux/arm64 [Pipeline] } 15:09:44 $ docker stop --time=1 2f96072f9ca95b70c52864fb6204674293f7ebe2b6fd6bfa27f11ccd4f09709c 15:09:45 $ docker rm -f --volumes 2f96072f9ca95b70c52864fb6204674293f7ebe2b6fd6bfa27f11ccd4f09709c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:09:46 + docker inspect -f . ci-base-image-arm64 15:09:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:09:46 prd-ubuntu20.04-docker-arm64-4c-16g-8559 does not seem to be running inside a container 15:09:46 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:09:47 $ docker top 734640a212e5764fa207417e547be7d87d9bf23d9fe3770dc2c6b779eb95f3dd -eo pid,comm [Pipeline] { [Pipeline] sh 15:09:48 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 15:09:48 + make test 15:09:48 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:10:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:12:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:12:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:12:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:12:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:12:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:12:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.394s coverage: 27.6% of statements 15:12:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.482s coverage: 78.9% of statements 15:12:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 15:12:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.643s coverage: 73.1% of statements 15:12:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:12:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:12:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.636s coverage: 54.4% of statements 15:12:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:12:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 15:12:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:12:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:12:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.398s coverage: 65.1% of statements 15:12:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 15:12:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:12:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.197s coverage: 89.2% of statements 15:12:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:12:29 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.261s coverage: 4.7% of statements 15:12:29 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:12:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:12:29 GO111MODULE=on go vet ./... 15:14:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:14:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:14:06 ./bin/test-attribution-txt.sh 15:14:06 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:14:06 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:14:06 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:14:06 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:14:06 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:14:06 $ docker stop --time=1 734640a212e5764fa207417e547be7d87d9bf23d9fe3770dc2c6b779eb95f3dd 15:14:08 $ docker rm -f --volumes 734640a212e5764fa207417e547be7d87d9bf23d9fe3770dc2c6b779eb95f3dd [Pipeline] // withDockerContainer [Pipeline] sh 15:14:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:14:10 Warning: overwriting stash ‘coverage-report’ 15:14:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:14:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:14:11 + ls -al . 15:14:11 total 276 15:14:11 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 15:09 . 15:14:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 15:07 .. 15:14:11 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 15:07 .dockerignore 15:14:11 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 15:07 .git 15:14:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 15:07 .github 15:14:11 -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 15:07 .gitignore 15:14:11 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 15:07 .golangci.yml 15:14:11 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 15:07 CHANGELOG.md 15:14:11 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 15:07 GOVERNANCE.md 15:14:11 -rw-rw-r-- 1 jenkins jenkins 880 Mar 7 15:07 Jenkinsfile 15:14:11 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 15:07 LICENSE 15:14:11 -rw-rw-r-- 1 jenkins jenkins 2003 Mar 7 15:07 Makefile 15:14:11 -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 15:07 OWNERS.md 15:14:11 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 7 15:07 README.md 15:14:11 -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 15:05 VERSION 15:14:11 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 15:07 bin 15:14:11 -rw-r--r-- 1 jenkins jenkins 101840 Mar 7 15:12 coverage.out 15:14:11 drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 15:07 example 15:14:11 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 7 15:07 go.mod 15:14:11 -rw-rw-r-- 1 jenkins jenkins 44423 Mar 7 15:07 go.sum 15:14:11 drwxrwxr-x 14 jenkins jenkins 4096 Mar 7 15:07 internal 15:14:11 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 15:07 openapi 15:14:11 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 15:07 pkg 15:14:11 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 15:07 snap 15:14:11 -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 15:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:14:11 + 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=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 --label arch=arm64 --label version=0.0.0 . 15:14:11 Sending build context to Docker daemon 5.839MB 15:14:11 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:14:11 Step 2/23 : FROM ${BASE} AS builder 15:14:11 ---> 5a59f85fbe26 15:14:11 Step 3/23 : ARG MAKE=make build 15:14:12 ---> Running in 2f34dd4377da 15:14:12 Removing intermediate container 2f34dd4377da 15:14:12 ---> 7809d9c34bf8 15:14:12 Step 4/23 : WORKDIR /device-sdk-go 15:14:12 ---> Running in 8c64d6e80095 15:14:12 Removing intermediate container 8c64d6e80095 15:14:12 ---> 6d1f0b1a755f 15:14:12 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:14:12 ---> Running in 891dbed4b651 15:14:12 Removing intermediate container 891dbed4b651 15:14:12 ---> e05efc02e44a 15:14:12 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:14:13 ---> Running in 95aa7918d18f 15:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:14:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:14:15 OK: 221 MiB in 51 packages 15:14:18 Removing intermediate container 95aa7918d18f 15:14:18 ---> 55dde3058700 15:14:18 Step 7/23 : COPY go.mod vendor* ./ 15:14:18 ---> a1c9df7ba60e 15:14:18 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:14:18 ---> Running in 1758db751df9 15:14:20 Removing intermediate container 1758db751df9 15:14:20 ---> d66b2f1ce0be 15:14:20 Step 9/23 : COPY . . 15:14:21 ---> a5a730fd7cbb 15:14:21 Step 10/23 : RUN ${MAKE} 15:14:21 ---> Running in 132fa4e52208 15:14:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:16:29 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:16:29 Removing intermediate container 132fa4e52208 15:16:29 ---> 4da03d28b831 15:16:29 Step 11/23 : FROM alpine:3.16 15:16:30 3.16: Pulling from library/alpine 15:16:30 3760b48202b3: Pulling fs layer 15:16:30 3760b48202b3: Download complete 15:16:30 3760b48202b3: Pull complete 15:16:30 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 15:16:30 Status: Downloaded newer image for alpine:3.16 15:16:30 ---> 4c81e5bf8899 15:16:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:16:30 ---> Running in 4bc96599a965 15:16:31 Removing intermediate container 4bc96599a965 15:16:31 ---> 41f8d914b27a 15:16:31 Step 13/23 : RUN apk add --update --no-cache zeromq 15:16:31 ---> Running in e96b667eedfc 15:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:16:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:16:33 (1/5) Installing libgcc (11.2.1_git20220219-r2) 15:16:33 (2/5) Installing libsodium (1.0.18-r0) 15:16:33 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 15:16:33 (4/5) Installing libzmq (4.3.4-r0) 15:16:33 (5/5) Installing zeromq (4.3.4-r0) 15:16:33 Executing busybox-1.35.0-r17.trigger 15:16:33 OK: 8 MiB in 19 packages 15:16:34 Removing intermediate container e96b667eedfc 15:16:34 ---> 308c6a54d18c 15:16:34 Step 14/23 : WORKDIR / 15:16:34 ---> Running in 9fac9afdf021 15:16:35 Removing intermediate container 9fac9afdf021 15:16:35 ---> bffebb4dd544 15:16:35 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:16:35 ---> b491921b5517 15:16:35 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:16:36 ---> 96bc8c9225eb 15:16:36 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:16:37 ---> d66aa00474b8 15:16:37 Step 18/23 : EXPOSE 59999 15:16:37 ---> Running in 1ec67946c317 15:16:37 Removing intermediate container 1ec67946c317 15:16:37 ---> d8cf85651b74 15:16:37 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:16:37 ---> Running in 6b0db7c87a04 15:16:38 Removing intermediate container 6b0db7c87a04 15:16:38 ---> 377601cfe80f 15:16:38 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:16:38 ---> Running in 130335ef998e 15:16:38 Removing intermediate container 130335ef998e 15:16:38 ---> a45fc866fa5c 15:16:38 Step 21/23 : LABEL arch=arm64 15:16:38 ---> Running in fa5dc3896e23 15:16:38 Removing intermediate container fa5dc3896e23 15:16:38 ---> 7f411c8925f1 15:16:38 Step 22/23 : LABEL git_sha=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 15:16:39 ---> Running in 11dc17dd4142 15:16:39 Removing intermediate container 11dc17dd4142 15:16:39 ---> 97b484fdd960 15:16:39 Step 23/23 : LABEL version=0.0.0 15:16:39 ---> Running in b94a63a10464 15:16:39 Removing intermediate container b94a63a10464 15:16:39 ---> ef1fb01453ce 15:16:39 [Warning] One or more build-args [ARCH] were not consumed 15:16:39 Successfully built ef1fb01453ce 15:16:39 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 15:16:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:40 15:16:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:40 arm64: Pulling from edgex-lftools-log-publisher 15:16:40 8998bd30e6a1: Pulling fs layer 15:16:40 04944245beec: Pulling fs layer 15:16:40 699f458cf7ca: Pulling fs layer 15:16:40 765212b225bb: Pulling fs layer 15:16:40 f23df028b6ca: Pulling fs layer 15:16:40 d65c8cfc05b1: Pulling fs layer 15:16:40 2437ff75d9bd: Pulling fs layer 15:16:40 765212b225bb: Waiting 15:16:40 d65c8cfc05b1: Waiting 15:16:40 2437ff75d9bd: Waiting 15:16:40 f23df028b6ca: Waiting 15:16:40 04944245beec: Verifying Checksum 15:16:40 04944245beec: Download complete 15:16:40 765212b225bb: Verifying Checksum 15:16:40 765212b225bb: Download complete 15:16:40 f23df028b6ca: Verifying Checksum 15:16:40 f23df028b6ca: Download complete 15:16:40 d65c8cfc05b1: Verifying Checksum 15:16:40 d65c8cfc05b1: Download complete 15:16:40 699f458cf7ca: Verifying Checksum 15:16:40 699f458cf7ca: Download complete 15:16:41 8998bd30e6a1: Download complete 15:16:43 2437ff75d9bd: Verifying Checksum 15:16:43 2437ff75d9bd: Download complete 15:16:45 8998bd30e6a1: Pull complete 15:16:45 04944245beec: Pull complete 15:16:47 699f458cf7ca: Pull complete 15:16:47 765212b225bb: Pull complete 15:16:47 f23df028b6ca: Pull complete 15:16:47 d65c8cfc05b1: Pull complete 15:17:02 2437ff75d9bd: Pull complete 15:17:02 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:17:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:17:02 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:03 prd-ubuntu20.04-docker-arm64-4c-16g-8559 does not seem to be running inside a container 15:17:03 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:17:07 $ docker top 02994586676e231668038507cb14067409acb07f7d0d7ff89f9e156163bd4e6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:08 ---> job-cost.sh 15:17:08 lf-activate-venv: SKIPPING 15:17:08 INFO: No Stack... 15:17:09 INFO: Retrieving Pricing Info for: v3-standard-4 15:17:09 INFO: Archiving Costs [Pipeline] sh 15:17:10 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 15:17:10 + cut -d, -f6 [Pipeline] lock 15:17:10 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] 15:17:10 Resource [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] did not exist. Created. 15:17:10 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:17:10 /w/workspace/device-sdk-go/2@tmp/durable-d1e5ae8d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:17:10 + echo total: 0.10999999940395355 [Pipeline] stash 15:17:10 Warning: overwriting stash ‘stack-cost’ 15:17:11 Stashed 1 file(s) [Pipeline] } 15:17:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:17:11 $ docker stop --time=1 02994586676e231668038507cb14067409acb07f7d0d7ff89f9e156163bd4e6f 15:17:12 $ docker rm -f --volumes 02994586676e231668038507cb14067409acb07f7d0d7ff89f9e156163bd4e6f [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 15:17:12 provisioning config files... 15:17:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config3237066737323614606tmp [Pipeline] { [Pipeline] sh 15:17:13 + set +x 15:17:13 + curl -s https://codecov.io/bash 15:17:13 + bash -s -- 15:17:13 15:17:13 _____ _ 15:17:13 / ____| | | 15:17:13 | | ___ __| | ___ ___ _____ __ 15:17:13 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:17:13 | |___| (_) | (_| | __/ (_| (_) \ V / 15:17:13 \_____\___/ \__,_|\___|\___\___/ \_/ 15:17:13 Bash-1.0.6 15:17:13 15:17:13 15:17:13 ==> git version 2.25.1 found 15:17:13 ==> 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 15:17:13 Release-Date: 2020-01-08 15:17:13 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:17:13 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:17:13 ==> Jenkins CI detected. 15:17:13 current dir:  /w/workspace/dgexfoundry_device-sdk-go_levski 15:17:13 project root: . 15:17:13 --> token set from env 15:17:13 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:17:13 ==> Running gcov in . (disable via -X gcov) 15:17:13 ==> Python coveragepy not found 15:17:13 ==> Searching for coverage reports in: 15:17:13 + . 15:17:13 -> Found 1 reports 15:17:13 ==> Detecting git/mercurial file structure 15:17:13 ==> Reading reports 15:17:13 + ./coverage.out bytes=101840 15:17:13 ==> Appending adjustments 15:17:13 https://docs.codecov.io/docs/fixing-reports 15:17:13 + Found adjustments 15:17:13 ==> Gzipping contents 15:17:13 16K /tmp/codecov.gnK3MX.gz 15:17:13 ==> Uploading reports 15:17:13 url: https://codecov.io 15:17:13 query: branch=levski&commit=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:17:13 -> Pinging Codecov 15:17:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=levski&commit=4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:17:13 -> Uploading to 15:17:13 https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7/dbfc58dd-341b-4946-bf9d-7e20fb75e530.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T151713Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=06f68fdddf791d788bf2eb12e8da50374407b118c70db08f0de09b1dcb7aa13c 15:17:13 % Total % Received % Xferd Average Speed Time Time Time Current 15:17:13 Dload Upload Total Spent Left Speed 15:17:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14707 0 0 100 14707 0 50366 --:--:-- --:--:-- --:--:-- 50366 15:17:13 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] } 15:17:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:17:14 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:17:14 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:17:14 15:17:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:17:15 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:17:15 df9b9388f04a: Pulling fs layer 15:17:15 52dc419b0ee2: Pulling fs layer 15:17:15 25bc292e5bac: Pulling fs layer 15:17:15 114826534d7a: Pulling fs layer 15:17:15 4657fd5d0bcf: Pulling fs layer 15:17:15 6ad1cebc031e: Pulling fs layer 15:17:15 8a3aa393b2d8: Pulling fs layer 15:17:15 4657fd5d0bcf: Waiting 15:17:15 6ad1cebc031e: Waiting 15:17:15 8a3aa393b2d8: Waiting 15:17:15 114826534d7a: Waiting 15:17:15 25bc292e5bac: Verifying Checksum 15:17:15 25bc292e5bac: Download complete 15:17:15 52dc419b0ee2: Download complete 15:17:15 4657fd5d0bcf: Download complete 15:17:15 df9b9388f04a: Download complete 15:17:15 df9b9388f04a: Pull complete 15:17:16 6ad1cebc031e: Verifying Checksum 15:17:16 6ad1cebc031e: Download complete 15:17:16 52dc419b0ee2: Pull complete 15:17:16 25bc292e5bac: Pull complete 15:17:16 8a3aa393b2d8: Verifying Checksum 15:17:16 8a3aa393b2d8: Download complete 15:17:16 114826534d7a: Verifying Checksum 15:17:16 114826534d7a: Download complete 15:17:20 114826534d7a: Pull complete 15:17:20 4657fd5d0bcf: Pull complete 15:17:20 6ad1cebc031e: Pull complete 15:17:23 8a3aa393b2d8: Pull complete 15:17:23 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:17:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:17:23 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:23 prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container 15:17:23 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:17:28 $ docker top 183550e15f5d7c2f818eda4a12c13d37c3849036e0d0fba704413c9bed078a57 -eo pid,comm [Pipeline] { [Pipeline] echo 15:17:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:levski' [Pipeline] sh 15:17:28 + set -o pipefail 15:17:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:levski' 15:17:35 15:17:35 Monitoring /w/workspace/dgexfoundry_device-sdk-go_levski (github.com/edgexfoundry/device-sdk-go/v2)... 15:17:35 15:17:35 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/7f96d442-1b96-43d8-af02-66b3b682a0df/history/fd185dbb-e0cd-4e3e-ad2e-81fcb9b63242 15:17:35 15:17:35 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:17:35 15:17:35 15:17:35 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:17:35 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:17:35 More details here: https://snyk.co/ue1NS [Pipeline] } 15:17:35 $ docker stop --time=1 183550e15f5d7c2f818eda4a12c13d37c3849036e0d0fba704413c9bed078a57 15:17:38 $ docker rm -f --volumes 183550e15f5d7c2f818eda4a12c13d37c3849036e0d0fba704413c9bed078a57 [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 15:17:38 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:17:38 provisioning config files... 15:17:38 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config1924514086651097541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:17:39 --> edgex-publish-swagger.sh 15:17:39 === Publish openapi/v2 API === 15:17:39 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 15:17:39 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_levski/openapi/v2/device-sdk.yaml] 15:17:39 % Total % Received % Xferd Average Speed Time Time Time Current 15:17:39 Dload Upload Total Spent Left Speed 15:17:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 95628 --:--:-- --:--:-- --:--:-- 95458 100 53552 0 0 100 53552 0 95458 --:--:-- --:--:-- --:--:-- 95288 15:17:39 15:17:39 [Pipeline] } 15:17:39 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 15:17:40 + git log --format=format:%s -1 4d4ffc7f0ee169f2ec60c154b7997c4d4af0adb7 [Pipeline] sh 15:17:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:17:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:17:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:40 prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container 15:17:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:17:41 $ docker top 968289a2c34b862111d2d3babd4ba91b1baa6aa1fb16bdaad116ddec4d8bbbe9 -eo pid,comm 15:17:41 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:17:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:17:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:17:41 [ssh-agent] Looking for ssh-agent implementation... 15:17:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:17:41 $ docker exec 968289a2c34b862111d2d3babd4ba91b1baa6aa1fb16bdaad116ddec4d8bbbe9 ssh-agent 15:17:41 SSH_AUTH_SOCK=/tmp/ssh-cxYHq5o6fmp3/agent.32 15:17:41 SSH_AGENT_PID=38 15:17:41 Running ssh-add (command line suppressed) 15:17:41 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_5685023376430125480.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_5685023376430125480.key) 15:17:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:17:41 + git semver tag 15:17:42 2023-03-07 15:17:42,181 [run_tag] DEBUG tag force:False 15:17:42 2023-03-07 15:17:42,181 [check_head_tag] DEBUG check head tag 15:17:42 2023-03-07 15:17:42,184 [execute] INFO git cat-file --batch-check 15:17:42 2023-03-07 15:17:42,184 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=) 15:17:42 2023-03-07 15:17:42,188 [execute] INFO git cat-file --batch 15:17:42 2023-03-07 15:17:42,188 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=) 15:17:42 2023-03-07 15:17:42,218 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 15:17:42 2023-03-07 15:17:42,219 [execute] INFO git tag -a v0.0.0 -m v0.0.0 15:17:42 2023-03-07 15:17:42,219 [execute] DEBUG Popen(['git', 'tag', '-a', 'v0.0.0', '-m', 'v0.0.0'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=None) 15:17:42 2023-03-07 15:17:42,222 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 15:17:42 0.0.0 [Pipeline] } 15:17:42 $ docker exec --env ******** --env ******** 968289a2c34b862111d2d3babd4ba91b1baa6aa1fb16bdaad116ddec4d8bbbe9 ssh-agent -k 15:17:42 unset SSH_AUTH_SOCK; 15:17:42 unset SSH_AGENT_PID; 15:17:42 echo Agent pid 38 killed; 15:17:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:17:42 + git semver [Pipeline] } 15:17:42 $ docker stop --time=1 968289a2c34b862111d2d3babd4ba91b1baa6aa1fb16bdaad116ddec4d8bbbe9 15:17:44 $ docker rm -f --volumes 968289a2c34b862111d2d3babd4ba91b1baa6aa1fb16bdaad116ddec4d8bbbe9 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:17:44 15:17:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:17:44 0.23.1-centos7: Pulling from edgex-lftools 15:17:44 ab5ef0e58194: Pulling fs layer 15:17:44 9712f1f96733: Pulling fs layer 15:17:44 63f879dbbcfc: Pulling fs layer 15:17:44 0d9ebad4ef96: Pulling fs layer 15:17:44 e9a5061849ea: Pulling fs layer 15:17:44 d747dcd14b5f: Pulling fs layer 15:17:44 2de7ff778b66: Pulling fs layer 15:17:44 d747dcd14b5f: Waiting 15:17:44 0d9ebad4ef96: Waiting 15:17:44 2de7ff778b66: Waiting 15:17:44 e9a5061849ea: Waiting 15:17:44 9712f1f96733: Download complete 15:17:45 63f879dbbcfc: Verifying Checksum 15:17:45 63f879dbbcfc: Download complete 15:17:45 0d9ebad4ef96: Verifying Checksum 15:17:45 0d9ebad4ef96: Download complete 15:17:45 e9a5061849ea: Verifying Checksum 15:17:45 e9a5061849ea: Download complete 15:17:45 d747dcd14b5f: Verifying Checksum 15:17:45 ab5ef0e58194: Verifying Checksum 15:17:45 ab5ef0e58194: Download complete 15:17:45 2de7ff778b66: Verifying Checksum 15:17:45 2de7ff778b66: Download complete 15:17:48 ab5ef0e58194: Pull complete 15:17:48 9712f1f96733: Pull complete 15:17:48 63f879dbbcfc: Pull complete 15:17:53 0d9ebad4ef96: Pull complete 15:17:53 e9a5061849ea: Pull complete 15:17:53 d747dcd14b5f: Pull complete 15:17:53 2de7ff778b66: Pull complete 15:17:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:17:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:17:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:54 prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container 15:17:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:18:00 $ docker top d5526743986f962fff8f41c69f7bba8e294887e6a6df707dfe1fea97ece438fd -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:18:00 provisioning config files... 15:18:00 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config5107043565832809306tmp 15:18:00 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config13046299451033784017tmp 15:18:00 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config10428292352986604275tmp [Pipeline] { [Pipeline] echo 15:18:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:18:01 ---> sigul-configuration.sh 15:18:01 gpg: directory `/root/.gnupg' created 15:18:01 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:18:01 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:18:01 gpg: keyring `/root/.gnupg/secring.gpg' created 15:18:01 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:18:01 gpg: CAST5 encrypted data 15:18:01 gpg: encrypted with 1 passphrase 15:18:01 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:18:01 + mkdir /home/jenkins 15:18:01 + mkdir /home/jenkins/sigul [Pipeline] sh 15:18:01 + 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 15:18:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:18:01 ---> sigul-install.sh 15:18:01 Sigul already installed; skipping installation. [Pipeline] sh 15:18:02 + git tag --list 15:18:02 0.7.1 15:18:02 delhi-tag 15:18:02 v0.0.0 15:18:02 v1.0.0 15:18:02 v1.1.0 15:18:02 v1.1.1 15:18:02 v1.1.2 15:18:02 v1.2.0 15:18:02 v1.2.1 15:18:02 v1.2.2 15:18:02 v1.2.3 15:18:02 v1.3.0 15:18:02 v1.4.0 15:18:02 v2.0.0 15:18:02 v2.1.0 15:18:02 v2.1.1 15:18:02 v2.1.1-dev.2 15:18:02 v2.1.1-dev.3 15:18:02 v2.2.0 15:18:02 v2.2.1-dev.1 15:18:02 v2.2.1-dev.10 15:18:02 v2.2.1-dev.11 15:18:02 v2.2.1-dev.12 15:18:02 v2.2.1-dev.13 15:18:02 v2.2.1-dev.14 15:18:02 v2.2.1-dev.2 15:18:02 v2.2.1-dev.3 15:18:02 v2.2.1-dev.4 15:18:02 v2.2.1-dev.5 15:18:02 v2.2.1-dev.6 15:18:02 v2.2.1-dev.7 15:18:02 v2.2.1-dev.8 15:18:02 v2.2.1-dev.9 15:18:02 v2.3.0 15:18:02 v2.3.0-dev.14 15:18:02 v2.3.0-dev.15 15:18:02 v2.3.0-dev.16 15:18:02 v2.3.0-dev.17 15:18:02 v2.3.0-dev.18 15:18:02 v2.3.0-dev.19 15:18:02 v2.3.0-dev.20 15:18:02 v2.3.0-dev.21 15:18:02 v2.3.0-dev.22 15:18:02 v2.3.0-dev.23 15:18:02 v2.3.0-dev.24 15:18:02 v2.3.0-dev.25 15:18:02 v2.3.0-dev.26 15:18:02 v2.3.0-dev.27 15:18:02 v2.3.0-dev.28 15:18:02 v2.3.0-dev.29 15:18:02 v2.3.0-dev.30 15:18:02 v2.3.0-dev.31 15:18:02 v2.3.0-dev.32 15:18:02 v2.3.0-dev.33 15:18:02 v2.3.0-dev.34 15:18:02 v2.3.0-dev.35 15:18:02 v2.3.0-dev.36 15:18:02 v2.3.0-dev.37 15:18:02 v2.3.0-dev.38 15:18:02 v2.3.0-dev.39 15:18:02 v2.3.0-dev.40 15:18:02 v2.3.0-dev.41 15:18:02 v2.3.0-dev.42 15:18:02 v2.3.0-dev.43 15:18:02 v2.3.0-dev.44 15:18:02 v2.3.0-dev.45 15:18:02 v2.3.0-dev.46 15:18:02 v2.3.0-dev.47 15:18:02 v2.3.0-dev.48 15:18:02 v2.3.0-dev.49 15:18:02 v2.3.0-dev.50 15:18:02 v2.3.0-dev.51 15:18:02 v2.3.1-dev.1 15:18:02 v2.3.1-dev.2 15:18:02 v3.0.0-dev.1 15:18:02 v3.0.0-dev.10 15:18:02 v3.0.0-dev.11 15:18:02 v3.0.0-dev.12 15:18:02 v3.0.0-dev.13 15:18:02 v3.0.0-dev.14 15:18:02 v3.0.0-dev.15 15:18:02 v3.0.0-dev.16 15:18:02 v3.0.0-dev.17 15:18:02 v3.0.0-dev.18 15:18:02 v3.0.0-dev.19 15:18:02 v3.0.0-dev.2 15:18:02 v3.0.0-dev.20 15:18:02 v3.0.0-dev.21 15:18:02 v3.0.0-dev.22 15:18:02 v3.0.0-dev.23 15:18:02 v3.0.0-dev.24 15:18:02 v3.0.0-dev.25 15:18:02 v3.0.0-dev.26 15:18:02 v3.0.0-dev.27 15:18:02 v3.0.0-dev.28 15:18:02 v3.0.0-dev.29 15:18:02 v3.0.0-dev.3 15:18:02 v3.0.0-dev.30 15:18:02 v3.0.0-dev.31 15:18:02 v3.0.0-dev.32 15:18:02 v3.0.0-dev.33 15:18:02 v3.0.0-dev.34 15:18:02 v3.0.0-dev.35 15:18:02 v3.0.0-dev.36 15:18:02 v3.0.0-dev.37 15:18:02 v3.0.0-dev.38 15:18:02 v3.0.0-dev.39 15:18:02 v3.0.0-dev.4 15:18:02 v3.0.0-dev.40 15:18:02 v3.0.0-dev.41 15:18:02 v3.0.0-dev.42 15:18:02 v3.0.0-dev.43 15:18:02 v3.0.0-dev.44 15:18:02 v3.0.0-dev.45 15:18:02 v3.0.0-dev.5 15:18:02 v3.0.0-dev.6 15:18:02 v3.0.0-dev.7 15:18:02 v3.0.0-dev.8 15:18:02 v3.0.0-dev.9 [Pipeline] sh 15:18:02 + lftools sign git-tag v0.0.0 15:18:03 Signing Git tag with Sigul... 15:18:03 Signing v0.0.0 [Pipeline] echo 15:18:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:18:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:18:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:18:04 $ docker stop --time=1 d5526743986f962fff8f41c69f7bba8e294887e6a6df707dfe1fea97ece438fd 15:18:05 $ docker rm -f --volumes d5526743986f962fff8f41c69f7bba8e294887e6a6df707dfe1fea97ece438fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:18:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:18:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:18:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:06 prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container 15:18:06 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:18:06 $ docker top 761a6b4773b60be79354b1f0df0559c731fc743bff9bc7607daddb028fe2e84c -eo pid,comm 15:18:06 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:18:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:18:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:18:06 [ssh-agent] Looking for ssh-agent implementation... 15:18:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:18:06 $ docker exec 761a6b4773b60be79354b1f0df0559c731fc743bff9bc7607daddb028fe2e84c ssh-agent 15:18:06 SSH_AUTH_SOCK=/tmp/ssh-qJ9j8VlLDagH/agent.32 15:18:06 SSH_AGENT_PID=38 15:18:06 Running ssh-add (command line suppressed) 15:18:06 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_17907389657543985702.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_17907389657543985702.key) 15:18:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:18:07 + git semver bump pre 15:18:07 2023-03-07 15:18:07,320 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 15:18:07 2023-03-07 15:18:07,320 [bump_version] DEBUG bumping version:0.0.0 on axis:pre with prefix:dev 15:18:07 2023-03-07 15:18:07,320 [bump_version] DEBUG bumped version:0.0.1-dev.1 15:18:07 2023-03-07 15:18:07,320 [write_version] DEBUG write version:0.0.1-dev.1 to path:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski with force:True 15:18:07 2023-03-07 15:18:07,321 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 15:18:07 2023-03-07 15:18:07,321 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 15:18:07 2023-03-07 15:18:07,323 [execute] INFO git cat-file --batch-check 15:18:07 2023-03-07 15:18:07,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) 15:18:07 2023-03-07 15:18:07,329 [execute] INFO git cat-file --batch 15:18:07 2023-03-07 15:18:07,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) 15:18:07 2023-03-07 15:18:07,333 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 15:18:07 0.0.1-dev.1 [Pipeline] } 15:18:07 $ docker exec --env ******** --env ******** 761a6b4773b60be79354b1f0df0559c731fc743bff9bc7607daddb028fe2e84c ssh-agent -k 15:18:07 unset SSH_AUTH_SOCK; 15:18:07 unset SSH_AGENT_PID; 15:18:07 echo Agent pid 38 killed; 15:18:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:18:07 + git semver [Pipeline] } 15:18:08 $ docker stop --time=1 761a6b4773b60be79354b1f0df0559c731fc743bff9bc7607daddb028fe2e84c 15:18:09 $ docker rm -f --volumes 761a6b4773b60be79354b1f0df0559c731fc743bff9bc7607daddb028fe2e84c [Pipeline] // withDockerContainer [Pipeline] sh 15:18:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:18:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:18:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:10 prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container 15:18:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:18:10 $ docker top a0bd7948e84fe478f162de28dbd7c1727c2d816c8f036f9b8e9fa20d242e5403 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:18:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:18:10 [ssh-agent] Looking for ssh-agent implementation... 15:18:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:18:10 $ docker exec a0bd7948e84fe478f162de28dbd7c1727c2d816c8f036f9b8e9fa20d242e5403 ssh-agent 15:18:10 SSH_AUTH_SOCK=/tmp/ssh-iEaZRzUJ58Or/agent.31 15:18:10 SSH_AGENT_PID=37 15:18:10 Running ssh-add (command line suppressed) 15:18:10 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_2028252021393693952.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_2028252021393693952.key) 15:18:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:18:11 + git semver push 15:18:11 2023-03-07 15:18:11,222 [run_push] DEBUG push 15:18:11 2023-03-07 15:18:11,222 [execute] INFO git cat-file --batch-check 15:18:11 2023-03-07 15:18:11,223 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) 15:18:11 2023-03-07 15:18:11,227 [execute] INFO git rev-list 643413e10494bcbcb4823a8a0af32c1fa00d6649 -- 15:18:11 2023-03-07 15:18:11,227 [execute] DEBUG Popen(['git', 'rev-list', '643413e10494bcbcb4823a8a0af32c1fa00d6649', '--'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=None) 15:18:11 2023-03-07 15:18:11,240 [execute] INFO git fetch -v origin 15:18:11 2023-03-07 15:18:11,240 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=True, shell=None, istream=None) 15:18:11 2023-03-07 15:18:11,660 [run_push] DEBUG no remote changes detected 15:18:11 2023-03-07 15:18:11,660 [execute] INFO git push origin semver 15:18:11 2023-03-07 15:18:11,660 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=None) 15:18:12 2023-03-07 15:18:12,720 [run_push] DEBUG push all version tags 15:18:12 2023-03-07 15:18:12,721 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:18:12 2023-03-07 15:18:12,721 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=None) 15:18:14 2023-03-07 15:18:13,772 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 15:18:14 0.0.1-dev.1 [Pipeline] } 15:18:14 $ docker exec --env ******** --env ******** a0bd7948e84fe478f162de28dbd7c1727c2d816c8f036f9b8e9fa20d242e5403 ssh-agent -k 15:18:14 unset SSH_AUTH_SOCK; 15:18:14 unset SSH_AGENT_PID; 15:18:14 echo Agent pid 37 killed; 15:18:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:18:14 + git semver [Pipeline] } 15:18:14 $ docker stop --time=1 a0bd7948e84fe478f162de28dbd7c1727c2d816c8f036f9b8e9fa20d242e5403 15:18:16 $ docker rm -f --volumes a0bd7948e84fe478f162de28dbd7c1727c2d816c8f036f9b8e9fa20d242e5403 [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 15:18:16 + [ -d /w/workspace/dgexfoundry_device-sdk-go_levski/archives ] 15:18:16 + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives 15:18:16 total 16 15:18:16 drwxr-xr-x 3 root root 4096 Mar 7 15:08 . 15:18:16 drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 15:18 .. 15:18:16 drwxr-xr-x 2 root root 4096 Mar 7 15:08 cost 15:18:16 -rw-r--r-- 1 root root 85 Mar 7 15:08 cost.csv 15:18:16 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_device-sdk-go_levski/archives 15:18:16 + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives 15:18:16 total 16 15:18:16 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 15:08 . 15:18:16 drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 15:18 .. 15:18:16 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 15:08 cost 15:18:16 -rw-r--r-- 1 jenkins jenkins 85 Mar 7 15:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:18:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:18:17 ---> package-listing.sh 15:18:17 ++ facter osfamily 15:18:17 ++ tr '[:upper:]' '[:lower:]' 15:18:18 + OS_FAMILY=debian 15:18:18 + workspace=/w/workspace/dgexfoundry_device-sdk-go_levski 15:18:18 + START_PACKAGES=/tmp/packages_start.txt 15:18:18 + END_PACKAGES=/tmp/packages_end.txt 15:18:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:18:18 + PACKAGES=/tmp/packages_start.txt 15:18:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' 15:18:18 + PACKAGES=/tmp/packages_end.txt 15:18:18 + case "${OS_FAMILY}" in 15:18:18 + dpkg -l 15:18:18 + grep '^ii' 15:18:18 + '[' -f /tmp/packages_start.txt ']' 15:18:18 + '[' -f /tmp/packages_end.txt ']' 15:18:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:18:18 + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' 15:18:18 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_levski/archives/ 15:18:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_levski/archives/ [Pipeline] echo 15:18:18 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/dgexfoundry_device-sdk-go_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:18:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:18:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:18:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:18:19 prd-ubuntu20.04-docker-8c-8g-8558 does not seem to be running inside a container 15:18:19 $ 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/dgexfoundry_device-sdk-go_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:18:19 $ docker top 04792a861420f217928748d4dd43d4b27eea75852e7d999ce93c68f96260c023 -eo pid,comm [Pipeline] { [Pipeline] sh 15:18:19 + touch /tmp/pre-build-complete [Pipeline] sh 15:18:19 + mkdir -p /var/log/sysstat [Pipeline] sh 15:18:20 + ls /var/log/sa-host 15:18:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:18:20 provisioning config files... 15:18:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config18192723447664115802tmp [Pipeline] { [Pipeline] echo 15:18:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:18:20 ---> create-netrc.sh [Pipeline] } 15:18:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:18:20 ---> python-tools-install.sh [Pipeline] echo 15:18:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:18:21 ---> sudo-logs.sh 15:18:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:18:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:18:21 ---> job-cost.sh 15:18:21 lf-activate-venv: SKIPPING 15:18:21 DEBUG: total: 0.2199999988079071 15:18:21 INFO: Retrieving Stack Cost... 15:18:22 INFO: Retrieving Pricing Info for: v3-standard-8 15:18:22 INFO: Archiving Costs [Pipeline] echo 15:18:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:18:22 ---> logs-deploy.sh 15:18:22 lf-activate-venv: SKIPPING 15:18:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/levski/2 15:18:22 INFO: archiving workspace using pattern(s): 15:18:23 Archives upload complete. 15:18:23 INFO: archiving logs to Nexus