Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8250e301d92a025f83865f5663963929d81085da 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-ssh3903877785756301374.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-ssh9803493064385578148.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-ssh12567037310185600775.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-ssh10388013373450296024.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-ssh4407873144444937903.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-117162 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 8250e301d92a025f83865f5663963929d81085da (main) Commit message: "Merge pull request #1251 from lenny-intel/go-mods" > 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 8250e301d92a025f83865f5663963929d81085da # timeout=10 > git rev-list --no-walk 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:44:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:44:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:44:18 ========================================================= 15:44:18 EdgeX Global Pipelines Version Info 15:44:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:44:19 ------------------- 15:44:19 stable info: 15:44:19 ------------------- 15:44:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:44:19 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 15:44:19 Message: update stable to v1.0.243 15:44:20 ------------------- 15:44:20 experimental info: 15:44:20 ------------------- 15:44:20 Commited By: **** collab-it+edgex@linuxfoundation.org 15:44:20 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 15:44:20 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8250e301d92a025f83865f5663963929d81085da [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8250e30 [Pipeline] echo 15:44:20 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:44:20 provisioning config files... 15:44:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1468877904331205100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:21 ---> docker-login.sh 15:44:21 nexus3.edgexfoundry.org:10001 15:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:21 Configure a credential helper to remove this warning. See 15:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:21 15:44:21 Login Succeeded 15:44:21 nexus3.edgexfoundry.org:10002 15:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:21 Configure a credential helper to remove this warning. See 15:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:21 15:44:21 Login Succeeded 15:44:21 nexus3.edgexfoundry.org:10003 15:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:21 Configure a credential helper to remove this warning. See 15:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:21 15:44:21 Login Succeeded 15:44:21 nexus3.edgexfoundry.org:10004 15:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:21 Configure a credential helper to remove this warning. See 15:44:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:21 15:44:21 Login Succeeded 15:44:21 docker.io 15:44:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:22 Configure a credential helper to remove this warning. See 15:44:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:22 15:44:22 Login Succeeded 15:44:22 ---> docker-login.sh ends [Pipeline] } 15:44:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:44:22 + git rev-list -1 --merges 8250e301d92a025f83865f5663963929d81085da~1..8250e301d92a025f83865f5663963929d81085da [Pipeline] echo 15:44:22 -----------> git rev-list -1 --merges 8250e301d92a025f83865f5663963929d81085da~1..8250e301d92a025f83865f5663963929d81085da 8250e301d92a025f83865f5663963929d81085da 15:44:22 8250e301d92a025f83865f5663963929d81085da [false] [Pipeline] sh 15:44:22 + git log --format=format:%s -1 8250e301d92a025f83865f5663963929d81085da [Pipeline] echo 15:44:22 ========================================================= 15:44:22 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:44:22 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:44:23 + git log --format=format:%s -1 8250e301d92a025f83865f5663963929d81085da [Pipeline] echo 15:44:23 [semverPrep] GIT_COMMIT: 8250e301d92a025f83865f5663963929d81085da, Commit Message: Merge pull request #1251 from lenny-intel/go-mods [Pipeline] echo 15:44:23 [semverPrep] This is not a build commit. [Pipeline] sh 15:44:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:44:23 + grep -v github /etc/ssh/ssh_known_hosts 15:44:23 + [ -e /tmp/ssh_known_hosts ] 15:44:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:44:23 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 15:44:23 -a /etc/ssh/ssh_known_hosts 15:44:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:44:23 15:44:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:44:24 0.1.4: Pulling from edgex-devops/py-git-semver 15:44:24 b85a868b505f: Pulling fs layer 15:44:24 e2be974225ed: Pulling fs layer 15:44:24 339a4e72a1f5: Pulling fs layer 15:44:24 988bab9f4d93: Pulling fs layer 15:44:24 1469e6f7b9e6: Pulling fs layer 15:44:24 eaf3925da568: Pulling fs layer 15:44:24 bab4dde63d76: Pulling fs layer 15:44:24 bde34c3a00c8: Pulling fs layer 15:44:24 b352a97aabf1: Pulling fs layer 15:44:24 4872d77fe225: Pulling fs layer 15:44:24 5851b861e8e6: Pulling fs layer 15:44:24 988bab9f4d93: Waiting 15:44:24 1469e6f7b9e6: Waiting 15:44:24 4872d77fe225: Waiting 15:44:24 eaf3925da568: Waiting 15:44:24 bab4dde63d76: Waiting 15:44:24 5851b861e8e6: Waiting 15:44:24 b352a97aabf1: Waiting 15:44:24 bde34c3a00c8: Waiting 15:44:24 e2be974225ed: Download complete 15:44:24 988bab9f4d93: Verifying Checksum 15:44:24 988bab9f4d93: Download complete 15:44:24 1469e6f7b9e6: Verifying Checksum 15:44:24 1469e6f7b9e6: Download complete 15:44:24 339a4e72a1f5: Verifying Checksum 15:44:24 339a4e72a1f5: Download complete 15:44:24 eaf3925da568: Verifying Checksum 15:44:24 eaf3925da568: Download complete 15:44:24 bde34c3a00c8: Download complete 15:44:24 b352a97aabf1: Download complete 15:44:24 4872d77fe225: Verifying Checksum 15:44:24 4872d77fe225: Download complete 15:44:24 5851b861e8e6: Download complete 15:44:24 b85a868b505f: Verifying Checksum 15:44:24 b85a868b505f: Download complete 15:44:24 bab4dde63d76: Verifying Checksum 15:44:25 b85a868b505f: Pull complete 15:44:25 e2be974225ed: Pull complete 15:44:26 339a4e72a1f5: Pull complete 15:44:26 988bab9f4d93: Pull complete 15:44:26 1469e6f7b9e6: Pull complete 15:44:26 eaf3925da568: Pull complete 15:44:28 bab4dde63d76: Pull complete 15:44:28 bde34c3a00c8: Pull complete 15:44:28 b352a97aabf1: Pull complete 15:44:28 4872d77fe225: Pull complete 15:44:28 5851b861e8e6: Pull complete 15:44:28 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:44:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:44:28 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:44:28 prd-ubuntu20.04-docker-8c-8g-117162 does not seem to be running inside a container 15:44:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:44:32 $ docker top 82bb408d56f18de3ed7ed249174d8b1386d36d004b35c5140a48dcd9bbc72cae -eo pid,comm 15:44:32 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). 15:44:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:44:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:32 [ssh-agent] Looking for ssh-agent implementation... 15:44:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:32 $ docker exec 82bb408d56f18de3ed7ed249174d8b1386d36d004b35c5140a48dcd9bbc72cae ssh-agent 15:44:32 SSH_AUTH_SOCK=/tmp/ssh-1iD1H8Bg0NhE/agent.32 15:44:32 SSH_AGENT_PID=38 15:44:32 Running ssh-add (command line suppressed) 15:44:32 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12185225471885777336.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12185225471885777336.key) 15:44:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:32 + git tag --points-at HEAD [Pipeline] } 15:44:32 $ docker exec --env ******** --env ******** 82bb408d56f18de3ed7ed249174d8b1386d36d004b35c5140a48dcd9bbc72cae ssh-agent -k 15:44:32 unset SSH_AUTH_SOCK; 15:44:32 unset SSH_AGENT_PID; 15:44:32 echo Agent pid 38 killed; 15:44:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:44:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:44:32 [ssh-agent] Looking for ssh-agent implementation... 15:44:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:44:32 $ docker exec 82bb408d56f18de3ed7ed249174d8b1386d36d004b35c5140a48dcd9bbc72cae ssh-agent 15:44:33 SSH_AUTH_SOCK=/tmp/ssh-e6Q7zHphrK8G/agent.70 15:44:33 SSH_AGENT_PID=76 15:44:33 Running ssh-add (command line suppressed) 15:44:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9834000489647342527.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9834000489647342527.key) 15:44:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:44:33 + git semver init 15:44:33 2022-10-26 15:44:33,721 [run_init] DEBUG init version:0.0.0 force:False 15:44:33 2022-10-26 15:44:33,723 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:44:33 2022-10-26 15:44:33,723 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 15:44:33 2022-10-26 15:44:33,723 [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) 15:44:35 2022-10-26 15:44:34,793 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 15:44:35 2022-10-26 15:44:34,793 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 15:44:35 2022-10-26 15:44:34,793 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:44:35 2022-10-26 15:44:34,793 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:44:35 2.3.0-dev.49 [Pipeline] } 15:44:35 $ docker exec --env ******** --env ******** 82bb408d56f18de3ed7ed249174d8b1386d36d004b35c5140a48dcd9bbc72cae ssh-agent -k 15:44:35 unset SSH_AUTH_SOCK; 15:44:35 unset SSH_AGENT_PID; 15:44:35 echo Agent pid 76 killed; 15:44:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:44:35 + git semver [Pipeline] } 15:44:35 $ docker stop --time=1 82bb408d56f18de3ed7ed249174d8b1386d36d004b35c5140a48dcd9bbc72cae 15:44:37 $ docker rm -f 82bb408d56f18de3ed7ed249174d8b1386d36d004b35c5140a48dcd9bbc72cae [Pipeline] // withDockerContainer [Pipeline] sh 15:44:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:44:37 Stashed 1 file(s) [Pipeline] echo 15:44:37 [edgeXSemver]: initialized semver on version 2.3.0-dev.49 [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 15:44:37 provisioning config files... 15:44:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7859088957137661051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:44:38 ---> docker-login.sh 15:44:38 nexus3.edgexfoundry.org:10001 15:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:38 Configure a credential helper to remove this warning. See 15:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:38 15:44:38 Login Succeeded 15:44:38 nexus3.edgexfoundry.org:10002 15:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:38 Configure a credential helper to remove this warning. See 15:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:38 15:44:38 Login Succeeded 15:44:38 nexus3.edgexfoundry.org:10003 15:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:38 Configure a credential helper to remove this warning. See 15:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:38 15:44:38 Login Succeeded 15:44:38 nexus3.edgexfoundry.org:10004 15:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:38 Configure a credential helper to remove this warning. See 15:44:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:38 15:44:38 Login Succeeded 15:44:38 docker.io 15:44:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:44:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:44:39 Configure a credential helper to remove this warning. See 15:44:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:44:39 15:44:39 Login Succeeded 15:44:39 ---> docker-login.sh ends [Pipeline] } 15:44:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:44:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:44:39 ========================================================= 15:44:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:44:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:44:39 + 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 . 15:44:39 Sending build context to Docker daemon 10.08MB 15:44:39 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:44:39 Step 2/10 : FROM ${BASE} AS builder 15:44:39 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:44:39 213ec9aee27d: Pulling fs layer 15:44:39 4583459ba037: Pulling fs layer 15:44:39 93c1e223e6f2: Pulling fs layer 15:44:39 53926ce57604: Pulling fs layer 15:44:39 21b2b0c7a3f4: Pulling fs layer 15:44:39 30f14e443154: Pulling fs layer 15:44:39 801331c1e519: Pulling fs layer 15:44:39 99cc6dd402b0: Pulling fs layer 15:44:39 7d9ed39f4882: Pulling fs layer 15:44:39 30f14e443154: Waiting 15:44:39 801331c1e519: Waiting 15:44:39 99cc6dd402b0: Waiting 15:44:39 53926ce57604: Waiting 15:44:39 21b2b0c7a3f4: Waiting 15:44:39 7d9ed39f4882: Waiting 15:44:39 93c1e223e6f2: Verifying Checksum 15:44:39 93c1e223e6f2: Download complete 15:44:39 4583459ba037: Download complete 15:44:39 21b2b0c7a3f4: Verifying Checksum 15:44:39 21b2b0c7a3f4: Download complete 15:44:39 30f14e443154: Verifying Checksum 15:44:39 30f14e443154: Download complete 15:44:39 213ec9aee27d: Verifying Checksum 15:44:39 213ec9aee27d: Download complete 15:44:39 801331c1e519: Download complete 15:44:39 213ec9aee27d: Pull complete 15:44:39 4583459ba037: Pull complete 15:44:40 93c1e223e6f2: Pull complete 15:44:40 7d9ed39f4882: Verifying Checksum 15:44:40 7d9ed39f4882: Download complete 15:44:40 99cc6dd402b0: Verifying Checksum 15:44:40 99cc6dd402b0: Download complete 15:44:40 53926ce57604: Verifying Checksum 15:44:40 53926ce57604: Download complete 15:44:44 53926ce57604: Pull complete 15:44:44 21b2b0c7a3f4: Pull complete 15:44:44 30f14e443154: Pull complete 15:44:44 801331c1e519: Pull complete 15:44:46 99cc6dd402b0: Pull complete 15:44:47 7d9ed39f4882: Pull complete 15:44:47 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 15:44:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:44:47 ---> 1dedd983c030 15:44:47 Step 3/10 : ARG MAKE=make build 15:44:52 ---> Running in 835101e5f658 15:44:52 Removing intermediate container 835101e5f658 15:44:52 ---> 37a142d963d0 15:44:52 Step 4/10 : WORKDIR /device-sdk-go 15:44:52 ---> Running in b2fba06ef136 15:44:52 Removing intermediate container b2fba06ef136 15:44:52 ---> 41a75c012b56 15:44:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:44:52 ---> Running in 19a30d2553e7 15:44:52 Removing intermediate container 19a30d2553e7 15:44:52 ---> 29e6b46403a6 15:44:52 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:44:52 Still waiting to schedule task 15:44:52 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:44:52 ---> Running in 2b22acb878e1 15:44:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:44:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:44:53 OK: 211 MiB in 51 packages 15:44:53 Removing intermediate container 2b22acb878e1 15:44:53 ---> 62cd3c62581b 15:44:53 Step 7/10 : COPY go.mod vendor* ./ 15:44:53 ---> f4246e3545cb 15:44:53 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:44:53 ---> Running in e8311c276b2a 15:45:20 Removing intermediate container e8311c276b2a 15:45:20 ---> 449e570cee54 15:45:20 Step 9/10 : COPY . . 15:45:20 ---> 246ba1e3d2f1 15:45:20 Step 10/10 : RUN ${MAKE} 15:45:20 ---> Running in c1726edc22c3 15:45:21 noop 15:45:21 Removing intermediate container c1726edc22c3 15:45:21 ---> eac466b14271 15:45:21 Successfully built eac466b14271 15:45:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:22 + docker inspect -f . ci-base-image-x86_64 15:45:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:22 prd-ubuntu20.04-docker-8c-8g-117162 does not seem to be running inside a container 15:45:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:45:22 $ docker top ca4a5f36417ec4a57900bcc3b9692703aad7d036e13cebec21776eed06088280 -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:23 + go version 15:45:23 go version go1.18.7 linux/amd64 [Pipeline] } 15:45:23 $ docker stop --time=1 ca4a5f36417ec4a57900bcc3b9692703aad7d036e13cebec21776eed06088280 15:45:24 $ docker rm -f ca4a5f36417ec4a57900bcc3b9692703aad7d036e13cebec21776eed06088280 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:45:24 + docker inspect -f . ci-base-image-x86_64 15:45:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:45:24 prd-ubuntu20.04-docker-8c-8g-117162 does not seem to be running inside a container 15:45:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:45:25 $ docker top 1d6c9707da5248938a8cadb620ffc8c14942b731cd1a06a7467236cff740c139 -eo pid,comm [Pipeline] { [Pipeline] sh 15:45:25 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:45:25 + make test 15:45:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:45:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:45:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.086s coverage: 27.6% of statements 15:45:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.086s coverage: 78.9% of statements 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 15:45:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.076s coverage: 73.1% of statements 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:45:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 54.4% of statements 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:45:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 65.1% of statements 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:45:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.747s coverage: 89.2% of statements 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:45:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.7% of statements 15:45:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:46:05 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." 15:46:05 GO111MODULE=on go vet ./... 15:46:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:46:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:46:06 ./bin/test-attribution-txt.sh 15:46:06 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:46:06 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:46:06 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:46:06 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:46:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:46:06 $ docker stop --time=1 1d6c9707da5248938a8cadb620ffc8c14942b731cd1a06a7467236cff740c139 15:46:13 $ docker rm -f 1d6c9707da5248938a8cadb620ffc8c14942b731cd1a06a7467236cff740c139 [Pipeline] // withDockerContainer [Pipeline] sh 15:46:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:46:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:46:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:46:14 + ls -al . 15:46:14 total 280 15:46:14 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 15:45 . 15:46:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:44 .. 15:46:14 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 15:44 .dockerignore 15:46:14 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 15:45 .git 15:46:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:44 .github 15:46:14 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 15:44 .gitignore 15:46:14 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 15:44 .golangci.yml 15:46:14 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 15:44 .semver 15:46:14 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 15:44 CHANGELOG.md 15:46:14 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 15:44 GOVERNANCE.md 15:46:14 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 15:44 Jenkinsfile 15:46:14 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 15:44 LICENSE 15:46:14 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 15:44 Makefile 15:46:14 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 15:44 OWNERS.md 15:46:14 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 15:44 README.md 15:46:14 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 15:44 VERSION 15:46:14 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:44 bin 15:46:14 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 15:45 coverage.out 15:46:14 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 15:44 example 15:46:14 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 15:44 go.mod 15:46:14 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 15:44 go.sum 15:46:14 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 15:44 internal 15:46:14 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 15:44 openapi 15:46:14 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 15:44 pkg 15:46:14 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:44 snap 15:46:14 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 15:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:14 + 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=8250e301d92a025f83865f5663963929d81085da --label arch=amd64 --label version=2.3.0-dev.49 . 15:46:14 Sending build context to Docker daemon 10.19MB 15:46:14 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:46:14 Step 2/23 : FROM ${BASE} AS builder 15:46:14 ---> eac466b14271 15:46:14 Step 3/23 : ARG MAKE=make build 15:46:15 ---> Running in 00eb2b5f9841 15:46:15 Removing intermediate container 00eb2b5f9841 15:46:15 ---> c2bcd4a6afd2 15:46:15 Step 4/23 : WORKDIR /device-sdk-go 15:46:15 ---> Running in 3ed3fd2ad6ed 15:46:15 Removing intermediate container 3ed3fd2ad6ed 15:46:15 ---> 23e705228ec1 15:46:15 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:46:15 ---> Running in 944202d1706c 15:46:15 Removing intermediate container 944202d1706c 15:46:15 ---> 2e759d7bb64c 15:46:15 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:46:15 ---> Running in 1882cc6ca2c3 15:46:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:46:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:46:16 OK: 211 MiB in 51 packages 15:46:16 Removing intermediate container 1882cc6ca2c3 15:46:16 ---> 7f2c15f29a6b 15:46:16 Step 7/23 : COPY go.mod vendor* ./ 15:46:16 ---> f6d1ff3adc34 15:46:16 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:46:16 ---> Running in eb28604c3b70 15:46:17 Removing intermediate container eb28604c3b70 15:46:17 ---> b89bf1796c0e 15:46:17 Step 9/23 : COPY . . 15:46:17 ---> 1490f8497fc6 15:46:17 Step 10/23 : RUN ${MAKE} 15:46:17 ---> Running in b0b7fc361377 15:46:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:46:36 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:46:39 Removing intermediate container b0b7fc361377 15:46:39 ---> e75d420f48a8 15:46:39 Step 11/23 : FROM alpine:3.16 15:46:40 3.16: Pulling from library/alpine 15:46:40 213ec9aee27d: Already exists 15:46:40 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:46:40 Status: Downloaded newer image for alpine:3.16 15:46:40 ---> 9c6f07244728 15:46:40 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:46:40 ---> Running in 938d0642fb79 15:46:40 Removing intermediate container 938d0642fb79 15:46:40 ---> 14034f380084 15:46:40 Step 13/23 : RUN apk add --update --no-cache zeromq 15:46:40 ---> Running in bad578bd92a6 15:46:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:46:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:46:41 (1/5) Installing libgcc (11.2.1_git20220219-r2) 15:46:41 (2/5) Installing libsodium (1.0.18-r0) 15:46:41 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 15:46:41 (4/5) Installing libzmq (4.3.4-r0) 15:46:41 (5/5) Installing zeromq (4.3.4-r0) 15:46:41 Executing busybox-1.35.0-r17.trigger 15:46:41 OK: 8 MiB in 19 packages 15:46:42 Removing intermediate container bad578bd92a6 15:46:42 ---> 354b8a5b0533 15:46:42 Step 14/23 : WORKDIR / 15:46:42 ---> Running in cbcafe7081f3 15:46:42 Removing intermediate container cbcafe7081f3 15:46:42 ---> bc2fe02947de 15:46:42 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:46:42 ---> 7049a42e539e 15:46:42 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:46:43 ---> d478bec9d75c 15:46:43 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:46:43 ---> a5d76973c142 15:46:43 Step 18/23 : EXPOSE 59999 15:46:43 ---> Running in 96f91f9bc844 15:46:43 Removing intermediate container 96f91f9bc844 15:46:43 ---> 412391ed9c7b 15:46:43 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:46:43 ---> Running in 22bc5c063645 15:46:43 Removing intermediate container 22bc5c063645 15:46:43 ---> 61cd6aa2e363 15:46:43 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:46:43 ---> Running in 7968f1b48be3 15:46:43 Removing intermediate container 7968f1b48be3 15:46:43 ---> e902b3b9e795 15:46:43 Step 21/23 : LABEL arch=amd64 15:46:43 ---> Running in 44cf2ce9cb50 15:46:43 Removing intermediate container 44cf2ce9cb50 15:46:43 ---> 6f9131566501 15:46:43 Step 22/23 : LABEL git_sha=8250e301d92a025f83865f5663963929d81085da 15:46:43 ---> Running in 19382d0aa998 15:46:43 Removing intermediate container 19382d0aa998 15:46:43 ---> 4a523ffda172 15:46:43 Step 23/23 : LABEL version=2.3.0-dev.49 15:46:43 ---> Running in ba83b1a2e983 15:46:43 Removing intermediate container ba83b1a2e983 15:46:43 ---> 73c09c06762b 15:46:43 [Warning] One or more build-args [ARCH] were not consumed 15:46:43 Successfully built 73c09c06762b 15:46:43 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 15:46:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:46:44 15:46:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:46:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:46:44 latest: Pulling from edgex-lftools-log-publisher 15:46:44 5eb5b503b376: Pulling fs layer 15:46:44 5c69ac0246d0: Pulling fs layer 15:46:44 ec43610c2a17: Pulling fs layer 15:46:44 3a2ae6a8a46f: Pulling fs layer 15:46:44 33b1e0a273af: Pulling fs layer 15:46:44 5d3b04190fa2: Pulling fs layer 15:46:44 2f39f015ded8: Pulling fs layer 15:46:44 3a2ae6a8a46f: Waiting 15:46:44 5d3b04190fa2: Waiting 15:46:44 2f39f015ded8: Waiting 15:46:44 5c69ac0246d0: Download complete 15:46:44 3a2ae6a8a46f: Verifying Checksum 15:46:44 3a2ae6a8a46f: Download complete 15:46:44 33b1e0a273af: Verifying Checksum 15:46:44 33b1e0a273af: Download complete 15:46:44 ec43610c2a17: Download complete 15:46:44 5d3b04190fa2: Verifying Checksum 15:46:44 5d3b04190fa2: Download complete 15:46:44 5eb5b503b376: Verifying Checksum 15:46:44 5eb5b503b376: Download complete 15:46:45 2f39f015ded8: Download complete 15:46:46 5eb5b503b376: Pull complete 15:46:46 5c69ac0246d0: Pull complete 15:46:46 ec43610c2a17: Pull complete 15:46:46 3a2ae6a8a46f: Pull complete 15:46:47 33b1e0a273af: Pull complete 15:46:47 5d3b04190fa2: Pull complete 15:46:51 2f39f015ded8: Pull complete 15:46:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:46:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:46:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:46:51 prd-ubuntu20.04-docker-8c-8g-117162 does not seem to be running inside a container 15:46:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:46:58 $ docker top a1da2262059d4fc213fcedefffc3cb02531e578973ce74a247143a8a51446d25 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:46:59 ---> job-cost.sh 15:46:59 lf-activate-venv: SKIPPING 15:46:59 INFO: No Stack... 15:46:59 INFO: Retrieving Pricing Info for: v3-standard-8 15:46:59 INFO: Archiving Costs [Pipeline] sh 15:46:59 + + cut -d, -f6 15:46:59 cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv [Pipeline] lock 15:46:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-125-stack-cost] 15:46:59 Resource [jenkins-edgexfoundry-device-sdk-go-main-125-stack-cost] did not exist. Created. 15:46:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:47:00 + echo total: 0.2199999988079071 [Pipeline] stash 15:47:00 Stashed 1 file(s) [Pipeline] } 15:47:00 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-125-stack-cost] [Pipeline] // lock [Pipeline] } 15:47:00 $ docker stop --time=1 a1da2262059d4fc213fcedefffc3cb02531e578973ce74a247143a8a51446d25 15:47:01 $ docker rm -f a1da2262059d4fc213fcedefffc3cb02531e578973ce74a247143a8a51446d25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:48:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117165 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:48:19 Running in /w/workspace/device-sdk-go/125 [Pipeline] { [Pipeline] checkout 15:48:19 The recommended git tool is: git 15:48:24 using credential edgex-jenkins-ssh 15:48:24 Cloning the remote Git repository 15:48:24 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:48:24 > git init /w/workspace/device-sdk-go/125 # timeout=10 15:48:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:48:24 > git --version # timeout=10 15:48:24 > git --version # 'git version 2.25.1' 15:48:24 using GIT_SSH to set credentials SSH Credentials for GitHub 15:48:24 Verifying host key using known hosts file 15:48:24 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. 15:48:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:48:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:48:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:48:27 Avoid second fetch 15:48:27 Checking out Revision 8250e301d92a025f83865f5663963929d81085da (main) 15:48:28 Commit message: "Merge pull request #1251 from lenny-intel/go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) 15:48:27 > git config core.sparsecheckout # timeout=10 15:48:27 > git checkout -f 8250e301d92a025f83865f5663963929d81085da # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh 15:48:28 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:48:28 % Total % Received % Xferd Average Speed Time Time Time Current 15:48:28 Dload Upload Total Spent Left Speed 15:48:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 84577 0 --:--:-- --:--:-- --:--:-- 84577 100 12602 100 12602 0 0 84013 0 --:--:-- --:--:-- --:--:-- 84013 [Pipeline] sh 15:48:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:48:29 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:48:29 + sudo tee /etc/docker/daemon.new 15:48:29 { 15:48:29 "registry-mirrors": [ 15:48:29 "https://nexus3.edgexfoundry.org:10001" 15:48:29 ], 15:48:29 "bip": "10.250.0.254/24", 15:48:29 "hosts": [ 15:48:29 "tcp://0.0.0.0:5555", 15:48:29 "unix:///var/run/docker.sock" 15:48:29 ], 15:48:29 "mtu": 1458, 15:48:29 "selinux-enabled": true, 15:48:29 "seccomp-profile": "/etc/docker/seccomp.json" 15:48:29 } [Pipeline] sh 15:48:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:48:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:48:49 provisioning config files... 15:48:49 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/125@tmp/config9117103760767517121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:48:50 ---> docker-login.sh 15:48:50 nexus3.edgexfoundry.org:10001 15:48:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:50 Configure a credential helper to remove this warning. See 15:48:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:50 15:48:50 Login Succeeded 15:48:50 nexus3.edgexfoundry.org:10002 15:48:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:51 Configure a credential helper to remove this warning. See 15:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:51 15:48:51 Login Succeeded 15:48:51 nexus3.edgexfoundry.org:10003 15:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:51 Configure a credential helper to remove this warning. See 15:48:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:51 15:48:51 Login Succeeded 15:48:51 nexus3.edgexfoundry.org:10004 15:48:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:52 Configure a credential helper to remove this warning. See 15:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:52 15:48:52 Login Succeeded 15:48:52 docker.io 15:48:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:48:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:48:52 Configure a credential helper to remove this warning. See 15:48:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:48:52 15:48:52 Login Succeeded 15:48:52 ---> docker-login.sh ends [Pipeline] } 15:48:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:48:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:48:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:48:52 ========================================================= 15:48:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:48:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:48:53 + 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 . 15:48:53 Sending build context to Docker daemon 5.42MB 15:48:53 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:48:53 Step 2/10 : FROM ${BASE} AS builder 15:48:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:48:53 9b18e9b68314: Pulling fs layer 15:48:53 d32db5db7311: Pulling fs layer 15:48:53 d0c4b47475fc: Pulling fs layer 15:48:53 5831b945b038: Pulling fs layer 15:48:53 86bbec2aaacd: Pulling fs layer 15:48:53 e10730c5d714: Pulling fs layer 15:48:53 5831b945b038: Waiting 15:48:53 86bbec2aaacd: Waiting 15:48:53 5dd5c2283517: Pulling fs layer 15:48:53 d5ac0230b979: Pulling fs layer 15:48:53 e10730c5d714: Waiting 15:48:53 5dd5c2283517: Waiting 15:48:53 d5ac0230b979: Waiting 15:48:53 d0c4b47475fc: Verifying Checksum 15:48:53 d0c4b47475fc: Download complete 15:48:53 d32db5db7311: Verifying Checksum 15:48:53 d32db5db7311: Download complete 15:48:53 86bbec2aaacd: Verifying Checksum 15:48:53 86bbec2aaacd: Download complete 15:48:53 e10730c5d714: Verifying Checksum 15:48:53 e10730c5d714: Download complete 15:48:53 9b18e9b68314: Verifying Checksum 15:48:53 9b18e9b68314: Download complete 15:48:54 9b18e9b68314: Pull complete 15:48:55 d5ac0230b979: Verifying Checksum 15:48:55 d5ac0230b979: Download complete 15:48:55 d32db5db7311: Pull complete 15:48:55 d0c4b47475fc: Pull complete 15:48:56 5dd5c2283517: Verifying Checksum 15:48:56 5dd5c2283517: Download complete 15:48:56 5831b945b038: Verifying Checksum 15:48:56 5831b945b038: Download complete 15:49:11 5831b945b038: Pull complete 15:49:11 86bbec2aaacd: Pull complete 15:49:11 e10730c5d714: Pull complete 15:49:17 5dd5c2283517: Pull complete 15:49:18 d5ac0230b979: Pull complete 15:49:18 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 15:49:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:49:18 ---> 59b3b1a385d4 15:49:18 Step 3/10 : ARG MAKE=make build 15:49:19 ---> Running in 846196cc0b67 15:49:19 Removing intermediate container 846196cc0b67 15:49:19 ---> 1c0a3d6cfcca 15:49:19 Step 4/10 : WORKDIR /device-sdk-go 15:49:19 ---> Running in 59ff49d802ff 15:49:20 Removing intermediate container 59ff49d802ff 15:49:20 ---> 2b1584b47bcd 15:49:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:49:20 ---> Running in b84b1260501d 15:49:20 Removing intermediate container b84b1260501d 15:49:20 ---> 6fbd9c8f6c5b 15:49:20 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:49:20 ---> Running in 13353d8c7d05 15:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:49:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:49:23 OK: 221 MiB in 51 packages 15:49:24 Removing intermediate container 13353d8c7d05 15:49:24 ---> 6b4b04cdd22a 15:49:24 Step 7/10 : COPY go.mod vendor* ./ 15:49:26 ---> e0e330bbb038 15:49:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:49:26 ---> Running in 5144897f8aab 15:50:22 Removing intermediate container 5144897f8aab 15:50:22 ---> 13efe5066079 15:50:22 Step 9/10 : COPY . . 15:50:22 ---> dd41e2f76c98 15:50:22 Step 10/10 : RUN ${MAKE} 15:50:22 ---> Running in 94dd4db70daf 15:50:22 noop 15:50:22 Removing intermediate container 94dd4db70daf 15:50:22 ---> fbf6e8b4dd06 15:50:22 Successfully built fbf6e8b4dd06 15:50:22 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:23 + docker inspect -f . ci-base-image-arm64 15:50:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:23 prd-ubuntu20.04-docker-arm64-4c-16g-117165 does not seem to be running inside a container 15:50:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/125 -v /w/workspace/device-sdk-go/125:/w/workspace/device-sdk-go/125:rw,z -v /w/workspace/device-sdk-go/125@tmp:/w/workspace/device-sdk-go/125@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-arm64 cat 15:50:24 $ docker top 92ce382886869a51b6a7f9d14f0dcccf48885a5ba8254bb33284fd163fd77a8e -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:25 + go version 15:50:25 go version go1.18.7 linux/arm64 [Pipeline] } 15:50:25 $ docker stop --time=1 92ce382886869a51b6a7f9d14f0dcccf48885a5ba8254bb33284fd163fd77a8e 15:50:27 $ docker rm -f 92ce382886869a51b6a7f9d14f0dcccf48885a5ba8254bb33284fd163fd77a8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:50:28 + docker inspect -f . ci-base-image-arm64 15:50:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:50:28 prd-ubuntu20.04-docker-arm64-4c-16g-117165 does not seem to be running inside a container 15:50:28 $ 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/125 -v /w/workspace/device-sdk-go/125:/w/workspace/device-sdk-go/125:rw,z -v /w/workspace/device-sdk-go/125@tmp:/w/workspace/device-sdk-go/125@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-arm64 cat 15:50:29 $ docker top 9e3d82b3a5c6cc0feed352ed891626284ce0c353bb1076719c6d37db1a3fbcaa -eo pid,comm [Pipeline] { [Pipeline] sh 15:50:30 + git config --global --add safe.directory /w/workspace/device-sdk-go/125 [Pipeline] fileExists [Pipeline] sh 15:50:31 + make test 15:50:31 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:51:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:53:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:53:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.365s coverage: 27.6% of statements 15:53:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.795s coverage: 78.9% of statements 15:53:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 15:53:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.973s coverage: 73.1% of statements 15:53:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:53:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:53:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.720s coverage: 54.4% of statements 15:53:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:53:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 15:53:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:53:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:53:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.560s coverage: 65.1% of statements 15:53:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 15:53:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:53:49 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 6.378s coverage: 89.2% of statements 15:53:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:53:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.265s coverage: 4.7% of statements 15:53:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:53:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:53:52 GO111MODULE=on go vet ./... 15:55:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:55:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:55:29 ./bin/test-attribution-txt.sh 15:55:29 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:55:29 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:55:29 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:55:29 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:55:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:55:29 $ docker stop --time=1 9e3d82b3a5c6cc0feed352ed891626284ce0c353bb1076719c6d37db1a3fbcaa 15:55:31 $ docker rm -f 9e3d82b3a5c6cc0feed352ed891626284ce0c353bb1076719c6d37db1a3fbcaa [Pipeline] // withDockerContainer [Pipeline] sh 15:55:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:55:33 Warning: overwriting stash ‘coverage-report’ 15:55:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:55:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:55:34 + ls -al . 15:55:34 total 276 15:55:34 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 15:50 . 15:55:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:48 .. 15:55:34 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 15:48 .dockerignore 15:55:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 15:48 .git 15:55:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:48 .github 15:55:34 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 15:48 .gitignore 15:55:34 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 15:48 .golangci.yml 15:55:34 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 15:48 CHANGELOG.md 15:55:34 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 15:48 GOVERNANCE.md 15:55:34 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 15:48 Jenkinsfile 15:55:34 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 15:48 LICENSE 15:55:34 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 15:48 Makefile 15:55:34 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 15:48 OWNERS.md 15:55:34 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 15:48 README.md 15:55:34 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 15:44 VERSION 15:55:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:48 bin 15:55:34 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 15:53 coverage.out 15:55:34 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 15:48 example 15:55:34 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 15:48 go.mod 15:55:34 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 15:48 go.sum 15:55:34 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 15:48 internal 15:55:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 15:48 openapi 15:55:34 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 15:48 pkg 15:55:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:48 snap 15:55:34 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 15:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:55:34 + 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=8250e301d92a025f83865f5663963929d81085da --label arch=arm64 --label version=2.3.0-dev.49 . 15:55:35 Sending build context to Docker daemon 5.522MB 15:55:35 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:55:35 Step 2/23 : FROM ${BASE} AS builder 15:55:35 ---> fbf6e8b4dd06 15:55:35 Step 3/23 : ARG MAKE=make build 15:55:35 ---> Running in efbdb8da3054 15:55:35 Removing intermediate container efbdb8da3054 15:55:35 ---> 872f3b5fc873 15:55:35 Step 4/23 : WORKDIR /device-sdk-go 15:55:36 ---> Running in f0a249a02aa9 15:55:36 Removing intermediate container f0a249a02aa9 15:55:36 ---> 9560b06c5c28 15:55:36 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:55:36 ---> Running in f04036209f6f 15:55:36 Removing intermediate container f04036209f6f 15:55:36 ---> 7cd29c7dce4e 15:55:36 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:55:36 ---> Running in ebe09cbeb961 15:55:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:55:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:55:39 OK: 221 MiB in 51 packages 15:55:40 Removing intermediate container ebe09cbeb961 15:55:40 ---> 97450bb5e942 15:55:40 Step 7/23 : COPY go.mod vendor* ./ 15:55:40 ---> 9f504055d9f8 15:55:40 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:55:40 ---> Running in 708af1ef0d0d 15:55:43 Removing intermediate container 708af1ef0d0d 15:55:43 ---> b9f0cccf9bc8 15:55:43 Step 9/23 : COPY . . 15:55:44 ---> 2dde754cccbf 15:55:44 Step 10/23 : RUN ${MAKE} 15:55:44 ---> Running in 4989dd0bce55 15:55:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.49" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:58:07 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:58:07 Removing intermediate container 4989dd0bce55 15:58:07 ---> 32f9a7c1c740 15:58:07 Step 11/23 : FROM alpine:3.16 15:58:07 3.16: Pulling from library/alpine 15:58:07 9b18e9b68314: Already exists 15:58:07 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:58:07 Status: Downloaded newer image for alpine:3.16 15:58:07 ---> a6215f271958 15:58:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:58:07 ---> Running in 154b05ba23e9 15:58:07 Removing intermediate container 154b05ba23e9 15:58:07 ---> df3db2318af5 15:58:07 Step 13/23 : RUN apk add --update --no-cache zeromq 15:58:07 ---> Running in 0e93da0a8ab8 15:58:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:58:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:58:07 (1/5) Installing libgcc (11.2.1_git20220219-r2) 15:58:07 (2/5) Installing libsodium (1.0.18-r0) 15:58:07 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 15:58:07 (4/5) Installing libzmq (4.3.4-r0) 15:58:07 (5/5) Installing zeromq (4.3.4-r0) 15:58:07 Executing busybox-1.35.0-r17.trigger 15:58:07 OK: 8 MiB in 19 packages 15:58:08 Removing intermediate container 0e93da0a8ab8 15:58:08 ---> 4f36a74671fd 15:58:08 Step 14/23 : WORKDIR / 15:58:08 ---> Running in bdefbba4c11a 15:58:08 Removing intermediate container bdefbba4c11a 15:58:08 ---> f934285d3202 15:58:08 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:58:09 ---> 3b0ef41012d6 15:58:09 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:58:10 ---> 1beaf7b3881d 15:58:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:58:11 ---> bc2c6cd9d3ac 15:58:11 Step 18/23 : EXPOSE 59999 15:58:11 ---> Running in 1afbf054f662 15:58:11 Removing intermediate container 1afbf054f662 15:58:11 ---> 56ce9f1ca323 15:58:11 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:58:11 ---> Running in a1292030ccd1 15:58:12 Removing intermediate container a1292030ccd1 15:58:12 ---> c00f98901849 15:58:12 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:58:12 ---> Running in bca99632b3af 15:58:12 Removing intermediate container bca99632b3af 15:58:12 ---> 872416b97b31 15:58:12 Step 21/23 : LABEL arch=arm64 15:58:12 ---> Running in fb49cd123378 15:58:12 Removing intermediate container fb49cd123378 15:58:12 ---> 752c4d2c768d 15:58:12 Step 22/23 : LABEL git_sha=8250e301d92a025f83865f5663963929d81085da 15:58:12 ---> Running in 63f5b072df51 15:58:13 Removing intermediate container 63f5b072df51 15:58:13 ---> 4d71cdfad761 15:58:13 Step 23/23 : LABEL version=2.3.0-dev.49 15:58:13 ---> Running in 623914a64804 15:58:13 Removing intermediate container 623914a64804 15:58:13 ---> 352f943d4801 15:58:13 [Warning] One or more build-args [ARCH] were not consumed 15:58:13 Successfully built 352f943d4801 15:58:13 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 15:58:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:58:14 15:58:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:58:14 arm64: Pulling from edgex-lftools-log-publisher 15:58:14 8998bd30e6a1: Pulling fs layer 15:58:14 04944245beec: Pulling fs layer 15:58:14 699f458cf7ca: Pulling fs layer 15:58:14 765212b225bb: Pulling fs layer 15:58:14 f23df028b6ca: Pulling fs layer 15:58:14 765212b225bb: Waiting 15:58:14 d65c8cfc05b1: Pulling fs layer 15:58:14 f23df028b6ca: Waiting 15:58:14 2437ff75d9bd: Pulling fs layer 15:58:14 d65c8cfc05b1: Waiting 15:58:14 2437ff75d9bd: Waiting 15:58:14 04944245beec: Verifying Checksum 15:58:14 04944245beec: Download complete 15:58:14 765212b225bb: Download complete 15:58:14 f23df028b6ca: Verifying Checksum 15:58:14 f23df028b6ca: Download complete 15:58:14 d65c8cfc05b1: Verifying Checksum 15:58:14 d65c8cfc05b1: Download complete 15:58:15 699f458cf7ca: Verifying Checksum 15:58:15 699f458cf7ca: Download complete 15:58:15 8998bd30e6a1: Verifying Checksum 15:58:15 8998bd30e6a1: Download complete 15:58:17 2437ff75d9bd: Verifying Checksum 15:58:17 2437ff75d9bd: Download complete 15:58:19 8998bd30e6a1: Pull complete 15:58:20 04944245beec: Pull complete 15:58:21 699f458cf7ca: Pull complete 15:58:21 765212b225bb: Pull complete 15:58:22 f23df028b6ca: Pull complete 15:58:22 d65c8cfc05b1: Pull complete 15:58:37 2437ff75d9bd: Pull complete 15:58:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:58:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:58:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:37 prd-ubuntu20.04-docker-arm64-4c-16g-117165 does not seem to be running inside a container 15:58:38 $ 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/125 -v /w/workspace/device-sdk-go/125:/w/workspace/device-sdk-go/125:rw,z -v /w/workspace/device-sdk-go/125@tmp:/w/workspace/device-sdk-go/125@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:arm64 cat 15:58:40 $ docker top 711f74d923a09d61cdf631e489be4f0c48e3195e38a08bd598a1cc4451d81cfc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:41 ---> job-cost.sh 15:58:41 lf-activate-venv: SKIPPING 15:58:41 INFO: No Stack... 15:58:42 INFO: Retrieving Pricing Info for: v3-standard-4 15:58:42 INFO: Archiving Costs [Pipeline] sh 15:58:43 + cut -d, -f6 15:58:43 + cat /w/workspace/device-sdk-go/125/archives/cost.csv [Pipeline] lock 15:58:43 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-125-stack-cost] 15:58:43 Resource [jenkins-edgexfoundry-device-sdk-go-main-125-stack-cost] did not exist. Created. 15:58:43 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:58:44 /w/workspace/device-sdk-go/125@tmp/durable-1d237c4a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:58:45 + echo total: 0.10999999940395355 [Pipeline] stash 15:58:45 Warning: overwriting stash ‘stack-cost’ 15:58:45 Stashed 1 file(s) [Pipeline] } 15:58:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-125-stack-cost] [Pipeline] // lock [Pipeline] } 15:58:45 $ docker stop --time=1 711f74d923a09d61cdf631e489be4f0c48e3195e38a08bd598a1cc4451d81cfc 15:58:46 $ docker rm -f 711f74d923a09d61cdf631e489be4f0c48e3195e38a08bd598a1cc4451d81cfc [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 15:58:46 provisioning config files... 15:58:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2013384628089861974tmp [Pipeline] { [Pipeline] sh 15:58:47 + set +x 15:58:47 + curl -s https://codecov.io/bash 15:58:47 + bash -s -- 15:58:47 15:58:47 _____ _ 15:58:47 / ____| | | 15:58:47 | | ___ __| | ___ ___ _____ __ 15:58:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:58:47 | |___| (_) | (_| | __/ (_| (_) \ V / 15:58:47 \_____\___/ \__,_|\___|\___\___/ \_/ 15:58:47 Bash-1.0.6 15:58:47 15:58:47 15:58:47 ==> git version 2.25.1 found 15:58:47 ==> 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 15:58:47 Release-Date: 2020-01-08 15:58:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:58:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:58:47 ==> Jenkins CI detected. 15:58:47 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:58:47 project root: . 15:58:47 --> token set from env 15:58:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:58:47 ==> Running gcov in . (disable via -X gcov) 15:58:47 ==> Python coveragepy not found 15:58:47 ==> Searching for coverage reports in: 15:58:47 + . 15:58:47 -> Found 1 reports 15:58:47 ==> Detecting git/mercurial file structure 15:58:47 ==> Reading reports 15:58:47 + ./coverage.out bytes=101759 15:58:47 ==> Appending adjustments 15:58:47 https://docs.codecov.io/docs/fixing-reports 15:58:47 + Found adjustments 15:58:47 ==> Gzipping contents 15:58:47 16K /tmp/codecov.oHDcoZ.gz 15:58:47 ==> Uploading reports 15:58:47 url: https://codecov.io 15:58:47 query: branch=main&commit=8250e301d92a025f83865f5663963929d81085da&build=125&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F125%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:58:47 -> Pinging Codecov 15:58:47 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=8250e301d92a025f83865f5663963929d81085da&build=125&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F125%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:58:48 -> Uploading to 15:58:48 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7E55EF52A471D76F132DFD9A03CDDE97/8250e301d92a025f83865f5663963929d81085da/c73b8db4-2e64-40bd-8ef4-161f6f20488f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T155847Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=eab124e48ca4c5a1cc51e6d5de830176ff8c02239036cc31a3034863298d834b 15:58:48 % Total % Received % Xferd Average Speed Time Time Time Current 15:58:48 Dload Upload Total Spent Left Speed 15:58:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14706 0 0 100 14706 0 67458 --:--:-- --:--:-- --:--:-- 67458 15:58:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8250e301d92a025f83865f5663963929d81085da [Pipeline] } 15:58:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:58:48 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:58:48 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:58:48 15:58:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:58:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:58:49 df9b9388f04a: Pulling fs layer 15:58:49 52dc419b0ee2: Pulling fs layer 15:58:49 25bc292e5bac: Pulling fs layer 15:58:49 114826534d7a: Pulling fs layer 15:58:49 4657fd5d0bcf: Pulling fs layer 15:58:49 114826534d7a: Waiting 15:58:49 6ad1cebc031e: Pulling fs layer 15:58:49 8a3aa393b2d8: Pulling fs layer 15:58:49 4657fd5d0bcf: Waiting 15:58:49 6ad1cebc031e: Waiting 15:58:49 8a3aa393b2d8: Waiting 15:58:49 25bc292e5bac: Verifying Checksum 15:58:49 25bc292e5bac: Download complete 15:58:49 52dc419b0ee2: Verifying Checksum 15:58:49 52dc419b0ee2: Download complete 15:58:49 4657fd5d0bcf: Verifying Checksum 15:58:49 4657fd5d0bcf: Download complete 15:58:49 df9b9388f04a: Verifying Checksum 15:58:49 df9b9388f04a: Download complete 15:58:49 6ad1cebc031e: Verifying Checksum 15:58:49 6ad1cebc031e: Download complete 15:58:49 df9b9388f04a: Pull complete 15:58:49 52dc419b0ee2: Pull complete 15:58:49 25bc292e5bac: Pull complete 15:58:49 114826534d7a: Verifying Checksum 15:58:49 114826534d7a: Download complete 15:58:50 8a3aa393b2d8: Verifying Checksum 15:58:50 8a3aa393b2d8: Download complete 15:58:53 114826534d7a: Pull complete 15:58:53 4657fd5d0bcf: Pull complete 15:58:53 6ad1cebc031e: Pull complete 15:58:57 8a3aa393b2d8: Pull complete 15:58:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:58:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:58:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:57 prd-ubuntu20.04-docker-8c-8g-117162 does not seem to be running inside a container 15:58:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:59:08 $ docker top d053e673ef187da5e94ad5fe7c2ed88fc0c53fbea6163e1dea22141d529d6d90 -eo pid,comm [Pipeline] { [Pipeline] echo 15:59:08 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 15:59:08 + set -o pipefail 15:59:08 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 15:59:15 15:59:15 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 15:59:15 15:59:15 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/2c6f0f6a-1e42-478a-8289-0a4272732750 15:59:15 15:59:15 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:59:15 15:59:15 15:59:15 A medium severity vulnerability was found in the Snyk CLI versions you are using. 15:59:15 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 15:59:15 More details here: https://snyk.co/ue1NS [Pipeline] } 15:59:15 $ docker stop --time=1 d053e673ef187da5e94ad5fe7c2ed88fc0c53fbea6163e1dea22141d529d6d90 15:59:20 $ docker rm -f d053e673ef187da5e94ad5fe7c2ed88fc0c53fbea6163e1dea22141d529d6d90 [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 15:59:20 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:59:20 provisioning config files... 15:59:20 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15164995598125922240tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:59:21 --> edgex-publish-swagger.sh 15:59:21 === Publish openapi/v2 API === 15:59:21 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 15:59:21 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 15:59:21 % Total % Received % Xferd Average Speed Time Time Time Current 15:59:21 Dload Upload Total Spent Left Speed 15:59:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 84868 --:--:-- --:--:-- --:--:-- 84868 15:59:21 15:59:21 [Pipeline] } 15:59:21 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 15:59:22 + git log --format=format:%s -1 8250e301d92a025f83865f5663963929d81085da [Pipeline] sh 15:59:22 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:59:22 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:59:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:22 prd-ubuntu20.04-docker-8c-8g-117162 does not seem to be running inside a container 15:59:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:59:23 $ docker top d251fe6723ef78272716ad4847d40f6c73a4e3deeaacaada3119182c9b436191 -eo pid,comm 15:59:23 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:59:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:59:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:23 [ssh-agent] Looking for ssh-agent implementation... 15:59:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:23 $ docker exec d251fe6723ef78272716ad4847d40f6c73a4e3deeaacaada3119182c9b436191 ssh-agent 15:59:23 SSH_AUTH_SOCK=/tmp/ssh-EjmaIe2PWYFb/agent.32 15:59:23 SSH_AGENT_PID=38 15:59:23 Running ssh-add (command line suppressed) 15:59:23 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16467865862778123638.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16467865862778123638.key) 15:59:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:23 + git semver tag 15:59:24 2022-10-26 15:59:24,215 [run_tag] DEBUG tag force:False 15:59:24 2022-10-26 15:59:24,215 [check_head_tag] DEBUG check head tag 15:59:24 2022-10-26 15:59:24,216 [execute] INFO git cat-file --batch-check 15:59:24 2022-10-26 15:59:24,216 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:59:24 2022-10-26 15:59:24,219 [execute] INFO git cat-file --batch 15:59:24 2022-10-26 15:59:24,219 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:59:24 2022-10-26 15:59:24,244 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:59:24 2022-10-26 15:59:24,244 [execute] INFO git tag -a v2.3.0-dev.49 -m v2.3.0-dev.49 15:59:24 2022-10-26 15:59:24,245 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.49', '-m', 'v2.3.0-dev.49'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:59:24 2022-10-26 15:59:24,250 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:59:24 2.3.0-dev.49 [Pipeline] } 15:59:24 $ docker exec --env ******** --env ******** d251fe6723ef78272716ad4847d40f6c73a4e3deeaacaada3119182c9b436191 ssh-agent -k 15:59:24 unset SSH_AUTH_SOCK; 15:59:24 unset SSH_AGENT_PID; 15:59:24 echo Agent pid 38 killed; 15:59:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:59:24 + git semver [Pipeline] } 15:59:24 $ docker stop --time=1 d251fe6723ef78272716ad4847d40f6c73a4e3deeaacaada3119182c9b436191 15:59:26 $ docker rm -f d251fe6723ef78272716ad4847d40f6c73a4e3deeaacaada3119182c9b436191 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:59:26 15:59:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:59:26 0.23.1-centos7: Pulling from edgex-lftools 15:59:26 ab5ef0e58194: Pulling fs layer 15:59:26 9712f1f96733: Pulling fs layer 15:59:26 63f879dbbcfc: Pulling fs layer 15:59:26 0d9ebad4ef96: Pulling fs layer 15:59:26 e9a5061849ea: Pulling fs layer 15:59:26 d747dcd14b5f: Pulling fs layer 15:59:26 2de7ff778b66: Pulling fs layer 15:59:26 0d9ebad4ef96: Waiting 15:59:26 d747dcd14b5f: Waiting 15:59:26 2de7ff778b66: Waiting 15:59:26 e9a5061849ea: Waiting 15:59:26 9712f1f96733: Verifying Checksum 15:59:26 9712f1f96733: Download complete 15:59:27 63f879dbbcfc: Verifying Checksum 15:59:27 63f879dbbcfc: Download complete 15:59:27 0d9ebad4ef96: Verifying Checksum 15:59:27 0d9ebad4ef96: Download complete 15:59:27 e9a5061849ea: Verifying Checksum 15:59:27 e9a5061849ea: Download complete 15:59:27 d747dcd14b5f: Verifying Checksum 15:59:27 d747dcd14b5f: Download complete 15:59:27 ab5ef0e58194: Verifying Checksum 15:59:27 ab5ef0e58194: Download complete 15:59:27 2de7ff778b66: Verifying Checksum 15:59:27 2de7ff778b66: Download complete 15:59:30 ab5ef0e58194: Pull complete 15:59:30 9712f1f96733: Pull complete 15:59:30 63f879dbbcfc: Pull complete 15:59:35 0d9ebad4ef96: Pull complete 15:59:35 e9a5061849ea: Pull complete 15:59:35 d747dcd14b5f: Pull complete 15:59:36 2de7ff778b66: Pull complete 15:59:36 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:59:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:59:36 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:36 prd-ubuntu20.04-docker-8c-8g-117162 does not seem to be running inside a container 15:59:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:59:41 $ docker top 85866e539e3dceac66a7d7384237692ff631aefeac55d38bec91b266e8b8c6d3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:59:41 provisioning config files... 15:59:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17861670565131600687tmp 15:59:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config817962206738730710tmp 15:59:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6291548120957221237tmp [Pipeline] { [Pipeline] echo 15:59:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:59:41 ---> sigul-configuration.sh 15:59:41 gpg: directory `/root/.gnupg' created 15:59:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:59:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:59:41 gpg: keyring `/root/.gnupg/secring.gpg' created 15:59:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:59:41 gpg: CAST5 encrypted data 15:59:41 gpg: encrypted with 1 passphrase 15:59:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:59:41 + mkdir /home/jenkins 15:59:41 + mkdir /home/jenkins/sigul [Pipeline] sh 15:59:42 + 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 15:59:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:59:42 ---> sigul-install.sh 15:59:42 Sigul already installed; skipping installation. [Pipeline] sh 15:59:42 + git tag --list 15:59:42 0.7.1 15:59:42 delhi-tag 15:59:42 v1.0.0 15:59:42 v1.1.0 15:59:42 v1.1.1 15:59:42 v1.1.2 15:59:42 v1.2.0 15:59:42 v1.2.1 15:59:42 v1.2.2 15:59:42 v1.2.3 15:59:42 v1.3.0 15:59:42 v1.4.0 15:59:42 v2.0.0 15:59:42 v2.1.0 15:59:42 v2.1.1 15:59:42 v2.1.1-dev.2 15:59:42 v2.1.1-dev.3 15:59:42 v2.2.0 15:59:42 v2.2.1-dev.1 15:59:42 v2.2.1-dev.10 15:59:42 v2.2.1-dev.11 15:59:42 v2.2.1-dev.12 15:59:42 v2.2.1-dev.13 15:59:42 v2.2.1-dev.14 15:59:42 v2.2.1-dev.2 15:59:42 v2.2.1-dev.3 15:59:42 v2.2.1-dev.4 15:59:42 v2.2.1-dev.5 15:59:42 v2.2.1-dev.6 15:59:42 v2.2.1-dev.7 15:59:42 v2.2.1-dev.8 15:59:42 v2.2.1-dev.9 15:59:42 v2.3.0-dev.14 15:59:42 v2.3.0-dev.15 15:59:42 v2.3.0-dev.16 15:59:42 v2.3.0-dev.17 15:59:42 v2.3.0-dev.18 15:59:42 v2.3.0-dev.19 15:59:42 v2.3.0-dev.20 15:59:42 v2.3.0-dev.21 15:59:42 v2.3.0-dev.22 15:59:42 v2.3.0-dev.23 15:59:42 v2.3.0-dev.24 15:59:42 v2.3.0-dev.25 15:59:42 v2.3.0-dev.26 15:59:42 v2.3.0-dev.27 15:59:42 v2.3.0-dev.28 15:59:42 v2.3.0-dev.29 15:59:42 v2.3.0-dev.30 15:59:42 v2.3.0-dev.31 15:59:42 v2.3.0-dev.32 15:59:42 v2.3.0-dev.33 15:59:42 v2.3.0-dev.34 15:59:42 v2.3.0-dev.35 15:59:42 v2.3.0-dev.36 15:59:42 v2.3.0-dev.37 15:59:42 v2.3.0-dev.38 15:59:42 v2.3.0-dev.39 15:59:42 v2.3.0-dev.40 15:59:42 v2.3.0-dev.41 15:59:42 v2.3.0-dev.42 15:59:42 v2.3.0-dev.43 15:59:42 v2.3.0-dev.44 15:59:42 v2.3.0-dev.45 15:59:42 v2.3.0-dev.46 15:59:42 v2.3.0-dev.47 15:59:42 v2.3.0-dev.48 15:59:42 v2.3.0-dev.49 [Pipeline] sh 15:59:42 + lftools sign git-tag v2.3.0-dev.49 15:59:43 Signing Git tag with Sigul... 15:59:43 Signing v2.3.0-dev.49 [Pipeline] echo 15:59:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:59:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:59:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:59:44 $ docker stop --time=1 85866e539e3dceac66a7d7384237692ff631aefeac55d38bec91b266e8b8c6d3 15:59:45 $ docker rm -f 85866e539e3dceac66a7d7384237692ff631aefeac55d38bec91b266e8b8c6d3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:59:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:59:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:59:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:46 prd-ubuntu20.04-docker-8c-8g-117162 does not seem to be running inside a container 15:59:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:59:47 $ docker top e2375b5c1360e54016770a9efa0d784cd2d87e35d18cf65037d9058c849a2b7c -eo pid,comm 15:59: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). 15:59:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:59:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:47 [ssh-agent] Looking for ssh-agent implementation... 15:59:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:47 $ docker exec e2375b5c1360e54016770a9efa0d784cd2d87e35d18cf65037d9058c849a2b7c ssh-agent 15:59:47 SSH_AUTH_SOCK=/tmp/ssh-4FqwZjeLt0RK/agent.32 15:59:47 SSH_AGENT_PID=38 15:59:47 Running ssh-add (command line suppressed) 15:59:47 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13340794559134741054.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13340794559134741054.key) 15:59:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:48 + git semver bump pre 15:59:48 2022-10-26 15:59:48,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:59:48 2022-10-26 15:59:48,317 [bump_version] DEBUG bumping version:2.3.0-dev.49 on axis:pre with prefix:dev 15:59:48 2022-10-26 15:59:48,317 [bump_version] DEBUG bumped version:2.3.0-dev.50 15:59:48 2022-10-26 15:59:48,317 [write_version] DEBUG write version:2.3.0-dev.50 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 15:59:48 2022-10-26 15:59:48,317 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:59:48 2022-10-26 15:59:48,317 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:59:48 2022-10-26 15:59:48,319 [execute] INFO git cat-file --batch-check 15:59:48 2022-10-26 15:59:48,319 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:59:48 2022-10-26 15:59:48,325 [execute] INFO git cat-file --batch 15:59:48 2022-10-26 15:59:48,325 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:59:48 2022-10-26 15:59:48,332 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:59:48 2.3.0-dev.50 [Pipeline] } 15:59:48 $ docker exec --env ******** --env ******** e2375b5c1360e54016770a9efa0d784cd2d87e35d18cf65037d9058c849a2b7c ssh-agent -k 15:59:48 unset SSH_AUTH_SOCK; 15:59:48 unset SSH_AGENT_PID; 15:59:48 echo Agent pid 38 killed; 15:59:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:59:48 + git semver [Pipeline] } 15:59:49 $ docker stop --time=1 e2375b5c1360e54016770a9efa0d784cd2d87e35d18cf65037d9058c849a2b7c 15:59:50 $ docker rm -f e2375b5c1360e54016770a9efa0d784cd2d87e35d18cf65037d9058c849a2b7c [Pipeline] // withDockerContainer [Pipeline] sh 15:59:51 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:59:51 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:59:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:51 prd-ubuntu20.04-docker-8c-8g-117162 does not seem to be running inside a container 15:59:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:59:51 $ docker top 9cc69300aeb4275c98222c393cb9e7481726bd663cd72d6ffbad830e8b9a9e9a -eo pid,comm 15:59:51 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). 15:59:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:59:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:59:51 [ssh-agent] Looking for ssh-agent implementation... 15:59:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:59:52 $ docker exec 9cc69300aeb4275c98222c393cb9e7481726bd663cd72d6ffbad830e8b9a9e9a ssh-agent 15:59:52 SSH_AUTH_SOCK=/tmp/ssh-7rWsg0en0ZsE/agent.14 15:59:52 SSH_AGENT_PID=20 15:59:52 Running ssh-add (command line suppressed) 15:59:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6901570965026696279.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6901570965026696279.key) 15:59:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:59:52 + git semver push 15:59:52 2022-10-26 15:59:52,817 [run_push] DEBUG push 15:59:52 2022-10-26 15:59:52,817 [execute] INFO git cat-file --batch-check 15:59:52 2022-10-26 15:59:52,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:59:52 2022-10-26 15:59:52,822 [execute] INFO git rev-list ce460dede80d7036888f668d6d79108040036681 -- 15:59:52 2022-10-26 15:59:52,822 [execute] DEBUG Popen(['git', 'rev-list', 'ce460dede80d7036888f668d6d79108040036681', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:59:52 2022-10-26 15:59:52,834 [execute] INFO git fetch -v origin 15:59:52 2022-10-26 15:59:52,834 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:59:53 2022-10-26 15:59:53,421 [run_push] DEBUG no remote changes detected 15:59:53 2022-10-26 15:59:53,422 [execute] INFO git push origin semver 15:59:53 2022-10-26 15:59:53,422 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:59:54 2022-10-26 15:59:54,366 [run_push] DEBUG push all version tags 15:59:54 2022-10-26 15:59:54,367 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:59:54 2022-10-26 15:59:54,367 [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) 15:59:55 2022-10-26 15:59:55,190 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:59:55 2.3.0-dev.50 [Pipeline] } 15:59:55 $ docker exec --env ******** --env ******** 9cc69300aeb4275c98222c393cb9e7481726bd663cd72d6ffbad830e8b9a9e9a ssh-agent -k 15:59:55 unset SSH_AUTH_SOCK; 15:59:55 unset SSH_AGENT_PID; 15:59:55 echo Agent pid 20 killed; 15:59:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:59:55 + git semver [Pipeline] } 15:59:56 $ docker stop --time=1 9cc69300aeb4275c98222c393cb9e7481726bd663cd72d6ffbad830e8b9a9e9a 15:59:57 $ docker rm -f 9cc69300aeb4275c98222c393cb9e7481726bd663cd72d6ffbad830e8b9a9e9a [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 15:59:58 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 15:59:58 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:59:58 total 16 15:59:58 drwxr-xr-x 3 root root 4096 Oct 26 15:46 . 15:59:58 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 15:59 .. 15:59:58 drwxr-xr-x 2 root root 4096 Oct 26 15:46 cost 15:59:58 -rw-r--r-- 1 root root 85 Oct 26 15:46 cost.csv 15:59:58 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:59:58 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:59:58 total 16 15:59:58 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 15:46 . 15:59:58 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 15:59 .. 15:59:58 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 15:46 cost 15:59:58 -rw-r--r-- 1 jenkins jenkins 85 Oct 26 15:46 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:59:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:59:59 ---> package-listing.sh 15:59:59 ++ facter osfamily 15:59:59 ++ tr '[:upper:]' '[:lower:]' 15:59:59 + OS_FAMILY=debian 15:59:59 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:59:59 + START_PACKAGES=/tmp/packages_start.txt 15:59:59 + END_PACKAGES=/tmp/packages_end.txt 15:59:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:59:59 + PACKAGES=/tmp/packages_start.txt 15:59:59 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:59:59 + PACKAGES=/tmp/packages_end.txt 15:59:59 + case "${OS_FAMILY}" in 15:59:59 + dpkg -l 15:59:59 + grep '^ii' 15:59:59 + '[' -f /tmp/packages_start.txt ']' 15:59:59 + '[' -f /tmp/packages_end.txt ']' 15:59:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:59:59 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:59:59 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:59:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 15:59:59 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:59:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:00:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:00 prd-ubuntu20.04-docker-8c-8g-117162 does not seem to be running inside a container 16:00:00 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:00:00 $ docker top 1f476c25a42d40f3bfd5bd1abfcfefdf4e0149eef05368e4e1aeff24a5c0d3be -eo pid,comm [Pipeline] { [Pipeline] sh 16:00:01 + touch /tmp/pre-build-complete [Pipeline] sh 16:00:01 + mkdir -p /var/log/sysstat [Pipeline] sh 16:00:01 + ls /var/log/sa-host 16:00:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:00:01 provisioning config files... 16:00:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13102325636023683952tmp [Pipeline] { [Pipeline] echo 16:00:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:00:02 ---> create-netrc.sh [Pipeline] } 16:00:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:00:02 ---> python-tools-install.sh [Pipeline] echo 16:00:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:00:03 ---> sudo-logs.sh 16:00:03 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:00:03 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:00:03 ---> job-cost.sh 16:00:03 lf-activate-venv: SKIPPING 16:00:03 DEBUG: total: 0.2199999988079071 16:00:03 INFO: Retrieving Stack Cost... 16:00:04 INFO: Retrieving Pricing Info for: v3-standard-8 16:00:04 INFO: Archiving Costs [Pipeline] echo 16:00:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:00:04 ---> logs-deploy.sh 16:00:04 lf-activate-venv: SKIPPING 16:00:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/125 16:00:04 INFO: archiving workspace using pattern(s): 16:00:05 Archives upload complete. 16:00:05 INFO: archiving logs to Nexus