Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb 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-ssh3585394415257973122.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12993000504702992658.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/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-ssh7192961202468553211.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh2505938855979729942.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-ssh15478645393278589806.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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7524 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 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb (main) > 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 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb # timeout=10 Commit message: "Merge pull request #1419 from lenny-intel/secret-provider" > git rev-list --no-walk d73da920b9fd3a52132699998633ff8aee3aa256 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:58:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:58:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:58:15 ========================================================= 03:58:15 EdgeX Global Pipelines Version Info 03:58:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:58:15 ------------------- 03:58:15 stable info: 03:58:15 ------------------- 03:58:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:58:15 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 03:58:15 Message: update stable to v1.0.245 03:58:16 ------------------- 03:58:16 experimental info: 03:58:16 ------------------- 03:58:16 Commited By: **** collab-it+edgex@linuxfoundation.org 03:58:16 Commit SHA: 046ad6d0e2e636d38ea4daf53c055316476b9501 03:58:16 Message: update experimental to v1.0.247 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 03:58:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:58:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:58:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:58:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:58:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:58:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:58:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:58:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:58:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb [Pipeline] echo 03:58:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7cdbeb8 [Pipeline] echo 03:58:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:58:17 provisioning config files... 03:58:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config549506193241493843tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:17 ---> docker-login.sh 03:58:17 nexus3.edgexfoundry.org:10001 03:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:17 Configure a credential helper to remove this warning. See 03:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:17 03:58:17 Login Succeeded 03:58:17 nexus3.edgexfoundry.org:10002 03:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:17 Configure a credential helper to remove this warning. See 03:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:17 03:58:17 Login Succeeded 03:58:17 nexus3.edgexfoundry.org:10003 03:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:17 Configure a credential helper to remove this warning. See 03:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:17 03:58:17 Login Succeeded 03:58:17 nexus3.edgexfoundry.org:10004 03:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:18 Configure a credential helper to remove this warning. See 03:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:18 03:58:18 Login Succeeded 03:58:18 docker.io 03:58:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:18 Configure a credential helper to remove this warning. See 03:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:18 03:58:18 Login Succeeded 03:58:18 ---> docker-login.sh ends [Pipeline] } 03:58:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:58:18 + git rev-list -1 --merges 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb~1..7cdbeb80806488cc72d5f0c105d21f7b91ebdafb [Pipeline] echo 03:58:18 -----------> git rev-list -1 --merges 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb~1..7cdbeb80806488cc72d5f0c105d21f7b91ebdafb 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb 03:58:18 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb [false] [Pipeline] sh 03:58:19 + git log --format=format:%s -1 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb [Pipeline] echo 03:58:19 ========================================================= 03:58:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:58:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:58:19 + git log --format=format:%s -1 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb [Pipeline] echo 03:58:19 [semverPrep] GIT_COMMIT: 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb, Commit Message: Merge pull request #1419 from lenny-intel/secret-provider [Pipeline] echo 03:58:19 [semverPrep] This is not a build commit. [Pipeline] sh 03:58:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:58:19 + grep -v github /etc/ssh/ssh_known_hosts 03:58:19 + [ -e /tmp/ssh_known_hosts ] 03:58:19 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:58:19 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:58:19 + sudo tee -a /etc/ssh/ssh_known_hosts 03:58:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:58:20 03:58:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:58:20 0.1.4: Pulling from edgex-devops/py-git-semver 03:58:20 b85a868b505f: Pulling fs layer 03:58:20 e2be974225ed: Pulling fs layer 03:58:20 339a4e72a1f5: Pulling fs layer 03:58:20 988bab9f4d93: Pulling fs layer 03:58:20 1469e6f7b9e6: Pulling fs layer 03:58:20 eaf3925da568: Pulling fs layer 03:58:20 bab4dde63d76: Pulling fs layer 03:58:20 bde34c3a00c8: Pulling fs layer 03:58:20 b352a97aabf1: Pulling fs layer 03:58:20 1469e6f7b9e6: Waiting 03:58:20 eaf3925da568: Waiting 03:58:20 bab4dde63d76: Waiting 03:58:20 988bab9f4d93: Waiting 03:58:20 bde34c3a00c8: Waiting 03:58:20 4872d77fe225: Pulling fs layer 03:58:20 b352a97aabf1: Waiting 03:58:20 5851b861e8e6: Pulling fs layer 03:58:20 4872d77fe225: Waiting 03:58:20 5851b861e8e6: Waiting 03:58:20 e2be974225ed: Verifying Checksum 03:58:20 e2be974225ed: Download complete 03:58:20 988bab9f4d93: Verifying Checksum 03:58:20 988bab9f4d93: Download complete 03:58:20 1469e6f7b9e6: Verifying Checksum 03:58:20 1469e6f7b9e6: Download complete 03:58:20 339a4e72a1f5: Verifying Checksum 03:58:20 339a4e72a1f5: Download complete 03:58:20 eaf3925da568: Verifying Checksum 03:58:20 eaf3925da568: Download complete 03:58:20 bde34c3a00c8: Download complete 03:58:20 b352a97aabf1: Verifying Checksum 03:58:20 b352a97aabf1: Download complete 03:58:20 4872d77fe225: Verifying Checksum 03:58:20 4872d77fe225: Download complete 03:58:21 5851b861e8e6: Verifying Checksum 03:58:21 5851b861e8e6: Download complete 03:58:21 b85a868b505f: Verifying Checksum 03:58:21 b85a868b505f: Download complete 03:58:21 bab4dde63d76: Verifying Checksum 03:58:21 bab4dde63d76: Download complete 03:58:22 b85a868b505f: Pull complete 03:58:22 e2be974225ed: Pull complete 03:58:23 339a4e72a1f5: Pull complete 03:58:23 988bab9f4d93: Pull complete 03:58:23 1469e6f7b9e6: Pull complete 03:58:23 eaf3925da568: Pull complete 03:58:25 bab4dde63d76: Pull complete 03:58:25 bde34c3a00c8: Pull complete 03:58:25 b352a97aabf1: Pull complete 03:58:25 4872d77fe225: Pull complete 03:58:25 5851b861e8e6: Pull complete 03:58:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:58:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:58:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:58:25 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 03:58:26 $ 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 03:58:28 $ docker top 3b6984eb8480e249c9b8ecf7e3bd67924f2997eb07a7a3d9657b77d7e6b9d4d4 -eo pid,comm 03:58:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:58:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:58:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:28 [ssh-agent] Looking for ssh-agent implementation... 03:58:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:28 $ docker exec 3b6984eb8480e249c9b8ecf7e3bd67924f2997eb07a7a3d9657b77d7e6b9d4d4 ssh-agent 03:58:28 SSH_AUTH_SOCK=/tmp/ssh-ukYUrKBUpuid/agent.31 03:58:28 SSH_AGENT_PID=37 03:58:28 Running ssh-add (command line suppressed) 03:58:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12651843306055016368.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12651843306055016368.key) 03:58:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:28 + git tag --points-at HEAD [Pipeline] } 03:58:29 $ docker exec --env ******** --env ******** 3b6984eb8480e249c9b8ecf7e3bd67924f2997eb07a7a3d9657b77d7e6b9d4d4 ssh-agent -k 03:58:29 unset SSH_AUTH_SOCK; 03:58:29 unset SSH_AGENT_PID; 03:58:29 echo Agent pid 37 killed; 03:58:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:58:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:29 [ssh-agent] Looking for ssh-agent implementation... 03:58:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:29 $ docker exec 3b6984eb8480e249c9b8ecf7e3bd67924f2997eb07a7a3d9657b77d7e6b9d4d4 ssh-agent 03:58:29 SSH_AUTH_SOCK=/tmp/ssh-pbRJF3ByE7UU/agent.69 03:58:29 SSH_AGENT_PID=75 03:58:29 Running ssh-add (command line suppressed) 03:58:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10862421048815908155.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10862421048815908155.key) 03:58:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:29 + git semver init 03:58:30 2023-04-12 03:58:29,951 [run_init] DEBUG init version:0.0.0 force:False 03:58:30 2023-04-12 03:58:29,951 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:58:30 2023-04-12 03:58:29,952 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:58:30 2023-04-12 03:58:29,952 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 03:58:30 2023-04-12 03:58:30,830 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 03:58:30 2023-04-12 03:58:30,830 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 03:58:30 2023-04-12 03:58:30,830 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:58:30 2023-04-12 03:58:30,830 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:58:30 3.0.0-dev.66 [Pipeline] } 03:58:30 $ docker exec --env ******** --env ******** 3b6984eb8480e249c9b8ecf7e3bd67924f2997eb07a7a3d9657b77d7e6b9d4d4 ssh-agent -k 03:58:31 unset SSH_AUTH_SOCK; 03:58:31 unset SSH_AGENT_PID; 03:58:31 echo Agent pid 75 killed; 03:58:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:58:31 + git semver [Pipeline] } 03:58:31 $ docker stop --time=1 3b6984eb8480e249c9b8ecf7e3bd67924f2997eb07a7a3d9657b77d7e6b9d4d4 03:58:32 $ docker rm -f --volumes 3b6984eb8480e249c9b8ecf7e3bd67924f2997eb07a7a3d9657b77d7e6b9d4d4 [Pipeline] // withDockerContainer [Pipeline] sh 03:58:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:58:33 Stashed 1 file(s) [Pipeline] echo 03:58:33 [edgeXSemver]: initialized semver on version 3.0.0-dev.66 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:58:33 provisioning config files... 03:58:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11485992820277404689tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:33 ---> docker-login.sh 03:58:33 nexus3.edgexfoundry.org:10001 03:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:33 Configure a credential helper to remove this warning. See 03:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:33 03:58:33 Login Succeeded 03:58:33 nexus3.edgexfoundry.org:10002 03:58:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:33 Configure a credential helper to remove this warning. See 03:58:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:33 03:58:33 Login Succeeded 03:58:33 nexus3.edgexfoundry.org:10003 03:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:34 Configure a credential helper to remove this warning. See 03:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:34 03:58:34 Login Succeeded 03:58:34 nexus3.edgexfoundry.org:10004 03:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:34 Configure a credential helper to remove this warning. See 03:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:34 03:58:34 Login Succeeded 03:58:34 docker.io 03:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:34 Configure a credential helper to remove this warning. See 03:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:34 03:58:34 Login Succeeded 03:58:34 ---> docker-login.sh ends [Pipeline] } 03:58:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:58:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:58:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:58:34 ========================================================= 03:58:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 03:58:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:34 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 03:58:34 Sending build context to Docker daemon 10.93MB 03:58:34 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 03:58:34 Step 2/10 : FROM ${BASE} AS builder 03:58:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 03:58:34 63b65145d645: Pulling fs layer 03:58:34 a2d21d5440eb: Pulling fs layer 03:58:34 935e6c44a52c: Pulling fs layer 03:58:34 94cc34f8dd06: Pulling fs layer 03:58:34 30dea6a524f1: Pulling fs layer 03:58:34 a2aff8979fd8: Pulling fs layer 03:58:34 94cc34f8dd06: Waiting 03:58:34 a2aff8979fd8: Waiting 03:58:34 6808be2612f2: Pulling fs layer 03:58:34 f25807f1079a: Pulling fs layer 03:58:34 6808be2612f2: Waiting 03:58:34 f25807f1079a: Waiting 03:58:34 30dea6a524f1: Waiting 03:58:34 a2d21d5440eb: Download complete 03:58:35 94cc34f8dd06: Verifying Checksum 03:58:35 94cc34f8dd06: Download complete 03:58:35 30dea6a524f1: Verifying Checksum 03:58:35 30dea6a524f1: Download complete 03:58:35 63b65145d645: Verifying Checksum 03:58:35 63b65145d645: Download complete 03:58:35 a2aff8979fd8: Verifying Checksum 03:58:35 a2aff8979fd8: Download complete 03:58:35 63b65145d645: Pull complete 03:58:35 a2d21d5440eb: Pull complete 03:58:35 f25807f1079a: Verifying Checksum 03:58:35 f25807f1079a: Download complete 03:58:35 935e6c44a52c: Verifying Checksum 03:58:35 935e6c44a52c: Download complete 03:58:35 6808be2612f2: Verifying Checksum 03:58:35 6808be2612f2: Download complete 03:58:39 935e6c44a52c: Pull complete 03:58:39 94cc34f8dd06: Pull complete 03:58:39 30dea6a524f1: Pull complete 03:58:39 a2aff8979fd8: Pull complete 03:58:41 6808be2612f2: Pull complete 03:58:42 f25807f1079a: Pull complete 03:58:42 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 03:58:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 03:58:42 ---> 3b553350e43f 03:58:42 Step 3/10 : ARG MAKE=make build 03:58:47 ---> Running in d414157f3267 03:58:47 Removing intermediate container d414157f3267 03:58:47 ---> ad4b87a3195b 03:58:47 Step 4/10 : WORKDIR /device-sdk-go 03:58:47 ---> Running in 773da97de9ee 03:58:47 Removing intermediate container 773da97de9ee 03:58:47 ---> a735dfa9f319 03:58:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:58:47 ---> Running in f5611fd3dfc6 03:58:47 Removing intermediate container f5611fd3dfc6 03:58:47 ---> bc1bb2274f17 03:58:47 Step 6/10 : RUN apk add --update --no-cache make git 03:58:47 ---> Running in c93dbc4ad1cd 03:58:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 03:58:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 03:58:48 OK: 265 MiB in 53 packages 03:58:48 Still waiting to schedule task 03:58:48 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:58:48 Removing intermediate container c93dbc4ad1cd 03:58:48 ---> 7732b2ba3797 03:58:48 Step 7/10 : COPY go.mod vendor* ./ 03:58:49 ---> d81dbcfe8b29 03:58:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:58:49 ---> Running in 4eae60e2e90a 03:59:15 Removing intermediate container 4eae60e2e90a 03:59:15 ---> b26027e8cb70 03:59:15 Step 9/10 : COPY . . 03:59:15 ---> ff8fd1bcfc96 03:59:15 Step 10/10 : RUN ${MAKE} 03:59:15 ---> Running in 8badc7894b3a 03:59:16 noop 03:59:16 Removing intermediate container 8badc7894b3a 03:59:16 ---> 76f8d8fb4891 03:59:16 Successfully built 76f8d8fb4891 03:59:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:16 + docker inspect -f . ci-base-image-x86_64 03:59:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:16 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 03:59:16 $ 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 03:59:17 $ docker top 909ff133af05596463f1bdea6ec9a4ae36c4a4bb512db87c88d8999c60e111ab -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:17 + go version 03:59:17 go version go1.20.2 linux/amd64 [Pipeline] } 03:59:17 $ docker stop --time=1 909ff133af05596463f1bdea6ec9a4ae36c4a4bb512db87c88d8999c60e111ab 03:59:18 $ docker rm -f --volumes 909ff133af05596463f1bdea6ec9a4ae36c4a4bb512db87c88d8999c60e111ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:19 + docker inspect -f . ci-base-image-x86_64 03:59:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:19 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 03:59:19 $ 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 03:59:20 $ docker top bec0e01c6a623a29dd9da1872c578c3d3729a2b45aa358a9d98b96f0302d552a -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 03:59:20 + make test 03:59:20 go test -race -coverprofile=coverage.out ./... 03:59:28 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 03:59:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 03:59:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 03:59:43 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 03:59:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 03:59:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 03:59:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.063s coverage: 27.6% of statements 03:59:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.080s coverage: 79.9% of statements 03:59:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 03:59:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 03:59:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.073s coverage: 86.0% of statements 03:59:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 03:59:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 03:59:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.093s coverage: 77.5% of statements 03:59:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 03:59:44 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 03:59:45 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 03:59:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.072s coverage: 14.6% of statements 03:59:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.084s coverage: 68.5% of statements 03:59:47 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.120s coverage: 89.2% of statements 03:59:47 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.6% of statements 04:00:09 GO111MODULE=on go vet ./... 04:00:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:00:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:00:12 ./bin/test-attribution-txt.sh [Pipeline] echo 04:00:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:00:12 $ docker stop --time=1 bec0e01c6a623a29dd9da1872c578c3d3729a2b45aa358a9d98b96f0302d552a 04:00:15 $ docker rm -f --volumes bec0e01c6a623a29dd9da1872c578c3d3729a2b45aa358a9d98b96f0302d552a [Pipeline] // withDockerContainer [Pipeline] sh 04:00:16 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:00:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:00:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:00:17 + ls -al . 04:00:17 total 272 04:00:17 drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 03:59 . 04:00:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:58 .. 04:00:17 -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 03:58 .dockerignore 04:00:17 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 03:58 .git 04:00:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 03:58 .github 04:00:17 -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 03:58 .gitignore 04:00:17 -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 03:58 .golangci.yml 04:00:17 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 03:58 .semver 04:00:17 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 12 03:58 CHANGELOG.md 04:00:17 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 03:58 GOVERNANCE.md 04:00:17 -rw-rw-r-- 1 jenkins jenkins 885 Apr 12 03:58 Jenkinsfile 04:00:17 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 03:58 LICENSE 04:00:17 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 12 03:58 Makefile 04:00:17 -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 03:58 OWNERS.md 04:00:17 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 12 03:58 README.md 04:00:17 -rw-rw-r-- 1 jenkins jenkins 12 Apr 12 03:58 VERSION 04:00:17 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 03:58 bin 04:00:17 -rw-r--r-- 1 jenkins jenkins 105788 Apr 12 03:59 coverage.out 04:00:17 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 03:58 example 04:00:17 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 12 03:58 go.mod 04:00:17 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 12 03:58 go.sum 04:00:17 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 03:58 internal 04:00:17 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 03:58 openapi 04:00:17 drwxrwxr-x 6 jenkins jenkins 4096 Apr 12 03:58 pkg 04:00:17 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 03:58 snap 04:00:17 -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 03:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:17 + 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=7cdbeb80806488cc72d5f0c105d21f7b91ebdafb --label arch=amd64 --label version=3.0.0-dev.66 . 04:00:17 Sending build context to Docker daemon 11.04MB 04:00:17 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:00:17 Step 2/23 : FROM ${BASE} AS builder 04:00:17 ---> 76f8d8fb4891 04:00:17 Step 3/23 : ARG MAKE=make build 04:00:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7527 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:00:17 Running in /w/workspace/device-sdk-go/197 [Pipeline] { [Pipeline] checkout 04:00:17 The recommended git tool is: git 04:00:17 ---> Running in f05c4ee88a53 04:00:17 Removing intermediate container f05c4ee88a53 04:00:17 ---> 07248f0a84fe 04:00:17 Step 4/23 : WORKDIR /device-sdk-go 04:00:17 ---> Running in 980866ddd5f0 04:00:17 Removing intermediate container 980866ddd5f0 04:00:17 ---> 35108498dec4 04:00:17 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:00:18 ---> Running in 93da1ad1f623 04:00:18 Removing intermediate container 93da1ad1f623 04:00:18 ---> c8b217873648 04:00:18 Step 6/23 : RUN apk add --update --no-cache make git 04:00:18 ---> Running in 46f7c82b5449 04:00:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:00:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:00:18 OK: 265 MiB in 53 packages 04:00:19 Removing intermediate container 46f7c82b5449 04:00:19 ---> b120fc7b4f28 04:00:19 Step 7/23 : COPY go.mod vendor* ./ 04:00:19 ---> f067cb27913e 04:00:19 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:00:19 ---> Running in 4af4394c37c5 04:00:20 Removing intermediate container 4af4394c37c5 04:00:20 ---> 1a6ad0a0af5b 04:00:20 Step 9/23 : COPY . . 04:00:21 ---> 21d4567e7578 04:00:21 Step 10/23 : RUN ${MAKE} 04:00:21 ---> Running in 905de0695429 04:00:21 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.66" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:00:23 using credential edgex-jenkins-ssh 04:00:23 Cloning the remote Git repository 04:00:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:00:23 > git init /w/workspace/device-sdk-go/197 # timeout=10 04:00:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:00:23 > git --version # timeout=10 04:00:23 > git --version # 'git version 2.25.1' 04:00:23 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:26 Avoid second fetch 04:00:26 Checking out Revision 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb (main) 04:00:25 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:00:25 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:26 > git config core.sparsecheckout # timeout=10 04:00:26 > git checkout -f 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb # timeout=10 04:00:26 Commit message: "Merge pull request #1419 from lenny-intel/secret-provider" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:00:27 % Total % Received % Xferd Average Speed Time Time Time Current 04:00:27 Dload Upload Total Spent Left Speed 04:00:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh 04:00:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:00:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:00:28 + sudo tee /etc/docker/daemon.new 04:00:28 { 04:00:28 "registry-mirrors": [ 04:00:28 "https://nexus3.edgexfoundry.org:10001" 04:00:28 ], 04:00:28 "bip": "10.250.0.254/24", 04:00:28 "hosts": [ 04:00:28 "tcp://0.0.0.0:5555", 04:00:28 "unix:///var/run/docker.sock" 04:00:28 ], 04:00:28 "mtu": 1458, 04:00:28 "selinux-enabled": true, 04:00:28 "seccomp-profile": "/etc/docker/seccomp.json" 04:00:28 } [Pipeline] sh 04:00:28 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:00:29 + sudo service docker restart 04:00:43 Removing intermediate container 905de0695429 04:00:43 ---> cdf6a9c2c50a 04:00:43 Step 11/23 : FROM alpine:3.17 04:00:43 3.17: Pulling from library/alpine 04:00:43 f56be85fc22e: Pulling fs layer 04:00:43 f56be85fc22e: Verifying Checksum 04:00:43 f56be85fc22e: Download complete 04:00:43 f56be85fc22e: Pull complete 04:00:43 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:00:43 Status: Downloaded newer image for alpine:3.17 04:00:43 ---> 9ed4aefc74f6 04:00:43 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:00:43 ---> Running in 959b58f17281 04:00:43 Removing intermediate container 959b58f17281 04:00:43 ---> 3840cd7c81d2 04:00:43 Step 13/23 : RUN apk add --update --no-cache 04:00:43 ---> Running in 168ed42f9a2b 04:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:00:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:00:43 OK: 7 MiB in 15 packages 04:00:43 Removing intermediate container 168ed42f9a2b 04:00:43 ---> b180b975ca9f 04:00:43 Step 14/23 : WORKDIR / 04:00:43 ---> Running in 8e9ab01d14ea 04:00:43 Removing intermediate container 8e9ab01d14ea 04:00:43 ---> c329a52da97b 04:00:43 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:00:44 ---> 41af50c143fc 04:00:44 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:00:44 ---> 0101471826a9 04:00:44 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:00:44 ---> 6dd8247dff56 04:00:44 Step 18/23 : EXPOSE 59999 04:00:44 ---> Running in e2faeb46c963 04:00:44 Removing intermediate container e2faeb46c963 04:00:44 ---> 84ad0f7890ae 04:00:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:00:44 ---> Running in e5ecf0ba8870 04:00:45 Removing intermediate container e5ecf0ba8870 04:00:45 ---> 33c920c35714 04:00:45 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:00:45 ---> Running in 540328a29535 04:00:45 Removing intermediate container 540328a29535 04:00:45 ---> fb4e3edfbe85 04:00:45 Step 21/23 : LABEL arch=amd64 04:00:45 ---> Running in f75eeb73f9c3 04:00:45 Removing intermediate container f75eeb73f9c3 04:00:45 ---> 7a025e603e85 04:00:45 Step 22/23 : LABEL git_sha=7cdbeb80806488cc72d5f0c105d21f7b91ebdafb 04:00:45 ---> Running in 731bc0ef45b9 04:00:45 Removing intermediate container 731bc0ef45b9 04:00:45 ---> 38f3b1c07cab 04:00:45 Step 23/23 : LABEL version=3.0.0-dev.66 04:00:45 ---> Running in 8a4c472973e1 04:00:45 Removing intermediate container 8a4c472973e1 04:00:45 ---> c3e2a9b284e8 04:00:45 [Warning] One or more build-args [ARCH] were not consumed 04:00:45 Successfully built c3e2a9b284e8 04:00:45 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 04:00:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:00:46 04:00:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:00:46 latest: Pulling from edgex-lftools-log-publisher 04:00:46 5eb5b503b376: Pulling fs layer 04:00:46 5c69ac0246d0: Pulling fs layer 04:00:46 ec43610c2a17: Pulling fs layer 04:00:46 3a2ae6a8a46f: Pulling fs layer 04:00:46 33b1e0a273af: Pulling fs layer 04:00:46 5d3b04190fa2: Pulling fs layer 04:00:46 2f39f015ded8: Pulling fs layer 04:00:46 3a2ae6a8a46f: Waiting 04:00:46 33b1e0a273af: Waiting 04:00:46 2f39f015ded8: Waiting 04:00:46 5d3b04190fa2: Waiting 04:00:46 5c69ac0246d0: Verifying Checksum 04:00:46 5c69ac0246d0: Download complete 04:00:46 3a2ae6a8a46f: Download complete 04:00:46 ec43610c2a17: Verifying Checksum 04:00:46 ec43610c2a17: Download complete 04:00:46 33b1e0a273af: Verifying Checksum 04:00:46 33b1e0a273af: Download complete 04:00:46 5d3b04190fa2: Download complete 04:00:46 5eb5b503b376: Download complete 04:00:47 2f39f015ded8: Verifying Checksum 04:00:47 2f39f015ded8: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:00:47 provisioning config files... 04:00:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/197@tmp/config11833481952461022472tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:47 ---> docker-login.sh 04:00:47 nexus3.edgexfoundry.org:10001 04:00:47 5eb5b503b376: Pull complete 04:00:48 5c69ac0246d0: Pull complete 04:00:48 ec43610c2a17: Pull complete 04:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:48 Configure a credential helper to remove this warning. See 04:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:48 04:00:48 Login Succeeded 04:00:48 nexus3.edgexfoundry.org:10002 04:00:48 3a2ae6a8a46f: Pull complete 04:00:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:48 Configure a credential helper to remove this warning. See 04:00:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:48 04:00:48 33b1e0a273af: Pull complete 04:00:48 5d3b04190fa2: Pull complete 04:00:49 Login Succeeded 04:00:49 nexus3.edgexfoundry.org:10003 04:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:49 Configure a credential helper to remove this warning. See 04:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:49 04:00:49 Login Succeeded 04:00:49 nexus3.edgexfoundry.org:10004 04:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:49 Configure a credential helper to remove this warning. See 04:00:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:49 04:00:49 Login Succeeded 04:00:49 docker.io 04:00:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:50 Configure a credential helper to remove this warning. See 04:00:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:50 04:00:50 Login Succeeded 04:00:50 ---> docker-login.sh ends [Pipeline] } 04:00:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:00:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:00:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:00:50 ========================================================= 04:00:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:00:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:50 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 04:00:51 Sending build context to Docker daemon 5.866MB 04:00:51 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:00:51 Step 2/10 : FROM ${BASE} AS builder 04:00:52 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:00:52 af6eaf76a39c: Pulling fs layer 04:00:52 55522c791124: Pulling fs layer 04:00:52 ce5c4a1c91eb: Pulling fs layer 04:00:52 169dfbe0d373: Pulling fs layer 04:00:52 e1ff8fa3b103: Pulling fs layer 04:00:52 52ebb69f0ebf: Pulling fs layer 04:00:52 5abe8eddf0d5: Pulling fs layer 04:00:52 e1ff8fa3b103: Waiting 04:00:52 52ebb69f0ebf: Waiting 04:00:52 169dfbe0d373: Waiting 04:00:52 5abe8eddf0d5: Waiting 04:00:52 55522c791124: Verifying Checksum 04:00:52 55522c791124: Download complete 04:00:52 169dfbe0d373: Download complete 04:00:52 e1ff8fa3b103: Verifying Checksum 04:00:52 e1ff8fa3b103: Download complete 04:00:52 af6eaf76a39c: Download complete 04:00:53 af6eaf76a39c: Pull complete 04:00:53 5abe8eddf0d5: Verifying Checksum 04:00:53 5abe8eddf0d5: Download complete 04:00:53 55522c791124: Pull complete 04:00:54 2f39f015ded8: Pull complete 04:00:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:00:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:00:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:54 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 04:00:54 $ 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 04:00:54 ce5c4a1c91eb: Download complete 04:00:54 52ebb69f0ebf: Verifying Checksum 04:00:54 52ebb69f0ebf: Download complete 04:00:58 $ docker top 6c07b72c3ee4f6f1a556e5ba2e0d754bb06c352d3f10200aa815621e4070e97b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:58 ---> job-cost.sh 04:00:58 lf-activate-venv: SKIPPING 04:00:58 INFO: No Stack... 04:00:58 INFO: Retrieving Pricing Info for: v3-standard-8 04:00:59 INFO: Archiving Costs [Pipeline] sh 04:00:59 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:00:59 + cut -d, -f6 [Pipeline] lock 04:00:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-197-stack-cost] 04:00:59 Resource [jenkins-edgexfoundry-device-sdk-go-main-197-stack-cost] did not exist. Created. 04:00:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-197-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:01:00 + echo total: 0.2199999988079071 [Pipeline] stash 04:01:00 Stashed 1 file(s) [Pipeline] } 04:01:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-197-stack-cost] [Pipeline] // lock [Pipeline] } 04:01:00 $ docker stop --time=1 6c07b72c3ee4f6f1a556e5ba2e0d754bb06c352d3f10200aa815621e4070e97b 04:01:01 $ docker rm -f --volumes 6c07b72c3ee4f6f1a556e5ba2e0d754bb06c352d3f10200aa815621e4070e97b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:01:07 ce5c4a1c91eb: Pull complete 04:01:07 169dfbe0d373: Pull complete 04:01:07 e1ff8fa3b103: Pull complete 04:01:12 52ebb69f0ebf: Pull complete 04:01:15 5abe8eddf0d5: Pull complete 04:01:15 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:01:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:01:15 ---> 6cb57ee374ae 04:01:15 Step 3/10 : ARG MAKE=make build 04:01:16 ---> Running in 4230fbe0d94a 04:01:16 Removing intermediate container 4230fbe0d94a 04:01:16 ---> cbe4a9ce4a14 04:01:16 Step 4/10 : WORKDIR /device-sdk-go 04:01:17 ---> Running in f3eecaf90643 04:01:17 Removing intermediate container f3eecaf90643 04:01:17 ---> b15158b2350c 04:01:17 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:01:17 ---> Running in 121b7a5b9ab3 04:01:18 Removing intermediate container 121b7a5b9ab3 04:01:18 ---> 8be11650f09a 04:01:18 Step 6/10 : RUN apk add --update --no-cache make git 04:01:18 ---> Running in 23ce53e73f7a 04:01:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:01:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:01:21 OK: 263 MiB in 53 packages 04:01:22 Removing intermediate container 23ce53e73f7a 04:01:22 ---> 935feb57844e 04:01:22 Step 7/10 : COPY go.mod vendor* ./ 04:01:22 ---> 64faf0f6e57d 04:01:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:01:22 ---> Running in 0e05059572f9 04:02:30 Removing intermediate container 0e05059572f9 04:02:30 ---> db1a9cb2c14a 04:02:30 Step 9/10 : COPY . . 04:02:30 ---> f67882bc4bc9 04:02:30 Step 10/10 : RUN ${MAKE} 04:02:30 ---> Running in 60d7afdbf523 04:02:30 noop 04:02:30 Removing intermediate container 60d7afdbf523 04:02:30 ---> 6bc602989af8 04:02:30 Successfully built 6bc602989af8 04:02:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:30 + docker inspect -f . ci-base-image-arm64 04:02:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:31 prd-ubuntu20.04-docker-arm64-4c-16g-7527 does not seem to be running inside a container 04:02:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/197 -v /w/workspace/device-sdk-go/197:/w/workspace/device-sdk-go/197:rw,z -v /w/workspace/device-sdk-go/197@tmp:/w/workspace/device-sdk-go/197@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 04:02:32 $ docker top dbba29e6b27eb712fe2a01fd2b8f75533515331bc49fdaee72070cc1b2a6d701 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:33 + go version 04:02:33 go version go1.20.2 linux/arm64 [Pipeline] } 04:02:33 $ docker stop --time=1 dbba29e6b27eb712fe2a01fd2b8f75533515331bc49fdaee72070cc1b2a6d701 04:02:34 $ docker rm -f --volumes dbba29e6b27eb712fe2a01fd2b8f75533515331bc49fdaee72070cc1b2a6d701 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:02:35 + docker inspect -f . ci-base-image-arm64 04:02:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:02:35 prd-ubuntu20.04-docker-arm64-4c-16g-7527 does not seem to be running inside a container 04:02:35 $ 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/197 -v /w/workspace/device-sdk-go/197:/w/workspace/device-sdk-go/197:rw,z -v /w/workspace/device-sdk-go/197@tmp:/w/workspace/device-sdk-go/197@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 04:02:38 $ docker top 834655f132f45b70fd9b95b53db9302d9b51cf74054868ece9154aa54addcf67 -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:38 + git config --global --add safe.directory /w/workspace/device-sdk-go/197 [Pipeline] fileExists [Pipeline] sh 04:02:39 + make test 04:02:39 go test -race -coverprofile=coverage.out ./... 04:03:26 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:05:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:05:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:05:33 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:05:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:05:33 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:05:45 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.434s coverage: 27.6% of statements 04:05:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.554s coverage: 79.9% of statements 04:06:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:06:00 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:06:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.413s coverage: 86.0% of statements 04:06:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:06:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:06:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.479s coverage: 77.5% of statements 04:06:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.295s coverage: 14.6% of statements 04:06:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:06:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:06:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.491s coverage: 68.5% of statements 04:06:13 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.473s coverage: 89.2% of statements 04:06:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:06:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.265s coverage: 5.6% of statements 04:06:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:06:18 GO111MODULE=on go vet ./... 04:09:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:09:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:09:10 ./bin/test-attribution-txt.sh [Pipeline] echo 04:09:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:09:10 $ docker stop --time=1 834655f132f45b70fd9b95b53db9302d9b51cf74054868ece9154aa54addcf67 04:09:12 $ docker rm -f --volumes 834655f132f45b70fd9b95b53db9302d9b51cf74054868ece9154aa54addcf67 [Pipeline] // withDockerContainer [Pipeline] sh 04:09:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:09:13 Warning: overwriting stash ‘coverage-report’ 04:09:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:09:15 + ls -al . 04:09:15 total 268 04:09:15 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 04:02 . 04:09:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 04:00 .. 04:09:15 -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 04:00 .dockerignore 04:09:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 04:00 .git 04:09:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 04:00 .github 04:09:15 -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 04:00 .gitignore 04:09:15 -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 04:00 .golangci.yml 04:09:15 -rw-rw-r-- 1 jenkins jenkins 31677 Apr 12 04:00 CHANGELOG.md 04:09:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 04:00 GOVERNANCE.md 04:09:15 -rw-rw-r-- 1 jenkins jenkins 885 Apr 12 04:00 Jenkinsfile 04:09:15 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 04:00 LICENSE 04:09:15 -rw-rw-r-- 1 jenkins jenkins 1714 Apr 12 04:00 Makefile 04:09:15 -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 04:00 OWNERS.md 04:09:15 -rw-rw-r-- 1 jenkins jenkins 4891 Apr 12 04:00 README.md 04:09:15 -rw-rw-r-- 1 jenkins jenkins 12 Apr 12 03:58 VERSION 04:09:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 04:00 bin 04:09:15 -rw-r--r-- 1 jenkins jenkins 105785 Apr 12 04:06 coverage.out 04:09:15 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 04:00 example 04:09:15 -rw-rw-r-- 1 jenkins jenkins 3246 Apr 12 04:00 go.mod 04:09:15 -rw-rw-r-- 1 jenkins jenkins 31006 Apr 12 04:00 go.sum 04:09:15 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 04:00 internal 04:09:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 04:00 openapi 04:09:15 drwxrwxr-x 6 jenkins jenkins 4096 Apr 12 04:00 pkg 04:09:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 04:00 snap 04:09:15 -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 04:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:15 + 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=7cdbeb80806488cc72d5f0c105d21f7b91ebdafb --label arch=arm64 --label version=3.0.0-dev.66 . 04:09:16 Sending build context to Docker daemon 5.973MB 04:09:16 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:09:16 Step 2/23 : FROM ${BASE} AS builder 04:09:16 ---> 6bc602989af8 04:09:16 Step 3/23 : ARG MAKE=make build 04:09:16 ---> Running in 4751968d76a8 04:09:16 Removing intermediate container 4751968d76a8 04:09:16 ---> e2341492aa0c 04:09:16 Step 4/23 : WORKDIR /device-sdk-go 04:09:16 ---> Running in 973e21524ca1 04:09:17 Removing intermediate container 973e21524ca1 04:09:17 ---> 90a33e1fb52d 04:09:17 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:09:17 ---> Running in b5ec75ca59ed 04:09:17 Removing intermediate container b5ec75ca59ed 04:09:17 ---> be543ca94f3c 04:09:17 Step 6/23 : RUN apk add --update --no-cache make git 04:09:17 ---> Running in 690e73671c07 04:09:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:09:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:09:20 OK: 263 MiB in 53 packages 04:09:22 Removing intermediate container 690e73671c07 04:09:22 ---> 21497bf804a9 04:09:22 Step 7/23 : COPY go.mod vendor* ./ 04:09:22 ---> d4eedc47b953 04:09:22 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:22 ---> Running in d7bde9621b20 04:09:25 Removing intermediate container d7bde9621b20 04:09:25 ---> f01143f19486 04:09:25 Step 9/23 : COPY . . 04:09:27 ---> 74f996227908 04:09:27 Step 10/23 : RUN ${MAKE} 04:09:27 ---> Running in b9d0f3a1a892 04:09:28 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.66" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:11:49 Removing intermediate container b9d0f3a1a892 04:11:49 ---> e0104dd9e60e 04:11:49 Step 11/23 : FROM alpine:3.17 04:11:50 3.17: Pulling from library/alpine 04:11:50 c41833b44d91: Pulling fs layer 04:11:51 c41833b44d91: Verifying Checksum 04:11:51 c41833b44d91: Download complete 04:11:51 c41833b44d91: Pull complete 04:11:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:11:51 Status: Downloaded newer image for alpine:3.17 04:11:51 ---> 51e60588ff2c 04:11:51 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:11:51 ---> Running in 8050a2d05d90 04:11:51 Removing intermediate container 8050a2d05d90 04:11:51 ---> 43badb1648ee 04:11:51 Step 13/23 : RUN apk add --update --no-cache 04:11:51 ---> Running in f9cd43990156 04:11:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:11:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:11:54 OK: 7 MiB in 15 packages 04:11:55 Removing intermediate container f9cd43990156 04:11:55 ---> 267c83c4e992 04:11:55 Step 14/23 : WORKDIR / 04:11:55 ---> Running in 35f689f185e9 04:11:55 Removing intermediate container 35f689f185e9 04:11:55 ---> 3dfde22e2d6a 04:11:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:11:56 ---> a08662abb01c 04:11:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:12:00 ---> ce4fa1cd9026 04:12:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:12:00 ---> d8b66752f04e 04:12:00 Step 18/23 : EXPOSE 59999 04:12:00 ---> Running in eacc5a40b249 04:12:00 Removing intermediate container eacc5a40b249 04:12:00 ---> a803996451f3 04:12:00 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:12:00 ---> Running in 5697d2129bda 04:12:01 Removing intermediate container 5697d2129bda 04:12:01 ---> 1e0f0af0a8c4 04:12:01 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:12:01 ---> Running in 5063422e6416 04:12:01 Removing intermediate container 5063422e6416 04:12:01 ---> ec7aa3784450 04:12:01 Step 21/23 : LABEL arch=arm64 04:12:01 ---> Running in 7503eadf560f 04:12:01 Removing intermediate container 7503eadf560f 04:12:01 ---> 41fecf89abfb 04:12:01 Step 22/23 : LABEL git_sha=7cdbeb80806488cc72d5f0c105d21f7b91ebdafb 04:12:01 ---> Running in 2583748efdd9 04:12:02 Removing intermediate container 2583748efdd9 04:12:02 ---> 0d8dee8b483f 04:12:02 Step 23/23 : LABEL version=3.0.0-dev.66 04:12:02 ---> Running in 8d3fe4b6a467 04:12:02 Removing intermediate container 8d3fe4b6a467 04:12:02 ---> f959dbdfd7e4 04:12:02 [Warning] One or more build-args [ARCH] were not consumed 04:12:02 Successfully built f959dbdfd7e4 04:12:02 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 04:12:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:03 04:12:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:03 arm64: Pulling from edgex-lftools-log-publisher 04:12:03 8998bd30e6a1: Pulling fs layer 04:12:03 04944245beec: Pulling fs layer 04:12:03 699f458cf7ca: Pulling fs layer 04:12:03 765212b225bb: Pulling fs layer 04:12:03 f23df028b6ca: Pulling fs layer 04:12:03 d65c8cfc05b1: Pulling fs layer 04:12:03 2437ff75d9bd: Pulling fs layer 04:12:03 765212b225bb: Waiting 04:12:03 f23df028b6ca: Waiting 04:12:03 d65c8cfc05b1: Waiting 04:12:03 2437ff75d9bd: Waiting 04:12:03 04944245beec: Verifying Checksum 04:12:03 04944245beec: Download complete 04:12:03 765212b225bb: Verifying Checksum 04:12:03 765212b225bb: Download complete 04:12:03 f23df028b6ca: Download complete 04:12:03 d65c8cfc05b1: Verifying Checksum 04:12:03 d65c8cfc05b1: Download complete 04:12:03 699f458cf7ca: Verifying Checksum 04:12:03 699f458cf7ca: Download complete 04:12:04 8998bd30e6a1: Verifying Checksum 04:12:04 8998bd30e6a1: Download complete 04:12:06 2437ff75d9bd: Verifying Checksum 04:12:06 2437ff75d9bd: Download complete 04:12:08 8998bd30e6a1: Pull complete 04:12:08 04944245beec: Pull complete 04:12:09 699f458cf7ca: Pull complete 04:12:09 765212b225bb: Pull complete 04:12:12 f23df028b6ca: Pull complete 04:12:12 d65c8cfc05b1: Pull complete 04:12:27 2437ff75d9bd: Pull complete 04:12:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:12:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:27 prd-ubuntu20.04-docker-arm64-4c-16g-7527 does not seem to be running inside a container 04:12:27 $ 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/197 -v /w/workspace/device-sdk-go/197:/w/workspace/device-sdk-go/197:rw,z -v /w/workspace/device-sdk-go/197@tmp:/w/workspace/device-sdk-go/197@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 04:12:30 $ docker top 73b9787a461da895fdd92590bf6220d5d8c615b2a0280bbb7896b6f428cff250 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:31 ---> job-cost.sh 04:12:31 lf-activate-venv: SKIPPING 04:12:31 INFO: No Stack... 04:12:31 INFO: Retrieving Pricing Info for: v3-standard-4 04:12:32 INFO: Archiving Costs [Pipeline] sh 04:12:33 + cat /w/workspace/device-sdk-go/197/archives/cost.csv 04:12:33 + cut -d, -f6 [Pipeline] lock 04:12:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-197-stack-cost] 04:12:33 Resource [jenkins-edgexfoundry-device-sdk-go-main-197-stack-cost] did not exist. Created. 04:12:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-197-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:12:33 /w/workspace/device-sdk-go/197@tmp/durable-9329daae/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:12:34 + echo total: 0.10999999940395355 [Pipeline] stash 04:12:34 Warning: overwriting stash ‘stack-cost’ 04:12:34 Stashed 1 file(s) [Pipeline] } 04:12:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-197-stack-cost] [Pipeline] // lock [Pipeline] } 04:12:34 $ docker stop --time=1 73b9787a461da895fdd92590bf6220d5d8c615b2a0280bbb7896b6f428cff250 04:12:36 $ docker rm -f --volumes 73b9787a461da895fdd92590bf6220d5d8c615b2a0280bbb7896b6f428cff250 [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 04:12:36 provisioning config files... 04:12:36 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5731305692523767428tmp [Pipeline] { [Pipeline] sh 04:12:36 + set +x 04:12:36 + + curl -s https://codecov.io/bash 04:12:36 bash -s -- 04:12:36 04:12:36 _____ _ 04:12:36 / ____| | | 04:12:36 | | ___ __| | ___ ___ _____ __ 04:12:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:12:36 | |___| (_) | (_| | __/ (_| (_) \ V / 04:12:36 \_____\___/ \__,_|\___|\___\___/ \_/ 04:12:36 Bash-1.0.6 04:12:36 04:12:36 04:12:36 ==> git version 2.25.1 found 04:12:36 ==> 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 04:12:36 Release-Date: 2020-01-08 04:12:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:12:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:12:36 ==> Jenkins CI detected. 04:12:36 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:12:36 project root: . 04:12:36 --> token set from env 04:12:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:12:36 ==> Running gcov in . (disable via -X gcov) 04:12:36 ==> Python coveragepy not found 04:12:36 ==> Searching for coverage reports in: 04:12:36 + . 04:12:36 -> Found 1 reports 04:12:36 ==> Detecting git/mercurial file structure 04:12:36 ==> Reading reports 04:12:36 + ./coverage.out bytes=105785 04:12:36 ==> Appending adjustments 04:12:36 https://docs.codecov.io/docs/fixing-reports 04:12:37 + Found adjustments 04:12:37 ==> Gzipping contents 04:12:37 16K /tmp/codecov.0r00In.gz 04:12:37 ==> Uploading reports 04:12:37 url: https://codecov.io 04:12:37 query: branch=main&commit=7cdbeb80806488cc72d5f0c105d21f7b91ebdafb&build=197&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F197%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:12:37 -> Pinging Codecov 04:12:37 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=7cdbeb80806488cc72d5f0c105d21f7b91ebdafb&build=197&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F197%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:12:37 -> Uploading to 04:12:37 https://storage.googleapis.com/codecov/v4/raw/2023-04-12/7E55EF52A471D76F132DFD9A03CDDE97/7cdbeb80806488cc72d5f0c105d21f7b91ebdafb/e84f4671-c4fb-4adb-8397-01f4380f82ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230412T041237Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8cda08beb0afddd30c0184d72b724a3e9990102367c6a4125a717bc1cf2b848c 04:12:37 % Total % Received % Xferd Average Speed Time Time Time Current 04:12:37 Dload Upload Total Spent Left Speed 04:12:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14927 0 0 100 14927 0 43902 --:--:-- --:--:-- --:--:-- 43902 04:12:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7cdbeb80806488cc72d5f0c105d21f7b91ebdafb [Pipeline] } 04:12:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:12:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:12:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:12:37 04:12:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:12:38 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:12:38 df9b9388f04a: Pulling fs layer 04:12:38 52dc419b0ee2: Pulling fs layer 04:12:38 25bc292e5bac: Pulling fs layer 04:12:38 114826534d7a: Pulling fs layer 04:12:38 4657fd5d0bcf: Pulling fs layer 04:12:38 6ad1cebc031e: Pulling fs layer 04:12:38 8a3aa393b2d8: Pulling fs layer 04:12:38 4657fd5d0bcf: Waiting 04:12:38 6ad1cebc031e: Waiting 04:12:38 8a3aa393b2d8: Waiting 04:12:38 114826534d7a: Waiting 04:12:38 25bc292e5bac: Verifying Checksum 04:12:38 25bc292e5bac: Download complete 04:12:38 52dc419b0ee2: Verifying Checksum 04:12:38 52dc419b0ee2: Download complete 04:12:38 4657fd5d0bcf: Verifying Checksum 04:12:38 4657fd5d0bcf: Download complete 04:12:38 df9b9388f04a: Verifying Checksum 04:12:38 df9b9388f04a: Download complete 04:12:38 6ad1cebc031e: Verifying Checksum 04:12:38 6ad1cebc031e: Download complete 04:12:38 df9b9388f04a: Pull complete 04:12:38 52dc419b0ee2: Pull complete 04:12:38 25bc292e5bac: Pull complete 04:12:39 114826534d7a: Verifying Checksum 04:12:39 114826534d7a: Download complete 04:12:39 8a3aa393b2d8: Verifying Checksum 04:12:39 8a3aa393b2d8: Download complete 04:12:43 114826534d7a: Pull complete 04:12:43 4657fd5d0bcf: Pull complete 04:12:43 6ad1cebc031e: Pull complete 04:12:45 8a3aa393b2d8: Pull complete 04:12:45 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:12:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:12:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:45 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 04:12:45 $ 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 04:12:48 $ docker top 1972d3d1eb9490effbf388b4a0799015e384a7de54a5ca5d073e35b041639faa -eo pid,comm [Pipeline] { [Pipeline] echo 04:12:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:12:48 + set -o pipefail 04:12:48 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:12:52 04:12:52 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 04:12:52 04:12:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a345fe14-95ff-4ebe-a15d-ee0ebe980099 04:12:52 04:12:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:12:52 04:12:52 04:12:52 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:12:52 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:12:52 More details here: https://snyk.co/ue1NS 04:12:52 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 04:12:52 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:12:52 $ docker stop --time=1 1972d3d1eb9490effbf388b4a0799015e384a7de54a5ca5d073e35b041639faa 04:12:55 $ docker rm -f --volumes 1972d3d1eb9490effbf388b4a0799015e384a7de54a5ca5d073e35b041639faa [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 04:12:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:12:55 provisioning config files... 04:12:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1149044688989358151tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:55 --> edgex-publish-swagger.sh 04:12:55 === Publish openapi/v3 API === 04:12:55 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 04:12:55 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 04:12:55 % Total % Received % Xferd Average Speed Time Time Time Current 04:12:55 Dload Upload Total Spent Left Speed 04:12:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23674 0 0 100 23674 0 36254 --:--:-- --:--:-- --:--:-- 36254 100 23674 0 0 100 23674 0 36254 --:--:-- --:--:-- --:--:-- 36198 04:12:56 04:12:56 [Pipeline] } 04:12:56 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 04:12:56 + git log --format=format:%s -1 7cdbeb80806488cc72d5f0c105d21f7b91ebdafb [Pipeline] sh 04:12:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:12:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:12:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:57 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 04:12:57 $ 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 04:12:57 $ docker top 06ad40ee3ff178fefb3405e9812660113dd632cecad57bd617eae89fd35cf09b -eo pid,comm 04:12:57 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). 04:12:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:12:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:12:57 [ssh-agent] Looking for ssh-agent implementation... 04:12:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:12:57 $ docker exec 06ad40ee3ff178fefb3405e9812660113dd632cecad57bd617eae89fd35cf09b ssh-agent 04:12:58 SSH_AUTH_SOCK=/tmp/ssh-Liy7oqjK6R0v/agent.32 04:12:58 SSH_AGENT_PID=38 04:12:58 Running ssh-add (command line suppressed) 04:12:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14258026598203131049.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14258026598203131049.key) 04:12:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:12:58 + git semver tag 04:12:58 2023-04-12 04:12:58,701 [run_tag] DEBUG tag force:False 04:12:58 2023-04-12 04:12:58,701 [check_head_tag] DEBUG check head tag 04:12:58 2023-04-12 04:12:58,703 [execute] INFO git cat-file --batch-check 04:12:58 2023-04-12 04:12:58,703 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:12:58 2023-04-12 04:12:58,707 [execute] INFO git cat-file --batch 04:12:58 2023-04-12 04:12:58,707 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:12:58 2023-04-12 04:12:58,745 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:12:58 2023-04-12 04:12:58,745 [execute] INFO git tag -a v3.0.0-dev.66 -m v3.0.0-dev.66 04:12:58 2023-04-12 04:12:58,745 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.66', '-m', 'v3.0.0-dev.66'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:12:58 2023-04-12 04:12:58,750 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:12:58 3.0.0-dev.66 [Pipeline] } 04:12:58 $ docker exec --env ******** --env ******** 06ad40ee3ff178fefb3405e9812660113dd632cecad57bd617eae89fd35cf09b ssh-agent -k 04:12:58 unset SSH_AUTH_SOCK; 04:12:58 unset SSH_AGENT_PID; 04:12:58 echo Agent pid 38 killed; 04:12:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:12:59 + git semver [Pipeline] } 04:12:59 $ docker stop --time=1 06ad40ee3ff178fefb3405e9812660113dd632cecad57bd617eae89fd35cf09b 04:13:00 $ docker rm -f --volumes 06ad40ee3ff178fefb3405e9812660113dd632cecad57bd617eae89fd35cf09b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:13:01 04:13:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:13:01 0.23.1-centos7: Pulling from edgex-lftools 04:13:01 ab5ef0e58194: Pulling fs layer 04:13:01 9712f1f96733: Pulling fs layer 04:13:01 63f879dbbcfc: Pulling fs layer 04:13:01 0d9ebad4ef96: Pulling fs layer 04:13:01 e9a5061849ea: Pulling fs layer 04:13:01 d747dcd14b5f: Pulling fs layer 04:13:01 2de7ff778b66: Pulling fs layer 04:13:01 0d9ebad4ef96: Waiting 04:13:01 e9a5061849ea: Waiting 04:13:01 d747dcd14b5f: Waiting 04:13:01 9712f1f96733: Download complete 04:13:01 63f879dbbcfc: Verifying Checksum 04:13:01 63f879dbbcfc: Download complete 04:13:01 e9a5061849ea: Verifying Checksum 04:13:01 e9a5061849ea: Download complete 04:13:01 d747dcd14b5f: Download complete 04:13:02 0d9ebad4ef96: Verifying Checksum 04:13:02 0d9ebad4ef96: Download complete 04:13:02 2de7ff778b66: Verifying Checksum 04:13:02 2de7ff778b66: Download complete 04:13:02 ab5ef0e58194: Verifying Checksum 04:13:02 ab5ef0e58194: Download complete 04:13:05 ab5ef0e58194: Pull complete 04:13:05 9712f1f96733: Pull complete 04:13:05 63f879dbbcfc: Pull complete 04:13:09 0d9ebad4ef96: Pull complete 04:13:09 e9a5061849ea: Pull complete 04:13:09 d747dcd14b5f: Pull complete 04:13:10 2de7ff778b66: Pull complete 04:13:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:13:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:13:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:10 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 04:13:10 $ 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 04:13:13 $ docker top dcc3f3c84a70c3b96fd83181f897c563db7cb977eb3c2233affcfcde9d0fd8ed -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:13:13 provisioning config files... 04:13:13 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16212832353863708937tmp 04:13:13 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config874201126222121457tmp 04:13:13 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3176014671455913546tmp [Pipeline] { [Pipeline] echo 04:13:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:13:13 ---> sigul-configuration.sh 04:13:13 gpg: directory `/root/.gnupg' created 04:13:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:13:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:13:13 gpg: keyring `/root/.gnupg/secring.gpg' created 04:13:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:13:13 gpg: CAST5 encrypted data 04:13:13 gpg: encrypted with 1 passphrase 04:13:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:13:13 + mkdir /home/jenkins 04:13:13 + mkdir /home/jenkins/sigul [Pipeline] sh 04:13:14 + 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 04:13:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:13:14 ---> sigul-install.sh 04:13:14 Sigul already installed; skipping installation. [Pipeline] sh 04:13:14 + git tag --list 04:13:14 0.7.1 04:13:14 delhi-tag 04:13:14 v1.0.0 04:13:14 v1.1.0 04:13:14 v1.1.1 04:13:14 v1.1.2 04:13:14 v1.2.0 04:13:14 v1.2.1 04:13:14 v1.2.2 04:13:14 v1.2.3 04:13:14 v1.3.0 04:13:14 v1.4.0 04:13:14 v2.0.0 04:13:14 v2.1.0 04:13:14 v2.1.1 04:13:14 v2.1.1-dev.2 04:13:14 v2.1.1-dev.3 04:13:14 v2.2.0 04:13:14 v2.2.1-dev.1 04:13:14 v2.2.1-dev.10 04:13:14 v2.2.1-dev.11 04:13:14 v2.2.1-dev.12 04:13:14 v2.2.1-dev.13 04:13:14 v2.2.1-dev.14 04:13:14 v2.2.1-dev.2 04:13:14 v2.2.1-dev.3 04:13:14 v2.2.1-dev.4 04:13:14 v2.2.1-dev.5 04:13:14 v2.2.1-dev.6 04:13:14 v2.2.1-dev.7 04:13:14 v2.2.1-dev.8 04:13:14 v2.2.1-dev.9 04:13:14 v2.3.0 04:13:14 v2.3.0-dev.14 04:13:14 v2.3.0-dev.15 04:13:14 v2.3.0-dev.16 04:13:14 v2.3.0-dev.17 04:13:14 v2.3.0-dev.18 04:13:14 v2.3.0-dev.19 04:13:14 v2.3.0-dev.20 04:13:14 v2.3.0-dev.21 04:13:14 v2.3.0-dev.22 04:13:14 v2.3.0-dev.23 04:13:14 v2.3.0-dev.24 04:13:14 v2.3.0-dev.25 04:13:14 v2.3.0-dev.26 04:13:14 v2.3.0-dev.27 04:13:14 v2.3.0-dev.28 04:13:14 v2.3.0-dev.29 04:13:14 v2.3.0-dev.30 04:13:14 v2.3.0-dev.31 04:13:14 v2.3.0-dev.32 04:13:14 v2.3.0-dev.33 04:13:14 v2.3.0-dev.34 04:13:14 v2.3.0-dev.35 04:13:14 v2.3.0-dev.36 04:13:14 v2.3.0-dev.37 04:13:14 v2.3.0-dev.38 04:13:14 v2.3.0-dev.39 04:13:14 v2.3.0-dev.40 04:13:14 v2.3.0-dev.41 04:13:14 v2.3.0-dev.42 04:13:14 v2.3.0-dev.43 04:13:14 v2.3.0-dev.44 04:13:14 v2.3.0-dev.45 04:13:14 v2.3.0-dev.46 04:13:14 v2.3.0-dev.47 04:13:14 v2.3.0-dev.48 04:13:14 v2.3.0-dev.49 04:13:14 v2.3.0-dev.50 04:13:14 v2.3.0-dev.51 04:13:14 v2.3.1 04:13:14 v2.3.1-dev.1 04:13:14 v2.3.1-dev.2 04:13:14 v2.3.1-dev.3 04:13:14 v2.3.1-dev.4 04:13:14 v3.0.0-dev.1 04:13:14 v3.0.0-dev.10 04:13:14 v3.0.0-dev.11 04:13:14 v3.0.0-dev.12 04:13:14 v3.0.0-dev.13 04:13:14 v3.0.0-dev.14 04:13:14 v3.0.0-dev.15 04:13:14 v3.0.0-dev.16 04:13:14 v3.0.0-dev.17 04:13:14 v3.0.0-dev.18 04:13:14 v3.0.0-dev.19 04:13:14 v3.0.0-dev.2 04:13:14 v3.0.0-dev.20 04:13:14 v3.0.0-dev.21 04:13:14 v3.0.0-dev.22 04:13:14 v3.0.0-dev.23 04:13:14 v3.0.0-dev.24 04:13:14 v3.0.0-dev.25 04:13:14 v3.0.0-dev.26 04:13:14 v3.0.0-dev.27 04:13:14 v3.0.0-dev.28 04:13:14 v3.0.0-dev.29 04:13:14 v3.0.0-dev.3 04:13:14 v3.0.0-dev.30 04:13:14 v3.0.0-dev.31 04:13:14 v3.0.0-dev.32 04:13:14 v3.0.0-dev.33 04:13:14 v3.0.0-dev.34 04:13:14 v3.0.0-dev.35 04:13:14 v3.0.0-dev.36 04:13:14 v3.0.0-dev.37 04:13:14 v3.0.0-dev.38 04:13:14 v3.0.0-dev.39 04:13:14 v3.0.0-dev.4 04:13:14 v3.0.0-dev.40 04:13:14 v3.0.0-dev.41 04:13:14 v3.0.0-dev.42 04:13:14 v3.0.0-dev.43 04:13:14 v3.0.0-dev.44 04:13:14 v3.0.0-dev.45 04:13:14 v3.0.0-dev.46 04:13:14 v3.0.0-dev.47 04:13:14 v3.0.0-dev.48 04:13:14 v3.0.0-dev.49 04:13:14 v3.0.0-dev.5 04:13:14 v3.0.0-dev.50 04:13:14 v3.0.0-dev.51 04:13:14 v3.0.0-dev.52 04:13:14 v3.0.0-dev.53 04:13:14 v3.0.0-dev.54 04:13:14 v3.0.0-dev.55 04:13:14 v3.0.0-dev.56 04:13:14 v3.0.0-dev.57 04:13:14 v3.0.0-dev.58 04:13:14 v3.0.0-dev.59 04:13:14 v3.0.0-dev.6 04:13:14 v3.0.0-dev.60 04:13:14 v3.0.0-dev.61 04:13:14 v3.0.0-dev.62 04:13:14 v3.0.0-dev.63 04:13:14 v3.0.0-dev.64 04:13:14 v3.0.0-dev.65 04:13:14 v3.0.0-dev.66 04:13:14 v3.0.0-dev.7 04:13:14 v3.0.0-dev.8 04:13:14 v3.0.0-dev.9 [Pipeline] sh 04:13:15 + lftools sign git-tag v3.0.0-dev.66 04:13:15 Signing Git tag with Sigul... 04:13:15 Signing v3.0.0-dev.66 [Pipeline] echo 04:13:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:13:16 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:13:16 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:13:16 $ docker stop --time=1 dcc3f3c84a70c3b96fd83181f897c563db7cb977eb3c2233affcfcde9d0fd8ed 04:13:17 $ docker rm -f --volumes dcc3f3c84a70c3b96fd83181f897c563db7cb977eb3c2233affcfcde9d0fd8ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:13:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:13:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:13:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:18 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 04:13:18 $ 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 04:13:19 $ docker top 05e15cc6c2340a9ff8843aacfb9007b68ab50bc6a87c51bd74baed18fb86d1d5 -eo pid,comm 04:13:19 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). 04:13:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:13:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:13:19 [ssh-agent] Looking for ssh-agent implementation... 04:13:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:13:19 $ docker exec 05e15cc6c2340a9ff8843aacfb9007b68ab50bc6a87c51bd74baed18fb86d1d5 ssh-agent 04:13:19 SSH_AUTH_SOCK=/tmp/ssh-5mnecWXydGZ8/agent.31 04:13:19 SSH_AGENT_PID=37 04:13:19 Running ssh-add (command line suppressed) 04:13:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3589503500217533262.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3589503500217533262.key) 04:13:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:13:19 + git semver bump pre 04:13:20 2023-04-12 04:13:19,986 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:13:20 2023-04-12 04:13:19,986 [bump_version] DEBUG bumping version:3.0.0-dev.66 on axis:pre with prefix:dev 04:13:20 2023-04-12 04:13:19,986 [bump_version] DEBUG bumped version:3.0.0-dev.67 04:13:20 2023-04-12 04:13:19,986 [write_version] DEBUG write version:3.0.0-dev.67 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:13:20 2023-04-12 04:13:19,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:13:20 2023-04-12 04:13:19,987 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:13:20 2023-04-12 04:13:19,989 [execute] INFO git cat-file --batch-check 04:13:20 2023-04-12 04:13:19,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:13:20 2023-04-12 04:13:19,996 [execute] INFO git cat-file --batch 04:13:20 2023-04-12 04:13:19,996 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:13:20 2023-04-12 04:13:20,001 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:13:20 3.0.0-dev.67 [Pipeline] } 04:13:20 $ docker exec --env ******** --env ******** 05e15cc6c2340a9ff8843aacfb9007b68ab50bc6a87c51bd74baed18fb86d1d5 ssh-agent -k 04:13:20 unset SSH_AUTH_SOCK; 04:13:20 unset SSH_AGENT_PID; 04:13:20 echo Agent pid 37 killed; 04:13:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:13:20 + git semver [Pipeline] } 04:13:20 $ docker stop --time=1 05e15cc6c2340a9ff8843aacfb9007b68ab50bc6a87c51bd74baed18fb86d1d5 04:13:22 $ docker rm -f --volumes 05e15cc6c2340a9ff8843aacfb9007b68ab50bc6a87c51bd74baed18fb86d1d5 [Pipeline] // withDockerContainer [Pipeline] sh 04:13:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:13:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:13:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:22 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 04:13:22 $ 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 04:13:23 $ docker top d77a7fdbf6dcf906aae2eee722adf56b53f35f4642410a97e63f261fc797e058 -eo pid,comm 04:13:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:13:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:13:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:13:23 [ssh-agent] Looking for ssh-agent implementation... 04:13:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:13:23 $ docker exec d77a7fdbf6dcf906aae2eee722adf56b53f35f4642410a97e63f261fc797e058 ssh-agent 04:13:23 SSH_AUTH_SOCK=/tmp/ssh-XMsxq2ndAQy5/agent.32 04:13:23 SSH_AGENT_PID=38 04:13:23 Running ssh-add (command line suppressed) 04:13:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4289392600027179981.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4289392600027179981.key) 04:13:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:13:23 + git semver push 04:13:24 2023-04-12 04:13:24,080 [run_push] DEBUG push 04:13:24 2023-04-12 04:13:24,081 [execute] INFO git cat-file --batch-check 04:13:24 2023-04-12 04:13:24,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:13:24 2023-04-12 04:13:24,085 [execute] INFO git rev-list a8aa8ef35e1fe862a8c47e9d5abff0814474338c -- 04:13:24 2023-04-12 04:13:24,086 [execute] DEBUG Popen(['git', 'rev-list', 'a8aa8ef35e1fe862a8c47e9d5abff0814474338c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:13:24 2023-04-12 04:13:24,098 [execute] INFO git fetch -v origin 04:13:24 2023-04-12 04:13:24,098 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:13:24 2023-04-12 04:13:24,553 [run_push] DEBUG no remote changes detected 04:13:24 2023-04-12 04:13:24,553 [execute] INFO git push origin semver 04:13:24 2023-04-12 04:13:24,554 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:13:25 2023-04-12 04:13:25,320 [run_push] DEBUG push all version tags 04:13:25 2023-04-12 04:13:25,320 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:13:25 2023-04-12 04:13:25,321 [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) 04:13:26 2023-04-12 04:13:26,203 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:13:26 3.0.0-dev.67 [Pipeline] } 04:13:26 $ docker exec --env ******** --env ******** d77a7fdbf6dcf906aae2eee722adf56b53f35f4642410a97e63f261fc797e058 ssh-agent -k 04:13:26 unset SSH_AUTH_SOCK; 04:13:26 unset SSH_AGENT_PID; 04:13:26 echo Agent pid 38 killed; 04:13:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:13:26 + git semver [Pipeline] } 04:13:27 $ docker stop --time=1 d77a7fdbf6dcf906aae2eee722adf56b53f35f4642410a97e63f261fc797e058 04:13:28 $ docker rm -f --volumes d77a7fdbf6dcf906aae2eee722adf56b53f35f4642410a97e63f261fc797e058 [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 04:13:28 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:13:28 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:13:28 total 16 04:13:28 drwxr-xr-x 3 root root 4096 Apr 12 04:00 . 04:13:28 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 04:13 .. 04:13:28 drwxr-xr-x 2 root root 4096 Apr 12 04:00 cost 04:13:28 -rw-r--r-- 1 root root 85 Apr 12 04:00 cost.csv 04:13:28 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:13:28 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:13:28 total 16 04:13:28 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 04:00 . 04:13:28 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 04:13 .. 04:13:28 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 04:00 cost 04:13:28 -rw-r--r-- 1 jenkins jenkins 85 Apr 12 04:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:13:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:13:30 ---> package-listing.sh 04:13:30 ++ facter osfamily 04:13:30 ++ tr '[:upper:]' '[:lower:]' 04:13:30 + OS_FAMILY=debian 04:13:30 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:13:30 + START_PACKAGES=/tmp/packages_start.txt 04:13:30 + END_PACKAGES=/tmp/packages_end.txt 04:13:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:13:30 + PACKAGES=/tmp/packages_start.txt 04:13:30 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:13:30 + PACKAGES=/tmp/packages_end.txt 04:13:30 + case "${OS_FAMILY}" in 04:13:30 + dpkg -l 04:13:30 + grep '^ii' 04:13:30 + '[' -f /tmp/packages_start.txt ']' 04:13:30 + '[' -f /tmp/packages_end.txt ']' 04:13:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:13:30 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:13:30 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:13:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:13:30 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 04:13:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:31 prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container 04:13:31 $ 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 04:13:31 $ docker top 9eb6af743c51f9914c50e45c4708d33457fbd7af330c67d0d7232e2be5b8fce5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:31 + touch /tmp/pre-build-complete [Pipeline] sh 04:13:32 + mkdir -p /var/log/sysstat [Pipeline] sh 04:13:32 + ls /var/log/sa-host 04:13:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:32 provisioning config files... 04:13:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13670654200427665212tmp [Pipeline] { [Pipeline] echo 04:13:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:13:32 ---> create-netrc.sh [Pipeline] } 04:13:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:13:33 ---> python-tools-install.sh [Pipeline] echo 04:13:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:13:33 ---> sudo-logs.sh 04:13:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:13:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:13:33 ---> job-cost.sh 04:13:33 lf-activate-venv: SKIPPING 04:13:33 DEBUG: total: 0.2199999988079071 04:13:33 INFO: Retrieving Stack Cost... 04:13:34 INFO: Retrieving Pricing Info for: v3-standard-8 04:13:34 INFO: Archiving Costs [Pipeline] echo 04:13:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:13:35 ---> logs-deploy.sh 04:13:35 lf-activate-venv: SKIPPING 04:13:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/197 04:13:35 INFO: archiving workspace using pattern(s): 04:13:35 Archives upload complete. 04:13:35 INFO: archiving logs to Nexus