Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0b0fd8621743a303648e9248d2aa1db21f4d7aab 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-ssh1552345473085374552.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh1412780831311975891.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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh17180729492467725743.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 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh3185589988730300418.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-ssh10753808211086833472.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-117792 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0b0fd8621743a303648e9248d2aa1db21f4d7aab (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 Commit message: "Merge pull request #1252 from lenny-intel/levski-change-log" > git rev-list --no-walk 8250e301d92a025f83865f5663963929d81085da # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:50:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:50:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:50:34 ========================================================= 01:50:34 EdgeX Global Pipelines Version Info 01:50:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:50:35 ------------------- 01:50:35 stable info: 01:50:35 ------------------- 01:50:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:50:35 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:50:35 Message: update stable to v1.0.243 01:50:35 ------------------- 01:50:35 experimental info: 01:50:35 ------------------- 01:50:35 Commited By: **** collab-it+edgex@linuxfoundation.org 01:50:35 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 01:50:35 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0b0fd8621743a303648e9248d2aa1db21f4d7aab [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0b0fd86 [Pipeline] echo 01:50:36 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:36 provisioning config files... 01:50:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config660648581775757852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:36 ---> docker-login.sh 01:50:36 nexus3.edgexfoundry.org:10001 01:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:37 Configure a credential helper to remove this warning. See 01:50:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:37 01:50:37 Login Succeeded 01:50:37 nexus3.edgexfoundry.org:10002 01:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:37 Configure a credential helper to remove this warning. See 01:50:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:37 01:50:37 Login Succeeded 01:50:37 nexus3.edgexfoundry.org:10003 01:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:37 Configure a credential helper to remove this warning. See 01:50:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:37 01:50:37 Login Succeeded 01:50:37 nexus3.edgexfoundry.org:10004 01:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:37 Configure a credential helper to remove this warning. See 01:50:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:37 01:50:37 Login Succeeded 01:50:37 docker.io 01:50:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:37 Configure a credential helper to remove this warning. See 01:50:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:37 01:50:37 Login Succeeded 01:50:37 ---> docker-login.sh ends [Pipeline] } 01:50:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:50:38 + git rev-list -1 --merges 0b0fd8621743a303648e9248d2aa1db21f4d7aab~1..0b0fd8621743a303648e9248d2aa1db21f4d7aab [Pipeline] echo 01:50:38 -----------> git rev-list -1 --merges 0b0fd8621743a303648e9248d2aa1db21f4d7aab~1..0b0fd8621743a303648e9248d2aa1db21f4d7aab 0b0fd8621743a303648e9248d2aa1db21f4d7aab 01:50:38 0b0fd8621743a303648e9248d2aa1db21f4d7aab [false] [Pipeline] sh 01:50:38 + git log --format=format:%s -1 0b0fd8621743a303648e9248d2aa1db21f4d7aab [Pipeline] echo 01:50:38 ========================================================= 01:50:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:50:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:50:38 + git log --format=format:%s -1 0b0fd8621743a303648e9248d2aa1db21f4d7aab [Pipeline] echo 01:50:38 [semverPrep] GIT_COMMIT: 0b0fd8621743a303648e9248d2aa1db21f4d7aab, Commit Message: Merge pull request #1252 from lenny-intel/levski-change-log [Pipeline] echo 01:50:38 [semverPrep] This is not a build commit. [Pipeline] sh 01:50:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:50:39 + grep -v github /etc/ssh/ssh_known_hosts 01:50:39 + [ -e /tmp/ssh_known_hosts ] 01:50:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:50:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:50:39 + sudo tee -a /etc/ssh/ssh_known_hosts 01:50:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:50:39 01:50:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:50:39 0.1.4: Pulling from edgex-devops/py-git-semver 01:50:39 b85a868b505f: Pulling fs layer 01:50:39 e2be974225ed: Pulling fs layer 01:50:39 339a4e72a1f5: Pulling fs layer 01:50:39 988bab9f4d93: Pulling fs layer 01:50:39 1469e6f7b9e6: Pulling fs layer 01:50:39 eaf3925da568: Pulling fs layer 01:50:39 bab4dde63d76: Pulling fs layer 01:50:39 bde34c3a00c8: Pulling fs layer 01:50:39 b352a97aabf1: Pulling fs layer 01:50:39 4872d77fe225: Pulling fs layer 01:50:39 5851b861e8e6: Pulling fs layer 01:50:39 988bab9f4d93: Waiting 01:50:39 1469e6f7b9e6: Waiting 01:50:39 eaf3925da568: Waiting 01:50:39 bab4dde63d76: Waiting 01:50:39 bde34c3a00c8: Waiting 01:50:39 5851b861e8e6: Waiting 01:50:39 b352a97aabf1: Waiting 01:50:39 4872d77fe225: Waiting 01:50:39 e2be974225ed: Verifying Checksum 01:50:39 e2be974225ed: Download complete 01:50:39 988bab9f4d93: Download complete 01:50:40 339a4e72a1f5: Verifying Checksum 01:50:40 339a4e72a1f5: Download complete 01:50:40 1469e6f7b9e6: Verifying Checksum 01:50:40 1469e6f7b9e6: Download complete 01:50:40 eaf3925da568: Download complete 01:50:40 bde34c3a00c8: Download complete 01:50:40 b352a97aabf1: Verifying Checksum 01:50:40 b352a97aabf1: Download complete 01:50:40 4872d77fe225: Verifying Checksum 01:50:40 4872d77fe225: Download complete 01:50:40 5851b861e8e6: Verifying Checksum 01:50:40 5851b861e8e6: Download complete 01:50:40 b85a868b505f: Download complete 01:50:40 bab4dde63d76: Verifying Checksum 01:50:40 bab4dde63d76: Download complete 01:50:41 b85a868b505f: Pull complete 01:50:41 e2be974225ed: Pull complete 01:50:42 339a4e72a1f5: Pull complete 01:50:42 988bab9f4d93: Pull complete 01:50:42 1469e6f7b9e6: Pull complete 01:50:42 eaf3925da568: Pull complete 01:50:44 bab4dde63d76: Pull complete 01:50:44 bde34c3a00c8: Pull complete 01:50:44 b352a97aabf1: Pull complete 01:50:44 4872d77fe225: Pull complete 01:50:44 5851b861e8e6: Pull complete 01:50:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:50:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:50:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:50:44 prd-ubuntu20.04-docker-8c-8g-117792 does not seem to be running inside a container 01:50:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:50:47 $ docker top 33c4522223bdd21e1d94246c3eadf3056f3ca4f70089e8af302e3fc5b46a09c7 -eo pid,comm 01:50:47 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 01:50:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:50:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:50:47 [ssh-agent] Looking for ssh-agent implementation... 01:50:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:50:47 $ docker exec 33c4522223bdd21e1d94246c3eadf3056f3ca4f70089e8af302e3fc5b46a09c7 ssh-agent 01:50:48 SSH_AUTH_SOCK=/tmp/ssh-Fe9CQH9jd1Ot/agent.32 01:50:48 SSH_AGENT_PID=38 01:50:48 Running ssh-add (command line suppressed) 01:50:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14378380407401106538.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14378380407401106538.key) 01:50:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:50:48 + git tag --points-at HEAD [Pipeline] } 01:50:48 $ docker exec --env ******** --env ******** 33c4522223bdd21e1d94246c3eadf3056f3ca4f70089e8af302e3fc5b46a09c7 ssh-agent -k 01:50:48 unset SSH_AUTH_SOCK; 01:50:48 unset SSH_AGENT_PID; 01:50:48 echo Agent pid 38 killed; 01:50:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:50:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:50:48 [ssh-agent] Looking for ssh-agent implementation... 01:50:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:50:48 $ docker exec 33c4522223bdd21e1d94246c3eadf3056f3ca4f70089e8af302e3fc5b46a09c7 ssh-agent 01:50:48 SSH_AUTH_SOCK=/tmp/ssh-z4NQxpCHmila/agent.70 01:50:48 SSH_AGENT_PID=76 01:50:48 Running ssh-add (command line suppressed) 01:50:49 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18151953558220628923.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18151953558220628923.key) 01:50:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:50:49 + git semver init 01:50:49 2022-11-02 01:50:49,496 [run_init] DEBUG init version:0.0.0 force:False 01:50:49 2022-11-02 01:50:49,497 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 01:50:49 2022-11-02 01:50:49,498 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 01:50:49 2022-11-02 01:50:49,498 [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) 01:50:50 2022-11-02 01:50:50,531 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 01:50:50 2022-11-02 01:50:50,531 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 01:50:50 2022-11-02 01:50:50,531 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:50:50 2022-11-02 01:50:50,531 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 01:50:50 2.3.0-dev.50 [Pipeline] } 01:50:50 $ docker exec --env ******** --env ******** 33c4522223bdd21e1d94246c3eadf3056f3ca4f70089e8af302e3fc5b46a09c7 ssh-agent -k 01:50:51 unset SSH_AUTH_SOCK; 01:50:51 unset SSH_AGENT_PID; 01:50:51 echo Agent pid 76 killed; 01:50:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:50:51 + git semver [Pipeline] } 01:50:51 $ docker stop --time=1 33c4522223bdd21e1d94246c3eadf3056f3ca4f70089e8af302e3fc5b46a09c7 01:50:52 $ docker rm -f 33c4522223bdd21e1d94246c3eadf3056f3ca4f70089e8af302e3fc5b46a09c7 [Pipeline] // withDockerContainer [Pipeline] sh 01:50:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:50:53 Stashed 1 file(s) [Pipeline] echo 01:50:53 [edgeXSemver]: initialized semver on version 2.3.0-dev.50 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:50:53 provisioning config files... 01:50:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config707627164236283740tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:50:53 ---> docker-login.sh 01:50:53 nexus3.edgexfoundry.org:10001 01:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:53 Configure a credential helper to remove this warning. See 01:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:53 01:50:53 Login Succeeded 01:50:53 nexus3.edgexfoundry.org:10002 01:50:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:53 Configure a credential helper to remove this warning. See 01:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:53 01:50:53 Login Succeeded 01:50:53 nexus3.edgexfoundry.org:10003 01:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:54 Configure a credential helper to remove this warning. See 01:50:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:54 01:50:54 Login Succeeded 01:50:54 nexus3.edgexfoundry.org:10004 01:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:54 Configure a credential helper to remove this warning. See 01:50:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:54 01:50:54 Login Succeeded 01:50:54 docker.io 01:50:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:50:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:50:54 Configure a credential helper to remove this warning. See 01:50:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:50:54 01:50:54 Login Succeeded 01:50:54 ---> docker-login.sh ends [Pipeline] } 01:50:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:50:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:50:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:50:54 ========================================================= 01:50:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 01:50:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:50:55 + 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 . 01:50:55 Sending build context to Docker daemon 10.1MB 01:50:55 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 01:50:55 Step 2/10 : FROM ${BASE} AS builder 01:50:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 01:50:55 213ec9aee27d: Pulling fs layer 01:50:55 4583459ba037: Pulling fs layer 01:50:55 93c1e223e6f2: Pulling fs layer 01:50:55 53926ce57604: Pulling fs layer 01:50:55 21b2b0c7a3f4: Pulling fs layer 01:50:55 30f14e443154: Pulling fs layer 01:50:55 801331c1e519: Pulling fs layer 01:50:55 99cc6dd402b0: Pulling fs layer 01:50:55 7d9ed39f4882: Pulling fs layer 01:50:55 21b2b0c7a3f4: Waiting 01:50:55 99cc6dd402b0: Waiting 01:50:55 30f14e443154: Waiting 01:50:55 801331c1e519: Waiting 01:50:55 7d9ed39f4882: Waiting 01:50:55 53926ce57604: Waiting 01:50:55 93c1e223e6f2: Download complete 01:50:55 4583459ba037: Download complete 01:50:55 21b2b0c7a3f4: Verifying Checksum 01:50:55 21b2b0c7a3f4: Download complete 01:50:55 30f14e443154: Verifying Checksum 01:50:55 30f14e443154: Download complete 01:50:55 213ec9aee27d: Download complete 01:50:55 801331c1e519: Verifying Checksum 01:50:55 801331c1e519: Download complete 01:50:55 213ec9aee27d: Pull complete 01:50:55 4583459ba037: Pull complete 01:50:55 93c1e223e6f2: Pull complete 01:50:55 99cc6dd402b0: Verifying Checksum 01:50:55 99cc6dd402b0: Download complete 01:50:55 7d9ed39f4882: Verifying Checksum 01:50:55 7d9ed39f4882: Download complete 01:50:56 53926ce57604: Verifying Checksum 01:50:56 53926ce57604: Download complete 01:50:59 53926ce57604: Pull complete 01:50:59 21b2b0c7a3f4: Pull complete 01:50:59 30f14e443154: Pull complete 01:50:59 801331c1e519: Pull complete 01:51:01 99cc6dd402b0: Pull complete 01:51:02 7d9ed39f4882: Pull complete 01:51:02 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 01:51:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 01:51:02 ---> 1dedd983c030 01:51:02 Step 3/10 : ARG MAKE=make build 01:51:06 ---> Running in fdf3d202b82f 01:51:06 Removing intermediate container fdf3d202b82f 01:51:06 ---> f500be6240be 01:51:06 Step 4/10 : WORKDIR /device-sdk-go 01:51:06 ---> Running in fb47c9184d35 01:51:06 Removing intermediate container fb47c9184d35 01:51:06 ---> 15ad781971f1 01:51:06 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:51:06 ---> Running in a68197b603b1 01:51:06 Removing intermediate container a68197b603b1 01:51:06 ---> 2cf2e35f504b 01:51:06 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:51:06 ---> Running in 02a7c90966e9 01:51:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:51:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:51:07 OK: 211 MiB in 51 packages 01:51:07 Removing intermediate container 02a7c90966e9 01:51:07 ---> 4ecdf5035a8c 01:51:07 Step 7/10 : COPY go.mod vendor* ./ 01:51:07 ---> 027a23e5f405 01:51:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:51:07 ---> Running in c15226bce095 01:51:08 Still waiting to schedule task 01:51:08 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117790’ 01:51:34 Removing intermediate container c15226bce095 01:51:34 ---> 9ce35c6bea55 01:51:34 Step 9/10 : COPY . . 01:51:34 ---> 189be666dacc 01:51:34 Step 10/10 : RUN ${MAKE} 01:51:34 ---> Running in 75196a8848cf 01:51:34 noop 01:51:34 Removing intermediate container 75196a8848cf 01:51:34 ---> 8ae5c456c913 01:51:34 Successfully built 8ae5c456c913 01:51:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:34 + docker inspect -f . ci-base-image-x86_64 01:51:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:51:34 prd-ubuntu20.04-docker-8c-8g-117792 does not seem to be running inside a container 01:51:34 $ 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 ******** ci-base-image-x86_64 cat 01:51:35 $ docker top 426ff111045a3b9bbd6f689389f5e7564d0c8dd81f00acf0c4fed8be76ad99cf -eo pid,comm [Pipeline] { [Pipeline] sh 01:51:35 + go version 01:51:35 go version go1.18.7 linux/amd64 [Pipeline] } 01:51:35 $ docker stop --time=1 426ff111045a3b9bbd6f689389f5e7564d0c8dd81f00acf0c4fed8be76ad99cf 01:51:36 $ docker rm -f 426ff111045a3b9bbd6f689389f5e7564d0c8dd81f00acf0c4fed8be76ad99cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:51:37 + docker inspect -f . ci-base-image-x86_64 01:51:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:51:37 prd-ubuntu20.04-docker-8c-8g-117792 does not seem to be running inside a container 01:51:37 $ 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 ******** ci-base-image-x86_64 cat 01:51:37 $ docker top ebbadf42682086ede1e2775354a525092419b30248195f4219fd1e09f7291bb1 -eo pid,comm [Pipeline] { [Pipeline] sh 01:51:37 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 01:51:38 + make test 01:51:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:51:44 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 27.6% of statements 01:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.097s coverage: 78.9% of statements 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 01:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.085s coverage: 73.1% of statements 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.121s coverage: 54.4% of statements 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 65.1% of statements 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 01:51:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.703s coverage: 89.2% of statements 01:51:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:51:57 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 01:51:57 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:52:12 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." 01:52:12 GO111MODULE=on go vet ./... 01:52:13 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:52:13 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:52:13 ./bin/test-attribution-txt.sh 01:52:13 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 01:52:13 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 01:52:13 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 01:52:13 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 01:52:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:52:13 $ docker stop --time=1 ebbadf42682086ede1e2775354a525092419b30248195f4219fd1e09f7291bb1 01:52:17 $ docker rm -f ebbadf42682086ede1e2775354a525092419b30248195f4219fd1e09f7291bb1 [Pipeline] // withDockerContainer [Pipeline] sh 01:52:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:52:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:52:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:52:19 + ls -al . 01:52:19 total 280 01:52:19 drwxrwxr-x 11 jenkins jenkins 4096 Nov 2 01:51 . 01:52:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 01:50 .. 01:52:19 -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 01:50 .dockerignore 01:52:19 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 01:51 .git 01:52:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 01:50 .github 01:52:19 -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 01:50 .gitignore 01:52:19 -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 01:50 .golangci.yml 01:52:19 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 01:50 .semver 01:52:19 -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 01:50 CHANGELOG.md 01:52:19 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 01:50 GOVERNANCE.md 01:52:19 -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 01:50 Jenkinsfile 01:52:19 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 01:50 LICENSE 01:52:19 -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 01:50 Makefile 01:52:19 -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 01:50 OWNERS.md 01:52:19 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 01:50 README.md 01:52:19 -rw-rw-r-- 1 jenkins jenkins 12 Nov 2 01:50 VERSION 01:52:19 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 01:50 bin 01:52:19 -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 01:51 coverage.out 01:52:19 drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 01:50 example 01:52:19 -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 01:50 go.mod 01:52:19 -rw-rw-r-- 1 jenkins jenkins 44507 Nov 2 01:50 go.sum 01:52:19 drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 01:50 internal 01:52:19 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 01:50 openapi 01:52:19 drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 01:50 pkg 01:52:19 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 01:50 snap 01:52:19 -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 01:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:19 + 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=0b0fd8621743a303648e9248d2aa1db21f4d7aab --label arch=amd64 --label version=2.3.0-dev.50 . 01:52:19 Sending build context to Docker daemon 10.2MB 01:52:19 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 01:52:19 Step 2/23 : FROM ${BASE} AS builder 01:52:19 ---> 8ae5c456c913 01:52:19 Step 3/23 : ARG MAKE=make build 01:52:19 ---> Running in 21d0fc8755ed 01:52:19 Removing intermediate container 21d0fc8755ed 01:52:19 ---> ddfd7983747c 01:52:19 Step 4/23 : WORKDIR /device-sdk-go 01:52:19 ---> Running in 4a2d7c76555c 01:52:19 Removing intermediate container 4a2d7c76555c 01:52:19 ---> 9afa6de58d72 01:52:19 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:52:19 ---> Running in 6ede489adc4a 01:52:19 Removing intermediate container 6ede489adc4a 01:52:19 ---> 4e8f5d664bde 01:52:19 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:52:19 ---> Running in cbcd89cbe0e2 01:52:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:52:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:52:20 OK: 211 MiB in 51 packages 01:52:20 Removing intermediate container cbcd89cbe0e2 01:52:20 ---> f91fee5ee050 01:52:20 Step 7/23 : COPY go.mod vendor* ./ 01:52:20 ---> 6a2a0921680b 01:52:20 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:52:20 ---> Running in 3d8de5b7871d 01:52:21 Removing intermediate container 3d8de5b7871d 01:52:21 ---> 3003821fc9c9 01:52:21 Step 9/23 : COPY . . 01:52:22 ---> ce8929f91aaf 01:52:22 Step 10/23 : RUN ${MAKE} 01:52:22 ---> Running in bafb9eda1395 01:52:22 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.50" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:52:40 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:52:41 Removing intermediate container bafb9eda1395 01:52:41 ---> 8c71e94ad51d 01:52:41 Step 11/23 : FROM alpine:3.16 01:52:42 3.16: Pulling from library/alpine 01:52:42 213ec9aee27d: Already exists 01:52:42 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 01:52:42 Status: Downloaded newer image for alpine:3.16 01:52:42 ---> 9c6f07244728 01:52:42 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:52:42 ---> Running in 19116c665195 01:52:42 Removing intermediate container 19116c665195 01:52:42 ---> a682ac11e166 01:52:42 Step 13/23 : RUN apk add --update --no-cache zeromq 01:52:42 ---> Running in bfef1e17c18e 01:52:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 01:52:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 01:52:43 (1/5) Installing libgcc (11.2.1_git20220219-r2) 01:52:43 (2/5) Installing libsodium (1.0.18-r0) 01:52:43 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 01:52:43 (4/5) Installing libzmq (4.3.4-r0) 01:52:43 (5/5) Installing zeromq (4.3.4-r0) 01:52:43 Executing busybox-1.35.0-r17.trigger 01:52:43 OK: 8 MiB in 19 packages 01:52:43 Removing intermediate container bfef1e17c18e 01:52:43 ---> cb6373e3ec5e 01:52:43 Step 14/23 : WORKDIR / 01:52:43 ---> Running in 7edef5fd4f57 01:52:43 Removing intermediate container 7edef5fd4f57 01:52:43 ---> c8db0397c1d4 01:52:43 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:52:43 ---> 79c14cd1874e 01:52:43 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:52:44 ---> 6abe3bf08823 01:52:44 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:52:44 ---> 7fecee3eaa63 01:52:44 Step 18/23 : EXPOSE 59999 01:52:44 ---> Running in 479e2a30c328 01:52:44 Removing intermediate container 479e2a30c328 01:52:44 ---> f191f4cfd7ca 01:52:44 Step 19/23 : ENTRYPOINT ["/device-simple"] 01:52:44 ---> Running in f95b63e2b278 01:52:44 Removing intermediate container f95b63e2b278 01:52:44 ---> 1db30f9e15f2 01:52:44 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:52:44 ---> Running in c7d704e4b02b 01:52:44 Removing intermediate container c7d704e4b02b 01:52:44 ---> 282c8352fd0d 01:52:44 Step 21/23 : LABEL arch=amd64 01:52:44 ---> Running in 16ccdab774eb 01:52:44 Removing intermediate container 16ccdab774eb 01:52:44 ---> 5aed5a403e25 01:52:44 Step 22/23 : LABEL git_sha=0b0fd8621743a303648e9248d2aa1db21f4d7aab 01:52:44 ---> Running in 192a32ea35a8 01:52:44 Removing intermediate container 192a32ea35a8 01:52:44 ---> d30fa3befb9b 01:52:44 Step 23/23 : LABEL version=2.3.0-dev.50 01:52:44 ---> Running in 8f2979ec5bca 01:52:45 Removing intermediate container 8f2979ec5bca 01:52:45 ---> 145b7ebb56a4 01:52:45 [Warning] One or more build-args [ARCH] were not consumed 01:52:45 Successfully built 145b7ebb56a4 01:52:45 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:52:45 01:52:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:52:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:52:45 latest: Pulling from edgex-lftools-log-publisher 01:52:45 5eb5b503b376: Pulling fs layer 01:52:45 5c69ac0246d0: Pulling fs layer 01:52:45 ec43610c2a17: Pulling fs layer 01:52:45 3a2ae6a8a46f: Pulling fs layer 01:52:45 33b1e0a273af: Pulling fs layer 01:52:45 3a2ae6a8a46f: Waiting 01:52:45 5d3b04190fa2: Pulling fs layer 01:52:45 2f39f015ded8: Pulling fs layer 01:52:45 33b1e0a273af: Waiting 01:52:45 5d3b04190fa2: Waiting 01:52:45 2f39f015ded8: Waiting 01:52:45 5c69ac0246d0: Download complete 01:52:45 3a2ae6a8a46f: Download complete 01:52:45 33b1e0a273af: Verifying Checksum 01:52:45 33b1e0a273af: Download complete 01:52:46 ec43610c2a17: Verifying Checksum 01:52:46 ec43610c2a17: Download complete 01:52:46 5d3b04190fa2: Verifying Checksum 01:52:46 5d3b04190fa2: Download complete 01:52:46 5eb5b503b376: Verifying Checksum 01:52:46 5eb5b503b376: Download complete 01:52:46 2f39f015ded8: Download complete 01:52:47 5eb5b503b376: Pull complete 01:52:47 5c69ac0246d0: Pull complete 01:52:47 ec43610c2a17: Pull complete 01:52:47 3a2ae6a8a46f: Pull complete 01:52:47 33b1e0a273af: Pull complete 01:52:48 5d3b04190fa2: Pull complete 01:52:52 2f39f015ded8: Pull complete 01:52:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:52:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:52:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:52:52 prd-ubuntu20.04-docker-8c-8g-117792 does not seem to be running inside a container 01:52:52 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:52:55 $ docker top ce6a7c7d9945b515aff0961f6a62a6e0c607204239f1e10772ce6e5a92f8c53d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:52:56 ---> job-cost.sh 01:52:56 lf-activate-venv: SKIPPING 01:52:56 INFO: No Stack... 01:52:56 INFO: Retrieving Pricing Info for: v3-standard-8 01:52:57 INFO: Archiving Costs [Pipeline] sh 01:52:57 + cut -d, -f6 01:52:57 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [Pipeline] lock 01:52:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-126-stack-cost] 01:52:57 Resource [jenkins-edgexfoundry-device-sdk-go-main-126-stack-cost] did not exist. Created. 01:52:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:52:57 + echo total: 0.2199999988079071 [Pipeline] stash 01:52:57 Stashed 1 file(s) [Pipeline] } 01:52:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-126-stack-cost] [Pipeline] // lock [Pipeline] } 01:52:57 $ docker stop --time=1 ce6a7c7d9945b515aff0961f6a62a6e0c607204239f1e10772ce6e5a92f8c53d 01:52:58 $ docker rm -f ce6a7c7d9945b515aff0961f6a62a6e0c607204239f1e10772ce6e5a92f8c53d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:54:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117793 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 01:54:37 Running in /w/workspace/device-sdk-go/126 [Pipeline] { [Pipeline] checkout 01:54:37 The recommended git tool is: git 01:54:41 using credential edgex-jenkins-ssh 01:54:41 Cloning the remote Git repository 01:54:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:54:42 > git init /w/workspace/device-sdk-go/126 # timeout=10 01:54:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:54:42 > git --version # timeout=10 01:54:42 > git --version # 'git version 2.25.1' 01:54:42 using GIT_SSH to set credentials SSH Credentials for GitHub 01:54:42 Verifying host key using known hosts file 01:54:42 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. 01:54:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:54:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:54:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:54:45 Avoid second fetch 01:54:45 Checking out Revision 0b0fd8621743a303648e9248d2aa1db21f4d7aab (main) 01:54:45 Commit message: "Merge pull request #1252 from lenny-intel/levski-change-log" 01:54:45 > git config core.sparsecheckout # timeout=10 01:54:45 > git checkout -f 0b0fd8621743a303648e9248d2aa1db21f4d7aab # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:54:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:54:46 % Total % Received % Xferd Average Speed Time Time Time Current 01:54:46 Dload Upload Total Spent Left Speed 01:54:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh 01:54:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:54:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:54:47 + sudo tee /etc/docker/daemon.new 01:54:47 { 01:54:47 "registry-mirrors": [ 01:54:47 "https://nexus3.edgexfoundry.org:10001" 01:54:47 ], 01:54:47 "bip": "10.250.0.254/24", 01:54:47 "hosts": [ 01:54:47 "tcp://0.0.0.0:5555", 01:54:47 "unix:///var/run/docker.sock" 01:54:47 ], 01:54:47 "mtu": 1458, 01:54:47 "selinux-enabled": true, 01:54:47 "seccomp-profile": "/etc/docker/seccomp.json" 01:54:47 } [Pipeline] sh 01:54:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:54:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:55:06 provisioning config files... 01:55:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/126@tmp/config13648140239068157424tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:55:07 ---> docker-login.sh 01:55:07 nexus3.edgexfoundry.org:10001 01:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:07 Configure a credential helper to remove this warning. See 01:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:07 01:55:07 Login Succeeded 01:55:07 nexus3.edgexfoundry.org:10002 01:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:08 Configure a credential helper to remove this warning. See 01:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:08 01:55:08 Login Succeeded 01:55:08 nexus3.edgexfoundry.org:10003 01:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:08 Configure a credential helper to remove this warning. See 01:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:08 01:55:08 Login Succeeded 01:55:08 nexus3.edgexfoundry.org:10004 01:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:09 Configure a credential helper to remove this warning. See 01:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:09 01:55:09 Login Succeeded 01:55:09 docker.io 01:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:55:09 Configure a credential helper to remove this warning. See 01:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:55:09 01:55:09 Login Succeeded 01:55:09 ---> docker-login.sh ends [Pipeline] } 01:55:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:55:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:55:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:55:09 ========================================================= 01:55:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:55:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:55:10 + 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 . 01:55:10 Sending build context to Docker daemon 5.433MB 01:55:10 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 01:55:10 Step 2/10 : FROM ${BASE} AS builder 01:55:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:55:10 9b18e9b68314: Pulling fs layer 01:55:10 d32db5db7311: Pulling fs layer 01:55:10 d0c4b47475fc: Pulling fs layer 01:55:10 5831b945b038: Pulling fs layer 01:55:10 86bbec2aaacd: Pulling fs layer 01:55:10 e10730c5d714: Pulling fs layer 01:55:10 5dd5c2283517: Pulling fs layer 01:55:10 d5ac0230b979: Pulling fs layer 01:55:10 86bbec2aaacd: Waiting 01:55:10 e10730c5d714: Waiting 01:55:10 5dd5c2283517: Waiting 01:55:10 d5ac0230b979: Waiting 01:55:10 5831b945b038: Waiting 01:55:10 d0c4b47475fc: Verifying Checksum 01:55:10 d0c4b47475fc: Download complete 01:55:10 d32db5db7311: Verifying Checksum 01:55:10 d32db5db7311: Download complete 01:55:10 86bbec2aaacd: Verifying Checksum 01:55:10 86bbec2aaacd: Download complete 01:55:10 e10730c5d714: Download complete 01:55:10 9b18e9b68314: Verifying Checksum 01:55:10 9b18e9b68314: Download complete 01:55:11 9b18e9b68314: Pull complete 01:55:11 d5ac0230b979: Verifying Checksum 01:55:11 d5ac0230b979: Download complete 01:55:12 d32db5db7311: Pull complete 01:55:12 d0c4b47475fc: Pull complete 01:55:13 5dd5c2283517: Verifying Checksum 01:55:13 5dd5c2283517: Download complete 01:55:14 5831b945b038: Download complete 01:55:26 5831b945b038: Pull complete 01:55:26 86bbec2aaacd: Pull complete 01:55:26 e10730c5d714: Pull complete 01:55:31 5dd5c2283517: Pull complete 01:55:33 d5ac0230b979: Pull complete 01:55:33 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 01:55:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:55:33 ---> 59b3b1a385d4 01:55:33 Step 3/10 : ARG MAKE=make build 01:55:35 ---> Running in 20d21d874acb 01:55:35 Removing intermediate container 20d21d874acb 01:55:35 ---> 6e13a7d5f889 01:55:35 Step 4/10 : WORKDIR /device-sdk-go 01:55:35 ---> Running in 7a43cd6e4f9f 01:55:36 Removing intermediate container 7a43cd6e4f9f 01:55:36 ---> 87235b2186ca 01:55:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:55:36 ---> Running in 5a58545ff6e6 01:55:36 Removing intermediate container 5a58545ff6e6 01:55:36 ---> 667a755dfdd2 01:55:36 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:55:36 ---> Running in dd8e82b302ae 01:55:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:55:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:55:38 OK: 221 MiB in 51 packages 01:55:39 Removing intermediate container dd8e82b302ae 01:55:39 ---> 3e2f8f7f5cb1 01:55:39 Step 7/10 : COPY go.mod vendor* ./ 01:55:40 ---> 79442719e797 01:55:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:55:40 ---> Running in 64703ef217da 01:56:36 Removing intermediate container 64703ef217da 01:56:36 ---> 4f0885f79b37 01:56:36 Step 9/10 : COPY . . 01:56:36 ---> e093e1e93189 01:56:36 Step 10/10 : RUN ${MAKE} 01:56:36 ---> Running in 9273dddc939c 01:56:36 noop 01:56:36 Removing intermediate container 9273dddc939c 01:56:36 ---> 7dd40caa4d73 01:56:36 Successfully built 7dd40caa4d73 01:56:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:37 + docker inspect -f . ci-base-image-arm64 01:56:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:37 prd-ubuntu20.04-docker-arm64-4c-16g-117793 does not seem to be running inside a container 01:56:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/126 -v /w/workspace/device-sdk-go/126:/w/workspace/device-sdk-go/126:rw,z -v /w/workspace/device-sdk-go/126@tmp:/w/workspace/device-sdk-go/126@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 01:56:38 $ docker top 515a5c1c1ca9850112a090e593c248d08082bb8e47ad9a8698729e4254267caf -eo pid,comm [Pipeline] { [Pipeline] sh 01:56:39 + go version 01:56:39 go version go1.18.7 linux/arm64 [Pipeline] } 01:56:39 $ docker stop --time=1 515a5c1c1ca9850112a090e593c248d08082bb8e47ad9a8698729e4254267caf 01:56:41 $ docker rm -f 515a5c1c1ca9850112a090e593c248d08082bb8e47ad9a8698729e4254267caf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:41 + docker inspect -f . ci-base-image-arm64 01:56:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:41 prd-ubuntu20.04-docker-arm64-4c-16g-117793 does not seem to be running inside a container 01:56:41 $ 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/126 -v /w/workspace/device-sdk-go/126:/w/workspace/device-sdk-go/126:rw,z -v /w/workspace/device-sdk-go/126@tmp:/w/workspace/device-sdk-go/126@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 01:56:43 $ docker top c96cec6866e586acd9fdec409d54969fd32d571b04f2adb61a9cc5b99566cb23 -eo pid,comm [Pipeline] { [Pipeline] sh 01:56:44 + git config --global --add safe.directory /w/workspace/device-sdk-go/126 [Pipeline] fileExists [Pipeline] sh 01:56:44 + make test 01:56:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:57:17 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:59:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:59:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:59:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:59:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 01:59:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:59:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.512s coverage: 27.6% of statements 01:59:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.503s coverage: 78.9% of statements 01:59:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 01:59:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.964s coverage: 73.1% of statements 01:59:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:59:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:59:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.915s coverage: 54.4% of statements 01:59:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:59:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 01:59:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:59:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:59:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.624s coverage: 65.1% of statements 01:59:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 01:59:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 01:59:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.264s coverage: 89.2% of statements 01:59:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:59:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.266s coverage: 4.7% of statements 01:59:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:59:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:59:26 GO111MODULE=on go vet ./... 02:01:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:01:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:01:18 ./bin/test-attribution-txt.sh 02:01:18 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 02:01:18 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 02:01:18 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 02:01:18 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 02:01:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:01:18 $ docker stop --time=1 c96cec6866e586acd9fdec409d54969fd32d571b04f2adb61a9cc5b99566cb23 02:01:20 $ docker rm -f c96cec6866e586acd9fdec409d54969fd32d571b04f2adb61a9cc5b99566cb23 [Pipeline] // withDockerContainer [Pipeline] sh 02:01:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:01:21 Warning: overwriting stash ‘coverage-report’ 02:01:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:01:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:01:22 + ls -al . 02:01:22 total 276 02:01:22 drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 01:56 . 02:01:22 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 01:54 .. 02:01:22 -rw-rw-r-- 1 jenkins jenkins 140 Nov 2 01:54 .dockerignore 02:01:22 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 01:54 .git 02:01:22 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 01:54 .github 02:01:22 -rw-rw-r-- 1 jenkins jenkins 131 Nov 2 01:54 .gitignore 02:01:22 -rw-rw-r-- 1 jenkins jenkins 42 Nov 2 01:54 .golangci.yml 02:01:22 -rw-rw-r-- 1 jenkins jenkins 31677 Nov 2 01:54 CHANGELOG.md 02:01:22 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 01:54 GOVERNANCE.md 02:01:22 -rw-rw-r-- 1 jenkins jenkins 880 Nov 2 01:54 Jenkinsfile 02:01:22 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 2 01:54 LICENSE 02:01:22 -rw-rw-r-- 1 jenkins jenkins 2003 Nov 2 01:54 Makefile 02:01:22 -rw-rw-r-- 1 jenkins jenkins 619 Nov 2 01:54 OWNERS.md 02:01:22 -rw-rw-r-- 1 jenkins jenkins 4881 Nov 2 01:54 README.md 02:01:22 -rw-rw-r-- 1 jenkins jenkins 12 Nov 2 01:50 VERSION 02:01:22 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 01:54 bin 02:01:22 -rw-r--r-- 1 jenkins jenkins 101759 Nov 2 01:59 coverage.out 02:01:22 drwxrwxr-x 5 jenkins jenkins 4096 Nov 2 01:54 example 02:01:22 -rw-rw-r-- 1 jenkins jenkins 3389 Nov 2 01:54 go.mod 02:01:22 -rw-rw-r-- 1 jenkins jenkins 44507 Nov 2 01:54 go.sum 02:01:22 drwxrwxr-x 14 jenkins jenkins 4096 Nov 2 01:54 internal 02:01:22 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 01:54 openapi 02:01:22 drwxrwxr-x 6 jenkins jenkins 4096 Nov 2 01:54 pkg 02:01:22 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 01:54 snap 02:01:22 -rw-rw-r-- 1 jenkins jenkins 222 Nov 2 01:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:23 + 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=0b0fd8621743a303648e9248d2aa1db21f4d7aab --label arch=arm64 --label version=2.3.0-dev.50 . 02:01:23 Sending build context to Docker daemon 5.536MB 02:01:23 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 02:01:23 Step 2/23 : FROM ${BASE} AS builder 02:01:23 ---> 7dd40caa4d73 02:01:23 Step 3/23 : ARG MAKE=make build 02:01:23 ---> Running in aab405dc0e5e 02:01:23 Removing intermediate container aab405dc0e5e 02:01:23 ---> 640abaabc521 02:01:23 Step 4/23 : WORKDIR /device-sdk-go 02:01:23 ---> Running in e7620513a976 02:01:24 Removing intermediate container e7620513a976 02:01:24 ---> 2e7957cf64f2 02:01:24 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:01:24 ---> Running in 931d491b705a 02:01:24 Removing intermediate container 931d491b705a 02:01:24 ---> aa676539503a 02:01:24 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:01:25 ---> Running in ffe3789a23b1 02:01:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:01:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:01:27 OK: 221 MiB in 51 packages 02:01:28 Removing intermediate container ffe3789a23b1 02:01:28 ---> ccd126d092e1 02:01:28 Step 7/23 : COPY go.mod vendor* ./ 02:01:28 ---> ace5001fd690 02:01:28 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:28 ---> Running in 92fd90b8900c 02:01:30 Removing intermediate container 92fd90b8900c 02:01:30 ---> c9d6b644328a 02:01:30 Step 9/23 : COPY . . 02:01:32 ---> 1752b6a0502b 02:01:32 Step 10/23 : RUN ${MAKE} 02:01:32 ---> Running in dc27963b5efa 02:01:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.50" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:03:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:03:54 Removing intermediate container dc27963b5efa 02:03:54 ---> 6be31291acf0 02:03:54 Step 11/23 : FROM alpine:3.16 02:03:54 3.16: Pulling from library/alpine 02:03:54 9b18e9b68314: Already exists 02:03:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 02:03:54 Status: Downloaded newer image for alpine:3.16 02:03:54 ---> a6215f271958 02:03:54 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:03:54 ---> Running in fedeb64e6c68 02:03:54 Removing intermediate container fedeb64e6c68 02:03:54 ---> 7a87900c0b8c 02:03:54 Step 13/23 : RUN apk add --update --no-cache zeromq 02:03:54 ---> Running in f8f285cdba8b 02:03:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 02:03:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 02:03:54 (1/5) Installing libgcc (11.2.1_git20220219-r2) 02:03:54 (2/5) Installing libsodium (1.0.18-r0) 02:03:54 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 02:03:54 (4/5) Installing libzmq (4.3.4-r0) 02:03:54 (5/5) Installing zeromq (4.3.4-r0) 02:03:54 Executing busybox-1.35.0-r17.trigger 02:03:54 OK: 8 MiB in 19 packages 02:03:55 Removing intermediate container f8f285cdba8b 02:03:55 ---> c94ba989b65c 02:03:55 Step 14/23 : WORKDIR / 02:03:55 ---> Running in 62fa39b45120 02:03:55 Removing intermediate container 62fa39b45120 02:03:55 ---> e3ebb3c95b03 02:03:55 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:03:56 ---> 208f121b9287 02:03:56 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:03:57 ---> 3c560f43fe23 02:03:57 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:03:58 ---> dae0593979bc 02:03:58 Step 18/23 : EXPOSE 59999 02:03:58 ---> Running in af73ad4de9de 02:03:58 Removing intermediate container af73ad4de9de 02:03:58 ---> 6c3516269880 02:03:58 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:03:58 ---> Running in 7c32dbf14309 02:03:58 Removing intermediate container 7c32dbf14309 02:03:58 ---> ac6ee7dc8ba5 02:03:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:03:58 ---> Running in 6e31826c0fd9 02:03:59 Removing intermediate container 6e31826c0fd9 02:03:59 ---> 4ad7f2157239 02:03:59 Step 21/23 : LABEL arch=arm64 02:03:59 ---> Running in 587450efcb5c 02:03:59 Removing intermediate container 587450efcb5c 02:03:59 ---> 661401d7094d 02:03:59 Step 22/23 : LABEL git_sha=0b0fd8621743a303648e9248d2aa1db21f4d7aab 02:03:59 ---> Running in a851c3736e52 02:03:59 Removing intermediate container a851c3736e52 02:03:59 ---> a7f8d852b1f1 02:03:59 Step 23/23 : LABEL version=2.3.0-dev.50 02:03:59 ---> Running in f5fe903d2d04 02:04:00 Removing intermediate container f5fe903d2d04 02:04:00 ---> c31c2da3cf76 02:04:00 [Warning] One or more build-args [ARCH] were not consumed 02:04:00 Successfully built c31c2da3cf76 02:04:00 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 02:04:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:04:00 02:04:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:04:01 arm64: Pulling from edgex-lftools-log-publisher 02:04:01 8998bd30e6a1: Pulling fs layer 02:04:01 04944245beec: Pulling fs layer 02:04:01 699f458cf7ca: Pulling fs layer 02:04:01 765212b225bb: Pulling fs layer 02:04:01 f23df028b6ca: Pulling fs layer 02:04:01 d65c8cfc05b1: Pulling fs layer 02:04:01 2437ff75d9bd: Pulling fs layer 02:04:01 765212b225bb: Waiting 02:04:01 f23df028b6ca: Waiting 02:04:01 d65c8cfc05b1: Waiting 02:04:01 2437ff75d9bd: Waiting 02:04:01 04944245beec: Verifying Checksum 02:04:01 04944245beec: Download complete 02:04:01 765212b225bb: Verifying Checksum 02:04:01 765212b225bb: Download complete 02:04:01 f23df028b6ca: Download complete 02:04:01 d65c8cfc05b1: Download complete 02:04:01 699f458cf7ca: Verifying Checksum 02:04:01 699f458cf7ca: Download complete 02:04:02 8998bd30e6a1: Verifying Checksum 02:04:02 8998bd30e6a1: Download complete 02:04:04 2437ff75d9bd: Verifying Checksum 02:04:04 2437ff75d9bd: Download complete 02:04:06 8998bd30e6a1: Pull complete 02:04:06 04944245beec: Pull complete 02:04:08 699f458cf7ca: Pull complete 02:04:08 765212b225bb: Pull complete 02:04:08 f23df028b6ca: Pull complete 02:04:08 d65c8cfc05b1: Pull complete 02:04:23 2437ff75d9bd: Pull complete 02:04:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:04:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:04:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:24 prd-ubuntu20.04-docker-arm64-4c-16g-117793 does not seem to be running inside a container 02:04:24 $ 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/126 -v /w/workspace/device-sdk-go/126:/w/workspace/device-sdk-go/126:rw,z -v /w/workspace/device-sdk-go/126@tmp:/w/workspace/device-sdk-go/126@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 02:04:26 $ docker top 331753a4b1a92a838421770055ac937b0100a6072ef37531c648ecfb993707dd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:27 ---> job-cost.sh 02:04:27 lf-activate-venv: SKIPPING 02:04:27 INFO: No Stack... 02:04:28 INFO: Retrieving Pricing Info for: v3-standard-4 02:04:28 INFO: Archiving Costs [Pipeline] sh 02:04:29 + cut -d, -f6 02:04:29 + cat /w/workspace/device-sdk-go/126/archives/cost.csv [Pipeline] lock 02:04:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-126-stack-cost] 02:04:29 Resource [jenkins-edgexfoundry-device-sdk-go-main-126-stack-cost] did not exist. Created. 02:04:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-126-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:04:30 /w/workspace/device-sdk-go/126@tmp/durable-435baa32/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:04:30 + echo total: 0.10999999940395355 [Pipeline] stash 02:04:30 Warning: overwriting stash ‘stack-cost’ 02:04:30 Stashed 1 file(s) [Pipeline] } 02:04:30 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-126-stack-cost] [Pipeline] // lock [Pipeline] } 02:04:30 $ docker stop --time=1 331753a4b1a92a838421770055ac937b0100a6072ef37531c648ecfb993707dd 02:04:32 $ docker rm -f 331753a4b1a92a838421770055ac937b0100a6072ef37531c648ecfb993707dd [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 02:04:32 provisioning config files... 02:04:32 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17308659861889004485tmp [Pipeline] { [Pipeline] sh 02:04:33 + set +x 02:04:33 + bash -s -- 02:04:33 + curl -s https://codecov.io/bash 02:04:33 02:04:33 _____ _ 02:04:33 / ____| | | 02:04:33 | | ___ __| | ___ ___ _____ __ 02:04:33 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:04:33 | |___| (_) | (_| | __/ (_| (_) \ V / 02:04:33 \_____\___/ \__,_|\___|\___\___/ \_/ 02:04:33 Bash-1.0.6 02:04:33 02:04:33 02:04:33 ==> git version 2.25.1 found 02:04:33 ==> 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 02:04:33 Release-Date: 2020-01-08 02:04:33 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:04:33 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:04:33 ==> Jenkins CI detected. 02:04:33 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 02:04:33 project root: . 02:04:33 --> token set from env 02:04:33 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:04:33 ==> Running gcov in . (disable via -X gcov) 02:04:33 ==> Python coveragepy not found 02:04:33 ==> Searching for coverage reports in: 02:04:33 + . 02:04:33 -> Found 1 reports 02:04:33 ==> Detecting git/mercurial file structure 02:04:33 ==> Reading reports 02:04:33 + ./coverage.out bytes=101759 02:04:33 ==> Appending adjustments 02:04:33 https://docs.codecov.io/docs/fixing-reports 02:04:33 + Found adjustments 02:04:33 ==> Gzipping contents 02:04:33 16K /tmp/codecov.iJLlT6.gz 02:04:33 ==> Uploading reports 02:04:33 url: https://codecov.io 02:04:33 query: branch=main&commit=0b0fd8621743a303648e9248d2aa1db21f4d7aab&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:04:33 -> Pinging Codecov 02:04:33 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=0b0fd8621743a303648e9248d2aa1db21f4d7aab&build=126&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F126%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:04:34 -> Uploading to 02:04:34 https://storage.googleapis.com/codecov/v4/raw/2022-11-02/7E55EF52A471D76F132DFD9A03CDDE97/0b0fd8621743a303648e9248d2aa1db21f4d7aab/8ea47264-5533-4d57-a393-1baef66b730a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T020433Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=57946d834309fc2cdc687e11655bc9294a8dc06412e2a9271025bcda50d6bd3d 02:04:34 % Total % Received % Xferd Average Speed Time Time Time Current 02:04:34 Dload Upload Total Spent Left Speed 02:04:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14724 0 0 100 14724 0 59132 --:--:-- --:--:-- --:--:-- 59132 02:04:34 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0b0fd8621743a303648e9248d2aa1db21f4d7aab [Pipeline] } 02:04:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:04:34 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:04:34 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:04:34 02:04:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:04:35 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:04:35 df9b9388f04a: Pulling fs layer 02:04:35 52dc419b0ee2: Pulling fs layer 02:04:35 25bc292e5bac: Pulling fs layer 02:04:35 114826534d7a: Pulling fs layer 02:04:35 4657fd5d0bcf: Pulling fs layer 02:04:35 6ad1cebc031e: Pulling fs layer 02:04:35 8a3aa393b2d8: Pulling fs layer 02:04:35 4657fd5d0bcf: Waiting 02:04:35 6ad1cebc031e: Waiting 02:04:35 8a3aa393b2d8: Waiting 02:04:35 114826534d7a: Waiting 02:04:35 25bc292e5bac: Verifying Checksum 02:04:35 25bc292e5bac: Download complete 02:04:35 52dc419b0ee2: Download complete 02:04:35 4657fd5d0bcf: Verifying Checksum 02:04:35 4657fd5d0bcf: Download complete 02:04:35 df9b9388f04a: Verifying Checksum 02:04:35 df9b9388f04a: Download complete 02:04:35 df9b9388f04a: Pull complete 02:04:35 6ad1cebc031e: Verifying Checksum 02:04:35 6ad1cebc031e: Download complete 02:04:35 52dc419b0ee2: Pull complete 02:04:35 25bc292e5bac: Pull complete 02:04:35 114826534d7a: Verifying Checksum 02:04:35 114826534d7a: Download complete 02:04:36 8a3aa393b2d8: Verifying Checksum 02:04:36 8a3aa393b2d8: Download complete 02:04:39 114826534d7a: Pull complete 02:04:39 4657fd5d0bcf: Pull complete 02:04:39 6ad1cebc031e: Pull complete 02:04:41 8a3aa393b2d8: Pull complete 02:04:41 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 02:04:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:04:41 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:42 prd-ubuntu20.04-docker-8c-8g-117792 does not seem to be running inside a container 02:04:42 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:04:46 $ docker top f1978d54ab154e3ad7cb6c27ec0d713bc96f77a5aad65704e63d4f741374e166 -eo pid,comm [Pipeline] { [Pipeline] echo 02:04:46 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 02:04:46 + set -o pipefail 02:04:46 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 02:04:51 02:04:51 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 02:04:51 02:04:51 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/bfc835a5-cd0a-4b43-b1c3-b298a0349c4b 02:04:51 02:04:51 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:04:51 02:04:51 02:04:51 A medium severity vulnerability was found in the Snyk CLI versions you are using. 02:04:51 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 02:04:51 More details here: https://snyk.co/ue1NS [Pipeline] } 02:04:51 $ docker stop --time=1 f1978d54ab154e3ad7cb6c27ec0d713bc96f77a5aad65704e63d4f741374e166 02:04:55 $ docker rm -f f1978d54ab154e3ad7cb6c27ec0d713bc96f77a5aad65704e63d4f741374e166 [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 02:04:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:04:55 provisioning config files... 02:04:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13097603539900933487tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:55 --> edgex-publish-swagger.sh 02:04:55 === Publish openapi/v2 API === 02:04:55 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 02:04:55 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 02:04:55 % Total % Received % Xferd Average Speed Time Time Time Current 02:04:55 Dload Upload Total Spent Left Speed 02:04:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 74171 --:--:-- --:--:-- --:--:-- 74171 02:04:56 02:04:56 [Pipeline] } 02:04:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:04:56 + git log --format=format:%s -1 0b0fd8621743a303648e9248d2aa1db21f4d7aab [Pipeline] sh 02:04:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:04:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:04:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:04:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:04:57 prd-ubuntu20.04-docker-8c-8g-117792 does not seem to be running inside a container 02:04:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:04:58 $ docker top bd8f9579da2b4f543771ac0d7fba0102d2e16024a5da9a0ae298f1407e9b71d8 -eo pid,comm 02:04:58 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). 02:04:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:04:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:04:58 [ssh-agent] Looking for ssh-agent implementation... 02:04:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:04:58 $ docker exec bd8f9579da2b4f543771ac0d7fba0102d2e16024a5da9a0ae298f1407e9b71d8 ssh-agent 02:04:58 SSH_AUTH_SOCK=/tmp/ssh-uIniWNMmJw0n/agent.32 02:04:58 SSH_AGENT_PID=38 02:04:58 Running ssh-add (command line suppressed) 02:04:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12352484918488001963.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12352484918488001963.key) 02:04:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:04:58 + git semver tag 02:04:59 2022-11-02 02:04:58,947 [run_tag] DEBUG tag force:False 02:04:59 2022-11-02 02:04:58,948 [check_head_tag] DEBUG check head tag 02:04:59 2022-11-02 02:04:58,949 [execute] INFO git cat-file --batch-check 02:04:59 2022-11-02 02:04:58,949 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 02:04:59 2022-11-02 02:04:58,953 [execute] INFO git cat-file --batch 02:04:59 2022-11-02 02:04:58,953 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 02:04:59 2022-11-02 02:04:58,972 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:04:59 2022-11-02 02:04:58,972 [execute] INFO git tag -a v2.3.0-dev.50 -m v2.3.0-dev.50 02:04:59 2022-11-02 02:04:58,972 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.50', '-m', 'v2.3.0-dev.50'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 02:04:59 2022-11-02 02:04:58,977 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:04:59 2.3.0-dev.50 [Pipeline] } 02:04:59 $ docker exec --env ******** --env ******** bd8f9579da2b4f543771ac0d7fba0102d2e16024a5da9a0ae298f1407e9b71d8 ssh-agent -k 02:04:59 unset SSH_AUTH_SOCK; 02:04:59 unset SSH_AGENT_PID; 02:04:59 echo Agent pid 38 killed; 02:04:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:04:59 + git semver [Pipeline] } 02:04:59 $ docker stop --time=1 bd8f9579da2b4f543771ac0d7fba0102d2e16024a5da9a0ae298f1407e9b71d8 02:05:00 $ docker rm -f bd8f9579da2b4f543771ac0d7fba0102d2e16024a5da9a0ae298f1407e9b71d8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:05:01 02:05:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:05:01 0.23.1-centos7: Pulling from edgex-lftools 02:05:01 ab5ef0e58194: Pulling fs layer 02:05:01 9712f1f96733: Pulling fs layer 02:05:01 63f879dbbcfc: Pulling fs layer 02:05:01 0d9ebad4ef96: Pulling fs layer 02:05:01 e9a5061849ea: Pulling fs layer 02:05:01 d747dcd14b5f: Pulling fs layer 02:05:01 2de7ff778b66: Pulling fs layer 02:05:01 e9a5061849ea: Waiting 02:05:01 d747dcd14b5f: Waiting 02:05:01 0d9ebad4ef96: Waiting 02:05:01 9712f1f96733: Download complete 02:05:02 63f879dbbcfc: Verifying Checksum 02:05:02 63f879dbbcfc: Download complete 02:05:02 e9a5061849ea: Verifying Checksum 02:05:02 e9a5061849ea: Download complete 02:05:02 d747dcd14b5f: Download complete 02:05:02 0d9ebad4ef96: Verifying Checksum 02:05:02 0d9ebad4ef96: Download complete 02:05:02 ab5ef0e58194: Verifying Checksum 02:05:02 ab5ef0e58194: Download complete 02:05:02 2de7ff778b66: Verifying Checksum 02:05:02 2de7ff778b66: Download complete 02:05:05 ab5ef0e58194: Pull complete 02:05:05 9712f1f96733: Pull complete 02:05:05 63f879dbbcfc: Pull complete 02:05:09 0d9ebad4ef96: Pull complete 02:05:09 e9a5061849ea: Pull complete 02:05:09 d747dcd14b5f: Pull complete 02:05:10 2de7ff778b66: Pull complete 02:05:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:05:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:05:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:10 prd-ubuntu20.04-docker-8c-8g-117792 does not seem to be running inside a container 02:05:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:05:15 $ docker top 5375d5431df0016e30d74cf3e72473fc35e6e75bcd26d71ddcc67bff48e5f456 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:05:15 provisioning config files... 02:05:15 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3078006078797702571tmp 02:05:15 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12573748342055607165tmp 02:05:15 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1277786613328132275tmp [Pipeline] { [Pipeline] echo 02:05:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:05:15 ---> sigul-configuration.sh 02:05:15 gpg: directory `/root/.gnupg' created 02:05:15 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:05:15 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:05:15 gpg: keyring `/root/.gnupg/secring.gpg' created 02:05:15 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:05:15 gpg: CAST5 encrypted data 02:05:15 gpg: encrypted with 1 passphrase 02:05:15 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:05:15 + mkdir /home/jenkins 02:05:15 + mkdir /home/jenkins/sigul [Pipeline] sh 02:05:16 + 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 02:05:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:05:16 ---> sigul-install.sh 02:05:16 Sigul already installed; skipping installation. [Pipeline] sh 02:05:16 + git tag --list 02:05:16 0.7.1 02:05:16 delhi-tag 02:05:16 v1.0.0 02:05:16 v1.1.0 02:05:16 v1.1.1 02:05:16 v1.1.2 02:05:16 v1.2.0 02:05:16 v1.2.1 02:05:16 v1.2.2 02:05:16 v1.2.3 02:05:16 v1.3.0 02:05:16 v1.4.0 02:05:16 v2.0.0 02:05:16 v2.1.0 02:05:16 v2.1.1 02:05:16 v2.1.1-dev.2 02:05:16 v2.1.1-dev.3 02:05:16 v2.2.0 02:05:16 v2.2.1-dev.1 02:05:16 v2.2.1-dev.10 02:05:16 v2.2.1-dev.11 02:05:16 v2.2.1-dev.12 02:05:16 v2.2.1-dev.13 02:05:16 v2.2.1-dev.14 02:05:16 v2.2.1-dev.2 02:05:16 v2.2.1-dev.3 02:05:16 v2.2.1-dev.4 02:05:16 v2.2.1-dev.5 02:05:16 v2.2.1-dev.6 02:05:16 v2.2.1-dev.7 02:05:16 v2.2.1-dev.8 02:05:16 v2.2.1-dev.9 02:05:16 v2.3.0-dev.14 02:05:16 v2.3.0-dev.15 02:05:16 v2.3.0-dev.16 02:05:16 v2.3.0-dev.17 02:05:16 v2.3.0-dev.18 02:05:16 v2.3.0-dev.19 02:05:16 v2.3.0-dev.20 02:05:16 v2.3.0-dev.21 02:05:16 v2.3.0-dev.22 02:05:16 v2.3.0-dev.23 02:05:16 v2.3.0-dev.24 02:05:16 v2.3.0-dev.25 02:05:16 v2.3.0-dev.26 02:05:16 v2.3.0-dev.27 02:05:16 v2.3.0-dev.28 02:05:16 v2.3.0-dev.29 02:05:16 v2.3.0-dev.30 02:05:16 v2.3.0-dev.31 02:05:16 v2.3.0-dev.32 02:05:16 v2.3.0-dev.33 02:05:16 v2.3.0-dev.34 02:05:16 v2.3.0-dev.35 02:05:16 v2.3.0-dev.36 02:05:16 v2.3.0-dev.37 02:05:16 v2.3.0-dev.38 02:05:16 v2.3.0-dev.39 02:05:16 v2.3.0-dev.40 02:05:16 v2.3.0-dev.41 02:05:16 v2.3.0-dev.42 02:05:16 v2.3.0-dev.43 02:05:16 v2.3.0-dev.44 02:05:16 v2.3.0-dev.45 02:05:16 v2.3.0-dev.46 02:05:16 v2.3.0-dev.47 02:05:16 v2.3.0-dev.48 02:05:16 v2.3.0-dev.49 02:05:16 v2.3.0-dev.50 [Pipeline] sh 02:05:17 + lftools sign git-tag v2.3.0-dev.50 02:05:17 Signing Git tag with Sigul... 02:05:17 Signing v2.3.0-dev.50 [Pipeline] echo 02:05:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:05:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:05:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:05:18 $ docker stop --time=1 5375d5431df0016e30d74cf3e72473fc35e6e75bcd26d71ddcc67bff48e5f456 02:05:19 $ docker rm -f 5375d5431df0016e30d74cf3e72473fc35e6e75bcd26d71ddcc67bff48e5f456 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 02:05:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:05:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:05:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:20 prd-ubuntu20.04-docker-8c-8g-117792 does not seem to be running inside a container 02:05:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:05:20 $ docker top 83526cb15e62fdb25109061206d6c94b911387e5e1fe815cd5420ae95b3ea4a8 -eo pid,comm 02:05:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 02:05:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:05:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:20 [ssh-agent] Looking for ssh-agent implementation... 02:05:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:20 $ docker exec 83526cb15e62fdb25109061206d6c94b911387e5e1fe815cd5420ae95b3ea4a8 ssh-agent 02:05:20 SSH_AUTH_SOCK=/tmp/ssh-dmLXNuD69rOQ/agent.31 02:05:20 SSH_AGENT_PID=38 02:05:20 Running ssh-add (command line suppressed) 02:05:20 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10836431544641196339.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10836431544641196339.key) 02:05:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:21 + git semver bump pre 02:05:21 2022-11-02 02:05:21,434 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:05:21 2022-11-02 02:05:21,434 [bump_version] DEBUG bumping version:2.3.0-dev.50 on axis:pre with prefix:dev 02:05:21 2022-11-02 02:05:21,434 [bump_version] DEBUG bumped version:2.3.0-dev.51 02:05:21 2022-11-02 02:05:21,435 [write_version] DEBUG write version:2.3.0-dev.51 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 02:05:21 2022-11-02 02:05:21,435 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:05:21 2022-11-02 02:05:21,435 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:05:21 2022-11-02 02:05:21,436 [execute] INFO git cat-file --batch-check 02:05:21 2022-11-02 02:05:21,437 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:05:21 2022-11-02 02:05:21,442 [execute] INFO git cat-file --batch 02:05:21 2022-11-02 02:05:21,442 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:05:21 2022-11-02 02:05:21,447 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:05:21 2.3.0-dev.51 [Pipeline] } 02:05:21 $ docker exec --env ******** --env ******** 83526cb15e62fdb25109061206d6c94b911387e5e1fe815cd5420ae95b3ea4a8 ssh-agent -k 02:05:21 unset SSH_AUTH_SOCK; 02:05:21 unset SSH_AGENT_PID; 02:05:21 echo Agent pid 38 killed; 02:05:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:05:21 + git semver [Pipeline] } 02:05:22 $ docker stop --time=1 83526cb15e62fdb25109061206d6c94b911387e5e1fe815cd5420ae95b3ea4a8 02:05:23 $ docker rm -f 83526cb15e62fdb25109061206d6c94b911387e5e1fe815cd5420ae95b3ea4a8 [Pipeline] // withDockerContainer [Pipeline] sh 02:05:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:05:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 02:05:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:24 prd-ubuntu20.04-docker-8c-8g-117792 does not seem to be running inside a container 02:05:24 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 02:05:24 $ docker top 606b84a587f21845a8f6fce2b22228e5e10592ef318b07b5922aa1cad5f24720 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:05:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:05:24 [ssh-agent] Looking for ssh-agent implementation... 02:05:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:05:24 $ docker exec 606b84a587f21845a8f6fce2b22228e5e10592ef318b07b5922aa1cad5f24720 ssh-agent 02:05:24 SSH_AUTH_SOCK=/tmp/ssh-DlL4QhzZbKPk/agent.32 02:05:24 SSH_AGENT_PID=38 02:05:24 Running ssh-add (command line suppressed) 02:05:24 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13749629544664630659.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13749629544664630659.key) 02:05:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:05:25 + git semver push 02:05:25 2022-11-02 02:05:25,332 [run_push] DEBUG push 02:05:25 2022-11-02 02:05:25,334 [execute] INFO git cat-file --batch-check 02:05:25 2022-11-02 02:05:25,334 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 02:05:25 2022-11-02 02:05:25,338 [execute] INFO git rev-list c30a13fdc192d2a5df1832f28422fca969058837 -- 02:05:25 2022-11-02 02:05:25,339 [execute] DEBUG Popen(['git', 'rev-list', 'c30a13fdc192d2a5df1832f28422fca969058837', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:05:25 2022-11-02 02:05:25,346 [execute] INFO git fetch -v origin 02:05:25 2022-11-02 02:05:25,346 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 02:05:25 2022-11-02 02:05:25,934 [run_push] DEBUG no remote changes detected 02:05:25 2022-11-02 02:05:25,934 [execute] INFO git push origin semver 02:05:25 2022-11-02 02:05:25,935 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 02:05:26 2022-11-02 02:05:26,787 [run_push] DEBUG push all version tags 02:05:26 2022-11-02 02:05:26,788 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 02:05:26 2022-11-02 02:05:26,788 [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) 02:05:27 2022-11-02 02:05:27,558 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 02:05:27 2.3.0-dev.51 [Pipeline] } 02:05:27 $ docker exec --env ******** --env ******** 606b84a587f21845a8f6fce2b22228e5e10592ef318b07b5922aa1cad5f24720 ssh-agent -k 02:05:27 unset SSH_AUTH_SOCK; 02:05:27 unset SSH_AGENT_PID; 02:05:27 echo Agent pid 38 killed; 02:05:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:05:28 + git semver [Pipeline] } 02:05:28 $ docker stop --time=1 606b84a587f21845a8f6fce2b22228e5e10592ef318b07b5922aa1cad5f24720 02:05:29 $ docker rm -f 606b84a587f21845a8f6fce2b22228e5e10592ef318b07b5922aa1cad5f24720 [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 02:05:30 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 02:05:30 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:05:30 total 16 02:05:30 drwxr-xr-x 3 root root 4096 Nov 2 01:52 . 02:05:30 drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 02:05 .. 02:05:30 drwxr-xr-x 2 root root 4096 Nov 2 01:52 cost 02:05:30 -rw-r--r-- 1 root root 85 Nov 2 01:52 cost.csv 02:05:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:05:30 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 02:05:30 total 16 02:05:30 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 01:52 . 02:05:30 drwxrwxr-x 12 jenkins jenkins 4096 Nov 2 02:05 .. 02:05:30 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 01:52 cost 02:05:30 -rw-r--r-- 1 jenkins jenkins 85 Nov 2 01:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:05:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:05:31 ---> package-listing.sh 02:05:31 ++ facter osfamily 02:05:31 ++ tr '[:upper:]' '[:lower:]' 02:05:31 + OS_FAMILY=debian 02:05:31 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 02:05:31 + START_PACKAGES=/tmp/packages_start.txt 02:05:31 + END_PACKAGES=/tmp/packages_end.txt 02:05:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:05:31 + PACKAGES=/tmp/packages_start.txt 02:05:31 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 02:05:31 + PACKAGES=/tmp/packages_end.txt 02:05:31 + case "${OS_FAMILY}" in 02:05:31 + dpkg -l 02:05:31 + grep '^ii' 02:05:31 + '[' -f /tmp/packages_start.txt ']' 02:05:31 + '[' -f /tmp/packages_end.txt ']' 02:05:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:05:31 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 02:05:31 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 02:05:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 02:05:31 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 02:05:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:05:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:05:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:05:32 prd-ubuntu20.04-docker-8c-8g-117792 does not seem to be running inside a container 02:05:32 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:05:32 $ docker top 14875a7ee2bf7e98735013c839131eb336bafee1cad2cbcbfd6f4fd02672a1ae -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:33 + touch /tmp/pre-build-complete [Pipeline] sh 02:05:33 + mkdir -p /var/log/sysstat [Pipeline] sh 02:05:33 + ls /var/log/sa-host 02:05:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:33 provisioning config files... 02:05:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7870839844936358601tmp [Pipeline] { [Pipeline] echo 02:05:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:05:34 ---> create-netrc.sh [Pipeline] } 02:05:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:05:34 ---> python-tools-install.sh [Pipeline] echo 02:05:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:05:35 ---> sudo-logs.sh 02:05:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:05:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:05:35 ---> job-cost.sh 02:05:35 lf-activate-venv: SKIPPING 02:05:35 DEBUG: total: 0.2199999988079071 02:05:35 INFO: Retrieving Stack Cost... 02:05:35 INFO: Retrieving Pricing Info for: v3-standard-8 02:05:36 INFO: Archiving Costs [Pipeline] echo 02:05:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:05:36 ---> logs-deploy.sh 02:05:36 lf-activate-venv: SKIPPING 02:05:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/126 02:05:36 INFO: archiving workspace using pattern(s): 02:05:37 Archives upload complete. 02:05:37 INFO: archiving logs to Nexus 02:05:38 ---> uname -a: 02:05:38 Linux prd-ubuntu20-04-docker-8c-8g-117792 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:05:38 02:05:38