Push event to branch levski Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b76771b07adf0b8c2e38dd8a749adeac8b55b549 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-ssh9292457492191652935.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-ssh12860561846618458751.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh2952559854045001370.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh2995605469916668429.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh9641546775682934984.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/levski/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh10508231523762777247.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-7648 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 b76771b07adf0b8c2e38dd8a749adeac8b55b549 (levski) Commit message: "Merge pull request #1257 from lenny-intel/released-go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 > 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 b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:04:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:04:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:04:06 ========================================================= 21:04:06 EdgeX Global Pipelines Version Info 21:04:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:04:07 ------------------- 21:04:07 stable info: 21:04:07 ------------------- 21:04:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:04:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:04:07 Message: update stable to v1.0.244 21:04:08 ------------------- 21:04:08 experimental info: 21:04:08 ------------------- 21:04:08 Commited By: **** collab-it+edgex@linuxfoundation.org 21:04:08 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:04:08 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:04:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b76771b07adf0b8c2e38dd8a749adeac8b55b549 [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b76771b [Pipeline] echo 21:04:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:04:09 provisioning config files... 21:04:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config1969916455324172392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:10 ---> docker-login.sh 21:04:10 nexus3.edgexfoundry.org:10001 21:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:10 Configure a credential helper to remove this warning. See 21:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:10 21:04:10 Login Succeeded 21:04:10 nexus3.edgexfoundry.org:10002 21:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:10 Configure a credential helper to remove this warning. See 21:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:10 21:04:10 Login Succeeded 21:04:10 nexus3.edgexfoundry.org:10003 21:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:10 Configure a credential helper to remove this warning. See 21:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:10 21:04:10 Login Succeeded 21:04:10 nexus3.edgexfoundry.org:10004 21:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:10 Configure a credential helper to remove this warning. See 21:04:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:10 21:04:10 Login Succeeded 21:04:10 docker.io 21:04:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:11 Configure a credential helper to remove this warning. See 21:04:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:11 21:04:11 Login Succeeded 21:04:11 ---> docker-login.sh ends [Pipeline] } 21:04:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:04:11 + git rev-list -1 --merges b76771b07adf0b8c2e38dd8a749adeac8b55b549~1..b76771b07adf0b8c2e38dd8a749adeac8b55b549 [Pipeline] echo 21:04:11 -----------> git rev-list -1 --merges b76771b07adf0b8c2e38dd8a749adeac8b55b549~1..b76771b07adf0b8c2e38dd8a749adeac8b55b549 b76771b07adf0b8c2e38dd8a749adeac8b55b549 21:04:11 b76771b07adf0b8c2e38dd8a749adeac8b55b549 [false] [Pipeline] sh 21:04:12 + git log --format=format:%s -1 b76771b07adf0b8c2e38dd8a749adeac8b55b549 [Pipeline] echo 21:04:12 ========================================================= 21:04:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:04:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:04:12 + git log --format=format:%s -1 b76771b07adf0b8c2e38dd8a749adeac8b55b549 [Pipeline] echo 21:04:12 [semverPrep] GIT_COMMIT: b76771b07adf0b8c2e38dd8a749adeac8b55b549, Commit Message: Merge pull request #1257 from lenny-intel/released-go-mods [Pipeline] echo 21:04:12 [semverPrep] This is not a build commit. [Pipeline] sh 21:04:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:04:13 + grep -v github /etc/ssh/ssh_known_hosts 21:04:13 + [ -e /tmp/ssh_known_hosts ] 21:04:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:04:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:04:13 + sudo tee -a /etc/ssh/ssh_known_hosts 21:04:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:13 21:04:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:14 0.1.4: Pulling from edgex-devops/py-git-semver 21:04:14 b85a868b505f: Pulling fs layer 21:04:14 e2be974225ed: Pulling fs layer 21:04:14 339a4e72a1f5: Pulling fs layer 21:04:14 988bab9f4d93: Pulling fs layer 21:04:14 1469e6f7b9e6: Pulling fs layer 21:04:14 eaf3925da568: Pulling fs layer 21:04:14 bab4dde63d76: Pulling fs layer 21:04:14 bde34c3a00c8: Pulling fs layer 21:04:14 b352a97aabf1: Pulling fs layer 21:04:14 4872d77fe225: Pulling fs layer 21:04:14 5851b861e8e6: Pulling fs layer 21:04:14 988bab9f4d93: Waiting 21:04:14 1469e6f7b9e6: Waiting 21:04:14 eaf3925da568: Waiting 21:04:14 bab4dde63d76: Waiting 21:04:14 4872d77fe225: Waiting 21:04:14 bde34c3a00c8: Waiting 21:04:14 b352a97aabf1: Waiting 21:04:14 5851b861e8e6: Waiting 21:04:14 e2be974225ed: Verifying Checksum 21:04:14 e2be974225ed: Download complete 21:04:14 988bab9f4d93: Download complete 21:04:14 1469e6f7b9e6: Verifying Checksum 21:04:14 1469e6f7b9e6: Download complete 21:04:14 339a4e72a1f5: Verifying Checksum 21:04:14 339a4e72a1f5: Download complete 21:04:14 eaf3925da568: Verifying Checksum 21:04:14 eaf3925da568: Download complete 21:04:14 b352a97aabf1: Verifying Checksum 21:04:14 b352a97aabf1: Download complete 21:04:14 4872d77fe225: Verifying Checksum 21:04:14 4872d77fe225: Download complete 21:04:14 5851b861e8e6: Verifying Checksum 21:04:14 5851b861e8e6: Download complete 21:04:14 b85a868b505f: Verifying Checksum 21:04:14 b85a868b505f: Download complete 21:04:14 bab4dde63d76: Verifying Checksum 21:04:14 bab4dde63d76: Download complete 21:04:15 b85a868b505f: Pull complete 21:04:15 e2be974225ed: Pull complete 21:04:16 339a4e72a1f5: Pull complete 21:04:16 988bab9f4d93: Pull complete 21:04:16 1469e6f7b9e6: Pull complete 21:04:16 eaf3925da568: Pull complete 21:04:18 bab4dde63d76: Pull complete 21:04:18 bde34c3a00c8: Pull complete 21:04:18 b352a97aabf1: Pull complete 21:04:18 4872d77fe225: Pull complete 21:04:18 5851b861e8e6: Pull complete 21:04:18 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:04:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:04:18 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:04:18 prd-ubuntu20.04-docker-8c-8g-7648 does not seem to be running inside a container 21:04:18 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:04:21 $ docker top fe41038652fb1db9ace6d3b93f04d5c86b8089726f84397d6412e1cadaac76ac -eo pid,comm 21:04:21 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). 21:04:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:04:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:21 [ssh-agent] Looking for ssh-agent implementation... 21:04:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:21 $ docker exec fe41038652fb1db9ace6d3b93f04d5c86b8089726f84397d6412e1cadaac76ac ssh-agent 21:04:21 SSH_AUTH_SOCK=/tmp/ssh-uohJOMPUxafW/agent.32 21:04:21 SSH_AGENT_PID=38 21:04:21 Running ssh-add (command line suppressed) 21:04:21 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_11360541207134352866.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_11360541207134352866.key) 21:04:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:21 + git tag --points-at HEAD [Pipeline] } 21:04:21 $ docker exec --env ******** --env ******** fe41038652fb1db9ace6d3b93f04d5c86b8089726f84397d6412e1cadaac76ac ssh-agent -k 21:04:22 unset SSH_AUTH_SOCK; 21:04:22 unset SSH_AGENT_PID; 21:04:22 echo Agent pid 38 killed; 21:04:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 21:04:22 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.3.0|v2.3.0-dev.51' [Pipeline] sshagent 21:04:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:04:22 [ssh-agent] Looking for ssh-agent implementation... 21:04:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:04:22 $ docker exec fe41038652fb1db9ace6d3b93f04d5c86b8089726f84397d6412e1cadaac76ac ssh-agent 21:04:22 SSH_AUTH_SOCK=/tmp/ssh-mw3uXqUlxZGZ/agent.69 21:04:22 SSH_AGENT_PID=75 21:04:22 Running ssh-add (command line suppressed) 21:04:22 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_6500100425772329362.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_6500100425772329362.key) 21:04:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:04:22 + git semver init 21:04:23 2023-02-27 21:04:23,028 [run_init] DEBUG init version:0.0.0 force:False 21:04:23 2023-02-27 21:04:23,028 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver 21:04:23 2023-02-27 21:04:23,029 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/dgexfoundry_device-sdk-go_levski/.semver 21:04:23 2023-02-27 21:04:23,029 [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) 21:04:24 2023-02-27 21:04:24,017 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.git/info/exclude 21:04:24 2023-02-27 21:04:24,018 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski with force:False 21:04:24 2023-02-27 21:04:24,018 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 21:04:24 2023-02-27 21:04:24,023 [execute] INFO git cat-file --batch-check 21:04:24 2023-02-27 21:04:24,023 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) 21:04:24 2023-02-27 21:04:24,030 [execute] INFO git cat-file --batch 21:04:24 2023-02-27 21:04:24,030 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) 21:04:24 2023-02-27 21:04:24,035 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 21:04:24 0.0.0 [Pipeline] } 21:04:24 $ docker exec --env ******** --env ******** fe41038652fb1db9ace6d3b93f04d5c86b8089726f84397d6412e1cadaac76ac ssh-agent -k 21:04:24 unset SSH_AUTH_SOCK; 21:04:24 unset SSH_AGENT_PID; 21:04:24 echo Agent pid 75 killed; 21:04:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:04:24 + git semver [Pipeline] } 21:04:25 $ docker stop --time=1 fe41038652fb1db9ace6d3b93f04d5c86b8089726f84397d6412e1cadaac76ac 21:04:26 $ docker rm -f --volumes fe41038652fb1db9ace6d3b93f04d5c86b8089726f84397d6412e1cadaac76ac [Pipeline] // withDockerContainer [Pipeline] sh 21:04:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:04:27 Stashed 1 file(s) [Pipeline] echo 21:04:27 [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 21:04:27 provisioning config files... 21:04:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config8078573744801278613tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:04:28 ---> docker-login.sh 21:04:28 nexus3.edgexfoundry.org:10001 21:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:28 Configure a credential helper to remove this warning. See 21:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:28 21:04:28 Login Succeeded 21:04:28 nexus3.edgexfoundry.org:10002 21:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:28 Configure a credential helper to remove this warning. See 21:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:28 21:04:28 Login Succeeded 21:04:28 nexus3.edgexfoundry.org:10003 21:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:28 Configure a credential helper to remove this warning. See 21:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:28 21:04:28 Login Succeeded 21:04:28 nexus3.edgexfoundry.org:10004 21:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:28 Configure a credential helper to remove this warning. See 21:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:28 21:04:28 Login Succeeded 21:04:28 docker.io 21:04:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:04:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:04:28 Configure a credential helper to remove this warning. See 21:04:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:04:28 21:04:28 Login Succeeded 21:04:28 ---> docker-login.sh ends [Pipeline] } 21:04:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:04:28 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:28 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:04:28 ========================================================= 21:04:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:04:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:04:29 + 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 . 21:04:29 Sending build context to Docker daemon 10.6MB 21:04:29 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:04:29 Step 2/10 : FROM ${BASE} AS builder 21:04:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:04:29 213ec9aee27d: Pulling fs layer 21:04:29 4583459ba037: Pulling fs layer 21:04:29 93c1e223e6f2: Pulling fs layer 21:04:29 53926ce57604: Pulling fs layer 21:04:29 21b2b0c7a3f4: Pulling fs layer 21:04:29 22ff95d597cd: Pulling fs layer 21:04:29 12d6caf4c0d1: Pulling fs layer 21:04:29 96b7cbca73a9: Pulling fs layer 21:04:29 a7acece74701: Pulling fs layer 21:04:29 21b2b0c7a3f4: Waiting 21:04:29 53926ce57604: Waiting 21:04:29 12d6caf4c0d1: Waiting 21:04:29 22ff95d597cd: Waiting 21:04:29 a7acece74701: Waiting 21:04:29 93c1e223e6f2: Verifying Checksum 21:04:29 93c1e223e6f2: Download complete 21:04:29 4583459ba037: Verifying Checksum 21:04:29 4583459ba037: Download complete 21:04:29 21b2b0c7a3f4: Verifying Checksum 21:04:29 21b2b0c7a3f4: Download complete 21:04:29 22ff95d597cd: Verifying Checksum 21:04:29 22ff95d597cd: Download complete 21:04:29 213ec9aee27d: Verifying Checksum 21:04:29 12d6caf4c0d1: Verifying Checksum 21:04:29 12d6caf4c0d1: Download complete 21:04:29 213ec9aee27d: Pull complete 21:04:29 4583459ba037: Pull complete 21:04:29 93c1e223e6f2: Pull complete 21:04:30 a7acece74701: Verifying Checksum 21:04:30 a7acece74701: Download complete 21:04:30 96b7cbca73a9: Verifying Checksum 21:04:30 96b7cbca73a9: Download complete 21:04:30 53926ce57604: Verifying Checksum 21:04:30 53926ce57604: Download complete 21:04:34 53926ce57604: Pull complete 21:04:34 21b2b0c7a3f4: Pull complete 21:04:34 22ff95d597cd: Pull complete 21:04:34 12d6caf4c0d1: Pull complete 21:04:36 96b7cbca73a9: Pull complete 21:04:37 a7acece74701: Pull complete 21:04:37 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:04:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:04:37 ---> db6d94c90886 21:04:37 Step 3/10 : ARG MAKE=make build 21:04:41 ---> Running in 5217c3d32d95 21:04:41 Removing intermediate container 5217c3d32d95 21:04:41 ---> 370fa17a6448 21:04:41 Step 4/10 : WORKDIR /device-sdk-go 21:04:41 ---> Running in 18e76f8e03ad 21:04:41 Removing intermediate container 18e76f8e03ad 21:04:41 ---> 97d435f3382f 21:04:41 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:04:41 ---> Running in 009995b00961 21:04:41 Removing intermediate container 009995b00961 21:04:41 ---> d5c6042316ce 21:04:41 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:04:41 ---> Running in b391aa626238 21:04:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:04:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:04:41 OK: 211 MiB in 51 packages 21:04:42 Removing intermediate container b391aa626238 21:04:42 ---> 16e75738e233 21:04:42 Step 7/10 : COPY go.mod vendor* ./ 21:04:42 ---> b8fd2207670c 21:04:42 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:04:42 ---> Running in 48fcca472f4c 21:04:42 Still waiting to schedule task 21:04:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:05:08 Removing intermediate container 48fcca472f4c 21:05:08 ---> ef8321609ee2 21:05:08 Step 9/10 : COPY . . 21:05:08 ---> 1e706a011fef 21:05:08 Step 10/10 : RUN ${MAKE} 21:05:08 ---> Running in b706d8494c5e 21:05:09 noop 21:05:09 Removing intermediate container b706d8494c5e 21:05:09 ---> 795565e4151a 21:05:09 Successfully built 795565e4151a 21:05:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:09 + docker inspect -f . ci-base-image-x86_64 21:05:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:10 prd-ubuntu20.04-docker-8c-8g-7648 does not seem to be running inside a container 21:05:10 $ 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 ******** ci-base-image-x86_64 cat 21:05:10 $ docker top b78a59d9bb50eee16eef0b08299301981621ef9d983b14f2d21f72e70fe55f64 -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:10 + go version 21:05:10 go version go1.18.7 linux/amd64 [Pipeline] } 21:05:10 $ docker stop --time=1 b78a59d9bb50eee16eef0b08299301981621ef9d983b14f2d21f72e70fe55f64 21:05:12 $ docker rm -f --volumes b78a59d9bb50eee16eef0b08299301981621ef9d983b14f2d21f72e70fe55f64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:12 + docker inspect -f . ci-base-image-x86_64 21:05:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:12 prd-ubuntu20.04-docker-8c-8g-7648 does not seem to be running inside a container 21:05:12 $ 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 ******** ci-base-image-x86_64 cat 21:05:13 $ docker top 104acbc1ec0a8fae187635eb71b100e0cdcc8ffb72ecd72094ad8a476fb5ccf0 -eo pid,comm [Pipeline] { [Pipeline] sh 21:05:13 + git config --global --add safe.directory /w/workspace/dgexfoundry_device-sdk-go_levski [Pipeline] fileExists [Pipeline] sh 21:05:14 + make test 21:05:14 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:05:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:05:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:05:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:05:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:05:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 21:05:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:05:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements 21:05:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.059s coverage: 78.9% of statements 21:05:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 21:05:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.087s coverage: 73.1% of statements 21:05:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:05:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:05:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements 21:05:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:05:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 21:05:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:05:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:05:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 65.1% of statements 21:05:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 21:05:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:05:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.743s coverage: 89.2% of statements 21:05:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:05:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 21:05:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:05:47 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." 21:05:47 GO111MODULE=on go vet ./... 21:05:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:05:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:05:50 ./bin/test-attribution-txt.sh 21:05:50 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 21:05:50 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:05:50 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:05:50 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:05:50 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:05:50 $ docker stop --time=1 104acbc1ec0a8fae187635eb71b100e0cdcc8ffb72ecd72094ad8a476fb5ccf0 21:05:56 $ docker rm -f --volumes 104acbc1ec0a8fae187635eb71b100e0cdcc8ffb72ecd72094ad8a476fb5ccf0 [Pipeline] // withDockerContainer [Pipeline] sh 21:05:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:05:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:05:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:05:58 + ls -al . 21:05:58 total 280 21:05:58 drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 21:05 . 21:05:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 21:04 .. 21:05:58 -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 21:04 .dockerignore 21:05:58 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 21:05 .git 21:05:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 21:04 .github 21:05:58 -rw-rw-r-- 1 jenkins jenkins 131 Feb 27 21:04 .gitignore 21:05:58 -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 21:04 .golangci.yml 21:05:58 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 21:04 .semver 21:05:58 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 27 21:04 CHANGELOG.md 21:05:58 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 21:04 GOVERNANCE.md 21:05:58 -rw-rw-r-- 1 jenkins jenkins 880 Feb 27 21:04 Jenkinsfile 21:05:58 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 27 21:04 LICENSE 21:05:58 -rw-rw-r-- 1 jenkins jenkins 2003 Feb 27 21:04 Makefile 21:05:58 -rw-rw-r-- 1 jenkins jenkins 619 Feb 27 21:04 OWNERS.md 21:05:58 -rw-rw-r-- 1 jenkins jenkins 4881 Feb 27 21:04 README.md 21:05:58 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 21:04 VERSION 21:05:58 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 21:04 bin 21:05:58 -rw-r--r-- 1 jenkins jenkins 101759 Feb 27 21:05 coverage.out 21:05:58 drwxrwxr-x 5 jenkins jenkins 4096 Feb 27 21:04 example 21:05:58 -rw-rw-r-- 1 jenkins jenkins 3347 Feb 27 21:04 go.mod 21:05:58 -rw-rw-r-- 1 jenkins jenkins 44423 Feb 27 21:04 go.sum 21:05:58 drwxrwxr-x 14 jenkins jenkins 4096 Feb 27 21:04 internal 21:05:58 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 21:04 openapi 21:05:58 drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 21:04 pkg 21:05:58 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 21:04 snap 21:05:58 -rw-rw-r-- 1 jenkins jenkins 222 Feb 27 21:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:58 + 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=b76771b07adf0b8c2e38dd8a749adeac8b55b549 --label arch=amd64 --label version=0.0.0 . 21:05:58 Sending build context to Docker daemon 10.7MB 21:05:58 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 21:05:58 Step 2/23 : FROM ${BASE} AS builder 21:05:58 ---> 795565e4151a 21:05:58 Step 3/23 : ARG MAKE=make build 21:05:58 ---> Running in 9ab0386076b4 21:05:58 Removing intermediate container 9ab0386076b4 21:05:58 ---> 9bd92d9721f1 21:05:58 Step 4/23 : WORKDIR /device-sdk-go 21:05:58 ---> Running in 1cfcfe2c83cf 21:05:59 Removing intermediate container 1cfcfe2c83cf 21:05:59 ---> 5451970e721b 21:05:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:05:59 ---> Running in 864d5314f42f 21:05:59 Removing intermediate container 864d5314f42f 21:05:59 ---> 0794cb08c0d7 21:05:59 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:05:59 ---> Running in bb4b15381eab 21:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:05:59 OK: 211 MiB in 51 packages 21:05:59 Removing intermediate container bb4b15381eab 21:05:59 ---> 12ce64fad5ae 21:05:59 Step 7/23 : COPY go.mod vendor* ./ 21:06:00 ---> bf2d39a0f20d 21:06:00 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:06:00 ---> Running in ac178a8aad9d 21:06:00 Removing intermediate container ac178a8aad9d 21:06:00 ---> 2d1ce95eb6c0 21:06:00 Step 9/23 : COPY . . 21:06:01 ---> 6d0e924818c1 21:06:01 Step 10/23 : RUN ${MAKE} 21:06:01 ---> Running in 66188ebb8ffa 21:06:01 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 21:06:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7649 in /w/workspace/dgexfoundry_device-sdk-go_levski [Pipeline] { [Pipeline] ws 21:06:10 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:06:10 The recommended git tool is: git 21:06:15 using credential edgex-jenkins-ssh 21:06:15 Cloning the remote Git repository 21:06:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:06:16 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:06:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:06:16 > git --version # timeout=10 21:06:16 > git --version # 'git version 2.25.1' 21:06:16 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:06:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:06:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:06:18 Avoid second fetch 21:06:18 Checking out Revision b76771b07adf0b8c2e38dd8a749adeac8b55b549 (levski) 21:06:19 Commit message: "Merge pull request #1257 from lenny-intel/released-go-mods" 21:06:19 > git --version # timeout=10 21:06:19 > git --version # 'git version 2.25.1' 21:06:19 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:06:19 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:06:18 > git config core.sparsecheckout # timeout=10 21:06:18 > git checkout -f b76771b07adf0b8c2e38dd8a749adeac8b55b549 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:06:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:06:20 % Total % Received % Xferd Average Speed Time Time Time Current 21:06:20 Dload Upload Total Spent Left Speed 21:06:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 26509 0 --:--:-- --:--:-- --:--:-- 26509 [Pipeline] sh 21:06:21 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:06:21 + sudo tee /etc/docker/daemon.new 21:06:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:06:21 { 21:06:21 "registry-mirrors": [ 21:06:21 "https://nexus3.edgexfoundry.org:10001" 21:06:21 ], 21:06:21 "bip": "10.250.0.254/24", 21:06:21 "hosts": [ 21:06:21 "tcp://0.0.0.0:5555", 21:06:21 "unix:///var/run/docker.sock" 21:06:21 ], 21:06:21 "mtu": 1458, 21:06:21 "selinux-enabled": true, 21:06:21 "seccomp-profile": "/etc/docker/seccomp.json" 21:06:21 } [Pipeline] sh 21:06:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:06:22 + sudo service docker restart 21:06:24 Removing intermediate container 66188ebb8ffa 21:06:24 ---> d3c09bd0a5d2 21:06:24 Step 11/23 : FROM alpine:3.16 21:06:25 3.16: Pulling from library/alpine 21:06:25 ef5531b6e74e: Pulling fs layer 21:06:25 ef5531b6e74e: Verifying Checksum 21:06:25 ef5531b6e74e: Download complete 21:06:25 ef5531b6e74e: Pull complete 21:06:25 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:06:25 Status: Downloaded newer image for alpine:3.16 21:06:25 ---> dfd21b5a31f5 21:06:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:06:25 ---> Running in 05abed277eb5 21:06:25 Removing intermediate container 05abed277eb5 21:06:25 ---> 67277e782da1 21:06:25 Step 13/23 : RUN apk add --update --no-cache zeromq 21:06:25 ---> Running in 2e910ec7c1ce 21:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:06:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:06:26 (1/5) Installing libgcc (11.2.1_git20220219-r2) 21:06:26 (2/5) Installing libsodium (1.0.18-r0) 21:06:26 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 21:06:26 (4/5) Installing libzmq (4.3.4-r0) 21:06:26 (5/5) Installing zeromq (4.3.4-r0) 21:06:26 Executing busybox-1.35.0-r17.trigger 21:06:26 OK: 8 MiB in 19 packages 21:06:27 Removing intermediate container 2e910ec7c1ce 21:06:27 ---> 92597d8d7fa3 21:06:27 Step 14/23 : WORKDIR / 21:06:27 ---> Running in d4a71e1a41a2 21:06:27 Removing intermediate container d4a71e1a41a2 21:06:27 ---> 99fbc5b2c412 21:06:27 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:06:27 ---> 0b30170e9827 21:06:27 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:06:28 ---> 264e0e96bd10 21:06:28 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:06:28 ---> 25d39b14f3b6 21:06:28 Step 18/23 : EXPOSE 59999 21:06:28 ---> Running in 862acc98b975 21:06:28 Removing intermediate container 862acc98b975 21:06:28 ---> 3bcf03eb46dd 21:06:28 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:06:28 ---> Running in 51acf549586c 21:06:28 Removing intermediate container 51acf549586c 21:06:28 ---> dac3a28dfcdf 21:06:28 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:06:28 ---> Running in ba89dffb1ba3 21:06:28 Removing intermediate container ba89dffb1ba3 21:06:28 ---> bf9b18f6ee3b 21:06:28 Step 21/23 : LABEL arch=amd64 21:06:28 ---> Running in aa12e8509e93 21:06:28 Removing intermediate container aa12e8509e93 21:06:28 ---> d50f5ad1126d 21:06:28 Step 22/23 : LABEL git_sha=b76771b07adf0b8c2e38dd8a749adeac8b55b549 21:06:28 ---> Running in ff8fd9de84af 21:06:28 Removing intermediate container ff8fd9de84af 21:06:28 ---> ba416b202c97 21:06:28 Step 23/23 : LABEL version=0.0.0 21:06:28 ---> Running in dd9799358e95 21:06:28 Removing intermediate container dd9799358e95 21:06:28 ---> d840717f3af8 21:06:28 [Warning] One or more build-args [ARCH] were not consumed 21:06:28 Successfully built d840717f3af8 21:06:28 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 21:06:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:29 21:06:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:30 latest: Pulling from edgex-lftools-log-publisher 21:06:30 5eb5b503b376: Pulling fs layer 21:06:30 5c69ac0246d0: Pulling fs layer 21:06:30 ec43610c2a17: Pulling fs layer 21:06:30 3a2ae6a8a46f: Pulling fs layer 21:06:30 33b1e0a273af: Pulling fs layer 21:06:30 5d3b04190fa2: Pulling fs layer 21:06:30 2f39f015ded8: Pulling fs layer 21:06:30 5d3b04190fa2: Waiting 21:06:30 3a2ae6a8a46f: Waiting 21:06:30 2f39f015ded8: Waiting 21:06:30 33b1e0a273af: Waiting 21:06:30 5c69ac0246d0: Verifying Checksum 21:06:30 5c69ac0246d0: Download complete 21:06:30 3a2ae6a8a46f: Verifying Checksum 21:06:30 3a2ae6a8a46f: Download complete 21:06:30 33b1e0a273af: Verifying Checksum 21:06:30 33b1e0a273af: Download complete 21:06:30 5d3b04190fa2: Verifying Checksum 21:06:30 5d3b04190fa2: Download complete 21:06:30 ec43610c2a17: Verifying Checksum 21:06:30 ec43610c2a17: Download complete 21:06:30 5eb5b503b376: Verifying Checksum 21:06:30 5eb5b503b376: Download complete 21:06:30 2f39f015ded8: Verifying Checksum 21:06:30 2f39f015ded8: Download complete 21:06:31 5eb5b503b376: Pull complete 21:06:31 5c69ac0246d0: Pull complete 21:06:31 ec43610c2a17: Pull complete 21:06:32 3a2ae6a8a46f: Pull complete 21:06:32 33b1e0a273af: Pull complete 21:06:32 5d3b04190fa2: Pull complete 21:06:36 2f39f015ded8: Pull complete 21:06:36 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:36 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:06:36 prd-ubuntu20.04-docker-8c-8g-7648 does not seem to be running inside a container 21:06:36 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:06:42 $ docker top 3031681ac4aef9925079d44a430f3a777ba0308d6cb72078bbaaecf0fbd5944b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] configFileProvider 21:06:42 provisioning config files... 21:06:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3514483161463381308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:43 ---> job-cost.sh 21:06:43 lf-activate-venv: SKIPPING 21:06:43 INFO: No Stack... 21:06:43 ---> docker-login.sh 21:06:43 nexus3.edgexfoundry.org:10001 21:06:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:43 INFO: Retrieving Pricing Info for: v3-standard-8 21:06:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:43 Configure a credential helper to remove this warning. See 21:06:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:43 21:06:43 Login Succeeded 21:06:43 nexus3.edgexfoundry.org:10002 21:06:44 INFO: Archiving Costs [Pipeline] sh 21:06:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:44 Configure a credential helper to remove this warning. See 21:06:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:44 21:06:44 Login Succeeded 21:06:44 nexus3.edgexfoundry.org:10003 21:06:44 + cat /w/workspace/dgexfoundry_device-sdk-go_levski/archives/cost.csv 21:06:44 + cut -d, -f6 [Pipeline] lock 21:06:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-1-stack-cost] 21:06:44 Resource [jenkins-edgexfoundry-device-sdk-go-levski-1-stack-cost] did not exist. Created. 21:06:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:06:44 + echo total: 0.2199999988079071 [Pipeline] stash 21:06:44 Stashed 1 file(s) [Pipeline] } 21:06:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:06:44 $ docker stop --time=1 3031681ac4aef9925079d44a430f3a777ba0308d6cb72078bbaaecf0fbd5944b 21:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:45 Configure a credential helper to remove this warning. See 21:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:45 21:06:45 Login Succeeded 21:06:45 nexus3.edgexfoundry.org:10004 21:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:45 Configure a credential helper to remove this warning. See 21:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:45 21:06:45 Login Succeeded 21:06:45 docker.io 21:06:46 $ docker rm -f --volumes 3031681ac4aef9925079d44a430f3a777ba0308d6cb72078bbaaecf0fbd5944b 21:06:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } 21:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:46 Configure a credential helper to remove this warning. See 21:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:46 21:06:46 Login Succeeded 21:06:46 ---> docker-login.sh ends [Pipeline] // stage [Pipeline] } [Pipeline] } 21:06:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:46 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:46 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:06:46 ========================================================= 21:06:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:06:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:06:47 + 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 . 21:06:47 Sending build context to Docker daemon 5.702MB 21:06:47 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 21:06:47 Step 2/10 : FROM ${BASE} AS builder 21:06:48 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:06:48 9b18e9b68314: Pulling fs layer 21:06:48 35d82f9e3411: Pulling fs layer 21:06:48 e16973657156: Pulling fs layer 21:06:48 fc693d55d65f: Pulling fs layer 21:06:48 7e9fc2657dce: Pulling fs layer 21:06:48 dda99020689f: Pulling fs layer 21:06:48 db1c61fa0a46: Pulling fs layer 21:06:48 891c053d2c06: Pulling fs layer 21:06:48 dda99020689f: Waiting 21:06:48 db1c61fa0a46: Waiting 21:06:48 891c053d2c06: Waiting 21:06:48 fc693d55d65f: Waiting 21:06:48 7e9fc2657dce: Waiting 21:06:48 e16973657156: Download complete 21:06:48 35d82f9e3411: Verifying Checksum 21:06:48 35d82f9e3411: Download complete 21:06:48 7e9fc2657dce: Verifying Checksum 21:06:48 7e9fc2657dce: Download complete 21:06:48 dda99020689f: Verifying Checksum 21:06:48 dda99020689f: Download complete 21:06:48 9b18e9b68314: Verifying Checksum 21:06:48 9b18e9b68314: Pull complete 21:06:49 891c053d2c06: Verifying Checksum 21:06:49 891c053d2c06: Download complete 21:06:49 35d82f9e3411: Pull complete 21:06:49 e16973657156: Pull complete 21:06:50 db1c61fa0a46: Verifying Checksum 21:06:50 db1c61fa0a46: Download complete 21:06:51 fc693d55d65f: Verifying Checksum 21:07:03 fc693d55d65f: Pull complete 21:07:03 7e9fc2657dce: Pull complete 21:07:03 dda99020689f: Pull complete 21:07:11 db1c61fa0a46: Pull complete 21:07:12 891c053d2c06: Pull complete 21:07:12 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:07:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:07:12 ---> f96f9c87975a 21:07:12 Step 3/10 : ARG MAKE=make build 21:07:14 ---> Running in 72e318941bcd 21:07:14 Removing intermediate container 72e318941bcd 21:07:14 ---> 3660e8a4a3c4 21:07:14 Step 4/10 : WORKDIR /device-sdk-go 21:07:14 ---> Running in f46215a27715 21:07:15 Removing intermediate container f46215a27715 21:07:15 ---> 620549dbaad3 21:07:15 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:07:15 ---> Running in df266aeb6d58 21:07:15 Removing intermediate container df266aeb6d58 21:07:15 ---> 543719b597d3 21:07:15 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:07:15 ---> Running in a959ce526e0d 21:07:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:07:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:07:17 OK: 221 MiB in 51 packages 21:07:18 Removing intermediate container a959ce526e0d 21:07:18 ---> 109d6a3e64c1 21:07:18 Step 7/10 : COPY go.mod vendor* ./ 21:07:19 ---> 944b4117f60c 21:07:19 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:07:19 ---> Running in 1d5f4965ddaa 21:08:15 Removing intermediate container 1d5f4965ddaa 21:08:15 ---> 41bec3783c11 21:08:15 Step 9/10 : COPY . . 21:08:16 ---> 618f75d7770a 21:08:16 Step 10/10 : RUN ${MAKE} 21:08:16 ---> Running in 922caa7c34b8 21:08:17 noop 21:08:18 Removing intermediate container 922caa7c34b8 21:08:18 ---> 6b6bbd19087d 21:08:18 Successfully built 6b6bbd19087d 21:08:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:19 + docker inspect -f . ci-base-image-arm64 21:08:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:19 prd-ubuntu20.04-docker-arm64-4c-16g-7649 does not seem to be running inside a container 21:08:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 21:08:20 $ docker top c44264bae6ba39c84568495e97bb186aec5634c45a3573eaaa0e627f8605973f -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:21 + go version 21:08:21 go version go1.18.7 linux/arm64 [Pipeline] } 21:08:21 $ docker stop --time=1 c44264bae6ba39c84568495e97bb186aec5634c45a3573eaaa0e627f8605973f 21:08:23 $ docker rm -f --volumes c44264bae6ba39c84568495e97bb186aec5634c45a3573eaaa0e627f8605973f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:24 + docker inspect -f . ci-base-image-arm64 21:08:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:24 prd-ubuntu20.04-docker-arm64-4c-16g-7649 does not seem to be running inside a container 21:08:24 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 21:08:25 $ docker top ad9d3388b47eee6b20a38ab5400be6efcdde1f784f142d9234a20abbd5b5fce1 -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:29 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 21:08:29 + make test 21:08:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:09:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 21:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:11:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.382s coverage: 27.6% of statements 21:11:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.588s coverage: 78.9% of statements 21:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 21:11:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.858s coverage: 73.1% of statements 21:11:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:11:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:11:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.665s coverage: 54.4% of statements 21:11:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:11:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 21:11:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:11:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:11:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.529s coverage: 65.1% of statements 21:11:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 21:11:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 21:11:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.314s coverage: 89.2% of statements 21:11:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:11:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.275s coverage: 4.7% of statements 21:11:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:11:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:11:22 GO111MODULE=on go vet ./... 21:13:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:13:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:13:14 ./bin/test-attribution-txt.sh 21:13:14 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 21:13:14 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 21:13:14 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 21:13:14 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 21:13:14 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:13:14 $ docker stop --time=1 ad9d3388b47eee6b20a38ab5400be6efcdde1f784f142d9234a20abbd5b5fce1 21:13:16 $ docker rm -f --volumes ad9d3388b47eee6b20a38ab5400be6efcdde1f784f142d9234a20abbd5b5fce1 [Pipeline] // withDockerContainer [Pipeline] sh 21:13:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:13:17 Warning: overwriting stash ‘coverage-report’ 21:13:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:13:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:13:19 + ls -al . 21:13:19 total 276 21:13:19 drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 21:08 . 21:13:19 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 21:06 .. 21:13:19 -rw-rw-r-- 1 jenkins jenkins 140 Feb 27 21:06 .dockerignore 21:13:19 drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 21:06 .git 21:13:19 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 21:06 .github 21:13:19 -rw-rw-r-- 1 jenkins jenkins 131 Feb 27 21:06 .gitignore 21:13:19 -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 21:06 .golangci.yml 21:13:19 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 27 21:06 CHANGELOG.md 21:13:19 -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 21:06 GOVERNANCE.md 21:13:19 -rw-rw-r-- 1 jenkins jenkins 880 Feb 27 21:06 Jenkinsfile 21:13:19 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 27 21:06 LICENSE 21:13:19 -rw-rw-r-- 1 jenkins jenkins 2003 Feb 27 21:06 Makefile 21:13:19 -rw-rw-r-- 1 jenkins jenkins 619 Feb 27 21:06 OWNERS.md 21:13:19 -rw-rw-r-- 1 jenkins jenkins 4881 Feb 27 21:06 README.md 21:13:19 -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 21:04 VERSION 21:13:19 drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 21:06 bin 21:13:19 -rw-r--r-- 1 jenkins jenkins 101759 Feb 27 21:11 coverage.out 21:13:19 drwxrwxr-x 5 jenkins jenkins 4096 Feb 27 21:06 example 21:13:19 -rw-rw-r-- 1 jenkins jenkins 3347 Feb 27 21:06 go.mod 21:13:19 -rw-rw-r-- 1 jenkins jenkins 44423 Feb 27 21:06 go.sum 21:13:19 drwxrwxr-x 14 jenkins jenkins 4096 Feb 27 21:06 internal 21:13:19 drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 21:06 openapi 21:13:19 drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 21:06 pkg 21:13:19 drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 21:06 snap 21:13:19 -rw-rw-r-- 1 jenkins jenkins 222 Feb 27 21:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:13:19 + 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=b76771b07adf0b8c2e38dd8a749adeac8b55b549 --label arch=arm64 --label version=0.0.0 . 21:13:20 Sending build context to Docker daemon 5.804MB 21:13:20 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 21:13:20 Step 2/23 : FROM ${BASE} AS builder 21:13:20 ---> 6b6bbd19087d 21:13:20 Step 3/23 : ARG MAKE=make build 21:13:20 ---> Running in f09f0228ed5d 21:13:20 Removing intermediate container f09f0228ed5d 21:13:20 ---> d6389386d9c6 21:13:20 Step 4/23 : WORKDIR /device-sdk-go 21:13:20 ---> Running in 7bf3de3291bc 21:13:20 Removing intermediate container 7bf3de3291bc 21:13:20 ---> ff29ad88f65f 21:13:20 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:13:21 ---> Running in ae311a534bd9 21:13:21 Removing intermediate container ae311a534bd9 21:13:21 ---> 9c4f11568f3c 21:13:21 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:13:21 ---> Running in 3a6916c22b92 21:13:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:13:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:13:23 OK: 221 MiB in 51 packages 21:13:24 Removing intermediate container 3a6916c22b92 21:13:24 ---> dab995412496 21:13:24 Step 7/23 : COPY go.mod vendor* ./ 21:13:28 ---> 8c1940254dc5 21:13:28 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:13:28 ---> Running in ab2016bbde0d 21:13:30 Removing intermediate container ab2016bbde0d 21:13:30 ---> 24ccc86202a6 21:13:30 Step 9/23 : COPY . . 21:13:31 ---> e15d39f73ad0 21:13:31 Step 10/23 : RUN ${MAKE} 21:13:31 ---> Running in 1df8d4cbef5d 21:13:32 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 21:15:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:15:59 Removing intermediate container 1df8d4cbef5d 21:15:59 ---> c1436bed3f05 21:15:59 Step 11/23 : FROM alpine:3.16 21:15:59 3.16: Pulling from library/alpine 21:15:59 3760b48202b3: Pulling fs layer 21:16:00 3760b48202b3: Verifying Checksum 21:16:00 3760b48202b3: Download complete 21:16:01 3760b48202b3: Pull complete 21:16:01 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:16:01 Status: Downloaded newer image for alpine:3.16 21:16:01 ---> 4c81e5bf8899 21:16:01 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:16:01 ---> Running in 8fd420d6be9a 21:16:02 Removing intermediate container 8fd420d6be9a 21:16:02 ---> 4a709912144f 21:16:02 Step 13/23 : RUN apk add --update --no-cache zeromq 21:16:02 ---> Running in 0bf3a1699e7f 21:16:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:16:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:16:05 (1/5) Installing libgcc (11.2.1_git20220219-r2) 21:16:05 (2/5) Installing libsodium (1.0.18-r0) 21:16:05 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 21:16:05 (4/5) Installing libzmq (4.3.4-r0) 21:16:05 (5/5) Installing zeromq (4.3.4-r0) 21:16:05 Executing busybox-1.35.0-r17.trigger 21:16:05 OK: 8 MiB in 19 packages 21:16:06 Removing intermediate container 0bf3a1699e7f 21:16:06 ---> fcb455f92553 21:16:06 Step 14/23 : WORKDIR / 21:16:06 ---> Running in 6b5bc8795b26 21:16:06 Removing intermediate container 6b5bc8795b26 21:16:06 ---> f0e74eefcb26 21:16:06 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:16:07 ---> 1298fea8909a 21:16:07 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:16:08 ---> 1d01c1adb439 21:16:08 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:16:09 ---> 155d28392a2d 21:16:09 Step 18/23 : EXPOSE 59999 21:16:09 ---> Running in fffdd5371c51 21:16:09 Removing intermediate container fffdd5371c51 21:16:09 ---> ab248c479cda 21:16:09 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:16:09 ---> Running in d0c8bec9c696 21:16:10 Removing intermediate container d0c8bec9c696 21:16:10 ---> cfaba009a59f 21:16:10 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:16:10 ---> Running in b0cdc8cfc7a4 21:16:10 Removing intermediate container b0cdc8cfc7a4 21:16:10 ---> dd55ffe1948d 21:16:10 Step 21/23 : LABEL arch=arm64 21:16:10 ---> Running in 7d219b1cb9ab 21:16:10 Removing intermediate container 7d219b1cb9ab 21:16:10 ---> feeaeccbe58a 21:16:10 Step 22/23 : LABEL git_sha=b76771b07adf0b8c2e38dd8a749adeac8b55b549 21:16:10 ---> Running in 643975e3bc8b 21:16:11 Removing intermediate container 643975e3bc8b 21:16:11 ---> 61617eb3bdf3 21:16:11 Step 23/23 : LABEL version=0.0.0 21:16:11 ---> Running in 46bea9ef71d2 21:16:11 Removing intermediate container 46bea9ef71d2 21:16:11 ---> b2623187c66d 21:16:11 [Warning] One or more build-args [ARCH] were not consumed 21:16:11 Successfully built b2623187c66d 21:16:11 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:12 21:16:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:13 arm64: Pulling from edgex-lftools-log-publisher 21:16:13 8998bd30e6a1: Pulling fs layer 21:16:13 04944245beec: Pulling fs layer 21:16:13 699f458cf7ca: Pulling fs layer 21:16:13 765212b225bb: Pulling fs layer 21:16:13 f23df028b6ca: Pulling fs layer 21:16:13 d65c8cfc05b1: Pulling fs layer 21:16:13 2437ff75d9bd: Pulling fs layer 21:16:13 f23df028b6ca: Waiting 21:16:13 765212b225bb: Waiting 21:16:13 d65c8cfc05b1: Waiting 21:16:13 2437ff75d9bd: Waiting 21:16:13 04944245beec: Verifying Checksum 21:16:13 04944245beec: Download complete 21:16:13 765212b225bb: Download complete 21:16:13 f23df028b6ca: Verifying Checksum 21:16:13 f23df028b6ca: Download complete 21:16:13 d65c8cfc05b1: Verifying Checksum 21:16:13 d65c8cfc05b1: Download complete 21:16:13 699f458cf7ca: Verifying Checksum 21:16:13 699f458cf7ca: Download complete 21:16:14 8998bd30e6a1: Verifying Checksum 21:16:14 8998bd30e6a1: Download complete 21:16:16 2437ff75d9bd: Verifying Checksum 21:16:16 2437ff75d9bd: Download complete 21:16:18 8998bd30e6a1: Pull complete 21:16:18 04944245beec: Pull complete 21:16:19 699f458cf7ca: Pull complete 21:16:20 765212b225bb: Pull complete 21:16:20 f23df028b6ca: Pull complete 21:16:20 d65c8cfc05b1: Pull complete 21:16:35 2437ff75d9bd: Pull complete 21:16:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:16:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:16:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:36 prd-ubuntu20.04-docker-arm64-4c-16g-7649 does not seem to be running inside a container 21:16:36 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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:arm64 cat 21:16:41 $ docker top 1fade8f9a894058dd99220cd8601483e37dc7facc5aec63c269d6a045573d225 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:16:42 ---> job-cost.sh 21:16:42 lf-activate-venv: SKIPPING 21:16:42 INFO: No Stack... 21:16:42 INFO: Retrieving Pricing Info for: v3-standard-4 21:16:43 INFO: Archiving Costs [Pipeline] sh 21:16:44 + cat+ /w/workspace/device-sdk-go/1/archives/cost.csv 21:16:44 cut -d, -f6 [Pipeline] lock 21:16:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-1-stack-cost] 21:16:44 Resource [jenkins-edgexfoundry-device-sdk-go-levski-1-stack-cost] did not exist. Created. 21:16:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:16:45 /w/workspace/device-sdk-go/1@tmp/durable-9281648d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:16:45 + echo total: 0.10999999940395355 [Pipeline] stash 21:16:45 Warning: overwriting stash ‘stack-cost’ 21:16:45 Stashed 1 file(s) [Pipeline] } 21:16:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:16:46 $ docker stop --time=1 1fade8f9a894058dd99220cd8601483e37dc7facc5aec63c269d6a045573d225 21:16:47 $ docker rm -f --volumes 1fade8f9a894058dd99220cd8601483e37dc7facc5aec63c269d6a045573d225 [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 21:16:48 provisioning config files... 21:16:48 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config12055611014496539871tmp [Pipeline] { [Pipeline] sh 21:16:48 + set +x 21:16:48 + + curl -s https://codecov.io/bash 21:16:48 bash -s -- 21:16:48 21:16:48 _____ _ 21:16:48 / ____| | | 21:16:48 | | ___ __| | ___ ___ _____ __ 21:16:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:16:48 | |___| (_) | (_| | __/ (_| (_) \ V / 21:16:48 \_____\___/ \__,_|\___|\___\___/ \_/ 21:16:48 Bash-1.0.6 21:16:48 21:16:48 21:16:48 ==> git version 2.25.1 found 21:16:48 ==> 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 21:16:48 Release-Date: 2020-01-08 21:16:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:16:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:16:48 ==> Jenkins CI detected. 21:16:48 current dir:  /w/workspace/dgexfoundry_device-sdk-go_levski 21:16:48 project root: . 21:16:48 --> token set from env 21:16:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:16:48 ==> Running gcov in . (disable via -X gcov) 21:16:48 ==> Python coveragepy not found 21:16:48 ==> Searching for coverage reports in: 21:16:48 + . 21:16:48 -> Found 1 reports 21:16:48 ==> Detecting git/mercurial file structure 21:16:48 ==> Reading reports 21:16:49 + ./coverage.out bytes=101759 21:16:49 ==> Appending adjustments 21:16:49 https://docs.codecov.io/docs/fixing-reports 21:16:49 + Found adjustments 21:16:49 ==> Gzipping contents 21:16:49 16K /tmp/codecov.sf09Xk.gz 21:16:49 ==> Uploading reports 21:16:49 url: https://codecov.io 21:16:49 query: branch=levski&commit=b76771b07adf0b8c2e38dd8a749adeac8b55b549&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:16:49 -> Pinging Codecov 21:16:49 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=b76771b07adf0b8c2e38dd8a749adeac8b55b549&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:16:49 -> Uploading to 21:16:49 https://storage.googleapis.com/codecov/v4/raw/2023-02-27/7E55EF52A471D76F132DFD9A03CDDE97/b76771b07adf0b8c2e38dd8a749adeac8b55b549/af8b4cad-f1fa-4e59-aefd-93a0dc58780a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T211649Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20caa36e08f88bc964cc46f636d55e73693d15982a4842a8dad574b17c5bcf0e 21:16:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:16:50 Dload Upload Total Spent Left Speed 21:16:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14697 0 0 100 14697 0 36288 --:--:-- --:--:-- --:--:-- 36199 21:16:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b76771b07adf0b8c2e38dd8a749adeac8b55b549 [Pipeline] } 21:16:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:16:50 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:16:50 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:51 21:16:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:16:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:16:51 df9b9388f04a: Pulling fs layer 21:16:51 52dc419b0ee2: Pulling fs layer 21:16:51 25bc292e5bac: Pulling fs layer 21:16:51 114826534d7a: Pulling fs layer 21:16:51 4657fd5d0bcf: Pulling fs layer 21:16:51 6ad1cebc031e: Pulling fs layer 21:16:51 8a3aa393b2d8: Pulling fs layer 21:16:51 114826534d7a: Waiting 21:16:51 4657fd5d0bcf: Waiting 21:16:51 6ad1cebc031e: Waiting 21:16:51 8a3aa393b2d8: Waiting 21:16:51 25bc292e5bac: Verifying Checksum 21:16:51 25bc292e5bac: Download complete 21:16:51 52dc419b0ee2: Download complete 21:16:51 4657fd5d0bcf: Download complete 21:16:51 df9b9388f04a: Verifying Checksum 21:16:51 df9b9388f04a: Download complete 21:16:51 6ad1cebc031e: Verifying Checksum 21:16:51 6ad1cebc031e: Download complete 21:16:51 df9b9388f04a: Pull complete 21:16:52 52dc419b0ee2: Pull complete 21:16:52 114826534d7a: Verifying Checksum 21:16:52 114826534d7a: Download complete 21:16:52 25bc292e5bac: Pull complete 21:16:52 8a3aa393b2d8: Verifying Checksum 21:16:52 8a3aa393b2d8: Download complete 21:16:56 114826534d7a: Pull complete 21:16:56 4657fd5d0bcf: Pull complete 21:16:56 6ad1cebc031e: Pull complete 21:16:58 8a3aa393b2d8: Pull complete 21:16:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:16:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:16:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:16:58 prd-ubuntu20.04-docker-8c-8g-7648 does not seem to be running inside a container 21:16:58 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:17:04 $ docker top 3e20359a17d1d0aa1bbdd5e99e4f39e57a5298c2282e1d7ae7c6339f6686fd74 -eo pid,comm [Pipeline] { [Pipeline] echo 21:17:04 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:levski' [Pipeline] sh 21:17:05 + set -o pipefail 21:17:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:levski' 21:17:11 21:17:11 Monitoring /w/workspace/dgexfoundry_device-sdk-go_levski (github.com/edgexfoundry/device-sdk-go/v2)... 21:17:11 21:17:11 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/7f96d442-1b96-43d8-af02-66b3b682a0df/history/9e6653d4-89e1-49b3-84e8-ffbc1dbefa71 21:17:11 21:17:11 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:17:11 21:17:11 21:17:11 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:17:11 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:17:11 More details here: https://snyk.co/ue1NS [Pipeline] } 21:17:11 $ docker stop --time=1 3e20359a17d1d0aa1bbdd5e99e4f39e57a5298c2282e1d7ae7c6339f6686fd74 21:17:15 $ docker rm -f --volumes 3e20359a17d1d0aa1bbdd5e99e4f39e57a5298c2282e1d7ae7c6339f6686fd74 [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 21:17:16 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:16 provisioning config files... 21:17:16 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config17052892195713762625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:17:17 --> edgex-publish-swagger.sh 21:17:17 === Publish openapi/v2 API === 21:17:17 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 21:17:17 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_levski/openapi/v2/device-sdk.yaml] 21:17:17 % Total % Received % Xferd Average Speed Time Time Time Current 21:17:17 Dload Upload Total Spent Left Speed 21:17:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 91229 --:--:-- --:--:-- --:--:-- 91074 21:17:17 21:17:17 [Pipeline] } 21:17:17 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 21:17:18 + git log --format=format:%s -1 b76771b07adf0b8c2e38dd8a749adeac8b55b549 [Pipeline] sh 21:17:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:17:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:19 prd-ubuntu20.04-docker-8c-8g-7648 does not seem to be running inside a container 21:17:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:17:19 $ docker top 7d644351c95cd4108163971f526fc7bf7c8320d9e412f83257ab6a3e4a9ea807 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:17:19 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.51' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:20 + git semver [Pipeline] } 21:17:20 $ docker stop --time=1 7d644351c95cd4108163971f526fc7bf7c8320d9e412f83257ab6a3e4a9ea807 21:17:21 $ docker rm -f --volumes 7d644351c95cd4108163971f526fc7bf7c8320d9e412f83257ab6a3e4a9ea807 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:17:22 21:17:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:17:22 0.23.1-centos7: Pulling from edgex-lftools 21:17:22 ab5ef0e58194: Pulling fs layer 21:17:22 9712f1f96733: Pulling fs layer 21:17:22 63f879dbbcfc: Pulling fs layer 21:17:22 0d9ebad4ef96: Pulling fs layer 21:17:22 e9a5061849ea: Pulling fs layer 21:17:22 d747dcd14b5f: Pulling fs layer 21:17:22 2de7ff778b66: Pulling fs layer 21:17:22 0d9ebad4ef96: Waiting 21:17:22 d747dcd14b5f: Waiting 21:17:22 2de7ff778b66: Waiting 21:17:22 e9a5061849ea: Waiting 21:17:22 9712f1f96733: Verifying Checksum 21:17:22 9712f1f96733: Download complete 21:17:23 63f879dbbcfc: Verifying Checksum 21:17:23 63f879dbbcfc: Download complete 21:17:23 e9a5061849ea: Verifying Checksum 21:17:23 e9a5061849ea: Download complete 21:17:23 0d9ebad4ef96: Verifying Checksum 21:17:23 0d9ebad4ef96: Download complete 21:17:23 d747dcd14b5f: Download complete 21:17:23 ab5ef0e58194: Verifying Checksum 21:17:23 ab5ef0e58194: Download complete 21:17:23 2de7ff778b66: Verifying Checksum 21:17:23 2de7ff778b66: Download complete 21:17:25 ab5ef0e58194: Pull complete 21:17:25 9712f1f96733: Pull complete 21:17:26 63f879dbbcfc: Pull complete 21:17:29 0d9ebad4ef96: Pull complete 21:17:29 e9a5061849ea: Pull complete 21:17:29 d747dcd14b5f: Pull complete 21:17:30 2de7ff778b66: Pull complete 21:17:30 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:17:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:17:30 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:31 prd-ubuntu20.04-docker-8c-8g-7648 does not seem to be running inside a container 21:17:31 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:17:36 $ docker top 5352a98281e2cd903bfcfa4221369277f73f0de5894dc8872cace16b1e8280f9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:17:37 provisioning config files... 21:17:37 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config5882467685242337837tmp 21:17:37 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config11703435288441133902tmp 21:17:37 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config3989805368693477696tmp [Pipeline] { [Pipeline] echo 21:17:37 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:17:37 ---> sigul-configuration.sh 21:17:37 gpg: directory `/root/.gnupg' created 21:17:37 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:17:37 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:17:37 gpg: keyring `/root/.gnupg/secring.gpg' created 21:17:37 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:17:37 gpg: CAST5 encrypted data 21:17:37 gpg: encrypted with 1 passphrase 21:17:37 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:17:37 + mkdir /home/jenkins 21:17:37 + mkdir /home/jenkins/sigul [Pipeline] sh 21:17:38 + 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 21:17:38 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:17:38 ---> sigul-install.sh 21:17:38 Sigul already installed; skipping installation. [Pipeline] sh 21:17:38 + git tag --list 21:17:38 0.7.1 21:17:38 delhi-tag 21:17:38 v1.0.0 21:17:38 v1.1.0 21:17:38 v1.1.1 21:17:38 v1.1.2 21:17:38 v1.2.0 21:17:38 v1.2.1 21:17:38 v1.2.2 21:17:38 v1.2.3 21:17:38 v1.3.0 21:17:38 v1.4.0 21:17:38 v2.0.0 21:17:38 v2.1.0 21:17:38 v2.1.1 21:17:38 v2.1.1-dev.2 21:17:38 v2.1.1-dev.3 21:17:38 v2.2.0 21:17:38 v2.2.1-dev.1 21:17:38 v2.2.1-dev.10 21:17:38 v2.2.1-dev.11 21:17:38 v2.2.1-dev.12 21:17:38 v2.2.1-dev.13 21:17:38 v2.2.1-dev.14 21:17:38 v2.2.1-dev.2 21:17:38 v2.2.1-dev.3 21:17:38 v2.2.1-dev.4 21:17:38 v2.2.1-dev.5 21:17:38 v2.2.1-dev.6 21:17:38 v2.2.1-dev.7 21:17:38 v2.2.1-dev.8 21:17:38 v2.2.1-dev.9 21:17:38 v2.3.0 21:17:38 v2.3.0-dev.14 21:17:38 v2.3.0-dev.15 21:17:38 v2.3.0-dev.16 21:17:38 v2.3.0-dev.17 21:17:38 v2.3.0-dev.18 21:17:38 v2.3.0-dev.19 21:17:38 v2.3.0-dev.20 21:17:38 v2.3.0-dev.21 21:17:38 v2.3.0-dev.22 21:17:38 v2.3.0-dev.23 21:17:38 v2.3.0-dev.24 21:17:38 v2.3.0-dev.25 21:17:38 v2.3.0-dev.26 21:17:38 v2.3.0-dev.27 21:17:38 v2.3.0-dev.28 21:17:38 v2.3.0-dev.29 21:17:38 v2.3.0-dev.30 21:17:38 v2.3.0-dev.31 21:17:38 v2.3.0-dev.32 21:17:38 v2.3.0-dev.33 21:17:38 v2.3.0-dev.34 21:17:38 v2.3.0-dev.35 21:17:38 v2.3.0-dev.36 21:17:38 v2.3.0-dev.37 21:17:38 v2.3.0-dev.38 21:17:38 v2.3.0-dev.39 21:17:38 v2.3.0-dev.40 21:17:38 v2.3.0-dev.41 21:17:38 v2.3.0-dev.42 21:17:38 v2.3.0-dev.43 21:17:38 v2.3.0-dev.44 21:17:38 v2.3.0-dev.45 21:17:38 v2.3.0-dev.46 21:17:38 v2.3.0-dev.47 21:17:38 v2.3.0-dev.48 21:17:38 v2.3.0-dev.49 21:17:38 v2.3.0-dev.50 21:17:38 v2.3.0-dev.51 21:17:38 v2.3.1-dev.1 21:17:38 v2.3.1-dev.2 21:17:38 v3.0.0-dev.1 21:17:38 v3.0.0-dev.10 21:17:38 v3.0.0-dev.11 21:17:38 v3.0.0-dev.12 21:17:38 v3.0.0-dev.13 21:17:38 v3.0.0-dev.14 21:17:38 v3.0.0-dev.15 21:17:38 v3.0.0-dev.16 21:17:38 v3.0.0-dev.17 21:17:38 v3.0.0-dev.18 21:17:38 v3.0.0-dev.19 21:17:38 v3.0.0-dev.2 21:17:38 v3.0.0-dev.20 21:17:38 v3.0.0-dev.21 21:17:38 v3.0.0-dev.22 21:17:38 v3.0.0-dev.23 21:17:38 v3.0.0-dev.24 21:17:38 v3.0.0-dev.25 21:17:38 v3.0.0-dev.26 21:17:38 v3.0.0-dev.27 21:17:38 v3.0.0-dev.28 21:17:38 v3.0.0-dev.29 21:17:38 v3.0.0-dev.3 21:17:38 v3.0.0-dev.30 21:17:38 v3.0.0-dev.31 21:17:38 v3.0.0-dev.32 21:17:38 v3.0.0-dev.33 21:17:38 v3.0.0-dev.34 21:17:38 v3.0.0-dev.35 21:17:38 v3.0.0-dev.36 21:17:38 v3.0.0-dev.37 21:17:38 v3.0.0-dev.38 21:17:38 v3.0.0-dev.4 21:17:38 v3.0.0-dev.5 21:17:38 v3.0.0-dev.6 21:17:38 v3.0.0-dev.7 21:17:38 v3.0.0-dev.8 21:17:38 v3.0.0-dev.9 [Pipeline] sh 21:17:39 + lftools sign git-tag v0.0.0 21:17:39 Signing Git tag with Sigul... 21:17:39 Signing v0.0.0 21:17:39 Error while calling git, args ['git', 'show-ref', '-s', 'refs/tags/v0.0.0'], return code 1, stdout , stderr [Pipeline] echo 21:17:39 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:17:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:17:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:17:40 $ docker stop --time=1 5352a98281e2cd903bfcfa4221369277f73f0de5894dc8872cace16b1e8280f9 21:17:41 $ docker rm -f --volumes 5352a98281e2cd903bfcfa4221369277f73f0de5894dc8872cace16b1e8280f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:17:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:17:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:42 prd-ubuntu20.04-docker-8c-8g-7648 does not seem to be running inside a container 21:17: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:17:42 $ docker top 0cba18eede497ef665404015d8abdeb3b0d2950a86d31d12a342ef2c6a5f6d52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:17:43 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.51' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:43 + git semver [Pipeline] } 21:17:43 $ docker stop --time=1 0cba18eede497ef665404015d8abdeb3b0d2950a86d31d12a342ef2c6a5f6d52 21:17:44 $ docker rm -f --volumes 0cba18eede497ef665404015d8abdeb3b0d2950a86d31d12a342ef2c6a5f6d52 [Pipeline] // withDockerContainer [Pipeline] sh 21:17:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:17:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:17:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:45 prd-ubuntu20.04-docker-8c-8g-7648 does not seem to be running inside a container 21:17:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:17:46 $ docker top ab2dbf74a5652364d90965f262eb49f6fcc9a115f1c0a7d27addbc7b55b437e2 -eo pid,comm 21:17:46 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). 21:17:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:17:46 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.3.0|v2.3.0-dev.51' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:17:46 + git semver [Pipeline] } 21:17:47 $ docker stop --time=1 ab2dbf74a5652364d90965f262eb49f6fcc9a115f1c0a7d27addbc7b55b437e2 21:17:48 $ docker rm -f --volumes ab2dbf74a5652364d90965f262eb49f6fcc9a115f1c0a7d27addbc7b55b437e2 [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 21:17:49 + [ -d /w/workspace/dgexfoundry_device-sdk-go_levski/archives ] 21:17:49 + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives 21:17:49 total 16 21:17:49 drwxr-xr-x 3 root root 4096 Feb 27 21:06 . 21:17:49 drwxrwxr-x 12 jenkins jenkins 4096 Feb 27 21:17 .. 21:17:49 drwxr-xr-x 2 root root 4096 Feb 27 21:06 cost 21:17:49 -rw-r--r-- 1 root root 85 Feb 27 21:06 cost.csv 21:17:49 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_device-sdk-go_levski/archives 21:17:49 + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives 21:17:49 total 16 21:17:49 drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 21:06 . 21:17:49 drwxrwxr-x 12 jenkins jenkins 4096 Feb 27 21:17 .. 21:17:49 drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 21:06 cost 21:17:49 -rw-r--r-- 1 jenkins jenkins 85 Feb 27 21:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:17:49 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:17:50 ---> package-listing.sh 21:17:50 ++ facter osfamily 21:17:50 ++ tr '[:upper:]' '[:lower:]' 21:17:50 + OS_FAMILY=debian 21:17:50 + workspace=/w/workspace/dgexfoundry_device-sdk-go_levski 21:17:50 + START_PACKAGES=/tmp/packages_start.txt 21:17:50 + END_PACKAGES=/tmp/packages_end.txt 21:17:50 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:17:50 + PACKAGES=/tmp/packages_start.txt 21:17:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' 21:17:50 + PACKAGES=/tmp/packages_end.txt 21:17:50 + case "${OS_FAMILY}" in 21:17:50 + dpkg -l 21:17:50 + grep '^ii' 21:17:50 + '[' -f /tmp/packages_start.txt ']' 21:17:50 + '[' -f /tmp/packages_end.txt ']' 21:17:50 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:17:50 + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' 21:17:50 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_levski/archives/ 21:17:50 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_levski/archives/ [Pipeline] echo 21:17:50 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 21:17:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:17:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:17:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:17:52 prd-ubuntu20.04-docker-8c-8g-7648 does not seem to be running inside a container 21:17:52 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:17:52 $ docker top 88086ae06e691442bdc91dd763164574c8e164f64bf709ca96f925a0b27cf3a8 -eo pid,comm [Pipeline] { [Pipeline] sh 21:17:52 + touch /tmp/pre-build-complete [Pipeline] sh 21:17:52 + mkdir -p /var/log/sysstat [Pipeline] sh 21:17:53 + ls /var/log/sa-host 21:17:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:17:53 provisioning config files... 21:17:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config14927489658667220839tmp [Pipeline] { [Pipeline] echo 21:17:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:17:53 ---> create-netrc.sh [Pipeline] } 21:17:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:17:54 ---> python-tools-install.sh [Pipeline] echo 21:17:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:17:54 ---> sudo-logs.sh 21:17:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:17:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:17:54 ---> job-cost.sh 21:17:54 lf-activate-venv: SKIPPING 21:17:54 DEBUG: total: 0.2199999988079071 21:17:54 INFO: Retrieving Stack Cost... 21:17:55 INFO: Retrieving Pricing Info for: v3-standard-8 21:17:55 INFO: Archiving Costs [Pipeline] echo 21:17:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:17:56 ---> logs-deploy.sh 21:17:56 lf-activate-venv: SKIPPING 21:17:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/levski/1 21:17:56 INFO: archiving workspace using pattern(s): 21:17:57 Archives upload complete. 21:17:57 INFO: archiving logs to Nexus