Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 57878cf2ebef4e913eea98f4fb62d4130484e110 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-ssh13954519651287012134.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-ssh10542809214029990026.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-ssh13473204765275444214.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-ssh3383562311385076785.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-ssh3587919131216360823.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8501’ Running on prd-ubuntu20.04-docker-8c-8g-8505 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 57878cf2ebef4e913eea98f4fb62d4130484e110 (main) Commit message: "Merge pull request #1363 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.39" > 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 57878cf2ebef4e913eea98f4fb62d4130484e110 # timeout=10 > git rev-list --no-walk b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:59:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:59:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:59:33 ========================================================= 05:59:33 EdgeX Global Pipelines Version Info 05:59:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:59:34 ------------------- 05:59:34 stable info: 05:59:34 ------------------- 05:59:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:59:34 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:59:34 Message: update stable to v1.0.244 05:59:35 ------------------- 05:59:35 experimental info: 05:59:35 ------------------- 05:59:35 Commited By: **** collab-it+edgex@linuxfoundation.org 05:59:35 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 05:59:35 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 57878cf2ebef4e913eea98f4fb62d4130484e110 [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 57878cf [Pipeline] echo 05:59:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:35 provisioning config files... 05:59:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4286853464229666034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:36 ---> docker-login.sh 05:59:36 nexus3.edgexfoundry.org:10001 05:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:36 Configure a credential helper to remove this warning. See 05:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:36 05:59:36 Login Succeeded 05:59:36 nexus3.edgexfoundry.org:10002 05:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:36 Configure a credential helper to remove this warning. See 05:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:36 05:59:36 Login Succeeded 05:59:36 nexus3.edgexfoundry.org:10003 05:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:36 Configure a credential helper to remove this warning. See 05:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:36 05:59:36 Login Succeeded 05:59:36 nexus3.edgexfoundry.org:10004 05:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:36 Configure a credential helper to remove this warning. See 05:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:36 05:59:36 Login Succeeded 05:59:36 docker.io 05:59:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:36 Configure a credential helper to remove this warning. See 05:59:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:36 05:59:36 Login Succeeded 05:59:36 ---> docker-login.sh ends [Pipeline] } 05:59:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:59:37 + git rev-list -1 --merges 57878cf2ebef4e913eea98f4fb62d4130484e110~1..57878cf2ebef4e913eea98f4fb62d4130484e110 [Pipeline] echo 05:59:37 -----------> git rev-list -1 --merges 57878cf2ebef4e913eea98f4fb62d4130484e110~1..57878cf2ebef4e913eea98f4fb62d4130484e110 57878cf2ebef4e913eea98f4fb62d4130484e110 05:59:37 57878cf2ebef4e913eea98f4fb62d4130484e110 [false] [Pipeline] sh 05:59:37 + git log --format=format:%s -1 57878cf2ebef4e913eea98f4fb62d4130484e110 [Pipeline] echo 05:59:37 ========================================================= 05:59:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:59:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:59:37 + git log --format=format:%s -1 57878cf2ebef4e913eea98f4fb62d4130484e110 [Pipeline] echo 05:59:37 [semverPrep] GIT_COMMIT: 57878cf2ebef4e913eea98f4fb62d4130484e110, Commit Message: Merge pull request #1363 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.39 [Pipeline] echo 05:59:37 [semverPrep] This is not a build commit. [Pipeline] sh 05:59:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:59:38 + grep -v github /etc/ssh/ssh_known_hosts 05:59:38 + [ -e /tmp/ssh_known_hosts ] 05:59:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:59:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:59:38 + sudo tee -a /etc/ssh/ssh_known_hosts 05:59:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:38 05:59:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:38 0.1.4: Pulling from edgex-devops/py-git-semver 05:59:38 b85a868b505f: Pulling fs layer 05:59:38 e2be974225ed: Pulling fs layer 05:59:38 339a4e72a1f5: Pulling fs layer 05:59:38 988bab9f4d93: Pulling fs layer 05:59:38 1469e6f7b9e6: Pulling fs layer 05:59:38 eaf3925da568: Pulling fs layer 05:59:38 bab4dde63d76: Pulling fs layer 05:59:38 bde34c3a00c8: Pulling fs layer 05:59:38 988bab9f4d93: Waiting 05:59:38 bab4dde63d76: Waiting 05:59:38 1469e6f7b9e6: Waiting 05:59:38 b352a97aabf1: Pulling fs layer 05:59:38 4872d77fe225: Pulling fs layer 05:59:38 5851b861e8e6: Pulling fs layer 05:59:38 bde34c3a00c8: Waiting 05:59:38 4872d77fe225: Waiting 05:59:38 e2be974225ed: Download complete 05:59:38 988bab9f4d93: Download complete 05:59:39 1469e6f7b9e6: Verifying Checksum 05:59:39 1469e6f7b9e6: Download complete 05:59:39 339a4e72a1f5: Verifying Checksum 05:59:39 339a4e72a1f5: Download complete 05:59:39 eaf3925da568: Verifying Checksum 05:59:39 eaf3925da568: Download complete 05:59:39 bde34c3a00c8: Verifying Checksum 05:59:39 bde34c3a00c8: Download complete 05:59:39 b352a97aabf1: Verifying Checksum 05:59:39 b352a97aabf1: Download complete 05:59:39 4872d77fe225: Verifying Checksum 05:59:39 4872d77fe225: Download complete 05:59:39 5851b861e8e6: Verifying Checksum 05:59:39 5851b861e8e6: Download complete 05:59:39 b85a868b505f: Verifying Checksum 05:59:39 b85a868b505f: Download complete 05:59:39 bab4dde63d76: Verifying Checksum 05:59:39 bab4dde63d76: Download complete 05:59:40 b85a868b505f: Pull complete 05:59:40 e2be974225ed: Pull complete 05:59:41 339a4e72a1f5: Pull complete 05:59:41 988bab9f4d93: Pull complete 05:59:41 1469e6f7b9e6: Pull complete 05:59:41 eaf3925da568: Pull complete 05:59:43 bab4dde63d76: Pull complete 05:59:43 bde34c3a00c8: Pull complete 05:59:43 b352a97aabf1: Pull complete 05:59:43 4872d77fe225: Pull complete 05:59:44 5851b861e8e6: Pull complete 05:59:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:59:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:59:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:59:44 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 05:59:44 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:59:47 $ docker top 270858b5db1d2e4bb7b3e93a09be686ad931dc911a06147653252c2ec0fabeb1 -eo pid,comm 05:59:47 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). 05:59:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:59:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:47 [ssh-agent] Looking for ssh-agent implementation... 05:59:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:47 $ docker exec 270858b5db1d2e4bb7b3e93a09be686ad931dc911a06147653252c2ec0fabeb1 ssh-agent 05:59:47 SSH_AUTH_SOCK=/tmp/ssh-PIt8kt2GuWvg/agent.33 05:59:47 SSH_AGENT_PID=39 05:59:47 Running ssh-add (command line suppressed) 05:59:47 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13223923635964615637.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13223923635964615637.key) 05:59:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:48 + git tag --points-at HEAD [Pipeline] } 05:59:48 $ docker exec --env ******** --env ******** 270858b5db1d2e4bb7b3e93a09be686ad931dc911a06147653252c2ec0fabeb1 ssh-agent -k 05:59:48 unset SSH_AUTH_SOCK; 05:59:48 unset SSH_AGENT_PID; 05:59:48 echo Agent pid 39 killed; 05:59:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:59:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:59:48 [ssh-agent] Looking for ssh-agent implementation... 05:59:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:59:48 $ docker exec 270858b5db1d2e4bb7b3e93a09be686ad931dc911a06147653252c2ec0fabeb1 ssh-agent 05:59:48 SSH_AUTH_SOCK=/tmp/ssh-XIIUXFKvL3fj/agent.71 05:59:48 SSH_AGENT_PID=77 05:59:48 Running ssh-add (command line suppressed) 05:59:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11945073281635486574.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11945073281635486574.key) 05:59:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:59:48 + git semver init 05:59:49 2023-03-07 05:59:49,204 [run_init] DEBUG init version:0.0.0 force:False 05:59:49 2023-03-07 05:59:49,205 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:59:49 2023-03-07 05:59:49,206 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:59:49 2023-03-07 05:59:49,206 [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) 05:59:50 2023-03-07 05:59:50,117 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:59:50 2023-03-07 05:59:50,118 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:59:50 2023-03-07 05:59:50,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:59:50 2023-03-07 05:59:50,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:59:50 3.0.0-dev.44 [Pipeline] } 05:59:50 $ docker exec --env ******** --env ******** 270858b5db1d2e4bb7b3e93a09be686ad931dc911a06147653252c2ec0fabeb1 ssh-agent -k 05:59:50 unset SSH_AUTH_SOCK; 05:59:50 unset SSH_AGENT_PID; 05:59:50 echo Agent pid 77 killed; 05:59:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:59:50 + git semver [Pipeline] } 05:59:50 $ docker stop --time=1 270858b5db1d2e4bb7b3e93a09be686ad931dc911a06147653252c2ec0fabeb1 05:59:52 $ docker rm -f --volumes 270858b5db1d2e4bb7b3e93a09be686ad931dc911a06147653252c2ec0fabeb1 [Pipeline] // withDockerContainer [Pipeline] sh 05:59:52 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:59:52 Stashed 1 file(s) [Pipeline] echo 05:59:52 [edgeXSemver]: initialized semver on version 3.0.0-dev.44 [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 05:59:52 provisioning config files... 05:59:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11399545630355928029tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:53 ---> docker-login.sh 05:59:53 nexus3.edgexfoundry.org:10001 05:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:53 Configure a credential helper to remove this warning. See 05:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:53 05:59:53 Login Succeeded 05:59:53 nexus3.edgexfoundry.org:10002 05:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:53 Configure a credential helper to remove this warning. See 05:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:53 05:59:53 Login Succeeded 05:59:53 nexus3.edgexfoundry.org:10003 05:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:53 Configure a credential helper to remove this warning. See 05:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:53 05:59:53 Login Succeeded 05:59:53 nexus3.edgexfoundry.org:10004 05:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:53 Configure a credential helper to remove this warning. See 05:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:53 05:59:53 Login Succeeded 05:59:53 docker.io 05:59:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:53 Configure a credential helper to remove this warning. See 05:59:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:53 05:59:53 Login Succeeded 05:59:53 ---> docker-login.sh ends [Pipeline] } 05:59:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:53 ========================================================= 05:59:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:59:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:54 + 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 . 05:59:54 Sending build context to Docker daemon 10.6MB 05:59:54 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:59:54 Step 2/10 : FROM ${BASE} AS builder 05:59:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:59:54 213ec9aee27d: Pulling fs layer 05:59:54 4583459ba037: Pulling fs layer 05:59:54 93c1e223e6f2: Pulling fs layer 05:59:54 53926ce57604: Pulling fs layer 05:59:54 21b2b0c7a3f4: Pulling fs layer 05:59:54 22ff95d597cd: Pulling fs layer 05:59:54 12d6caf4c0d1: Pulling fs layer 05:59:54 96b7cbca73a9: Pulling fs layer 05:59:54 a7acece74701: Pulling fs layer 05:59:54 53926ce57604: Waiting 05:59:54 12d6caf4c0d1: Waiting 05:59:54 96b7cbca73a9: Waiting 05:59:54 21b2b0c7a3f4: Waiting 05:59:54 a7acece74701: Waiting 05:59:54 22ff95d597cd: Waiting 05:59:54 93c1e223e6f2: Verifying Checksum 05:59:54 93c1e223e6f2: Download complete 05:59:54 4583459ba037: Download complete 05:59:54 21b2b0c7a3f4: Verifying Checksum 05:59:54 21b2b0c7a3f4: Download complete 05:59:54 22ff95d597cd: Verifying Checksum 05:59:54 22ff95d597cd: Download complete 05:59:54 213ec9aee27d: Verifying Checksum 05:59:54 12d6caf4c0d1: Verifying Checksum 05:59:54 12d6caf4c0d1: Download complete 05:59:54 213ec9aee27d: Pull complete 05:59:54 4583459ba037: Pull complete 05:59:54 93c1e223e6f2: Pull complete 05:59:54 a7acece74701: Verifying Checksum 05:59:54 a7acece74701: Download complete 05:59:55 96b7cbca73a9: Verifying Checksum 05:59:55 96b7cbca73a9: Download complete 05:59:55 53926ce57604: Verifying Checksum 05:59:55 53926ce57604: Download complete 05:59:59 53926ce57604: Pull complete 05:59:59 21b2b0c7a3f4: Pull complete 05:59:59 22ff95d597cd: Pull complete 05:59:59 12d6caf4c0d1: Pull complete 06:00:01 96b7cbca73a9: Pull complete 06:00:02 a7acece74701: Pull complete 06:00:02 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 06:00:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:00:02 ---> db6d94c90886 06:00:02 Step 3/10 : ARG MAKE=make build 06:00:06 ---> Running in 450f0c0f326e 06:00:06 Removing intermediate container 450f0c0f326e 06:00:06 ---> 330cbf5e861f 06:00:06 Step 4/10 : WORKDIR /device-sdk-go 06:00:06 ---> Running in 54ea538016f6 06:00:06 Removing intermediate container 54ea538016f6 06:00:06 ---> 12eb9a494ee5 06:00:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:00:06 ---> Running in ac4203a1d370 06:00:06 Removing intermediate container ac4203a1d370 06:00:06 ---> 209d30f507a4 06:00:06 Step 6/10 : RUN apk add --update --no-cache make git 06:00:06 ---> Running in 5fdbbc4fc02a 06:00:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:00:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:00:07 OK: 211 MiB in 51 packages 06:00:07 Removing intermediate container 5fdbbc4fc02a 06:00:07 ---> 85bf9a3b3ef5 06:00:07 Step 7/10 : COPY go.mod vendor* ./ 06:00:07 ---> 5d08a3c4c858 06:00:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:00:07 ---> Running in e709abae3611 06:00:07 Still waiting to schedule task 06:00:07 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8502’ 06:00:39 Removing intermediate container e709abae3611 06:00:39 ---> d1bd1d6a476e 06:00:39 Step 9/10 : COPY . . 06:00:39 ---> 30b3d8869e6f 06:00:39 Step 10/10 : RUN ${MAKE} 06:00:39 ---> Running in 27cb358b9d70 06:00:39 noop 06:00:39 Removing intermediate container 27cb358b9d70 06:00:39 ---> db76a6862e90 06:00:39 Successfully built db76a6862e90 06:00:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:39 + docker inspect -f . ci-base-image-x86_64 06:00:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:40 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 06:00:40 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:00:40 $ docker top 73cf56f243e0f4b534fc03449feb761ee7c6e703cdf974541d13c52d9d6354d6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:40 + go version 06:00:40 go version go1.18.7 linux/amd64 [Pipeline] } 06:00:40 $ docker stop --time=1 73cf56f243e0f4b534fc03449feb761ee7c6e703cdf974541d13c52d9d6354d6 06:00:42 $ docker rm -f --volumes 73cf56f243e0f4b534fc03449feb761ee7c6e703cdf974541d13c52d9d6354d6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:42 + docker inspect -f . ci-base-image-x86_64 06:00:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:42 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 06:00:42 $ 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 ******** -e ******** ci-base-image-x86_64 cat 06:00:42 $ docker top 474972d8dbb3ca8e3809b58d124c0fea9764a773bcc9167afd9c7a8c5344002c -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:43 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:00:43 + make test 06:00:43 go test -race -coverprofile=coverage.out ./... 06:00:50 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:01:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements 06:01:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.067s coverage: 78.9% of statements 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 06:01:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.095s coverage: 86.0% of statements 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:01:04 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 75.0% of statements 06:01:04 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:01:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.059s coverage: 15.3% of statements 06:01:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 06:01:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.093s coverage: 65.2% of statements 06:01:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:01:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:01:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.746s coverage: 89.2% of statements 06:01:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 06:01:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.6% of statements 06:01:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:01:24 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 06:01:24 GO111MODULE=on go vet ./... 06:01:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:01:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:01:26 ./bin/test-attribution-txt.sh [Pipeline] echo 06:01:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:01:26 $ docker stop --time=1 474972d8dbb3ca8e3809b58d124c0fea9764a773bcc9167afd9c7a8c5344002c 06:01:29 $ docker rm -f --volumes 474972d8dbb3ca8e3809b58d124c0fea9764a773bcc9167afd9c7a8c5344002c [Pipeline] // withDockerContainer [Pipeline] sh 06:01:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:01:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:01:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:01:30 + ls -al . 06:01:30 total 280 06:01:30 drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 06:00 . 06:01:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 05:59 .. 06:01:30 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 05:59 .dockerignore 06:01:30 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 06:01 .git 06:01:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 05:59 .github 06:01:30 -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 05:59 .gitignore 06:01:30 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 05:59 .golangci.yml 06:01:30 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 05:59 .semver 06:01:30 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 05:59 CHANGELOG.md 06:01:30 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 05:59 GOVERNANCE.md 06:01:30 -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 05:59 Jenkinsfile 06:01:30 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 05:59 LICENSE 06:01:30 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 05:59 Makefile 06:01:30 -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 05:59 OWNERS.md 06:01:30 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 05:59 README.md 06:01:30 -rw-rw-r-- 1 jenkins jenkins 12 Mar 7 05:59 VERSION 06:01:30 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 05:59 bin 06:01:30 -rw-r--r-- 1 jenkins jenkins 111242 Mar 7 06:01 coverage.out 06:01:30 drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 05:59 example 06:01:30 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 05:59 go.mod 06:01:30 -rw-rw-r-- 1 jenkins jenkins 30840 Mar 7 05:59 go.sum 06:01:30 drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 05:59 internal 06:01:30 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 05:59 openapi 06:01:30 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 05:59 pkg 06:01:30 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 05:59 snap 06:01:30 -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 05:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:30 + 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=57878cf2ebef4e913eea98f4fb62d4130484e110 --label arch=amd64 --label version=3.0.0-dev.44 . 06:01:30 Sending build context to Docker daemon 10.71MB 06:01:30 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:01:30 Step 2/23 : FROM ${BASE} AS builder 06:01:30 ---> db76a6862e90 06:01:30 Step 3/23 : ARG MAKE=make build 06:01:31 ---> Running in 89810582a287 06:01:31 Removing intermediate container 89810582a287 06:01:31 ---> 1895582ad3a4 06:01:31 Step 4/23 : WORKDIR /device-sdk-go 06:01:31 ---> Running in 4cc05f446c9d 06:01:31 Removing intermediate container 4cc05f446c9d 06:01:31 ---> f1837ec685e5 06:01:31 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:01:31 ---> Running in 21d990a22a6c 06:01:31 Removing intermediate container 21d990a22a6c 06:01:31 ---> 362e93dee56a 06:01:31 Step 6/23 : RUN apk add --update --no-cache make git 06:01:31 ---> Running in d6eeb85594be 06:01:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:01:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:01:32 OK: 211 MiB in 51 packages 06:01:32 Removing intermediate container d6eeb85594be 06:01:32 ---> ae0e2528bd84 06:01:32 Step 7/23 : COPY go.mod vendor* ./ 06:01:32 ---> 8291c0e09487 06:01:32 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:01:32 ---> Running in 481fa1e4c55a 06:01:33 Removing intermediate container 481fa1e4c55a 06:01:33 ---> 853ae9c1174a 06:01:33 Step 9/23 : COPY . . 06:01:33 ---> fa445fa2899e 06:01:33 Step 10/23 : RUN ${MAKE} 06:01:34 ---> Running in a46c60618e60 06:01:34 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.44" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:01:56 Removing intermediate container a46c60618e60 06:01:56 ---> c5e9e7aa3a08 06:01:56 Step 11/23 : FROM alpine:3.16 06:01:56 3.16: Pulling from library/alpine 06:01:56 ef5531b6e74e: Pulling fs layer 06:01:56 ef5531b6e74e: Verifying Checksum 06:01:56 ef5531b6e74e: Download complete 06:01:56 ef5531b6e74e: Pull complete 06:01:56 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 06:01:56 Status: Downloaded newer image for alpine:3.16 06:01:56 ---> dfd21b5a31f5 06:01:56 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:01:56 ---> Running in c789af8934b1 06:01:56 Removing intermediate container c789af8934b1 06:01:56 ---> 19854de32e19 06:01:56 Step 13/23 : RUN apk add --update --no-cache 06:01:56 ---> Running in 9d57ba227ea7 06:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:01:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:01:56 OK: 6 MiB in 14 packages 06:01:56 Removing intermediate container 9d57ba227ea7 06:01:56 ---> c342636df167 06:01:56 Step 14/23 : WORKDIR / 06:01:56 ---> Running in 3ceb41c9b04e 06:01:56 Removing intermediate container 3ceb41c9b04e 06:01:56 ---> 29b471f24840 06:01:56 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:01:56 ---> 29fe00bc7797 06:01:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:01:56 ---> daf50303808c 06:01:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:01:56 ---> bdfb590381c4 06:01:56 Step 18/23 : EXPOSE 59999 06:01:56 ---> Running in bdad242ca8a2 06:01:56 Removing intermediate container bdad242ca8a2 06:01:56 ---> bc69e2e68190 06:01:56 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:01:56 ---> Running in 0a7fffc4987a 06:01:56 Removing intermediate container 0a7fffc4987a 06:01:56 ---> 99a87c83bb02 06:01:56 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:01:56 ---> Running in 6e661b0e4290 06:01:57 Removing intermediate container 6e661b0e4290 06:01:57 ---> 47b537ce71af 06:01:57 Step 21/23 : LABEL arch=amd64 06:01:57 ---> Running in 35fd11ef9f7a 06:01:57 Removing intermediate container 35fd11ef9f7a 06:01:57 ---> a13d83e309ef 06:01:57 Step 22/23 : LABEL git_sha=57878cf2ebef4e913eea98f4fb62d4130484e110 06:01:57 ---> Running in 2111b3c8f3e6 06:01:57 Removing intermediate container 2111b3c8f3e6 06:01:57 ---> 05b19c998d81 06:01:57 Step 23/23 : LABEL version=3.0.0-dev.44 06:01:57 ---> Running in fa779e472a16 06:01:57 Removing intermediate container fa779e472a16 06:01:57 ---> 99e4203a5640 06:01:57 [Warning] One or more build-args [ARCH] were not consumed 06:01:57 Successfully built 99e4203a5640 06:01:57 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 06:01:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:57 06:01:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:01:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:01:58 latest: Pulling from edgex-lftools-log-publisher 06:01:58 5eb5b503b376: Pulling fs layer 06:01:58 5c69ac0246d0: Pulling fs layer 06:01:58 ec43610c2a17: Pulling fs layer 06:01:58 3a2ae6a8a46f: Pulling fs layer 06:01:58 33b1e0a273af: Pulling fs layer 06:01:58 5d3b04190fa2: Pulling fs layer 06:01:58 2f39f015ded8: Pulling fs layer 06:01:58 33b1e0a273af: Waiting 06:01:58 5d3b04190fa2: Waiting 06:01:58 2f39f015ded8: Waiting 06:01:58 3a2ae6a8a46f: Waiting 06:01:58 5c69ac0246d0: Verifying Checksum 06:01:58 5c69ac0246d0: Download complete 06:01:58 3a2ae6a8a46f: Verifying Checksum 06:01:58 3a2ae6a8a46f: Download complete 06:01:58 33b1e0a273af: Verifying Checksum 06:01:58 33b1e0a273af: Download complete 06:01:58 5d3b04190fa2: Verifying Checksum 06:01:58 5d3b04190fa2: Download complete 06:01:58 ec43610c2a17: Verifying Checksum 06:01:58 ec43610c2a17: Download complete 06:01:58 5eb5b503b376: Verifying Checksum 06:01:58 5eb5b503b376: Download complete 06:01:58 2f39f015ded8: Download complete 06:01:59 5eb5b503b376: Pull complete 06:01:59 5c69ac0246d0: Pull complete 06:02:00 ec43610c2a17: Pull complete 06:02:00 3a2ae6a8a46f: Pull complete 06:02:00 33b1e0a273af: Pull complete 06:02:00 5d3b04190fa2: Pull complete 06:02:04 2f39f015ded8: Pull complete 06:02:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:02:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:02:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:02:04 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 06:02:04 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:02:08 $ docker top 01c90ed06dfef232c3d83d06edf8efa17c074f49e332e9e576783cd7dc4d82de -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:02:09 ---> job-cost.sh 06:02:09 lf-activate-venv: SKIPPING 06:02:09 INFO: No Stack... 06:02:09 INFO: Retrieving Pricing Info for: v3-standard-8 06:02:09 INFO: Archiving Costs [Pipeline] sh 06:02:09 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:02:09 + cut -d, -f6 [Pipeline] lock 06:02:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-174-stack-cost] 06:02:09 Resource [jenkins-edgexfoundry-device-sdk-go-main-174-stack-cost] did not exist. Created. 06:02:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-174-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:02:10 + echo total: 0.2199999988079071 [Pipeline] stash 06:02:10 Stashed 1 file(s) [Pipeline] } 06:02:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-174-stack-cost] [Pipeline] // lock [Pipeline] } 06:02:10 $ docker stop --time=1 01c90ed06dfef232c3d83d06edf8efa17c074f49e332e9e576783cd7dc4d82de 06:02:11 $ docker rm -f --volumes 01c90ed06dfef232c3d83d06edf8efa17c074f49e332e9e576783cd7dc4d82de [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:02:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8511 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:02:55 Running in /w/workspace/device-sdk-go/174 [Pipeline] { [Pipeline] checkout 06:02:55 The recommended git tool is: git 06:03:02 using credential edgex-jenkins-ssh 06:03:02 Cloning the remote Git repository 06:03:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:03:02 > git init /w/workspace/device-sdk-go/174 # timeout=10 06:03:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:03:02 > git --version # timeout=10 06:03:02 > git --version # 'git version 2.25.1' 06:03:02 using GIT_SSH to set credentials SSH Credentials for GitHub 06:03:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:05 Avoid second fetch 06:03:05 Checking out Revision 57878cf2ebef4e913eea98f4fb62d4130484e110 (main) 06:03:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:03:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:03:05 > git config core.sparsecheckout # timeout=10 06:03:05 > git checkout -f 57878cf2ebef4e913eea98f4fb62d4130484e110 # timeout=10 06:03:06 Commit message: "Merge pull request #1363 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.39" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:03:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:03:07 % Total % Received % Xferd Average Speed Time Time Time Current 06:03:07 Dload Upload Total Spent Left Speed 06:03:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 175k [Pipeline] sh 06:03:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:03:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:03:08 + sudo tee /etc/docker/daemon.new 06:03:08 { 06:03:08 "registry-mirrors": [ 06:03:08 "https://nexus3.edgexfoundry.org:10001" 06:03:08 ], 06:03:08 "bip": "10.250.0.254/24", 06:03:08 "hosts": [ 06:03:08 "tcp://0.0.0.0:5555", 06:03:08 "unix:///var/run/docker.sock" 06:03:08 ], 06:03:08 "mtu": 1458, 06:03:08 "selinux-enabled": true, 06:03:08 "seccomp-profile": "/etc/docker/seccomp.json" 06:03:08 } [Pipeline] sh 06:03:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:03:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:03:27 provisioning config files... 06:03:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/174@tmp/config7575910795060167961tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:03:28 ---> docker-login.sh 06:03:28 nexus3.edgexfoundry.org:10001 06:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:28 Configure a credential helper to remove this warning. See 06:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:28 06:03:28 Login Succeeded 06:03:28 nexus3.edgexfoundry.org:10002 06:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:29 Configure a credential helper to remove this warning. See 06:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:29 06:03:29 Login Succeeded 06:03:29 nexus3.edgexfoundry.org:10003 06:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:29 Configure a credential helper to remove this warning. See 06:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:29 06:03:29 Login Succeeded 06:03:29 nexus3.edgexfoundry.org:10004 06:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:30 Configure a credential helper to remove this warning. See 06:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:30 06:03:30 Login Succeeded 06:03:30 docker.io 06:03:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:03:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:03:30 Configure a credential helper to remove this warning. See 06:03:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:03:30 06:03:30 Login Succeeded 06:03:30 ---> docker-login.sh ends [Pipeline] } 06:03:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:03:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:03:30 ========================================================= 06:03:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:03:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:03:31 + 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 . 06:03:31 Sending build context to Docker daemon 5.694MB 06:03:31 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:03:31 Step 2/10 : FROM ${BASE} AS builder 06:03:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:03:31 9b18e9b68314: Pulling fs layer 06:03:31 35d82f9e3411: Pulling fs layer 06:03:31 e16973657156: Pulling fs layer 06:03:31 fc693d55d65f: Pulling fs layer 06:03:31 7e9fc2657dce: Pulling fs layer 06:03:31 dda99020689f: Pulling fs layer 06:03:31 db1c61fa0a46: Pulling fs layer 06:03:31 891c053d2c06: Pulling fs layer 06:03:31 fc693d55d65f: Waiting 06:03:31 dda99020689f: Waiting 06:03:31 7e9fc2657dce: Waiting 06:03:31 db1c61fa0a46: Waiting 06:03:31 891c053d2c06: Waiting 06:03:31 e16973657156: Verifying Checksum 06:03:31 e16973657156: Download complete 06:03:32 35d82f9e3411: Download complete 06:03:32 7e9fc2657dce: Download complete 06:03:32 dda99020689f: Download complete 06:03:32 9b18e9b68314: Verifying Checksum 06:03:32 9b18e9b68314: Download complete 06:03:33 9b18e9b68314: Pull complete 06:03:33 891c053d2c06: Verifying Checksum 06:03:33 891c053d2c06: Download complete 06:03:33 35d82f9e3411: Pull complete 06:03:34 e16973657156: Pull complete 06:03:34 db1c61fa0a46: Verifying Checksum 06:03:34 db1c61fa0a46: Download complete 06:03:35 fc693d55d65f: Verifying Checksum 06:03:35 fc693d55d65f: Download complete 06:03:47 fc693d55d65f: Pull complete 06:03:47 7e9fc2657dce: Pull complete 06:03:47 dda99020689f: Pull complete 06:03:53 db1c61fa0a46: Pull complete 06:03:54 891c053d2c06: Pull complete 06:03:54 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 06:03:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:03:54 ---> f96f9c87975a 06:03:54 Step 3/10 : ARG MAKE=make build 06:03:57 ---> Running in e1de91dd9e87 06:03:57 Removing intermediate container e1de91dd9e87 06:03:57 ---> e084ab805bd1 06:03:57 Step 4/10 : WORKDIR /device-sdk-go 06:03:57 ---> Running in 019a44a5eac0 06:03:57 Removing intermediate container 019a44a5eac0 06:03:57 ---> 724b4ee1fb7f 06:03:57 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:03:57 ---> Running in db7391558e17 06:03:58 Removing intermediate container db7391558e17 06:03:58 ---> 9e216f426932 06:03:58 Step 6/10 : RUN apk add --update --no-cache make git 06:03:58 ---> Running in 95c0841ebd48 06:03:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:04:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:04:01 OK: 221 MiB in 51 packages 06:04:02 Removing intermediate container 95c0841ebd48 06:04:02 ---> 2fd6f38c5142 06:04:02 Step 7/10 : COPY go.mod vendor* ./ 06:04:02 ---> 48d07731c707 06:04:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:02 ---> Running in 7c8c114a12a2 06:05:10 Removing intermediate container 7c8c114a12a2 06:05:10 ---> e4229606b97e 06:05:10 Step 9/10 : COPY . . 06:05:10 ---> 275c239c420d 06:05:10 Step 10/10 : RUN ${MAKE} 06:05:10 ---> Running in dcd56f90f0c7 06:05:10 noop 06:05:10 Removing intermediate container dcd56f90f0c7 06:05:10 ---> b3886137185e 06:05:10 Successfully built b3886137185e 06:05:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:10 + docker inspect -f . ci-base-image-arm64 06:05:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:11 prd-ubuntu20.04-docker-arm64-4c-16g-8511 does not seem to be running inside a container 06:05:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/174 -v /w/workspace/device-sdk-go/174:/w/workspace/device-sdk-go/174:rw,z -v /w/workspace/device-sdk-go/174@tmp:/w/workspace/device-sdk-go/174@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 06:05:12 $ docker top af7f8913db889de09bab533baf69cb979c32a20c52e7980c202f5ce389dea19e -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:13 + go version 06:05:13 go version go1.18.7 linux/arm64 [Pipeline] } 06:05:13 $ docker stop --time=1 af7f8913db889de09bab533baf69cb979c32a20c52e7980c202f5ce389dea19e 06:05:15 $ docker rm -f --volumes af7f8913db889de09bab533baf69cb979c32a20c52e7980c202f5ce389dea19e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:15 + docker inspect -f . ci-base-image-arm64 06:05:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:15 prd-ubuntu20.04-docker-arm64-4c-16g-8511 does not seem to be running inside a container 06:05:16 $ 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/174 -v /w/workspace/device-sdk-go/174:/w/workspace/device-sdk-go/174:rw,z -v /w/workspace/device-sdk-go/174@tmp:/w/workspace/device-sdk-go/174@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 06:05:17 $ docker top 8d3aa175e417074fbf0a68bdbe7ba09cbfc9278aa9ee83a57785463e111e8d00 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:18 + git config --global --add safe.directory /w/workspace/device-sdk-go/174 [Pipeline] fileExists [Pipeline] sh 06:05:18 + make test 06:05:18 go test -race -coverprofile=coverage.out ./... 06:05:58 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 06:08:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 06:08:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 06:08:35 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 06:08:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 06:08:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 06:08:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.261s coverage: 27.6% of statements 06:08:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.344s coverage: 78.9% of statements 06:08:38 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 06:08:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.446s coverage: 86.0% of statements 06:08:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 06:08:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 06:08:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.709s coverage: 75.0% of statements 06:08:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 06:08:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.358s coverage: 15.3% of statements 06:08:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 06:08:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.532s coverage: 65.2% of statements 06:08:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 06:08:46 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 06:08:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.199s coverage: 89.2% of statements 06:08:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 06:08:52 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.278s coverage: 4.6% of statements 06:08:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 06:08:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:08:52 GO111MODULE=on go vet ./... 06:10:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:10:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:10:29 ./bin/test-attribution-txt.sh [Pipeline] echo 06:10:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:10:30 $ docker stop --time=1 8d3aa175e417074fbf0a68bdbe7ba09cbfc9278aa9ee83a57785463e111e8d00 06:10:32 $ docker rm -f --volumes 8d3aa175e417074fbf0a68bdbe7ba09cbfc9278aa9ee83a57785463e111e8d00 [Pipeline] // withDockerContainer [Pipeline] sh 06:10:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:10:33 Warning: overwriting stash ‘coverage-report’ 06:10:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:10:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:10:35 + ls -al . 06:10:35 total 276 06:10:35 drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 06:05 . 06:10:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 06:03 .. 06:10:35 -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 06:03 .dockerignore 06:10:35 drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 06:03 .git 06:10:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 06:03 .github 06:10:35 -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 06:03 .gitignore 06:10:35 -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 06:03 .golangci.yml 06:10:35 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 06:03 CHANGELOG.md 06:10:35 -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 06:03 GOVERNANCE.md 06:10:35 -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 06:03 Jenkinsfile 06:10:35 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 06:03 LICENSE 06:10:35 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 06:03 Makefile 06:10:35 -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 06:03 OWNERS.md 06:10:35 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 06:03 README.md 06:10:35 -rw-rw-r-- 1 jenkins jenkins 12 Mar 7 05:59 VERSION 06:10:35 drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 06:03 bin 06:10:35 -rw-r--r-- 1 jenkins jenkins 111244 Mar 7 06:08 coverage.out 06:10:35 drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 06:03 example 06:10:35 -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 06:03 go.mod 06:10:35 -rw-rw-r-- 1 jenkins jenkins 30840 Mar 7 06:03 go.sum 06:10:35 drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 06:03 internal 06:10:35 drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 06:03 openapi 06:10:35 drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 06:03 pkg 06:10:35 drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 06:03 snap 06:10:35 -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 06:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:35 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=57878cf2ebef4e913eea98f4fb62d4130484e110 --label arch=arm64 --label version=3.0.0-dev.44 . 06:10:36 Sending build context to Docker daemon 5.807MB 06:10:36 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:10:36 Step 2/23 : FROM ${BASE} AS builder 06:10:36 ---> b3886137185e 06:10:36 Step 3/23 : ARG MAKE=make build 06:10:36 ---> Running in 58086e81ae3c 06:10:36 Removing intermediate container 58086e81ae3c 06:10:36 ---> 6d80331f622c 06:10:36 Step 4/23 : WORKDIR /device-sdk-go 06:10:36 ---> Running in aa0b5c64aace 06:10:36 Removing intermediate container aa0b5c64aace 06:10:36 ---> 2b94aabcf3e6 06:10:36 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 06:10:36 ---> Running in 2fd02f542d9b 06:10:37 Removing intermediate container 2fd02f542d9b 06:10:37 ---> 58d03bbb6dfe 06:10:37 Step 6/23 : RUN apk add --update --no-cache make git 06:10:37 ---> Running in fa8b5c6a5050 06:10:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:10:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:10:39 OK: 221 MiB in 51 packages 06:10:41 Removing intermediate container fa8b5c6a5050 06:10:41 ---> 70917023d91d 06:10:41 Step 7/23 : COPY go.mod vendor* ./ 06:10:42 ---> 278801e9d949 06:10:42 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:10:42 ---> Running in 992a5e88df89 06:10:45 Removing intermediate container 992a5e88df89 06:10:45 ---> 1808f42b282e 06:10:45 Step 9/23 : COPY . . 06:10:46 ---> ac552fcc03f3 06:10:46 Step 10/23 : RUN ${MAKE} 06:10:46 ---> Running in c49615823193 06:10:47 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.44" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:13:09 Removing intermediate container c49615823193 06:13:09 ---> 091a338e8127 06:13:09 Step 11/23 : FROM alpine:3.16 06:13:09 3.16: Pulling from library/alpine 06:13:09 3760b48202b3: Pulling fs layer 06:13:09 3760b48202b3: Download complete 06:13:09 3760b48202b3: Pull complete 06:13:09 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 06:13:09 Status: Downloaded newer image for alpine:3.16 06:13:09 ---> 4c81e5bf8899 06:13:09 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:13:09 ---> Running in 494834813a26 06:13:09 Removing intermediate container 494834813a26 06:13:09 ---> c7b066f7fbc7 06:13:09 Step 13/23 : RUN apk add --update --no-cache 06:13:09 ---> Running in 62ce8200b116 06:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:13:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:13:09 OK: 5 MiB in 14 packages 06:13:09 Removing intermediate container 62ce8200b116 06:13:09 ---> e19d74a941a3 06:13:09 Step 14/23 : WORKDIR / 06:13:09 ---> Running in adec1ece7a99 06:13:09 Removing intermediate container adec1ece7a99 06:13:09 ---> 5ccb7a766284 06:13:09 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:13:09 ---> 734bfb106990 06:13:09 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:13:09 ---> d8d5ba2d9783 06:13:09 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:13:09 ---> b9818374c46e 06:13:09 Step 18/23 : EXPOSE 59999 06:13:09 ---> Running in 82e47c96af9d 06:13:09 Removing intermediate container 82e47c96af9d 06:13:09 ---> 9291d4e2f68a 06:13:09 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:13:09 ---> Running in 362438ee1ec8 06:13:09 Removing intermediate container 362438ee1ec8 06:13:09 ---> 8f6454ade53f 06:13:09 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 06:13:09 ---> Running in 1547e13ca0e5 06:13:09 Removing intermediate container 1547e13ca0e5 06:13:09 ---> 1b8165deacc6 06:13:09 Step 21/23 : LABEL arch=arm64 06:13:09 ---> Running in 4c2d10b53753 06:13:09 Removing intermediate container 4c2d10b53753 06:13:09 ---> 0690361a4078 06:13:09 Step 22/23 : LABEL git_sha=57878cf2ebef4e913eea98f4fb62d4130484e110 06:13:09 ---> Running in 9362891c989d 06:13:09 Removing intermediate container 9362891c989d 06:13:09 ---> d2ee7e84ddf7 06:13:09 Step 23/23 : LABEL version=3.0.0-dev.44 06:13:09 ---> Running in cd25a8c210dc 06:13:09 Removing intermediate container cd25a8c210dc 06:13:09 ---> 08d19bc81f24 06:13:09 [Warning] One or more build-args [ARCH] were not consumed 06:13:09 Successfully built 08d19bc81f24 06:13:09 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 06:13:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:13:09 06:13:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:13:09 arm64: Pulling from edgex-lftools-log-publisher 06:13:09 8998bd30e6a1: Pulling fs layer 06:13:09 04944245beec: Pulling fs layer 06:13:09 699f458cf7ca: Pulling fs layer 06:13:09 765212b225bb: Pulling fs layer 06:13:09 f23df028b6ca: Pulling fs layer 06:13:09 d65c8cfc05b1: Pulling fs layer 06:13:09 2437ff75d9bd: Pulling fs layer 06:13:09 765212b225bb: Waiting 06:13:09 f23df028b6ca: Waiting 06:13:09 d65c8cfc05b1: Waiting 06:13:09 2437ff75d9bd: Waiting 06:13:10 04944245beec: Verifying Checksum 06:13:10 04944245beec: Download complete 06:13:10 765212b225bb: Verifying Checksum 06:13:10 765212b225bb: Download complete 06:13:10 f23df028b6ca: Verifying Checksum 06:13:10 f23df028b6ca: Download complete 06:13:10 d65c8cfc05b1: Verifying Checksum 06:13:10 d65c8cfc05b1: Download complete 06:13:10 699f458cf7ca: Verifying Checksum 06:13:10 699f458cf7ca: Download complete 06:13:10 8998bd30e6a1: Verifying Checksum 06:13:10 8998bd30e6a1: Download complete 06:13:12 2437ff75d9bd: Verifying Checksum 06:13:12 2437ff75d9bd: Download complete 06:13:14 8998bd30e6a1: Pull complete 06:13:14 04944245beec: Pull complete 06:13:16 699f458cf7ca: Pull complete 06:13:16 765212b225bb: Pull complete 06:13:17 f23df028b6ca: Pull complete 06:13:17 d65c8cfc05b1: Pull complete 06:13:32 2437ff75d9bd: Pull complete 06:13:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:13:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:13:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:32 prd-ubuntu20.04-docker-arm64-4c-16g-8511 does not seem to be running inside a container 06:13:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/174 -v /w/workspace/device-sdk-go/174:/w/workspace/device-sdk-go/174:rw,z -v /w/workspace/device-sdk-go/174@tmp:/w/workspace/device-sdk-go/174@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 06:13:35 $ docker top 45c7e6094d02d0831fe85c762e97bc08f0ff88053239a108fcb0407aeac39e76 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:13:36 ---> job-cost.sh 06:13:36 lf-activate-venv: SKIPPING 06:13:36 INFO: No Stack... 06:13:37 INFO: Retrieving Pricing Info for: v3-standard-4 06:13:37 INFO: Archiving Costs [Pipeline] sh 06:13:38 + + cat /w/workspace/device-sdk-go/174/archives/cost.csvcut 06:13:38 -d, -f6 [Pipeline] lock 06:13:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-174-stack-cost] 06:13:38 Resource [jenkins-edgexfoundry-device-sdk-go-main-174-stack-cost] did not exist. Created. 06:13:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-174-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:13:39 /w/workspace/device-sdk-go/174@tmp/durable-e71b64e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:13:40 + echo total: 0.10999999940395355 [Pipeline] stash 06:13:40 Warning: overwriting stash ‘stack-cost’ 06:13:40 Stashed 1 file(s) [Pipeline] } 06:13:40 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-174-stack-cost] [Pipeline] // lock [Pipeline] } 06:13:40 $ docker stop --time=1 45c7e6094d02d0831fe85c762e97bc08f0ff88053239a108fcb0407aeac39e76 06:13:41 $ docker rm -f --volumes 45c7e6094d02d0831fe85c762e97bc08f0ff88053239a108fcb0407aeac39e76 [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 06:13:42 provisioning config files... 06:13:42 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10338710352909008174tmp [Pipeline] { [Pipeline] sh 06:13:42 + set +x 06:13:42 + curl -s https://codecov.io/bash 06:13:42 + bash -s -- 06:13:42 06:13:42 _____ _ 06:13:42 / ____| | | 06:13:42 | | ___ __| | ___ ___ _____ __ 06:13:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:13:42 | |___| (_) | (_| | __/ (_| (_) \ V / 06:13:42 \_____\___/ \__,_|\___|\___\___/ \_/ 06:13:42 Bash-1.0.6 06:13:42 06:13:42 06:13:42 ==> git version 2.25.1 found 06:13:42 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 06:13:42 Release-Date: 2020-01-08 06:13:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:13:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:13:42 ==> Jenkins CI detected. 06:13:42 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:13:42 project root: . 06:13:42 --> token set from env 06:13:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:13:42 ==> Running gcov in . (disable via -X gcov) 06:13:42 ==> Python coveragepy not found 06:13:42 ==> Searching for coverage reports in: 06:13:42 + . 06:13:42 -> Found 1 reports 06:13:42 ==> Detecting git/mercurial file structure 06:13:42 ==> Reading reports 06:13:42 + ./coverage.out bytes=111244 06:13:42 ==> Appending adjustments 06:13:42 https://docs.codecov.io/docs/fixing-reports 06:13:42 + Found adjustments 06:13:42 ==> Gzipping contents 06:13:42 16K /tmp/codecov.ewrddw.gz 06:13:42 ==> Uploading reports 06:13:42 url: https://codecov.io 06:13:42 query: branch=main&commit=57878cf2ebef4e913eea98f4fb62d4130484e110&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F174%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:13:42 -> Pinging Codecov 06:13:42 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=57878cf2ebef4e913eea98f4fb62d4130484e110&build=174&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F174%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:13:43 -> Uploading to 06:13:43 https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/57878cf2ebef4e913eea98f4fb62d4130484e110/60d3719f-9669-47fd-9b75-39253ff3b41c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T061342Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=484445051a24a8186258cd8916a4e7c56ca24c6403064dc4993cb64d92f94b1a 06:13:43 % Total % Received % Xferd Average Speed Time Time Time Current 06:13:43 Dload Upload Total Spent Left Speed 06:13:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15393 0 0 100 15393 0 58306 --:--:-- --:--:-- --:--:-- 58306 06:13:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/57878cf2ebef4e913eea98f4fb62d4130484e110 [Pipeline] } 06:13:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:13:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:13:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:13:43 06:13:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:13:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:13:44 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:13:44 df9b9388f04a: Pulling fs layer 06:13:44 52dc419b0ee2: Pulling fs layer 06:13:44 25bc292e5bac: Pulling fs layer 06:13:44 114826534d7a: Pulling fs layer 06:13:44 4657fd5d0bcf: Pulling fs layer 06:13:44 6ad1cebc031e: Pulling fs layer 06:13:44 8a3aa393b2d8: Pulling fs layer 06:13:44 114826534d7a: Waiting 06:13:44 6ad1cebc031e: Waiting 06:13:44 4657fd5d0bcf: Waiting 06:13:44 25bc292e5bac: Download complete 06:13:44 52dc419b0ee2: Download complete 06:13:44 4657fd5d0bcf: Verifying Checksum 06:13:44 4657fd5d0bcf: Download complete 06:13:44 df9b9388f04a: Verifying Checksum 06:13:44 df9b9388f04a: Download complete 06:13:44 df9b9388f04a: Pull complete 06:13:44 6ad1cebc031e: Verifying Checksum 06:13:44 6ad1cebc031e: Download complete 06:13:44 52dc419b0ee2: Pull complete 06:13:44 25bc292e5bac: Pull complete 06:13:45 114826534d7a: Verifying Checksum 06:13:45 114826534d7a: Download complete 06:13:45 8a3aa393b2d8: Verifying Checksum 06:13:45 8a3aa393b2d8: Download complete 06:13:48 114826534d7a: Pull complete 06:13:48 4657fd5d0bcf: Pull complete 06:13:48 6ad1cebc031e: Pull complete 06:13:51 8a3aa393b2d8: Pull complete 06:13:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:13:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:13:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:13:51 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 06:13:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 06:13:55 $ docker top d142639ee4f31927666bc46ba386e166e39e456de9e0052304ced9c8609584c8 -eo pid,comm [Pipeline] { [Pipeline] echo 06:13:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 06:13:56 + set -o pipefail 06:13:56 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 06:14:02 06:14:02 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 06:14:02 06:14:02 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/44d7da17-3d41-418b-9e44-16453fb6772c 06:14:02 06:14:02 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:14:02 06:14:02 06:14:02 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:14:02 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:14:02 More details here: https://snyk.co/ue1NS [Pipeline] } 06:14:02 $ docker stop --time=1 d142639ee4f31927666bc46ba386e166e39e456de9e0052304ced9c8609584c8 06:14:05 $ docker rm -f --volumes d142639ee4f31927666bc46ba386e166e39e456de9e0052304ced9c8609584c8 [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 06:14:06 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:06 provisioning config files... 06:14:06 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7727157511312263041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:14:06 --> edgex-publish-swagger.sh 06:14:06 === Publish openapi/v3 API === 06:14:06 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 06:14:06 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 06:14:06 % Total % Received % Xferd Average Speed Time Time Time Current 06:14:06 Dload Upload Total Spent Left Speed 06:14:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 98k --:--:-- --:--:-- --:--:-- 97k 100 23571 0 0 100 23571 0 43091 --:--:-- --:--:-- --:--:-- 43012 06:14:07 06:14:07 [Pipeline] } 06:14:07 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 06:14:07 + git log --format=format:%s -1 57878cf2ebef4e913eea98f4fb62d4130484e110 [Pipeline] sh 06:14:07 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:07 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:08 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 06:14:08 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:14:08 $ docker top 3bb8abf917b65e3f14b5ebc8dd6e70091ddf3e24e44d2794bf0cfacde9ca29cd -eo pid,comm 06:14:08 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:14:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:08 [ssh-agent] Looking for ssh-agent implementation... 06:14:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:08 $ docker exec 3bb8abf917b65e3f14b5ebc8dd6e70091ddf3e24e44d2794bf0cfacde9ca29cd ssh-agent 06:14:09 SSH_AUTH_SOCK=/tmp/ssh-swQU4oReC6Iz/agent.31 06:14:09 SSH_AGENT_PID=37 06:14:09 Running ssh-add (command line suppressed) 06:14:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16257087556138583998.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16257087556138583998.key) 06:14:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:09 + git semver tag 06:14:09 2023-03-07 06:14:09,572 [run_tag] DEBUG tag force:False 06:14:09 2023-03-07 06:14:09,572 [check_head_tag] DEBUG check head tag 06:14:09 2023-03-07 06:14:09,573 [execute] INFO git cat-file --batch-check 06:14:09 2023-03-07 06:14:09,574 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:14:09 2023-03-07 06:14:09,577 [execute] INFO git cat-file --batch 06:14:09 2023-03-07 06:14:09,577 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:14:09 2023-03-07 06:14:09,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:14:09 2023-03-07 06:14:09,611 [execute] INFO git tag -a v3.0.0-dev.44 -m v3.0.0-dev.44 06:14:09 2023-03-07 06:14:09,611 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.44', '-m', 'v3.0.0-dev.44'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:14:09 2023-03-07 06:14:09,615 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:14:09 3.0.0-dev.44 [Pipeline] } 06:14:09 $ docker exec --env ******** --env ******** 3bb8abf917b65e3f14b5ebc8dd6e70091ddf3e24e44d2794bf0cfacde9ca29cd ssh-agent -k 06:14:09 unset SSH_AUTH_SOCK; 06:14:09 unset SSH_AGENT_PID; 06:14:09 echo Agent pid 37 killed; 06:14:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:14:10 + git semver [Pipeline] } 06:14:10 $ docker stop --time=1 3bb8abf917b65e3f14b5ebc8dd6e70091ddf3e24e44d2794bf0cfacde9ca29cd 06:14:11 $ docker rm -f --volumes 3bb8abf917b65e3f14b5ebc8dd6e70091ddf3e24e44d2794bf0cfacde9ca29cd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:14:12 06:14:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:14:12 0.23.1-centos7: Pulling from edgex-lftools 06:14:12 ab5ef0e58194: Pulling fs layer 06:14:12 9712f1f96733: Pulling fs layer 06:14:12 63f879dbbcfc: Pulling fs layer 06:14:12 0d9ebad4ef96: Pulling fs layer 06:14:12 e9a5061849ea: Pulling fs layer 06:14:12 d747dcd14b5f: Pulling fs layer 06:14:12 2de7ff778b66: Pulling fs layer 06:14:12 e9a5061849ea: Waiting 06:14:12 d747dcd14b5f: Waiting 06:14:12 2de7ff778b66: Waiting 06:14:12 9712f1f96733: Verifying Checksum 06:14:12 9712f1f96733: Download complete 06:14:12 63f879dbbcfc: Verifying Checksum 06:14:12 63f879dbbcfc: Download complete 06:14:12 0d9ebad4ef96: Verifying Checksum 06:14:12 0d9ebad4ef96: Download complete 06:14:12 ab5ef0e58194: Verifying Checksum 06:14:12 ab5ef0e58194: Download complete 06:14:12 e9a5061849ea: Verifying Checksum 06:14:12 e9a5061849ea: Download complete 06:14:13 d747dcd14b5f: Verifying Checksum 06:14:13 d747dcd14b5f: Download complete 06:14:13 2de7ff778b66: Verifying Checksum 06:14:13 2de7ff778b66: Download complete 06:14:15 ab5ef0e58194: Pull complete 06:14:15 9712f1f96733: Pull complete 06:14:16 63f879dbbcfc: Pull complete 06:14:19 0d9ebad4ef96: Pull complete 06:14:19 e9a5061849ea: Pull complete 06:14:19 d747dcd14b5f: Pull complete 06:14:20 2de7ff778b66: Pull complete 06:14:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:14:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:14:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:20 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 06:14:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 06:14:26 $ docker top 58e436ac1cf3eea70ac4cb1f3f517e7b940282a8913b826dc32c06ec9fe8caab -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:14:26 provisioning config files... 06:14:26 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11065265416696298569tmp 06:14:26 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13775550315382933640tmp 06:14:26 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15437561002291711366tmp [Pipeline] { [Pipeline] echo 06:14:26 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:14:26 ---> sigul-configuration.sh 06:14:26 gpg: directory `/root/.gnupg' created 06:14:26 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:14:26 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:14:26 gpg: keyring `/root/.gnupg/secring.gpg' created 06:14:26 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:14:26 gpg: CAST5 encrypted data 06:14:26 gpg: encrypted with 1 passphrase 06:14:26 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:14:26 + mkdir /home/jenkins 06:14:26 + mkdir /home/jenkins/sigul [Pipeline] sh 06:14:27 + 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 06:14:27 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:14:27 ---> sigul-install.sh 06:14:27 Sigul already installed; skipping installation. [Pipeline] sh 06:14:27 + git tag --list 06:14:27 0.7.1 06:14:27 delhi-tag 06:14:27 v1.0.0 06:14:27 v1.1.0 06:14:27 v1.1.1 06:14:27 v1.1.2 06:14:27 v1.2.0 06:14:27 v1.2.1 06:14:27 v1.2.2 06:14:27 v1.2.3 06:14:27 v1.3.0 06:14:27 v1.4.0 06:14:27 v2.0.0 06:14:27 v2.1.0 06:14:27 v2.1.1 06:14:27 v2.1.1-dev.2 06:14:27 v2.1.1-dev.3 06:14:27 v2.2.0 06:14:27 v2.2.1-dev.1 06:14:27 v2.2.1-dev.10 06:14:27 v2.2.1-dev.11 06:14:27 v2.2.1-dev.12 06:14:27 v2.2.1-dev.13 06:14:27 v2.2.1-dev.14 06:14:27 v2.2.1-dev.2 06:14:27 v2.2.1-dev.3 06:14:27 v2.2.1-dev.4 06:14:27 v2.2.1-dev.5 06:14:27 v2.2.1-dev.6 06:14:27 v2.2.1-dev.7 06:14:27 v2.2.1-dev.8 06:14:27 v2.2.1-dev.9 06:14:27 v2.3.0 06:14:27 v2.3.0-dev.14 06:14:27 v2.3.0-dev.15 06:14:27 v2.3.0-dev.16 06:14:27 v2.3.0-dev.17 06:14:27 v2.3.0-dev.18 06:14:27 v2.3.0-dev.19 06:14:27 v2.3.0-dev.20 06:14:27 v2.3.0-dev.21 06:14:27 v2.3.0-dev.22 06:14:27 v2.3.0-dev.23 06:14:27 v2.3.0-dev.24 06:14:27 v2.3.0-dev.25 06:14:27 v2.3.0-dev.26 06:14:27 v2.3.0-dev.27 06:14:27 v2.3.0-dev.28 06:14:27 v2.3.0-dev.29 06:14:27 v2.3.0-dev.30 06:14:27 v2.3.0-dev.31 06:14:27 v2.3.0-dev.32 06:14:27 v2.3.0-dev.33 06:14:27 v2.3.0-dev.34 06:14:27 v2.3.0-dev.35 06:14:27 v2.3.0-dev.36 06:14:27 v2.3.0-dev.37 06:14:27 v2.3.0-dev.38 06:14:27 v2.3.0-dev.39 06:14:27 v2.3.0-dev.40 06:14:27 v2.3.0-dev.41 06:14:27 v2.3.0-dev.42 06:14:27 v2.3.0-dev.43 06:14:27 v2.3.0-dev.44 06:14:27 v2.3.0-dev.45 06:14:27 v2.3.0-dev.46 06:14:27 v2.3.0-dev.47 06:14:27 v2.3.0-dev.48 06:14:27 v2.3.0-dev.49 06:14:27 v2.3.0-dev.50 06:14:27 v2.3.0-dev.51 06:14:27 v2.3.1-dev.1 06:14:27 v2.3.1-dev.2 06:14:27 v3.0.0-dev.1 06:14:27 v3.0.0-dev.10 06:14:27 v3.0.0-dev.11 06:14:27 v3.0.0-dev.12 06:14:27 v3.0.0-dev.13 06:14:27 v3.0.0-dev.14 06:14:27 v3.0.0-dev.15 06:14:27 v3.0.0-dev.16 06:14:27 v3.0.0-dev.17 06:14:27 v3.0.0-dev.18 06:14:27 v3.0.0-dev.19 06:14:27 v3.0.0-dev.2 06:14:27 v3.0.0-dev.20 06:14:27 v3.0.0-dev.21 06:14:27 v3.0.0-dev.22 06:14:27 v3.0.0-dev.23 06:14:27 v3.0.0-dev.24 06:14:27 v3.0.0-dev.25 06:14:27 v3.0.0-dev.26 06:14:27 v3.0.0-dev.27 06:14:27 v3.0.0-dev.28 06:14:27 v3.0.0-dev.29 06:14:27 v3.0.0-dev.3 06:14:27 v3.0.0-dev.30 06:14:27 v3.0.0-dev.31 06:14:27 v3.0.0-dev.32 06:14:27 v3.0.0-dev.33 06:14:27 v3.0.0-dev.34 06:14:27 v3.0.0-dev.35 06:14:27 v3.0.0-dev.36 06:14:27 v3.0.0-dev.37 06:14:27 v3.0.0-dev.38 06:14:27 v3.0.0-dev.39 06:14:27 v3.0.0-dev.4 06:14:27 v3.0.0-dev.40 06:14:27 v3.0.0-dev.41 06:14:27 v3.0.0-dev.42 06:14:27 v3.0.0-dev.43 06:14:27 v3.0.0-dev.44 06:14:27 v3.0.0-dev.5 06:14:27 v3.0.0-dev.6 06:14:27 v3.0.0-dev.7 06:14:27 v3.0.0-dev.8 06:14:27 v3.0.0-dev.9 [Pipeline] sh 06:14:27 + lftools sign git-tag v3.0.0-dev.44 06:14:28 Signing Git tag with Sigul... 06:14:28 Signing v3.0.0-dev.44 [Pipeline] echo 06:14:28 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:14:29 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:14:29 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:14:29 $ docker stop --time=1 58e436ac1cf3eea70ac4cb1f3f517e7b940282a8913b826dc32c06ec9fe8caab 06:14:30 $ docker rm -f --volumes 58e436ac1cf3eea70ac4cb1f3f517e7b940282a8913b826dc32c06ec9fe8caab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:14:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:31 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 06:14:31 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:14:31 $ docker top 21025ef106dd266791995bf5c1a90f22667d16f807a657831e12203fcd8be2b9 -eo pid,comm 06:14:31 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). 06:14:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:31 [ssh-agent] Looking for ssh-agent implementation... 06:14:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:31 $ docker exec 21025ef106dd266791995bf5c1a90f22667d16f807a657831e12203fcd8be2b9 ssh-agent 06:14:31 SSH_AUTH_SOCK=/tmp/ssh-KcFlnJqgLKW5/agent.32 06:14:31 SSH_AGENT_PID=39 06:14:31 Running ssh-add (command line suppressed) 06:14:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17417071381564323046.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17417071381564323046.key) 06:14:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:32 + git semver bump pre 06:14:32 2023-03-07 06:14:32,415 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:14:32 2023-03-07 06:14:32,415 [bump_version] DEBUG bumping version:3.0.0-dev.44 on axis:pre with prefix:dev 06:14:32 2023-03-07 06:14:32,415 [bump_version] DEBUG bumped version:3.0.0-dev.45 06:14:32 2023-03-07 06:14:32,415 [write_version] DEBUG write version:3.0.0-dev.45 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:14:32 2023-03-07 06:14:32,415 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:14:32 2023-03-07 06:14:32,415 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:14:32 2023-03-07 06:14:32,417 [execute] INFO git cat-file --batch-check 06:14:32 2023-03-07 06:14:32,417 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:14:32 2023-03-07 06:14:32,422 [execute] INFO git cat-file --batch 06:14:32 2023-03-07 06:14:32,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:14:32 2023-03-07 06:14:32,427 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:14:32 3.0.0-dev.45 [Pipeline] } 06:14:32 $ docker exec --env ******** --env ******** 21025ef106dd266791995bf5c1a90f22667d16f807a657831e12203fcd8be2b9 ssh-agent -k 06:14:32 unset SSH_AUTH_SOCK; 06:14:32 unset SSH_AGENT_PID; 06:14:32 echo Agent pid 39 killed; 06:14:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:14:32 + git semver [Pipeline] } 06:14:33 $ docker stop --time=1 21025ef106dd266791995bf5c1a90f22667d16f807a657831e12203fcd8be2b9 06:14:34 $ docker rm -f --volumes 21025ef106dd266791995bf5c1a90f22667d16f807a657831e12203fcd8be2b9 [Pipeline] // withDockerContainer [Pipeline] sh 06:14:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:14:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:14:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:35 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 06:14:35 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:14:35 $ docker top 9a80a988f54804bffd5f87e058628b33c0c59548183fafbbfc067f6c215b7964 -eo pid,comm 06:14:35 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). 06:14:35 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:14:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:14:35 [ssh-agent] Looking for ssh-agent implementation... 06:14:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:14:35 $ docker exec 9a80a988f54804bffd5f87e058628b33c0c59548183fafbbfc067f6c215b7964 ssh-agent 06:14:35 SSH_AUTH_SOCK=/tmp/ssh-he5X5tPGr5GD/agent.33 06:14:35 SSH_AGENT_PID=39 06:14:35 Running ssh-add (command line suppressed) 06:14:35 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1313500404742712724.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1313500404742712724.key) 06:14:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:14:36 + git semver push 06:14:36 2023-03-07 06:14:36,327 [run_push] DEBUG push 06:14:36 2023-03-07 06:14:36,327 [execute] INFO git cat-file --batch-check 06:14:36 2023-03-07 06:14:36,328 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:14:36 2023-03-07 06:14:36,330 [execute] INFO git rev-list 6b982e3427ed2269f53c349cf85cc23d17cb5366 -- 06:14:36 2023-03-07 06:14:36,331 [execute] DEBUG Popen(['git', 'rev-list', '6b982e3427ed2269f53c349cf85cc23d17cb5366', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:14:36 2023-03-07 06:14:36,341 [execute] INFO git fetch -v origin 06:14:36 2023-03-07 06:14:36,341 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:14:36 2023-03-07 06:14:36,801 [run_push] DEBUG no remote changes detected 06:14:36 2023-03-07 06:14:36,802 [execute] INFO git push origin semver 06:14:36 2023-03-07 06:14:36,802 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:14:37 2023-03-07 06:14:37,608 [run_push] DEBUG push all version tags 06:14:37 2023-03-07 06:14:37,609 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:14:37 2023-03-07 06:14:37,609 [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) 06:14:38 2023-03-07 06:14:38,408 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:14:38 3.0.0-dev.45 [Pipeline] } 06:14:38 $ docker exec --env ******** --env ******** 9a80a988f54804bffd5f87e058628b33c0c59548183fafbbfc067f6c215b7964 ssh-agent -k 06:14:38 unset SSH_AUTH_SOCK; 06:14:38 unset SSH_AGENT_PID; 06:14:38 echo Agent pid 39 killed; 06:14:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:14:38 + git semver [Pipeline] } 06:14:39 $ docker stop --time=1 9a80a988f54804bffd5f87e058628b33c0c59548183fafbbfc067f6c215b7964 06:14:40 $ docker rm -f --volumes 9a80a988f54804bffd5f87e058628b33c0c59548183fafbbfc067f6c215b7964 [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 06:14:40 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:14:40 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:14:40 total 16 06:14:40 drwxr-xr-x 3 root root 4096 Mar 7 06:02 . 06:14:40 drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 06:14 .. 06:14:40 drwxr-xr-x 2 root root 4096 Mar 7 06:02 cost 06:14:40 -rw-r--r-- 1 root root 85 Mar 7 06:02 cost.csv 06:14:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:14:40 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:14:40 total 16 06:14:40 drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 06:02 . 06:14:40 drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 06:14 .. 06:14:40 drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 06:02 cost 06:14:40 -rw-r--r-- 1 jenkins jenkins 85 Mar 7 06:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:14:41 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:14:42 ---> package-listing.sh 06:14:42 ++ facter osfamily 06:14:42 ++ tr '[:upper:]' '[:lower:]' 06:14:42 + OS_FAMILY=debian 06:14:42 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:14:42 + START_PACKAGES=/tmp/packages_start.txt 06:14:42 + END_PACKAGES=/tmp/packages_end.txt 06:14:42 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:14:42 + PACKAGES=/tmp/packages_start.txt 06:14:42 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:14:42 + PACKAGES=/tmp/packages_end.txt 06:14:42 + case "${OS_FAMILY}" in 06:14:42 + dpkg -l 06:14:42 + grep '^ii' 06:14:42 + '[' -f /tmp/packages_start.txt ']' 06:14:42 + '[' -f /tmp/packages_end.txt ']' 06:14:42 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:14:42 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:14:42 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:14:42 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 06:14:42 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 06:14:42 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:14:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:14:43 prd-ubuntu20.04-docker-8c-8g-8505 does not seem to be running inside a container 06:14:43 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:14:43 $ docker top 7d842f9b2ab336fa748ae51b9c6219f73f8a3e8ab5d976c5947f07990cc7d318 -eo pid,comm [Pipeline] { [Pipeline] sh 06:14:43 + touch /tmp/pre-build-complete [Pipeline] sh 06:14:44 + mkdir -p /var/log/sysstat [Pipeline] sh 06:14:44 + ls /var/log/sa-host 06:14:44 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:14:44 provisioning config files... 06:14:44 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11842081003478092518tmp [Pipeline] { [Pipeline] echo 06:14:44 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:14:44 ---> create-netrc.sh [Pipeline] } 06:14:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:14:45 ---> python-tools-install.sh [Pipeline] echo 06:14:45 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:14:45 ---> sudo-logs.sh 06:14:45 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:14:45 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:14:45 ---> job-cost.sh 06:14:45 lf-activate-venv: SKIPPING 06:14:45 DEBUG: total: 0.2199999988079071 06:14:45 INFO: Retrieving Stack Cost... 06:14:46 INFO: Retrieving Pricing Info for: v3-standard-8 06:14:46 INFO: Archiving Costs [Pipeline] echo 06:14:46 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:14:47 ---> logs-deploy.sh 06:14:47 lf-activate-venv: SKIPPING 06:14:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/174 06:14:47 INFO: archiving workspace using pattern(s): 06:14:47 Archives upload complete. 06:14:47 INFO: archiving logs to Nexus