Push event to branch levski Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b3f594a181df4350d50f9cefe1b70e34eb008ea7 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-ssh14899019584064522284.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh10222753057956101502.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/levski/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9660115138719375669.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh164367622628785579.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/levski/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/levski/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5026700285859756042.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, goVersion:1.18, 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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2330 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 b3f594a181df4350d50f9cefe1b70e34eb008ea7 (levski) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b3f594a181df4350d50f9cefe1b70e34eb008ea7 # timeout=10 Commit message: "docs: Levski change log updated (#1388)" > git rev-list --no-walk a6639bc907c868da99f3246e240586b858116a4d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:11:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:11:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:11:34 ========================================================= 01:11:34 EdgeX Global Pipelines Version Info 01:11:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:11:35 ------------------- 01:11:35 stable info: 01:11:35 ------------------- 01:11:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:11:35 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 01:11:35 Message: update stable to v1.0.245 01:11:35 ------------------- 01:11:35 experimental info: 01:11:35 ------------------- 01:11:35 Commited By: **** collab-it+edgex@linuxfoundation.org 01:11:35 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 01:11:35 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:11:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:11:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:11:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:11:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = levski [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = levski [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = levski [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b3f594a181df4350d50f9cefe1b70e34eb008ea7 [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b3f594a [Pipeline] echo 01:11:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:11:36 provisioning config files... 01:11:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config5957270966880424683tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:36 ---> docker-login.sh 01:11:36 nexus3.edgexfoundry.org:10001 01:11:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:36 Configure a credential helper to remove this warning. See 01:11:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:36 01:11:36 Login Succeeded 01:11:36 nexus3.edgexfoundry.org:10002 01:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:37 Configure a credential helper to remove this warning. See 01:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:37 01:11:37 Login Succeeded 01:11:37 nexus3.edgexfoundry.org:10003 01:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:37 Configure a credential helper to remove this warning. See 01:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:37 01:11:37 Login Succeeded 01:11:37 nexus3.edgexfoundry.org:10004 01:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:37 Configure a credential helper to remove this warning. See 01:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:37 01:11:37 Login Succeeded 01:11:37 docker.io 01:11:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:37 Configure a credential helper to remove this warning. See 01:11:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:37 01:11:37 Login Succeeded 01:11:37 ---> docker-login.sh ends [Pipeline] } 01:11:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:11:38 + git rev-list -1 --merges b3f594a181df4350d50f9cefe1b70e34eb008ea7~1..b3f594a181df4350d50f9cefe1b70e34eb008ea7 [Pipeline] echo 01:11:38 -----------> git rev-list -1 --merges b3f594a181df4350d50f9cefe1b70e34eb008ea7~1..b3f594a181df4350d50f9cefe1b70e34eb008ea7 b3f594a181df4350d50f9cefe1b70e34eb008ea7 [false] [Pipeline] sh 01:11:38 + git log --format=format:%s -1 b3f594a181df4350d50f9cefe1b70e34eb008ea7 [Pipeline] echo 01:11:38 ========================================================= 01:11:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:11:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:11:38 + git log --format=format:%s -1 b3f594a181df4350d50f9cefe1b70e34eb008ea7 [Pipeline] echo 01:11:38 [semverPrep] GIT_COMMIT: b3f594a181df4350d50f9cefe1b70e34eb008ea7, Commit Message: docs: Levski change log updated (#1388) [Pipeline] echo 01:11:38 [semverPrep] This is not a build commit. [Pipeline] sh 01:11:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:11:39 + grep -v github /etc/ssh/ssh_known_hosts 01:11:39 + [ -e /tmp/ssh_known_hosts ] 01:11:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:11:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:11:39 + sudo tee -a /etc/ssh/ssh_known_hosts 01:11:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:11:39 01:11:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:11:39 0.1.4: Pulling from edgex-devops/py-git-semver 01:11:39 b85a868b505f: Pulling fs layer 01:11:39 e2be974225ed: Pulling fs layer 01:11:39 339a4e72a1f5: Pulling fs layer 01:11:39 988bab9f4d93: Pulling fs layer 01:11:39 1469e6f7b9e6: Pulling fs layer 01:11:39 eaf3925da568: Pulling fs layer 01:11:39 bab4dde63d76: Pulling fs layer 01:11:39 bde34c3a00c8: Pulling fs layer 01:11:39 b352a97aabf1: Pulling fs layer 01:11:39 4872d77fe225: Pulling fs layer 01:11:39 5851b861e8e6: Pulling fs layer 01:11:39 bde34c3a00c8: Waiting 01:11:39 eaf3925da568: Waiting 01:11:39 988bab9f4d93: Waiting 01:11:39 1469e6f7b9e6: Waiting 01:11:39 4872d77fe225: Waiting 01:11:39 b352a97aabf1: Waiting 01:11:39 bab4dde63d76: Waiting 01:11:39 e2be974225ed: Verifying Checksum 01:11:39 e2be974225ed: Download complete 01:11:39 988bab9f4d93: Verifying Checksum 01:11:39 988bab9f4d93: Download complete 01:11:40 1469e6f7b9e6: Verifying Checksum 01:11:40 1469e6f7b9e6: Download complete 01:11:40 eaf3925da568: Download complete 01:11:40 339a4e72a1f5: Verifying Checksum 01:11:40 bde34c3a00c8: Verifying Checksum 01:11:40 bde34c3a00c8: Download complete 01:11:40 b352a97aabf1: Verifying Checksum 01:11:40 b352a97aabf1: Download complete 01:11:40 4872d77fe225: Verifying Checksum 01:11:40 4872d77fe225: Download complete 01:11:40 5851b861e8e6: Verifying Checksum 01:11:40 5851b861e8e6: Download complete 01:11:40 b85a868b505f: Verifying Checksum 01:11:40 b85a868b505f: Download complete 01:11:40 bab4dde63d76: Verifying Checksum 01:11:40 bab4dde63d76: Download complete 01:11:41 b85a868b505f: Pull complete 01:11:41 e2be974225ed: Pull complete 01:11:42 339a4e72a1f5: Pull complete 01:11:42 988bab9f4d93: Pull complete 01:11:42 1469e6f7b9e6: Pull complete 01:11:42 eaf3925da568: Pull complete 01:11:44 bab4dde63d76: Pull complete 01:11:44 bde34c3a00c8: Pull complete 01:11:44 b352a97aabf1: Pull complete 01:11:44 4872d77fe225: Pull complete 01:11:44 5851b861e8e6: Pull complete 01:11:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:11:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:11:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:11:44 prd-ubuntu20.04-docker-8c-8g-2330 does not seem to be running inside a container 01:11:44 $ 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 01:11:48 $ docker top 25cdcc72cdb6004ff3945e81f901d6ca9cd9ea3c07a385ace9330d7321f8caa0 -eo pid,comm 01:11:48 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). 01:11:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:11:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:11:48 [ssh-agent] Looking for ssh-agent implementation... 01:11:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:11:48 $ docker exec 25cdcc72cdb6004ff3945e81f901d6ca9cd9ea3c07a385ace9330d7321f8caa0 ssh-agent 01:11:48 SSH_AUTH_SOCK=/tmp/ssh-z3b7NksEza9r/agent.32 01:11:48 SSH_AGENT_PID=38 01:11:48 Running ssh-add (command line suppressed) 01:11:48 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_342447318203293198.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_342447318203293198.key) 01:11:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:11:49 + git tag --points-at HEAD [Pipeline] } 01:11:49 $ docker exec --env ******** --env ******** 25cdcc72cdb6004ff3945e81f901d6ca9cd9ea3c07a385ace9330d7321f8caa0 ssh-agent -k 01:11:49 unset SSH_AUTH_SOCK; 01:11:49 unset SSH_AGENT_PID; 01:11:49 echo Agent pid 38 killed; 01:11:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:11:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:11:49 [ssh-agent] Looking for ssh-agent implementation... 01:11:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:11:49 $ docker exec 25cdcc72cdb6004ff3945e81f901d6ca9cd9ea3c07a385ace9330d7321f8caa0 ssh-agent 01:11:49 SSH_AUTH_SOCK=/tmp/ssh-E7Y3xJHU9hog/agent.70 01:11:49 SSH_AGENT_PID=76 01:11:49 Running ssh-add (command line suppressed) 01:11:49 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_1718803939002813065.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_1718803939002813065.key) 01:11:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:11:49 + git semver init 01:11:50 2023-03-16 01:11:50,173 [run_init] DEBUG init version:0.0.0 force:False 01:11:50 2023-03-16 01:11:50,173 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver 01:11:50 2023-03-16 01:11:50,174 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/dgexfoundry_device-sdk-go_levski/.semver 01:11:50 2023-03-16 01:11:50,174 [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) 01:11:51 2023-03-16 01:11:51,067 [append_file] DEBUG append to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.git/info/exclude 01:11:51 2023-03-16 01:11:51,068 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski with force:False 01:11:51 2023-03-16 01:11:51,068 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 01:11:51 2023-03-16 01:11:51,068 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 01:11:51 2.3.1-dev.4 [Pipeline] } 01:11:51 $ docker exec --env ******** --env ******** 25cdcc72cdb6004ff3945e81f901d6ca9cd9ea3c07a385ace9330d7321f8caa0 ssh-agent -k 01:11:51 unset SSH_AUTH_SOCK; 01:11:51 unset SSH_AGENT_PID; 01:11:51 echo Agent pid 76 killed; 01:11:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:11:51 + git semver [Pipeline] } 01:11:51 $ docker stop --time=1 25cdcc72cdb6004ff3945e81f901d6ca9cd9ea3c07a385ace9330d7321f8caa0 01:11:53 $ docker rm -f --volumes 25cdcc72cdb6004ff3945e81f901d6ca9cd9ea3c07a385ace9330d7321f8caa0 [Pipeline] // withDockerContainer [Pipeline] sh 01:11:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:11:53 Stashed 1 file(s) [Pipeline] echo 01:11:53 [edgeXSemver]: initialized semver on version 2.3.1-dev.4 [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 01:11:53 provisioning config files... 01:11:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config11298013263903336040tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:11:54 ---> docker-login.sh 01:11:54 nexus3.edgexfoundry.org:10001 01:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:54 Configure a credential helper to remove this warning. See 01:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:54 01:11:54 Login Succeeded 01:11:54 nexus3.edgexfoundry.org:10002 01:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:54 Configure a credential helper to remove this warning. See 01:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:54 01:11:54 Login Succeeded 01:11:54 nexus3.edgexfoundry.org:10003 01:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:54 Configure a credential helper to remove this warning. See 01:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:54 01:11:54 Login Succeeded 01:11:54 nexus3.edgexfoundry.org:10004 01:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:54 Configure a credential helper to remove this warning. See 01:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:54 01:11:54 Login Succeeded 01:11:54 docker.io 01:11:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:11:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:11:54 Configure a credential helper to remove this warning. See 01:11:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:11:54 01:11:54 Login Succeeded 01:11:54 ---> docker-login.sh ends [Pipeline] } 01:11:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:11:54 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:11:54 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:11:54 ========================================================= 01:11:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:11:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:55 + 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 . 01:11:55 Sending build context to Docker daemon 10.84MB 01:11:55 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 01:11:55 Step 2/10 : FROM ${BASE} AS builder 01:11:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:11:55 213ec9aee27d: Pulling fs layer 01:11:55 4583459ba037: Pulling fs layer 01:11:55 93c1e223e6f2: Pulling fs layer 01:11:55 53926ce57604: Pulling fs layer 01:11:55 21b2b0c7a3f4: Pulling fs layer 01:11:55 22ff95d597cd: Pulling fs layer 01:11:55 12d6caf4c0d1: Pulling fs layer 01:11:55 96b7cbca73a9: Pulling fs layer 01:11:55 a7acece74701: Pulling fs layer 01:11:55 12d6caf4c0d1: Waiting 01:11:55 96b7cbca73a9: Waiting 01:11:55 a7acece74701: Waiting 01:11:55 21b2b0c7a3f4: Waiting 01:11:55 22ff95d597cd: Waiting 01:11:55 53926ce57604: Waiting 01:11:55 93c1e223e6f2: Verifying Checksum 01:11:55 93c1e223e6f2: Download complete 01:11:55 4583459ba037: Download complete 01:11:55 21b2b0c7a3f4: Verifying Checksum 01:11:55 21b2b0c7a3f4: Download complete 01:11:55 22ff95d597cd: Verifying Checksum 01:11:55 22ff95d597cd: Download complete 01:11:55 213ec9aee27d: Download complete 01:11:55 12d6caf4c0d1: Verifying Checksum 01:11:55 12d6caf4c0d1: Download complete 01:11:55 213ec9aee27d: Pull complete 01:11:55 4583459ba037: Pull complete 01:11:55 93c1e223e6f2: Pull complete 01:11:55 a7acece74701: Verifying Checksum 01:11:55 a7acece74701: Download complete 01:11:56 96b7cbca73a9: Verifying Checksum 01:11:56 96b7cbca73a9: Download complete 01:11:56 53926ce57604: Verifying Checksum 01:11:56 53926ce57604: Download complete 01:12:00 53926ce57604: Pull complete 01:12:00 21b2b0c7a3f4: Pull complete 01:12:00 22ff95d597cd: Pull complete 01:12:00 12d6caf4c0d1: Pull complete 01:12:02 96b7cbca73a9: Pull complete 01:12:02 a7acece74701: Pull complete 01:12:03 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 01:12:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:12:03 ---> db6d94c90886 01:12:03 Step 3/10 : ARG MAKE=make build 01:12:08 Still waiting to schedule task 01:12:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2326’ 01:12:09 ---> Running in 9b1d9085a192 01:12:09 Removing intermediate container 9b1d9085a192 01:12:09 ---> 92afc057de40 01:12:09 Step 4/10 : WORKDIR /device-sdk-go 01:12:09 ---> Running in b4d2e36ef8f1 01:12:09 Removing intermediate container b4d2e36ef8f1 01:12:09 ---> 6b64b59477c1 01:12:09 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:12:09 ---> Running in 0c9b71af597b 01:12:09 Removing intermediate container 0c9b71af597b 01:12:09 ---> d291d8baef31 01:12:09 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:12:09 ---> Running in ed7df531afa9 01:12:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:12:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:12:10 OK: 211 MiB in 51 packages 01:12:11 Removing intermediate container ed7df531afa9 01:12:11 ---> d4bb2d2e9be6 01:12:11 Step 7/10 : COPY go.mod vendor* ./ 01:12:11 ---> 44874c1c076d 01:12:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:12:11 ---> Running in 2a433c10d9f9 01:12:46 Removing intermediate container 2a433c10d9f9 01:12:46 ---> 479c33ae5f9f 01:12:46 Step 9/10 : COPY . . 01:12:46 ---> 6ceb3864dbd1 01:12:46 Step 10/10 : RUN ${MAKE} 01:12:46 ---> Running in 700873b7bbb7 01:12:46 noop 01:12:46 Removing intermediate container 700873b7bbb7 01:12:46 ---> 61b26001bcf4 01:12:46 Successfully built 61b26001bcf4 01:12:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:46 + docker inspect -f . ci-base-image-x86_64 01:12:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:46 prd-ubuntu20.04-docker-8c-8g-2330 does not seem to be running inside a container 01:12:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:12:46 $ docker top 65e2f4e082564fe782dd82d99341be36b7da5419ef0d947748ddacd486417844 -eo pid,comm [Pipeline] { [Pipeline] sh 01:12:47 + go version 01:12:47 go version go1.18.7 linux/amd64 [Pipeline] } 01:12:47 $ docker stop --time=1 65e2f4e082564fe782dd82d99341be36b7da5419ef0d947748ddacd486417844 01:12:48 $ docker rm -f --volumes 65e2f4e082564fe782dd82d99341be36b7da5419ef0d947748ddacd486417844 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:12:48 + docker inspect -f . ci-base-image-x86_64 01:12:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:12:48 prd-ubuntu20.04-docker-8c-8g-2330 does not seem to be running inside a container 01:12:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:12:49 $ docker top df19a253f07bad2644d4a2f5a0d6f58f552554047e90e22b9fbd9b8ff269463d -eo pid,comm [Pipeline] { [Pipeline] sh 01:12:49 + git config --global --add safe.directory /w/workspace/dgexfoundry_device-sdk-go_levski [Pipeline] fileExists [Pipeline] sh 01:12:49 + make test 01:12:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:12:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:13:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:13:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:13:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:13:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 01:13:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:13:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements 01:13:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 78.9% of statements 01:13:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 01:13:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.101s coverage: 73.1% of statements 01:13:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:13:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:13:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.109s coverage: 54.4% of statements 01:13:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:13:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 01:13:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:13:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:13:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.111s coverage: 65.1% of statements 01:13:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 01:13:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 01:13:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.771s coverage: 89.2% of statements 01:13:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:13:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.056s coverage: 4.7% of statements 01:13:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:13:24 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 01:13:24 GO111MODULE=on go vet ./... 01:13:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:13:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:13:28 ./bin/test-attribution-txt.sh 01:13:28 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 01:13:28 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:13:28 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:13:28 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:13:28 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:13:28 $ docker stop --time=1 df19a253f07bad2644d4a2f5a0d6f58f552554047e90e22b9fbd9b8ff269463d 01:13:32 $ docker rm -f --volumes df19a253f07bad2644d4a2f5a0d6f58f552554047e90e22b9fbd9b8ff269463d [Pipeline] // withDockerContainer [Pipeline] sh 01:13:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:13:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:13:33 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:13:34 + ls -al . 01:13:34 total 280 01:13:34 drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 01:12 . 01:13:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 01:11 .. 01:13:34 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 01:11 .dockerignore 01:13:34 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 01:13 .git 01:13:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 01:11 .github 01:13:34 -rw-rw-r-- 1 jenkins jenkins 131 Mar 16 01:11 .gitignore 01:13:34 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 01:11 .golangci.yml 01:13:34 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 01:11 .semver 01:13:34 -rw-rw-r-- 1 jenkins jenkins 31944 Mar 16 01:11 CHANGELOG.md 01:13:34 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 01:11 GOVERNANCE.md 01:13:34 -rw-rw-r-- 1 jenkins jenkins 903 Mar 16 01:11 Jenkinsfile 01:13:34 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 01:11 LICENSE 01:13:34 -rw-rw-r-- 1 jenkins jenkins 2003 Mar 16 01:11 Makefile 01:13:34 -rw-rw-r-- 1 jenkins jenkins 619 Mar 16 01:11 OWNERS.md 01:13:34 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 16 01:11 README.md 01:13:34 -rw-rw-r-- 1 jenkins jenkins 11 Mar 16 01:11 VERSION 01:13:34 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 01:11 bin 01:13:34 -rw-r--r-- 1 jenkins jenkins 101839 Mar 16 01:13 coverage.out 01:13:34 drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 01:11 example 01:13:34 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 16 01:11 go.mod 01:13:34 -rw-rw-r-- 1 jenkins jenkins 44423 Mar 16 01:11 go.sum 01:13:34 drwxrwxr-x 14 jenkins jenkins 4096 Mar 16 01:11 internal 01:13:34 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 01:11 openapi 01:13:34 drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 01:11 pkg 01:13:34 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 01:11 snap 01:13:34 -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 01:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:34 + 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=b3f594a181df4350d50f9cefe1b70e34eb008ea7 --label arch=amd64 --label version=2.3.1-dev.4 . 01:13:34 Sending build context to Docker daemon 10.94MB 01:13:34 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 01:13:34 Step 2/23 : FROM ${BASE} AS builder 01:13:34 ---> 61b26001bcf4 01:13:34 Step 3/23 : ARG MAKE=make build 01:13:34 ---> Running in 8301250d084c 01:13:34 Removing intermediate container 8301250d084c 01:13:34 ---> 1ebe16f50dd1 01:13:34 Step 4/23 : WORKDIR /device-sdk-go 01:13:34 ---> Running in bc625a8263b9 01:13:34 Removing intermediate container bc625a8263b9 01:13:34 ---> d35292797bf3 01:13:34 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:13:34 ---> Running in f50be0d70f08 01:13:34 Removing intermediate container f50be0d70f08 01:13:34 ---> 94abaa0080c4 01:13:34 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:13:34 ---> Running in 7fa0925bcc50 01:13:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:13:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:13:35 OK: 211 MiB in 51 packages 01:13:35 Removing intermediate container 7fa0925bcc50 01:13:35 ---> 38e1b73c5985 01:13:35 Step 7/23 : COPY go.mod vendor* ./ 01:13:35 ---> 4f9e316eac88 01:13:35 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:13:35 ---> Running in d2be85d52d38 01:13:36 Removing intermediate container d2be85d52d38 01:13:36 ---> 53ad9c2a50f0 01:13:36 Step 9/23 : COPY . . 01:13:37 ---> 150728383b48 01:13:37 Step 10/23 : RUN ${MAKE} 01:13:37 ---> Running in c42aadeb8bd5 01:13:37 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:13:55 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:13:59 Removing intermediate container c42aadeb8bd5 01:13:59 ---> 91fc730ce101 01:13:59 Step 11/23 : FROM alpine:3.16 01:13:59 3.16: Pulling from library/alpine 01:13:59 ef5531b6e74e: Pulling fs layer 01:13:59 ef5531b6e74e: Verifying Checksum 01:13:59 ef5531b6e74e: Download complete 01:13:59 ef5531b6e74e: Pull complete 01:13:59 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 01:13:59 Status: Downloaded newer image for alpine:3.16 01:13:59 ---> dfd21b5a31f5 01:13:59 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:13:59 ---> Running in ae0ec227b7d2 01:13:59 Removing intermediate container ae0ec227b7d2 01:13:59 ---> 5be1cd7d7b4e 01:13:59 Step 13/23 : RUN apk add --update --no-cache zeromq 01:13:59 ---> Running in 8b037baa6e0d 01:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:14:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:14:00 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:14:00 (2/5) Installing libsodium (1.0.18-r0) 01:14:00 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:14:00 (4/5) Installing libzmq (4.3.4-r0) 01:14:00 (5/5) Installing zeromq (4.3.4-r0) 01:14:00 Executing busybox-1.35.0-r17.trigger 01:14:00 OK: 8 MiB in 19 packages 01:14:01 Removing intermediate container 8b037baa6e0d 01:14:01 ---> ba98758b5882 01:14:01 Step 14/23 : WORKDIR / 01:14:01 ---> Running in 37d14f06f448 01:14:01 Removing intermediate container 37d14f06f448 01:14:01 ---> 0ff267d1a3d5 01:14:01 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:14:01 ---> b42223e20d8d 01:14:01 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:14:02 ---> 00873cc66673 01:14:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:14:02 ---> a268694b3fd7 01:14:02 Step 18/23 : EXPOSE 59999 01:14:02 ---> Running in 4b319f39cb1c 01:14:02 Removing intermediate container 4b319f39cb1c 01:14:02 ---> d91d9c736263 01:14:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 01:14:02 ---> Running in b5391c5dbda4 01:14:02 Removing intermediate container b5391c5dbda4 01:14:02 ---> 0778cbbc753e 01:14:02 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:14:02 ---> Running in 62fa7e7d35a0 01:14:02 Removing intermediate container 62fa7e7d35a0 01:14:02 ---> 38654f559ed2 01:14:02 Step 21/23 : LABEL arch=amd64 01:14:02 ---> Running in 53fa00323c6c 01:14:02 Removing intermediate container 53fa00323c6c 01:14:02 ---> d1d269bf156c 01:14:02 Step 22/23 : LABEL git_sha=b3f594a181df4350d50f9cefe1b70e34eb008ea7 01:14:02 ---> Running in db2da85787c4 01:14:02 Removing intermediate container db2da85787c4 01:14:02 ---> ca8a9237a5e5 01:14:02 Step 23/23 : LABEL version=2.3.1-dev.4 01:14:02 ---> Running in efb50ffed657 01:14:02 Removing intermediate container efb50ffed657 01:14:02 ---> 6e1ba32d3500 01:14:02 [Warning] One or more build-args [ARCH] were not consumed 01:14:02 Successfully built 6e1ba32d3500 01:14:02 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 01:14:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:03 01:14:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:03 latest: Pulling from edgex-lftools-log-publisher 01:14:03 5eb5b503b376: Pulling fs layer 01:14:03 5c69ac0246d0: Pulling fs layer 01:14:03 ec43610c2a17: Pulling fs layer 01:14:03 3a2ae6a8a46f: Pulling fs layer 01:14:03 33b1e0a273af: Pulling fs layer 01:14:03 5d3b04190fa2: Pulling fs layer 01:14:03 2f39f015ded8: Pulling fs layer 01:14:03 5d3b04190fa2: Waiting 01:14:03 2f39f015ded8: Waiting 01:14:03 3a2ae6a8a46f: Waiting 01:14:03 5c69ac0246d0: Verifying Checksum 01:14:03 5c69ac0246d0: Download complete 01:14:03 3a2ae6a8a46f: Verifying Checksum 01:14:03 3a2ae6a8a46f: Download complete 01:14:03 33b1e0a273af: Verifying Checksum 01:14:03 33b1e0a273af: Download complete 01:14:03 5d3b04190fa2: Verifying Checksum 01:14:03 5d3b04190fa2: Download complete 01:14:03 ec43610c2a17: Verifying Checksum 01:14:03 ec43610c2a17: Download complete 01:14:03 5eb5b503b376: Verifying Checksum 01:14:03 5eb5b503b376: Download complete 01:14:04 2f39f015ded8: Download complete 01:14:04 5eb5b503b376: Pull complete 01:14:04 5c69ac0246d0: Pull complete 01:14:05 ec43610c2a17: Pull complete 01:14:05 3a2ae6a8a46f: Pull complete 01:14:05 33b1e0a273af: Pull complete 01:14:05 5d3b04190fa2: Pull complete 01:14:09 2f39f015ded8: Pull complete 01:14:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:14:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:10 prd-ubuntu20.04-docker-8c-8g-2330 does not seem to be running inside a container 01:14:10 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:14:14 $ docker top d6d102c637d0f071f75f658f992d8eb75c6ab6c9e6888e53f02b72294b7ddb52 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:14:14 ---> job-cost.sh 01:14:14 lf-activate-venv: SKIPPING 01:14:14 INFO: No Stack... 01:14:15 INFO: Retrieving Pricing Info for: v3-standard-8 01:14:15 INFO: Archiving Costs [Pipeline] sh 01:14:15 + cat /w/workspace/dgexfoundry_device-sdk-go_levski/archives/cost.csv 01:14:15 + cut -d, -f6 [Pipeline] lock 01:14:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-6-stack-cost] 01:14:15 Resource [jenkins-edgexfoundry-device-sdk-go-levski-6-stack-cost] did not exist. Created. 01:14:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:14:16 + echo total: 0.2199999988079071 [Pipeline] stash 01:14:16 Stashed 1 file(s) [Pipeline] } 01:14:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-6-stack-cost] [Pipeline] // lock [Pipeline] } 01:14:16 $ docker stop --time=1 d6d102c637d0f071f75f658f992d8eb75c6ab6c9e6888e53f02b72294b7ddb52 01:14:17 $ docker rm -f --volumes d6d102c637d0f071f75f658f992d8eb75c6ab6c9e6888e53f02b72294b7ddb52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:15:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2331 in /w/workspace/dgexfoundry_device-sdk-go_levski [Pipeline] { [Pipeline] ws 01:15:45 Running in /w/workspace/device-sdk-go/6 [Pipeline] { [Pipeline] checkout 01:15:45 The recommended git tool is: git 01:15:52 using credential edgex-jenkins-ssh 01:15:52 Cloning the remote Git repository 01:15:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:15:52 > git init /w/workspace/device-sdk-go/6 # timeout=10 01:15:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:15:52 > git --version # timeout=10 01:15:52 > git --version # 'git version 2.25.1' 01:15:52 using GIT_SSH to set credentials SSH Credentials for GitHub 01:15:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:15:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:15:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:15:55 Avoid second fetch 01:15:55 Checking out Revision b3f594a181df4350d50f9cefe1b70e34eb008ea7 (levski) 01:15:56 Commit message: "docs: Levski change log updated (#1388)" 01:15:55 > git config core.sparsecheckout # timeout=10 01:15:55 > git checkout -f b3f594a181df4350d50f9cefe1b70e34eb008ea7 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:15:56 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:15:56 % Total % Received % Xferd Average Speed Time Time Time Current 01:15:56 Dload Upload Total Spent Left Speed 01:15:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 82264 0 --:--:-- --:--:-- --:--:-- 82264 [Pipeline] sh 01:15:57 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:15:57 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:15:57 + sudo tee /etc/docker/daemon.new 01:15:57 { 01:15:57 "registry-mirrors": [ 01:15:57 "https://nexus3.edgexfoundry.org:10001" 01:15:57 ], 01:15:57 "bip": "10.250.0.254/24", 01:15:57 "hosts": [ 01:15:57 "tcp://0.0.0.0:5555", 01:15:57 "unix:///var/run/docker.sock" 01:15:57 ], 01:15:57 "mtu": 1458, 01:15:57 "selinux-enabled": true, 01:15:57 "seccomp-profile": "/etc/docker/seccomp.json" 01:15:57 } [Pipeline] sh 01:15:58 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:15:58 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:16:16 provisioning config files... 01:16:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/6@tmp/config15939146200148523742tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:16:17 ---> docker-login.sh 01:16:17 nexus3.edgexfoundry.org:10001 01:16:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:16:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:16:17 Configure a credential helper to remove this warning. See 01:16:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:16:17 01:16:17 Login Succeeded 01:16:17 nexus3.edgexfoundry.org:10002 01:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:16:18 Configure a credential helper to remove this warning. See 01:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:16:18 01:16:18 Login Succeeded 01:16:18 nexus3.edgexfoundry.org:10003 01:16:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:16:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:16:18 Configure a credential helper to remove this warning. See 01:16:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:16:18 01:16:18 Login Succeeded 01:16:18 nexus3.edgexfoundry.org:10004 01:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:16:19 Configure a credential helper to remove this warning. See 01:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:16:19 01:16:19 Login Succeeded 01:16:19 docker.io 01:16:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:16:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:16:19 Configure a credential helper to remove this warning. See 01:16:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:16:19 01:16:19 Login Succeeded 01:16:19 ---> docker-login.sh ends [Pipeline] } 01:16:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:16:19 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:16:20 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:16:20 ========================================================= 01:16:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:16:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:16:20 + 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 . 01:16:20 Sending build context to Docker daemon 5.827MB 01:16:20 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 01:16:20 Step 2/10 : FROM ${BASE} AS builder 01:16:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:16:20 9b18e9b68314: Pulling fs layer 01:16:20 35d82f9e3411: Pulling fs layer 01:16:20 e16973657156: Pulling fs layer 01:16:20 fc693d55d65f: Pulling fs layer 01:16:20 7e9fc2657dce: Pulling fs layer 01:16:20 dda99020689f: Pulling fs layer 01:16:20 db1c61fa0a46: Pulling fs layer 01:16:20 891c053d2c06: Pulling fs layer 01:16:20 7e9fc2657dce: Waiting 01:16:20 db1c61fa0a46: Waiting 01:16:20 dda99020689f: Waiting 01:16:20 e16973657156: Verifying Checksum 01:16:20 e16973657156: Download complete 01:16:20 35d82f9e3411: Verifying Checksum 01:16:20 35d82f9e3411: Download complete 01:16:21 7e9fc2657dce: Verifying Checksum 01:16:21 7e9fc2657dce: Download complete 01:16:21 dda99020689f: Verifying Checksum 01:16:21 dda99020689f: Download complete 01:16:21 9b18e9b68314: Verifying Checksum 01:16:21 9b18e9b68314: Download complete 01:16:22 9b18e9b68314: Pull complete 01:16:22 891c053d2c06: Verifying Checksum 01:16:22 891c053d2c06: Download complete 01:16:22 35d82f9e3411: Pull complete 01:16:22 e16973657156: Pull complete 01:16:23 db1c61fa0a46: Verifying Checksum 01:16:23 db1c61fa0a46: Download complete 01:16:23 fc693d55d65f: Verifying Checksum 01:16:23 fc693d55d65f: Download complete 01:16:36 fc693d55d65f: Pull complete 01:16:36 7e9fc2657dce: Pull complete 01:16:36 dda99020689f: Pull complete 01:16:40 db1c61fa0a46: Pull complete 01:16:42 891c053d2c06: Pull complete 01:16:42 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 01:16:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:16:42 ---> f96f9c87975a 01:16:42 Step 3/10 : ARG MAKE=make build 01:16:44 ---> Running in eda3ffaba834 01:16:44 Removing intermediate container eda3ffaba834 01:16:44 ---> e00c6bde6565 01:16:44 Step 4/10 : WORKDIR /device-sdk-go 01:16:44 ---> Running in 197926e572ee 01:16:45 Removing intermediate container 197926e572ee 01:16:45 ---> 5c64e208d70d 01:16:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:16:45 ---> Running in 234528ad45ab 01:16:45 Removing intermediate container 234528ad45ab 01:16:45 ---> 558a064dee8c 01:16:45 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:16:45 ---> Running in 5941deb6ac3b 01:16:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:16:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:16:47 OK: 221 MiB in 51 packages 01:16:48 Removing intermediate container 5941deb6ac3b 01:16:48 ---> 099668ec101b 01:16:48 Step 7/10 : COPY go.mod vendor* ./ 01:16:49 ---> 0d899b19dd87 01:16:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:16:49 ---> Running in 122aa7e83947 01:17:46 Removing intermediate container 122aa7e83947 01:17:46 ---> d7d14635c772 01:17:46 Step 9/10 : COPY . . 01:17:46 ---> 58d80f40980a 01:17:46 Step 10/10 : RUN ${MAKE} 01:17:46 ---> Running in c3a2dce8b342 01:17:47 noop 01:17:48 Removing intermediate container c3a2dce8b342 01:17:48 ---> 93237ee85605 01:17:48 Successfully built 93237ee85605 01:17:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:48 + docker inspect -f . ci-base-image-arm64 01:17:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:48 prd-ubuntu20.04-docker-arm64-4c-16g-2331 does not seem to be running inside a container 01:17:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:17:50 $ docker top e50969241348b44ecaae07c70570546936030906e9aaec795e98788e56231a36 -eo pid,comm [Pipeline] { [Pipeline] sh 01:17:50 + go version 01:17:50 go version go1.18.7 linux/arm64 [Pipeline] } 01:17:50 $ docker stop --time=1 e50969241348b44ecaae07c70570546936030906e9aaec795e98788e56231a36 01:17:52 $ docker rm -f --volumes e50969241348b44ecaae07c70570546936030906e9aaec795e98788e56231a36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:17:53 + docker inspect -f . ci-base-image-arm64 01:17:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:17:53 prd-ubuntu20.04-docker-arm64-4c-16g-2331 does not seem to be running inside a container 01:17:53 $ 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/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:17:54 $ docker top 1722eadeda3ff84bf78166d9abf3241fb732cf88a28bc7c1144f6939ad3d5df3 -eo pid,comm [Pipeline] { [Pipeline] sh 01:17:55 + git config --global --add safe.directory /w/workspace/device-sdk-go/6 [Pipeline] fileExists [Pipeline] sh 01:17:55 + make test 01:17:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:18:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:20:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:20:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:20:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:20:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 01:20:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:20:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.407s coverage: 27.6% of statements 01:20:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.472s coverage: 78.9% of statements 01:20:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 01:21:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.461s coverage: 73.1% of statements 01:21:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:21:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:21:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.660s coverage: 54.4% of statements 01:21:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:21:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 01:21:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:21:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:21:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.473s coverage: 65.1% of statements 01:21:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 01:21:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 01:21:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.039s coverage: 89.2% of statements 01:21:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:21:13 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.299s coverage: 4.7% of statements 01:21:13 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:21:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:21:13 GO111MODULE=on go vet ./... 01:23:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:23:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:23:05 ./bin/test-attribution-txt.sh 01:23:05 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 01:23:05 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:23:05 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:23:05 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:23:05 [edgeX.isLTS] Checking if [levski] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:23:05 $ docker stop --time=1 1722eadeda3ff84bf78166d9abf3241fb732cf88a28bc7c1144f6939ad3d5df3 01:23:07 $ docker rm -f --volumes 1722eadeda3ff84bf78166d9abf3241fb732cf88a28bc7c1144f6939ad3d5df3 [Pipeline] // withDockerContainer [Pipeline] sh 01:23:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:23:09 Warning: overwriting stash ‘coverage-report’ 01:23:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:23:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:23:10 + ls -al . 01:23:10 total 276 01:23:10 drwxrwxr-x 10 jenkins jenkins 4096 Mar 16 01:17 . 01:23:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 01:15 .. 01:23:10 -rw-rw-r-- 1 jenkins jenkins 140 Mar 16 01:15 .dockerignore 01:23:10 drwxrwxr-x 8 jenkins jenkins 4096 Mar 16 01:15 .git 01:23:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 01:15 .github 01:23:10 -rw-rw-r-- 1 jenkins jenkins 131 Mar 16 01:15 .gitignore 01:23:10 -rw-rw-r-- 1 jenkins jenkins 42 Mar 16 01:15 .golangci.yml 01:23:10 -rw-rw-r-- 1 jenkins jenkins 31944 Mar 16 01:15 CHANGELOG.md 01:23:10 -rw-rw-r-- 1 jenkins jenkins 677 Mar 16 01:15 GOVERNANCE.md 01:23:10 -rw-rw-r-- 1 jenkins jenkins 903 Mar 16 01:15 Jenkinsfile 01:23:10 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 16 01:15 LICENSE 01:23:10 -rw-rw-r-- 1 jenkins jenkins 2003 Mar 16 01:15 Makefile 01:23:10 -rw-rw-r-- 1 jenkins jenkins 619 Mar 16 01:15 OWNERS.md 01:23:10 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 16 01:15 README.md 01:23:10 -rw-rw-r-- 1 jenkins jenkins 11 Mar 16 01:11 VERSION 01:23:10 drwxrwxr-x 2 jenkins jenkins 4096 Mar 16 01:15 bin 01:23:10 -rw-r--r-- 1 jenkins jenkins 101840 Mar 16 01:21 coverage.out 01:23:10 drwxrwxr-x 5 jenkins jenkins 4096 Mar 16 01:15 example 01:23:10 -rw-rw-r-- 1 jenkins jenkins 3347 Mar 16 01:15 go.mod 01:23:10 -rw-rw-r-- 1 jenkins jenkins 44423 Mar 16 01:15 go.sum 01:23:10 drwxrwxr-x 14 jenkins jenkins 4096 Mar 16 01:15 internal 01:23:10 drwxrwxr-x 3 jenkins jenkins 4096 Mar 16 01:15 openapi 01:23:10 drwxrwxr-x 6 jenkins jenkins 4096 Mar 16 01:15 pkg 01:23:10 drwxrwxr-x 4 jenkins jenkins 4096 Mar 16 01:15 snap 01:23:10 -rw-rw-r-- 1 jenkins jenkins 222 Mar 16 01:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:23:10 + 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=b3f594a181df4350d50f9cefe1b70e34eb008ea7 --label arch=arm64 --label version=2.3.1-dev.4 . 01:23:11 Sending build context to Docker daemon 5.929MB 01:23:11 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 01:23:11 Step 2/23 : FROM ${BASE} AS builder 01:23:11 ---> 93237ee85605 01:23:11 Step 3/23 : ARG MAKE=make build 01:23:12 ---> Running in 5f1b6cfbc677 01:23:13 Removing intermediate container 5f1b6cfbc677 01:23:13 ---> 6c1937590662 01:23:13 Step 4/23 : WORKDIR /device-sdk-go 01:23:13 ---> Running in 2b0ca0ba704f 01:23:13 Removing intermediate container 2b0ca0ba704f 01:23:13 ---> 6246744ba871 01:23:13 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:23:13 ---> Running in cb7c435aad2e 01:23:13 Removing intermediate container cb7c435aad2e 01:23:13 ---> fe5b6bc6f2ca 01:23:13 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:23:13 ---> Running in abb9597f6ea2 01:23:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:23:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:23:16 OK: 221 MiB in 51 packages 01:23:17 Removing intermediate container abb9597f6ea2 01:23:17 ---> dd8ee337b583 01:23:17 Step 7/23 : COPY go.mod vendor* ./ 01:23:17 ---> 712923ec8701 01:23:17 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:23:17 ---> Running in 56496f71eb22 01:23:19 Removing intermediate container 56496f71eb22 01:23:19 ---> 7df9201cacc5 01:23:19 Step 9/23 : COPY . . 01:23:21 ---> 805fad602fc2 01:23:21 Step 10/23 : RUN ${MAKE} 01:23:21 ---> Running in 7ca98d0b03f3 01:23:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.1-dev.4" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:25:44 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:25:46 Removing intermediate container 7ca98d0b03f3 01:25:46 ---> c90e26bb7da1 01:25:46 Step 11/23 : FROM alpine:3.16 01:25:46 3.16: Pulling from library/alpine 01:25:46 3760b48202b3: Pulling fs layer 01:25:47 3760b48202b3: Verifying Checksum 01:25:47 3760b48202b3: Download complete 01:25:47 3760b48202b3: Pull complete 01:25:47 Digest: sha256:2cf17aa35fbcb6ece81692a64bfbadaf096590241ed9f95dd5f94f0e9f674784 01:25:47 Status: Downloaded newer image for alpine:3.16 01:25:47 ---> 4c81e5bf8899 01:25:47 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:25:47 ---> Running in 48b278e3ad3a 01:25:47 Removing intermediate container 48b278e3ad3a 01:25:47 ---> ee435a06125b 01:25:47 Step 13/23 : RUN apk add --update --no-cache zeromq 01:25:48 ---> Running in 45c8e13c73f8 01:25:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:25:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:25:50 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:25:50 (2/5) Installing libsodium (1.0.18-r0) 01:25:50 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:25:50 (4/5) Installing libzmq (4.3.4-r0) 01:25:50 (5/5) Installing zeromq (4.3.4-r0) 01:25:50 Executing busybox-1.35.0-r17.trigger 01:25:50 OK: 8 MiB in 19 packages 01:25:51 Removing intermediate container 45c8e13c73f8 01:25:51 ---> 748f361b1a16 01:25:51 Step 14/23 : WORKDIR / 01:25:51 ---> Running in c9263fa73a57 01:25:52 Removing intermediate container c9263fa73a57 01:25:52 ---> b08ebd858279 01:25:52 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:25:52 ---> 2dfa7465901f 01:25:52 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:25:54 ---> a3524592df18 01:25:54 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:25:54 ---> f8ab4a6c31fe 01:25:54 Step 18/23 : EXPOSE 59999 01:25:54 ---> Running in 228b11e703e7 01:25:54 Removing intermediate container 228b11e703e7 01:25:54 ---> 191b5e1d2b08 01:25:54 Step 19/23 : ENTRYPOINT ["/device-simple"] 01:25:55 ---> Running in a3dbfe261697 01:25:55 Removing intermediate container a3dbfe261697 01:25:55 ---> a4f50fb2e4bf 01:25:55 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:25:55 ---> Running in c322e511bb86 01:25:55 Removing intermediate container c322e511bb86 01:25:55 ---> 8b0afd90f813 01:25:55 Step 21/23 : LABEL arch=arm64 01:25:56 ---> Running in f6764471aa85 01:25:56 Removing intermediate container f6764471aa85 01:25:56 ---> 4d4beb3ad7d1 01:25:56 Step 22/23 : LABEL git_sha=b3f594a181df4350d50f9cefe1b70e34eb008ea7 01:25:56 ---> Running in 37662688cfad 01:25:56 Removing intermediate container 37662688cfad 01:25:56 ---> ed95e872986a 01:25:56 Step 23/23 : LABEL version=2.3.1-dev.4 01:25:56 ---> Running in adaa5a6d1cf0 01:25:57 Removing intermediate container adaa5a6d1cf0 01:25:57 ---> 5e14db6d0b8f 01:25:57 [Warning] One or more build-args [ARCH] were not consumed 01:25:57 Successfully built 5e14db6d0b8f 01:25:57 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 01:25:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:25:57 01:25:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:25:58 arm64: Pulling from edgex-lftools-log-publisher 01:25:58 8998bd30e6a1: Pulling fs layer 01:25:58 04944245beec: Pulling fs layer 01:25:58 699f458cf7ca: Pulling fs layer 01:25:58 765212b225bb: Pulling fs layer 01:25:58 f23df028b6ca: Pulling fs layer 01:25:58 d65c8cfc05b1: Pulling fs layer 01:25:58 2437ff75d9bd: Pulling fs layer 01:25:58 765212b225bb: Waiting 01:25:58 f23df028b6ca: Waiting 01:25:58 d65c8cfc05b1: Waiting 01:25:58 2437ff75d9bd: Waiting 01:25:58 04944245beec: Verifying Checksum 01:25:58 04944245beec: Download complete 01:25:58 765212b225bb: Verifying Checksum 01:25:58 765212b225bb: Download complete 01:25:58 f23df028b6ca: Verifying Checksum 01:25:58 f23df028b6ca: Download complete 01:25:58 d65c8cfc05b1: Download complete 01:25:58 699f458cf7ca: Verifying Checksum 01:25:58 699f458cf7ca: Download complete 01:25:58 8998bd30e6a1: Verifying Checksum 01:25:58 8998bd30e6a1: Download complete 01:26:01 2437ff75d9bd: Verifying Checksum 01:26:01 2437ff75d9bd: Download complete 01:26:03 8998bd30e6a1: Pull complete 01:26:03 04944245beec: Pull complete 01:26:05 699f458cf7ca: Pull complete 01:26:05 765212b225bb: Pull complete 01:26:05 f23df028b6ca: Pull complete 01:26:06 d65c8cfc05b1: Pull complete 01:26:21 2437ff75d9bd: Pull complete 01:26:21 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:26:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:26:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:21 prd-ubuntu20.04-docker-arm64-4c-16g-2331 does not seem to be running inside a container 01:26:21 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/6 -v /w/workspace/device-sdk-go/6:/w/workspace/device-sdk-go/6:rw,z -v /w/workspace/device-sdk-go/6@tmp:/w/workspace/device-sdk-go/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:26:24 $ docker top 891008c2b7901dcd39d280aa4104d263b3c7aa69b96b45ee26213a83741b2f48 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:25 ---> job-cost.sh 01:26:25 lf-activate-venv: SKIPPING 01:26:25 INFO: No Stack... 01:26:26 INFO: Retrieving Pricing Info for: v3-standard-4 01:26:26 INFO: Archiving Costs [Pipeline] sh 01:26:27 + cut -d, -f6 01:26:27 + cat /w/workspace/device-sdk-go/6/archives/cost.csv [Pipeline] lock 01:26:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-levski-6-stack-cost] 01:26:27 Resource [jenkins-edgexfoundry-device-sdk-go-levski-6-stack-cost] did not exist. Created. 01:26:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-levski-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:26:27 /w/workspace/device-sdk-go/6@tmp/durable-a9b16734/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:26:28 + echo total: 0.10999999940395355 [Pipeline] stash 01:26:28 Warning: overwriting stash ‘stack-cost’ 01:26:28 Stashed 1 file(s) [Pipeline] } 01:26:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-levski-6-stack-cost] [Pipeline] // lock [Pipeline] } 01:26:28 $ docker stop --time=1 891008c2b7901dcd39d280aa4104d263b3c7aa69b96b45ee26213a83741b2f48 01:26:30 $ docker rm -f --volumes 891008c2b7901dcd39d280aa4104d263b3c7aa69b96b45ee26213a83741b2f48 [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 01:26:30 provisioning config files... 01:26:30 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config864333070929265790tmp [Pipeline] { [Pipeline] sh 01:26:31 + set +x 01:26:31 + + curlbash -s -s https://codecov.io/bash -- 01:26:31 01:26:31 01:26:31 _____ _ 01:26:31 / ____| | | 01:26:31 | | ___ __| | ___ ___ _____ __ 01:26:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:26:31 | |___| (_) | (_| | __/ (_| (_) \ V / 01:26:31 \_____\___/ \__,_|\___|\___\___/ \_/ 01:26:31 Bash-1.0.6 01:26:31 01:26:31 01:26:31 ==> git version 2.25.1 found 01:26:31 ==> 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 01:26:31 Release-Date: 2020-01-08 01:26:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:26:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:26:31 ==> Jenkins CI detected. 01:26:31 current dir:  /w/workspace/dgexfoundry_device-sdk-go_levski 01:26:31 project root: . 01:26:31 --> token set from env 01:26:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:26:31 ==> Running gcov in . (disable via -X gcov) 01:26:31 ==> Python coveragepy not found 01:26:31 ==> Searching for coverage reports in: 01:26:31 + . 01:26:31 -> Found 1 reports 01:26:31 ==> Detecting git/mercurial file structure 01:26:31 ==> Reading reports 01:26:31 + ./coverage.out bytes=101840 01:26:31 ==> Appending adjustments 01:26:31 https://docs.codecov.io/docs/fixing-reports 01:26:31 + Found adjustments 01:26:31 ==> Gzipping contents 01:26:31 16K /tmp/codecov.O5v97w.gz 01:26:31 ==> Uploading reports 01:26:31 url: https://codecov.io 01:26:31 query: branch=levski&commit=b3f594a181df4350d50f9cefe1b70e34eb008ea7&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:26:31 -> Pinging Codecov 01:26:31 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=b3f594a181df4350d50f9cefe1b70e34eb008ea7&build=6&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Flevski%2F6%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 01:26:31 -> Uploading to 01:26:31 https://storage.googleapis.com/codecov/v4/raw/2023-03-16/7E55EF52A471D76F132DFD9A03CDDE97/b3f594a181df4350d50f9cefe1b70e34eb008ea7/e18e0cd1-fc45-4546-9412-070d25073464.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230316%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230316T012631Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a19bd01727503aa0c28f6e07107281b07b04096442a24bbb1b8c57790c46d67d 01:26:31 % Total % Received % Xferd Average Speed Time Time Time Current 01:26:31 Dload Upload Total Spent Left Speed 01:26:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14710 0 0 100 14710 0 61037 --:--:-- --:--:-- --:--:-- 61037 01:26:31 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b3f594a181df4350d50f9cefe1b70e34eb008ea7 [Pipeline] } 01:26:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 01:26:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 01:26:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:26:32 01:26:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:26:32 1.410.4: Pulling from edgex-devops/edgex-snyk-go 01:26:32 df9b9388f04a: Pulling fs layer 01:26:32 52dc419b0ee2: Pulling fs layer 01:26:32 25bc292e5bac: Pulling fs layer 01:26:32 114826534d7a: Pulling fs layer 01:26:32 4657fd5d0bcf: Pulling fs layer 01:26:32 6ad1cebc031e: Pulling fs layer 01:26:32 8a3aa393b2d8: Pulling fs layer 01:26:32 6ad1cebc031e: Waiting 01:26:32 4657fd5d0bcf: Waiting 01:26:32 8a3aa393b2d8: Waiting 01:26:32 114826534d7a: Waiting 01:26:32 25bc292e5bac: Verifying Checksum 01:26:32 25bc292e5bac: Download complete 01:26:32 52dc419b0ee2: Verifying Checksum 01:26:32 52dc419b0ee2: Download complete 01:26:32 4657fd5d0bcf: Verifying Checksum 01:26:32 4657fd5d0bcf: Download complete 01:26:32 df9b9388f04a: Verifying Checksum 01:26:32 df9b9388f04a: Download complete 01:26:32 df9b9388f04a: Pull complete 01:26:32 6ad1cebc031e: Verifying Checksum 01:26:32 6ad1cebc031e: Download complete 01:26:32 52dc419b0ee2: Pull complete 01:26:32 25bc292e5bac: Pull complete 01:26:33 114826534d7a: Verifying Checksum 01:26:33 114826534d7a: Download complete 01:26:33 8a3aa393b2d8: Verifying Checksum 01:26:33 8a3aa393b2d8: Download complete 01:26:36 114826534d7a: Pull complete 01:26:36 4657fd5d0bcf: Pull complete 01:26:37 6ad1cebc031e: Pull complete 01:26:39 8a3aa393b2d8: Pull complete 01:26:39 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 01:26:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 01:26:39 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:39 prd-ubuntu20.04-docker-8c-8g-2330 does not seem to be running inside a container 01:26:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 01:26:43 $ docker top 80e06944be3eeb7c90f64706632215ce54b6c685ab5f357e3aa921ffab898522 -eo pid,comm [Pipeline] { [Pipeline] echo 01:26:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:levski' [Pipeline] sh 01:26:44 + set -o pipefail 01:26:44 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:levski' 01:26:52 01:26:52 Monitoring /w/workspace/dgexfoundry_device-sdk-go_levski (github.com/edgexfoundry/device-sdk-go/v2)... 01:26:52 01:26:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/7f96d442-1b96-43d8-af02-66b3b682a0df/history/baa2f780-a647-44eb-89dc-91862205df3e 01:26:52 01:26:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 01:26:52 01:26:52 01:26:52 A medium severity vulnerability was found in the Snyk CLI versions you are using. 01:26:52 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 01:26:52 More details here: https://snyk.co/ue1NS [Pipeline] } 01:26:52 $ docker stop --time=1 80e06944be3eeb7c90f64706632215ce54b6c685ab5f357e3aa921ffab898522 01:26:56 $ docker rm -f --volumes 80e06944be3eeb7c90f64706632215ce54b6c685ab5f357e3aa921ffab898522 [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 01:26:56 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:56 provisioning config files... 01:26:56 copy managed file [swaggerhub-api-key] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config13662343891247304555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:57 --> edgex-publish-swagger.sh 01:26:57 === Publish openapi/v2 API === 01:26:57 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 01:26:57 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/dgexfoundry_device-sdk-go_levski/openapi/v2/device-sdk.yaml] 01:26:57 % Total % Received % Xferd Average Speed Time Time Time Current 01:26:57 Dload Upload Total Spent Left Speed 01:26:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 77611 --:--:-- --:--:-- --:--:-- 77499 100 53552 0 0 100 53552 0 77499 --:--:-- --:--:-- --:--:-- 77387 01:26:57 01:26:57 [Pipeline] } 01:26:57 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 01:26:58 + git log --format=format:%s -1 b3f594a181df4350d50f9cefe1b70e34eb008ea7 [Pipeline] sh 01:26:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:26:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:26:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:26:58 prd-ubuntu20.04-docker-8c-8g-2330 does not seem to be running inside a container 01:26:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:26:59 $ docker top c788f88594d043e05058845b0ad1b98c00b643e2d01766083ede9be4ce18466b -eo pid,comm 01:26:59 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:26:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:26:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:26:59 [ssh-agent] Looking for ssh-agent implementation... 01:26:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:26:59 $ docker exec c788f88594d043e05058845b0ad1b98c00b643e2d01766083ede9be4ce18466b ssh-agent 01:26:59 SSH_AUTH_SOCK=/tmp/ssh-GUgty5H17QlA/agent.32 01:26:59 SSH_AGENT_PID=38 01:26:59 Running ssh-add (command line suppressed) 01:26:59 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_17531687012956317410.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_17531687012956317410.key) 01:26:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:00 + git semver tag 01:27:00 2023-03-16 01:27:00,240 [run_tag] DEBUG tag force:False 01:27:00 2023-03-16 01:27:00,240 [check_head_tag] DEBUG check head tag 01:27:00 2023-03-16 01:27:00,242 [execute] INFO git cat-file --batch-check 01:27:00 2023-03-16 01:27:00,242 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=) 01:27:00 2023-03-16 01:27:00,246 [execute] INFO git cat-file --batch 01:27:00 2023-03-16 01:27:00,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=) 01:27:00 2023-03-16 01:27:00,280 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 01:27:00 2023-03-16 01:27:00,280 [execute] INFO git tag -a v2.3.1-dev.4 -m v2.3.1-dev.4 01:27:00 2023-03-16 01:27:00,280 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.1-dev.4', '-m', 'v2.3.1-dev.4'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=None) 01:27:00 2023-03-16 01:27:00,286 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 01:27:00 2.3.1-dev.4 [Pipeline] } 01:27:00 $ docker exec --env ******** --env ******** c788f88594d043e05058845b0ad1b98c00b643e2d01766083ede9be4ce18466b ssh-agent -k 01:27:00 unset SSH_AUTH_SOCK; 01:27:00 unset SSH_AGENT_PID; 01:27:00 echo Agent pid 38 killed; 01:27:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:27:00 + git semver [Pipeline] } 01:27:00 $ docker stop --time=1 c788f88594d043e05058845b0ad1b98c00b643e2d01766083ede9be4ce18466b 01:27:02 $ docker rm -f --volumes c788f88594d043e05058845b0ad1b98c00b643e2d01766083ede9be4ce18466b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:27:02 01:27:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:27:02 0.23.1-centos7: Pulling from edgex-lftools 01:27:02 ab5ef0e58194: Pulling fs layer 01:27:02 9712f1f96733: Pulling fs layer 01:27:02 63f879dbbcfc: Pulling fs layer 01:27:02 0d9ebad4ef96: Pulling fs layer 01:27:02 e9a5061849ea: Pulling fs layer 01:27:02 d747dcd14b5f: Pulling fs layer 01:27:02 2de7ff778b66: Pulling fs layer 01:27:02 e9a5061849ea: Waiting 01:27:02 d747dcd14b5f: Waiting 01:27:02 2de7ff778b66: Waiting 01:27:02 0d9ebad4ef96: Waiting 01:27:02 9712f1f96733: Verifying Checksum 01:27:03 63f879dbbcfc: Verifying Checksum 01:27:03 63f879dbbcfc: Download complete 01:27:03 e9a5061849ea: Verifying Checksum 01:27:03 e9a5061849ea: Download complete 01:27:03 d747dcd14b5f: Verifying Checksum 01:27:03 d747dcd14b5f: Download complete 01:27:03 0d9ebad4ef96: Verifying Checksum 01:27:03 0d9ebad4ef96: Download complete 01:27:03 ab5ef0e58194: Verifying Checksum 01:27:03 ab5ef0e58194: Download complete 01:27:03 2de7ff778b66: Verifying Checksum 01:27:03 2de7ff778b66: Download complete 01:27:06 ab5ef0e58194: Pull complete 01:27:06 9712f1f96733: Pull complete 01:27:07 63f879dbbcfc: Pull complete 01:27:11 0d9ebad4ef96: Pull complete 01:27:11 e9a5061849ea: Pull complete 01:27:11 d747dcd14b5f: Pull complete 01:27:12 2de7ff778b66: Pull complete 01:27:12 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 01:27:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 01:27:12 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:12 prd-ubuntu20.04-docker-8c-8g-2330 does not seem to be running inside a container 01:27:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 01:27:17 $ docker top 69a3e4138f02b670cb54d249d07c891a64e54277fbed2ec8bc47564508da92e1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 01:27:17 provisioning config files... 01:27:17 copy managed file [sigul-config] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config9314017402853329686tmp 01:27:17 copy managed file [sigul-password] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config3111525322107235909tmp 01:27:17 copy managed file [sigul-pki] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config16771264723768471530tmp [Pipeline] { [Pipeline] echo 01:27:17 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 01:27:17 ---> sigul-configuration.sh 01:27:17 gpg: directory `/root/.gnupg' created 01:27:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 01:27:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 01:27:17 gpg: keyring `/root/.gnupg/secring.gpg' created 01:27:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 01:27:17 gpg: CAST5 encrypted data 01:27:17 gpg: encrypted with 1 passphrase 01:27:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 01:27:18 + mkdir /home/jenkins 01:27:18 + mkdir /home/jenkins/sigul [Pipeline] sh 01:27:18 + 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 01:27:18 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 01:27:18 ---> sigul-install.sh 01:27:18 Sigul already installed; skipping installation. [Pipeline] sh 01:27:19 + git tag --list 01:27:19 0.7.1 01:27:19 delhi-tag 01:27:19 v1.0.0 01:27:19 v1.1.0 01:27:19 v1.1.1 01:27:19 v1.1.2 01:27:19 v1.2.0 01:27:19 v1.2.1 01:27:19 v1.2.2 01:27:19 v1.2.3 01:27:19 v1.3.0 01:27:19 v1.4.0 01:27:19 v2.0.0 01:27:19 v2.1.0 01:27:19 v2.1.1 01:27:19 v2.1.1-dev.2 01:27:19 v2.1.1-dev.3 01:27:19 v2.2.0 01:27:19 v2.2.1-dev.1 01:27:19 v2.2.1-dev.10 01:27:19 v2.2.1-dev.11 01:27:19 v2.2.1-dev.12 01:27:19 v2.2.1-dev.13 01:27:19 v2.2.1-dev.14 01:27:19 v2.2.1-dev.2 01:27:19 v2.2.1-dev.3 01:27:19 v2.2.1-dev.4 01:27:19 v2.2.1-dev.5 01:27:19 v2.2.1-dev.6 01:27:19 v2.2.1-dev.7 01:27:19 v2.2.1-dev.8 01:27:19 v2.2.1-dev.9 01:27:19 v2.3.0 01:27:19 v2.3.0-dev.14 01:27:19 v2.3.0-dev.15 01:27:19 v2.3.0-dev.16 01:27:19 v2.3.0-dev.17 01:27:19 v2.3.0-dev.18 01:27:19 v2.3.0-dev.19 01:27:19 v2.3.0-dev.20 01:27:19 v2.3.0-dev.21 01:27:19 v2.3.0-dev.22 01:27:19 v2.3.0-dev.23 01:27:19 v2.3.0-dev.24 01:27:19 v2.3.0-dev.25 01:27:19 v2.3.0-dev.26 01:27:19 v2.3.0-dev.27 01:27:19 v2.3.0-dev.28 01:27:19 v2.3.0-dev.29 01:27:19 v2.3.0-dev.30 01:27:19 v2.3.0-dev.31 01:27:19 v2.3.0-dev.32 01:27:19 v2.3.0-dev.33 01:27:19 v2.3.0-dev.34 01:27:19 v2.3.0-dev.35 01:27:19 v2.3.0-dev.36 01:27:19 v2.3.0-dev.37 01:27:19 v2.3.0-dev.38 01:27:19 v2.3.0-dev.39 01:27:19 v2.3.0-dev.40 01:27:19 v2.3.0-dev.41 01:27:19 v2.3.0-dev.42 01:27:19 v2.3.0-dev.43 01:27:19 v2.3.0-dev.44 01:27:19 v2.3.0-dev.45 01:27:19 v2.3.0-dev.46 01:27:19 v2.3.0-dev.47 01:27:19 v2.3.0-dev.48 01:27:19 v2.3.0-dev.49 01:27:19 v2.3.0-dev.50 01:27:19 v2.3.0-dev.51 01:27:19 v2.3.1-dev.1 01:27:19 v2.3.1-dev.2 01:27:19 v2.3.1-dev.3 01:27:19 v2.3.1-dev.4 01:27:19 v3.0.0-dev.1 01:27:19 v3.0.0-dev.10 01:27:19 v3.0.0-dev.11 01:27:19 v3.0.0-dev.12 01:27:19 v3.0.0-dev.13 01:27:19 v3.0.0-dev.14 01:27:19 v3.0.0-dev.15 01:27:19 v3.0.0-dev.16 01:27:19 v3.0.0-dev.17 01:27:19 v3.0.0-dev.18 01:27:19 v3.0.0-dev.19 01:27:19 v3.0.0-dev.2 01:27:19 v3.0.0-dev.20 01:27:19 v3.0.0-dev.21 01:27:19 v3.0.0-dev.22 01:27:19 v3.0.0-dev.23 01:27:19 v3.0.0-dev.24 01:27:19 v3.0.0-dev.25 01:27:19 v3.0.0-dev.26 01:27:19 v3.0.0-dev.27 01:27:19 v3.0.0-dev.28 01:27:19 v3.0.0-dev.29 01:27:19 v3.0.0-dev.3 01:27:19 v3.0.0-dev.30 01:27:19 v3.0.0-dev.31 01:27:19 v3.0.0-dev.32 01:27:19 v3.0.0-dev.33 01:27:19 v3.0.0-dev.34 01:27:19 v3.0.0-dev.35 01:27:19 v3.0.0-dev.36 01:27:19 v3.0.0-dev.37 01:27:19 v3.0.0-dev.38 01:27:19 v3.0.0-dev.39 01:27:19 v3.0.0-dev.4 01:27:19 v3.0.0-dev.40 01:27:19 v3.0.0-dev.41 01:27:19 v3.0.0-dev.42 01:27:19 v3.0.0-dev.43 01:27:19 v3.0.0-dev.44 01:27:19 v3.0.0-dev.45 01:27:19 v3.0.0-dev.46 01:27:19 v3.0.0-dev.47 01:27:19 v3.0.0-dev.48 01:27:19 v3.0.0-dev.49 01:27:19 v3.0.0-dev.5 01:27:19 v3.0.0-dev.50 01:27:19 v3.0.0-dev.51 01:27:19 v3.0.0-dev.52 01:27:19 v3.0.0-dev.53 01:27:19 v3.0.0-dev.54 01:27:19 v3.0.0-dev.6 01:27:19 v3.0.0-dev.7 01:27:19 v3.0.0-dev.8 01:27:19 v3.0.0-dev.9 [Pipeline] sh 01:27:19 + lftools sign git-tag v2.3.1-dev.4 01:27:19 Signing Git tag with Sigul... 01:27:19 Signing v2.3.1-dev.4 [Pipeline] echo 01:27:20 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 01:27:20 ---> sigul-configuration-cleanup.sh [Pipeline] } 01:27:20 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 01:27:20 $ docker stop --time=1 69a3e4138f02b670cb54d249d07c891a64e54277fbed2ec8bc47564508da92e1 01:27:21 $ docker rm -f --volumes 69a3e4138f02b670cb54d249d07c891a64e54277fbed2ec8bc47564508da92e1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 01:27:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:27:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:27:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:22 prd-ubuntu20.04-docker-8c-8g-2330 does not seem to be running inside a container 01:27:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:27:23 $ docker top 7cdaef688d98681fb05c3ee700a150b7c5fdc112fb4430ec3eda4166e8225c1a -eo pid,comm 01:27:23 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). 01:27:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:27:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:23 [ssh-agent] Looking for ssh-agent implementation... 01:27:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:23 $ docker exec 7cdaef688d98681fb05c3ee700a150b7c5fdc112fb4430ec3eda4166e8225c1a ssh-agent 01:27:23 SSH_AUTH_SOCK=/tmp/ssh-j1rQF5FcRpGL/agent.33 01:27:23 SSH_AGENT_PID=39 01:27:23 Running ssh-add (command line suppressed) 01:27:23 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_9972038785853608725.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_9972038785853608725.key) 01:27:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:23 + git semver bump pre 01:27:23 2023-03-16 01:27:23,890 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 01:27:23 2023-03-16 01:27:23,890 [bump_version] DEBUG bumping version:2.3.1-dev.4 on axis:pre with prefix:dev 01:27:23 2023-03-16 01:27:23,890 [bump_version] DEBUG bumped version:2.3.1-dev.5 01:27:23 2023-03-16 01:27:23,890 [write_version] DEBUG write version:2.3.1-dev.5 to path:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski with force:True 01:27:23 2023-03-16 01:27:23,890 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 01:27:23 2023-03-16 01:27:23,890 [write_file] DEBUG write to file:/w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 01:27:23 2023-03-16 01:27:23,892 [execute] INFO git cat-file --batch-check 01:27:23 2023-03-16 01:27:23,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) 01:27:23 2023-03-16 01:27:23,897 [execute] INFO git cat-file --batch 01:27:23 2023-03-16 01:27:23,897 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) 01:27:23 2023-03-16 01:27:23,902 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 01:27:23 2.3.1-dev.5 [Pipeline] } 01:27:23 $ docker exec --env ******** --env ******** 7cdaef688d98681fb05c3ee700a150b7c5fdc112fb4430ec3eda4166e8225c1a ssh-agent -k 01:27:24 unset SSH_AUTH_SOCK; 01:27:24 unset SSH_AGENT_PID; 01:27:24 echo Agent pid 39 killed; 01:27:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:27:24 + git semver [Pipeline] } 01:27:24 $ docker stop --time=1 7cdaef688d98681fb05c3ee700a150b7c5fdc112fb4430ec3eda4166e8225c1a 01:27:25 $ docker rm -f --volumes 7cdaef688d98681fb05c3ee700a150b7c5fdc112fb4430ec3eda4166e8225c1a [Pipeline] // withDockerContainer [Pipeline] sh 01:27:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:27:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:27:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:26 prd-ubuntu20.04-docker-8c-8g-2330 does not seem to be running inside a container 01:27:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:27:27 $ docker top 06d01f62456b32111ea8a4b2b238ec033b0b3f43d461b2feed92da2ffb354661 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:27:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:27:27 [ssh-agent] Looking for ssh-agent implementation... 01:27:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:27:27 $ docker exec 06d01f62456b32111ea8a4b2b238ec033b0b3f43d461b2feed92da2ffb354661 ssh-agent 01:27:27 SSH_AUTH_SOCK=/tmp/ssh-UMS1StyzGGMg/agent.32 01:27:27 SSH_AGENT_PID=38 01:27:27 Running ssh-add (command line suppressed) 01:27:27 Identity added: /w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_15996359285451447408.key (/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/private_key_15996359285451447408.key) 01:27:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:27:27 + git semver push 01:27:27 2023-03-16 01:27:27,946 [run_push] DEBUG push 01:27:27 2023-03-16 01:27:27,946 [execute] INFO git cat-file --batch-check 01:27:27 2023-03-16 01:27:27,947 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=) 01:27:27 2023-03-16 01:27:27,951 [execute] INFO git rev-list 104b935bd5067d8ce060b271a21d192d3ed10490 -- 01:27:27 2023-03-16 01:27:27,952 [execute] DEBUG Popen(['git', 'rev-list', '104b935bd5067d8ce060b271a21d192d3ed10490', '--'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=None) 01:27:27 2023-03-16 01:27:27,963 [execute] INFO git fetch -v origin 01:27:27 2023-03-16 01:27:27,963 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=True, shell=None, istream=None) 01:27:28 2023-03-16 01:27:28,398 [run_push] DEBUG no remote changes detected 01:27:28 2023-03-16 01:27:28,398 [execute] INFO git push origin semver 01:27:28 2023-03-16 01:27:28,399 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski/.semver, universal_newlines=False, shell=None, istream=None) 01:27:29 2023-03-16 01:27:29,155 [run_push] DEBUG push all version tags 01:27:29 2023-03-16 01:27:29,156 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 01:27:29 2023-03-16 01:27:29,157 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/dgexfoundry_device-sdk-go_levski, universal_newlines=False, shell=None, istream=None) 01:27:30 2023-03-16 01:27:29,913 [read_version] DEBUG read version from /w/workspace/dgexfoundry_device-sdk-go_levski/.semver/levski 01:27:30 2.3.1-dev.5 [Pipeline] } 01:27:30 $ docker exec --env ******** --env ******** 06d01f62456b32111ea8a4b2b238ec033b0b3f43d461b2feed92da2ffb354661 ssh-agent -k 01:27:30 unset SSH_AUTH_SOCK; 01:27:30 unset SSH_AGENT_PID; 01:27:30 echo Agent pid 38 killed; 01:27:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:27:30 + git semver [Pipeline] } 01:27:30 $ docker stop --time=1 06d01f62456b32111ea8a4b2b238ec033b0b3f43d461b2feed92da2ffb354661 01:27:32 $ docker rm -f --volumes 06d01f62456b32111ea8a4b2b238ec033b0b3f43d461b2feed92da2ffb354661 [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 01:27:32 + [ -d /w/workspace/dgexfoundry_device-sdk-go_levski/archives ] 01:27:32 + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives 01:27:32 total 16 01:27:32 drwxr-xr-x 3 root root 4096 Mar 16 01:14 . 01:27:32 drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 01:27 .. 01:27:32 drwxr-xr-x 2 root root 4096 Mar 16 01:14 cost 01:27:32 -rw-r--r-- 1 root root 85 Mar 16 01:14 cost.csv 01:27:32 + sudo chown -R jenkins:jenkins /w/workspace/dgexfoundry_device-sdk-go_levski/archives 01:27:32 + ls -al /w/workspace/dgexfoundry_device-sdk-go_levski/archives 01:27:32 total 16 01:27:32 drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 01:14 . 01:27:32 drwxrwxr-x 12 jenkins jenkins 4096 Mar 16 01:27 .. 01:27:32 drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 01:14 cost 01:27:32 -rw-r--r-- 1 jenkins jenkins 85 Mar 16 01:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:27:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:27:33 ---> package-listing.sh 01:27:33 ++ facter osfamily 01:27:33 ++ tr '[:upper:]' '[:lower:]' 01:27:33 + OS_FAMILY=debian 01:27:33 + workspace=/w/workspace/dgexfoundry_device-sdk-go_levski 01:27:33 + START_PACKAGES=/tmp/packages_start.txt 01:27:33 + END_PACKAGES=/tmp/packages_end.txt 01:27:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:27:33 + PACKAGES=/tmp/packages_start.txt 01:27:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' 01:27:33 + PACKAGES=/tmp/packages_end.txt 01:27:33 + case "${OS_FAMILY}" in 01:27:33 + dpkg -l 01:27:33 + grep '^ii' 01:27:33 + '[' -f /tmp/packages_start.txt ']' 01:27:33 + '[' -f /tmp/packages_end.txt ']' 01:27:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:27:33 + '[' /w/workspace/dgexfoundry_device-sdk-go_levski ']' 01:27:33 + mkdir -p /w/workspace/dgexfoundry_device-sdk-go_levski/archives/ 01:27:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/dgexfoundry_device-sdk-go_levski/archives/ [Pipeline] echo 01:27:34 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 01:27:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:34 prd-ubuntu20.04-docker-8c-8g-2330 does not seem to be running inside a container 01:27:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/dgexfoundry_device-sdk-go_levski/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/dgexfoundry_device-sdk-go_levski -v /w/workspace/dgexfoundry_device-sdk-go_levski:/w/workspace/dgexfoundry_device-sdk-go_levski:rw,z -v /w/workspace/dgexfoundry_device-sdk-go_levski@tmp:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:27:35 $ docker top 6d2bbe383ea561c972f96618189ca2ca5ed765942510211a9a891d09b9fdd771 -eo pid,comm [Pipeline] { [Pipeline] sh 01:27:35 + touch /tmp/pre-build-complete [Pipeline] sh 01:27:35 + mkdir -p /var/log/sysstat [Pipeline] sh 01:27:36 + ls /var/log/sa-host 01:27:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:27:36 provisioning config files... 01:27:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/dgexfoundry_device-sdk-go_levski@tmp/config15366773486369772923tmp [Pipeline] { [Pipeline] echo 01:27:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:27:36 ---> create-netrc.sh [Pipeline] } 01:27:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:27:37 ---> python-tools-install.sh [Pipeline] echo 01:27:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:27:37 ---> sudo-logs.sh 01:27:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:27:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:27:37 ---> job-cost.sh 01:27:37 lf-activate-venv: SKIPPING 01:27:37 DEBUG: total: 0.2199999988079071 01:27:37 INFO: Retrieving Stack Cost... 01:27:37 INFO: Retrieving Pricing Info for: v3-standard-8 01:27:38 INFO: Archiving Costs [Pipeline] echo 01:27:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:27:38 ---> logs-deploy.sh 01:27:38 lf-activate-venv: SKIPPING 01:27:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/levski/6 01:27:38 INFO: archiving workspace using pattern(s): 01:27:39 Archives upload complete. 01:27:39 INFO: archiving logs to Nexus