Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 238ac69fab1befba96aeb5fe41e06f86e376d8a9 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-ssh17044684185281908005.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-ssh9354446207374136598.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-ssh5059454528696351541.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-ssh11669615490326286779.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-ssh2577184726718355244.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-3043 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 > 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 Avoid second fetch Checking out Revision 238ac69fab1befba96aeb5fe41e06f86e376d8a9 (main) Commit message: "Merge pull request #1222 from hahattan/issue-1221" > git config core.sparsecheckout # timeout=10 > git checkout -f 238ac69fab1befba96aeb5fe41e06f86e376d8a9 # timeout=10 > git rev-list --no-walk 30b5625222734a144936f26b3a3df0ac58ed1e4d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:10:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:10:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:10:25 ========================================================= 03:10:25 EdgeX Global Pipelines Version Info 03:10:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:10:26 ------------------- 03:10:26 stable info: 03:10:26 ------------------- 03:10:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:10:26 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:10:26 Message: update stable to v1.0.239 03:10:26 ------------------- 03:10:26 experimental info: 03:10:26 ------------------- 03:10:26 Commited By: **** collab-it+edgex@linuxfoundation.org 03:10:26 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:10:26 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:10:26 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 238ac69fab1befba96aeb5fe41e06f86e376d8a9 [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 238ac69 [Pipeline] echo 03:10:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:27 provisioning config files... 03:10:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18300568875938400142tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:27 ---> docker-login.sh 03:10:27 nexus3.edgexfoundry.org:10001 03:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:27 Configure a credential helper to remove this warning. See 03:10:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:27 03:10:27 Login Succeeded 03:10:27 nexus3.edgexfoundry.org:10002 03:10:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:28 Configure a credential helper to remove this warning. See 03:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:28 03:10:28 Login Succeeded 03:10:28 nexus3.edgexfoundry.org:10003 03:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:28 Configure a credential helper to remove this warning. See 03:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:28 03:10:28 Login Succeeded 03:10:28 nexus3.edgexfoundry.org:10004 03:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:28 Configure a credential helper to remove this warning. See 03:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:28 03:10:28 Login Succeeded 03:10:28 docker.io 03:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:28 Configure a credential helper to remove this warning. See 03:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:28 03:10:28 Login Succeeded 03:10:28 ---> docker-login.sh ends [Pipeline] } 03:10:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:10:29 + git rev-list -1 --merges 238ac69fab1befba96aeb5fe41e06f86e376d8a9~1..238ac69fab1befba96aeb5fe41e06f86e376d8a9 [Pipeline] echo 03:10:29 -----------> git rev-list -1 --merges 238ac69fab1befba96aeb5fe41e06f86e376d8a9~1..238ac69fab1befba96aeb5fe41e06f86e376d8a9 238ac69fab1befba96aeb5fe41e06f86e376d8a9 03:10:29 238ac69fab1befba96aeb5fe41e06f86e376d8a9 [false] [Pipeline] sh 03:10:29 + git log --format=format:%s -1 238ac69fab1befba96aeb5fe41e06f86e376d8a9 [Pipeline] echo 03:10:29 ========================================================= 03:10:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:10:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:10:29 + git log --format=format:%s -1 238ac69fab1befba96aeb5fe41e06f86e376d8a9 [Pipeline] echo 03:10:29 [semverPrep] GIT_COMMIT: 238ac69fab1befba96aeb5fe41e06f86e376d8a9, Commit Message: Merge pull request #1222 from hahattan/issue-1221 [Pipeline] echo 03:10:29 [semverPrep] This is not a build commit. [Pipeline] sh 03:10:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:10:30 + grep -v github /etc/ssh/ssh_known_hosts 03:10:30 + [ -e /tmp/ssh_known_hosts ] 03:10:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:10:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:10:30 + sudo tee -a /etc/ssh/ssh_known_hosts 03:10:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:10:30 03:10:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:10:30 0.1.4: Pulling from edgex-devops/py-git-semver 03:10:30 b85a868b505f: Pulling fs layer 03:10:30 e2be974225ed: Pulling fs layer 03:10:30 339a4e72a1f5: Pulling fs layer 03:10:30 988bab9f4d93: Pulling fs layer 03:10:30 1469e6f7b9e6: Pulling fs layer 03:10:30 eaf3925da568: Pulling fs layer 03:10:30 bab4dde63d76: Pulling fs layer 03:10:30 bde34c3a00c8: Pulling fs layer 03:10:30 b352a97aabf1: Pulling fs layer 03:10:30 4872d77fe225: Pulling fs layer 03:10:30 5851b861e8e6: Pulling fs layer 03:10:30 988bab9f4d93: Waiting 03:10:30 eaf3925da568: Waiting 03:10:30 1469e6f7b9e6: Waiting 03:10:30 4872d77fe225: Waiting 03:10:30 5851b861e8e6: Waiting 03:10:30 bab4dde63d76: Waiting 03:10:30 bde34c3a00c8: Waiting 03:10:30 b352a97aabf1: Waiting 03:10:30 e2be974225ed: Verifying Checksum 03:10:30 e2be974225ed: Download complete 03:10:30 988bab9f4d93: Verifying Checksum 03:10:30 988bab9f4d93: Download complete 03:10:31 1469e6f7b9e6: Verifying Checksum 03:10:31 1469e6f7b9e6: Download complete 03:10:31 eaf3925da568: Download complete 03:10:31 339a4e72a1f5: Verifying Checksum 03:10:31 339a4e72a1f5: Download complete 03:10:31 bde34c3a00c8: Verifying Checksum 03:10:31 bde34c3a00c8: Download complete 03:10:31 b352a97aabf1: Verifying Checksum 03:10:31 b352a97aabf1: Download complete 03:10:31 4872d77fe225: Verifying Checksum 03:10:31 4872d77fe225: Download complete 03:10:31 5851b861e8e6: Download complete 03:10:31 b85a868b505f: Verifying Checksum 03:10:31 b85a868b505f: Download complete 03:10:31 bab4dde63d76: Verifying Checksum 03:10:31 bab4dde63d76: Download complete 03:10:32 b85a868b505f: Pull complete 03:10:32 e2be974225ed: Pull complete 03:10:33 339a4e72a1f5: Pull complete 03:10:33 988bab9f4d93: Pull complete 03:10:33 1469e6f7b9e6: Pull complete 03:10:33 eaf3925da568: Pull complete 03:10:35 bab4dde63d76: Pull complete 03:10:35 bde34c3a00c8: Pull complete 03:10:35 b352a97aabf1: Pull complete 03:10:35 4872d77fe225: Pull complete 03:10:35 5851b861e8e6: Pull complete 03:10:35 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:10:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:10:35 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:10:35 prd-ubuntu20.04-docker-8c-8g-3043 does not seem to be running inside a container 03:10:35 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:10:36 $ docker top 3a6d62f01ad73b10c38ebe42cf5248d9f97ae4953aa77bb1975656b5633ec651 -eo pid,comm 03:10:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:10:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:10:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:10:37 [ssh-agent] Looking for ssh-agent implementation... 03:10:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:37 $ docker exec 3a6d62f01ad73b10c38ebe42cf5248d9f97ae4953aa77bb1975656b5633ec651 ssh-agent 03:10:37 SSH_AUTH_SOCK=/tmp/ssh-hR7e6pkXrDlo/agent.33 03:10:37 SSH_AGENT_PID=39 03:10:37 Running ssh-add (command line suppressed) 03:10:37 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10044337710666407470.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10044337710666407470.key) 03:10:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:10:37 + git tag --points-at HEAD [Pipeline] } 03:10:37 $ docker exec --env ******** --env ******** 3a6d62f01ad73b10c38ebe42cf5248d9f97ae4953aa77bb1975656b5633ec651 ssh-agent -k 03:10:37 unset SSH_AUTH_SOCK; 03:10:37 unset SSH_AGENT_PID; 03:10:37 echo Agent pid 39 killed; 03:10:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:10:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:10:37 [ssh-agent] Looking for ssh-agent implementation... 03:10:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:10:37 $ docker exec 3a6d62f01ad73b10c38ebe42cf5248d9f97ae4953aa77bb1975656b5633ec651 ssh-agent 03:10:38 SSH_AUTH_SOCK=/tmp/ssh-TPifbTLk6bqQ/agent.71 03:10:38 SSH_AGENT_PID=77 03:10:38 Running ssh-add (command line suppressed) 03:10:38 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8376508731467698845.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8376508731467698845.key) 03:10:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:10:38 + git semver init 03:10:38 2022-09-30 03:10:38,643 [run_init] DEBUG init version:0.0.0 force:False 03:10:38 2022-09-30 03:10:38,643 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:10:38 2022-09-30 03:10:38,644 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:10:38 2022-09-30 03:10:38,644 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 03:10:39 2022-09-30 03:10:39,634 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 03:10:39 2022-09-30 03:10:39,635 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 03:10:39 2022-09-30 03:10:39,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:10:39 2022-09-30 03:10:39,635 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:10:39 2.3.0-dev.32 [Pipeline] } 03:10:39 $ docker exec --env ******** --env ******** 3a6d62f01ad73b10c38ebe42cf5248d9f97ae4953aa77bb1975656b5633ec651 ssh-agent -k 03:10:40 unset SSH_AUTH_SOCK; 03:10:40 unset SSH_AGENT_PID; 03:10:40 echo Agent pid 77 killed; 03:10:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:10:40 + git semver [Pipeline] } 03:10:40 $ docker stop --time=1 3a6d62f01ad73b10c38ebe42cf5248d9f97ae4953aa77bb1975656b5633ec651 03:10:41 $ docker rm -f 3a6d62f01ad73b10c38ebe42cf5248d9f97ae4953aa77bb1975656b5633ec651 [Pipeline] // withDockerContainer [Pipeline] sh 03:10:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:10:42 Stashed 1 file(s) [Pipeline] echo 03:10:42 [edgeXSemver]: initialized semver on version 2.3.0-dev.32 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:42 provisioning config files... 03:10:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9976792308357640220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:42 ---> docker-login.sh 03:10:42 nexus3.edgexfoundry.org:10001 03:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:42 Configure a credential helper to remove this warning. See 03:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:42 03:10:42 Login Succeeded 03:10:42 nexus3.edgexfoundry.org:10002 03:10:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:42 Configure a credential helper to remove this warning. See 03:10:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:42 03:10:42 Login Succeeded 03:10:42 nexus3.edgexfoundry.org:10003 03:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:43 Configure a credential helper to remove this warning. See 03:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:43 03:10:43 Login Succeeded 03:10:43 nexus3.edgexfoundry.org:10004 03:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:43 Configure a credential helper to remove this warning. See 03:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:43 03:10:43 Login Succeeded 03:10:43 docker.io 03:10:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:43 Configure a credential helper to remove this warning. See 03:10:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:43 03:10:43 Login Succeeded 03:10:43 ---> docker-login.sh ends [Pipeline] } 03:10:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:10:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:10:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:10:43 ========================================================= 03:10:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:10:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:10:44 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 03:10:44 Sending build context to Docker daemon 9.918MB 03:10:44 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 03:10:44 Step 2/11 : FROM ${BASE} AS builder 03:10:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:10:44 2408cc74d12b: Pulling fs layer 03:10:44 ea60b727a1ce: Pulling fs layer 03:10:44 30c4a7721957: Pulling fs layer 03:10:44 370296b7ddb6: Pulling fs layer 03:10:44 7c6cee850709: Pulling fs layer 03:10:44 aa9baa53a306: Pulling fs layer 03:10:44 8b309c321861: Pulling fs layer 03:10:44 d8d76fd02f46: Pulling fs layer 03:10:44 fa31f396de31: Pulling fs layer 03:10:44 370296b7ddb6: Waiting 03:10:44 8b309c321861: Waiting 03:10:44 d8d76fd02f46: Waiting 03:10:44 fa31f396de31: Waiting 03:10:44 7c6cee850709: Waiting 03:10:44 aa9baa53a306: Waiting 03:10:44 30c4a7721957: Download complete 03:10:44 ea60b727a1ce: Download complete 03:10:44 7c6cee850709: Verifying Checksum 03:10:44 7c6cee850709: Download complete 03:10:44 aa9baa53a306: Download complete 03:10:44 2408cc74d12b: Verifying Checksum 03:10:44 2408cc74d12b: Download complete 03:10:44 8b309c321861: Download complete 03:10:44 2408cc74d12b: Pull complete 03:10:44 ea60b727a1ce: Pull complete 03:10:44 30c4a7721957: Pull complete 03:10:44 fa31f396de31: Verifying Checksum 03:10:44 fa31f396de31: Download complete 03:10:45 d8d76fd02f46: Verifying Checksum 03:10:45 d8d76fd02f46: Download complete 03:10:45 370296b7ddb6: Verifying Checksum 03:10:45 370296b7ddb6: Download complete 03:10:49 370296b7ddb6: Pull complete 03:10:49 7c6cee850709: Pull complete 03:10:49 aa9baa53a306: Pull complete 03:10:49 8b309c321861: Pull complete 03:10:51 d8d76fd02f46: Pull complete 03:10:52 fa31f396de31: Pull complete 03:10:52 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 03:10:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:10:52 ---> cef68f9685f8 03:10:52 Step 3/11 : ARG MAKE=make build 03:10:54 ---> Running in a793db6d880b 03:10:54 Removing intermediate container a793db6d880b 03:10:54 ---> 924b92680ce9 03:10:54 Step 4/11 : WORKDIR /device-sdk-go 03:10:54 ---> Running in ee7d4455c25a 03:10:54 Removing intermediate container ee7d4455c25a 03:10:54 ---> 6e4d48075dd5 03:10:54 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:10:54 ---> Running in 5902ce5618a0 03:10:54 Removing intermediate container 5902ce5618a0 03:10:54 ---> 08aa157b8242 03:10:54 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:10:54 ---> Running in 80652fbd39c2 03:10:55 Removing intermediate container 80652fbd39c2 03:10:55 ---> 32346a2f6832 03:10:55 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:10:55 ---> Running in 93239ef5d35f 03:10:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:10:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:10:56 OK: 211 MiB in 51 packages 03:10:57 Removing intermediate container 93239ef5d35f 03:10:57 ---> fa60574bb420 03:10:57 Step 8/11 : COPY go.mod vendor* ./ 03:10:57 ---> 722d725d23f5 03:10:57 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:10:57 ---> Running in ada8f031ecf5 03:10:57 Still waiting to schedule task 03:10:57 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:11:15 Removing intermediate container ada8f031ecf5 03:11:15 ---> 477ba1b75854 03:11:15 Step 10/11 : COPY . . 03:11:15 ---> 5ffafd1bde5f 03:11:15 Step 11/11 : RUN ${MAKE} 03:11:15 ---> Running in a75d3e3633e5 03:11:15 noop 03:11:15 Removing intermediate container a75d3e3633e5 03:11:15 ---> fdafdfc20219 03:11:15 Successfully built fdafdfc20219 03:11:15 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:15 + docker inspect -f . ci-base-image-x86_64 03:11:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:15 prd-ubuntu20.04-docker-8c-8g-3043 does not seem to be running inside a container 03:11:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:11:16 $ docker top e2ff7dcbe999bb4a3bca94cc163817a3f41dc9d50f79c3d49c8edd1ba178d3fd -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:16 + go version 03:11:16 go version go1.18.3 linux/amd64 [Pipeline] } 03:11:16 $ docker stop --time=1 e2ff7dcbe999bb4a3bca94cc163817a3f41dc9d50f79c3d49c8edd1ba178d3fd 03:11:18 $ docker rm -f e2ff7dcbe999bb4a3bca94cc163817a3f41dc9d50f79c3d49c8edd1ba178d3fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:11:19 + docker inspect -f . ci-base-image-x86_64 03:11:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:11:19 prd-ubuntu20.04-docker-8c-8g-3043 does not seem to be running inside a container 03:11:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:11:21 $ docker top a065128d73331d30737a7cad021b8ac4680fbed4d55a304bfeb4f2ffac881c84 -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:22 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 03:11:23 + make test 03:11:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:11:30 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:11:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 27.6% of statements 03:11:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.090s coverage: 78.9% of statements 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 03:11:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.085s coverage: 60.0% of statements 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:11:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:11:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 65.1% of statements 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 03:11:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.737s coverage: 89.2% of statements 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 03:11:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.057s coverage: 4.7% of statements 03:11:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:11:56 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 03:11:56 GO111MODULE=on go vet ./... 03:11:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:11:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:11:59 ./bin/test-attribution-txt.sh 03:11:59 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 03:11:59 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 03:11:59 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 03:11:59 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 03:11:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:11:59 $ docker stop --time=1 a065128d73331d30737a7cad021b8ac4680fbed4d55a304bfeb4f2ffac881c84 03:12:01 $ docker rm -f a065128d73331d30737a7cad021b8ac4680fbed4d55a304bfeb4f2ffac881c84 [Pipeline] // withDockerContainer [Pipeline] sh 03:12:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:12:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:12:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:12:03 + ls -al . 03:12:03 total 276 03:12:03 drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 03:11 . 03:12:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 03:10 .. 03:12:03 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 03:10 .dockerignore 03:12:03 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 03:11 .git 03:12:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 03:10 .github 03:12:03 -rw-rw-r-- 1 jenkins jenkins 131 Sep 30 03:10 .gitignore 03:12:03 -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 03:10 .golangci.yml 03:12:03 drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 03:10 .semver 03:12:03 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 30 03:10 CHANGELOG.md 03:12:03 -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 03:10 GOVERNANCE.md 03:12:03 -rw-rw-r-- 1 jenkins jenkins 880 Sep 30 03:10 Jenkinsfile 03:12:03 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 03:10 LICENSE 03:12:03 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 30 03:10 Makefile 03:12:03 -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 03:10 OWNERS.md 03:12:03 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 30 03:10 README.md 03:12:03 -rw-rw-r-- 1 jenkins jenkins 12 Sep 30 03:10 VERSION 03:12:03 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 03:10 bin 03:12:03 -rw-r--r-- 1 jenkins jenkins 100927 Sep 30 03:11 coverage.out 03:12:03 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 03:10 example 03:12:03 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 30 03:10 go.mod 03:12:03 -rw-rw-r-- 1 jenkins jenkins 37486 Sep 30 03:10 go.sum 03:12:03 drwxrwxr-x 14 jenkins jenkins 4096 Sep 30 03:10 internal 03:12:03 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 03:10 openapi 03:12:03 drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 03:10 pkg 03:12:03 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 03:10 snap 03:12:03 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 03:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:03 + 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=238ac69fab1befba96aeb5fe41e06f86e376d8a9 --label arch=amd64 --label version=2.3.0-dev.32 . 03:12:03 Sending build context to Docker daemon 10.02MB 03:12:03 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 03:12:03 Step 2/25 : FROM ${BASE} AS builder 03:12:03 ---> fdafdfc20219 03:12:03 Step 3/25 : ARG MAKE=make build 03:12:03 ---> Running in a5f41b121851 03:12:03 Removing intermediate container a5f41b121851 03:12:03 ---> ac8f2b0fd69e 03:12:03 Step 4/25 : WORKDIR /device-sdk-go 03:12:03 ---> Running in 9bef35453ded 03:12:03 Removing intermediate container 9bef35453ded 03:12:03 ---> 8d0ac66e0c1a 03:12:03 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:12:03 ---> Running in 51f396e5c670 03:12:03 Removing intermediate container 51f396e5c670 03:12:03 ---> 6f8ee4da1e67 03:12:03 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:12:03 ---> Running in c1ce283921c9 03:12:04 Removing intermediate container c1ce283921c9 03:12:04 ---> f14452e35827 03:12:04 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:12:04 ---> Running in 2707de7db0c3 03:12:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:12:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:12:06 OK: 211 MiB in 51 packages 03:12:06 Removing intermediate container 2707de7db0c3 03:12:06 ---> d815216e80d9 03:12:06 Step 8/25 : COPY go.mod vendor* ./ 03:12:06 ---> 7591f569a70b 03:12:06 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:12:06 ---> Running in 9cea4a31799c 03:12:07 Removing intermediate container 9cea4a31799c 03:12:07 ---> a64274f176f5 03:12:07 Step 10/25 : COPY . . 03:12:07 ---> 63965eb0a1dd 03:12:07 Step 11/25 : RUN ${MAKE} 03:12:07 ---> Running in 46afd7bf4d74 03:12:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.32" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:12:26 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 03:12:27 Removing intermediate container 46afd7bf4d74 03:12:27 ---> ebc6a6c04bd2 03:12:27 Step 12/25 : FROM alpine:3.16 03:12:27 3.16: Pulling from library/alpine 03:12:28 213ec9aee27d: Pulling fs layer 03:12:28 213ec9aee27d: Verifying Checksum 03:12:28 213ec9aee27d: Download complete 03:12:28 213ec9aee27d: Pull complete 03:12:28 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 03:12:28 Status: Downloaded newer image for alpine:3.16 03:12:28 ---> 9c6f07244728 03:12:28 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:12:28 ---> Running in 73fbf4988096 03:12:28 Removing intermediate container 73fbf4988096 03:12:28 ---> e6e8647ccf2f 03:12:28 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:12:28 ---> Running in 37df99b407d1 03:12:29 Removing intermediate container 37df99b407d1 03:12:29 ---> 200d421a88d4 03:12:29 Step 15/25 : RUN apk add --update --no-cache zeromq 03:12:29 ---> Running in 404cc7ca22b1 03:12:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:12:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:12:30 (1/5) Installing libgcc (11.2.1_git20220219-r2) 03:12:30 (2/5) Installing libsodium (1.0.18-r0) 03:12:31 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 03:12:31 (4/5) Installing libzmq (4.3.4-r0) 03:12:31 (5/5) Installing zeromq (4.3.4-r0) 03:12:31 Executing busybox-1.35.0-r17.trigger 03:12:31 OK: 8 MiB in 19 packages 03:12:32 Removing intermediate container 404cc7ca22b1 03:12:32 ---> 76902f0d1d01 03:12:32 Step 16/25 : WORKDIR / 03:12:32 ---> Running in 6618f0cce8af 03:12:32 Removing intermediate container 6618f0cce8af 03:12:32 ---> fbf76c6b3ccf 03:12:32 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:12:32 ---> c433cfd65c98 03:12:32 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:12:33 ---> c78428c4351c 03:12:33 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:12:33 ---> d75a2a2ea598 03:12:33 Step 20/25 : EXPOSE 59999 03:12:33 ---> Running in ffe2083c42a1 03:12:33 Removing intermediate container ffe2083c42a1 03:12:33 ---> c91ad8211133 03:12:33 Step 21/25 : ENTRYPOINT ["/device-simple"] 03:12:33 ---> Running in 92b5924ee900 03:12:33 Removing intermediate container 92b5924ee900 03:12:33 ---> 65a909bbfb05 03:12:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:12:33 ---> Running in 4cdbf1aa9a5f 03:12:33 Removing intermediate container 4cdbf1aa9a5f 03:12:33 ---> 94c68c03d419 03:12:33 Step 23/25 : LABEL arch=amd64 03:12:33 ---> Running in a8121c30971f 03:12:34 Removing intermediate container a8121c30971f 03:12:34 ---> 9972d362e123 03:12:34 Step 24/25 : LABEL git_sha=238ac69fab1befba96aeb5fe41e06f86e376d8a9 03:12:34 ---> Running in a094ba11c56b 03:12:34 Removing intermediate container a094ba11c56b 03:12:34 ---> 1b0cb3fb0cc4 03:12:34 Step 25/25 : LABEL version=2.3.0-dev.32 03:12:34 ---> Running in 8c11146758fa 03:12:34 Removing intermediate container 8c11146758fa 03:12:34 ---> eab3309d0e3e 03:12:34 [Warning] One or more build-args [ARCH] were not consumed 03:12:34 Successfully built eab3309d0e3e 03:12:34 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:12:36 03:12:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:12:40 latest: Pulling from edgex-lftools-log-publisher 03:12:40 5eb5b503b376: Pulling fs layer 03:12:40 5c69ac0246d0: Pulling fs layer 03:12:40 ec43610c2a17: Pulling fs layer 03:12:40 3a2ae6a8a46f: Pulling fs layer 03:12:40 33b1e0a273af: Pulling fs layer 03:12:40 5d3b04190fa2: Pulling fs layer 03:12:40 2f39f015ded8: Pulling fs layer 03:12:40 3a2ae6a8a46f: Waiting 03:12:40 33b1e0a273af: Waiting 03:12:40 5d3b04190fa2: Waiting 03:12:40 2f39f015ded8: Waiting 03:12:42 5c69ac0246d0: Verifying Checksum 03:12:42 5c69ac0246d0: Download complete 03:12:42 3a2ae6a8a46f: Verifying Checksum 03:12:42 3a2ae6a8a46f: Download complete 03:12:42 33b1e0a273af: Verifying Checksum 03:12:42 33b1e0a273af: Download complete 03:12:42 5d3b04190fa2: Verifying Checksum 03:12:42 5d3b04190fa2: Download complete 03:12:43 ec43610c2a17: Verifying Checksum 03:12:43 ec43610c2a17: Download complete 03:12:45 5eb5b503b376: Verifying Checksum 03:12:45 5eb5b503b376: Download complete 03:12:46 5eb5b503b376: Pull complete 03:12:46 5c69ac0246d0: Pull complete 03:12:46 ec43610c2a17: Pull complete 03:12:46 3a2ae6a8a46f: Pull complete 03:12:47 33b1e0a273af: Pull complete 03:12:47 5d3b04190fa2: Pull complete 03:12:53 2f39f015ded8: Download complete 03:12:56 2f39f015ded8: Pull complete 03:12:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:12:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:12:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:57 prd-ubuntu20.04-docker-8c-8g-3043 does not seem to be running inside a container 03:12:57 $ 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 03:12:59 $ docker top e4ca171e2eff8ad01aba0655bd6745cf3dcb075e9e7dad1b940c2017ed2c9a64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:13:00 ---> job-cost.sh 03:13:00 lf-activate-venv: SKIPPING 03:13:00 INFO: No Stack... 03:13:01 INFO: Retrieving Pricing Info for: v3-standard-8 03:13:02 INFO: Archiving Costs [Pipeline] sh 03:13:02 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 03:13:02 + cut -d, -f6 [Pipeline] lock 03:13:02 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-107-stack-cost] 03:13:02 Resource [jenkins-edgexfoundry-device-sdk-go-main-107-stack-cost] did not exist. Created. 03:13:02 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:13:03 + echo total: 0.2199999988079071 [Pipeline] stash 03:13:03 Stashed 1 file(s) [Pipeline] } 03:13:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 03:13:03 $ docker stop --time=1 e4ca171e2eff8ad01aba0655bd6745cf3dcb075e9e7dad1b940c2017ed2c9a64 03:13:05 $ docker rm -f e4ca171e2eff8ad01aba0655bd6745cf3dcb075e9e7dad1b940c2017ed2c9a64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:10:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5855 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:10:47 Running in /w/workspace/device-sdk-go/107 [Pipeline] { [Pipeline] checkout 04:10:48 The recommended git tool is: git 04:10:54 using credential edgex-jenkins-ssh 04:10:54 Cloning the remote Git repository 04:10:54 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:10:54 > git init /w/workspace/device-sdk-go/107 # timeout=10 04:10:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:54 > git --version # timeout=10 04:10:54 > git --version # 'git version 2.25.1' 04:10:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:54 Verifying host key using known hosts file 04:10:55 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. 04:10:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:57 Avoid second fetch 04:10:57 Checking out Revision 238ac69fab1befba96aeb5fe41e06f86e376d8a9 (main) 04:10:57 > git config core.sparsecheckout # timeout=10 04:10:57 > git checkout -f 238ac69fab1befba96aeb5fe41e06f86e376d8a9 # timeout=10 04:10:58 Commit message: "Merge pull request #1222 from hahattan/issue-1221" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:10:59 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:59 Dload Upload Total Spent Left Speed 04:10:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 83 12602 83 10504 0 0 57398 0 --:--:-- --:--:-- --:--:-- 57086 100 12602 100 12602 0 0 68118 0 --:--:-- --:--:-- --:--:-- 68118 [Pipeline] sh 04:11:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:11:00 + + sudo teesudo /etc/docker/daemon.new jq 04:11:00 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:11:00 { 04:11:00 "registry-mirrors": [ 04:11:00 "https://nexus3.edgexfoundry.org:10001" 04:11:00 ], 04:11:00 "bip": "10.250.0.254/24", 04:11:00 "hosts": [ 04:11:00 "tcp://0.0.0.0:5555", 04:11:00 "unix:///var/run/docker.sock" 04:11:00 ], 04:11:00 "mtu": 1458, 04:11:00 "selinux-enabled": true, 04:11:00 "seccomp-profile": "/etc/docker/seccomp.json" 04:11:00 } [Pipeline] sh 04:11:00 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:11:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:19 provisioning config files... 04:11:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/107@tmp/config1551900885085286377tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:19 ---> docker-login.sh 04:11:19 nexus3.edgexfoundry.org:10001 04:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:20 Configure a credential helper to remove this warning. See 04:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:20 04:11:20 Login Succeeded 04:11:20 nexus3.edgexfoundry.org:10002 04:11:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:20 Configure a credential helper to remove this warning. See 04:11:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:20 04:11:20 Login Succeeded 04:11:20 nexus3.edgexfoundry.org:10003 04:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:21 Configure a credential helper to remove this warning. See 04:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:21 04:11:21 Login Succeeded 04:11:21 nexus3.edgexfoundry.org:10004 04:11:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:21 Configure a credential helper to remove this warning. See 04:11:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:21 04:11:21 Login Succeeded 04:11:21 docker.io 04:11:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:22 Configure a credential helper to remove this warning. See 04:11:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:22 04:11:22 Login Succeeded 04:11:22 ---> docker-login.sh ends [Pipeline] } 04:11:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:11:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:22 ========================================================= 04:11:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:11:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:22 + 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 . 04:11:23 Sending build context to Docker daemon 5.334MB 04:11:23 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:11:23 Step 2/11 : FROM ${BASE} AS builder 04:11:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:11:23 b3c136eddcbf: Pulling fs layer 04:11:23 c0a3192eca97: Pulling fs layer 04:11:23 a050256f5b6f: Pulling fs layer 04:11:23 656be50a0ddc: Pulling fs layer 04:11:23 2bbca73fdf42: Pulling fs layer 04:11:23 f607e4fc86c3: Pulling fs layer 04:11:23 4d572c569a2c: Pulling fs layer 04:11:23 fcf976331f73: Pulling fs layer 04:11:23 656be50a0ddc: Waiting 04:11:23 f607e4fc86c3: Waiting 04:11:23 4d572c569a2c: Waiting 04:11:23 2bbca73fdf42: Waiting 04:11:23 fcf976331f73: Waiting 04:11:23 a050256f5b6f: Verifying Checksum 04:11:23 a050256f5b6f: Download complete 04:11:23 c0a3192eca97: Download complete 04:11:23 2bbca73fdf42: Verifying Checksum 04:11:23 2bbca73fdf42: Download complete 04:11:23 f607e4fc86c3: Verifying Checksum 04:11:23 f607e4fc86c3: Download complete 04:11:23 b3c136eddcbf: Verifying Checksum 04:11:23 b3c136eddcbf: Download complete 04:11:24 b3c136eddcbf: Pull complete 04:11:24 fcf976331f73: Verifying Checksum 04:11:24 fcf976331f73: Download complete 04:11:24 c0a3192eca97: Pull complete 04:11:25 a050256f5b6f: Pull complete 04:11:25 4d572c569a2c: Verifying Checksum 04:11:25 4d572c569a2c: Download complete 04:11:26 656be50a0ddc: Verifying Checksum 04:11:26 656be50a0ddc: Download complete 04:11:39 656be50a0ddc: Pull complete 04:11:39 2bbca73fdf42: Pull complete 04:11:39 f607e4fc86c3: Pull complete 04:11:45 4d572c569a2c: Pull complete 04:11:47 fcf976331f73: Pull complete 04:11:47 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 04:11:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:11:47 ---> 3970a7415f9e 04:11:47 Step 3/11 : ARG MAKE=make build 04:11:50 ---> Running in 7cb7407e0e61 04:11:50 Removing intermediate container 7cb7407e0e61 04:11:50 ---> 8982635c4efe 04:11:50 Step 4/11 : WORKDIR /device-sdk-go 04:11:50 ---> Running in e7116367e1bc 04:11:51 Removing intermediate container e7116367e1bc 04:11:51 ---> 9c7f86f79319 04:11:51 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:11:51 ---> Running in 27d331473ddf 04:11:51 Removing intermediate container 27d331473ddf 04:11:51 ---> d92838535234 04:11:51 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:51 ---> Running in 4c6f1270aa3e 04:11:53 Removing intermediate container 4c6f1270aa3e 04:11:53 ---> 1ddcbd05b37b 04:11:53 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:54 ---> Running in 93adcddb9018 04:11:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:11:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:11:57 OK: 221 MiB in 51 packages 04:11:58 Removing intermediate container 93adcddb9018 04:11:58 ---> 053f976c13ae 04:11:58 Step 8/11 : COPY go.mod vendor* ./ 04:11:58 ---> 7030b83e81ff 04:11:58 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:59 ---> Running in d77b7f84741c 04:12:55 Removing intermediate container d77b7f84741c 04:12:55 ---> 2d315a5c0bbe 04:12:55 Step 10/11 : COPY . . 04:12:55 ---> 3d5d0293e35d 04:12:55 Step 11/11 : RUN ${MAKE} 04:12:55 ---> Running in d5de5e686e11 04:12:55 noop 04:12:55 Removing intermediate container d5de5e686e11 04:12:55 ---> 99ea1f480052 04:12:55 Successfully built 99ea1f480052 04:12:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:55 + docker inspect -f . ci-base-image-arm64 04:12:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:56 prd-ubuntu20.04-docker-arm64-4c-16g-5855 does not seem to be running inside a container 04:12:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/107 -v /w/workspace/device-sdk-go/107:/w/workspace/device-sdk-go/107:rw,z -v /w/workspace/device-sdk-go/107@tmp:/w/workspace/device-sdk-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:12:57 $ docker top 05686e29a33b6a2db8f82b1338628e40cb49933b4a80dbfbb537de4aad13b63e -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:58 + go version 04:12:58 go version go1.18.3 linux/arm64 [Pipeline] } 04:12:58 $ docker stop --time=1 05686e29a33b6a2db8f82b1338628e40cb49933b4a80dbfbb537de4aad13b63e 04:12:59 $ docker rm -f 05686e29a33b6a2db8f82b1338628e40cb49933b4a80dbfbb537de4aad13b63e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:00 + docker inspect -f . ci-base-image-arm64 04:13:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:00 prd-ubuntu20.04-docker-arm64-4c-16g-5855 does not seem to be running inside a container 04:13:00 $ 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/107 -v /w/workspace/device-sdk-go/107:/w/workspace/device-sdk-go/107:rw,z -v /w/workspace/device-sdk-go/107@tmp:/w/workspace/device-sdk-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:13:01 $ docker top c7363a61c32bbcef3daf80bb230a768b793e3f68e6a794460279f891fed25cc7 -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:02 + git config --global --add safe.directory /w/workspace/device-sdk-go/107 [Pipeline] fileExists [Pipeline] sh 04:13:03 + make test 04:13:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:13:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:16:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:16:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:16:19 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:16:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:16:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:16:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.601s coverage: 27.6% of statements 04:16:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.460s coverage: 78.9% of statements 04:16:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.467s coverage: 60.0% of statements 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:16:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.590s coverage: 54.4% of statements 04:16:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:16:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:16:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:16:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:16:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.513s coverage: 65.1% of statements 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:16:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.252s coverage: 89.2% of statements 04:16:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:16:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.307s coverage: 4.7% of statements 04:16:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:16:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:16:34 GO111MODULE=on go vet ./... 04:18:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:18:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:18:26 ./bin/test-attribution-txt.sh 04:18:26 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:18:26 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:18:26 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:18:26 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:18:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:18:26 $ docker stop --time=1 c7363a61c32bbcef3daf80bb230a768b793e3f68e6a794460279f891fed25cc7 04:18:27 $ docker rm -f c7363a61c32bbcef3daf80bb230a768b793e3f68e6a794460279f891fed25cc7 [Pipeline] // withDockerContainer [Pipeline] sh 04:18:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:18:29 Warning: overwriting stash ‘coverage-report’ 04:18:29 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:18:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:18:30 + ls -al . 04:18:30 total 272 04:18:30 drwxrwxr-x 10 jenkins jenkins 4096 Sep 30 04:13 . 04:18:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:10 .. 04:18:30 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 04:10 .dockerignore 04:18:30 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 04:10 .git 04:18:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:10 .github 04:18:30 -rw-rw-r-- 1 jenkins jenkins 131 Sep 30 04:10 .gitignore 04:18:30 -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 04:10 .golangci.yml 04:18:30 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 30 04:10 CHANGELOG.md 04:18:30 -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 04:10 GOVERNANCE.md 04:18:30 -rw-rw-r-- 1 jenkins jenkins 880 Sep 30 04:10 Jenkinsfile 04:18:30 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 04:10 LICENSE 04:18:30 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 30 04:10 Makefile 04:18:30 -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 04:10 OWNERS.md 04:18:30 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 30 04:10 README.md 04:18:30 -rw-rw-r-- 1 jenkins jenkins 12 Sep 30 03:10 VERSION 04:18:30 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:10 bin 04:18:30 -rw-r--r-- 1 jenkins jenkins 100927 Sep 30 04:16 coverage.out 04:18:30 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 04:10 example 04:18:30 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 30 04:10 go.mod 04:18:30 -rw-rw-r-- 1 jenkins jenkins 37486 Sep 30 04:10 go.sum 04:18:30 drwxrwxr-x 14 jenkins jenkins 4096 Sep 30 04:10 internal 04:18:30 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 04:10 openapi 04:18:30 drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 04:10 pkg 04:18:30 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:10 snap 04:18:30 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:31 + 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=238ac69fab1befba96aeb5fe41e06f86e376d8a9 --label arch=arm64 --label version=2.3.0-dev.32 . 04:18:31 Sending build context to Docker daemon 5.435MB 04:18:31 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:18:31 Step 2/25 : FROM ${BASE} AS builder 04:18:31 ---> 99ea1f480052 04:18:31 Step 3/25 : ARG MAKE=make build 04:18:31 ---> Running in 5459d9cd882a 04:18:31 Removing intermediate container 5459d9cd882a 04:18:31 ---> 36c9c205f46c 04:18:31 Step 4/25 : WORKDIR /device-sdk-go 04:18:32 ---> Running in abae37f8215f 04:18:32 Removing intermediate container abae37f8215f 04:18:32 ---> b9720167d79a 04:18:32 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:18:32 ---> Running in a27a8ca3c3bb 04:18:32 Removing intermediate container a27a8ca3c3bb 04:18:32 ---> 171aac4e9dd5 04:18:32 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:18:32 ---> Running in 1657a61157d2 04:18:34 Removing intermediate container 1657a61157d2 04:18:34 ---> a223ecb972c1 04:18:34 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:18:34 ---> Running in bd34ce88f5e2 04:18:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:18:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:18:37 OK: 221 MiB in 51 packages 04:18:38 Removing intermediate container bd34ce88f5e2 04:18:38 ---> d4f50470f214 04:18:38 Step 8/25 : COPY go.mod vendor* ./ 04:18:39 ---> 3350c6a3e3a6 04:18:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:39 ---> Running in abffda86debe 04:18:41 Removing intermediate container abffda86debe 04:18:41 ---> 2335ea1c9f5b 04:18:41 Step 10/25 : COPY . . 04:18:42 ---> ed5a9bea7160 04:18:42 Step 11/25 : RUN ${MAKE} 04:18:42 ---> Running in be9aaf05213a 04:18:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.32" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:21:20 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:21:20 Removing intermediate container be9aaf05213a 04:21:20 ---> 0dfa3e7a3ce0 04:21:20 Step 12/25 : FROM alpine:3.16 04:21:20 3.16: Pulling from library/alpine 04:21:20 9b18e9b68314: Pulling fs layer 04:21:20 9b18e9b68314: Verifying Checksum 04:21:20 9b18e9b68314: Download complete 04:21:20 9b18e9b68314: Pull complete 04:21:20 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:21:20 Status: Downloaded newer image for alpine:3.16 04:21:20 ---> a6215f271958 04:21:20 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:21:20 ---> Running in 62c2de16d84a 04:21:20 Removing intermediate container 62c2de16d84a 04:21:20 ---> ff8e1978da18 04:21:20 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:20 ---> Running in c844f0c9e2c9 04:21:22 Removing intermediate container c844f0c9e2c9 04:21:22 ---> e2769b0e06e3 04:21:22 Step 15/25 : RUN apk add --update --no-cache zeromq 04:21:22 ---> Running in 34a3f9e61063 04:21:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:21:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:21:25 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:21:25 (2/5) Installing libsodium (1.0.18-r0) 04:21:25 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:21:25 (4/5) Installing libzmq (4.3.4-r0) 04:21:26 (5/5) Installing zeromq (4.3.4-r0) 04:21:26 Executing busybox-1.35.0-r17.trigger 04:21:26 OK: 8 MiB in 19 packages 04:21:27 Removing intermediate container 34a3f9e61063 04:21:27 ---> 4737a25ca59d 04:21:27 Step 16/25 : WORKDIR / 04:21:27 ---> Running in e6cd2fd29119 04:21:27 Removing intermediate container e6cd2fd29119 04:21:27 ---> a7029fec7900 04:21:27 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:21:28 ---> 76585fc5fc79 04:21:28 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:21:29 ---> b6653bc1ece5 04:21:29 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:21:30 ---> ba949df62fbc 04:21:30 Step 20/25 : EXPOSE 59999 04:21:30 ---> Running in 847d4c95a309 04:21:30 Removing intermediate container 847d4c95a309 04:21:30 ---> 3a6a24846113 04:21:30 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:21:30 ---> Running in 9c99a91abf6a 04:21:31 Removing intermediate container 9c99a91abf6a 04:21:31 ---> 9aebb2ca7d19 04:21:31 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:21:31 ---> Running in 22e1ff3ed849 04:21:31 Removing intermediate container 22e1ff3ed849 04:21:31 ---> 62b9870e4a8d 04:21:31 Step 23/25 : LABEL arch=arm64 04:21:31 ---> Running in a4e0cac74457 04:21:31 Removing intermediate container a4e0cac74457 04:21:31 ---> c264f58da699 04:21:31 Step 24/25 : LABEL git_sha=238ac69fab1befba96aeb5fe41e06f86e376d8a9 04:21:32 ---> Running in 2931529aaddb 04:21:32 Removing intermediate container 2931529aaddb 04:21:32 ---> 50b3bc0face3 04:21:32 Step 25/25 : LABEL version=2.3.0-dev.32 04:21:32 ---> Running in 381ec996aa92 04:21:32 Removing intermediate container 381ec996aa92 04:21:32 ---> c61d7ae34889 04:21:32 [Warning] One or more build-args [ARCH] were not consumed 04:21:32 Successfully built c61d7ae34889 04:21:32 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:33 04:21:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:33 arm64: Pulling from edgex-lftools-log-publisher 04:21:33 8998bd30e6a1: Pulling fs layer 04:21:33 04944245beec: Pulling fs layer 04:21:33 699f458cf7ca: Pulling fs layer 04:21:33 765212b225bb: Pulling fs layer 04:21:33 f23df028b6ca: Pulling fs layer 04:21:33 d65c8cfc05b1: Pulling fs layer 04:21:33 2437ff75d9bd: Pulling fs layer 04:21:33 765212b225bb: Waiting 04:21:33 f23df028b6ca: Waiting 04:21:33 d65c8cfc05b1: Waiting 04:21:33 2437ff75d9bd: Waiting 04:21:33 04944245beec: Verifying Checksum 04:21:33 04944245beec: Download complete 04:21:33 765212b225bb: Verifying Checksum 04:21:33 765212b225bb: Download complete 04:21:33 f23df028b6ca: Verifying Checksum 04:21:33 f23df028b6ca: Download complete 04:21:33 d65c8cfc05b1: Verifying Checksum 04:21:33 d65c8cfc05b1: Download complete 04:21:34 699f458cf7ca: Verifying Checksum 04:21:34 699f458cf7ca: Download complete 04:21:34 8998bd30e6a1: Verifying Checksum 04:21:34 8998bd30e6a1: Download complete 04:21:37 2437ff75d9bd: Verifying Checksum 04:21:37 2437ff75d9bd: Download complete 04:21:39 8998bd30e6a1: Pull complete 04:21:39 04944245beec: Pull complete 04:21:40 699f458cf7ca: Pull complete 04:21:40 765212b225bb: Pull complete 04:21:41 f23df028b6ca: Pull complete 04:21:41 d65c8cfc05b1: Pull complete 04:21:56 2437ff75d9bd: Pull complete 04:21:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:21:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:57 prd-ubuntu20.04-docker-arm64-4c-16g-5855 does not seem to be running inside a container 04:21:57 $ 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/107 -v /w/workspace/device-sdk-go/107:/w/workspace/device-sdk-go/107:rw,z -v /w/workspace/device-sdk-go/107@tmp:/w/workspace/device-sdk-go/107@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:22:00 $ docker top 114bc39a91a17fb414cd04e64ca55a6bec50014bebeb2695c68350f131ecfa10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:00 ---> job-cost.sh 04:22:00 lf-activate-venv: SKIPPING 04:22:00 INFO: No Stack... 04:22:01 INFO: Retrieving Pricing Info for: v3-standard-4 04:22:02 INFO: Archiving Costs [Pipeline] sh 04:22:03 + cut -d, -f6 04:22:03 + cat /w/workspace/device-sdk-go/107/archives/cost.csv [Pipeline] lock 04:22:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-107-stack-cost] 04:22:03 Resource [jenkins-edgexfoundry-device-sdk-go-main-107-stack-cost] did not exist. Created. 04:22:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-107-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:22:03 /w/workspace/device-sdk-go/107@tmp/durable-d3dccf3a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:22:04 + echo total: 0.10999999940395355 [Pipeline] stash 04:22:04 Warning: overwriting stash ‘stack-cost’ 04:22:04 Stashed 1 file(s) [Pipeline] } 04:22:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-107-stack-cost] [Pipeline] // lock [Pipeline] } 04:22:04 $ docker stop --time=1 114bc39a91a17fb414cd04e64ca55a6bec50014bebeb2695c68350f131ecfa10 04:22:06 $ docker rm -f 114bc39a91a17fb414cd04e64ca55a6bec50014bebeb2695c68350f131ecfa10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:22:06 provisioning config files... 04:22:06 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9734867217319675095tmp [Pipeline] { [Pipeline] sh 04:22:06 + set +x 04:22:06 + curl -s https://codecov.io/bash 04:22:06 + bash -s -- 04:22:06 04:22:06 _____ _ 04:22:06 / ____| | | 04:22:06 | | ___ __| | ___ ___ _____ __ 04:22:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:22:06 | |___| (_) | (_| | __/ (_| (_) \ V / 04:22:06 \_____\___/ \__,_|\___|\___\___/ \_/ 04:22:06 Bash-1.0.6 04:22:06 04:22:06 04:22:06 ==> git version 2.25.1 found 04:22:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:22:06 Release-Date: 2020-01-08 04:22:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:22:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:22:06 ==> Jenkins CI detected. 04:22:06 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:22:06 project root: . 04:22:06 --> token set from env 04:22:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:22:06 ==> Running gcov in . (disable via -X gcov) 04:22:06 ==> Python coveragepy not found 04:22:06 ==> Searching for coverage reports in: 04:22:06 + . 04:22:06 -> Found 1 reports 04:22:06 ==> Detecting git/mercurial file structure 04:22:06 ==> Reading reports 04:22:06 + ./coverage.out bytes=100927 04:22:06 ==> Appending adjustments 04:22:06 https://docs.codecov.io/docs/fixing-reports 04:22:07 + Found adjustments 04:22:07 ==> Gzipping contents 04:22:07 16K /tmp/codecov.IWbvAn.gz 04:22:07 ==> Uploading reports 04:22:07 url: https://codecov.io 04:22:07 query: branch=main&commit=238ac69fab1befba96aeb5fe41e06f86e376d8a9&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:22:07 -> Pinging Codecov 04:22:07 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=238ac69fab1befba96aeb5fe41e06f86e376d8a9&build=107&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F107%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:22:07 -> Uploading to 04:22:07 https://storage.googleapis.com/codecov/v4/raw/2022-09-30/7E55EF52A471D76F132DFD9A03CDDE97/238ac69fab1befba96aeb5fe41e06f86e376d8a9/213f4068-f4a4-4b61-9697-1d1fdb478ffe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220930T042207Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c0c45e99fb2ffa6e928ddb77546e67824fa9b1332b2c32a4d1aa549cf2b5dcfc 04:22:07 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:07 Dload Upload Total Spent Left Speed 04:22:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14527 0 0 100 14527 0 64852 --:--:-- --:--:-- --:--:-- 64852 04:22:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/238ac69fab1befba96aeb5fe41e06f86e376d8a9 [Pipeline] } 04:22:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:22:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:22:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:22:08 04:22:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:22:08 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:22:08 df9b9388f04a: Pulling fs layer 04:22:08 52dc419b0ee2: Pulling fs layer 04:22:08 25bc292e5bac: Pulling fs layer 04:22:08 114826534d7a: Pulling fs layer 04:22:08 4657fd5d0bcf: Pulling fs layer 04:22:08 114826534d7a: Waiting 04:22:08 6ad1cebc031e: Pulling fs layer 04:22:08 4657fd5d0bcf: Waiting 04:22:08 8a3aa393b2d8: Pulling fs layer 04:22:08 25bc292e5bac: Verifying Checksum 04:22:08 25bc292e5bac: Download complete 04:22:08 52dc419b0ee2: Verifying Checksum 04:22:08 52dc419b0ee2: Download complete 04:22:08 4657fd5d0bcf: Verifying Checksum 04:22:08 4657fd5d0bcf: Download complete 04:22:08 df9b9388f04a: Verifying Checksum 04:22:09 df9b9388f04a: Pull complete 04:22:09 52dc419b0ee2: Pull complete 04:22:09 6ad1cebc031e: Verifying Checksum 04:22:09 6ad1cebc031e: Download complete 04:22:09 25bc292e5bac: Pull complete 04:22:09 114826534d7a: Verifying Checksum 04:22:09 114826534d7a: Download complete 04:22:09 8a3aa393b2d8: Verifying Checksum 04:22:12 114826534d7a: Pull complete 04:22:12 4657fd5d0bcf: Pull complete 04:22:13 6ad1cebc031e: Pull complete 04:22:15 8a3aa393b2d8: Pull complete 04:22:15 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:22:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:22:15 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:16 prd-ubuntu20.04-docker-8c-8g-3043 does not seem to be running inside a container 04:22:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:22:17 $ docker top 25791674fe31940b403f33d0c8898897528d6fb460f5ea51d3fb9a125c9b6c2f -eo pid,comm [Pipeline] { [Pipeline] echo 04:22:18 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:22:18 + set -o pipefail 04:22:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:22:23 04:22:23 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 04:22:23 04:22:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/ebb5afa1-e72a-4a38-9906-7cd9115ef79c 04:22:23 04:22:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:22:23 04:22:23 [Pipeline] } 04:22:23 $ docker stop --time=1 25791674fe31940b403f33d0c8898897528d6fb460f5ea51d3fb9a125c9b6c2f 04:22:25 $ docker rm -f 25791674fe31940b403f33d0c8898897528d6fb460f5ea51d3fb9a125c9b6c2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 04:22:26 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:26 provisioning config files... 04:22:26 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12364036637667239643tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:26 --> edgex-publish-swagger.sh 04:22:26 === Publish openapi/v2 API === 04:22:26 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 04:22:26 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 04:22:26 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:26 Dload Upload Total Spent Left Speed 04:22:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 60647 --:--:-- --:--:-- --:--:-- 60647 04:22:27 04:22:27 [Pipeline] } 04:22:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:22:27 + git log --format=format:%s -1 238ac69fab1befba96aeb5fe41e06f86e376d8a9 [Pipeline] sh 04:22:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:22:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:28 prd-ubuntu20.04-docker-8c-8g-3043 does not seem to be running inside a container 04:22:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:22:28 $ docker top 9ca01dc704675e4964b87332cd91791b5905561b433c34553f1cb47dbd6dca4a -eo pid,comm 04:22:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:22:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:22:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:28 [ssh-agent] Looking for ssh-agent implementation... 04:22:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:28 $ docker exec 9ca01dc704675e4964b87332cd91791b5905561b433c34553f1cb47dbd6dca4a ssh-agent 04:22:29 SSH_AUTH_SOCK=/tmp/ssh-LUtOdx8LPqvp/agent.32 04:22:29 SSH_AGENT_PID=38 04:22:29 Running ssh-add (command line suppressed) 04:22:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12760011886883539345.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12760011886883539345.key) 04:22:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:29 + git semver tag 04:22:29 2022-09-30 04:22:29,648 [run_tag] DEBUG tag force:False 04:22:29 2022-09-30 04:22:29,648 [check_head_tag] DEBUG check head tag 04:22:29 2022-09-30 04:22:29,649 [execute] INFO git cat-file --batch-check 04:22:29 2022-09-30 04:22:29,649 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:22:29 2022-09-30 04:22:29,653 [execute] INFO git cat-file --batch 04:22:29 2022-09-30 04:22:29,653 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:22:29 2022-09-30 04:22:29,672 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:22:29 2022-09-30 04:22:29,672 [execute] INFO git tag -a v2.3.0-dev.32 -m v2.3.0-dev.32 04:22:29 2022-09-30 04:22:29,672 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.32', '-m', 'v2.3.0-dev.32'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:22:29 2022-09-30 04:22:29,676 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:22:29 2.3.0-dev.32 [Pipeline] } 04:22:29 $ docker exec --env ******** --env ******** 9ca01dc704675e4964b87332cd91791b5905561b433c34553f1cb47dbd6dca4a ssh-agent -k 04:22:29 unset SSH_AUTH_SOCK; 04:22:29 unset SSH_AGENT_PID; 04:22:29 echo Agent pid 38 killed; 04:22:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:22:30 + git semver [Pipeline] } 04:22:30 $ docker stop --time=1 9ca01dc704675e4964b87332cd91791b5905561b433c34553f1cb47dbd6dca4a 04:22:31 $ docker rm -f 9ca01dc704675e4964b87332cd91791b5905561b433c34553f1cb47dbd6dca4a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:22:32 04:22:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:22:32 0.23.1-centos7: Pulling from edgex-lftools 04:22:32 ab5ef0e58194: Pulling fs layer 04:22:32 9712f1f96733: Pulling fs layer 04:22:32 63f879dbbcfc: Pulling fs layer 04:22:32 0d9ebad4ef96: Pulling fs layer 04:22:32 e9a5061849ea: Pulling fs layer 04:22:32 d747dcd14b5f: Pulling fs layer 04:22:32 2de7ff778b66: Pulling fs layer 04:22:32 0d9ebad4ef96: Waiting 04:22:32 e9a5061849ea: Waiting 04:22:32 d747dcd14b5f: Waiting 04:22:32 2de7ff778b66: Waiting 04:22:32 9712f1f96733: Verifying Checksum 04:22:32 9712f1f96733: Download complete 04:22:33 63f879dbbcfc: Verifying Checksum 04:22:33 63f879dbbcfc: Download complete 04:22:33 ab5ef0e58194: Verifying Checksum 04:22:33 ab5ef0e58194: Download complete 04:22:33 d747dcd14b5f: Verifying Checksum 04:22:33 d747dcd14b5f: Download complete 04:22:33 0d9ebad4ef96: Verifying Checksum 04:22:33 0d9ebad4ef96: Download complete 04:22:33 e9a5061849ea: Verifying Checksum 04:22:33 e9a5061849ea: Download complete 04:22:33 2de7ff778b66: Verifying Checksum 04:22:33 2de7ff778b66: Download complete 04:22:35 ab5ef0e58194: Pull complete 04:22:35 9712f1f96733: Pull complete 04:22:36 63f879dbbcfc: Pull complete 04:22:39 0d9ebad4ef96: Pull complete 04:22:39 e9a5061849ea: Pull complete 04:22:39 d747dcd14b5f: Pull complete 04:22:40 2de7ff778b66: Pull complete 04:22:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:22:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:22:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:40 prd-ubuntu20.04-docker-8c-8g-3043 does not seem to be running inside a container 04:22:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:22:43 $ docker top 7df46f7cdf7287a8026c7d7cc75a839728aa59c429b246e5e2c30d334450dcf1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:22:43 provisioning config files... 04:22:43 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12037207162995046641tmp 04:22:43 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config495033122798464747tmp 04:22:43 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13635313913970263118tmp [Pipeline] { [Pipeline] echo 04:22:43 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:22:43 ---> sigul-configuration.sh 04:22:43 gpg: directory `/root/.gnupg' created 04:22:43 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:22:43 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:22:43 gpg: keyring `/root/.gnupg/secring.gpg' created 04:22:43 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:22:43 gpg: CAST5 encrypted data 04:22:43 gpg: encrypted with 1 passphrase 04:22:43 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:22:43 + mkdir /home/jenkins 04:22:43 + mkdir /home/jenkins/sigul [Pipeline] sh 04:22:43 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:22:43 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:22:44 ---> sigul-install.sh 04:22:44 Sigul already installed; skipping installation. [Pipeline] sh 04:22:44 + git tag --list 04:22:44 0.7.1 04:22:44 delhi-tag 04:22:44 v1.0.0 04:22:44 v1.1.0 04:22:44 v1.1.1 04:22:44 v1.1.2 04:22:44 v1.2.0 04:22:44 v1.2.1 04:22:44 v1.2.2 04:22:44 v1.2.3 04:22:44 v1.3.0 04:22:44 v1.4.0 04:22:44 v2.0.0 04:22:44 v2.1.0 04:22:44 v2.1.1 04:22:44 v2.1.1-dev.2 04:22:44 v2.1.1-dev.3 04:22:44 v2.2.0 04:22:44 v2.2.1-dev.1 04:22:44 v2.2.1-dev.10 04:22:44 v2.2.1-dev.11 04:22:44 v2.2.1-dev.12 04:22:44 v2.2.1-dev.13 04:22:44 v2.2.1-dev.14 04:22:44 v2.2.1-dev.2 04:22:44 v2.2.1-dev.3 04:22:44 v2.2.1-dev.4 04:22:44 v2.2.1-dev.5 04:22:44 v2.2.1-dev.6 04:22:44 v2.2.1-dev.7 04:22:44 v2.2.1-dev.8 04:22:44 v2.2.1-dev.9 04:22:44 v2.3.0-dev.14 04:22:44 v2.3.0-dev.15 04:22:44 v2.3.0-dev.16 04:22:44 v2.3.0-dev.17 04:22:44 v2.3.0-dev.18 04:22:44 v2.3.0-dev.19 04:22:44 v2.3.0-dev.20 04:22:44 v2.3.0-dev.21 04:22:44 v2.3.0-dev.22 04:22:44 v2.3.0-dev.23 04:22:44 v2.3.0-dev.24 04:22:44 v2.3.0-dev.25 04:22:44 v2.3.0-dev.26 04:22:44 v2.3.0-dev.27 04:22:44 v2.3.0-dev.28 04:22:44 v2.3.0-dev.29 04:22:44 v2.3.0-dev.30 04:22:44 v2.3.0-dev.31 04:22:44 v2.3.0-dev.32 [Pipeline] sh 04:22:44 + lftools sign git-tag v2.3.0-dev.32 04:22:45 Signing Git tag with Sigul... 04:22:45 Signing v2.3.0-dev.32 [Pipeline] echo 04:22:45 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:22:45 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:22:45 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:22:45 $ docker stop --time=1 7df46f7cdf7287a8026c7d7cc75a839728aa59c429b246e5e2c30d334450dcf1 04:22:47 $ docker rm -f 7df46f7cdf7287a8026c7d7cc75a839728aa59c429b246e5e2c30d334450dcf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:22:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:22:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:48 prd-ubuntu20.04-docker-8c-8g-3043 does not seem to be running inside a container 04:22:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:22:48 $ docker top 49760f51bf9fce81e275f53a8569536c164539592a676c37561c5dfa65916e44 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:22:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:48 [ssh-agent] Looking for ssh-agent implementation... 04:22:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:48 $ docker exec 49760f51bf9fce81e275f53a8569536c164539592a676c37561c5dfa65916e44 ssh-agent 04:22:48 SSH_AUTH_SOCK=/tmp/ssh-GJMXZkfhjLZ8/agent.33 04:22:48 SSH_AGENT_PID=39 04:22:48 Running ssh-add (command line suppressed) 04:22:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17060944918601455490.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17060944918601455490.key) 04:22:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:49 + git semver bump pre 04:22:49 2022-09-30 04:22:49,335 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:22:49 2022-09-30 04:22:49,335 [bump_version] DEBUG bumping version:2.3.0-dev.32 on axis:pre with prefix:dev 04:22:49 2022-09-30 04:22:49,335 [bump_version] DEBUG bumped version:2.3.0-dev.33 04:22:49 2022-09-30 04:22:49,335 [write_version] DEBUG write version:2.3.0-dev.33 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:22:49 2022-09-30 04:22:49,335 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:22:49 2022-09-30 04:22:49,335 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:22:49 2022-09-30 04:22:49,337 [execute] INFO git cat-file --batch-check 04:22:49 2022-09-30 04:22:49,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:22:49 2022-09-30 04:22:49,342 [execute] INFO git cat-file --batch 04:22:49 2022-09-30 04:22:49,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:22:49 2022-09-30 04:22:49,347 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:22:49 2.3.0-dev.33 [Pipeline] } 04:22:49 $ docker exec --env ******** --env ******** 49760f51bf9fce81e275f53a8569536c164539592a676c37561c5dfa65916e44 ssh-agent -k 04:22:49 unset SSH_AUTH_SOCK; 04:22:49 unset SSH_AGENT_PID; 04:22:49 echo Agent pid 39 killed; 04:22:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:22:49 + git semver [Pipeline] } 04:22:50 $ docker stop --time=1 49760f51bf9fce81e275f53a8569536c164539592a676c37561c5dfa65916e44 04:22:51 $ docker rm -f 49760f51bf9fce81e275f53a8569536c164539592a676c37561c5dfa65916e44 [Pipeline] // withDockerContainer [Pipeline] sh 04:22:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:22:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:22:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:52 prd-ubuntu20.04-docker-8c-8g-3043 does not seem to be running inside a container 04:22:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:22:52 $ docker top f37061851a2775225b2c077cc18ea42f71de427117efbb4cd20b5d1394981ecf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:22:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:52 [ssh-agent] Looking for ssh-agent implementation... 04:22:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:52 $ docker exec f37061851a2775225b2c077cc18ea42f71de427117efbb4cd20b5d1394981ecf ssh-agent 04:22:52 SSH_AUTH_SOCK=/tmp/ssh-6u2zZ4z7klWU/agent.32 04:22:52 SSH_AGENT_PID=38 04:22:52 Running ssh-add (command line suppressed) 04:22:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5953212945438120517.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5953212945438120517.key) 04:22:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:53 + git semver push 04:22:53 2022-09-30 04:22:53,448 [run_push] DEBUG push 04:22:53 2022-09-30 04:22:53,449 [execute] INFO git cat-file --batch-check 04:22:53 2022-09-30 04:22:53,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:22:53 2022-09-30 04:22:53,454 [execute] INFO git rev-list fe66f7737b3511970f3d89bb877fe1c8198ecacf -- 04:22:53 2022-09-30 04:22:53,454 [execute] DEBUG Popen(['git', 'rev-list', 'fe66f7737b3511970f3d89bb877fe1c8198ecacf', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:22:53 2022-09-30 04:22:53,464 [execute] INFO git fetch -v origin 04:22:53 2022-09-30 04:22:53,464 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:22:54 2022-09-30 04:22:54,165 [run_push] DEBUG no remote changes detected 04:22:54 2022-09-30 04:22:54,166 [execute] INFO git push origin semver 04:22:54 2022-09-30 04:22:54,166 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:22:55 2022-09-30 04:22:54,937 [run_push] DEBUG push all version tags 04:22:55 2022-09-30 04:22:54,938 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:22:55 2022-09-30 04:22:54,938 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:22:55 2022-09-30 04:22:55,717 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:22:55 2.3.0-dev.33 [Pipeline] } 04:22:55 $ docker exec --env ******** --env ******** f37061851a2775225b2c077cc18ea42f71de427117efbb4cd20b5d1394981ecf ssh-agent -k 04:22:55 unset SSH_AUTH_SOCK; 04:22:55 unset SSH_AGENT_PID; 04:22:55 echo Agent pid 38 killed; 04:22:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:22:56 + git semver [Pipeline] } 04:22:56 $ docker stop --time=1 f37061851a2775225b2c077cc18ea42f71de427117efbb4cd20b5d1394981ecf 04:22:57 $ docker rm -f f37061851a2775225b2c077cc18ea42f71de427117efbb4cd20b5d1394981ecf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:22:58 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:22:58 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:22:58 total 16 04:22:58 drwxr-xr-x 3 root root 4096 Sep 30 03:13 . 04:22:58 drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 04:22 .. 04:22:58 drwxr-xr-x 2 root root 4096 Sep 30 03:13 cost 04:22:58 -rw-r--r-- 1 root root 85 Sep 30 03:13 cost.csv 04:22:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:22:58 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:22:58 total 16 04:22:58 drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 03:13 . 04:22:58 drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 04:22 .. 04:22:58 drwxr-xr-x 2 jenkins jenkins 4096 Sep 30 03:13 cost 04:22:58 -rw-r--r-- 1 jenkins jenkins 85 Sep 30 03:13 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:22:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:22:59 ---> package-listing.sh 04:22:59 ++ facter osfamily 04:22:59 ++ tr '[:upper:]' '[:lower:]' 04:22:59 + OS_FAMILY=debian 04:22:59 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:22:59 + START_PACKAGES=/tmp/packages_start.txt 04:22:59 + END_PACKAGES=/tmp/packages_end.txt 04:22:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:22:59 + PACKAGES=/tmp/packages_start.txt 04:22:59 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:22:59 + PACKAGES=/tmp/packages_end.txt 04:22:59 + case "${OS_FAMILY}" in 04:22:59 + dpkg -l 04:22:59 + grep '^ii' 04:22:59 + '[' -f /tmp/packages_start.txt ']' 04:22:59 + '[' -f /tmp/packages_end.txt ']' 04:22:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:22:59 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:22:59 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:22:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:22:59 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:23:00 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:23:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:23:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:23:00 prd-ubuntu20.04-docker-8c-8g-3043 does not seem to be running inside a container 04:23:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:23:00 $ docker top 7bf55fd19689e4a528b3c5214abd7aaf80271f54891e9d992b81e01b73868a27 -eo pid,comm [Pipeline] { [Pipeline] sh 04:23:01 + touch /tmp/pre-build-complete [Pipeline] sh 04:23:01 + mkdir -p /var/log/sysstat [Pipeline] sh 04:23:01 + ls /var/log/sa-host 04:23:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:23:01 provisioning config files... 04:23:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15205544607570307430tmp [Pipeline] { [Pipeline] echo 04:23:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:23:02 ---> create-netrc.sh [Pipeline] } 04:23:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:23:02 ---> python-tools-install.sh [Pipeline] echo 04:23:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:23:02 ---> sudo-logs.sh 04:23:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:23:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:23:03 ---> job-cost.sh 04:23:03 lf-activate-venv: SKIPPING 04:23:03 DEBUG: total: 0.2199999988079071 04:23:03 INFO: Retrieving Stack Cost... 04:23:03 INFO: Retrieving Pricing Info for: v3-standard-8 04:23:03 INFO: Archiving Costs [Pipeline] echo 04:23:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:23:04 ---> logs-deploy.sh 04:23:04 lf-activate-venv: SKIPPING 04:23:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/107 04:23:04 INFO: archiving workspace using pattern(s): 04:23:05 Archives upload complete. 04:23:05 INFO: archiving logs to Nexus