Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 84b3eaa6b9d9b6bc9df706aeb119f986429132ec 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-ssh2378287612336448248.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11207334159781844805.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11158717496031753954.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8583330108975196502.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-ssh6513330672727471414.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9674 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 84b3eaa6b9d9b6bc9df706aeb119f986429132ec (main) Commit message: "feat: Consume watch for common Writable config changes (#1372)" > 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 84b3eaa6b9d9b6bc9df706aeb119f986429132ec # timeout=10 > git rev-list --no-walk e5f9ace8858ef16ed7fd9fdcaf664427cc73e288 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:51:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:51:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:51:36 ========================================================= 20:51:36 EdgeX Global Pipelines Version Info 20:51:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:51:37 ------------------- 20:51:37 stable info: 20:51:37 ------------------- 20:51:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:51:37 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:51:37 Message: update stable to v1.0.244 20:51:37 ------------------- 20:51:37 experimental info: 20:51:37 ------------------- 20:51:37 Commited By: **** collab-it+edgex@linuxfoundation.org 20:51:37 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:51:37 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 84b3eaa6b9d9b6bc9df706aeb119f986429132ec [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 84b3eaa [Pipeline] echo 20:51:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:51:38 provisioning config files... 20:51:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5837470161069864199tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:38 ---> docker-login.sh 20:51:38 nexus3.edgexfoundry.org:10001 20:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:39 Configure a credential helper to remove this warning. See 20:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:39 20:51:39 Login Succeeded 20:51:39 nexus3.edgexfoundry.org:10002 20:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:39 Configure a credential helper to remove this warning. See 20:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:39 20:51:39 Login Succeeded 20:51:39 nexus3.edgexfoundry.org:10003 20:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:39 Configure a credential helper to remove this warning. See 20:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:39 20:51:39 Login Succeeded 20:51:39 nexus3.edgexfoundry.org:10004 20:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:39 Configure a credential helper to remove this warning. See 20:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:39 20:51:39 Login Succeeded 20:51:39 docker.io 20:51:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:39 Configure a credential helper to remove this warning. See 20:51:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:39 20:51:39 Login Succeeded 20:51:39 ---> docker-login.sh ends [Pipeline] } 20:51:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:51:40 + git rev-list -1 --merges 84b3eaa6b9d9b6bc9df706aeb119f986429132ec~1..84b3eaa6b9d9b6bc9df706aeb119f986429132ec [Pipeline] echo 20:51:40 -----------> git rev-list -1 --merges 84b3eaa6b9d9b6bc9df706aeb119f986429132ec~1..84b3eaa6b9d9b6bc9df706aeb119f986429132ec 84b3eaa6b9d9b6bc9df706aeb119f986429132ec [false] [Pipeline] sh 20:51:40 + git log --format=format:%s -1 84b3eaa6b9d9b6bc9df706aeb119f986429132ec [Pipeline] echo 20:51:40 ========================================================= 20:51:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:51:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:51:40 + git log --format=format:%s -1 84b3eaa6b9d9b6bc9df706aeb119f986429132ec [Pipeline] echo 20:51:41 [semverPrep] GIT_COMMIT: 84b3eaa6b9d9b6bc9df706aeb119f986429132ec, Commit Message: feat: Consume watch for common Writable config changes (#1372) [Pipeline] echo 20:51:41 [semverPrep] This is not a build commit. [Pipeline] sh 20:51:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:51:41 + grep -v github /etc/ssh/ssh_known_hosts 20:51:41 + [ -e /tmp/ssh_known_hosts ] 20:51:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:51:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:51:41 + sudo tee -a /etc/ssh/ssh_known_hosts 20:51:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:51:41 20:51:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:51:42 0.1.4: Pulling from edgex-devops/py-git-semver 20:51:42 b85a868b505f: Pulling fs layer 20:51:42 e2be974225ed: Pulling fs layer 20:51:42 339a4e72a1f5: Pulling fs layer 20:51:42 988bab9f4d93: Pulling fs layer 20:51:42 1469e6f7b9e6: Pulling fs layer 20:51:42 eaf3925da568: Pulling fs layer 20:51:42 bab4dde63d76: Pulling fs layer 20:51:42 bde34c3a00c8: Pulling fs layer 20:51:42 b352a97aabf1: Pulling fs layer 20:51:42 4872d77fe225: Pulling fs layer 20:51:42 5851b861e8e6: Pulling fs layer 20:51:42 bab4dde63d76: Waiting 20:51:42 bde34c3a00c8: Waiting 20:51:42 b352a97aabf1: Waiting 20:51:42 4872d77fe225: Waiting 20:51:42 5851b861e8e6: Waiting 20:51:42 988bab9f4d93: Waiting 20:51:42 1469e6f7b9e6: Waiting 20:51:42 eaf3925da568: Waiting 20:51:42 e2be974225ed: Verifying Checksum 20:51:42 e2be974225ed: Download complete 20:51:42 988bab9f4d93: Verifying Checksum 20:51:42 988bab9f4d93: Download complete 20:51:42 1469e6f7b9e6: Verifying Checksum 20:51:42 1469e6f7b9e6: Download complete 20:51:42 eaf3925da568: Verifying Checksum 20:51:42 eaf3925da568: Download complete 20:51:42 339a4e72a1f5: Verifying Checksum 20:51:42 339a4e72a1f5: Download complete 20:51:42 b352a97aabf1: Download complete 20:51:42 4872d77fe225: Verifying Checksum 20:51:42 4872d77fe225: Download complete 20:51:42 5851b861e8e6: Verifying Checksum 20:51:42 5851b861e8e6: Download complete 20:51:42 b85a868b505f: Verifying Checksum 20:51:42 b85a868b505f: Download complete 20:51:42 bab4dde63d76: Verifying Checksum 20:51:42 bab4dde63d76: Download complete 20:51:43 b85a868b505f: Pull complete 20:51:43 e2be974225ed: Pull complete 20:51:44 339a4e72a1f5: Pull complete 20:51:44 988bab9f4d93: Pull complete 20:51:44 1469e6f7b9e6: Pull complete 20:51:44 eaf3925da568: Pull complete 20:51:46 bab4dde63d76: Pull complete 20:51:46 bde34c3a00c8: Pull complete 20:51:46 b352a97aabf1: Pull complete 20:51:46 4872d77fe225: Pull complete 20:51:46 5851b861e8e6: Pull complete 20:51:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:51:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:51:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:51:46 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 20:51:46 $ 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 20:51:48 $ docker top eb04f39827b0007f5a88f75743f8d495f199c7bfc2aab22012b91f988f466585 -eo pid,comm 20:51:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:51:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:51:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:51:48 [ssh-agent] Looking for ssh-agent implementation... 20:51:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:51:48 $ docker exec eb04f39827b0007f5a88f75743f8d495f199c7bfc2aab22012b91f988f466585 ssh-agent 20:51:48 SSH_AUTH_SOCK=/tmp/ssh-NkJTmxXX4F8U/agent.32 20:51:48 SSH_AGENT_PID=38 20:51:48 Running ssh-add (command line suppressed) 20:51:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13669918034564811305.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13669918034564811305.key) 20:51:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:51:48 + git tag --points-at HEAD [Pipeline] } 20:51:48 $ docker exec --env ******** --env ******** eb04f39827b0007f5a88f75743f8d495f199c7bfc2aab22012b91f988f466585 ssh-agent -k 20:51:48 unset SSH_AUTH_SOCK; 20:51:48 unset SSH_AGENT_PID; 20:51:48 echo Agent pid 38 killed; 20:51:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:51:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:51:48 [ssh-agent] Looking for ssh-agent implementation... 20:51:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:51:49 $ docker exec eb04f39827b0007f5a88f75743f8d495f199c7bfc2aab22012b91f988f466585 ssh-agent 20:51:49 SSH_AUTH_SOCK=/tmp/ssh-VfSuV6Aqq5wj/agent.71 20:51:49 SSH_AGENT_PID=77 20:51:49 Running ssh-add (command line suppressed) 20:51:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12306311399931698900.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12306311399931698900.key) 20:51:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:51:49 + git semver init 20:51:49 2023-03-10 20:51:49,779 [run_init] DEBUG init version:0.0.0 force:False 20:51:49 2023-03-10 20:51:49,780 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:51:49 2023-03-10 20:51:49,781 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 20:51:49 2023-03-10 20:51:49,781 [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) 20:51:50 2023-03-10 20:51:50,573 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 20:51:50 2023-03-10 20:51:50,574 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 20:51:50 2023-03-10 20:51:50,574 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:51:50 2023-03-10 20:51:50,575 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 20:51:50 3.0.0-dev.50 [Pipeline] } 20:51:50 $ docker exec --env ******** --env ******** eb04f39827b0007f5a88f75743f8d495f199c7bfc2aab22012b91f988f466585 ssh-agent -k 20:51:50 unset SSH_AUTH_SOCK; 20:51:50 unset SSH_AGENT_PID; 20:51:50 echo Agent pid 77 killed; 20:51:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:51:51 + git semver [Pipeline] } 20:51:51 $ docker stop --time=1 eb04f39827b0007f5a88f75743f8d495f199c7bfc2aab22012b91f988f466585 20:51:52 $ docker rm -f --volumes eb04f39827b0007f5a88f75743f8d495f199c7bfc2aab22012b91f988f466585 [Pipeline] // withDockerContainer [Pipeline] sh 20:51:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:51:53 Stashed 1 file(s) [Pipeline] echo 20:51:53 [edgeXSemver]: initialized semver on version 3.0.0-dev.50 [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 20:51:53 provisioning config files... 20:51:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8447326155845264819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:51:53 ---> docker-login.sh 20:51:53 nexus3.edgexfoundry.org:10001 20:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:53 Configure a credential helper to remove this warning. See 20:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:53 20:51:53 Login Succeeded 20:51:53 nexus3.edgexfoundry.org:10002 20:51:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:53 Configure a credential helper to remove this warning. See 20:51:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:53 20:51:53 Login Succeeded 20:51:53 nexus3.edgexfoundry.org:10003 20:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:54 Configure a credential helper to remove this warning. See 20:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:54 20:51:54 Login Succeeded 20:51:54 nexus3.edgexfoundry.org:10004 20:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:54 Configure a credential helper to remove this warning. See 20:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:54 20:51:54 Login Succeeded 20:51:54 docker.io 20:51:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:51:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:51:54 Configure a credential helper to remove this warning. See 20:51:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:51:54 20:51:54 Login Succeeded 20:51:54 ---> docker-login.sh ends [Pipeline] } 20:51:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:51:54 ========================================================= 20:51:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:51:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:54 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:51:54 Sending build context to Docker daemon 10.73MB 20:51:54 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:51:54 Step 2/10 : FROM ${BASE} AS builder 20:51:54 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:51:54 213ec9aee27d: Pulling fs layer 20:51:54 4583459ba037: Pulling fs layer 20:51:54 93c1e223e6f2: Pulling fs layer 20:51:54 53926ce57604: Pulling fs layer 20:51:54 21b2b0c7a3f4: Pulling fs layer 20:51:54 22ff95d597cd: Pulling fs layer 20:51:54 12d6caf4c0d1: Pulling fs layer 20:51:54 96b7cbca73a9: Pulling fs layer 20:51:54 a7acece74701: Pulling fs layer 20:51:54 22ff95d597cd: Waiting 20:51:54 12d6caf4c0d1: Waiting 20:51:54 96b7cbca73a9: Waiting 20:51:54 a7acece74701: Waiting 20:51:54 21b2b0c7a3f4: Waiting 20:51:54 53926ce57604: Waiting 20:51:54 93c1e223e6f2: Download complete 20:51:54 4583459ba037: Verifying Checksum 20:51:54 4583459ba037: Download complete 20:51:55 21b2b0c7a3f4: Verifying Checksum 20:51:55 21b2b0c7a3f4: Download complete 20:51:55 22ff95d597cd: Verifying Checksum 20:51:55 22ff95d597cd: Download complete 20:51:55 213ec9aee27d: Verifying Checksum 20:51:55 213ec9aee27d: Download complete 20:51:55 12d6caf4c0d1: Verifying Checksum 20:51:55 12d6caf4c0d1: Download complete 20:51:55 213ec9aee27d: Pull complete 20:51:55 4583459ba037: Pull complete 20:51:55 93c1e223e6f2: Pull complete 20:51:55 a7acece74701: Verifying Checksum 20:51:55 a7acece74701: Download complete 20:51:55 53926ce57604: Verifying Checksum 20:51:55 53926ce57604: Download complete 20:51:55 96b7cbca73a9: Verifying Checksum 20:51:55 96b7cbca73a9: Download complete 20:52:00 53926ce57604: Pull complete 20:52:00 21b2b0c7a3f4: Pull complete 20:52:00 22ff95d597cd: Pull complete 20:52:00 12d6caf4c0d1: Pull complete 20:52:01 96b7cbca73a9: Pull complete 20:52:02 a7acece74701: Pull complete 20:52:02 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:52:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:52:02 ---> db6d94c90886 20:52:02 Step 3/10 : ARG MAKE=make build 20:52:04 ---> Running in 9cc4d0054d83 20:52:04 Removing intermediate container 9cc4d0054d83 20:52:04 ---> 686783b5f5bc 20:52:04 Step 4/10 : WORKDIR /device-sdk-go 20:52:04 ---> Running in dfe34a536c5c 20:52:04 Removing intermediate container dfe34a536c5c 20:52:04 ---> ee39ef633adb 20:52:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:52:04 ---> Running in 256e378625cd 20:52:04 Removing intermediate container 256e378625cd 20:52:04 ---> 9e2fc99e3eac 20:52:04 Step 6/10 : RUN apk add --update --no-cache make git 20:52:04 ---> Running in 57e9d51066df 20:52:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:52:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:52:05 OK: 211 MiB in 51 packages 20:52:05 Removing intermediate container 57e9d51066df 20:52:05 ---> 575aecc50fd0 20:52:05 Step 7/10 : COPY go.mod vendor* ./ 20:52:05 ---> 48f14f6a2177 20:52:05 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:52:05 ---> Running in 1a7bd73ef0d0 20:52:08 Still waiting to schedule task 20:52:08 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:52:33 Removing intermediate container 1a7bd73ef0d0 20:52:33 ---> dd62fc2ed21e 20:52:33 Step 9/10 : COPY . . 20:52:33 ---> c381a24973f4 20:52:33 Step 10/10 : RUN ${MAKE} 20:52:33 ---> Running in 9eb5124cf13d 20:52:33 noop 20:52:33 Removing intermediate container 9eb5124cf13d 20:52:33 ---> 33bc727e559a 20:52:33 Successfully built 33bc727e559a 20:52:33 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:33 + docker inspect -f . ci-base-image-x86_64 20:52:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:33 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 20:52:33 $ 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 20:52:34 $ docker top 60251a40987d367a3bb73886616614f629e58a83b3728ba6ad6ba5eaa944ac21 -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:34 + go version 20:52:34 go version go1.18.7 linux/amd64 [Pipeline] } 20:52:34 $ docker stop --time=1 60251a40987d367a3bb73886616614f629e58a83b3728ba6ad6ba5eaa944ac21 20:52:35 $ docker rm -f --volumes 60251a40987d367a3bb73886616614f629e58a83b3728ba6ad6ba5eaa944ac21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:52:36 + docker inspect -f . ci-base-image-x86_64 20:52:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:52:36 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 20:52:36 $ 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 20:52:36 $ docker top 499c63f15b59510d2457a5bc2e457391aab4154debc4fa16a4134a7cc110095c -eo pid,comm [Pipeline] { [Pipeline] sh 20:52:36 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 20:52:37 + make test 20:52:37 go test -race -coverprofile=coverage.out ./... 20:52:43 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 20:52:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 20:52:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 20:52:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 20:52:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 20:52:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 20:52:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements 20:52:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.083s coverage: 78.9% of statements 20:52:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.119s coverage: 86.0% of statements 20:52:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 20:52:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 20:52:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 75.4% of statements 20:52:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 20:52:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.074s coverage: 15.3% of statements 20:52:59 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 20:52:59 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.107s coverage: 65.2% of statements 20:52:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 20:52:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 20:52:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.776s coverage: 89.2% of statements 20:52:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.070s coverage: 5.5% of statements 20:52:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 20:53:14 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:53:14 GO111MODULE=on go vet ./... 20:53:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:53:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:53:18 ./bin/test-attribution-txt.sh [Pipeline] echo 20:53:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:53:18 $ docker stop --time=1 499c63f15b59510d2457a5bc2e457391aab4154debc4fa16a4134a7cc110095c 20:53:20 $ docker rm -f --volumes 499c63f15b59510d2457a5bc2e457391aab4154debc4fa16a4134a7cc110095c [Pipeline] // withDockerContainer [Pipeline] sh 20:53:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:53:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:53:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:53:21 + ls -al . 20:53:21 total 280 20:53:21 drwxrwxr-x 11 jenkins jenkins 4096 Mar 10 20:52 . 20:53:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 20:51 .. 20:53:21 -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 20:51 .dockerignore 20:53:21 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 20:53 .git 20:53:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 20:51 .github 20:53:21 -rw-rw-r-- 1 jenkins jenkins 131 Mar 10 20:51 .gitignore 20:53:21 -rw-rw-r-- 1 jenkins jenkins 42 Mar 10 20:51 .golangci.yml 20:53:21 drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 20:51 .semver 20:53:21 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 10 20:51 CHANGELOG.md 20:53:21 -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 20:51 GOVERNANCE.md 20:53:21 -rw-rw-r-- 1 jenkins jenkins 885 Mar 10 20:51 Jenkinsfile 20:53:21 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 10 20:51 LICENSE 20:53:21 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 10 20:51 Makefile 20:53:21 -rw-rw-r-- 1 jenkins jenkins 619 Mar 10 20:51 OWNERS.md 20:53:21 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 10 20:51 README.md 20:53:21 -rw-rw-r-- 1 jenkins jenkins 12 Mar 10 20:51 VERSION 20:53:21 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 20:51 bin 20:53:21 -rw-r--r-- 1 jenkins jenkins 111316 Mar 10 20:52 coverage.out 20:53:21 drwxrwxr-x 5 jenkins jenkins 4096 Mar 10 20:51 example 20:53:21 -rw-rw-r-- 1 jenkins jenkins 3278 Mar 10 20:51 go.mod 20:53:21 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 10 20:51 go.sum 20:53:21 drwxrwxr-x 12 jenkins jenkins 4096 Mar 10 20:51 internal 20:53:21 drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 20:51 openapi 20:53:21 drwxrwxr-x 6 jenkins jenkins 4096 Mar 10 20:51 pkg 20:53:21 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 20:51 snap 20:53:21 -rw-rw-r-- 1 jenkins jenkins 222 Mar 10 20:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:21 + 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=84b3eaa6b9d9b6bc9df706aeb119f986429132ec --label arch=amd64 --label version=3.0.0-dev.50 . 20:53:21 Sending build context to Docker daemon 10.84MB 20:53:21 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 20:53:21 Step 2/23 : FROM ${BASE} AS builder 20:53:21 ---> 33bc727e559a 20:53:21 Step 3/23 : ARG MAKE=make build 20:53:21 ---> Running in 162f70cf59f4 20:53:21 Removing intermediate container 162f70cf59f4 20:53:21 ---> 9ec574effeba 20:53:21 Step 4/23 : WORKDIR /device-sdk-go 20:53:21 ---> Running in 5c76bf2952ad 20:53:21 Removing intermediate container 5c76bf2952ad 20:53:21 ---> b10f03e64ecf 20:53:21 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:53:21 ---> Running in 2f54c03f8c41 20:53:21 Removing intermediate container 2f54c03f8c41 20:53:21 ---> 5d4b255b1971 20:53:21 Step 6/23 : RUN apk add --update --no-cache make git 20:53:21 ---> Running in 25a6924fea09 20:53:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:53:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:53:22 OK: 211 MiB in 51 packages 20:53:23 Removing intermediate container 25a6924fea09 20:53:23 ---> b8662da8b58b 20:53:23 Step 7/23 : COPY go.mod vendor* ./ 20:53:23 ---> 0bc8924846b6 20:53:23 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:23 ---> Running in d5474a695ce1 20:53:24 Removing intermediate container d5474a695ce1 20:53:24 ---> 0409d972f97a 20:53:24 Step 9/23 : COPY . . 20:53:24 ---> 527e18974266 20:53:24 Step 10/23 : RUN ${MAKE} 20:53:24 ---> Running in e2328bf19b45 20:53:24 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.50" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:53:42 Removing intermediate container e2328bf19b45 20:53:42 ---> 233a17ed47f7 20:53:42 Step 11/23 : FROM alpine:3.16 20:53:42 3.16: Pulling from library/alpine 20:53:42 ef5531b6e74e: Pulling fs layer 20:53:42 ef5531b6e74e: Verifying Checksum 20:53:42 ef5531b6e74e: Download complete 20:53:42 ef5531b6e74e: Pull complete 20:53:42 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 20:53:42 Status: Downloaded newer image for alpine:3.16 20:53:42 ---> dfd21b5a31f5 20:53:42 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:53:42 ---> Running in 1844f48e2f4c 20:53:42 Removing intermediate container 1844f48e2f4c 20:53:42 ---> 518b54db1965 20:53:42 Step 13/23 : RUN apk add --update --no-cache 20:53:42 ---> Running in 2e3c09291fbb 20:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:53:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:53:42 OK: 6 MiB in 14 packages 20:53:43 Removing intermediate container 2e3c09291fbb 20:53:43 ---> e224245706db 20:53:43 Step 14/23 : WORKDIR / 20:53:43 ---> Running in ad7e0d4a3fad 20:53:43 Removing intermediate container ad7e0d4a3fad 20:53:43 ---> 7503ac2a26dd 20:53:43 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:53:43 ---> 5ef5e9af2ec8 20:53:43 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:53:43 ---> 9b1b01be33c2 20:53:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:53:43 ---> 5f3b91eaf362 20:53:43 Step 18/23 : EXPOSE 59999 20:53:43 ---> Running in 1b97973e8610 20:53:43 Removing intermediate container 1b97973e8610 20:53:43 ---> 3d004bc18cf3 20:53:43 Step 19/23 : ENTRYPOINT ["/device-simple"] 20:53:43 ---> Running in d26af38265e1 20:53:44 Removing intermediate container d26af38265e1 20:53:44 ---> 003e73577519 20:53:44 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 20:53:44 ---> Running in 4a7e06a5ad3a 20:53:44 Removing intermediate container 4a7e06a5ad3a 20:53:44 ---> 6e2f184def30 20:53:44 Step 21/23 : LABEL arch=amd64 20:53:44 ---> Running in 0dc512991390 20:53:44 Removing intermediate container 0dc512991390 20:53:44 ---> 90a19686e3d0 20:53:44 Step 22/23 : LABEL git_sha=84b3eaa6b9d9b6bc9df706aeb119f986429132ec 20:53:44 ---> Running in 23bae6c91d0a 20:53:44 Removing intermediate container 23bae6c91d0a 20:53:44 ---> 0499b63211d1 20:53:44 Step 23/23 : LABEL version=3.0.0-dev.50 20:53:44 ---> Running in 752f4238147f 20:53:44 Removing intermediate container 752f4238147f 20:53:44 ---> 415d2a9df940 20:53:44 [Warning] One or more build-args [ARCH] were not consumed 20:53:44 Successfully built 415d2a9df940 20:53:44 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 20:53:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:44 20:53:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:53:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:45 latest: Pulling from edgex-lftools-log-publisher 20:53:45 5eb5b503b376: Pulling fs layer 20:53:45 5c69ac0246d0: Pulling fs layer 20:53:45 ec43610c2a17: Pulling fs layer 20:53:45 3a2ae6a8a46f: Pulling fs layer 20:53:45 33b1e0a273af: Pulling fs layer 20:53:45 5d3b04190fa2: Pulling fs layer 20:53:45 2f39f015ded8: Pulling fs layer 20:53:45 5d3b04190fa2: Waiting 20:53:45 33b1e0a273af: Waiting 20:53:45 2f39f015ded8: Waiting 20:53:45 3a2ae6a8a46f: Waiting 20:53:45 5c69ac0246d0: Download complete 20:53:45 3a2ae6a8a46f: Verifying Checksum 20:53:45 3a2ae6a8a46f: Download complete 20:53:45 33b1e0a273af: Verifying Checksum 20:53:45 33b1e0a273af: Download complete 20:53:45 ec43610c2a17: Verifying Checksum 20:53:45 ec43610c2a17: Download complete 20:53:45 5d3b04190fa2: Verifying Checksum 20:53:45 5d3b04190fa2: Download complete 20:53:45 5eb5b503b376: Verifying Checksum 20:53:45 5eb5b503b376: Download complete 20:53:45 2f39f015ded8: Download complete 20:53:46 5eb5b503b376: Pull complete 20:53:46 5c69ac0246d0: Pull complete 20:53:47 ec43610c2a17: Pull complete 20:53:47 3a2ae6a8a46f: Pull complete 20:53:47 33b1e0a273af: Pull complete 20:53:47 5d3b04190fa2: Pull complete 20:53:51 2f39f015ded8: Pull complete 20:53:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:53:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:53:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:53:51 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 20:53:51 $ 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 20:53:52 $ docker top fbd23e389a26adfb88e6905f6182108f95bbceba230c1437da036c035153e6b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:53 ---> job-cost.sh 20:53:53 lf-activate-venv: SKIPPING 20:53:53 INFO: No Stack... 20:53:53 INFO: Retrieving Pricing Info for: v3-standard-8 20:53:53 INFO: Archiving Costs [Pipeline] sh 20:53:54 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 20:53:54 + cut -d, -f6 [Pipeline] lock 20:53:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-180-stack-cost] 20:53:54 Resource [jenkins-edgexfoundry-device-sdk-go-main-180-stack-cost] did not exist. Created. 20:53:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:53:54 + echo total: 0.2199999988079071 [Pipeline] stash 20:53:54 Stashed 1 file(s) [Pipeline] } 20:53:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } 20:53:54 $ docker stop --time=1 fbd23e389a26adfb88e6905f6182108f95bbceba230c1437da036c035153e6b5 20:53:55 $ docker rm -f --volumes fbd23e389a26adfb88e6905f6182108f95bbceba230c1437da036c035153e6b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:54:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9677 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 20:54:58 Running in /w/workspace/device-sdk-go/180 [Pipeline] { [Pipeline] checkout 20:54:59 The recommended git tool is: git 20:55:05 using credential edgex-jenkins-ssh 20:55:05 Cloning the remote Git repository 20:55:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:55:06 > git init /w/workspace/device-sdk-go/180 # timeout=10 20:55:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:55:06 > git --version # timeout=10 20:55:06 > git --version # 'git version 2.25.1' 20:55:06 using GIT_SSH to set credentials SSH Credentials for GitHub 20:55:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:09 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:55:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:55:10 Avoid second fetch 20:55:10 Checking out Revision 84b3eaa6b9d9b6bc9df706aeb119f986429132ec (main) 20:55:10 > git config core.sparsecheckout # timeout=10 20:55:10 > git checkout -f 84b3eaa6b9d9b6bc9df706aeb119f986429132ec # timeout=10 20:55:10 Commit message: "feat: Consume watch for common Writable config changes (#1372)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:55:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:55:12 % Total % Received % Xferd Average Speed Time Time Time Current 20:55:12 Dload Upload Total Spent Left Speed 20:55:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh 20:55:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:55:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:55:13 + sudo tee /etc/docker/daemon.new 20:55:13 { 20:55:13 "registry-mirrors": [ 20:55:13 "https://nexus3.edgexfoundry.org:10001" 20:55:13 ], 20:55:13 "bip": "10.250.0.254/24", 20:55:13 "hosts": [ 20:55:13 "tcp://0.0.0.0:5555", 20:55:13 "unix:///var/run/docker.sock" 20:55:13 ], 20:55:13 "mtu": 1458, 20:55:13 "selinux-enabled": true, 20:55:13 "seccomp-profile": "/etc/docker/seccomp.json" 20:55:13 } [Pipeline] sh 20:55:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:55:14 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:32 provisioning config files... 20:55:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/180@tmp/config15776738742728274243tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:33 ---> docker-login.sh 20:55:33 nexus3.edgexfoundry.org:10001 20:55:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:33 Configure a credential helper to remove this warning. See 20:55:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:33 20:55:33 Login Succeeded 20:55:33 nexus3.edgexfoundry.org:10002 20:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:34 Configure a credential helper to remove this warning. See 20:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:34 20:55:34 Login Succeeded 20:55:34 nexus3.edgexfoundry.org:10003 20:55:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:34 Configure a credential helper to remove this warning. See 20:55:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:34 20:55:34 Login Succeeded 20:55:34 nexus3.edgexfoundry.org:10004 20:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:35 Configure a credential helper to remove this warning. See 20:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:35 20:55:35 Login Succeeded 20:55:35 docker.io 20:55:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:35 Configure a credential helper to remove this warning. See 20:55:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:35 20:55:35 Login Succeeded 20:55:35 ---> docker-login.sh ends [Pipeline] } 20:55:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:55:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:36 ========================================================= 20:55:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:55:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:36 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:55:36 Sending build context to Docker daemon 5.755MB 20:55:37 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 20:55:37 Step 2/10 : FROM ${BASE} AS builder 20:55:37 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:55:37 9b18e9b68314: Pulling fs layer 20:55:37 35d82f9e3411: Pulling fs layer 20:55:37 e16973657156: Pulling fs layer 20:55:37 fc693d55d65f: Pulling fs layer 20:55:37 7e9fc2657dce: Pulling fs layer 20:55:37 dda99020689f: Pulling fs layer 20:55:37 fc693d55d65f: Waiting 20:55:37 7e9fc2657dce: Waiting 20:55:37 db1c61fa0a46: Pulling fs layer 20:55:37 891c053d2c06: Pulling fs layer 20:55:37 dda99020689f: Waiting 20:55:37 db1c61fa0a46: Waiting 20:55:37 891c053d2c06: Waiting 20:55:37 e16973657156: Download complete 20:55:37 35d82f9e3411: Download complete 20:55:37 7e9fc2657dce: Download complete 20:55:37 dda99020689f: Verifying Checksum 20:55:37 dda99020689f: Download complete 20:55:37 9b18e9b68314: Verifying Checksum 20:55:37 9b18e9b68314: Download complete 20:55:38 9b18e9b68314: Pull complete 20:55:38 891c053d2c06: Verifying Checksum 20:55:38 891c053d2c06: Download complete 20:55:38 35d82f9e3411: Pull complete 20:55:39 e16973657156: Pull complete 20:55:39 db1c61fa0a46: Verifying Checksum 20:55:39 db1c61fa0a46: Download complete 20:55:40 fc693d55d65f: Verifying Checksum 20:55:40 fc693d55d65f: Download complete 20:55:52 fc693d55d65f: Pull complete 20:55:52 7e9fc2657dce: Pull complete 20:55:52 dda99020689f: Pull complete 20:55:59 db1c61fa0a46: Pull complete 20:56:00 891c053d2c06: Pull complete 20:56:00 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:56:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:56:00 ---> f96f9c87975a 20:56:00 Step 3/10 : ARG MAKE=make build 20:56:02 ---> Running in e2ad6ea3aaa1 20:56:03 Removing intermediate container e2ad6ea3aaa1 20:56:03 ---> 3e9afa68b40c 20:56:03 Step 4/10 : WORKDIR /device-sdk-go 20:56:03 ---> Running in ba9321b674d3 20:56:03 Removing intermediate container ba9321b674d3 20:56:03 ---> 2c04fdd463b6 20:56:03 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:56:03 ---> Running in 44ab981f2358 20:56:04 Removing intermediate container 44ab981f2358 20:56:04 ---> eca96a361cc8 20:56:04 Step 6/10 : RUN apk add --update --no-cache make git 20:56:04 ---> Running in 8088c750fff2 20:56:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:56:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:56:07 OK: 221 MiB in 51 packages 20:56:08 Removing intermediate container 8088c750fff2 20:56:08 ---> 46a2ca3c1234 20:56:08 Step 7/10 : COPY go.mod vendor* ./ 20:56:08 ---> c1930cadd43b 20:56:08 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:56:08 ---> Running in 02d1d3c62b4b 20:57:30 Removing intermediate container 02d1d3c62b4b 20:57:30 ---> 7d3c401348fb 20:57:30 Step 9/10 : COPY . . 20:57:30 ---> 4432ebe5d105 20:57:30 Step 10/10 : RUN ${MAKE} 20:57:30 ---> Running in 384d9a781468 20:57:30 noop 20:57:30 Removing intermediate container 384d9a781468 20:57:30 ---> 0cbb962ab8ae 20:57:30 Successfully built 0cbb962ab8ae 20:57:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:31 + docker inspect -f . ci-base-image-arm64 20:57:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:31 prd-ubuntu20.04-docker-arm64-4c-16g-9677 does not seem to be running inside a container 20:57:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/180 -v /w/workspace/device-sdk-go/180:/w/workspace/device-sdk-go/180:rw,z -v /w/workspace/device-sdk-go/180@tmp:/w/workspace/device-sdk-go/180@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 20:57:32 $ docker top 9fe9dd8db7cdc4b83215a8bf18b6a2eb9406ccd942c896525901383c7d5d2e7b -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:33 + go version 20:57:33 go version go1.18.7 linux/arm64 [Pipeline] } 20:57:33 $ docker stop --time=1 9fe9dd8db7cdc4b83215a8bf18b6a2eb9406ccd942c896525901383c7d5d2e7b 20:57:35 $ docker rm -f --volumes 9fe9dd8db7cdc4b83215a8bf18b6a2eb9406ccd942c896525901383c7d5d2e7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:57:36 + docker inspect -f . ci-base-image-arm64 20:57:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:57:36 prd-ubuntu20.04-docker-arm64-4c-16g-9677 does not seem to be running inside a container 20:57:36 $ 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/180 -v /w/workspace/device-sdk-go/180:/w/workspace/device-sdk-go/180:rw,z -v /w/workspace/device-sdk-go/180@tmp:/w/workspace/device-sdk-go/180@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 20:57:37 $ docker top 536ea50d376809939e3151128e6882e8cc904256f23fae6f0777984dcbf4ec71 -eo pid,comm [Pipeline] { [Pipeline] sh 20:57:38 + git config --global --add safe.directory /w/workspace/device-sdk-go/180 [Pipeline] fileExists [Pipeline] sh 20:57:39 + make test 20:57:39 go test -race -coverprofile=coverage.out ./... 20:58:26 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 21:00:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 21:00:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 21:00:47 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 21:00:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 21:00:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 21:00:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.257s coverage: 27.6% of statements 21:00:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.294s coverage: 78.9% of statements 21:00:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.441s coverage: 86.0% of statements 21:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 21:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 21:00:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.721s coverage: 75.4% of statements 21:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 21:00:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.358s coverage: 15.3% of statements 21:00:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 21:00:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.527s coverage: 65.2% of statements 21:00:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 21:00:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 21:01:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.442s coverage: 89.2% of statements 21:01:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.297s coverage: 5.5% of statements 21:01:01 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 21:01:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:01:02 GO111MODULE=on go vet ./... 21:02:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:02:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:02:39 ./bin/test-attribution-txt.sh [Pipeline] echo 21:02:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:02:40 $ docker stop --time=1 536ea50d376809939e3151128e6882e8cc904256f23fae6f0777984dcbf4ec71 21:02:41 $ docker rm -f --volumes 536ea50d376809939e3151128e6882e8cc904256f23fae6f0777984dcbf4ec71 [Pipeline] // withDockerContainer [Pipeline] sh 21:02:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:02:43 Warning: overwriting stash ‘coverage-report’ 21:02:44 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:02:44 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:02:44 + ls -al . 21:02:44 total 276 21:02:44 drwxrwxr-x 10 jenkins jenkins 4096 Mar 10 20:57 . 21:02:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 20:55 .. 21:02:44 -rw-rw-r-- 1 jenkins jenkins 140 Mar 10 20:55 .dockerignore 21:02:44 drwxrwxr-x 8 jenkins jenkins 4096 Mar 10 20:55 .git 21:02:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 20:55 .github 21:02:44 -rw-rw-r-- 1 jenkins jenkins 131 Mar 10 20:55 .gitignore 21:02:44 -rw-rw-r-- 1 jenkins jenkins 42 Mar 10 20:55 .golangci.yml 21:02:44 -rw-rw-r-- 1 jenkins jenkins 31677 Mar 10 20:55 CHANGELOG.md 21:02:44 -rw-rw-r-- 1 jenkins jenkins 677 Mar 10 20:55 GOVERNANCE.md 21:02:44 -rw-rw-r-- 1 jenkins jenkins 885 Mar 10 20:55 Jenkinsfile 21:02:44 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 10 20:55 LICENSE 21:02:44 -rw-rw-r-- 1 jenkins jenkins 1679 Mar 10 20:55 Makefile 21:02:44 -rw-rw-r-- 1 jenkins jenkins 619 Mar 10 20:55 OWNERS.md 21:02:44 -rw-rw-r-- 1 jenkins jenkins 4891 Mar 10 20:55 README.md 21:02:44 -rw-rw-r-- 1 jenkins jenkins 12 Mar 10 20:51 VERSION 21:02:44 drwxrwxr-x 2 jenkins jenkins 4096 Mar 10 20:55 bin 21:02:44 -rw-r--r-- 1 jenkins jenkins 111316 Mar 10 21:01 coverage.out 21:02:44 drwxrwxr-x 5 jenkins jenkins 4096 Mar 10 20:55 example 21:02:44 -rw-rw-r-- 1 jenkins jenkins 3278 Mar 10 20:55 go.mod 21:02:44 -rw-rw-r-- 1 jenkins jenkins 30839 Mar 10 20:55 go.sum 21:02:44 drwxrwxr-x 12 jenkins jenkins 4096 Mar 10 20:55 internal 21:02:44 drwxrwxr-x 3 jenkins jenkins 4096 Mar 10 20:55 openapi 21:02:44 drwxrwxr-x 6 jenkins jenkins 4096 Mar 10 20:55 pkg 21:02:44 drwxrwxr-x 4 jenkins jenkins 4096 Mar 10 20:55 snap 21:02:44 -rw-rw-r-- 1 jenkins jenkins 222 Mar 10 20:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:02:45 + 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=84b3eaa6b9d9b6bc9df706aeb119f986429132ec --label arch=arm64 --label version=3.0.0-dev.50 . 21:02:45 Sending build context to Docker daemon 5.868MB 21:02:45 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 21:02:45 Step 2/23 : FROM ${BASE} AS builder 21:02:45 ---> 0cbb962ab8ae 21:02:45 Step 3/23 : ARG MAKE=make build 21:02:45 ---> Running in 33a5b2812c96 21:02:46 Removing intermediate container 33a5b2812c96 21:02:46 ---> 1564b244c6ac 21:02:46 Step 4/23 : WORKDIR /device-sdk-go 21:02:46 ---> Running in f1027a4aa601 21:02:46 Removing intermediate container f1027a4aa601 21:02:46 ---> 4137c5cdede8 21:02:46 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:02:46 ---> Running in 1d81232b5c05 21:02:47 Removing intermediate container 1d81232b5c05 21:02:47 ---> 836303f0b3aa 21:02:47 Step 6/23 : RUN apk add --update --no-cache make git 21:02:47 ---> Running in 25cf4469beb3 21:02:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:02:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:02:49 OK: 221 MiB in 51 packages 21:02:50 Removing intermediate container 25cf4469beb3 21:02:50 ---> 3af0f8859f2a 21:02:50 Step 7/23 : COPY go.mod vendor* ./ 21:02:51 ---> d7296fff0721 21:02:51 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:51 ---> Running in eb3852d393d2 21:02:53 Removing intermediate container eb3852d393d2 21:02:53 ---> 3d55b449484f 21:02:53 Step 9/23 : COPY . . 21:02:55 ---> fcc8670eaea9 21:02:55 Step 10/23 : RUN ${MAKE} 21:02:55 ---> Running in 8050c8b377f5 21:02:56 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.50" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:05:17 Removing intermediate container 8050c8b377f5 21:05:17 ---> a43011e849ab 21:05:17 Step 11/23 : FROM alpine:3.16 21:05:17 3.16: Pulling from library/alpine 21:05:17 3760b48202b3: Pulling fs layer 21:05:17 3760b48202b3: Verifying Checksum 21:05:17 3760b48202b3: Download complete 21:05:17 3760b48202b3: Pull complete 21:05:17 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:05:17 Status: Downloaded newer image for alpine:3.16 21:05:17 ---> 4c81e5bf8899 21:05:17 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:05:17 ---> Running in 13b35bf5d9c1 21:05:17 Removing intermediate container 13b35bf5d9c1 21:05:17 ---> e1b91e0f51fe 21:05:17 Step 13/23 : RUN apk add --update --no-cache 21:05:17 ---> Running in a361bacc04bc 21:05:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:05:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:05:17 OK: 5 MiB in 14 packages 21:05:17 Removing intermediate container a361bacc04bc 21:05:17 ---> 6f3d70c9502e 21:05:17 Step 14/23 : WORKDIR / 21:05:17 ---> Running in 7f5365699d2e 21:05:17 Removing intermediate container 7f5365699d2e 21:05:17 ---> 023bd14c68a4 21:05:17 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:05:17 ---> 61a005599d27 21:05:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:05:17 ---> dbe53e346b5b 21:05:17 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:05:17 ---> 033cce34d156 21:05:17 Step 18/23 : EXPOSE 59999 21:05:17 ---> Running in 573d4ecdd616 21:05:17 Removing intermediate container 573d4ecdd616 21:05:17 ---> 81e7ffc1b57c 21:05:17 Step 19/23 : ENTRYPOINT ["/device-simple"] 21:05:17 ---> Running in 3e69acdeeccd 21:05:17 Removing intermediate container 3e69acdeeccd 21:05:17 ---> 0891c085d485 21:05:17 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 21:05:17 ---> Running in 6313e60012eb 21:05:17 Removing intermediate container 6313e60012eb 21:05:17 ---> 49c9302f9797 21:05:17 Step 21/23 : LABEL arch=arm64 21:05:17 ---> Running in 204ef2699ece 21:05:17 Removing intermediate container 204ef2699ece 21:05:17 ---> 0e921acf0fe8 21:05:17 Step 22/23 : LABEL git_sha=84b3eaa6b9d9b6bc9df706aeb119f986429132ec 21:05:17 ---> Running in c90f1d7f8cd1 21:05:17 Removing intermediate container c90f1d7f8cd1 21:05:17 ---> ce8dfd778d96 21:05:17 Step 23/23 : LABEL version=3.0.0-dev.50 21:05:17 ---> Running in 888604d898e3 21:05:17 Removing intermediate container 888604d898e3 21:05:17 ---> ae5d086892c2 21:05:17 [Warning] One or more build-args [ARCH] were not consumed 21:05:17 Successfully built ae5d086892c2 21:05:17 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:18 21:05:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:18 arm64: Pulling from edgex-lftools-log-publisher 21:05:18 8998bd30e6a1: Pulling fs layer 21:05:18 04944245beec: Pulling fs layer 21:05:18 699f458cf7ca: Pulling fs layer 21:05:18 765212b225bb: Pulling fs layer 21:05:18 f23df028b6ca: Pulling fs layer 21:05:18 d65c8cfc05b1: Pulling fs layer 21:05:18 2437ff75d9bd: Pulling fs layer 21:05:18 f23df028b6ca: Waiting 21:05:18 d65c8cfc05b1: Waiting 21:05:18 2437ff75d9bd: Waiting 21:05:18 765212b225bb: Waiting 21:05:18 04944245beec: Verifying Checksum 21:05:18 04944245beec: Download complete 21:05:18 765212b225bb: Verifying Checksum 21:05:18 765212b225bb: Download complete 21:05:19 f23df028b6ca: Verifying Checksum 21:05:19 f23df028b6ca: Download complete 21:05:19 d65c8cfc05b1: Verifying Checksum 21:05:19 d65c8cfc05b1: Download complete 21:05:19 699f458cf7ca: Verifying Checksum 21:05:19 699f458cf7ca: Download complete 21:05:19 8998bd30e6a1: Verifying Checksum 21:05:19 8998bd30e6a1: Download complete 21:05:21 2437ff75d9bd: Download complete 21:05:23 8998bd30e6a1: Pull complete 21:05:24 04944245beec: Pull complete 21:05:25 699f458cf7ca: Pull complete 21:05:25 765212b225bb: Pull complete 21:05:26 f23df028b6ca: Pull complete 21:05:26 d65c8cfc05b1: Pull complete 21:05:41 2437ff75d9bd: Pull complete 21:05:41 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:05:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:05:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:05:41 prd-ubuntu20.04-docker-arm64-4c-16g-9677 does not seem to be running inside a container 21:05:42 $ 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/180 -v /w/workspace/device-sdk-go/180:/w/workspace/device-sdk-go/180:rw,z -v /w/workspace/device-sdk-go/180@tmp:/w/workspace/device-sdk-go/180@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 21:05:44 $ docker top 5eaceb837d7bd565a95e6543e1cc62bfbc85c2c610f3f648e17094e2ed1da63e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:45 ---> job-cost.sh 21:05:45 lf-activate-venv: SKIPPING 21:05:45 INFO: No Stack... 21:05:45 INFO: Retrieving Pricing Info for: v3-standard-4 21:05:46 INFO: Archiving Costs [Pipeline] sh 21:05:47 + + cat /w/workspace/device-sdk-go/180/archives/cost.csvcut 21:05:47 -d, -f6 [Pipeline] lock 21:05:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-180-stack-cost] 21:05:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-180-stack-cost] did not exist. Created. 21:05:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:05:48 /w/workspace/device-sdk-go/180@tmp/durable-ba2e346f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:05:48 + echo total: 0.10999999940395355 [Pipeline] stash 21:05:48 Warning: overwriting stash ‘stack-cost’ 21:05:49 Stashed 1 file(s) [Pipeline] } 21:05:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } 21:05:49 $ docker stop --time=1 5eaceb837d7bd565a95e6543e1cc62bfbc85c2c610f3f648e17094e2ed1da63e 21:05:50 $ docker rm -f --volumes 5eaceb837d7bd565a95e6543e1cc62bfbc85c2c610f3f648e17094e2ed1da63e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:05:51 provisioning config files... 21:05:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7617188639597396682tmp [Pipeline] { [Pipeline] sh 21:05:51 + set +x 21:05:51 + curl -s https://codecov.io/bash 21:05:51 + bash -s -- 21:05:51 21:05:51 _____ _ 21:05:51 / ____| | | 21:05:51 | | ___ __| | ___ ___ _____ __ 21:05:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:05:51 | |___| (_) | (_| | __/ (_| (_) \ V / 21:05:51 \_____\___/ \__,_|\___|\___\___/ \_/ 21:05:51 Bash-1.0.6 21:05:51 21:05:51 21:05:51 ==> git version 2.25.1 found 21:05:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:05:51 Release-Date: 2020-01-08 21:05:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:05:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:05:51 ==> Jenkins CI detected. 21:05:51 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 21:05:51 project root: . 21:05:51 --> token set from env 21:05:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:05:51 ==> Running gcov in . (disable via -X gcov) 21:05:51 ==> Python coveragepy not found 21:05:51 ==> Searching for coverage reports in: 21:05:51 + . 21:05:51 -> Found 1 reports 21:05:51 ==> Detecting git/mercurial file structure 21:05:51 ==> Reading reports 21:05:51 + ./coverage.out bytes=111316 21:05:51 ==> Appending adjustments 21:05:51 https://docs.codecov.io/docs/fixing-reports 21:05:51 + Found adjustments 21:05:51 ==> Gzipping contents 21:05:51 16K /tmp/codecov.O4q2Wr.gz 21:05:51 ==> Uploading reports 21:05:51 url: https://codecov.io 21:05:51 query: branch=main&commit=84b3eaa6b9d9b6bc9df706aeb119f986429132ec&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:05:51 -> Pinging Codecov 21:05:51 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=84b3eaa6b9d9b6bc9df706aeb119f986429132ec&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:08:43  21:08:43 21:08:43 21:08:43 502 Server Error 21:08:43 21:08:43 21:08:43

Error: Server Error

21:08:43

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.

21:08:43

21:08:43 21:08:43 21:08:43 21:08:43 21:08:43 502 Server Error 21:08:43 21:08:43 21:08:43

Error: Server Error

21:08:43

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.

21:08:43

21:08:43 21:08:43 21:08:43 21:08:43 21:08:43 502 Server Error 21:08:43 21:08:43 21:08:43

Error: Server Error

21:08:43

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.

21:08:43

21:08:43 21:08:43 21:08:43 21:08:43 21:08:43 502 Server Error 21:08:43 21:08:43 21:08:43

Error: Server Error

21:08:43

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.

21:08:43

21:08:43 21:08:43 21:08:43 21:08:43 21:08:43 502 Server Error 21:08:43 21:08:43 21:08:43

Error: Server Error

21:08:43

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.

21:08:43

21:08:43 21:08:43 upstream connect error or disconnect/reset before headers. reset reason: connection failure 21:08:43 503 21:08:43 ==> Uploading to Codecov 21:08:43 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:43 Dload Upload Total Spent Left Speed 21:09:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15458 0 0 100 15458 0 12838 0:00:01 0:00:01 --:--:-- 12838 100 15458 0 0 100 15458 0 7729 0:00:02 0:00:02 --:--:-- 7729 100 15458 0 0 100 15458 0 5149 0:00:03 0:00:03 --:--:-- 5149 100 15458 0 0 100 15458 0 3861 0:00:04 0:00:04 --:--:-- 3861 100 15458 0 0 100 15458 0 3089 0:00:05 0:00:05 --:--:-- 3089 100 15458 0 0 100 15458 0 2573 0:00:06 0:00:06 --:--:-- 0 100 15458 0 0 100 15458 0 2206 0:00:07 0:00:07 --:--:-- 0 100 15458 0 0 100 15458 0 1930 0:00:08 0:00:08 --:--:-- 0 100 15458 0 0 100 15458 0 1715 0:00:09 0:00:09 --:--:-- 0 100 15458 0 0 100 15458 0 1544 0:00:10 0:00:10 --:--:-- 0 100 15458 0 0 100 15458 0 1403 0:00:11 0:00:11 --:--:-- 0 100 15458 0 0 100 15458 0 1286 0:00:12 0:00:12 --:--:-- 0 100 15458 0 0 100 15458 0 1187 0:00:13 0:00:13 --:--:-- 0 100 15458 0 0 100 15458 0 1102 0:00:14 0:00:14 --:--:-- 0 100 15458 0 0 100 15458 0 1029 0:00:15 0:00:15 --:--:-- 0 100 15458 0 0 100 15458 0 964 0:00:16 0:00:16 --:--:-- 0 100 15458 0 0 100 15458 0 908 0:00:17 0:00:17 --:--:-- 0 100 15458 0 0 100 15458 0 857 0:00:18 0:00:18 --:--:-- 0 100 15458 0 0 100 15458 0 812 0:00:19 0:00:19 --:--:-- 0 100 15458 0 0 100 15458 0 771 0:00:20 0:00:20 --:--:-- 0 100 15458 0 0 100 15458 0 735 0:00:21 0:00:21 --:--:-- 0 100 15458 0 0 100 15458 0 701 0:00:22 0:00:22 --:--:-- 0 100 15458 0 0 100 15458 0 671 0:00:23 0:00:23 --:--:-- 0 100 15458 0 0 100 15458 0 643 0:00:24 0:00:24 --:--:-- 0 100 15458 0 0 100 15458 0 617 0:00:25 0:00:25 --:--:-- 0 100 15458 0 0 100 15458 0 593 0:00:26 0:00:26 --:--:-- 0 100 15458 0 0 100 15458 0 571 0:00:27 0:00:27 --:--:-- 0 100 15458 0 0 100 15458 0 551 0:00:28 0:00:28 --:--:-- 0 100 15458 0 0 100 15458 0 532 0:00:29 0:00:29 --:--:-- 0 100 15458 0 0 100 15458 0 514 0:00:30 0:00:30 --:--:-- 0 100 15790 100 332 100 15458 11 514 0:00:30 0:00:30 --:--:-- 82 21:09:02 Warning: Transient problem: HTTP error Will retry in 2 seconds. 5 retries 21:09:02 Warning: left. 21:09:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15458 0 0 100 15458 0 15442 0:00:01 0:00:01 --:--:-- 15442 100 15458 0 0 100 15458 0 7725 0:00:02 0:00:02 --:--:-- 7729 100 15458 0 0 100 15458 0 5149 0:00:03 0:00:03 --:--:-- 5149 100 15458 0 0 100 15458 0 3861 0:00:04 0:00:04 --:--:-- 3861 100 15458 0 0 100 15458 0 3088 0:00:05 0:00:05 --:--:-- 3089 100 15458 0 0 100 15458 0 2573 0:00:06 0:00:06 --:--:-- 0 100 15458 0 0 100 15458 0 2206 0:00:07 0:00:07 --:--:-- 0 100 15458 0 0 100 15458 0 1930 0:00:08 0:00:08 --:--:-- 0 100 15458 0 0 100 15458 0 1715 0:00:09 0:00:09 --:--:-- 0 100 15458 0 0 100 15458 0 1543 0:00:10 0:00:10 --:--:-- 0 100 15458 0 0 100 15458 0 1403 0:00:11 0:00:11 --:--:-- 0 100 15458 0 0 100 15458 0 1286 0:00:12 0:00:12 --:--:-- 0 100 15458 0 0 100 15458 0 1187 0:00:13 0:00:13 --:--:-- 0 100 15458 0 0 100 15458 0 1102 0:00:14 0:00:14 --:--:-- 0 100 15458 0 0 100 15458 0 1029 0:00:15 0:00:15 --:--:-- 0 100 15458 0 0 100 15458 0 964 0:00:16 0:00:16 --:--:-- 0 100 15458 0 0 100 15458 0 908 0:00:17 0:00:17 --:--:-- 0 100 15458 0 0 100 15458 0 857 0:00:18 0:00:18 --:--:-- 0 100 15458 0 0 100 15458 0 812 0:00:19 0:00:19 --:--:-- 0 100 15458 0 0 100 15458 0 771 0:00:20 0:00:20 --:--:-- 0 100 15458 0 0 100 15458 0 735 0:00:21 0:00:21 --:--:-- 0 100 15458 0 0 100 15458 0 701 0:00:22 0:00:22 --:--:-- 0 100 15458 0 0 100 15458 0 671 0:00:23 0:00:23 --:--:-- 0 100 15458 0 0 100 15458 0 643 0:00:24 0:00:24 --:--:-- 0 100 15458 0 0 100 15458 0 617 0:00:25 0:00:25 --:--:-- 0 100 15458 0 0 100 15458 0 593 0:00:26 0:00:26 --:--:-- 0 100 15458 0 0 100 15458 0 571 0:00:27 0:00:27 --:--:-- 0 100 15458 0 0 100 15458 0 551 0:00:28 0:00:28 --:--:-- 0 100 15458 0 0 100 15458 0 532 0:00:29 0:00:29 --:--:-- 0 100 15790 100 332 100 15458 11 514 0:00:30 0:00:30 --:--:-- 66 100 15790 100 332 100 15458 11 514 0:00:30 0:00:30 --:--:-- 83 21:09:34 Warning: Transient problem: HTTP error Will retry in 2 seconds. 4 retries 21:09:34 Warning: left. 21:09:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15549 100 91 100 15458 1246 206k --:--:-- --:--:-- --:--:-- 208k 21:09:36 Warning: Transient problem: HTTP error Will retry in 2 seconds. 3 retries 21:09:36 Warning: left. 21:09:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15549 100 91 100 15458 2600 431k --:--:-- --:--:-- --:--:-- 460k 21:09:38 Warning: Transient problem: HTTP error Will retry in 2 seconds. 2 retries 21:09:38 Warning: left. 21:09:40 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15549 100 91 100 15458 2935 486k --:--:-- --:--:-- --:--:-- 489k 21:09:40 Warning: Transient problem: HTTP error Will retry in 2 seconds. 1 retries 21:09:40 Warning: left. 21:09:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15549 100 91 100 15458 2676 443k --:--:-- --:--:-- --:--:-- 446k 21:09:42  21:09:42 21:09:42 21:09:42 502 Server Error 21:09:42 21:09:42 21:09:42

Error: Server Error

21:09:42

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.

21:09:42

21:09:42 21:09:42 21:09:42 21:09:42 21:09:42 502 Server Error 21:09:42 21:09:42 21:09:42

Error: Server Error

21:09:42

The server encountered a temporary error and could not complete your request.

Please try again in 30 seconds.

21:09:42

21:09:42 21:09:42 upstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failureupstream connect error or disconnect/reset before headers. reset reason: connection failure [Pipeline] } 21:09:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:09:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:09:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:09:43 21:09:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:09:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:09:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:09:43 df9b9388f04a: Pulling fs layer 21:09:43 52dc419b0ee2: Pulling fs layer 21:09:43 25bc292e5bac: Pulling fs layer 21:09:43 114826534d7a: Pulling fs layer 21:09:43 4657fd5d0bcf: Pulling fs layer 21:09:43 6ad1cebc031e: Pulling fs layer 21:09:43 8a3aa393b2d8: Pulling fs layer 21:09:43 8a3aa393b2d8: Waiting 21:09:43 4657fd5d0bcf: Waiting 21:09:43 6ad1cebc031e: Waiting 21:09:43 114826534d7a: Waiting 21:09:43 25bc292e5bac: Download complete 21:09:43 52dc419b0ee2: Verifying Checksum 21:09:43 52dc419b0ee2: Download complete 21:09:43 4657fd5d0bcf: Download complete 21:09:43 df9b9388f04a: Download complete 21:09:43 df9b9388f04a: Pull complete 21:09:43 52dc419b0ee2: Pull complete 21:09:43 6ad1cebc031e: Verifying Checksum 21:09:43 6ad1cebc031e: Download complete 21:09:43 25bc292e5bac: Pull complete 21:09:44 114826534d7a: Verifying Checksum 21:09:44 114826534d7a: Download complete 21:09:44 8a3aa393b2d8: Verifying Checksum 21:09:44 8a3aa393b2d8: Download complete 21:09:47 114826534d7a: Pull complete 21:09:47 4657fd5d0bcf: Pull complete 21:09:47 6ad1cebc031e: Pull complete 21:09:50 8a3aa393b2d8: Pull complete 21:09:50 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:09:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:09:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:09:50 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 21:09:50 $ 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 21:09:52 $ docker top e5ddd267114218a171b5f11b3f4fa051a0e5d5f3e0891e08ea3ebff391b6dcd6 -eo pid,comm [Pipeline] { [Pipeline] echo 21:09:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 21:09:52 + set -o pipefail 21:09:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 21:09:57 21:09:57 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 21:09:57 21:09:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a504aa23-d82d-4da5-900d-3c9acdc27b18 21:09:57 21:09:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:09:57 21:09:57 21:09:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:09:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:09:57 More details here: https://snyk.co/ue1NS 21:09:57 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 21:09:57 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:09:57 $ docker stop --time=1 e5ddd267114218a171b5f11b3f4fa051a0e5d5f3e0891e08ea3ebff391b6dcd6 21:09:59 $ docker rm -f --volumes e5ddd267114218a171b5f11b3f4fa051a0e5d5f3e0891e08ea3ebff391b6dcd6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 21:09:59 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:59 provisioning config files... 21:09:59 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11442962500280268943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:10:00 --> edgex-publish-swagger.sh 21:10:00 === Publish openapi/v3 API === 21:10:00 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 21:10:00 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 21:10:00 % Total % Received % Xferd Average Speed Time Time Time Current 21:10:00 Dload Upload Total Spent Left Speed 21:10:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23571 0 0 100 23571 0 19480 0:00:01 0:00:01 --:--:-- 19480 100 23571 0 0 100 23571 0 14731 0:00:01 0:00:01 --:--:-- 14731 21:10:01 21:10:01 [Pipeline] } 21:10:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:10:01 + git log --format=format:%s -1 84b3eaa6b9d9b6bc9df706aeb119f986429132ec [Pipeline] sh 21:10:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:10:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:02 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 21:10:02 $ 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 21:10:02 $ docker top ec9939fc0ef2abdbea9f9b33b4f721fa29b73486e76f803f2695959d2b919550 -eo pid,comm 21:10:02 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:10:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:10:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:03 [ssh-agent] Looking for ssh-agent implementation... 21:10:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:03 $ docker exec ec9939fc0ef2abdbea9f9b33b4f721fa29b73486e76f803f2695959d2b919550 ssh-agent 21:10:03 SSH_AUTH_SOCK=/tmp/ssh-7VtLdzSyZggr/agent.32 21:10:03 SSH_AGENT_PID=38 21:10:03 Running ssh-add (command line suppressed) 21:10:03 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_284401935245519471.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_284401935245519471.key) 21:10:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:03 + git semver tag 21:10:03 2023-03-10 21:10:03,811 [run_tag] DEBUG tag force:False 21:10:03 2023-03-10 21:10:03,811 [check_head_tag] DEBUG check head tag 21:10:03 2023-03-10 21:10:03,813 [execute] INFO git cat-file --batch-check 21:10:03 2023-03-10 21:10:03,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:10:03 2023-03-10 21:10:03,816 [execute] INFO git cat-file --batch 21:10:03 2023-03-10 21:10:03,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 21:10:03 2023-03-10 21:10:03,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:10:03 2023-03-10 21:10:03,848 [execute] INFO git tag -a v3.0.0-dev.50 -m v3.0.0-dev.50 21:10:03 2023-03-10 21:10:03,848 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.50', '-m', 'v3.0.0-dev.50'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 21:10:03 2023-03-10 21:10:03,852 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:10:03 3.0.0-dev.50 [Pipeline] } 21:10:03 $ docker exec --env ******** --env ******** ec9939fc0ef2abdbea9f9b33b4f721fa29b73486e76f803f2695959d2b919550 ssh-agent -k 21:10:04 unset SSH_AUTH_SOCK; 21:10:04 unset SSH_AGENT_PID; 21:10:04 echo Agent pid 38 killed; 21:10:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:10:04 + git semver [Pipeline] } 21:10:04 $ docker stop --time=1 ec9939fc0ef2abdbea9f9b33b4f721fa29b73486e76f803f2695959d2b919550 21:10:05 $ docker rm -f --volumes ec9939fc0ef2abdbea9f9b33b4f721fa29b73486e76f803f2695959d2b919550 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:10:06 21:10:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:10:06 0.23.1-centos7: Pulling from edgex-lftools 21:10:06 ab5ef0e58194: Pulling fs layer 21:10:06 9712f1f96733: Pulling fs layer 21:10:06 63f879dbbcfc: Pulling fs layer 21:10:06 0d9ebad4ef96: Pulling fs layer 21:10:06 e9a5061849ea: Pulling fs layer 21:10:06 d747dcd14b5f: Pulling fs layer 21:10:06 2de7ff778b66: Pulling fs layer 21:10:06 d747dcd14b5f: Waiting 21:10:06 2de7ff778b66: Waiting 21:10:06 e9a5061849ea: Waiting 21:10:06 0d9ebad4ef96: Waiting 21:10:06 9712f1f96733: Download complete 21:10:07 63f879dbbcfc: Verifying Checksum 21:10:07 63f879dbbcfc: Download complete 21:10:07 ab5ef0e58194: Verifying Checksum 21:10:07 ab5ef0e58194: Download complete 21:10:07 d747dcd14b5f: Verifying Checksum 21:10:07 d747dcd14b5f: Download complete 21:10:07 0d9ebad4ef96: Verifying Checksum 21:10:07 0d9ebad4ef96: Download complete 21:10:07 e9a5061849ea: Verifying Checksum 21:10:07 e9a5061849ea: Download complete 21:10:07 2de7ff778b66: Verifying Checksum 21:10:07 2de7ff778b66: Download complete 21:10:09 ab5ef0e58194: Pull complete 21:10:09 9712f1f96733: Pull complete 21:10:10 63f879dbbcfc: Pull complete 21:10:13 0d9ebad4ef96: Pull complete 21:10:14 e9a5061849ea: Pull complete 21:10:14 d747dcd14b5f: Pull complete 21:10:15 2de7ff778b66: Pull complete 21:10:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:10:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:10:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:15 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 21:10:15 $ 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 21:10:16 $ docker top 710142b4d8ef4c0c9ce77c6c4a78bad221bbff28299263ebec1ff86fa93c5700 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:10:16 provisioning config files... 21:10:16 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9888627378962867081tmp 21:10:16 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13175575348444927167tmp 21:10:16 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13955064579050970858tmp [Pipeline] { [Pipeline] echo 21:10:16 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:10:17 ---> sigul-configuration.sh 21:10:17 gpg: directory `/root/.gnupg' created 21:10:17 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:10:17 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:10:17 gpg: keyring `/root/.gnupg/secring.gpg' created 21:10:17 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:10:17 gpg: CAST5 encrypted data 21:10:17 gpg: encrypted with 1 passphrase 21:10:17 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:10:17 + mkdir /home/jenkins 21:10:17 + mkdir /home/jenkins/sigul [Pipeline] sh 21:10:17 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 21:10:17 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:10:18 ---> sigul-install.sh 21:10:18 Sigul already installed; skipping installation. [Pipeline] sh 21:10:18 + git tag --list 21:10:18 0.7.1 21:10:18 delhi-tag 21:10:18 v1.0.0 21:10:18 v1.1.0 21:10:18 v1.1.1 21:10:18 v1.1.2 21:10:18 v1.2.0 21:10:18 v1.2.1 21:10:18 v1.2.2 21:10:18 v1.2.3 21:10:18 v1.3.0 21:10:18 v1.4.0 21:10:18 v2.0.0 21:10:18 v2.1.0 21:10:18 v2.1.1 21:10:18 v2.1.1-dev.2 21:10:18 v2.1.1-dev.3 21:10:18 v2.2.0 21:10:18 v2.2.1-dev.1 21:10:18 v2.2.1-dev.10 21:10:18 v2.2.1-dev.11 21:10:18 v2.2.1-dev.12 21:10:18 v2.2.1-dev.13 21:10:18 v2.2.1-dev.14 21:10:18 v2.2.1-dev.2 21:10:18 v2.2.1-dev.3 21:10:18 v2.2.1-dev.4 21:10:18 v2.2.1-dev.5 21:10:18 v2.2.1-dev.6 21:10:18 v2.2.1-dev.7 21:10:18 v2.2.1-dev.8 21:10:18 v2.2.1-dev.9 21:10:18 v2.3.0 21:10:18 v2.3.0-dev.14 21:10:18 v2.3.0-dev.15 21:10:18 v2.3.0-dev.16 21:10:18 v2.3.0-dev.17 21:10:18 v2.3.0-dev.18 21:10:18 v2.3.0-dev.19 21:10:18 v2.3.0-dev.20 21:10:18 v2.3.0-dev.21 21:10:18 v2.3.0-dev.22 21:10:18 v2.3.0-dev.23 21:10:18 v2.3.0-dev.24 21:10:18 v2.3.0-dev.25 21:10:18 v2.3.0-dev.26 21:10:18 v2.3.0-dev.27 21:10:18 v2.3.0-dev.28 21:10:18 v2.3.0-dev.29 21:10:18 v2.3.0-dev.30 21:10:18 v2.3.0-dev.31 21:10:18 v2.3.0-dev.32 21:10:18 v2.3.0-dev.33 21:10:18 v2.3.0-dev.34 21:10:18 v2.3.0-dev.35 21:10:18 v2.3.0-dev.36 21:10:18 v2.3.0-dev.37 21:10:18 v2.3.0-dev.38 21:10:18 v2.3.0-dev.39 21:10:18 v2.3.0-dev.40 21:10:18 v2.3.0-dev.41 21:10:18 v2.3.0-dev.42 21:10:18 v2.3.0-dev.43 21:10:18 v2.3.0-dev.44 21:10:18 v2.3.0-dev.45 21:10:18 v2.3.0-dev.46 21:10:18 v2.3.0-dev.47 21:10:18 v2.3.0-dev.48 21:10:18 v2.3.0-dev.49 21:10:18 v2.3.0-dev.50 21:10:18 v2.3.0-dev.51 21:10:18 v2.3.1-dev.1 21:10:18 v3.0.0-dev.1 21:10:18 v3.0.0-dev.10 21:10:18 v3.0.0-dev.11 21:10:18 v3.0.0-dev.12 21:10:18 v3.0.0-dev.13 21:10:18 v3.0.0-dev.14 21:10:18 v3.0.0-dev.15 21:10:18 v3.0.0-dev.16 21:10:18 v3.0.0-dev.17 21:10:18 v3.0.0-dev.18 21:10:18 v3.0.0-dev.19 21:10:18 v3.0.0-dev.2 21:10:18 v3.0.0-dev.20 21:10:18 v3.0.0-dev.21 21:10:18 v3.0.0-dev.22 21:10:18 v3.0.0-dev.23 21:10:18 v3.0.0-dev.24 21:10:18 v3.0.0-dev.25 21:10:18 v3.0.0-dev.26 21:10:18 v3.0.0-dev.27 21:10:18 v3.0.0-dev.28 21:10:18 v3.0.0-dev.29 21:10:18 v3.0.0-dev.3 21:10:18 v3.0.0-dev.30 21:10:18 v3.0.0-dev.31 21:10:18 v3.0.0-dev.32 21:10:18 v3.0.0-dev.33 21:10:18 v3.0.0-dev.34 21:10:18 v3.0.0-dev.35 21:10:18 v3.0.0-dev.36 21:10:18 v3.0.0-dev.37 21:10:18 v3.0.0-dev.38 21:10:18 v3.0.0-dev.39 21:10:18 v3.0.0-dev.4 21:10:18 v3.0.0-dev.40 21:10:18 v3.0.0-dev.41 21:10:18 v3.0.0-dev.42 21:10:18 v3.0.0-dev.43 21:10:18 v3.0.0-dev.44 21:10:18 v3.0.0-dev.45 21:10:18 v3.0.0-dev.46 21:10:18 v3.0.0-dev.47 21:10:18 v3.0.0-dev.48 21:10:18 v3.0.0-dev.49 21:10:18 v3.0.0-dev.5 21:10:18 v3.0.0-dev.50 21:10:18 v3.0.0-dev.6 21:10:18 v3.0.0-dev.7 21:10:18 v3.0.0-dev.8 21:10:18 v3.0.0-dev.9 [Pipeline] sh 21:10:18 + lftools sign git-tag v3.0.0-dev.50 21:10:19 Signing Git tag with Sigul... 21:10:19 Signing v3.0.0-dev.50 [Pipeline] echo 21:10:19 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:10:19 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:10:19 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:10:19 $ docker stop --time=1 710142b4d8ef4c0c9ce77c6c4a78bad221bbff28299263ebec1ff86fa93c5700 21:10:21 $ docker rm -f --volumes 710142b4d8ef4c0c9ce77c6c4a78bad221bbff28299263ebec1ff86fa93c5700 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:10:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:10:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:21 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 21:10:21 $ 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 21:10:22 $ docker top b427b291e2df5e30df72ad7571a7916daf1a3ca3cf64e582f03dcb55f876369c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:10:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:22 [ssh-agent] Looking for ssh-agent implementation... 21:10:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:22 $ docker exec b427b291e2df5e30df72ad7571a7916daf1a3ca3cf64e582f03dcb55f876369c ssh-agent 21:10:22 SSH_AUTH_SOCK=/tmp/ssh-s6Klsckr5EED/agent.33 21:10:22 SSH_AGENT_PID=39 21:10:22 Running ssh-add (command line suppressed) 21:10:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_172600107366502238.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_172600107366502238.key) 21:10:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:23 + git semver bump pre 21:10:23 2023-03-10 21:10:23,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:10:23 2023-03-10 21:10:23,156 [bump_version] DEBUG bumping version:3.0.0-dev.50 on axis:pre with prefix:dev 21:10:23 2023-03-10 21:10:23,156 [bump_version] DEBUG bumped version:3.0.0-dev.51 21:10:23 2023-03-10 21:10:23,156 [write_version] DEBUG write version:3.0.0-dev.51 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 21:10:23 2023-03-10 21:10:23,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:10:23 2023-03-10 21:10:23,156 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:10:23 2023-03-10 21:10:23,159 [execute] INFO git cat-file --batch-check 21:10:23 2023-03-10 21:10:23,159 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:10:23 2023-03-10 21:10:23,164 [execute] INFO git cat-file --batch 21:10:23 2023-03-10 21:10:23,164 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:10:23 2023-03-10 21:10:23,167 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:10:23 3.0.0-dev.51 [Pipeline] } 21:10:23 $ docker exec --env ******** --env ******** b427b291e2df5e30df72ad7571a7916daf1a3ca3cf64e582f03dcb55f876369c ssh-agent -k 21:10:23 unset SSH_AUTH_SOCK; 21:10:23 unset SSH_AGENT_PID; 21:10:23 echo Agent pid 39 killed; 21:10:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:10:23 + git semver [Pipeline] } 21:10:23 $ docker stop --time=1 b427b291e2df5e30df72ad7571a7916daf1a3ca3cf64e582f03dcb55f876369c 21:10:25 $ docker rm -f --volumes b427b291e2df5e30df72ad7571a7916daf1a3ca3cf64e582f03dcb55f876369c [Pipeline] // withDockerContainer [Pipeline] sh 21:10:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:10:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:10:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:25 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 21:10:25 $ 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 21:10:26 $ docker top 3a612cf497545747fc84dfd0cb5ff72747da5c9abf226757ceb71d8935d74223 -eo pid,comm 21:10:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:10:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:10:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:10:26 [ssh-agent] Looking for ssh-agent implementation... 21:10:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:10:26 $ docker exec 3a612cf497545747fc84dfd0cb5ff72747da5c9abf226757ceb71d8935d74223 ssh-agent 21:10:26 SSH_AUTH_SOCK=/tmp/ssh-NtUyLib70UKR/agent.33 21:10:26 SSH_AGENT_PID=39 21:10:26 Running ssh-add (command line suppressed) 21:10:26 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5597397333487025619.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5597397333487025619.key) 21:10:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:10:27 + git semver push 21:10:27 2023-03-10 21:10:27,180 [run_push] DEBUG push 21:10:27 2023-03-10 21:10:27,180 [execute] INFO git cat-file --batch-check 21:10:27 2023-03-10 21:10:27,181 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:10:27 2023-03-10 21:10:27,185 [execute] INFO git rev-list c08ee03096c427c53089eb0ace73dcc3bbd80649 -- 21:10:27 2023-03-10 21:10:27,185 [execute] DEBUG Popen(['git', 'rev-list', 'c08ee03096c427c53089eb0ace73dcc3bbd80649', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:10:27 2023-03-10 21:10:27,197 [execute] INFO git fetch -v origin 21:10:27 2023-03-10 21:10:27,197 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:10:27 2023-03-10 21:10:27,627 [run_push] DEBUG no remote changes detected 21:10:27 2023-03-10 21:10:27,627 [execute] INFO git push origin semver 21:10:27 2023-03-10 21:10:27,628 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:10:28 2023-03-10 21:10:28,464 [run_push] DEBUG push all version tags 21:10:28 2023-03-10 21:10:28,464 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:10:28 2023-03-10 21:10:28,465 [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) 21:10:29 2023-03-10 21:10:29,292 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 21:10:29 3.0.0-dev.51 [Pipeline] } 21:10:29 $ docker exec --env ******** --env ******** 3a612cf497545747fc84dfd0cb5ff72747da5c9abf226757ceb71d8935d74223 ssh-agent -k 21:10:29 unset SSH_AUTH_SOCK; 21:10:29 unset SSH_AGENT_PID; 21:10:29 echo Agent pid 39 killed; 21:10:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:10:29 + git semver [Pipeline] } 21:10:30 $ docker stop --time=1 3a612cf497545747fc84dfd0cb5ff72747da5c9abf226757ceb71d8935d74223 21:10:31 $ docker rm -f --volumes 3a612cf497545747fc84dfd0cb5ff72747da5c9abf226757ceb71d8935d74223 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:10:31 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 21:10:31 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:10:31 total 16 21:10:31 drwxr-xr-x 3 root root 4096 Mar 10 20:53 . 21:10:31 drwxrwxr-x 12 jenkins jenkins 4096 Mar 10 21:10 .. 21:10:31 drwxr-xr-x 2 root root 4096 Mar 10 20:53 cost 21:10:31 -rw-r--r-- 1 root root 85 Mar 10 20:53 cost.csv 21:10:31 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:10:31 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 21:10:31 total 16 21:10:31 drwxr-xr-x 3 jenkins jenkins 4096 Mar 10 20:53 . 21:10:31 drwxrwxr-x 12 jenkins jenkins 4096 Mar 10 21:10 .. 21:10:31 drwxr-xr-x 2 jenkins jenkins 4096 Mar 10 20:53 cost 21:10:31 -rw-r--r-- 1 jenkins jenkins 85 Mar 10 20:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:10:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:10:32 ---> package-listing.sh 21:10:32 ++ facter osfamily 21:10:32 ++ tr '[:upper:]' '[:lower:]' 21:10:33 + OS_FAMILY=debian 21:10:33 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 21:10:33 + START_PACKAGES=/tmp/packages_start.txt 21:10:33 + END_PACKAGES=/tmp/packages_end.txt 21:10:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:10:33 + PACKAGES=/tmp/packages_start.txt 21:10:33 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:10:33 + PACKAGES=/tmp/packages_end.txt 21:10:33 + case "${OS_FAMILY}" in 21:10:33 + dpkg -l 21:10:33 + grep '^ii' 21:10:33 + '[' -f /tmp/packages_start.txt ']' 21:10:33 + '[' -f /tmp/packages_end.txt ']' 21:10:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:10:33 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 21:10:33 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 21:10:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 21:10:33 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 21:10:33 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:10:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:10:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:10:34 prd-ubuntu20.04-docker-8c-8g-9674 does not seem to be running inside a container 21:10:34 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/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 21:10:34 $ docker top 8c9925acdc662e77505fcc80d3345540d85865fba76546ac97b6c709d99dbd9a -eo pid,comm [Pipeline] { [Pipeline] sh 21:10:34 + touch /tmp/pre-build-complete [Pipeline] sh 21:10:35 + mkdir -p /var/log/sysstat [Pipeline] sh 21:10:35 + ls /var/log/sa-host 21:10:35 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:10:35 provisioning config files... 21:10:35 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10144073429207302126tmp [Pipeline] { [Pipeline] echo 21:10:35 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:10:35 ---> create-netrc.sh [Pipeline] } 21:10:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:10:35 ---> python-tools-install.sh [Pipeline] echo 21:10:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:10:36 ---> sudo-logs.sh 21:10:36 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:10:36 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:10:36 ---> job-cost.sh 21:10:36 lf-activate-venv: SKIPPING 21:10:36 DEBUG: total: 0.2199999988079071 21:10:36 INFO: Retrieving Stack Cost... 21:10:37 INFO: Retrieving Pricing Info for: v3-standard-8 21:10:37 INFO: Archiving Costs [Pipeline] echo 21:10:37 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:10:37 ---> logs-deploy.sh 21:10:37 lf-activate-venv: SKIPPING 21:10:37 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/180 21:10:37 INFO: archiving workspace using pattern(s): 21:10:38 Archives upload complete. 21:10:38 INFO: archiving logs to Nexus