Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 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-ssh14186975648180437696.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5489630555761996631.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15591807384316303080.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3959965906019734511.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14207244966355442361.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9376 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 (main) Commit message: "refactor!: remove global variable 'ds' in service package (#1345)" > 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 e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 # timeout=10 > git rev-list --no-walk a6f9b4558a5053ff5451a91be1399b57291d8939 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:23:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:23:51 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:23:51 ========================================================= 03:23:51 EdgeX Global Pipelines Version Info 03:23:51 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:23:52 ------------------- 03:23:52 stable info: 03:23:52 ------------------- 03:23:52 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:23:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:23:52 Message: update stable to v1.0.244 03:23:52 ------------------- 03:23:52 experimental info: 03:23:52 ------------------- 03:23:52 Commited By: **** collab-it+edgex@linuxfoundation.org 03:23:52 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 03:23:52 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:23:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:23:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:23:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5f9ace [Pipeline] echo 03:23:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:23:53 provisioning config files... 03:23:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config692600584966871253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:53 ---> docker-login.sh 03:23:53 nexus3.edgexfoundry.org:10001 03:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:54 Configure a credential helper to remove this warning. See 03:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:54 03:23:54 Login Succeeded 03:23:54 nexus3.edgexfoundry.org:10002 03:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:54 Configure a credential helper to remove this warning. See 03:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:54 03:23:54 Login Succeeded 03:23:54 nexus3.edgexfoundry.org:10003 03:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:54 Configure a credential helper to remove this warning. See 03:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:54 03:23:54 Login Succeeded 03:23:54 nexus3.edgexfoundry.org:10004 03:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:54 Configure a credential helper to remove this warning. See 03:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:54 03:23:54 Login Succeeded 03:23:54 docker.io 03:23:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:54 Configure a credential helper to remove this warning. See 03:23:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:54 03:23:54 Login Succeeded 03:23:54 ---> docker-login.sh ends [Pipeline] } 03:23:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:23:55 + git rev-list -1 --merges e5f9ace8858ef16ed7fd9fdcaf664427cc73e288~1..e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 [Pipeline] echo 03:23:55 -----------> git rev-list -1 --merges e5f9ace8858ef16ed7fd9fdcaf664427cc73e288~1..e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 [false] [Pipeline] sh 03:23:55 + git log --format=format:%s -1 e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 [Pipeline] echo 03:23:55 ========================================================= 03:23:55 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:23:55 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:23:55 + git log --format=format:%s -1 e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 [Pipeline] echo 03:23:55 [semverPrep] GIT_COMMIT: e5f9ace8858ef16ed7fd9fdcaf664427cc73e288, Commit Message: refactor!: remove global variable 'ds' in service package (#1345) [Pipeline] echo 03:23:55 [semverPrep] This is not a build commit. [Pipeline] sh 03:23:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:23:56 + grep -v github /etc/ssh/ssh_known_hosts 03:23:56 + [ -e /tmp/ssh_known_hosts ] 03:23:56 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:23:56 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:23:56 + sudo tee -a /etc/ssh/ssh_known_hosts 03:23:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:56 03:23:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:23:56 0.1.4: Pulling from edgex-devops/py-git-semver 03:23:56 b85a868b505f: Pulling fs layer 03:23:56 e2be974225ed: Pulling fs layer 03:23:56 339a4e72a1f5: Pulling fs layer 03:23:56 988bab9f4d93: Pulling fs layer 03:23:56 1469e6f7b9e6: Pulling fs layer 03:23:56 eaf3925da568: Pulling fs layer 03:23:56 bab4dde63d76: Pulling fs layer 03:23:56 bde34c3a00c8: Pulling fs layer 03:23:56 b352a97aabf1: Pulling fs layer 03:23:56 4872d77fe225: Pulling fs layer 03:23:56 5851b861e8e6: Pulling fs layer 03:23:56 bab4dde63d76: Waiting 03:23:56 bde34c3a00c8: Waiting 03:23:56 b352a97aabf1: Waiting 03:23:56 5851b861e8e6: Waiting 03:23:56 4872d77fe225: Waiting 03:23:56 eaf3925da568: Waiting 03:23:56 1469e6f7b9e6: Waiting 03:23:56 988bab9f4d93: Waiting 03:23:56 e2be974225ed: Verifying Checksum 03:23:56 e2be974225ed: Download complete 03:23:56 988bab9f4d93: Download complete 03:23:57 1469e6f7b9e6: Verifying Checksum 03:23:57 1469e6f7b9e6: Download complete 03:23:57 eaf3925da568: Verifying Checksum 03:23:57 eaf3925da568: Download complete 03:23:57 339a4e72a1f5: Verifying Checksum 03:23:57 339a4e72a1f5: Download complete 03:23:57 bde34c3a00c8: Download complete 03:23:57 b352a97aabf1: Verifying Checksum 03:23:57 4872d77fe225: Download complete 03:23:57 5851b861e8e6: Verifying Checksum 03:23:57 5851b861e8e6: Download complete 03:23:57 b85a868b505f: Verifying Checksum 03:23:57 b85a868b505f: Download complete 03:23:57 bab4dde63d76: Verifying Checksum 03:23:58 b85a868b505f: Pull complete 03:23:58 e2be974225ed: Pull complete 03:23:59 339a4e72a1f5: Pull complete 03:23:59 988bab9f4d93: Pull complete 03:23:59 1469e6f7b9e6: Pull complete 03:23:59 eaf3925da568: Pull complete 03:24:01 bab4dde63d76: Pull complete 03:24:01 bde34c3a00c8: Pull complete 03:24:01 b352a97aabf1: Pull complete 03:24:01 4872d77fe225: Pull complete 03:24:01 5851b861e8e6: Pull complete 03:24:01 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:24:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:24:01 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:01 prd-ubuntu20.04-docker-8c-8g-9376 does not seem to be running inside a container 03:24:01 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:24:05 $ docker top b74c8b78cf91d1024b25baeba99b359ed169bc9e14dd8b9eb06f66753f04cb98 -eo pid,comm 03:24:05 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). 03:24:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:24:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:24:05 [ssh-agent] Looking for ssh-agent implementation... 03:24:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:24:05 $ docker exec b74c8b78cf91d1024b25baeba99b359ed169bc9e14dd8b9eb06f66753f04cb98 ssh-agent 03:24:05 SSH_AUTH_SOCK=/tmp/ssh-FjmafhVR8i7F/agent.32 03:24:05 SSH_AGENT_PID=38 03:24:05 Running ssh-add (command line suppressed) 03:24:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4392593516993148473.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4392593516993148473.key) 03:24:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:24:06 + git tag --points-at HEAD [Pipeline] } 03:24:06 $ docker exec --env ******** --env ******** b74c8b78cf91d1024b25baeba99b359ed169bc9e14dd8b9eb06f66753f04cb98 ssh-agent -k 03:24:06 unset SSH_AUTH_SOCK; 03:24:06 unset SSH_AGENT_PID; 03:24:06 echo Agent pid 38 killed; 03:24:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:24:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:24:06 [ssh-agent] Looking for ssh-agent implementation... 03:24:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:24:06 $ docker exec b74c8b78cf91d1024b25baeba99b359ed169bc9e14dd8b9eb06f66753f04cb98 ssh-agent 03:24:06 SSH_AUTH_SOCK=/tmp/ssh-eFObAvChKUnY/agent.70 03:24:06 SSH_AGENT_PID=76 03:24:06 Running ssh-add (command line suppressed) 03:24:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7654940163011121455.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7654940163011121455.key) 03:24:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:24:06 + git semver init 03:24:07 2023-03-09 03:24:07,169 [run_init] DEBUG init version:0.0.0 force:False 03:24:07 2023-03-09 03:24:07,169 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:24:07 2023-03-09 03:24:07,170 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:24:07 2023-03-09 03:24:07,170 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 03:24:08 2023-03-09 03:24:08,035 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 03:24:08 2023-03-09 03:24:08,035 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 03:24:08 2023-03-09 03:24:08,035 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:24:08 2023-03-09 03:24:08,036 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:24:08 3.0.0-dev.49 [Pipeline] } 03:24:08 $ docker exec --env ******** --env ******** b74c8b78cf91d1024b25baeba99b359ed169bc9e14dd8b9eb06f66753f04cb98 ssh-agent -k 03:24:08 unset SSH_AUTH_SOCK; 03:24:08 unset SSH_AGENT_PID; 03:24:08 echo Agent pid 76 killed; 03:24:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:24:08 + git semver [Pipeline] } 03:24:08 $ docker stop --time=1 b74c8b78cf91d1024b25baeba99b359ed169bc9e14dd8b9eb06f66753f04cb98 03:24:10 $ docker rm -f --volumes b74c8b78cf91d1024b25baeba99b359ed169bc9e14dd8b9eb06f66753f04cb98 [Pipeline] // withDockerContainer [Pipeline] sh 03:24:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:24:10 Stashed 1 file(s) [Pipeline] echo 03:24:10 [edgeXSemver]: initialized semver on version 3.0.0-dev.49 [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 03:24:10 provisioning config files... 03:24:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3484598641985699113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:11 ---> docker-login.sh 03:24:11 nexus3.edgexfoundry.org:10001 03:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:11 Configure a credential helper to remove this warning. See 03:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:11 03:24:11 Login Succeeded 03:24:11 nexus3.edgexfoundry.org:10002 03:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:11 Configure a credential helper to remove this warning. See 03:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:11 03:24:11 Login Succeeded 03:24:11 nexus3.edgexfoundry.org:10003 03:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:11 Configure a credential helper to remove this warning. See 03:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:11 03:24:11 Login Succeeded 03:24:11 nexus3.edgexfoundry.org:10004 03:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:11 Configure a credential helper to remove this warning. See 03:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:11 03:24:11 Login Succeeded 03:24:11 docker.io 03:24:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:24:11 Configure a credential helper to remove this warning. See 03:24:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:24:11 03:24:11 Login Succeeded 03:24:11 ---> docker-login.sh ends [Pipeline] } 03:24:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:24:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:24:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:24:11 ========================================================= 03:24:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:24:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:12 + 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 . 03:24:12 Sending build context to Docker daemon 10.7MB 03:24:12 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 03:24:12 Step 2/10 : FROM ${BASE} AS builder 03:24:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:24:12 213ec9aee27d: Pulling fs layer 03:24:12 4583459ba037: Pulling fs layer 03:24:12 93c1e223e6f2: Pulling fs layer 03:24:12 53926ce57604: Pulling fs layer 03:24:12 21b2b0c7a3f4: Pulling fs layer 03:24:12 22ff95d597cd: Pulling fs layer 03:24:12 12d6caf4c0d1: Pulling fs layer 03:24:12 96b7cbca73a9: Pulling fs layer 03:24:12 53926ce57604: Waiting 03:24:12 22ff95d597cd: Waiting 03:24:12 21b2b0c7a3f4: Waiting 03:24:12 12d6caf4c0d1: Waiting 03:24:12 a7acece74701: Pulling fs layer 03:24:12 96b7cbca73a9: Waiting 03:24:12 a7acece74701: Waiting 03:24:12 93c1e223e6f2: Verifying Checksum 03:24:12 93c1e223e6f2: Download complete 03:24:12 4583459ba037: Verifying Checksum 03:24:12 4583459ba037: Download complete 03:24:12 21b2b0c7a3f4: Verifying Checksum 03:24:12 21b2b0c7a3f4: Download complete 03:24:12 22ff95d597cd: Verifying Checksum 03:24:12 22ff95d597cd: Download complete 03:24:12 213ec9aee27d: Download complete 03:24:12 12d6caf4c0d1: Download complete 03:24:12 213ec9aee27d: Pull complete 03:24:12 4583459ba037: Pull complete 03:24:12 93c1e223e6f2: Pull complete 03:24:12 a7acece74701: Verifying Checksum 03:24:12 a7acece74701: Download complete 03:24:13 96b7cbca73a9: Verifying Checksum 03:24:13 96b7cbca73a9: Download complete 03:24:13 53926ce57604: Verifying Checksum 03:24:13 53926ce57604: Download complete 03:24:17 53926ce57604: Pull complete 03:24:17 21b2b0c7a3f4: Pull complete 03:24:17 22ff95d597cd: Pull complete 03:24:17 12d6caf4c0d1: Pull complete 03:24:19 96b7cbca73a9: Pull complete 03:24:20 a7acece74701: Pull complete 03:24:20 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 03:24:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:24:20 ---> db6d94c90886 03:24:20 Step 3/10 : ARG MAKE=make build 03:24:22 ---> Running in b6461c4da583 03:24:22 Removing intermediate container b6461c4da583 03:24:22 ---> bc3e5356434f 03:24:22 Step 4/10 : WORKDIR /device-sdk-go 03:24:22 ---> Running in 7982280787e2 03:24:22 Removing intermediate container 7982280787e2 03:24:22 ---> 70fe2c106b7c 03:24:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:24:22 ---> Running in 1fa069acaff8 03:24:22 Removing intermediate container 1fa069acaff8 03:24:22 ---> 5dbf8d1dde8b 03:24:22 Step 6/10 : RUN apk add --update --no-cache make git 03:24:22 ---> Running in 480b357bb224 03:24:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:24:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:24:23 OK: 211 MiB in 51 packages 03:24:23 Removing intermediate container 480b357bb224 03:24:23 ---> 6a847391cc9b 03:24:23 Step 7/10 : COPY go.mod vendor* ./ 03:24:23 ---> c33b126438ac 03:24:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:23 ---> Running in fe3a6020bba5 03:24:25 Still waiting to schedule task 03:24:25 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:24:50 Removing intermediate container fe3a6020bba5 03:24:50 ---> c260ed47689d 03:24:50 Step 9/10 : COPY . . 03:24:50 ---> 806ebd387022 03:24:50 Step 10/10 : RUN ${MAKE} 03:24:50 ---> Running in d8c7061e8d9b 03:24:50 noop 03:24:50 Removing intermediate container d8c7061e8d9b 03:24:50 ---> da841051985c 03:24:50 Successfully built da841051985c 03:24:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:50 + docker inspect -f . ci-base-image-x86_64 03:24:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:50 prd-ubuntu20.04-docker-8c-8g-9376 does not seem to be running inside a container 03:24:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:24:51 $ docker top 52d3f2ca521f0883299bdea4a636c8d5194422eb205ec08e5094709ec478c103 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:51 + go version 03:24:51 go version go1.18.7 linux/amd64 [Pipeline] } 03:24:51 $ docker stop --time=1 52d3f2ca521f0883299bdea4a636c8d5194422eb205ec08e5094709ec478c103 03:24:52 $ docker rm -f --volumes 52d3f2ca521f0883299bdea4a636c8d5194422eb205ec08e5094709ec478c103 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:53 + docker inspect -f . ci-base-image-x86_64 03:24:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:53 prd-ubuntu20.04-docker-8c-8g-9376 does not seem to be running inside a container 03:24:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:24:53 $ docker top 3d8db57ab04807f39152fa02727cbea18d7c1481f0a8011585b628794e4ac392 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:53 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 03:24:54 + make test 03:24:54 go test -race -coverprofile=coverage.out ./... 03:25:00 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:25:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.064s coverage: 27.6% of statements 03:25:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.083s coverage: 78.9% of statements 03:25:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.116s coverage: 86.0% of statements 03:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:25:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.101s coverage: 75.4% of statements 03:25:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:25:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.070s coverage: 15.3% of statements 03:25:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 03:25:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.128s coverage: 65.2% of statements 03:25:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:25:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:25:18 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.763s coverage: 89.2% of statements 03:25:18 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.058s coverage: 5.5% of statements 03:25:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:25:36 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." 03:25:36 GO111MODULE=on go vet ./... 03:25:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:25:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:25:37 ./bin/test-attribution-txt.sh [Pipeline] echo 03:25:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:25:37 $ docker stop --time=1 3d8db57ab04807f39152fa02727cbea18d7c1481f0a8011585b628794e4ac392 03:25:39 $ docker rm -f --volumes 3d8db57ab04807f39152fa02727cbea18d7c1481f0a8011585b628794e4ac392 [Pipeline] // withDockerContainer [Pipeline] sh 03:25:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:25:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:25:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:25:40 + ls -al . 03:25:40 total 280 03:25:40 drwxrwxr-x 11 jenkins jenkins 4096 Mar 9 03:24 . 03:25:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:23 .. 03:25:40 -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 03:23 .dockerignore 03:25:40 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 03:25 .git 03:25:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 03:23 .github 03:25:40 -rw-rw-r-- 1 jenkins jenkins 131 Mar 9 03:23 .gitignore 03:25:40 -rw-rw-r-- 1 jenkins jenkins 42 Mar 9 03:23 .golangci.yml 03:25:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 03:24 .semver 03:25:40 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 9 03:23 CHANGELOG.md 03:25:40 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 03:23 GOVERNANCE.md 03:25:40 -rw-rw-r-- 1 jenkins jenkins 885 Mar 9 03:23 Jenkinsfile 03:25:40 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 03:23 LICENSE 03:25:40 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 9 03:23 Makefile 03:25:40 -rw-rw-r-- 1 jenkins jenkins 619 Mar 9 03:23 OWNERS.md 03:25:40 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 9 03:23 README.md 03:25:40 -rw-rw-r-- 1 jenkins jenkins 12 Mar 9 03:24 VERSION 03:25:40 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 03:23 bin 03:25:40 -rw-r--r-- 1 jenkins jenkins 111316 Mar 9 03:25 coverage.out 03:25:40 drwxrwxr-x 5 jenkins jenkins 4096 Mar 9 03:23 example 03:25:40 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 9 03:23 go.mod 03:25:40 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 9 03:23 go.sum 03:25:40 drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 03:23 internal 03:25:40 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 03:23 openapi 03:25:40 drwxrwxr-x 6 jenkins jenkins 4096 Mar 9 03:23 pkg 03:25:40 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:23 snap 03:25:40 -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 03:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:25:41 + 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=e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 --label arch=amd64 --label version=3.0.0-dev.49 . 03:25:41 Sending build context to Docker daemon 10.81MB 03:25:41 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 03:25:41 Step 2/23 : FROM ${BASE} AS builder 03:25:41 ---> da841051985c 03:25:41 Step 3/23 : ARG MAKE=make build 03:25:41 ---> Running in 659d86c6184c 03:25:41 Removing intermediate container 659d86c6184c 03:25:41 ---> 4712c8aa0ff0 03:25:41 Step 4/23 : WORKDIR /device-sdk-go 03:25:41 ---> Running in 473040ab5206 03:25:41 Removing intermediate container 473040ab5206 03:25:41 ---> 19e7a58beab3 03:25:41 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:25:41 ---> Running in 43e5ed2be19a 03:25:41 Removing intermediate container 43e5ed2be19a 03:25:41 ---> dfc20073e812 03:25:41 Step 6/23 : RUN apk add --update --no-cache make git 03:25:41 ---> Running in 7e8d7ec73bed 03:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:25:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:25:42 OK: 211 MiB in 51 packages 03:25:42 Removing intermediate container 7e8d7ec73bed 03:25:42 ---> 5c98f4062045 03:25:42 Step 7/23 : COPY go.mod vendor* ./ 03:25:42 ---> e9653cbf770f 03:25:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:25:42 ---> Running in 0f301a2de3a0 03:25:43 Removing intermediate container 0f301a2de3a0 03:25:43 ---> fa232d9eb468 03:25:43 Step 9/23 : COPY . . 03:25:43 ---> 713269b00e5b 03:25:43 Step 10/23 : RUN ${MAKE} 03:25:43 ---> Running in df6ae6f95ead 03:25:44 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.49" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:26:02 Removing intermediate container df6ae6f95ead 03:26:02 ---> ae6a9843e82f 03:26:02 Step 11/23 : FROM alpine:3.16 03:26:02 3.16: Pulling from library/alpine 03:26:02 ef5531b6e74e: Pulling fs layer 03:26:02 ef5531b6e74e: Verifying Checksum 03:26:02 ef5531b6e74e: Download complete 03:26:02 ef5531b6e74e: Pull complete 03:26:02 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 03:26:02 Status: Downloaded newer image for alpine:3.16 03:26:02 ---> dfd21b5a31f5 03:26:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:26:02 ---> Running in c57715ef0a27 03:26:02 Removing intermediate container c57715ef0a27 03:26:02 ---> e6d686bc66b2 03:26:02 Step 13/23 : RUN apk add --update --no-cache 03:26:02 ---> Running in 1403cf2c05d4 03:26:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:26:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:26:03 OK: 6 MiB in 14 packages 03:26:03 Removing intermediate container 1403cf2c05d4 03:26:03 ---> 0f6755dd168c 03:26:03 Step 14/23 : WORKDIR / 03:26:03 ---> Running in 99bce4fe30cf 03:26:03 Removing intermediate container 99bce4fe30cf 03:26:03 ---> b540e1b2449e 03:26:03 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:26:03 ---> 15d3ab593270 03:26:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:26:04 ---> d6809c68bc1b 03:26:04 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:26:04 ---> 9f8c27d05fb4 03:26:04 Step 18/23 : EXPOSE 59999 03:26:04 ---> Running in d2b29ce7e1ee 03:26:04 Removing intermediate container d2b29ce7e1ee 03:26:04 ---> 480d5a8fddc2 03:26:04 Step 19/23 : ENTRYPOINT ["/device-simple"] 03:26:04 ---> Running in 1019098fa711 03:26:04 Removing intermediate container 1019098fa711 03:26:04 ---> 8a41db29fa6d 03:26:04 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:26:04 ---> Running in 9fea8f250293 03:26:04 Removing intermediate container 9fea8f250293 03:26:04 ---> e67ff61f0205 03:26:04 Step 21/23 : LABEL arch=amd64 03:26:04 ---> Running in 966972b4e7f6 03:26:04 Removing intermediate container 966972b4e7f6 03:26:04 ---> 5201c9785ebd 03:26:04 Step 22/23 : LABEL git_sha=e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 03:26:04 ---> Running in cac69f82e4c2 03:26:04 Removing intermediate container cac69f82e4c2 03:26:04 ---> 28557e5a0901 03:26:04 Step 23/23 : LABEL version=3.0.0-dev.49 03:26:04 ---> Running in a4060f4441f8 03:26:05 Removing intermediate container a4060f4441f8 03:26:05 ---> 323a963062f8 03:26:05 [Warning] One or more build-args [ARCH] were not consumed 03:26:05 Successfully built 323a963062f8 03:26:05 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 03:26:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:05 03:26:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:05 latest: Pulling from edgex-lftools-log-publisher 03:26:05 5eb5b503b376: Pulling fs layer 03:26:05 5c69ac0246d0: Pulling fs layer 03:26:05 ec43610c2a17: Pulling fs layer 03:26:05 3a2ae6a8a46f: Pulling fs layer 03:26:05 33b1e0a273af: Pulling fs layer 03:26:05 5d3b04190fa2: Pulling fs layer 03:26:05 2f39f015ded8: Pulling fs layer 03:26:05 33b1e0a273af: Waiting 03:26:05 5d3b04190fa2: Waiting 03:26:05 2f39f015ded8: Waiting 03:26:05 3a2ae6a8a46f: Waiting 03:26:05 5c69ac0246d0: Download complete 03:26:05 3a2ae6a8a46f: Verifying Checksum 03:26:05 3a2ae6a8a46f: Download complete 03:26:06 33b1e0a273af: Verifying Checksum 03:26:06 33b1e0a273af: Download complete 03:26:06 5d3b04190fa2: Verifying Checksum 03:26:06 5d3b04190fa2: Download complete 03:26:06 ec43610c2a17: Verifying Checksum 03:26:06 ec43610c2a17: Download complete 03:26:06 5eb5b503b376: Verifying Checksum 03:26:06 5eb5b503b376: Download complete 03:26:06 2f39f015ded8: Verifying Checksum 03:26:06 2f39f015ded8: Download complete 03:26:07 5eb5b503b376: Pull complete 03:26:07 5c69ac0246d0: Pull complete 03:26:07 ec43610c2a17: Pull complete 03:26:07 3a2ae6a8a46f: Pull complete 03:26:07 33b1e0a273af: Pull complete 03:26:08 5d3b04190fa2: Pull complete 03:26:12 2f39f015ded8: Pull complete 03:26:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:26:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:12 prd-ubuntu20.04-docker-8c-8g-9376 does not seem to be running inside a container 03:26:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:26:14 $ docker top 50cee78dfd7213c53a3558d4d148835e0d1c85cfd61095af8ad60d865dd68c16 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:14 ---> job-cost.sh 03:26:14 lf-activate-venv: SKIPPING 03:26:14 INFO: No Stack... 03:26:15 INFO: Retrieving Pricing Info for: v3-standard-8 03:26:15 INFO: Archiving Costs [Pipeline] sh 03:26:15 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 03:26:15 + cut -d, -f6 [Pipeline] lock 03:26:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-179-stack-cost] 03:26:15 Resource [jenkins-edgexfoundry-device-sdk-go-main-179-stack-cost] did not exist. Created. 03:26:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:26:16 + echo total: 0.2199999988079071 [Pipeline] stash 03:26:16 Stashed 1 file(s) [Pipeline] } 03:26:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 03:26:16 $ docker stop --time=1 50cee78dfd7213c53a3558d4d148835e0d1c85cfd61095af8ad60d865dd68c16 03:26:17 $ docker rm -f --volumes 50cee78dfd7213c53a3558d4d148835e0d1c85cfd61095af8ad60d865dd68c16 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:26:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9381 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 03:26:58 Running in /w/workspace/device-sdk-go/179 [Pipeline] { [Pipeline] checkout 03:26:58 The recommended git tool is: git 03:27:05 using credential edgex-jenkins-ssh 03:27:05 Cloning the remote Git repository 03:27:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:27:05 > git init /w/workspace/device-sdk-go/179 # timeout=10 03:27:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:27:05 > git --version # timeout=10 03:27:05 > git --version # 'git version 2.25.1' 03:27:05 using GIT_SSH to set credentials SSH Credentials for GitHub 03:27:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:27:09 Avoid second fetch 03:27:09 Checking out Revision e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 (main) 03:27:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:27:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:27:09 > git config core.sparsecheckout # timeout=10 03:27:09 > git checkout -f e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 # timeout=10 03:27:09 Commit message: "refactor!: remove global variable 'ds' in service package (#1345)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:27:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:27:10 % Total % Received % Xferd Average Speed Time Time Time Current 03:27:10 Dload Upload Total Spent Left Speed 03:27:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 03:27:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:27:11 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 03:27:11 03:27:11 { 03:27:11 "registry-mirrors": [ 03:27:11 "https://nexus3.edgexfoundry.org:10001" 03:27:11 ], 03:27:11 "bip": "10.250.0.254/24", 03:27:11 "hosts": [ 03:27:11 "tcp://0.0.0.0:5555", 03:27:11 "unix:///var/run/docker.sock" 03:27:11 ], 03:27:11 "mtu": 1458, 03:27:11 "selinux-enabled": true, 03:27:11 "seccomp-profile": "/etc/docker/seccomp.json" 03:27:11 } [Pipeline] sh 03:27:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:27:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:27:30 provisioning config files... 03:27:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/179@tmp/config1657975312437038449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:27:31 ---> docker-login.sh 03:27:31 nexus3.edgexfoundry.org:10001 03:27:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:31 Configure a credential helper to remove this warning. See 03:27:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:31 03:27:31 Login Succeeded 03:27:31 nexus3.edgexfoundry.org:10002 03:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:32 Configure a credential helper to remove this warning. See 03:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:32 03:27:32 Login Succeeded 03:27:32 nexus3.edgexfoundry.org:10003 03:27:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:32 Configure a credential helper to remove this warning. See 03:27:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:32 03:27:32 Login Succeeded 03:27:32 nexus3.edgexfoundry.org:10004 03:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:33 Configure a credential helper to remove this warning. See 03:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:33 03:27:33 Login Succeeded 03:27:33 docker.io 03:27:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:27:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:27:33 Configure a credential helper to remove this warning. See 03:27:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:27:33 03:27:33 Login Succeeded 03:27:33 ---> docker-login.sh ends [Pipeline] } 03:27:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:27:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:27:33 ========================================================= 03:27:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 03:27:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:34 + 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 . 03:27:34 Sending build context to Docker daemon 5.741MB 03:27:34 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 03:27:34 Step 2/10 : FROM ${BASE} AS builder 03:27:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:27:35 9b18e9b68314: Pulling fs layer 03:27:35 35d82f9e3411: Pulling fs layer 03:27:35 e16973657156: Pulling fs layer 03:27:35 fc693d55d65f: Pulling fs layer 03:27:35 7e9fc2657dce: Pulling fs layer 03:27:35 dda99020689f: Pulling fs layer 03:27:35 db1c61fa0a46: Pulling fs layer 03:27:35 891c053d2c06: Pulling fs layer 03:27:35 fc693d55d65f: Waiting 03:27:35 dda99020689f: Waiting 03:27:35 db1c61fa0a46: Waiting 03:27:35 7e9fc2657dce: Waiting 03:27:35 891c053d2c06: Waiting 03:27:35 e16973657156: Verifying Checksum 03:27:35 e16973657156: Download complete 03:27:35 35d82f9e3411: Download complete 03:27:35 7e9fc2657dce: Verifying Checksum 03:27:35 7e9fc2657dce: Download complete 03:27:35 dda99020689f: Verifying Checksum 03:27:35 dda99020689f: Download complete 03:27:35 9b18e9b68314: Verifying Checksum 03:27:35 9b18e9b68314: Download complete 03:27:36 9b18e9b68314: Pull complete 03:27:36 891c053d2c06: Verifying Checksum 03:27:36 891c053d2c06: Download complete 03:27:36 35d82f9e3411: Pull complete 03:27:37 e16973657156: Pull complete 03:27:37 db1c61fa0a46: Verifying Checksum 03:27:37 db1c61fa0a46: Download complete 03:27:38 fc693d55d65f: Download complete 03:27:50 fc693d55d65f: Pull complete 03:27:50 7e9fc2657dce: Pull complete 03:27:50 dda99020689f: Pull complete 03:27:57 db1c61fa0a46: Pull complete 03:28:00 891c053d2c06: Pull complete 03:28:00 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 03:28:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 03:28:00 ---> f96f9c87975a 03:28:00 Step 3/10 : ARG MAKE=make build 03:28:02 ---> Running in ce9058d45f45 03:28:03 Removing intermediate container ce9058d45f45 03:28:03 ---> 7248bbc2db15 03:28:03 Step 4/10 : WORKDIR /device-sdk-go 03:28:03 ---> Running in 8c3ae715cd94 03:28:03 Removing intermediate container 8c3ae715cd94 03:28:03 ---> 6f7a29db53c8 03:28:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:28:03 ---> Running in e1e8ba9b5681 03:28:03 Removing intermediate container e1e8ba9b5681 03:28:03 ---> 6f0b6c3b27fc 03:28:03 Step 6/10 : RUN apk add --update --no-cache make git 03:28:03 ---> Running in ae69c1491693 03:28:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:28:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:28:07 OK: 221 MiB in 51 packages 03:28:07 Removing intermediate container ae69c1491693 03:28:07 ---> 430e842cdb71 03:28:07 Step 7/10 : COPY go.mod vendor* ./ 03:28:08 ---> 1f05b2c95825 03:28:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:28:08 ---> Running in 74deefc8b693 03:29:16 Removing intermediate container 74deefc8b693 03:29:16 ---> dbac554aadd9 03:29:16 Step 9/10 : COPY . . 03:29:16 ---> 04ab45697c09 03:29:16 Step 10/10 : RUN ${MAKE} 03:29:16 ---> Running in 9283d952cbae 03:29:16 noop 03:29:17 Removing intermediate container 9283d952cbae 03:29:17 ---> 55bf7706ce32 03:29:17 Successfully built 55bf7706ce32 03:29:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:17 + docker inspect -f . ci-base-image-arm64 03:29:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:18 prd-ubuntu20.04-docker-arm64-4c-16g-9381 does not seem to be running inside a container 03:29:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/179 -v /w/workspace/device-sdk-go/179:/w/workspace/device-sdk-go/179:rw,z -v /w/workspace/device-sdk-go/179@tmp:/w/workspace/device-sdk-go/179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:29:21 $ docker top 2baffeca8e33c165de716ba22353cccec9ce0696befaa9476aea1d0a88600bd4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:22 + go version 03:29:22 go version go1.18.7 linux/arm64 [Pipeline] } 03:29:22 $ docker stop --time=1 2baffeca8e33c165de716ba22353cccec9ce0696befaa9476aea1d0a88600bd4 03:29:24 $ docker rm -f --volumes 2baffeca8e33c165de716ba22353cccec9ce0696befaa9476aea1d0a88600bd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:29:24 + docker inspect -f . ci-base-image-arm64 03:29:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:29:25 prd-ubuntu20.04-docker-arm64-4c-16g-9381 does not seem to be running inside a container 03:29:25 $ 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/179 -v /w/workspace/device-sdk-go/179:/w/workspace/device-sdk-go/179:rw,z -v /w/workspace/device-sdk-go/179@tmp:/w/workspace/device-sdk-go/179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:29:26 $ docker top ff249772144f6942820ee68e997b38dbbe55d37dda574264a83eb38688e4908a -eo pid,comm [Pipeline] { [Pipeline] sh 03:29:27 + git config --global --add safe.directory /w/workspace/device-sdk-go/179 [Pipeline] fileExists [Pipeline] sh 03:29:27 + make test 03:29:27 go test -race -coverprofile=coverage.out ./... 03:30:06 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:32:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:32:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:32:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:32:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:32:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:32:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.335s coverage: 27.6% of statements 03:32:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.371s coverage: 78.9% of statements 03:32:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.459s coverage: 86.0% of statements 03:32:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:32:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:32:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.573s coverage: 75.4% of statements 03:32:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:32:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.301s coverage: 15.3% of statements 03:32:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 03:32:52 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.477s coverage: 65.2% of statements 03:32:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:32:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:32:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.403s coverage: 89.2% of statements 03:32:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.277s coverage: 5.5% of statements 03:32:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:32:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:32:55 GO111MODULE=on go vet ./... 03:34:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:34:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:34:32 ./bin/test-attribution-txt.sh [Pipeline] echo 03:34:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:34:32 $ docker stop --time=1 ff249772144f6942820ee68e997b38dbbe55d37dda574264a83eb38688e4908a 03:34:36 $ docker rm -f --volumes ff249772144f6942820ee68e997b38dbbe55d37dda574264a83eb38688e4908a [Pipeline] // withDockerContainer [Pipeline] sh 03:34:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:34:37 Warning: overwriting stash ‘coverage-report’ 03:34:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:34:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:34:38 + ls -al . 03:34:38 total 276 03:34:38 drwxrwxr-x 10 jenkins jenkins 4096 Mar 9 03:29 . 03:34:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:27 .. 03:34:38 -rw-rw-r-- 1 jenkins jenkins 140 Mar 9 03:27 .dockerignore 03:34:38 drwxrwxr-x 8 jenkins jenkins 4096 Mar 9 03:27 .git 03:34:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 03:27 .github 03:34:38 -rw-rw-r-- 1 jenkins jenkins 131 Mar 9 03:27 .gitignore 03:34:38 -rw-rw-r-- 1 jenkins jenkins 42 Mar 9 03:27 .golangci.yml 03:34:38 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 9 03:27 CHANGELOG.md 03:34:38 -rw-rw-r-- 1 jenkins jenkins 677 Mar 9 03:27 GOVERNANCE.md 03:34:38 -rw-rw-r-- 1 jenkins jenkins 885 Mar 9 03:27 Jenkinsfile 03:34:38 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 9 03:27 LICENSE 03:34:38 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 9 03:27 Makefile 03:34:38 -rw-rw-r-- 1 jenkins jenkins 619 Mar 9 03:27 OWNERS.md 03:34:38 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 9 03:27 README.md 03:34:38 -rw-rw-r-- 1 jenkins jenkins 12 Mar 9 03:24 VERSION 03:34:38 drwxrwxr-x 2 jenkins jenkins 4096 Mar 9 03:27 bin 03:34:38 -rw-r--r-- 1 jenkins jenkins 111316 Mar 9 03:32 coverage.out 03:34:38 drwxrwxr-x 5 jenkins jenkins 4096 Mar 9 03:27 example 03:34:38 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 9 03:27 go.mod 03:34:38 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 9 03:27 go.sum 03:34:38 drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 03:27 internal 03:34:38 drwxrwxr-x 3 jenkins jenkins 4096 Mar 9 03:27 openapi 03:34:38 drwxrwxr-x 6 jenkins jenkins 4096 Mar 9 03:27 pkg 03:34:38 drwxrwxr-x 4 jenkins jenkins 4096 Mar 9 03:27 snap 03:34:38 -rw-rw-r-- 1 jenkins jenkins 222 Mar 9 03:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:34:39 + 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=e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 --label arch=arm64 --label version=3.0.0-dev.49 . 03:34:39 Sending build context to Docker daemon 5.853MB 03:34:39 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 03:34:39 Step 2/23 : FROM ${BASE} AS builder 03:34:39 ---> 55bf7706ce32 03:34:39 Step 3/23 : ARG MAKE=make build 03:34:39 ---> Running in 284492310f15 03:34:40 Removing intermediate container 284492310f15 03:34:40 ---> f04e222fe07e 03:34:40 Step 4/23 : WORKDIR /device-sdk-go 03:34:40 ---> Running in 59b7beb7551a 03:34:40 Removing intermediate container 59b7beb7551a 03:34:40 ---> cfbfd29aa1ef 03:34:40 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:34:40 ---> Running in 86dd5155e740 03:34:40 Removing intermediate container 86dd5155e740 03:34:40 ---> 514fc067ffaa 03:34:40 Step 6/23 : RUN apk add --update --no-cache make git 03:34:40 ---> Running in 100690b7e1aa 03:34:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:34:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:34:43 OK: 221 MiB in 51 packages 03:34:44 Removing intermediate container 100690b7e1aa 03:34:44 ---> 83a55848ba54 03:34:44 Step 7/23 : COPY go.mod vendor* ./ 03:34:44 ---> ec42e38d54fa 03:34:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:34:44 ---> Running in 723250b1f0b6 03:34:48 Removing intermediate container 723250b1f0b6 03:34:48 ---> 2509ae3d622c 03:34:48 Step 9/23 : COPY . . 03:34:48 ---> 81b0e4587588 03:34:48 Step 10/23 : RUN ${MAKE} 03:34:48 ---> Running in c58fd3657441 03:34:49 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.49" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:36:56 Removing intermediate container c58fd3657441 03:36:56 ---> 52e69a6bd39d 03:36:56 Step 11/23 : FROM alpine:3.16 03:36:56 3.16: Pulling from library/alpine 03:36:56 3760b48202b3: Pulling fs layer 03:36:56 3760b48202b3: Verifying Checksum 03:36:56 3760b48202b3: Download complete 03:36:56 3760b48202b3: Pull complete 03:36:56 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 03:36:56 Status: Downloaded newer image for alpine:3.16 03:36:56 ---> 4c81e5bf8899 03:36:56 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:36:56 ---> Running in 9458c7f7d95a 03:36:56 Removing intermediate container 9458c7f7d95a 03:36:56 ---> e2a4bc900fe9 03:36:56 Step 13/23 : RUN apk add --update --no-cache 03:36:56 ---> Running in a245b9f44d45 03:36:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 03:36:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 03:36:56 OK: 5 MiB in 14 packages 03:36:56 Removing intermediate container a245b9f44d45 03:36:56 ---> 7dec9665d390 03:36:56 Step 14/23 : WORKDIR / 03:36:56 ---> Running in 45b299dc043c 03:36:56 Removing intermediate container 45b299dc043c 03:36:56 ---> 82b7ab5ac1dd 03:36:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:36:56 ---> 6e5b94bb5efe 03:36:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:36:56 ---> 38d2aaac35e1 03:36:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:36:56 ---> be93218f78d2 03:36:56 Step 18/23 : EXPOSE 59999 03:36:56 ---> Running in 609622af6fcd 03:36:56 Removing intermediate container 609622af6fcd 03:36:56 ---> e7b0797dbe39 03:36:56 Step 19/23 : ENTRYPOINT ["/device-simple"] 03:36:56 ---> Running in 3f00458c1df4 03:36:56 Removing intermediate container 3f00458c1df4 03:36:56 ---> 3bf512eeb85e 03:36:56 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:36:56 ---> Running in 9122a44fe1d1 03:36:56 Removing intermediate container 9122a44fe1d1 03:36:56 ---> 77c7466561b9 03:36:56 Step 21/23 : LABEL arch=arm64 03:36:56 ---> Running in 4195ceb4ef10 03:36:57 Removing intermediate container 4195ceb4ef10 03:36:57 ---> bbe72dd261da 03:36:57 Step 22/23 : LABEL git_sha=e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 03:36:57 ---> Running in ddfef692b66d 03:36:57 Removing intermediate container ddfef692b66d 03:36:57 ---> 91b5f61f19f6 03:36:57 Step 23/23 : LABEL version=3.0.0-dev.49 03:36:57 ---> Running in 53467d315569 03:36:57 Removing intermediate container 53467d315569 03:36:57 ---> c5c1e88d6764 03:36:57 [Warning] One or more build-args [ARCH] were not consumed 03:36:57 Successfully built c5c1e88d6764 03:36: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 03:36:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:36:58 03:36:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:36:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:36:58 arm64: Pulling from edgex-lftools-log-publisher 03:36:58 8998bd30e6a1: Pulling fs layer 03:36:58 04944245beec: Pulling fs layer 03:36:58 699f458cf7ca: Pulling fs layer 03:36:58 765212b225bb: Pulling fs layer 03:36:58 f23df028b6ca: Pulling fs layer 03:36:58 d65c8cfc05b1: Pulling fs layer 03:36:58 2437ff75d9bd: Pulling fs layer 03:36:58 f23df028b6ca: Waiting 03:36:58 d65c8cfc05b1: Waiting 03:36:58 2437ff75d9bd: Waiting 03:36:58 765212b225bb: Waiting 03:36:58 04944245beec: Verifying Checksum 03:36:58 04944245beec: Download complete 03:36:58 765212b225bb: Verifying Checksum 03:36:58 765212b225bb: Download complete 03:36:58 f23df028b6ca: Verifying Checksum 03:36:58 f23df028b6ca: Download complete 03:36:58 d65c8cfc05b1: Verifying Checksum 03:36:58 d65c8cfc05b1: Download complete 03:36:59 699f458cf7ca: Verifying Checksum 03:36:59 699f458cf7ca: Download complete 03:36:59 8998bd30e6a1: Verifying Checksum 03:36:59 8998bd30e6a1: Download complete 03:37:01 2437ff75d9bd: Verifying Checksum 03:37:01 2437ff75d9bd: Download complete 03:37:02 8998bd30e6a1: Pull complete 03:37:03 04944245beec: Pull complete 03:37:04 699f458cf7ca: Pull complete 03:37:04 765212b225bb: Pull complete 03:37:08 f23df028b6ca: Pull complete 03:37:08 d65c8cfc05b1: Pull complete 03:37:23 2437ff75d9bd: Pull complete 03:37:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:37:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:37:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:23 prd-ubuntu20.04-docker-arm64-4c-16g-9381 does not seem to be running inside a container 03:37:23 $ 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/179 -v /w/workspace/device-sdk-go/179:/w/workspace/device-sdk-go/179:rw,z -v /w/workspace/device-sdk-go/179@tmp:/w/workspace/device-sdk-go/179@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:37:26 $ docker top 9697ebb24905c394568cd9007b8ddb46caa279f3b62bfbefcaccd57f4e6a01e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:26 ---> job-cost.sh 03:37:26 lf-activate-venv: SKIPPING 03:37:26 INFO: No Stack... 03:37:27 INFO: Retrieving Pricing Info for: v3-standard-4 03:37:28 INFO: Archiving Costs [Pipeline] sh 03:37:28 + cat /w/workspace/device-sdk-go/179/archives/cost.csv 03:37:28 + cut -d, -f6 [Pipeline] lock 03:37:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-179-stack-cost] 03:37:28 Resource [jenkins-edgexfoundry-device-sdk-go-main-179-stack-cost] did not exist. Created. 03:37:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-179-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:37:28 /w/workspace/device-sdk-go/179@tmp/durable-8edd81d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:37:29 + echo total: 0.10999999940395355 [Pipeline] stash 03:37:29 Warning: overwriting stash ‘stack-cost’ 03:37:29 Stashed 1 file(s) [Pipeline] } 03:37:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-179-stack-cost] [Pipeline] // lock [Pipeline] } 03:37:29 $ docker stop --time=1 9697ebb24905c394568cd9007b8ddb46caa279f3b62bfbefcaccd57f4e6a01e7 03:37:31 $ docker rm -f --volumes 9697ebb24905c394568cd9007b8ddb46caa279f3b62bfbefcaccd57f4e6a01e7 [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 03:37:31 provisioning config files... 03:37:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6443946388548669864tmp [Pipeline] { [Pipeline] sh 03:37:31 + set +x 03:37:31 + curl -s https://codecov.io/bash 03:37:31 + bash -s -- 03:37:31 03:37:31 _____ _ 03:37:31 / ____| | | 03:37:31 | | ___ __| | ___ ___ _____ __ 03:37:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:37:31 | |___| (_) | (_| | __/ (_| (_) \ V / 03:37:31 \_____\___/ \__,_|\___|\___\___/ \_/ 03:37:31 Bash-1.0.6 03:37:31 03:37:31 03:37:31 ==> git version 2.25.1 found 03:37: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 03:37:31 Release-Date: 2020-01-08 03:37: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 03:37:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:37:31 ==> Jenkins CI detected. 03:37:31 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 03:37:31 project root: . 03:37:31 --> token set from env 03:37:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:37:31 ==> Running gcov in . (disable via -X gcov) 03:37:31 ==> Python coveragepy not found 03:37:31 ==> Searching for coverage reports in: 03:37:31 + . 03:37:31 -> Found 1 reports 03:37:31 ==> Detecting git/mercurial file structure 03:37:31 ==> Reading reports 03:37:31 + ./coverage.out bytes=111316 03:37:31 ==> Appending adjustments 03:37:31 https://docs.codecov.io/docs/fixing-reports 03:37:31 + Found adjustments 03:37:31 ==> Gzipping contents 03:37:31 16K /tmp/codecov.Bf8rd6.gz 03:37:31 ==> Uploading reports 03:37:31 url: https://codecov.io 03:37:31 query: branch=main&commit=e5f9ace8858ef16ed7fd9fdcaf664427cc73e288&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:37:32 -> Pinging Codecov 03:37:32 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=e5f9ace8858ef16ed7fd9fdcaf664427cc73e288&build=179&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F179%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:37:32 -> Uploading to 03:37:32 https://storage.googleapis.com/codecov/v4/raw/2023-03-09/7E55EF52A471D76F132DFD9A03CDDE97/e5f9ace8858ef16ed7fd9fdcaf664427cc73e288/5b27ffc9-7f28-4d12-9131-da6fa0690b37.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230309%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230309T033732Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d5a58c2c4ced6550d01e04cc1f197c691eb66e2ea5cd62b90a023f69c2e9f931 03:37:32 % Total % Received % Xferd Average Speed Time Time Time Current 03:37:32 Dload Upload Total Spent Left Speed 03:37:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15502 0 0 100 15502 0 51846 --:--:-- --:--:-- --:--:-- 51846 03:37:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 [Pipeline] } 03:37:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:37:32 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:37:32 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:37:32 03:37:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:37:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:37:33 df9b9388f04a: Pulling fs layer 03:37:33 52dc419b0ee2: Pulling fs layer 03:37:33 25bc292e5bac: Pulling fs layer 03:37:33 114826534d7a: Pulling fs layer 03:37:33 4657fd5d0bcf: Pulling fs layer 03:37:33 6ad1cebc031e: Pulling fs layer 03:37:33 8a3aa393b2d8: Pulling fs layer 03:37:33 6ad1cebc031e: Waiting 03:37:33 114826534d7a: Waiting 03:37:33 8a3aa393b2d8: Waiting 03:37:33 25bc292e5bac: Verifying Checksum 03:37:33 25bc292e5bac: Download complete 03:37:33 52dc419b0ee2: Verifying Checksum 03:37:33 52dc419b0ee2: Download complete 03:37:33 4657fd5d0bcf: Verifying Checksum 03:37:33 4657fd5d0bcf: Download complete 03:37:33 df9b9388f04a: Download complete 03:37:33 df9b9388f04a: Pull complete 03:37:33 6ad1cebc031e: Verifying Checksum 03:37:33 6ad1cebc031e: Download complete 03:37:33 52dc419b0ee2: Pull complete 03:37:33 25bc292e5bac: Pull complete 03:37:34 114826534d7a: Download complete 03:37:34 8a3aa393b2d8: Verifying Checksum 03:37:34 8a3aa393b2d8: Download complete 03:37:38 114826534d7a: Pull complete 03:37:38 4657fd5d0bcf: Pull complete 03:37:38 6ad1cebc031e: Pull complete 03:37:41 8a3aa393b2d8: Pull complete 03:37:41 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:37:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:37:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:41 prd-ubuntu20.04-docker-8c-8g-9376 does not seem to be running inside a container 03:37:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:37:43 $ docker top 0b05359094071eef1185dbd59420e7e8bcdcfa601e30c7a91d61504663daa3aa -eo pid,comm [Pipeline] { [Pipeline] echo 03:37:43 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 03:37:43 + set -o pipefail 03:37:43 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 03:37:51 03:37:51 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 03:37:51 03:37:51 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/08f67b34-74fa-4e6b-a55a-4a26d30e3d80 03:37:51 03:37:51 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:37:51 03:37:51 03:37:51 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:37:51 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:37:51 More details here: https://snyk.co/ue1NS [Pipeline] } 03:37:51 $ docker stop --time=1 0b05359094071eef1185dbd59420e7e8bcdcfa601e30c7a91d61504663daa3aa 03:37:53 $ docker rm -f --volumes 0b05359094071eef1185dbd59420e7e8bcdcfa601e30c7a91d61504663daa3aa [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 03:37:54 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:37:54 provisioning config files... 03:37:54 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5512368195782463938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:37:54 --> edgex-publish-swagger.sh 03:37:54 === Publish openapi/v3 API === 03:37:54 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 03:37:54 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 03:37:54 % Total % Received % Xferd Average Speed Time Time Time Current 03:37:54 Dload Upload Total Spent Left Speed 03:37:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 109k --:--:-- --:--:-- --:--:-- 109k 100 23571 0 0 100 23571 0 42241 --:--:-- --:--:-- --:--:-- 42166 03:37:55 03:37:55 [Pipeline] } 03:37:55 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 03:37:55 + git log --format=format:%s -1 e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 [Pipeline] sh 03:37:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:37:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:37:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:37:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:37:56 prd-ubuntu20.04-docker-8c-8g-9376 does not seem to be running inside a container 03:37:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:37:56 $ docker top 11718998e7399bb24990fcf07c92c44a46d39b0cba1a177199c248f67506ae7c -eo pid,comm 03:37:56 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). 03:37:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:37:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:37:56 [ssh-agent] Looking for ssh-agent implementation... 03:37:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:37:57 $ docker exec 11718998e7399bb24990fcf07c92c44a46d39b0cba1a177199c248f67506ae7c ssh-agent 03:37:57 SSH_AUTH_SOCK=/tmp/ssh-cK63AQSX2Ue3/agent.32 03:37:57 SSH_AGENT_PID=38 03:37:57 Running ssh-add (command line suppressed) 03:37:57 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2600697100110226169.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2600697100110226169.key) 03:37:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:37:57 + git semver tag 03:37:57 2023-03-09 03:37:57,718 [run_tag] DEBUG tag force:False 03:37:57 2023-03-09 03:37:57,718 [check_head_tag] DEBUG check head tag 03:37:57 2023-03-09 03:37:57,720 [execute] INFO git cat-file --batch-check 03:37:57 2023-03-09 03:37:57,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 03:37:57 2023-03-09 03:37:57,725 [execute] INFO git cat-file --batch 03:37:57 2023-03-09 03:37:57,726 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 03:37:57 2023-03-09 03:37:57,766 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:37:57 2023-03-09 03:37:57,766 [execute] INFO git tag -a v3.0.0-dev.49 -m v3.0.0-dev.49 03:37:57 2023-03-09 03:37:57,767 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.49', '-m', 'v3.0.0-dev.49'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 03:37:57 2023-03-09 03:37:57,772 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:37:57 3.0.0-dev.49 [Pipeline] } 03:37:57 $ docker exec --env ******** --env ******** 11718998e7399bb24990fcf07c92c44a46d39b0cba1a177199c248f67506ae7c ssh-agent -k 03:37:57 unset SSH_AUTH_SOCK; 03:37:57 unset SSH_AGENT_PID; 03:37:57 echo Agent pid 38 killed; 03:37:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:37:58 + git semver [Pipeline] } 03:37:58 $ docker stop --time=1 11718998e7399bb24990fcf07c92c44a46d39b0cba1a177199c248f67506ae7c 03:37:59 $ docker rm -f --volumes 11718998e7399bb24990fcf07c92c44a46d39b0cba1a177199c248f67506ae7c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:38:00 03:38:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:38:00 0.23.1-centos7: Pulling from edgex-lftools 03:38:00 ab5ef0e58194: Pulling fs layer 03:38:00 9712f1f96733: Pulling fs layer 03:38:00 63f879dbbcfc: Pulling fs layer 03:38:00 0d9ebad4ef96: Pulling fs layer 03:38:00 e9a5061849ea: Pulling fs layer 03:38:00 d747dcd14b5f: Pulling fs layer 03:38:00 2de7ff778b66: Pulling fs layer 03:38:00 0d9ebad4ef96: Waiting 03:38:00 e9a5061849ea: Waiting 03:38:00 d747dcd14b5f: Waiting 03:38:00 9712f1f96733: Verifying Checksum 03:38:00 9712f1f96733: Download complete 03:38:01 63f879dbbcfc: Verifying Checksum 03:38:01 63f879dbbcfc: Download complete 03:38:01 e9a5061849ea: Verifying Checksum 03:38:01 e9a5061849ea: Download complete 03:38:01 d747dcd14b5f: Verifying Checksum 03:38:01 d747dcd14b5f: Download complete 03:38:01 ab5ef0e58194: Download complete 03:38:01 0d9ebad4ef96: Verifying Checksum 03:38:01 0d9ebad4ef96: Download complete 03:38:01 2de7ff778b66: Verifying Checksum 03:38:01 2de7ff778b66: Download complete 03:38:03 ab5ef0e58194: Pull complete 03:38:03 9712f1f96733: Pull complete 03:38:04 63f879dbbcfc: Pull complete 03:38:07 0d9ebad4ef96: Pull complete 03:38:07 e9a5061849ea: Pull complete 03:38:07 d747dcd14b5f: Pull complete 03:38:08 2de7ff778b66: Pull complete 03:38:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:38:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:38:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:08 prd-ubuntu20.04-docker-8c-8g-9376 does not seem to be running inside a container 03:38:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:38:11 $ docker top 9ace15f8b1b94c73527e00719ac9816e7bf61cf711a53757b522312a543d3d19 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:38:11 provisioning config files... 03:38:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1710150688904373281tmp 03:38:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1358970463493567325tmp 03:38:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10769001375566559541tmp [Pipeline] { [Pipeline] echo 03:38:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:38:11 ---> sigul-configuration.sh 03:38:11 gpg: directory `/root/.gnupg' created 03:38:11 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:38:11 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:38:11 gpg: keyring `/root/.gnupg/secring.gpg' created 03:38:11 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:38:11 gpg: CAST5 encrypted data 03:38:11 gpg: encrypted with 1 passphrase 03:38:11 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:38:11 + mkdir /home/jenkins 03:38:11 + mkdir /home/jenkins/sigul [Pipeline] sh 03:38:12 + 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 03:38:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:38:12 ---> sigul-install.sh 03:38:12 Sigul already installed; skipping installation. [Pipeline] sh 03:38:12 + git tag --list 03:38:12 0.7.1 03:38:12 delhi-tag 03:38:12 v1.0.0 03:38:12 v1.1.0 03:38:12 v1.1.1 03:38:12 v1.1.2 03:38:12 v1.2.0 03:38:12 v1.2.1 03:38:12 v1.2.2 03:38:12 v1.2.3 03:38:12 v1.3.0 03:38:12 v1.4.0 03:38:12 v2.0.0 03:38:12 v2.1.0 03:38:12 v2.1.1 03:38:12 v2.1.1-dev.2 03:38:12 v2.1.1-dev.3 03:38:12 v2.2.0 03:38:12 v2.2.1-dev.1 03:38:12 v2.2.1-dev.10 03:38:12 v2.2.1-dev.11 03:38:12 v2.2.1-dev.12 03:38:12 v2.2.1-dev.13 03:38:12 v2.2.1-dev.14 03:38:12 v2.2.1-dev.2 03:38:12 v2.2.1-dev.3 03:38:12 v2.2.1-dev.4 03:38:12 v2.2.1-dev.5 03:38:12 v2.2.1-dev.6 03:38:12 v2.2.1-dev.7 03:38:12 v2.2.1-dev.8 03:38:12 v2.2.1-dev.9 03:38:12 v2.3.0 03:38:12 v2.3.0-dev.14 03:38:12 v2.3.0-dev.15 03:38:12 v2.3.0-dev.16 03:38:12 v2.3.0-dev.17 03:38:12 v2.3.0-dev.18 03:38:12 v2.3.0-dev.19 03:38:12 v2.3.0-dev.20 03:38:12 v2.3.0-dev.21 03:38:12 v2.3.0-dev.22 03:38:12 v2.3.0-dev.23 03:38:12 v2.3.0-dev.24 03:38:12 v2.3.0-dev.25 03:38:12 v2.3.0-dev.26 03:38:12 v2.3.0-dev.27 03:38:12 v2.3.0-dev.28 03:38:12 v2.3.0-dev.29 03:38:12 v2.3.0-dev.30 03:38:12 v2.3.0-dev.31 03:38:12 v2.3.0-dev.32 03:38:12 v2.3.0-dev.33 03:38:12 v2.3.0-dev.34 03:38:12 v2.3.0-dev.35 03:38:12 v2.3.0-dev.36 03:38:12 v2.3.0-dev.37 03:38:12 v2.3.0-dev.38 03:38:12 v2.3.0-dev.39 03:38:12 v2.3.0-dev.40 03:38:12 v2.3.0-dev.41 03:38:12 v2.3.0-dev.42 03:38:12 v2.3.0-dev.43 03:38:12 v2.3.0-dev.44 03:38:12 v2.3.0-dev.45 03:38:12 v2.3.0-dev.46 03:38:12 v2.3.0-dev.47 03:38:12 v2.3.0-dev.48 03:38:12 v2.3.0-dev.49 03:38:12 v2.3.0-dev.50 03:38:12 v2.3.0-dev.51 03:38:12 v2.3.1-dev.1 03:38:12 v3.0.0-dev.1 03:38:12 v3.0.0-dev.10 03:38:12 v3.0.0-dev.11 03:38:12 v3.0.0-dev.12 03:38:12 v3.0.0-dev.13 03:38:12 v3.0.0-dev.14 03:38:12 v3.0.0-dev.15 03:38:12 v3.0.0-dev.16 03:38:12 v3.0.0-dev.17 03:38:12 v3.0.0-dev.18 03:38:12 v3.0.0-dev.19 03:38:12 v3.0.0-dev.2 03:38:12 v3.0.0-dev.20 03:38:12 v3.0.0-dev.21 03:38:12 v3.0.0-dev.22 03:38:12 v3.0.0-dev.23 03:38:12 v3.0.0-dev.24 03:38:12 v3.0.0-dev.25 03:38:12 v3.0.0-dev.26 03:38:12 v3.0.0-dev.27 03:38:12 v3.0.0-dev.28 03:38:12 v3.0.0-dev.29 03:38:12 v3.0.0-dev.3 03:38:12 v3.0.0-dev.30 03:38:12 v3.0.0-dev.31 03:38:12 v3.0.0-dev.32 03:38:12 v3.0.0-dev.33 03:38:12 v3.0.0-dev.34 03:38:12 v3.0.0-dev.35 03:38:12 v3.0.0-dev.36 03:38:12 v3.0.0-dev.37 03:38:12 v3.0.0-dev.38 03:38:12 v3.0.0-dev.39 03:38:12 v3.0.0-dev.4 03:38:12 v3.0.0-dev.40 03:38:12 v3.0.0-dev.41 03:38:12 v3.0.0-dev.42 03:38:12 v3.0.0-dev.43 03:38:12 v3.0.0-dev.44 03:38:12 v3.0.0-dev.45 03:38:12 v3.0.0-dev.46 03:38:12 v3.0.0-dev.47 03:38:12 v3.0.0-dev.48 03:38:12 v3.0.0-dev.49 03:38:12 v3.0.0-dev.5 03:38:12 v3.0.0-dev.6 03:38:12 v3.0.0-dev.7 03:38:12 v3.0.0-dev.8 03:38:12 v3.0.0-dev.9 [Pipeline] sh 03:38:13 + lftools sign git-tag v3.0.0-dev.49 03:38:13 Signing Git tag with Sigul... 03:38:13 Signing v3.0.0-dev.49 [Pipeline] echo 03:38:13 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:38:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:38:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:38:14 $ docker stop --time=1 9ace15f8b1b94c73527e00719ac9816e7bf61cf711a53757b522312a543d3d19 03:38:15 $ docker rm -f --volumes 9ace15f8b1b94c73527e00719ac9816e7bf61cf711a53757b522312a543d3d19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:38:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:38:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:16 prd-ubuntu20.04-docker-8c-8g-9376 does not seem to be running inside a container 03:38:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:38:16 $ docker top bdce3f00281f5d3ec04e2edacbc786ccbd7c391392ccbeba6af8d11a1ee1fcfd -eo pid,comm 03:38:16 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). 03:38:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:38:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:16 [ssh-agent] Looking for ssh-agent implementation... 03:38:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:16 $ docker exec bdce3f00281f5d3ec04e2edacbc786ccbd7c391392ccbeba6af8d11a1ee1fcfd ssh-agent 03:38:17 SSH_AUTH_SOCK=/tmp/ssh-DrXdjLqRgnxu/agent.32 03:38:17 SSH_AGENT_PID=38 03:38:17 Running ssh-add (command line suppressed) 03:38:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9697531373437620016.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9697531373437620016.key) 03:38:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:17 + git semver bump pre 03:38:17 2023-03-09 03:38:17,719 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:38:17 2023-03-09 03:38:17,719 [bump_version] DEBUG bumping version:3.0.0-dev.49 on axis:pre with prefix:dev 03:38:17 2023-03-09 03:38:17,719 [bump_version] DEBUG bumped version:3.0.0-dev.50 03:38:17 2023-03-09 03:38:17,719 [write_version] DEBUG write version:3.0.0-dev.50 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 03:38:17 2023-03-09 03:38:17,719 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:38:17 2023-03-09 03:38:17,719 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:38:17 2023-03-09 03:38:17,721 [execute] INFO git cat-file --batch-check 03:38:17 2023-03-09 03:38:17,721 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:38:17 2023-03-09 03:38:17,726 [execute] INFO git cat-file --batch 03:38:17 2023-03-09 03:38:17,726 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:38:17 2023-03-09 03:38:17,729 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:38:17 3.0.0-dev.50 [Pipeline] } 03:38:17 $ docker exec --env ******** --env ******** bdce3f00281f5d3ec04e2edacbc786ccbd7c391392ccbeba6af8d11a1ee1fcfd ssh-agent -k 03:38:17 unset SSH_AUTH_SOCK; 03:38:17 unset SSH_AGENT_PID; 03:38:17 echo Agent pid 38 killed; 03:38:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:38:18 + git semver [Pipeline] } 03:38:18 $ docker stop --time=1 bdce3f00281f5d3ec04e2edacbc786ccbd7c391392ccbeba6af8d11a1ee1fcfd 03:38:19 $ docker rm -f --volumes bdce3f00281f5d3ec04e2edacbc786ccbd7c391392ccbeba6af8d11a1ee1fcfd [Pipeline] // withDockerContainer [Pipeline] sh 03:38:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:38:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:38:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:20 prd-ubuntu20.04-docker-8c-8g-9376 does not seem to be running inside a container 03:38:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:38:20 $ docker top 4103992cecf54a83537f86e86b471d5895077b498c28eaba48e832aea6be3738 -eo pid,comm 03:38:20 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). 03:38:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:38:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:38:20 [ssh-agent] Looking for ssh-agent implementation... 03:38:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:38:21 $ docker exec 4103992cecf54a83537f86e86b471d5895077b498c28eaba48e832aea6be3738 ssh-agent 03:38:21 SSH_AUTH_SOCK=/tmp/ssh-SKAtIaccSM4d/agent.32 03:38:21 SSH_AGENT_PID=38 03:38:21 Running ssh-add (command line suppressed) 03:38:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2013127476499747247.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2013127476499747247.key) 03:38:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:38:21 + git semver push 03:38:21 2023-03-09 03:38:21,743 [run_push] DEBUG push 03:38:21 2023-03-09 03:38:21,743 [execute] INFO git cat-file --batch-check 03:38:21 2023-03-09 03:38:21,743 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:38:21 2023-03-09 03:38:21,747 [execute] INFO git rev-list c4eee3a72fcae1fdf96b0d0b9e90452825c5595a -- 03:38:21 2023-03-09 03:38:21,748 [execute] DEBUG Popen(['git', 'rev-list', 'c4eee3a72fcae1fdf96b0d0b9e90452825c5595a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:38:21 2023-03-09 03:38:21,758 [execute] INFO git fetch -v origin 03:38:21 2023-03-09 03:38:21,759 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:38:22 2023-03-09 03:38:22,223 [run_push] DEBUG no remote changes detected 03:38:22 2023-03-09 03:38:22,224 [execute] INFO git push origin semver 03:38:22 2023-03-09 03:38:22,224 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:38:23 2023-03-09 03:38:23,008 [run_push] DEBUG push all version tags 03:38:23 2023-03-09 03:38:23,009 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:38:23 2023-03-09 03:38:23,009 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 03:38:23 2023-03-09 03:38:23,785 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:38:23 3.0.0-dev.50 [Pipeline] } 03:38:23 $ docker exec --env ******** --env ******** 4103992cecf54a83537f86e86b471d5895077b498c28eaba48e832aea6be3738 ssh-agent -k 03:38:24 unset SSH_AUTH_SOCK; 03:38:24 unset SSH_AGENT_PID; 03:38:24 echo Agent pid 38 killed; 03:38:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:38:24 + git semver [Pipeline] } 03:38:24 $ docker stop --time=1 4103992cecf54a83537f86e86b471d5895077b498c28eaba48e832aea6be3738 03:38:25 $ docker rm -f --volumes 4103992cecf54a83537f86e86b471d5895077b498c28eaba48e832aea6be3738 [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 03:38:26 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 03:38:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:38:26 total 16 03:38:26 drwxr-xr-x 3 root root 4096 Mar 9 03:26 . 03:38:26 drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 03:38 .. 03:38:26 drwxr-xr-x 2 root root 4096 Mar 9 03:26 cost 03:38:26 -rw-r--r-- 1 root root 85 Mar 9 03:26 cost.csv 03:38:26 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:38:26 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 03:38:26 total 16 03:38:26 drwxr-xr-x 3 jenkins jenkins 4096 Mar 9 03:26 . 03:38:26 drwxrwxr-x 12 jenkins jenkins 4096 Mar 9 03:38 .. 03:38:26 drwxr-xr-x 2 jenkins jenkins 4096 Mar 9 03:26 cost 03:38:26 -rw-r--r-- 1 jenkins jenkins 85 Mar 9 03:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:38:26 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:38:27 ---> package-listing.sh 03:38:27 ++ tr '[:upper:]' '[:lower:]' 03:38:27 ++ facter osfamily 03:38:27 + OS_FAMILY=debian 03:38:27 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 03:38:27 + START_PACKAGES=/tmp/packages_start.txt 03:38:27 + END_PACKAGES=/tmp/packages_end.txt 03:38:27 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:38:27 + PACKAGES=/tmp/packages_start.txt 03:38:27 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 03:38:27 + PACKAGES=/tmp/packages_end.txt 03:38:27 + case "${OS_FAMILY}" in 03:38:27 + dpkg -l 03:38:27 + grep '^ii' 03:38:27 + '[' -f /tmp/packages_start.txt ']' 03:38:27 + '[' -f /tmp/packages_end.txt ']' 03:38:27 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:38:27 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 03:38:27 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 03:38:27 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 03:38:27 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:38:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:38:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:38:28 prd-ubuntu20.04-docker-8c-8g-9376 does not seem to be running inside a container 03:38:28 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:38:29 $ docker top a06d6e2e7186d20c38abe6ec1a0929386a6451e08a4af8940d258b797688f762 -eo pid,comm [Pipeline] { [Pipeline] sh 03:38:29 + touch /tmp/pre-build-complete [Pipeline] sh 03:38:29 + mkdir -p /var/log/sysstat [Pipeline] sh 03:38:29 + ls /var/log/sa-host 03:38:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:38:29 provisioning config files... 03:38:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10897046404913371548tmp [Pipeline] { [Pipeline] echo 03:38:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:38:30 ---> create-netrc.sh [Pipeline] } 03:38:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:38:30 ---> python-tools-install.sh [Pipeline] echo 03:38:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:38:30 ---> sudo-logs.sh 03:38:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:38:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:38:31 ---> job-cost.sh 03:38:31 lf-activate-venv: SKIPPING 03:38:31 DEBUG: total: 0.2199999988079071 03:38:31 INFO: Retrieving Stack Cost... 03:38:31 INFO: Retrieving Pricing Info for: v3-standard-8 03:38:32 INFO: Archiving Costs [Pipeline] echo 03:38:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:38:32 ---> logs-deploy.sh 03:38:32 lf-activate-venv: SKIPPING 03:38:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/179 03:38:32 INFO: archiving workspace using pattern(s): 03:38:33 Archives upload complete. 03:38:33 INFO: archiving logs to Nexus