Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 30b5625222734a144936f26b3a3df0ac58ed1e4d 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-ssh14358077710660389267.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh13266319838996377387.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6093399875422024718.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh5387200544807561883.key Verifying host key using known hosts file > 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-ssh8830417548751207851.key Verifying host key using known hosts file > 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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-2080’ Running on prd-ubuntu20.04-docker-8c-8g-2088 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 30b5625222734a144936f26b3a3df0ac58ed1e4d (main) Commit message: "Merge pull request #1220 from hahattan/issue-1219" > 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 30b5625222734a144936f26b3a3df0ac58ed1e4d # timeout=10 > git rev-list --no-walk 32167e186cd280efad328d3bc9a5f43c05eae3ff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:48:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:48:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:48:33 ========================================================= 06:48:33 EdgeX Global Pipelines Version Info 06:48:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:48:34 ------------------- 06:48:34 stable info: 06:48:34 ------------------- 06:48:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:48:34 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:48:34 Message: update stable to v1.0.239 06:48:34 ------------------- 06:48:34 experimental info: 06:48:34 ------------------- 06:48:34 Commited By: **** collab-it+edgex@linuxfoundation.org 06:48:34 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 06:48:34 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:48:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:48:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:48:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:48:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:48:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:48:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:48:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:48:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:48:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:48:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 30b5625 [Pipeline] echo 06:48:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:48:35 provisioning config files... 06:48:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7372465371093252963tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:48:35 ---> docker-login.sh 06:48:35 nexus3.edgexfoundry.org:10001 06:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:35 Configure a credential helper to remove this warning. See 06:48:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:35 06:48:35 Login Succeeded 06:48:35 nexus3.edgexfoundry.org:10002 06:48:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:36 Configure a credential helper to remove this warning. See 06:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:36 06:48:36 Login Succeeded 06:48:36 nexus3.edgexfoundry.org:10003 06:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:36 Configure a credential helper to remove this warning. See 06:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:36 06:48:36 Login Succeeded 06:48:36 nexus3.edgexfoundry.org:10004 06:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:36 Configure a credential helper to remove this warning. See 06:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:36 06:48:36 Login Succeeded 06:48:36 docker.io 06:48:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:36 Configure a credential helper to remove this warning. See 06:48:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:36 06:48:36 Login Succeeded 06:48:36 ---> docker-login.sh ends [Pipeline] } 06:48:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:48:37 + git rev-list -1 --merges 30b5625222734a144936f26b3a3df0ac58ed1e4d~1..30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] echo 06:48:37 -----------> git rev-list -1 --merges 30b5625222734a144936f26b3a3df0ac58ed1e4d~1..30b5625222734a144936f26b3a3df0ac58ed1e4d 30b5625222734a144936f26b3a3df0ac58ed1e4d 06:48:37 30b5625222734a144936f26b3a3df0ac58ed1e4d [false] [Pipeline] sh 06:48:37 + git log --format=format:%s -1 30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] echo 06:48:37 ========================================================= 06:48:37 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:48:37 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:48:37 + git log --format=format:%s -1 30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] echo 06:48:37 [semverPrep] GIT_COMMIT: 30b5625222734a144936f26b3a3df0ac58ed1e4d, Commit Message: Merge pull request #1220 from hahattan/issue-1219 [Pipeline] echo 06:48:37 [semverPrep] This is not a build commit. [Pipeline] sh 06:48:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:48:38 + grep -v github /etc/ssh/ssh_known_hosts 06:48:38 + [ -e /tmp/ssh_known_hosts ] 06:48:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:48:38 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:48:38 sudo tee -a /etc/ssh/ssh_known_hosts 06:48:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:48:38 06:48:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:48:38 0.1.4: Pulling from edgex-devops/py-git-semver 06:48:38 b85a868b505f: Pulling fs layer 06:48:38 e2be974225ed: Pulling fs layer 06:48:38 339a4e72a1f5: Pulling fs layer 06:48:38 988bab9f4d93: Pulling fs layer 06:48:38 1469e6f7b9e6: Pulling fs layer 06:48:38 eaf3925da568: Pulling fs layer 06:48:38 bab4dde63d76: Pulling fs layer 06:48:38 bde34c3a00c8: Pulling fs layer 06:48:38 b352a97aabf1: Pulling fs layer 06:48:38 4872d77fe225: Pulling fs layer 06:48:38 5851b861e8e6: Pulling fs layer 06:48:38 1469e6f7b9e6: Waiting 06:48:38 eaf3925da568: Waiting 06:48:38 bab4dde63d76: Waiting 06:48:38 bde34c3a00c8: Waiting 06:48:38 b352a97aabf1: Waiting 06:48:38 4872d77fe225: Waiting 06:48:38 5851b861e8e6: Waiting 06:48:38 988bab9f4d93: Waiting 06:48:38 988bab9f4d93: Download complete 06:48:38 1469e6f7b9e6: Verifying Checksum 06:48:38 1469e6f7b9e6: Download complete 06:48:39 339a4e72a1f5: Verifying Checksum 06:48:39 339a4e72a1f5: Download complete 06:48:39 eaf3925da568: Verifying Checksum 06:48:39 eaf3925da568: Download complete 06:48:39 bde34c3a00c8: Verifying Checksum 06:48:39 bde34c3a00c8: Download complete 06:48:39 b352a97aabf1: Download complete 06:48:39 4872d77fe225: Verifying Checksum 06:48:39 4872d77fe225: Download complete 06:48:39 5851b861e8e6: Verifying Checksum 06:48:39 5851b861e8e6: Download complete 06:48:39 b85a868b505f: Verifying Checksum 06:48:39 b85a868b505f: Download complete 06:48:39 bab4dde63d76: Verifying Checksum 06:48:39 bab4dde63d76: Download complete 06:48:40 b85a868b505f: Pull complete 06:48:40 e2be974225ed: Pull complete 06:48:41 339a4e72a1f5: Pull complete 06:48:41 988bab9f4d93: Pull complete 06:48:41 1469e6f7b9e6: Pull complete 06:48:41 eaf3925da568: Pull complete 06:48:43 bab4dde63d76: Pull complete 06:48:43 bde34c3a00c8: Pull complete 06:48:43 b352a97aabf1: Pull complete 06:48:43 4872d77fe225: Pull complete 06:48:43 5851b861e8e6: Pull complete 06:48:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:48:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:48:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:48:43 prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container 06:48:43 $ 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 06:48:46 $ docker top 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 -eo pid,comm 06:48:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:48:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:48:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:48:46 [ssh-agent] Looking for ssh-agent implementation... 06:48:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:48:46 $ docker exec 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 ssh-agent 06:48:46 SSH_AUTH_SOCK=/tmp/ssh-j6GVfkYwE61S/agent.32 06:48:46 SSH_AGENT_PID=38 06:48:46 Running ssh-add (command line suppressed) 06:48:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8844835275305409960.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8844835275305409960.key) 06:48:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:48:47 + git tag --points-at HEAD [Pipeline] } 06:48:47 $ docker exec --env ******** --env ******** 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 ssh-agent -k 06:48:47 unset SSH_AUTH_SOCK; 06:48:47 unset SSH_AGENT_PID; 06:48:47 echo Agent pid 38 killed; 06:48:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:48:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:48:47 [ssh-agent] Looking for ssh-agent implementation... 06:48:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:48:47 $ docker exec 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 ssh-agent 06:48:47 SSH_AUTH_SOCK=/tmp/ssh-YiTh24mqKutQ/agent.70 06:48:47 SSH_AGENT_PID=76 06:48:47 Running ssh-add (command line suppressed) 06:48:47 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9273356064854788118.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9273356064854788118.key) 06:48:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:48:48 + git semver init 06:48:48 2022-09-29 06:48:48,202 [run_init] DEBUG init version:0.0.0 force:False 06:48:48 2022-09-29 06:48:48,202 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:48:48 2022-09-29 06:48:48,203 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 06:48:48 2022-09-29 06:48:48,203 [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) 06:48:49 2022-09-29 06:48:49,249 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 06:48:49 2022-09-29 06:48:49,250 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 06:48:49 2022-09-29 06:48:49,250 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:48:49 2022-09-29 06:48:49,250 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:48:49 2.3.0-dev.31 [Pipeline] } 06:48:49 $ docker exec --env ******** --env ******** 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 ssh-agent -k 06:48:49 unset SSH_AUTH_SOCK; 06:48:49 unset SSH_AGENT_PID; 06:48:49 echo Agent pid 76 killed; 06:48:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:48:50 + git semver [Pipeline] } 06:48:50 $ docker stop --time=1 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 06:48:51 $ docker rm -f 33ccde4e16407530b2c67be992a36ea03c9a4588474fa89d9e982ef3e6ca6da1 [Pipeline] // withDockerContainer [Pipeline] sh 06:48:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:48:52 Stashed 1 file(s) [Pipeline] echo 06:48:52 [edgeXSemver]: initialized semver on version 2.3.0-dev.31 [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 06:48:52 provisioning config files... 06:48:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17227420430215064563tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:48:52 ---> docker-login.sh 06:48:52 nexus3.edgexfoundry.org:10001 06:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:52 Configure a credential helper to remove this warning. See 06:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:52 06:48:52 Login Succeeded 06:48:52 nexus3.edgexfoundry.org:10002 06:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:52 Configure a credential helper to remove this warning. See 06:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:52 06:48:52 Login Succeeded 06:48:52 nexus3.edgexfoundry.org:10003 06:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:52 Configure a credential helper to remove this warning. See 06:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:52 06:48:52 Login Succeeded 06:48:52 nexus3.edgexfoundry.org:10004 06:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:52 Configure a credential helper to remove this warning. See 06:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:52 06:48:52 Login Succeeded 06:48:52 docker.io 06:48:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:48:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:48:53 Configure a credential helper to remove this warning. See 06:48:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:48:53 06:48:53 Login Succeeded 06:48:53 ---> docker-login.sh ends [Pipeline] } 06:48:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:48:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:48:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:48:53 ========================================================= 06:48:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:48:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:48:53 + 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 . 06:48:53 Sending build context to Docker daemon 9.907MB 06:48:53 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 06:48:53 Step 2/11 : FROM ${BASE} AS builder 06:48:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:48:53 2408cc74d12b: Pulling fs layer 06:48:53 ea60b727a1ce: Pulling fs layer 06:48:53 30c4a7721957: Pulling fs layer 06:48:53 370296b7ddb6: Pulling fs layer 06:48:53 7c6cee850709: Pulling fs layer 06:48:53 39a5fcdaea64: Pulling fs layer 06:48:53 d94ebbe4e438: Pulling fs layer 06:48:53 bcfd1f05c69d: Pulling fs layer 06:48:53 59ccb84bbe0f: Pulling fs layer 06:48:53 370296b7ddb6: Waiting 06:48:53 bcfd1f05c69d: Waiting 06:48:53 39a5fcdaea64: Waiting 06:48:53 d94ebbe4e438: Waiting 06:48:53 59ccb84bbe0f: Waiting 06:48:53 30c4a7721957: Verifying Checksum 06:48:53 30c4a7721957: Download complete 06:48:53 ea60b727a1ce: Verifying Checksum 06:48:53 ea60b727a1ce: Download complete 06:48:53 7c6cee850709: Verifying Checksum 06:48:53 7c6cee850709: Download complete 06:48:53 39a5fcdaea64: Verifying Checksum 06:48:53 39a5fcdaea64: Download complete 06:48:53 2408cc74d12b: Verifying Checksum 06:48:53 2408cc74d12b: Download complete 06:48:53 d94ebbe4e438: Verifying Checksum 06:48:53 d94ebbe4e438: Download complete 06:48:53 2408cc74d12b: Pull complete 06:48:54 ea60b727a1ce: Pull complete 06:48:54 30c4a7721957: Pull complete 06:48:54 59ccb84bbe0f: Download complete 06:48:54 bcfd1f05c69d: Verifying Checksum 06:48:54 bcfd1f05c69d: Download complete 06:48:54 370296b7ddb6: Verifying Checksum 06:48:54 370296b7ddb6: Download complete 06:48:58 370296b7ddb6: Pull complete 06:48:58 7c6cee850709: Pull complete 06:48:58 39a5fcdaea64: Pull complete 06:48:58 d94ebbe4e438: Pull complete 06:49:00 bcfd1f05c69d: Pull complete 06:49:01 59ccb84bbe0f: Pull complete 06:49:01 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 06:49:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:49:01 ---> a4fb48ad2a94 06:49:01 Step 3/11 : ARG MAKE=make build 06:49:07 Still waiting to schedule task 06:49:07 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:49:08 ---> Running in b071c8bf1ed4 06:49:08 Removing intermediate container b071c8bf1ed4 06:49:08 ---> ea917a0af58c 06:49:08 Step 4/11 : WORKDIR /device-sdk-go 06:49:08 ---> Running in 7bdc1250f8be 06:49:08 Removing intermediate container 7bdc1250f8be 06:49:08 ---> 02d81e79094e 06:49:08 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:49:08 ---> Running in 176e15d49107 06:49:08 Removing intermediate container 176e15d49107 06:49:08 ---> 1d3c935f6810 06:49:08 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:49:08 ---> Running in 3915f181430f 06:49:08 Removing intermediate container 3915f181430f 06:49:08 ---> ec2438515d60 06:49:08 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:49:08 ---> Running in b4117313a746 06:49:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:49:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:49:10 OK: 211 MiB in 51 packages 06:49:10 Removing intermediate container b4117313a746 06:49:10 ---> 412a565504e1 06:49:10 Step 8/11 : COPY go.mod vendor* ./ 06:49:10 ---> 8d46df359518 06:49:10 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:49:10 ---> Running in f8fd66ed90b4 06:49:37 Removing intermediate container f8fd66ed90b4 06:49:37 ---> 8c2f6ca96e51 06:49:37 Step 10/11 : COPY . . 06:49:37 ---> 2cf3b8001175 06:49:37 Step 11/11 : RUN ${MAKE} 06:49:37 ---> Running in 2e47f240f821 06:49:37 noop 06:49:37 Removing intermediate container 2e47f240f821 06:49:37 ---> 23e4a6c9843e 06:49:37 Successfully built 23e4a6c9843e 06:49:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:38 + docker inspect -f . ci-base-image-x86_64 06:49:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:38 prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container 06:49:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:49:38 $ docker top 98fb475dd9de3eeac29c766faec6405cd2be65388cb455bf4be10351193cc7ce -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:38 + go version 06:49:38 go version go1.18.3 linux/amd64 [Pipeline] } 06:49:38 $ docker stop --time=1 98fb475dd9de3eeac29c766faec6405cd2be65388cb455bf4be10351193cc7ce 06:49:40 $ docker rm -f 98fb475dd9de3eeac29c766faec6405cd2be65388cb455bf4be10351193cc7ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:40 + docker inspect -f . ci-base-image-x86_64 06:49:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:49:40 prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container 06:49:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:49:41 $ docker top b87205768611d428d0e4ca71ad725f132b75b9eb32734f752432f568aed23815 -eo pid,comm [Pipeline] { [Pipeline] sh 06:49:41 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 06:49:42 + make test 06:49:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:49:48 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:50:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:50:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:50:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:50:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:50:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:50:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements 06:50:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.059s coverage: 78.9% of statements 06:50:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:50:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.092s coverage: 60.0% of statements 06:50:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:50:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:50:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.123s coverage: 54.4% of statements 06:50:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:50:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:50:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:50:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:50:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.085s coverage: 65.1% of statements 06:50:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:50:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:50:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.765s coverage: 89.2% of statements 06:50:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:50:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 06:50:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:50:16 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 06:50:16 GO111MODULE=on go vet ./... 06:50:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:50:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:50:18 ./bin/test-attribution-txt.sh 06:50:18 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:50:18 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:50:18 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:50:18 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:50:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:50:18 $ docker stop --time=1 b87205768611d428d0e4ca71ad725f132b75b9eb32734f752432f568aed23815 06:50:23 $ docker rm -f b87205768611d428d0e4ca71ad725f132b75b9eb32734f752432f568aed23815 [Pipeline] // withDockerContainer [Pipeline] sh 06:50:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:50:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:50:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:50:24 + ls -al . 06:50:24 total 276 06:50:24 drwxrwxr-x 11 jenkins jenkins 4096 Sep 29 06:49 . 06:50:24 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 06:48 .. 06:50:24 -rw-rw-r-- 1 jenkins jenkins 140 Sep 29 06:48 .dockerignore 06:50:24 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 06:50 .git 06:50:24 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 06:48 .github 06:50:24 -rw-rw-r-- 1 jenkins jenkins 131 Sep 29 06:48 .gitignore 06:50:24 -rw-rw-r-- 1 jenkins jenkins 42 Sep 29 06:48 .golangci.yml 06:50:24 drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 06:48 .semver 06:50:24 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 29 06:48 CHANGELOG.md 06:50:24 -rw-rw-r-- 1 jenkins jenkins 677 Sep 29 06:48 GOVERNANCE.md 06:50:24 -rw-rw-r-- 1 jenkins jenkins 880 Sep 29 06:48 Jenkinsfile 06:50:24 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 29 06:48 LICENSE 06:50:24 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 29 06:48 Makefile 06:50:24 -rw-rw-r-- 1 jenkins jenkins 619 Sep 29 06:48 OWNERS.md 06:50:24 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 29 06:48 README.md 06:50:24 -rw-rw-r-- 1 jenkins jenkins 12 Sep 29 06:48 VERSION 06:50:24 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 06:48 bin 06:50:24 -rw-r--r-- 1 jenkins jenkins 100927 Sep 29 06:50 coverage.out 06:50:24 drwxrwxr-x 5 jenkins jenkins 4096 Sep 29 06:48 example 06:50:24 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 29 06:48 go.mod 06:50:24 -rw-rw-r-- 1 jenkins jenkins 37486 Sep 29 06:48 go.sum 06:50:24 drwxrwxr-x 14 jenkins jenkins 4096 Sep 29 06:48 internal 06:50:24 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 06:48 openapi 06:50:24 drwxrwxr-x 6 jenkins jenkins 4096 Sep 29 06:48 pkg 06:50:24 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 06:48 snap 06:50:24 -rw-rw-r-- 1 jenkins jenkins 222 Sep 29 06:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:24 + 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=30b5625222734a144936f26b3a3df0ac58ed1e4d --label arch=amd64 --label version=2.3.0-dev.31 . 06:50:24 Sending build context to Docker daemon 10.01MB 06:50:24 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:50:24 Step 2/25 : FROM ${BASE} AS builder 06:50:24 ---> 23e4a6c9843e 06:50:24 Step 3/25 : ARG MAKE=make build 06:50:25 ---> Running in 6b9cf1ac3b91 06:50:25 Removing intermediate container 6b9cf1ac3b91 06:50:25 ---> 0c61f640e1c3 06:50:25 Step 4/25 : WORKDIR /device-sdk-go 06:50:25 ---> Running in 2b303e2d80c7 06:50:25 Removing intermediate container 2b303e2d80c7 06:50:25 ---> 254589e4ff85 06:50:25 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:50:25 ---> Running in 762817481ee5 06:50:25 Removing intermediate container 762817481ee5 06:50:25 ---> b3c248bcaec6 06:50:25 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:25 ---> Running in aacb04034ec0 06:50:26 Removing intermediate container aacb04034ec0 06:50:26 ---> 02bacffdb77e 06:50:26 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:50:26 ---> Running in 4aed73d3eaee 06:50:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:50:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:50:27 OK: 211 MiB in 51 packages 06:50:27 Removing intermediate container 4aed73d3eaee 06:50:27 ---> da70f9e18b23 06:50:27 Step 8/25 : COPY go.mod vendor* ./ 06:50:27 ---> af672a2cec2e 06:50:27 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:50:27 ---> Running in ded6556458d2 06:50:28 Removing intermediate container ded6556458d2 06:50:28 ---> 59de92991020 06:50:28 Step 10/25 : COPY . . 06:50:28 ---> 1df632e3d837 06:50:28 Step 11/25 : RUN ${MAKE} 06:50:28 ---> Running in 91b95c2fb58c 06:50:29 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.31" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:50:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2090 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 06:50:39 Running in /w/workspace/device-sdk-go/106 [Pipeline] { [Pipeline] checkout 06:50:39 The recommended git tool is: git 06:50:45 using credential edgex-jenkins-ssh 06:50:45 Cloning the remote Git repository 06:50:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:50:45 > git init /w/workspace/device-sdk-go/106 # timeout=10 06:50:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:50:45 > git --version # timeout=10 06:50:45 > git --version # 'git version 2.25.1' 06:50:45 using GIT_SSH to set credentials SSH Credentials for GitHub 06:50:45 Verifying host key using known hosts file 06:50:46 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 06:50:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:50:47 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:50:48 Avoid second fetch 06:50:48 Checking out Revision 30b5625222734a144936f26b3a3df0ac58ed1e4d (main) 06:50:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:50:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:50:48 > git config core.sparsecheckout # timeout=10 06:50:48 > git checkout -f 30b5625222734a144936f26b3a3df0ac58ed1e4d # timeout=10 06:50:48 Commit message: "Merge pull request #1220 from hahattan/issue-1219" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:50:49 Removing intermediate container 91b95c2fb58c 06:50:49 ---> 221483e88ed2 06:50:49 Step 12/25 : FROM alpine:3.16 06:50:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:50:49 % Total % Received % Xferd Average Speed Time Time Time Current 06:50:49 Dload Upload Total Spent Left Speed 06:50:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 61 12602 61 7747 0 0 61000 0 --:--:-- --:--:-- --:--:-- 60523 100 12602 100 12602 0 0 97689 0 --:--:-- --:--:-- --:--:-- 97689 [Pipeline] sh 06:50:50 3.16: Pulling from library/alpine 06:50:50 213ec9aee27d: Pulling fs layer 06:50:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:50:50 213ec9aee27d: Verifying Checksum 06:50:50 213ec9aee27d: Download complete 06:50:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:50:50 + sudo tee /etc/docker/daemon.new 06:50:50 { 06:50:50 "registry-mirrors": [ 06:50:50 "https://nexus3.edgexfoundry.org:10001" 06:50:50 ], 06:50:50 "bip": "10.250.0.254/24", 06:50:50 "hosts": [ 06:50:50 "tcp://0.0.0.0:5555", 06:50:50 "unix:///var/run/docker.sock" 06:50:50 ], 06:50:50 "mtu": 1458, 06:50:50 "selinux-enabled": true, 06:50:50 "seccomp-profile": "/etc/docker/seccomp.json" 06:50:50 } [Pipeline] sh 06:50:50 213ec9aee27d: Pull complete 06:50:50 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:50:50 Status: Downloaded newer image for alpine:3.16 06:50:50 ---> 9c6f07244728 06:50:50 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:50:50 ---> Running in 8a4dd0d8228f 06:50:51 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:50:51 Removing intermediate container 8a4dd0d8228f 06:50:51 ---> 92ecc34ddc0c 06:50:51 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:50:51 ---> Running in 1ade15843f69 06:50:51 + sudo service docker restart 06:50:51 Removing intermediate container 1ade15843f69 06:50:51 ---> b957e499f470 06:50:51 Step 15/25 : RUN apk add --update --no-cache zeromq 06:50:51 ---> Running in 403d43039e41 06:50:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:50:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:50:52 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:50:53 (2/5) Installing libsodium (1.0.18-r0) 06:50:53 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:50:53 (4/5) Installing libzmq (4.3.4-r0) 06:50:53 (5/5) Installing zeromq (4.3.4-r0) 06:50:53 Executing busybox-1.35.0-r17.trigger 06:50:53 OK: 8 MiB in 19 packages 06:50:54 Removing intermediate container 403d43039e41 06:50:54 ---> 6d6f0f8589ac 06:50:54 Step 16/25 : WORKDIR / 06:50:54 ---> Running in 829fc274f198 06:50:54 Removing intermediate container 829fc274f198 06:50:54 ---> a1af955dd816 06:50:54 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:50:54 ---> 5864e724538a 06:50:54 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:50:55 ---> 1ca7541ed863 06:50:55 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:50:55 ---> 37555a2939d5 06:50:55 Step 20/25 : EXPOSE 59999 06:50:55 ---> Running in 558accca0158 06:50:55 Removing intermediate container 558accca0158 06:50:55 ---> 4200d5c7ab5e 06:50:55 Step 21/25 : ENTRYPOINT ["/device-simple"] 06:50:55 ---> Running in 62bf48c95a8d 06:50:55 Removing intermediate container 62bf48c95a8d 06:50:55 ---> 4c6bcd76e987 06:50:55 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:50:55 ---> Running in f3c6c494e2cb 06:50:56 Removing intermediate container f3c6c494e2cb 06:50:56 ---> 63e26a426111 06:50:56 Step 23/25 : LABEL arch=amd64 06:50:56 ---> Running in faf49ac54319 06:50:56 Removing intermediate container faf49ac54319 06:50:56 ---> 2c4ef21bede9 06:50:56 Step 24/25 : LABEL git_sha=30b5625222734a144936f26b3a3df0ac58ed1e4d 06:50:56 ---> Running in 2d53ae195aea 06:50:56 Removing intermediate container 2d53ae195aea 06:50:56 ---> 246a44d011b2 06:50:56 Step 25/25 : LABEL version=2.3.0-dev.31 06:50:56 ---> Running in d001a99f6d2e 06:50:57 Removing intermediate container d001a99f6d2e 06:50:57 ---> ffaeabb77794 06:50:57 [Warning] One or more build-args [ARCH] were not consumed 06:50:57 Successfully built ffaeabb77794 06:50:57 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:50:57 06:50:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:50:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:50:57 latest: Pulling from edgex-lftools-log-publisher 06:50:57 5eb5b503b376: Pulling fs layer 06:50:57 5c69ac0246d0: Pulling fs layer 06:50:57 ec43610c2a17: Pulling fs layer 06:50:57 3a2ae6a8a46f: Pulling fs layer 06:50:57 33b1e0a273af: Pulling fs layer 06:50:57 5d3b04190fa2: Pulling fs layer 06:50:57 2f39f015ded8: Pulling fs layer 06:50:57 33b1e0a273af: Waiting 06:50:57 5d3b04190fa2: Waiting 06:50:57 2f39f015ded8: Waiting 06:50:57 3a2ae6a8a46f: Waiting 06:50:57 5c69ac0246d0: Verifying Checksum 06:50:57 5c69ac0246d0: Download complete 06:50:57 3a2ae6a8a46f: Verifying Checksum 06:50:57 3a2ae6a8a46f: Download complete 06:50:57 33b1e0a273af: Verifying Checksum 06:50:57 33b1e0a273af: Download complete 06:50:57 ec43610c2a17: Verifying Checksum 06:50:57 ec43610c2a17: Download complete 06:50:57 5d3b04190fa2: Verifying Checksum 06:50:57 5d3b04190fa2: Download complete 06:50:57 5eb5b503b376: Verifying Checksum 06:50:57 5eb5b503b376: Download complete 06:50:58 2f39f015ded8: Download complete 06:50:59 5eb5b503b376: Pull complete 06:50:59 5c69ac0246d0: Pull complete 06:51:00 ec43610c2a17: Pull complete 06:51:00 3a2ae6a8a46f: Pull complete 06:51:00 33b1e0a273af: Pull complete 06:51:00 5d3b04190fa2: Pull complete 06:51:04 2f39f015ded8: Pull complete 06:51:04 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:51:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:51:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:51:04 prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container 06:51:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:51:08 $ docker top e5bf859acecae29e69e615c7b807d1ab7970648f53fea4171780a2b45991a338 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:51:08 ---> job-cost.sh 06:51:08 lf-activate-venv: SKIPPING 06:51:08 INFO: No Stack... 06:51:09 INFO: Retrieving Pricing Info for: v3-standard-8 06:51:09 INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:51:09 provisioning config files... 06:51:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/106@tmp/config3775786255209151957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:51:09 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 06:51:09 + cut -d, -f6 [Pipeline] lock 06:51:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] 06:51:09 Resource [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] did not exist. Created. 06:51:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:51:09 ---> docker-login.sh 06:51:09 nexus3.edgexfoundry.org:10001 06:51:10 + echo total: 0.2199999988079071 [Pipeline] stash 06:51:10 Stashed 1 file(s) [Pipeline] } 06:51:10 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 06:51:10 $ docker stop --time=1 e5bf859acecae29e69e615c7b807d1ab7970648f53fea4171780a2b45991a338 06:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:10 Configure a credential helper to remove this warning. See 06:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:10 06:51:10 Login Succeeded 06:51:10 nexus3.edgexfoundry.org:10002 06:51:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:10 Configure a credential helper to remove this warning. See 06:51:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:10 06:51:10 Login Succeeded 06:51:11 nexus3.edgexfoundry.org:10003 06:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:11 $ docker rm -f e5bf859acecae29e69e615c7b807d1ab7970648f53fea4171780a2b45991a338 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:11 Configure a credential helper to remove this warning. See 06:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:11 06:51:11 Login Succeeded 06:51:11 nexus3.edgexfoundry.org:10004 06:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:11 Configure a credential helper to remove this warning. See 06:51:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:11 06:51:11 Login Succeeded 06:51:11 docker.io 06:51:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:51:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:51:12 Configure a credential helper to remove this warning. See 06:51:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:51:12 06:51:12 Login Succeeded 06:51:12 ---> docker-login.sh ends [Pipeline] } 06:51:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:51:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:51:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:51:12 ========================================================= 06:51:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:51:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:51:13 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 06:51:13 Sending build context to Docker daemon 5.319MB 06:51:13 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 06:51:13 Step 2/11 : FROM ${BASE} AS builder 06:51:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:51:13 b3c136eddcbf: Pulling fs layer 06:51:13 c0a3192eca97: Pulling fs layer 06:51:13 a050256f5b6f: Pulling fs layer 06:51:13 656be50a0ddc: Pulling fs layer 06:51:13 2bbca73fdf42: Pulling fs layer 06:51:13 46d945488cbd: Pulling fs layer 06:51:13 8a5474983e97: Pulling fs layer 06:51:13 329c88fbcd65: Pulling fs layer 06:51:13 656be50a0ddc: Waiting 06:51:13 2bbca73fdf42: Waiting 06:51:13 46d945488cbd: Waiting 06:51:13 8a5474983e97: Waiting 06:51:13 329c88fbcd65: Waiting 06:51:13 a050256f5b6f: Verifying Checksum 06:51:13 a050256f5b6f: Download complete 06:51:13 c0a3192eca97: Verifying Checksum 06:51:13 c0a3192eca97: Download complete 06:51:13 2bbca73fdf42: Verifying Checksum 06:51:13 2bbca73fdf42: Download complete 06:51:13 46d945488cbd: Download complete 06:51:13 b3c136eddcbf: Verifying Checksum 06:51:13 b3c136eddcbf: Download complete 06:51:14 b3c136eddcbf: Pull complete 06:51:14 329c88fbcd65: Verifying Checksum 06:51:14 329c88fbcd65: Download complete 06:51:15 c0a3192eca97: Pull complete 06:51:15 a050256f5b6f: Pull complete 06:51:15 8a5474983e97: Verifying Checksum 06:51:15 8a5474983e97: Download complete 06:51:16 656be50a0ddc: Verifying Checksum 06:51:16 656be50a0ddc: Download complete 06:51:28 656be50a0ddc: Pull complete 06:51:28 2bbca73fdf42: Pull complete 06:51:28 46d945488cbd: Pull complete 06:51:35 8a5474983e97: Pull complete 06:51:37 329c88fbcd65: Pull complete 06:51:37 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 06:51:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:51:37 ---> ff4287adb874 06:51:37 Step 3/11 : ARG MAKE=make build 06:51:39 ---> Running in 13dceedbab43 06:51:39 Removing intermediate container 13dceedbab43 06:51:39 ---> 54a4db6d1e3b 06:51:39 Step 4/11 : WORKDIR /device-sdk-go 06:51:39 ---> Running in 8f792c7fcd76 06:51:39 Removing intermediate container 8f792c7fcd76 06:51:39 ---> 015a11b0c051 06:51:39 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:51:39 ---> Running in a4fcb6333e74 06:51:40 Removing intermediate container a4fcb6333e74 06:51:40 ---> 4272009eac0b 06:51:40 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:51:40 ---> Running in c5d0b7cdc55d 06:51:42 Removing intermediate container c5d0b7cdc55d 06:51:42 ---> 8a979f343b48 06:51:42 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:51:42 ---> Running in 2a6f99bb76a1 06:51:43 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:51:44 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:51:45 OK: 221 MiB in 51 packages 06:51:45 Removing intermediate container 2a6f99bb76a1 06:51:45 ---> 1521d1ecd4f3 06:51:45 Step 8/11 : COPY go.mod vendor* ./ 06:51:46 ---> 58d666ee7a2e 06:51:46 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:51:46 ---> Running in 30654c3c3a60 06:52:33 Removing intermediate container 30654c3c3a60 06:52:33 ---> b0163b9d6ec2 06:52:33 Step 10/11 : COPY . . 06:52:35 ---> 5fad96efd4cb 06:52:35 Step 11/11 : RUN ${MAKE} 06:52:35 ---> Running in 7320de43d9e7 06:52:36 noop 06:52:37 Removing intermediate container 7320de43d9e7 06:52:37 ---> 3be6c2ec61d7 06:52:37 Successfully built 3be6c2ec61d7 06:52:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:37 + docker inspect -f . ci-base-image-arm64 06:52:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:52:37 prd-ubuntu20.04-docker-arm64-4c-16g-2090 does not seem to be running inside a container 06:52:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/106 -v /w/workspace/device-sdk-go/106:/w/workspace/device-sdk-go/106:rw,z -v /w/workspace/device-sdk-go/106@tmp:/w/workspace/device-sdk-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:52:39 $ docker top f62fed228341bb6b3ffa2055d0e6552fe80ae04461e67119d8e645134103b458 -eo pid,comm [Pipeline] { [Pipeline] sh 06:52:40 + go version 06:52:40 go version go1.18.3 linux/arm64 [Pipeline] } 06:52:40 $ docker stop --time=1 f62fed228341bb6b3ffa2055d0e6552fe80ae04461e67119d8e645134103b458 06:52:41 $ docker rm -f f62fed228341bb6b3ffa2055d0e6552fe80ae04461e67119d8e645134103b458 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:42 + docker inspect -f . ci-base-image-arm64 06:52:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:52:42 prd-ubuntu20.04-docker-arm64-4c-16g-2090 does not seem to be running inside a container 06:52:42 $ 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/106 -v /w/workspace/device-sdk-go/106:/w/workspace/device-sdk-go/106:rw,z -v /w/workspace/device-sdk-go/106@tmp:/w/workspace/device-sdk-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:52:44 $ docker top bd072c58d71889e52bba646ae0d459fc56ce6f0f09d3ae1f6cf6013c7125f858 -eo pid,comm [Pipeline] { [Pipeline] sh 06:52:44 + git config --global --add safe.directory /w/workspace/device-sdk-go/106 [Pipeline] fileExists [Pipeline] sh 06:52:45 + make test 06:52:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:53:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:55:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:55:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.501s coverage: 27.6% of statements 06:55:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.509s coverage: 78.9% of statements 06:55:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:55:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.697s coverage: 60.0% of statements 06:55:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:55:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:55:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.596s coverage: 54.4% of statements 06:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:55:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.477s coverage: 65.1% of statements 06:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:55:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.287s coverage: 89.2% of statements 06:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:55:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.273s coverage: 4.7% of statements 06:55:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:55:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:55:52 GO111MODULE=on go vet ./... 06:57:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:57:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:57:28 ./bin/test-attribution-txt.sh 06:57:28 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:57:28 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:57:28 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:57:28 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:57:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:57:28 $ docker stop --time=1 bd072c58d71889e52bba646ae0d459fc56ce6f0f09d3ae1f6cf6013c7125f858 06:57:30 $ docker rm -f bd072c58d71889e52bba646ae0d459fc56ce6f0f09d3ae1f6cf6013c7125f858 [Pipeline] // withDockerContainer [Pipeline] sh 06:57:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:57:31 Warning: overwriting stash ‘coverage-report’ 06:57:32 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:57:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:57:33 + ls -al . 06:57:33 total 272 06:57:33 drwxrwxr-x 10 jenkins jenkins 4096 Sep 29 06:52 . 06:57:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 06:50 .. 06:57:33 -rw-rw-r-- 1 jenkins jenkins 140 Sep 29 06:50 .dockerignore 06:57:33 drwxrwxr-x 8 jenkins jenkins 4096 Sep 29 06:50 .git 06:57:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 06:50 .github 06:57:33 -rw-rw-r-- 1 jenkins jenkins 131 Sep 29 06:50 .gitignore 06:57:33 -rw-rw-r-- 1 jenkins jenkins 42 Sep 29 06:50 .golangci.yml 06:57:33 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 29 06:50 CHANGELOG.md 06:57:33 -rw-rw-r-- 1 jenkins jenkins 677 Sep 29 06:50 GOVERNANCE.md 06:57:33 -rw-rw-r-- 1 jenkins jenkins 880 Sep 29 06:50 Jenkinsfile 06:57:33 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 29 06:50 LICENSE 06:57:33 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 29 06:50 Makefile 06:57:33 -rw-rw-r-- 1 jenkins jenkins 619 Sep 29 06:50 OWNERS.md 06:57:33 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 29 06:50 README.md 06:57:33 -rw-rw-r-- 1 jenkins jenkins 12 Sep 29 06:48 VERSION 06:57:33 drwxrwxr-x 2 jenkins jenkins 4096 Sep 29 06:50 bin 06:57:33 -rw-r--r-- 1 jenkins jenkins 100928 Sep 29 06:55 coverage.out 06:57:33 drwxrwxr-x 5 jenkins jenkins 4096 Sep 29 06:50 example 06:57:33 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 29 06:50 go.mod 06:57:33 -rw-rw-r-- 1 jenkins jenkins 37486 Sep 29 06:50 go.sum 06:57:33 drwxrwxr-x 14 jenkins jenkins 4096 Sep 29 06:50 internal 06:57:33 drwxrwxr-x 3 jenkins jenkins 4096 Sep 29 06:50 openapi 06:57:33 drwxrwxr-x 6 jenkins jenkins 4096 Sep 29 06:50 pkg 06:57:33 drwxrwxr-x 4 jenkins jenkins 4096 Sep 29 06:50 snap 06:57:33 -rw-rw-r-- 1 jenkins jenkins 222 Sep 29 06:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:57:33 + 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=30b5625222734a144936f26b3a3df0ac58ed1e4d --label arch=arm64 --label version=2.3.0-dev.31 . 06:57:33 Sending build context to Docker daemon 5.421MB 06:57:33 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 06:57:33 Step 2/25 : FROM ${BASE} AS builder 06:57:33 ---> 3be6c2ec61d7 06:57:33 Step 3/25 : ARG MAKE=make build 06:57:34 ---> Running in 2f257a29b9ab 06:57:34 Removing intermediate container 2f257a29b9ab 06:57:34 ---> 809353634186 06:57:34 Step 4/25 : WORKDIR /device-sdk-go 06:57:34 ---> Running in d516de7962fd 06:57:34 Removing intermediate container d516de7962fd 06:57:34 ---> 48dae8522578 06:57:34 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:57:34 ---> Running in f02b45c1cb54 06:57:35 Removing intermediate container f02b45c1cb54 06:57:35 ---> 4bd61009b223 06:57:35 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 06:57:35 ---> Running in 66cf193e6455 06:57:37 Removing intermediate container 66cf193e6455 06:57:37 ---> c5a7c53d06c8 06:57:37 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:57:37 ---> Running in 0fc06ccd36f6 06:57:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:57:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:57:40 OK: 221 MiB in 51 packages 06:57:41 Removing intermediate container 0fc06ccd36f6 06:57:41 ---> 20475159c0d4 06:57:41 Step 8/25 : COPY go.mod vendor* ./ 06:57:42 ---> fb6367aebb90 06:57:42 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:57:42 ---> Running in 5ffd23db8c66 06:57:43 Removing intermediate container 5ffd23db8c66 06:57:43 ---> 7071d6bebaf7 06:57:43 Step 10/25 : COPY . . 06:57:44 ---> f1eb4f98f3e2 06:57:44 Step 11/25 : RUN ${MAKE} 06:57:44 ---> Running in e19e7c9157d8 06:57:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.31" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:00:07 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:00:07 Removing intermediate container e19e7c9157d8 07:00:07 ---> 1f6cf828dea0 07:00:07 Step 12/25 : FROM alpine:3.16 07:00:07 3.16: Pulling from library/alpine 07:00:07 9b18e9b68314: Pulling fs layer 07:00:07 9b18e9b68314: Verifying Checksum 07:00:07 9b18e9b68314: Download complete 07:00:07 9b18e9b68314: Pull complete 07:00:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:00:07 Status: Downloaded newer image for alpine:3.16 07:00:07 ---> a6215f271958 07:00:07 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:00:07 ---> Running in b076d4e6cddb 07:00:08 Removing intermediate container b076d4e6cddb 07:00:08 ---> d1ff22276621 07:00:08 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:00:08 ---> Running in de242283da2e 07:00:09 Removing intermediate container de242283da2e 07:00:09 ---> 32c35ce35ca7 07:00:09 Step 15/25 : RUN apk add --update --no-cache zeromq 07:00:09 ---> Running in 6634334a4004 07:00:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:00:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:00:13 (1/5) Installing libgcc (11.2.1_git20220219-r2) 07:00:13 (2/5) Installing libsodium (1.0.18-r0) 07:00:13 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 07:00:13 (4/5) Installing libzmq (4.3.4-r0) 07:00:13 (5/5) Installing zeromq (4.3.4-r0) 07:00:13 Executing busybox-1.35.0-r17.trigger 07:00:13 OK: 8 MiB in 19 packages 07:00:14 Removing intermediate container 6634334a4004 07:00:14 ---> 567e609d78fe 07:00:14 Step 16/25 : WORKDIR / 07:00:14 ---> Running in b2fb8e60f6d5 07:00:14 Removing intermediate container b2fb8e60f6d5 07:00:14 ---> 34c86c5fa9d5 07:00:14 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:00:15 ---> f9c6f59e678e 07:00:15 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:00:16 ---> ad8ffb5f3640 07:00:16 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:00:16 ---> 5f1e98b9385b 07:00:16 Step 20/25 : EXPOSE 59999 07:00:17 ---> Running in 4b84217fad9e 07:00:17 Removing intermediate container 4b84217fad9e 07:00:17 ---> 2a8555e862aa 07:00:17 Step 21/25 : ENTRYPOINT ["/device-simple"] 07:00:17 ---> Running in 8ad5e4c83062 07:00:17 Removing intermediate container 8ad5e4c83062 07:00:17 ---> 011f1d6856c5 07:00:17 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:00:17 ---> Running in 97d9dc08d0cd 07:00:17 Removing intermediate container 97d9dc08d0cd 07:00:17 ---> 836886518e55 07:00:17 Step 23/25 : LABEL arch=arm64 07:00:17 ---> Running in 4e95f76c806a 07:00:18 Removing intermediate container 4e95f76c806a 07:00:18 ---> ba422b7d0a5b 07:00:18 Step 24/25 : LABEL git_sha=30b5625222734a144936f26b3a3df0ac58ed1e4d 07:00:18 ---> Running in 323ce500c241 07:00:18 Removing intermediate container 323ce500c241 07:00:18 ---> 483369d24e54 07:00:18 Step 25/25 : LABEL version=2.3.0-dev.31 07:00:18 ---> Running in 113a0bbeb31e 07:00:18 Removing intermediate container 113a0bbeb31e 07:00:18 ---> d52c4695d719 07:00:18 [Warning] One or more build-args [ARCH] were not consumed 07:00:18 Successfully built d52c4695d719 07:00:18 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 07:00:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:00:19 07:00:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:00:19 arm64: Pulling from edgex-lftools-log-publisher 07:00:19 8998bd30e6a1: Pulling fs layer 07:00:19 04944245beec: Pulling fs layer 07:00:19 699f458cf7ca: Pulling fs layer 07:00:19 765212b225bb: Pulling fs layer 07:00:19 f23df028b6ca: Pulling fs layer 07:00:19 d65c8cfc05b1: Pulling fs layer 07:00:19 2437ff75d9bd: Pulling fs layer 07:00:19 765212b225bb: Waiting 07:00:19 f23df028b6ca: Waiting 07:00:19 d65c8cfc05b1: Waiting 07:00:19 2437ff75d9bd: Waiting 07:00:20 04944245beec: Verifying Checksum 07:00:20 04944245beec: Download complete 07:00:20 765212b225bb: Verifying Checksum 07:00:20 765212b225bb: Download complete 07:00:20 f23df028b6ca: Verifying Checksum 07:00:20 f23df028b6ca: Download complete 07:00:20 d65c8cfc05b1: Verifying Checksum 07:00:20 d65c8cfc05b1: Download complete 07:00:20 699f458cf7ca: Verifying Checksum 07:00:20 699f458cf7ca: Download complete 07:00:20 8998bd30e6a1: Verifying Checksum 07:00:20 8998bd30e6a1: Download complete 07:00:23 2437ff75d9bd: Verifying Checksum 07:00:23 2437ff75d9bd: Download complete 07:00:24 8998bd30e6a1: Pull complete 07:00:25 04944245beec: Pull complete 07:00:26 699f458cf7ca: Pull complete 07:00:26 765212b225bb: Pull complete 07:00:27 f23df028b6ca: Pull complete 07:00:27 d65c8cfc05b1: Pull complete 07:00:42 2437ff75d9bd: Pull complete 07:00:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:00:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:00:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:00:42 prd-ubuntu20.04-docker-arm64-4c-16g-2090 does not seem to be running inside a container 07:00: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/106 -v /w/workspace/device-sdk-go/106:/w/workspace/device-sdk-go/106:rw,z -v /w/workspace/device-sdk-go/106@tmp:/w/workspace/device-sdk-go/106@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 07:00:45 $ docker top 06800614696d187602b3ea70acae3b92bec991cc0f21122c5527c92a7f06e558 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:00:46 ---> job-cost.sh 07:00:46 lf-activate-venv: SKIPPING 07:00:46 INFO: No Stack... 07:00:46 INFO: Retrieving Pricing Info for: v3-standard-4 07:00:47 INFO: Archiving Costs [Pipeline] sh 07:00:47 + cat /w/workspace/device-sdk-go/106/archives/cost.csv 07:00:47 + cut -d, -f6 [Pipeline] lock 07:00:47 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] 07:00:47 Resource [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] did not exist. Created. 07:00:47 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:00:47 /w/workspace/device-sdk-go/106@tmp/durable-f802a427/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:00:48 + echo total: 0.10999999940395355 [Pipeline] stash 07:00:48 Warning: overwriting stash ‘stack-cost’ 07:00:48 Stashed 1 file(s) [Pipeline] } 07:00:48 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 07:00:48 $ docker stop --time=1 06800614696d187602b3ea70acae3b92bec991cc0f21122c5527c92a7f06e558 07:00:49 $ docker rm -f 06800614696d187602b3ea70acae3b92bec991cc0f21122c5527c92a7f06e558 [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 07:00:50 provisioning config files... 07:00:50 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14900852095693031968tmp [Pipeline] { [Pipeline] sh 07:00:50 + set +x 07:00:50 + curl -s https://codecov.io/bash 07:00:50 + bash -s -- 07:00:50 07:00:50 _____ _ 07:00:50 / ____| | | 07:00:50 | | ___ __| | ___ ___ _____ __ 07:00:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:00:50 | |___| (_) | (_| | __/ (_| (_) \ V / 07:00:50 \_____\___/ \__,_|\___|\___\___/ \_/ 07:00:50 Bash-1.0.6 07:00:50 07:00:50 07:00:50 ==> git version 2.25.1 found 07:00:50 ==> 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 07:00:50 Release-Date: 2020-01-08 07:00:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:00:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:00:50 ==> Jenkins CI detected. 07:00:50 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 07:00:50 project root: . 07:00:50 --> token set from env 07:00:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:00:50 ==> Running gcov in . (disable via -X gcov) 07:00:50 ==> Python coveragepy not found 07:00:50 ==> Searching for coverage reports in: 07:00:50 + . 07:00:50 -> Found 1 reports 07:00:50 ==> Detecting git/mercurial file structure 07:00:50 ==> Reading reports 07:00:50 + ./coverage.out bytes=100928 07:00:50 ==> Appending adjustments 07:00:50 https://docs.codecov.io/docs/fixing-reports 07:00:50 + Found adjustments 07:00:50 ==> Gzipping contents 07:00:50 16K /tmp/codecov.DVWkjP.gz 07:00:50 ==> Uploading reports 07:00:50 url: https://codecov.io 07:00:50 query: branch=main&commit=30b5625222734a144936f26b3a3df0ac58ed1e4d&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:00:50 -> Pinging Codecov 07:00:50 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=30b5625222734a144936f26b3a3df0ac58ed1e4d&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:00:51 -> Uploading to 07:00:51 https://storage.googleapis.com/codecov/v4/raw/2022-09-29/7E55EF52A471D76F132DFD9A03CDDE97/30b5625222734a144936f26b3a3df0ac58ed1e4d/d5385a2f-10c4-4d6f-84d3-bb1452a09a70.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220929%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220929T070051Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=709671dd41d24d74dce01f456e44008c523ff77172cfc61145ee84977e5f45ac 07:00:51 % Total % Received % Xferd Average Speed Time Time Time Current 07:00:51 Dload Upload Total Spent Left Speed 07:00:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14526 0 0 100 14526 0 65728 --:--:-- --:--:-- --:--:-- 65728 07:00:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] } 07:00:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:00:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:00:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:00:52 07:00:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:00:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:00:53 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:00:53 df9b9388f04a: Pulling fs layer 07:00:53 52dc419b0ee2: Pulling fs layer 07:00:53 25bc292e5bac: Pulling fs layer 07:00:53 114826534d7a: Pulling fs layer 07:00:53 4657fd5d0bcf: Pulling fs layer 07:00:53 6ad1cebc031e: Pulling fs layer 07:00:53 8a3aa393b2d8: Pulling fs layer 07:00:53 4657fd5d0bcf: Waiting 07:00:53 8a3aa393b2d8: Waiting 07:00:53 6ad1cebc031e: Waiting 07:00:53 114826534d7a: Waiting 07:00:53 25bc292e5bac: Verifying Checksum 07:00:53 25bc292e5bac: Download complete 07:00:53 52dc419b0ee2: Verifying Checksum 07:00:53 52dc419b0ee2: Download complete 07:00:53 4657fd5d0bcf: Verifying Checksum 07:00:53 4657fd5d0bcf: Download complete 07:00:53 df9b9388f04a: Verifying Checksum 07:00:53 df9b9388f04a: Download complete 07:00:53 6ad1cebc031e: Verifying Checksum 07:00:53 6ad1cebc031e: Download complete 07:00:53 df9b9388f04a: Pull complete 07:00:54 52dc419b0ee2: Pull complete 07:00:54 114826534d7a: Verifying Checksum 07:00:54 114826534d7a: Download complete 07:00:54 8a3aa393b2d8: Verifying Checksum 07:00:54 25bc292e5bac: Pull complete 07:00:57 114826534d7a: Pull complete 07:00:57 4657fd5d0bcf: Pull complete 07:00:58 6ad1cebc031e: Pull complete 07:01:00 8a3aa393b2d8: Pull complete 07:01:00 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:01:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:01:00 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:00 prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container 07:01:00 $ 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 07:01:05 $ docker top 6cbc95e41c174604d64131d13baaa93de2e4a29a8d11edad3ea16522e09c876f -eo pid,comm [Pipeline] { [Pipeline] echo 07:01:05 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 07:01:05 + set -o pipefail 07:01:05 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 07:01:13 07:01:13 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 07:01:13 07:01:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/faeea2f2-c702-4537-82ab-91b3985599a6 07:01:13 07:01:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:01:13 07:01:14 [Pipeline] } 07:01:14 $ docker stop --time=1 6cbc95e41c174604d64131d13baaa93de2e4a29a8d11edad3ea16522e09c876f 07:01:17 $ docker rm -f 6cbc95e41c174604d64131d13baaa93de2e4a29a8d11edad3ea16522e09c876f [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 07:01:18 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:01:18 provisioning config files... 07:01:18 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11953220983208872699tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:01:18 --> edgex-publish-swagger.sh 07:01:18 === Publish openapi/v2 API === 07:01:18 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 07:01:18 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 07:01:18 % Total % Received % Xferd Average Speed Time Time Time Current 07:01:18 Dload Upload Total Spent Left Speed 07:01:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 61909 --:--:-- --:--:-- --:--:-- 61838 100 53552 0 0 100 53552 0 61909 --:--:-- --:--:-- --:--:-- 61838 07:01:19 07:01:19 [Pipeline] } 07:01:19 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 07:01:19 + git log --format=format:%s -1 30b5625222734a144936f26b3a3df0ac58ed1e4d [Pipeline] sh 07:01:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:01:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:01:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:20 prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container 07:01:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:01:20 $ docker top f36159e5e0b17dae655031373b7b05786258065fdfcc0641ee65c77c4935de9c -eo pid,comm 07:01:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:01:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:01:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:01:20 [ssh-agent] Looking for ssh-agent implementation... 07:01:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:01:20 $ docker exec f36159e5e0b17dae655031373b7b05786258065fdfcc0641ee65c77c4935de9c ssh-agent 07:01:21 SSH_AUTH_SOCK=/tmp/ssh-3yoBCdtdhpqH/agent.33 07:01:21 SSH_AGENT_PID=39 07:01:21 Running ssh-add (command line suppressed) 07:01:21 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16518154016955655042.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16518154016955655042.key) 07:01:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:01:21 + git semver tag 07:01:21 2022-09-29 07:01:21,666 [run_tag] DEBUG tag force:False 07:01:21 2022-09-29 07:01:21,666 [check_head_tag] DEBUG check head tag 07:01:21 2022-09-29 07:01:21,667 [execute] INFO git cat-file --batch-check 07:01:21 2022-09-29 07:01:21,667 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:01:21 2022-09-29 07:01:21,671 [execute] INFO git cat-file --batch 07:01:21 2022-09-29 07:01:21,671 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:01:21 2022-09-29 07:01:21,689 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:01:21 2022-09-29 07:01:21,689 [execute] INFO git tag -a v2.3.0-dev.31 -m v2.3.0-dev.31 07:01:21 2022-09-29 07:01:21,689 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.31', '-m', 'v2.3.0-dev.31'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 07:01:21 2022-09-29 07:01:21,694 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:01:21 2.3.0-dev.31 [Pipeline] } 07:01:21 $ docker exec --env ******** --env ******** f36159e5e0b17dae655031373b7b05786258065fdfcc0641ee65c77c4935de9c ssh-agent -k 07:01:21 unset SSH_AUTH_SOCK; 07:01:21 unset SSH_AGENT_PID; 07:01:21 echo Agent pid 39 killed; 07:01:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:01:22 + git semver [Pipeline] } 07:01:22 $ docker stop --time=1 f36159e5e0b17dae655031373b7b05786258065fdfcc0641ee65c77c4935de9c 07:01:23 $ docker rm -f f36159e5e0b17dae655031373b7b05786258065fdfcc0641ee65c77c4935de9c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:01:24 07:01:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:01:24 0.23.1-centos7: Pulling from edgex-lftools 07:01:24 ab5ef0e58194: Pulling fs layer 07:01:24 9712f1f96733: Pulling fs layer 07:01:24 63f879dbbcfc: Pulling fs layer 07:01:24 0d9ebad4ef96: Pulling fs layer 07:01:24 e9a5061849ea: Pulling fs layer 07:01:24 d747dcd14b5f: Pulling fs layer 07:01:24 2de7ff778b66: Pulling fs layer 07:01:24 d747dcd14b5f: Waiting 07:01:24 0d9ebad4ef96: Waiting 07:01:24 e9a5061849ea: Waiting 07:01:24 2de7ff778b66: Waiting 07:01:24 9712f1f96733: Verifying Checksum 07:01:24 9712f1f96733: Download complete 07:01:25 63f879dbbcfc: Verifying Checksum 07:01:25 63f879dbbcfc: Download complete 07:01:25 0d9ebad4ef96: Verifying Checksum 07:01:25 0d9ebad4ef96: Download complete 07:01:25 d747dcd14b5f: Verifying Checksum 07:01:25 d747dcd14b5f: Download complete 07:01:25 e9a5061849ea: Verifying Checksum 07:01:25 e9a5061849ea: Download complete 07:01:25 ab5ef0e58194: Download complete 07:01:25 2de7ff778b66: Verifying Checksum 07:01:25 2de7ff778b66: Download complete 07:01:27 ab5ef0e58194: Pull complete 07:01:27 9712f1f96733: Pull complete 07:01:28 63f879dbbcfc: Pull complete 07:01:32 0d9ebad4ef96: Pull complete 07:01:32 e9a5061849ea: Pull complete 07:01:32 d747dcd14b5f: Pull complete 07:01:33 2de7ff778b66: Pull complete 07:01:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:01:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:01:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:33 prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container 07:01: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 07:01:38 $ docker top 47c9071c51aacc93c0e2e85bd82010bbdee965fcf4f8efb5eb64da2a5b855e8f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:01:38 provisioning config files... 07:01:38 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12842064296808234122tmp 07:01:38 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13125066030414950706tmp 07:01:38 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17126000832019017209tmp [Pipeline] { [Pipeline] echo 07:01:38 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:01:38 ---> sigul-configuration.sh 07:01:38 gpg: directory `/root/.gnupg' created 07:01:38 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:01:38 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:01:38 gpg: keyring `/root/.gnupg/secring.gpg' created 07:01:38 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:01:38 gpg: CAST5 encrypted data 07:01:38 gpg: encrypted with 1 passphrase 07:01:38 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:01:38 + mkdir /home/jenkins 07:01:38 + mkdir /home/jenkins/sigul [Pipeline] sh 07:01:39 + 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 07:01:39 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:01:39 ---> sigul-install.sh 07:01:39 Sigul already installed; skipping installation. [Pipeline] sh 07:01:39 + git tag --list 07:01:39 0.7.1 07:01:39 delhi-tag 07:01:39 v1.0.0 07:01:39 v1.1.0 07:01:39 v1.1.1 07:01:39 v1.1.2 07:01:39 v1.2.0 07:01:39 v1.2.1 07:01:39 v1.2.2 07:01:39 v1.2.3 07:01:39 v1.3.0 07:01:39 v1.4.0 07:01:39 v2.0.0 07:01:39 v2.1.0 07:01:39 v2.1.1 07:01:39 v2.1.1-dev.2 07:01:39 v2.1.1-dev.3 07:01:39 v2.2.0 07:01:39 v2.2.1-dev.1 07:01:39 v2.2.1-dev.10 07:01:39 v2.2.1-dev.11 07:01:39 v2.2.1-dev.12 07:01:39 v2.2.1-dev.13 07:01:39 v2.2.1-dev.14 07:01:39 v2.2.1-dev.2 07:01:39 v2.2.1-dev.3 07:01:39 v2.2.1-dev.4 07:01:39 v2.2.1-dev.5 07:01:39 v2.2.1-dev.6 07:01:39 v2.2.1-dev.7 07:01:39 v2.2.1-dev.8 07:01:39 v2.2.1-dev.9 07:01:39 v2.3.0-dev.14 07:01:39 v2.3.0-dev.15 07:01:39 v2.3.0-dev.16 07:01:39 v2.3.0-dev.17 07:01:39 v2.3.0-dev.18 07:01:39 v2.3.0-dev.19 07:01:39 v2.3.0-dev.20 07:01:39 v2.3.0-dev.21 07:01:39 v2.3.0-dev.22 07:01:39 v2.3.0-dev.23 07:01:39 v2.3.0-dev.24 07:01:39 v2.3.0-dev.25 07:01:39 v2.3.0-dev.26 07:01:39 v2.3.0-dev.27 07:01:39 v2.3.0-dev.28 07:01:39 v2.3.0-dev.29 07:01:39 v2.3.0-dev.30 07:01:39 v2.3.0-dev.31 [Pipeline] sh 07:01:40 + lftools sign git-tag v2.3.0-dev.31 07:01:40 Signing Git tag with Sigul... 07:01:40 Signing v2.3.0-dev.31 [Pipeline] echo 07:01:40 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:01:41 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:01:41 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:01:41 $ docker stop --time=1 47c9071c51aacc93c0e2e85bd82010bbdee965fcf4f8efb5eb64da2a5b855e8f 07:01:42 $ docker rm -f 47c9071c51aacc93c0e2e85bd82010bbdee965fcf4f8efb5eb64da2a5b855e8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:01:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:01:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:01:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:43 prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container 07:01:43 $ 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 07:01:43 $ docker top f8af3b56a7ba181df338a0818f0911b6c8a4deb797ad69436cfa36f2952c9102 -eo pid,comm 07:01:43 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). 07:01:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:01:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:01:43 [ssh-agent] Looking for ssh-agent implementation... 07:01:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:01:43 $ docker exec f8af3b56a7ba181df338a0818f0911b6c8a4deb797ad69436cfa36f2952c9102 ssh-agent 07:01:44 SSH_AUTH_SOCK=/tmp/ssh-fNb7rQCsWgE7/agent.34 07:01:44 SSH_AGENT_PID=40 07:01:44 Running ssh-add (command line suppressed) 07:01:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8453717378188573710.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8453717378188573710.key) 07:01:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:01:44 + git semver bump pre 07:01:44 2022-09-29 07:01:44,669 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:01:44 2022-09-29 07:01:44,669 [bump_version] DEBUG bumping version:2.3.0-dev.31 on axis:pre with prefix:dev 07:01:44 2022-09-29 07:01:44,670 [bump_version] DEBUG bumped version:2.3.0-dev.32 07:01:44 2022-09-29 07:01:44,670 [write_version] DEBUG write version:2.3.0-dev.32 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 07:01:44 2022-09-29 07:01:44,670 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:01:44 2022-09-29 07:01:44,670 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:01:44 2022-09-29 07:01:44,672 [execute] INFO git cat-file --batch-check 07:01:44 2022-09-29 07:01:44,672 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:01:44 2022-09-29 07:01:44,678 [execute] INFO git cat-file --batch 07:01:44 2022-09-29 07:01:44,678 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:01:44 2022-09-29 07:01:44,683 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:01:44 2.3.0-dev.32 [Pipeline] } 07:01:44 $ docker exec --env ******** --env ******** f8af3b56a7ba181df338a0818f0911b6c8a4deb797ad69436cfa36f2952c9102 ssh-agent -k 07:01:44 unset SSH_AUTH_SOCK; 07:01:44 unset SSH_AGENT_PID; 07:01:44 echo Agent pid 40 killed; 07:01:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:01:45 + git semver [Pipeline] } 07:01:45 $ docker stop --time=1 f8af3b56a7ba181df338a0818f0911b6c8a4deb797ad69436cfa36f2952c9102 07:01:46 $ docker rm -f f8af3b56a7ba181df338a0818f0911b6c8a4deb797ad69436cfa36f2952c9102 [Pipeline] // withDockerContainer [Pipeline] sh 07:01:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:01:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:01:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:47 prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container 07:01:47 $ 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 07:01:47 $ docker top 3483f773501028e46389aba130890aa00b86293a1c0bffa93c256e68b2f38afa -eo pid,comm 07:01:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 07:01:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:01:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:01:47 [ssh-agent] Looking for ssh-agent implementation... 07:01:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:01:47 $ docker exec 3483f773501028e46389aba130890aa00b86293a1c0bffa93c256e68b2f38afa ssh-agent 07:01:48 SSH_AUTH_SOCK=/tmp/ssh-OalLHzxqCE0B/agent.33 07:01:48 SSH_AGENT_PID=39 07:01:48 Running ssh-add (command line suppressed) 07:01:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2064102475466403289.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2064102475466403289.key) 07:01:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:01:48 + git semver push 07:01:48 2022-09-29 07:01:48,677 [run_push] DEBUG push 07:01:48 2022-09-29 07:01:48,678 [execute] INFO git cat-file --batch-check 07:01:48 2022-09-29 07:01:48,679 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:01:48 2022-09-29 07:01:48,682 [execute] INFO git rev-list 6c8e631ef77577ac1afa2c498d2e8c67d166bb42 -- 07:01:48 2022-09-29 07:01:48,683 [execute] DEBUG Popen(['git', 'rev-list', '6c8e631ef77577ac1afa2c498d2e8c67d166bb42', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:01:48 2022-09-29 07:01:48,694 [execute] INFO git fetch -v origin 07:01:48 2022-09-29 07:01:48,694 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:01:49 2022-09-29 07:01:49,279 [run_push] DEBUG no remote changes detected 07:01:49 2022-09-29 07:01:49,280 [execute] INFO git push origin semver 07:01:49 2022-09-29 07:01:49,280 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:01:50 2022-09-29 07:01:50,068 [run_push] DEBUG push all version tags 07:01:50 2022-09-29 07:01:50,069 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:01:50 2022-09-29 07:01:50,069 [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) 07:01:51 2022-09-29 07:01:50,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:01:51 2.3.0-dev.32 [Pipeline] } 07:01:51 $ docker exec --env ******** --env ******** 3483f773501028e46389aba130890aa00b86293a1c0bffa93c256e68b2f38afa ssh-agent -k 07:01:51 unset SSH_AUTH_SOCK; 07:01:51 unset SSH_AGENT_PID; 07:01:51 echo Agent pid 39 killed; 07:01:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:01:51 + git semver [Pipeline] } 07:01:51 $ docker stop --time=1 3483f773501028e46389aba130890aa00b86293a1c0bffa93c256e68b2f38afa 07:01:53 $ docker rm -f 3483f773501028e46389aba130890aa00b86293a1c0bffa93c256e68b2f38afa [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 07:01:53 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 07:01:53 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:01:53 total 16 07:01:53 drwxr-xr-x 3 root root 4096 Sep 29 06:51 . 07:01:53 drwxrwxr-x 12 jenkins jenkins 4096 Sep 29 07:01 .. 07:01:53 drwxr-xr-x 2 root root 4096 Sep 29 06:51 cost 07:01:53 -rw-r--r-- 1 root root 85 Sep 29 06:51 cost.csv 07:01:53 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:01:53 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:01:53 total 16 07:01:53 drwxr-xr-x 3 jenkins jenkins 4096 Sep 29 06:51 . 07:01:53 drwxrwxr-x 12 jenkins jenkins 4096 Sep 29 07:01 .. 07:01:53 drwxr-xr-x 2 jenkins jenkins 4096 Sep 29 06:51 cost 07:01:53 -rw-r--r-- 1 jenkins jenkins 85 Sep 29 06:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:01:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:01:54 ---> package-listing.sh 07:01:54 ++ facter osfamily 07:01:54 ++ tr '[:upper:]' '[:lower:]' 07:01:55 + OS_FAMILY=debian 07:01:55 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 07:01:55 + START_PACKAGES=/tmp/packages_start.txt 07:01:55 + END_PACKAGES=/tmp/packages_end.txt 07:01:55 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:01:55 + PACKAGES=/tmp/packages_start.txt 07:01:55 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:01:55 + PACKAGES=/tmp/packages_end.txt 07:01:55 + case "${OS_FAMILY}" in 07:01:55 + dpkg -l 07:01:55 + grep '^ii' 07:01:55 + '[' -f /tmp/packages_start.txt ']' 07:01:55 + '[' -f /tmp/packages_end.txt ']' 07:01:55 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:01:55 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:01:55 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 07:01:55 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 07:01:55 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 07:01:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:01:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:01:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:01:56 prd-ubuntu20.04-docker-8c-8g-2088 does not seem to be running inside a container 07:01:56 $ 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 07:01:56 $ docker top 04da0c7659aebd7a61fd856703d76dd6158f989d7ac23e5a5a8664422d66be9c -eo pid,comm [Pipeline] { [Pipeline] sh 07:01:56 + touch /tmp/pre-build-complete [Pipeline] sh 07:01:56 + mkdir -p /var/log/sysstat [Pipeline] sh 07:01:57 + ls /var/log/sa-host 07:01:57 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:01:57 provisioning config files... 07:01:57 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18347311504176152803tmp [Pipeline] { [Pipeline] echo 07:01:57 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:01:57 ---> create-netrc.sh [Pipeline] } 07:01:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:01:58 ---> python-tools-install.sh [Pipeline] echo 07:01:58 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:01:58 ---> sudo-logs.sh 07:01:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:01:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:01:58 ---> job-cost.sh 07:01:58 lf-activate-venv: SKIPPING 07:01:58 DEBUG: total: 0.2199999988079071 07:01:58 INFO: Retrieving Stack Cost... 07:01:59 INFO: Retrieving Pricing Info for: v3-standard-8 07:01:59 INFO: Archiving Costs [Pipeline] echo 07:01:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:01:59 ---> logs-deploy.sh 07:01:59 lf-activate-venv: SKIPPING 07:01:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/106 07:01:59 INFO: archiving workspace using pattern(s): 07:02:00 Archives upload complete. 07:02:00 INFO: archiving logs to Nexus 07:02:01 ---> uname -a: 07:02:01 Linux prd-ubuntu20-04-docker-8c-8g-2088 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 07:02:01 07:02:01