Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5c206d5ec711179ff4ebe49da9da22b1560eb8ca 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-ssh4186398054585354991.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-ssh12166753652181730082.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-ssh1640788832397770598.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-ssh3688856174881220577.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-ssh1645501702395918919.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-116952 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 5c206d5ec711179ff4ebe49da9da22b1560eb8ca (main) Commit message: "Merge pull request #1248 from lenny-intel/go-mods-config-docker" > git config core.sparsecheckout # timeout=10 > git checkout -f 5c206d5ec711179ff4ebe49da9da22b1560eb8ca # timeout=10 > git rev-list --no-walk 7fe7de0be30ee91d764ec87773cd7be423c2e190 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:50:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:50:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:50:02 ========================================================= 18:50:02 EdgeX Global Pipelines Version Info 18:50:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:50:04 ------------------- 18:50:04 stable info: 18:50:04 ------------------- 18:50:04 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:50:04 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:50:04 Message: update stable to v1.0.243 18:50:05 ------------------- 18:50:05 experimental info: 18:50:05 ------------------- 18:50:05 Commited By: **** collab-it+edgex@linuxfoundation.org 18:50:05 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 18:50:05 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c206d5ec711179ff4ebe49da9da22b1560eb8ca [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c206d5 [Pipeline] echo 18:50:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:50:05 provisioning config files... 18:50:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config504065261003448630tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:06 ---> docker-login.sh 18:50:06 nexus3.edgexfoundry.org:10001 18:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:06 Configure a credential helper to remove this warning. See 18:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:06 18:50:06 Login Succeeded 18:50:06 nexus3.edgexfoundry.org:10002 18:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:06 Configure a credential helper to remove this warning. See 18:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:06 18:50:06 Login Succeeded 18:50:06 nexus3.edgexfoundry.org:10003 18:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:06 Configure a credential helper to remove this warning. See 18:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:06 18:50:06 Login Succeeded 18:50:06 nexus3.edgexfoundry.org:10004 18:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:06 Configure a credential helper to remove this warning. See 18:50:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:06 18:50:06 Login Succeeded 18:50:06 docker.io 18:50:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:07 Configure a credential helper to remove this warning. See 18:50:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:07 18:50:07 Login Succeeded 18:50:07 ---> docker-login.sh ends [Pipeline] } 18:50:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:50:07 + git rev-list -1 --merges 5c206d5ec711179ff4ebe49da9da22b1560eb8ca~1..5c206d5ec711179ff4ebe49da9da22b1560eb8ca [Pipeline] echo 18:50:07 -----------> git rev-list -1 --merges 5c206d5ec711179ff4ebe49da9da22b1560eb8ca~1..5c206d5ec711179ff4ebe49da9da22b1560eb8ca 5c206d5ec711179ff4ebe49da9da22b1560eb8ca 18:50:07 5c206d5ec711179ff4ebe49da9da22b1560eb8ca [false] [Pipeline] sh 18:50:08 + git log --format=format:%s -1 5c206d5ec711179ff4ebe49da9da22b1560eb8ca [Pipeline] echo 18:50:08 ========================================================= 18:50:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:50:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:50:08 + git log --format=format:%s -1 5c206d5ec711179ff4ebe49da9da22b1560eb8ca [Pipeline] echo 18:50:08 [semverPrep] GIT_COMMIT: 5c206d5ec711179ff4ebe49da9da22b1560eb8ca, Commit Message: Merge pull request #1248 from lenny-intel/go-mods-config-docker [Pipeline] echo 18:50:08 [semverPrep] This is not a build commit. [Pipeline] sh 18:50:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:50:08 + grep -v github /etc/ssh/ssh_known_hosts 18:50:08 + [ -e /tmp/ssh_known_hosts ] 18:50:08 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:50:08 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:50:08 sudo tee -a /etc/ssh/ssh_known_hosts 18:50:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:50:09 18:50:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:50:09 0.1.4: Pulling from edgex-devops/py-git-semver 18:50:09 b85a868b505f: Pulling fs layer 18:50:09 e2be974225ed: Pulling fs layer 18:50:09 339a4e72a1f5: Pulling fs layer 18:50:09 988bab9f4d93: Pulling fs layer 18:50:09 1469e6f7b9e6: Pulling fs layer 18:50:09 eaf3925da568: Pulling fs layer 18:50:09 bab4dde63d76: Pulling fs layer 18:50:09 bde34c3a00c8: Pulling fs layer 18:50:09 b352a97aabf1: Pulling fs layer 18:50:09 4872d77fe225: Pulling fs layer 18:50:09 5851b861e8e6: Pulling fs layer 18:50:09 1469e6f7b9e6: Waiting 18:50:09 eaf3925da568: Waiting 18:50:09 bab4dde63d76: Waiting 18:50:09 bde34c3a00c8: Waiting 18:50:09 b352a97aabf1: Waiting 18:50:09 4872d77fe225: Waiting 18:50:09 5851b861e8e6: Waiting 18:50:09 988bab9f4d93: Waiting 18:50:09 e2be974225ed: Verifying Checksum 18:50:09 e2be974225ed: Download complete 18:50:09 988bab9f4d93: Verifying Checksum 18:50:09 988bab9f4d93: Download complete 18:50:09 1469e6f7b9e6: Verifying Checksum 18:50:09 1469e6f7b9e6: Download complete 18:50:09 eaf3925da568: Download complete 18:50:09 339a4e72a1f5: Verifying Checksum 18:50:09 339a4e72a1f5: Download complete 18:50:09 bde34c3a00c8: Download complete 18:50:09 b352a97aabf1: Download complete 18:50:09 4872d77fe225: Download complete 18:50:09 5851b861e8e6: Verifying Checksum 18:50:09 5851b861e8e6: Download complete 18:50:09 b85a868b505f: Verifying Checksum 18:50:09 b85a868b505f: Download complete 18:50:09 bab4dde63d76: Verifying Checksum 18:50:09 bab4dde63d76: Download complete 18:50:10 b85a868b505f: Pull complete 18:50:11 e2be974225ed: Pull complete 18:50:11 339a4e72a1f5: Pull complete 18:50:11 988bab9f4d93: Pull complete 18:50:11 1469e6f7b9e6: Pull complete 18:50:11 eaf3925da568: Pull complete 18:50:13 bab4dde63d76: Pull complete 18:50:13 bde34c3a00c8: Pull complete 18:50:13 b352a97aabf1: Pull complete 18:50:13 4872d77fe225: Pull complete 18:50:13 5851b861e8e6: Pull complete 18:50:13 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:50:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:50:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:50:14 prd-ubuntu20.04-docker-8c-8g-116952 does not seem to be running inside a container 18:50:14 $ 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 18:50:16 $ docker top 439bbf024d15c520824b46dc8fd8a595243a4a2d5b32737279807279e10cb6f0 -eo pid,comm 18:50:16 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). 18:50:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:50:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:50:16 [ssh-agent] Looking for ssh-agent implementation... 18:50:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:50:16 $ docker exec 439bbf024d15c520824b46dc8fd8a595243a4a2d5b32737279807279e10cb6f0 ssh-agent 18:50:16 SSH_AUTH_SOCK=/tmp/ssh-xYXzaqITMVRU/agent.20 18:50:16 SSH_AGENT_PID=38 18:50:16 Running ssh-add (command line suppressed) 18:50:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11359911067848128576.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11359911067848128576.key) 18:50:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:50:17 + git tag --points-at HEAD [Pipeline] } 18:50:17 $ docker exec --env ******** --env ******** 439bbf024d15c520824b46dc8fd8a595243a4a2d5b32737279807279e10cb6f0 ssh-agent -k 18:50:17 unset SSH_AUTH_SOCK; 18:50:17 unset SSH_AGENT_PID; 18:50:17 echo Agent pid 38 killed; 18:50:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:50:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:50:17 [ssh-agent] Looking for ssh-agent implementation... 18:50:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:50:17 $ docker exec 439bbf024d15c520824b46dc8fd8a595243a4a2d5b32737279807279e10cb6f0 ssh-agent 18:50:17 SSH_AUTH_SOCK=/tmp/ssh-bUM9x8IYnnZF/agent.71 18:50:17 SSH_AGENT_PID=77 18:50:17 Running ssh-add (command line suppressed) 18:50:17 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8132670767880038326.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_8132670767880038326.key) 18:50:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:50:17 + git semver init 18:50:18 2022-10-25 18:50:18,107 [run_init] DEBUG init version:0.0.0 force:False 18:50:18 2022-10-25 18:50:18,108 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:50:18 2022-10-25 18:50:18,108 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 18:50:18 2022-10-25 18:50:18,109 [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) 18:50:19 2022-10-25 18:50:19,165 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 18:50:19 2022-10-25 18:50:19,166 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 18:50:19 2022-10-25 18:50:19,166 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:50:19 2022-10-25 18:50:19,166 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 18:50:19 2.3.0-dev.47 [Pipeline] } 18:50:19 $ docker exec --env ******** --env ******** 439bbf024d15c520824b46dc8fd8a595243a4a2d5b32737279807279e10cb6f0 ssh-agent -k 18:50:19 unset SSH_AUTH_SOCK; 18:50:19 unset SSH_AGENT_PID; 18:50:19 echo Agent pid 77 killed; 18:50:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:50:19 + git semver [Pipeline] } 18:50:20 $ docker stop --time=1 439bbf024d15c520824b46dc8fd8a595243a4a2d5b32737279807279e10cb6f0 18:50:21 $ docker rm -f 439bbf024d15c520824b46dc8fd8a595243a4a2d5b32737279807279e10cb6f0 [Pipeline] // withDockerContainer [Pipeline] sh 18:50:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:50:22 Stashed 1 file(s) [Pipeline] echo 18:50:22 [edgeXSemver]: initialized semver on version 2.3.0-dev.47 [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 18:50:22 provisioning config files... 18:50:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4638956233981916352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:50:22 ---> docker-login.sh 18:50:22 nexus3.edgexfoundry.org:10001 18:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:22 Configure a credential helper to remove this warning. See 18:50:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:22 18:50:22 Login Succeeded 18:50:22 nexus3.edgexfoundry.org:10002 18:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:22 Configure a credential helper to remove this warning. See 18:50:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:22 18:50:22 Login Succeeded 18:50:22 nexus3.edgexfoundry.org:10003 18:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:22 Configure a credential helper to remove this warning. See 18:50:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:22 18:50:22 Login Succeeded 18:50:22 nexus3.edgexfoundry.org:10004 18:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:22 Configure a credential helper to remove this warning. See 18:50:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:22 18:50:22 Login Succeeded 18:50:22 docker.io 18:50:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:50:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:50:23 Configure a credential helper to remove this warning. See 18:50:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:50:23 18:50:23 Login Succeeded 18:50:23 ---> docker-login.sh ends [Pipeline] } 18:50:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:50:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:50:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:50:23 ========================================================= 18:50:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 18:50:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:50:23 + 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 . 18:50:23 Sending build context to Docker daemon 10.05MB 18:50:23 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 18:50:23 Step 2/10 : FROM ${BASE} AS builder 18:50:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 18:50:23 213ec9aee27d: Pulling fs layer 18:50:23 4583459ba037: Pulling fs layer 18:50:23 93c1e223e6f2: Pulling fs layer 18:50:23 53926ce57604: Pulling fs layer 18:50:23 21b2b0c7a3f4: Pulling fs layer 18:50:23 30f14e443154: Pulling fs layer 18:50:23 801331c1e519: Pulling fs layer 18:50:23 99cc6dd402b0: Pulling fs layer 18:50:23 7d9ed39f4882: Pulling fs layer 18:50:23 21b2b0c7a3f4: Waiting 18:50:23 99cc6dd402b0: Waiting 18:50:23 30f14e443154: Waiting 18:50:23 53926ce57604: Waiting 18:50:23 801331c1e519: Waiting 18:50:23 93c1e223e6f2: Verifying Checksum 18:50:23 93c1e223e6f2: Download complete 18:50:23 4583459ba037: Verifying Checksum 18:50:23 4583459ba037: Download complete 18:50:23 21b2b0c7a3f4: Verifying Checksum 18:50:23 21b2b0c7a3f4: Download complete 18:50:24 30f14e443154: Verifying Checksum 18:50:24 30f14e443154: Download complete 18:50:24 213ec9aee27d: Verifying Checksum 18:50:24 213ec9aee27d: Download complete 18:50:24 801331c1e519: Download complete 18:50:24 213ec9aee27d: Pull complete 18:50:24 4583459ba037: Pull complete 18:50:24 93c1e223e6f2: Pull complete 18:50:24 53926ce57604: Verifying Checksum 18:50:24 53926ce57604: Download complete 18:50:26 7d9ed39f4882: Verifying Checksum 18:50:26 7d9ed39f4882: Download complete 18:50:26 99cc6dd402b0: Verifying Checksum 18:50:26 99cc6dd402b0: Download complete 18:50:28 53926ce57604: Pull complete 18:50:28 21b2b0c7a3f4: Pull complete 18:50:28 30f14e443154: Pull complete 18:50:28 801331c1e519: Pull complete 18:50:30 99cc6dd402b0: Pull complete 18:50:31 7d9ed39f4882: Pull complete 18:50:31 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 18:50:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 18:50:31 ---> 1dedd983c030 18:50:31 Step 3/10 : ARG MAKE=make build 18:50:34 ---> Running in 3a10fd60d4d4 18:50:35 Removing intermediate container 3a10fd60d4d4 18:50:35 ---> e40f3515c467 18:50:35 Step 4/10 : WORKDIR /device-sdk-go 18:50:35 ---> Running in 8b22a3354ce9 18:50:36 Removing intermediate container 8b22a3354ce9 18:50:36 ---> 6a1152dd03fe 18:50:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:50:36 ---> Running in 934207fe0ba4 18:50:37 Still waiting to schedule task 18:50:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-116954’ is offline 18:50:37 ‘prd-ubuntu20.04-docker-arm64-4c-16g-116955’ is offline 18:50:37 Removing intermediate container 934207fe0ba4 18:50:37 ---> 2b8744ac2c4c 18:50:37 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:50:38 ---> Running in c358820fb899 18:50:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:50:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:50:39 OK: 211 MiB in 51 packages 18:50:40 Removing intermediate container c358820fb899 18:50:40 ---> d82454739fff 18:50:40 Step 7/10 : COPY go.mod vendor* ./ 18:50:40 ---> 14fdeb1456a4 18:50:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:50:40 ---> Running in 6e394d6017d8 18:51:12 Removing intermediate container 6e394d6017d8 18:51:12 ---> 10844aba4391 18:51:12 Step 9/10 : COPY . . 18:51:13 ---> d4dff4a68ae5 18:51:13 Step 10/10 : RUN ${MAKE} 18:51:13 ---> Running in 19b2bf545417 18:51:13 noop 18:51:14 Removing intermediate container 19b2bf545417 18:51:14 ---> 944676923f99 18:51:14 Successfully built 944676923f99 18:51:14 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:15 + docker inspect -f . ci-base-image-x86_64 18:51:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:15 prd-ubuntu20.04-docker-8c-8g-116952 does not seem to be running inside a container 18:51:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 18:51:16 $ docker top a198eaccd49e6614ab5739f1d137a965ef96b63f108bbc0912e70b05657982af -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:16 + go version 18:51:16 go version go1.18.7 linux/amd64 [Pipeline] } 18:51:16 $ docker stop --time=1 a198eaccd49e6614ab5739f1d137a965ef96b63f108bbc0912e70b05657982af 18:51:18 $ docker rm -f a198eaccd49e6614ab5739f1d137a965ef96b63f108bbc0912e70b05657982af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:51:19 + docker inspect -f . ci-base-image-x86_64 18:51:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:51:19 prd-ubuntu20.04-docker-8c-8g-116952 does not seem to be running inside a container 18:51:19 $ 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 18:51:20 $ docker top ea80eeeab5e68bb41c2ee6887f7a11f958d9f4d8f94021edf31f7f2da354ad0a -eo pid,comm [Pipeline] { [Pipeline] sh 18:51:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 18:51:21 + make test 18:51:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 18:51:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 18:51:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements 18:51:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 18:51:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.164s coverage: 73.1% of statements 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 18:51:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.099s coverage: 54.4% of statements 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 18:51:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.100s coverage: 65.1% of statements 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 18:51:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.836s coverage: 89.2% of statements 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 18:51:42 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.7% of statements 18:51:42 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 18:51:57 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." 18:51:57 GO111MODULE=on go vet ./... 18:51:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:51:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:51:59 ./bin/test-attribution-txt.sh 18:51:59 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 18:51:59 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 18:51:59 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 18:51:59 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 18:51:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:51:59 $ docker stop --time=1 ea80eeeab5e68bb41c2ee6887f7a11f958d9f4d8f94021edf31f7f2da354ad0a 18:52:05 $ docker rm -f ea80eeeab5e68bb41c2ee6887f7a11f958d9f4d8f94021edf31f7f2da354ad0a [Pipeline] // withDockerContainer [Pipeline] sh 18:52:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:52:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:52:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:52:07 + ls -al . 18:52:07 total 280 18:52:07 drwxrwxr-x 11 jenkins jenkins 4096 Oct 25 18:51 . 18:52:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 18:50 .. 18:52:07 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 18:50 .dockerignore 18:52:07 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 18:51 .git 18:52:07 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 18:50 .github 18:52:07 -rw-rw-r-- 1 jenkins jenkins 131 Oct 25 18:50 .gitignore 18:52:07 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 18:50 .golangci.yml 18:52:07 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 18:50 .semver 18:52:07 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 25 18:50 CHANGELOG.md 18:52:07 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 18:50 GOVERNANCE.md 18:52:07 -rw-rw-r-- 1 jenkins jenkins 880 Oct 25 18:50 Jenkinsfile 18:52:07 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 18:50 LICENSE 18:52:07 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 25 18:50 Makefile 18:52:07 -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 18:50 OWNERS.md 18:52:07 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 25 18:50 README.md 18:52:07 -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 18:50 VERSION 18:52:07 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 18:50 bin 18:52:07 -rw-r--r-- 1 jenkins jenkins 101759 Oct 25 18:51 coverage.out 18:52:07 drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 18:50 example 18:52:07 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 25 18:50 go.mod 18:52:07 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 25 18:50 go.sum 18:52:07 drwxrwxr-x 14 jenkins jenkins 4096 Oct 25 18:50 internal 18:52:07 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 18:50 openapi 18:52:07 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 18:50 pkg 18:52:07 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 18:50 snap 18:52:07 -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 18:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:07 + 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=5c206d5ec711179ff4ebe49da9da22b1560eb8ca --label arch=amd64 --label version=2.3.0-dev.47 . 18:52:07 Sending build context to Docker daemon 10.16MB 18:52:07 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 18:52:07 Step 2/23 : FROM ${BASE} AS builder 18:52:07 ---> 944676923f99 18:52:07 Step 3/23 : ARG MAKE=make build 18:52:07 ---> Running in c4b5c8b03ae0 18:52:07 Removing intermediate container c4b5c8b03ae0 18:52:07 ---> 61a86eb78879 18:52:07 Step 4/23 : WORKDIR /device-sdk-go 18:52:07 ---> Running in 310406d64a96 18:52:07 Removing intermediate container 310406d64a96 18:52:07 ---> 06a56d463ecd 18:52:07 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:52:07 ---> Running in b40cce42e84e 18:52:07 Removing intermediate container b40cce42e84e 18:52:07 ---> d5e1ca27b4c3 18:52:07 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 18:52:07 ---> Running in 367c0353862c 18:52:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:52:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:52:08 OK: 211 MiB in 51 packages 18:52:09 Removing intermediate container 367c0353862c 18:52:09 ---> 591c8b468c57 18:52:09 Step 7/23 : COPY go.mod vendor* ./ 18:52:09 ---> 5ea263e5a3ee 18:52:09 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:52:10 ---> Running in 34c1eebc591f 18:52:11 Removing intermediate container 34c1eebc591f 18:52:11 ---> 7c1a29c499f3 18:52:11 Step 9/23 : COPY . . 18:52:11 ---> aea19cf7b9ed 18:52:11 Step 10/23 : RUN ${MAKE} 18:52:11 ---> Running in 3ef1cb76e4a7 18:52:11 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.47" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 18:52:34 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 18:52:37 Removing intermediate container 3ef1cb76e4a7 18:52:37 ---> 60c595238e61 18:52:37 Step 11/23 : FROM alpine:3.16 18:52:38 3.16: Pulling from library/alpine 18:52:38 213ec9aee27d: Already exists 18:52:38 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 18:52:38 Status: Downloaded newer image for alpine:3.16 18:52:38 ---> 9c6f07244728 18:52:38 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:52:38 ---> Running in ac81ee6c4f68 18:52:38 Removing intermediate container ac81ee6c4f68 18:52:38 ---> 4680b9b3b8c2 18:52:38 Step 13/23 : RUN apk add --update --no-cache zeromq 18:52:38 ---> Running in 798d72a61359 18:52:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 18:52:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 18:52:39 (1/5) Installing libgcc (11.2.1_git20220219-r2) 18:52:39 (2/5) Installing libsodium (1.0.18-r0) 18:52:39 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 18:52:39 (4/5) Installing libzmq (4.3.4-r0) 18:52:39 (5/5) Installing zeromq (4.3.4-r0) 18:52:39 Executing busybox-1.35.0-r17.trigger 18:52:39 OK: 8 MiB in 19 packages 18:52:39 Removing intermediate container 798d72a61359 18:52:39 ---> 493131938911 18:52:39 Step 14/23 : WORKDIR / 18:52:39 ---> Running in 4e00636ab4fa 18:52:39 Removing intermediate container 4e00636ab4fa 18:52:39 ---> 4048709f8048 18:52:39 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 18:52:39 ---> dc670c95ae61 18:52:39 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 18:52:41 ---> db9901bf6aba 18:52:41 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 18:52:41 ---> fd60cecd478c 18:52:41 Step 18/23 : EXPOSE 59999 18:52:41 ---> Running in 092a59c4a48a 18:52:41 Removing intermediate container 092a59c4a48a 18:52:41 ---> 1a47c19a9ebc 18:52:41 Step 19/23 : ENTRYPOINT ["/device-simple"] 18:52:41 ---> Running in 81ba70e9aaa8 18:52:41 Removing intermediate container 81ba70e9aaa8 18:52:41 ---> 47845113a4c1 18:52:41 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 18:52:41 ---> Running in 1f5d1b1b84f0 18:52:41 Removing intermediate container 1f5d1b1b84f0 18:52:41 ---> 7c2a0b043725 18:52:41 Step 21/23 : LABEL arch=amd64 18:52:41 ---> Running in bd39577d571f 18:52:41 Removing intermediate container bd39577d571f 18:52:41 ---> 9d164aa2164f 18:52:41 Step 22/23 : LABEL git_sha=5c206d5ec711179ff4ebe49da9da22b1560eb8ca 18:52:41 ---> Running in 6fe36975fed7 18:52:41 Removing intermediate container 6fe36975fed7 18:52:41 ---> 975f4f7a1f6f 18:52:41 Step 23/23 : LABEL version=2.3.0-dev.47 18:52:41 ---> Running in 2464ad9a7d82 18:52:41 Removing intermediate container 2464ad9a7d82 18:52:41 ---> bdba1818b849 18:52:41 [Warning] One or more build-args [ARCH] were not consumed 18:52:41 Successfully built bdba1818b849 18:52:41 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 18:52:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:41 18:52:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:52:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:42 latest: Pulling from edgex-lftools-log-publisher 18:52:42 5eb5b503b376: Pulling fs layer 18:52:42 5c69ac0246d0: Pulling fs layer 18:52:42 ec43610c2a17: Pulling fs layer 18:52:42 3a2ae6a8a46f: Pulling fs layer 18:52:42 33b1e0a273af: Pulling fs layer 18:52:42 5d3b04190fa2: Pulling fs layer 18:52:42 2f39f015ded8: Pulling fs layer 18:52:42 3a2ae6a8a46f: Waiting 18:52:42 33b1e0a273af: Waiting 18:52:42 5d3b04190fa2: Waiting 18:52:42 2f39f015ded8: Waiting 18:52:42 5c69ac0246d0: Verifying Checksum 18:52:42 5c69ac0246d0: Download complete 18:52:42 3a2ae6a8a46f: Verifying Checksum 18:52:42 3a2ae6a8a46f: Download complete 18:52:42 33b1e0a273af: Verifying Checksum 18:52:42 33b1e0a273af: Download complete 18:52:42 5d3b04190fa2: Download complete 18:52:42 ec43610c2a17: Verifying Checksum 18:52:42 ec43610c2a17: Download complete 18:52:42 5eb5b503b376: Verifying Checksum 18:52:42 5eb5b503b376: Download complete 18:52:43 2f39f015ded8: Download complete 18:52:43 5eb5b503b376: Pull complete 18:52:44 5c69ac0246d0: Pull complete 18:52:44 ec43610c2a17: Pull complete 18:52:44 3a2ae6a8a46f: Pull complete 18:52:44 33b1e0a273af: Pull complete 18:52:45 5d3b04190fa2: Pull complete 18:52:49 2f39f015ded8: Pull complete 18:52:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:52:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:52:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:52:49 prd-ubuntu20.04-docker-8c-8g-116952 does not seem to be running inside a container 18:52:49 $ 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 18:52:57 $ docker top 51677efdad964f4729c7accb24c9c474b22d1e31a508a65a5ce0be21c962a8db -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:52:58 ---> job-cost.sh 18:52:58 lf-activate-venv: SKIPPING 18:52:58 INFO: No Stack... 18:52:58 INFO: Retrieving Pricing Info for: v3-standard-8 18:52:59 INFO: Archiving Costs [Pipeline] sh 18:52:59 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 18:52:59 + cut -d, -f6 [Pipeline] lock 18:52:59 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-123-stack-cost] 18:52:59 Resource [jenkins-edgexfoundry-device-sdk-go-main-123-stack-cost] did not exist. Created. 18:52:59 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:52:59 + echo total: 0.2199999988079071 [Pipeline] stash 18:52:59 Stashed 1 file(s) [Pipeline] } 18:52:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 18:52:59 $ docker stop --time=1 51677efdad964f4729c7accb24c9c474b22d1e31a508a65a5ce0be21c962a8db 18:53:00 $ docker rm -f 51677efdad964f4729c7accb24c9c474b22d1e31a508a65a5ce0be21c962a8db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:10:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-116964 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 19:10:45 Running in /w/workspace/device-sdk-go/123 [Pipeline] { [Pipeline] checkout 19:10:45 The recommended git tool is: git 19:10:50 using credential edgex-jenkins-ssh 19:10:50 Cloning the remote Git repository 19:10:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:10:51 > git init /w/workspace/device-sdk-go/123 # timeout=10 19:10:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:10:51 > git --version # timeout=10 19:10:51 > git --version # 'git version 2.25.1' 19:10:51 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:51 Verifying host key using known hosts file 19:10:51 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. 19:10:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:54 Avoid second fetch 19:10:54 Checking out Revision 5c206d5ec711179ff4ebe49da9da22b1560eb8ca (main) 19:10:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:10:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:54 > git config core.sparsecheckout # timeout=10 19:10:54 > git checkout -f 5c206d5ec711179ff4ebe49da9da22b1560eb8ca # timeout=10 19:10:54 Commit message: "Merge pull request #1248 from lenny-intel/go-mods-config-docker" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:10:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:10:55 % Total % Received % Xferd Average Speed Time Time Time Current 19:10:55 Dload Upload Total Spent Left Speed 19:10:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 77790 0 --:--:-- --:--:-- --:--:-- 77790 [Pipeline] sh 19:10:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:10:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:10:56 + sudo tee /etc/docker/daemon.new 19:10:56 { 19:10:56 "registry-mirrors": [ 19:10:56 "https://nexus3.edgexfoundry.org:10001" 19:10:56 ], 19:10:56 "bip": "10.250.0.254/24", 19:10:56 "hosts": [ 19:10:56 "tcp://0.0.0.0:5555", 19:10:56 "unix:///var/run/docker.sock" 19:10:56 ], 19:10:56 "mtu": 1458, 19:10:56 "selinux-enabled": true, 19:10:56 "seccomp-profile": "/etc/docker/seccomp.json" 19:10:56 } [Pipeline] sh 19:10:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:10:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:11:15 provisioning config files... 19:11:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/123@tmp/config13992358839410198507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:11:15 ---> docker-login.sh 19:11:15 nexus3.edgexfoundry.org:10001 19:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:16 Configure a credential helper to remove this warning. See 19:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:16 19:11:16 Login Succeeded 19:11:16 nexus3.edgexfoundry.org:10002 19:11:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:16 Configure a credential helper to remove this warning. See 19:11:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:16 19:11:16 Login Succeeded 19:11:16 nexus3.edgexfoundry.org:10003 19:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:17 Configure a credential helper to remove this warning. See 19:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:17 19:11:17 Login Succeeded 19:11:17 nexus3.edgexfoundry.org:10004 19:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:17 Configure a credential helper to remove this warning. See 19:11:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:17 19:11:17 Login Succeeded 19:11:17 docker.io 19:11:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:18 Configure a credential helper to remove this warning. See 19:11:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:18 19:11:18 Login Succeeded 19:11:18 ---> docker-login.sh ends [Pipeline] } 19:11:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:11:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:11:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:11:18 ========================================================= 19:11:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 19:11:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:18 + 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 . 19:11:18 Sending build context to Docker daemon 5.41MB 19:11:18 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 19:11:18 Step 2/10 : FROM ${BASE} AS builder 19:11:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:11:19 9b18e9b68314: Pulling fs layer 19:11:19 d32db5db7311: Pulling fs layer 19:11:19 d0c4b47475fc: Pulling fs layer 19:11:19 5831b945b038: Pulling fs layer 19:11:19 86bbec2aaacd: Pulling fs layer 19:11:19 e10730c5d714: Pulling fs layer 19:11:19 5dd5c2283517: Pulling fs layer 19:11:19 d5ac0230b979: Pulling fs layer 19:11:19 5831b945b038: Waiting 19:11:19 86bbec2aaacd: Waiting 19:11:19 e10730c5d714: Waiting 19:11:19 5dd5c2283517: Waiting 19:11:19 d5ac0230b979: Waiting 19:11:19 d0c4b47475fc: Verifying Checksum 19:11:19 d0c4b47475fc: Download complete 19:11:19 d32db5db7311: Verifying Checksum 19:11:19 d32db5db7311: Download complete 19:11:19 86bbec2aaacd: Verifying Checksum 19:11:19 86bbec2aaacd: Download complete 19:11:19 e10730c5d714: Download complete 19:11:19 9b18e9b68314: Download complete 19:11:20 9b18e9b68314: Pull complete 19:11:20 d5ac0230b979: Verifying Checksum 19:11:20 d5ac0230b979: Download complete 19:11:20 d32db5db7311: Pull complete 19:11:21 d0c4b47475fc: Pull complete 19:11:21 5dd5c2283517: Verifying Checksum 19:11:21 5dd5c2283517: Download complete 19:11:22 5831b945b038: Verifying Checksum 19:11:22 5831b945b038: Download complete 19:11:34 5831b945b038: Pull complete 19:11:34 86bbec2aaacd: Pull complete 19:11:34 e10730c5d714: Pull complete 19:11:39 5dd5c2283517: Pull complete 19:11:41 d5ac0230b979: Pull complete 19:11:41 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 19:11:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 19:11:41 ---> 59b3b1a385d4 19:11:41 Step 3/10 : ARG MAKE=make build 19:11:44 ---> Running in 792b11607fda 19:11:44 Removing intermediate container 792b11607fda 19:11:44 ---> 031f5a51043a 19:11:44 Step 4/10 : WORKDIR /device-sdk-go 19:11:44 ---> Running in e03577007f94 19:11:45 Removing intermediate container e03577007f94 19:11:45 ---> e0a03eac7b46 19:11:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:11:45 ---> Running in c988517dc738 19:11:45 Removing intermediate container c988517dc738 19:11:45 ---> 6ca49ebaaa04 19:11:45 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:11:45 ---> Running in 9d676f253eff 19:11:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:11:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:11:48 OK: 221 MiB in 51 packages 19:11:48 Removing intermediate container 9d676f253eff 19:11:48 ---> c7f4e8419d95 19:11:48 Step 7/10 : COPY go.mod vendor* ./ 19:11:49 ---> 5eeb074529a5 19:11:49 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:11:49 ---> Running in e7b5de229f92 19:12:46 Removing intermediate container e7b5de229f92 19:12:46 ---> d71f59b295af 19:12:46 Step 9/10 : COPY . . 19:12:46 ---> 07e59e20fc21 19:12:46 Step 10/10 : RUN ${MAKE} 19:12:46 ---> Running in 2ff8b0644cea 19:12:46 noop 19:12:46 Removing intermediate container 2ff8b0644cea 19:12:46 ---> 0a1f01915980 19:12:46 Successfully built 0a1f01915980 19:12:46 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:46 + docker inspect -f . ci-base-image-arm64 19:12:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:46 prd-ubuntu20.04-docker-arm64-4c-16g-116964 does not seem to be running inside a container 19:12:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/123 -v /w/workspace/device-sdk-go/123:/w/workspace/device-sdk-go/123:rw,z -v /w/workspace/device-sdk-go/123@tmp:/w/workspace/device-sdk-go/123@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 19:12:47 $ docker top f944379476b5298ce4b01e7a67798c10f752fc63582a77c663af7c7c457d9f57 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:48 + go version 19:12:48 go version go1.18.7 linux/arm64 [Pipeline] } 19:12:48 $ docker stop --time=1 f944379476b5298ce4b01e7a67798c10f752fc63582a77c663af7c7c457d9f57 19:12:50 $ docker rm -f f944379476b5298ce4b01e7a67798c10f752fc63582a77c663af7c7c457d9f57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:50 + docker inspect -f . ci-base-image-arm64 19:12:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:51 prd-ubuntu20.04-docker-arm64-4c-16g-116964 does not seem to be running inside a container 19:12:51 $ 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/123 -v /w/workspace/device-sdk-go/123:/w/workspace/device-sdk-go/123:rw,z -v /w/workspace/device-sdk-go/123@tmp:/w/workspace/device-sdk-go/123@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 19:12:52 $ docker top 5018a2dfa33d967b362a009c3f63529e4c5f8cdaa2b1e2bd5beb4a46e59cb2af -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:53 + git config --global --add safe.directory /w/workspace/device-sdk-go/123 [Pipeline] fileExists [Pipeline] sh 19:12:53 + make test 19:12:53 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 19:13:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 19:15:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 19:15:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 19:15:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 19:15:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 19:15:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 19:15:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.298s coverage: 27.6% of statements 19:15:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.618s coverage: 78.9% of statements 19:15:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 19:16:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.679s coverage: 73.1% of statements 19:16:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 19:16:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 19:16:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 1.052s coverage: 54.4% of statements 19:16:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 19:16:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 19:16:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 19:16:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 19:16:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.488s coverage: 65.1% of statements 19:16:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 19:16:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 19:16:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.057s coverage: 89.2% of statements 19:16:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 19:16:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.278s coverage: 4.7% of statements 19:16:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 19:16:15 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:16:15 GO111MODULE=on go vet ./... 19:17:52 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:17:52 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:17:52 ./bin/test-attribution-txt.sh 19:17:52 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 19:17:52 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 19:17:52 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 19:17:52 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 19:17:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:17:52 $ docker stop --time=1 5018a2dfa33d967b362a009c3f63529e4c5f8cdaa2b1e2bd5beb4a46e59cb2af 19:17:55 $ docker rm -f 5018a2dfa33d967b362a009c3f63529e4c5f8cdaa2b1e2bd5beb4a46e59cb2af [Pipeline] // withDockerContainer [Pipeline] sh 19:17:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:17:56 Warning: overwriting stash ‘coverage-report’ 19:17:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:17:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:17:58 + ls -al . 19:17:58 total 276 19:17:58 drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 19:12 . 19:17:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 19:10 .. 19:17:58 -rw-rw-r-- 1 jenkins jenkins 140 Oct 25 19:10 .dockerignore 19:17:58 drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 19:10 .git 19:17:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 19:10 .github 19:17:58 -rw-rw-r-- 1 jenkins jenkins 131 Oct 25 19:10 .gitignore 19:17:58 -rw-rw-r-- 1 jenkins jenkins 42 Oct 25 19:10 .golangci.yml 19:17:58 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 25 19:10 CHANGELOG.md 19:17:58 -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 19:10 GOVERNANCE.md 19:17:58 -rw-rw-r-- 1 jenkins jenkins 880 Oct 25 19:10 Jenkinsfile 19:17:58 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 25 19:10 LICENSE 19:17:58 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 25 19:10 Makefile 19:17:58 -rw-rw-r-- 1 jenkins jenkins 619 Oct 25 19:10 OWNERS.md 19:17:58 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 25 19:10 README.md 19:17:58 -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 18:50 VERSION 19:17:58 drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 19:10 bin 19:17:58 -rw-r--r-- 1 jenkins jenkins 101759 Oct 25 19:16 coverage.out 19:17:58 drwxrwxr-x 5 jenkins jenkins 4096 Oct 25 19:10 example 19:17:58 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 25 19:10 go.mod 19:17:58 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 25 19:10 go.sum 19:17:58 drwxrwxr-x 14 jenkins jenkins 4096 Oct 25 19:10 internal 19:17:58 drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 19:10 openapi 19:17:58 drwxrwxr-x 6 jenkins jenkins 4096 Oct 25 19:10 pkg 19:17:58 drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 19:10 snap 19:17:58 -rw-rw-r-- 1 jenkins jenkins 222 Oct 25 19:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:17:58 + 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=5c206d5ec711179ff4ebe49da9da22b1560eb8ca --label arch=arm64 --label version=2.3.0-dev.47 . 19:17:58 Sending build context to Docker daemon 5.513MB 19:17:58 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 19:17:58 Step 2/23 : FROM ${BASE} AS builder 19:17:58 ---> 0a1f01915980 19:17:58 Step 3/23 : ARG MAKE=make build 19:17:58 ---> Running in c96c9a9c45fe 19:17:59 Removing intermediate container c96c9a9c45fe 19:17:59 ---> 67151fcb4e6e 19:17:59 Step 4/23 : WORKDIR /device-sdk-go 19:17:59 ---> Running in 5de4445f2c01 19:17:59 Removing intermediate container 5de4445f2c01 19:17:59 ---> 47a612db93b1 19:17:59 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:17:59 ---> Running in 5b99b2f7ca38 19:18:00 Removing intermediate container 5b99b2f7ca38 19:18:00 ---> 3ddbb490512d 19:18:00 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:18:00 ---> Running in 8719cbd85865 19:18:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:18:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:18:02 OK: 221 MiB in 51 packages 19:18:03 Removing intermediate container 8719cbd85865 19:18:03 ---> 16bd795b5c0b 19:18:03 Step 7/23 : COPY go.mod vendor* ./ 19:18:03 ---> ebc8ae8c635d 19:18:03 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:18:03 ---> Running in edafc84a22c9 19:18:07 Removing intermediate container edafc84a22c9 19:18:07 ---> d71dc9014e78 19:18:07 Step 9/23 : COPY . . 19:18:07 ---> ce95ec28e06a 19:18:07 Step 10/23 : RUN ${MAKE} 19:18:08 ---> Running in 14eae87885ac 19:18:09 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.47" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:20:30 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 19:20:30 Removing intermediate container 14eae87885ac 19:20:30 ---> 25ee1097bd2a 19:20:30 Step 11/23 : FROM alpine:3.16 19:20:30 3.16: Pulling from library/alpine 19:20:30 9b18e9b68314: Already exists 19:20:30 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 19:20:30 Status: Downloaded newer image for alpine:3.16 19:20:30 ---> a6215f271958 19:20:30 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:20:30 ---> Running in b35b4c92f643 19:20:30 Removing intermediate container b35b4c92f643 19:20:30 ---> 18ea7b62687e 19:20:30 Step 13/23 : RUN apk add --update --no-cache zeromq 19:20:30 ---> Running in fa92cae07b59 19:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 19:20:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 19:20:30 (1/5) Installing libgcc (11.2.1_git20220219-r2) 19:20:30 (2/5) Installing libsodium (1.0.18-r0) 19:20:30 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 19:20:30 (4/5) Installing libzmq (4.3.4-r0) 19:20:31 (5/5) Installing zeromq (4.3.4-r0) 19:20:31 Executing busybox-1.35.0-r17.trigger 19:20:31 OK: 8 MiB in 19 packages 19:20:32 Removing intermediate container fa92cae07b59 19:20:32 ---> 4e298e4369b3 19:20:32 Step 14/23 : WORKDIR / 19:20:32 ---> Running in 6a66b0619cd4 19:20:32 Removing intermediate container 6a66b0619cd4 19:20:32 ---> 46d1106adf28 19:20:32 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:20:32 ---> 95b5eef8a8ab 19:20:32 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:20:34 ---> b499558d8443 19:20:34 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:20:34 ---> 37a5ad24a255 19:20:34 Step 18/23 : EXPOSE 59999 19:20:34 ---> Running in ad503b6ae880 19:20:35 Removing intermediate container ad503b6ae880 19:20:35 ---> 926f5206ecd7 19:20:35 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:20:35 ---> Running in 29cc35d426ff 19:20:35 Removing intermediate container 29cc35d426ff 19:20:35 ---> 31db263662b6 19:20:35 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:20:35 ---> Running in 6188f88604c9 19:20:35 Removing intermediate container 6188f88604c9 19:20:35 ---> 25efbad79128 19:20:35 Step 21/23 : LABEL arch=arm64 19:20:35 ---> Running in dc7c6a3d5857 19:20:36 Removing intermediate container dc7c6a3d5857 19:20:36 ---> 80962197d364 19:20:36 Step 22/23 : LABEL git_sha=5c206d5ec711179ff4ebe49da9da22b1560eb8ca 19:20:36 ---> Running in e2f63598fc04 19:20:36 Removing intermediate container e2f63598fc04 19:20:36 ---> f38b471ecc69 19:20:36 Step 23/23 : LABEL version=2.3.0-dev.47 19:20:36 ---> Running in b3809cc4b23a 19:20:37 Removing intermediate container b3809cc4b23a 19:20:37 ---> a49e32edd6e0 19:20:37 [Warning] One or more build-args [ARCH] were not consumed 19:20:37 Successfully built a49e32edd6e0 19:20:37 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 19:20:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:37 19:20:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:20:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:20:37 arm64: Pulling from edgex-lftools-log-publisher 19:20:37 8998bd30e6a1: Pulling fs layer 19:20:37 04944245beec: Pulling fs layer 19:20:37 699f458cf7ca: Pulling fs layer 19:20:37 765212b225bb: Pulling fs layer 19:20:37 f23df028b6ca: Pulling fs layer 19:20:37 d65c8cfc05b1: Pulling fs layer 19:20:37 2437ff75d9bd: Pulling fs layer 19:20:37 f23df028b6ca: Waiting 19:20:37 765212b225bb: Waiting 19:20:37 d65c8cfc05b1: Waiting 19:20:37 2437ff75d9bd: Waiting 19:20:38 04944245beec: Verifying Checksum 19:20:38 04944245beec: Download complete 19:20:38 765212b225bb: Verifying Checksum 19:20:38 765212b225bb: Download complete 19:20:38 f23df028b6ca: Verifying Checksum 19:20:38 f23df028b6ca: Download complete 19:20:38 d65c8cfc05b1: Verifying Checksum 19:20:38 d65c8cfc05b1: Download complete 19:20:38 699f458cf7ca: Verifying Checksum 19:20:38 699f458cf7ca: Download complete 19:20:38 8998bd30e6a1: Verifying Checksum 19:20:38 8998bd30e6a1: Download complete 19:20:41 2437ff75d9bd: Verifying Checksum 19:20:41 2437ff75d9bd: Download complete 19:20:42 8998bd30e6a1: Pull complete 19:20:44 04944245beec: Pull complete 19:20:45 699f458cf7ca: Pull complete 19:20:45 765212b225bb: Pull complete 19:20:46 f23df028b6ca: Pull complete 19:20:46 d65c8cfc05b1: Pull complete 19:21:01 2437ff75d9bd: Pull complete 19:21:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:21:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:21:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:01 prd-ubuntu20.04-docker-arm64-4c-16g-116964 does not seem to be running inside a container 19:21:02 $ 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/123 -v /w/workspace/device-sdk-go/123:/w/workspace/device-sdk-go/123:rw,z -v /w/workspace/device-sdk-go/123@tmp:/w/workspace/device-sdk-go/123@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 19:21:04 $ docker top 0e8362023f65618b862c41d48c0f21947835f629ea1c870ce19ef947330195c0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:21:05 ---> job-cost.sh 19:21:05 lf-activate-venv: SKIPPING 19:21:05 INFO: No Stack... 19:21:06 INFO: Retrieving Pricing Info for: v3-standard-4 19:21:06 INFO: Archiving Costs [Pipeline] sh 19:21:07 + cat /w/workspace/device-sdk-go/123/archives/cost.csv 19:21:07 + cut -d, -f6 [Pipeline] lock 19:21:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-123-stack-cost] 19:21:07 Resource [jenkins-edgexfoundry-device-sdk-go-main-123-stack-cost] did not exist. Created. 19:21:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-123-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:21:08 /w/workspace/device-sdk-go/123@tmp/durable-8c634ca3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:21:08 + echo total: 0.10999999940395355 [Pipeline] stash 19:21:08 Warning: overwriting stash ‘stack-cost’ 19:21:08 Stashed 1 file(s) [Pipeline] } 19:21:08 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-123-stack-cost] [Pipeline] // lock [Pipeline] } 19:21:08 $ docker stop --time=1 0e8362023f65618b862c41d48c0f21947835f629ea1c870ce19ef947330195c0 19:21:10 $ docker rm -f 0e8362023f65618b862c41d48c0f21947835f629ea1c870ce19ef947330195c0 [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 19:21:10 provisioning config files... 19:21:10 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9967305009846764030tmp [Pipeline] { [Pipeline] sh 19:21:10 + set +x 19:21:10 + + curl -sbash https://codecov.io/bash -s 19:21:10 -- 19:21:10 19:21:10 _____ _ 19:21:10 / ____| | | 19:21:10 | | ___ __| | ___ ___ _____ __ 19:21:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:21:10 | |___| (_) | (_| | __/ (_| (_) \ V / 19:21:10 \_____\___/ \__,_|\___|\___\___/ \_/ 19:21:10 Bash-1.0.6 19:21:10 19:21:10 19:21:10 ==> git version 2.25.1 found 19:21:10 ==> 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 19:21:10 Release-Date: 2020-01-08 19:21:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:21:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:21:10 ==> Jenkins CI detected. 19:21:10 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 19:21:10 project root: . 19:21:10 --> token set from env 19:21:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:21:10 ==> Running gcov in . (disable via -X gcov) 19:21:10 ==> Python coveragepy not found 19:21:10 ==> Searching for coverage reports in: 19:21:10 + . 19:21:10 -> Found 1 reports 19:21:10 ==> Detecting git/mercurial file structure 19:21:10 ==> Reading reports 19:21:10 + ./coverage.out bytes=101759 19:21:10 ==> Appending adjustments 19:21:10 https://docs.codecov.io/docs/fixing-reports 19:21:11 + Found adjustments 19:21:11 ==> Gzipping contents 19:21:11 16K /tmp/codecov.3oM1X7.gz 19:21:11 ==> Uploading reports 19:21:11 url: https://codecov.io 19:21:11 query: branch=main&commit=5c206d5ec711179ff4ebe49da9da22b1560eb8ca&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:21:11 -> Pinging Codecov 19:21:11 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=5c206d5ec711179ff4ebe49da9da22b1560eb8ca&build=123&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F123%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 19:21:11 -> Uploading to 19:21:11 https://storage.googleapis.com/codecov/v4/raw/2022-10-25/7E55EF52A471D76F132DFD9A03CDDE97/5c206d5ec711179ff4ebe49da9da22b1560eb8ca/3851e71b-d649-4f83-8d0b-304059731295.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T192111Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6e78e2dde7c142c445806b40c82556c9ba0d1f8a425a02c94396e3be4e4986df 19:21:11 % Total % Received % Xferd Average Speed Time Time Time Current 19:21:11 Dload Upload Total Spent Left Speed 19:21:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14694 0 0 100 14694 0 65017 --:--:-- --:--:-- --:--:-- 65017 19:21:11 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5c206d5ec711179ff4ebe49da9da22b1560eb8ca [Pipeline] } 19:21:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 19:21:11 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 19:21:11 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:21:12 19:21:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:21:12 1.410.4: Pulling from edgex-devops/edgex-snyk-go 19:21:12 df9b9388f04a: Pulling fs layer 19:21:12 52dc419b0ee2: Pulling fs layer 19:21:12 25bc292e5bac: Pulling fs layer 19:21:12 114826534d7a: Pulling fs layer 19:21:12 4657fd5d0bcf: Pulling fs layer 19:21:12 6ad1cebc031e: Pulling fs layer 19:21:12 8a3aa393b2d8: Pulling fs layer 19:21:12 4657fd5d0bcf: Waiting 19:21:12 6ad1cebc031e: Waiting 19:21:12 114826534d7a: Waiting 19:21:12 25bc292e5bac: Download complete 19:21:12 52dc419b0ee2: Download complete 19:21:12 4657fd5d0bcf: Download complete 19:21:12 df9b9388f04a: Verifying Checksum 19:21:12 df9b9388f04a: Download complete 19:21:12 df9b9388f04a: Pull complete 19:21:12 6ad1cebc031e: Verifying Checksum 19:21:12 6ad1cebc031e: Download complete 19:21:12 52dc419b0ee2: Pull complete 19:21:13 25bc292e5bac: Pull complete 19:21:13 114826534d7a: Verifying Checksum 19:21:13 114826534d7a: Download complete 19:21:13 8a3aa393b2d8: Verifying Checksum 19:21:13 8a3aa393b2d8: Download complete 19:21:16 114826534d7a: Pull complete 19:21:16 4657fd5d0bcf: Pull complete 19:21:16 6ad1cebc031e: Pull complete 19:21:19 8a3aa393b2d8: Pull complete 19:21:19 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 19:21:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 19:21:19 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:19 prd-ubuntu20.04-docker-8c-8g-116952 does not seem to be running inside a container 19:21:19 $ 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 19:21:21 $ docker top 85973801466d989eaa3c2913e0661af9cf47cc76eea7b10a718eee1029c678a2 -eo pid,comm [Pipeline] { [Pipeline] echo 19:21:21 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 19:21:21 + set -o pipefail 19:21:21 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 19:21:27 19:21:27 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 19:21:27 19:21:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/5f1eeccb-71d2-4841-903a-0cba370932cd 19:21:27 19:21:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 19:21:27 19:21:27 19:21:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 19:21:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 19:21:27 More details here: https://snyk.co/ue1NS [Pipeline] } 19:21:27 $ docker stop --time=1 85973801466d989eaa3c2913e0661af9cf47cc76eea7b10a718eee1029c678a2 19:21:29 $ docker rm -f 85973801466d989eaa3c2913e0661af9cf47cc76eea7b10a718eee1029c678a2 [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 19:21:29 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:21:29 provisioning config files... 19:21:29 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14669738553483623141tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:21:29 --> edgex-publish-swagger.sh 19:21:29 === Publish openapi/v2 API === 19:21:29 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 19:21:29 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 19:21:29 % Total % Received % Xferd Average Speed Time Time Time Current 19:21:29 Dload Upload Total Spent Left Speed 19:21:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 74688 --:--:-- --:--:-- --:--:-- 74584 100 53552 0 0 100 53552 0 74688 --:--:-- --:--:-- --:--:-- 74584 19:21:30 19:21:30 [Pipeline] } 19:21:30 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 19:21:30 + git log --format=format:%s -1 5c206d5ec711179ff4ebe49da9da22b1560eb8ca [Pipeline] sh 19:21:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:21:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:21:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:31 prd-ubuntu20.04-docker-8c-8g-116952 does not seem to be running inside a container 19:21:32 $ 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 19:21:34 $ docker top 7fcba194ea516fd84f5963a90f7bcb5f8c33727f2c264fea400c776511b7ad2a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:21:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:21:34 [ssh-agent] Looking for ssh-agent implementation... 19:21:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:21:35 $ docker exec 7fcba194ea516fd84f5963a90f7bcb5f8c33727f2c264fea400c776511b7ad2a ssh-agent 19:21:35 SSH_AUTH_SOCK=/tmp/ssh-gZqfW3A4lC4S/agent.32 19:21:35 SSH_AGENT_PID=38 19:21:36 Running ssh-add (command line suppressed) 19:21:36 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16893668592095488735.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16893668592095488735.key) 19:21:36 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:21:37 + git semver tag 19:21:37 2022-10-25 19:21:37,508 [run_tag] DEBUG tag force:False 19:21:37 2022-10-25 19:21:37,508 [check_head_tag] DEBUG check head tag 19:21:37 2022-10-25 19:21:37,509 [execute] INFO git cat-file --batch-check 19:21:37 2022-10-25 19:21:37,509 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:21:37 2022-10-25 19:21:37,512 [execute] INFO git cat-file --batch 19:21:37 2022-10-25 19:21:37,512 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 19:21:37 2022-10-25 19:21:37,530 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:21:37 2022-10-25 19:21:37,530 [execute] INFO git tag -a v2.3.0-dev.47 -m v2.3.0-dev.47 19:21:37 2022-10-25 19:21:37,530 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.47', '-m', 'v2.3.0-dev.47'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 19:21:37 2022-10-25 19:21:37,535 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:21:37 2.3.0-dev.47 [Pipeline] } 19:21:37 $ docker exec --env ******** --env ******** 7fcba194ea516fd84f5963a90f7bcb5f8c33727f2c264fea400c776511b7ad2a ssh-agent -k 19:21:38 unset SSH_AUTH_SOCK; 19:21:38 unset SSH_AGENT_PID; 19:21:38 echo Agent pid 38 killed; 19:21:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:21:38 + git semver [Pipeline] } 19:21:39 $ docker stop --time=1 7fcba194ea516fd84f5963a90f7bcb5f8c33727f2c264fea400c776511b7ad2a 19:21:40 $ docker rm -f 7fcba194ea516fd84f5963a90f7bcb5f8c33727f2c264fea400c776511b7ad2a [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:21:41 19:21:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:21:43 0.23.1-centos7: Pulling from edgex-lftools 19:21:43 ab5ef0e58194: Pulling fs layer 19:21:43 9712f1f96733: Pulling fs layer 19:21:43 63f879dbbcfc: Pulling fs layer 19:21:43 0d9ebad4ef96: Pulling fs layer 19:21:43 e9a5061849ea: Pulling fs layer 19:21:43 d747dcd14b5f: Pulling fs layer 19:21:43 2de7ff778b66: Pulling fs layer 19:21:43 0d9ebad4ef96: Waiting 19:21:43 e9a5061849ea: Waiting 19:21:43 d747dcd14b5f: Waiting 19:21:43 2de7ff778b66: Waiting 19:21:44 9712f1f96733: Download complete 19:21:45 63f879dbbcfc: Verifying Checksum 19:21:45 63f879dbbcfc: Download complete 19:21:45 e9a5061849ea: Verifying Checksum 19:21:45 e9a5061849ea: Download complete 19:21:45 d747dcd14b5f: Download complete 19:21:45 0d9ebad4ef96: Verifying Checksum 19:21:45 0d9ebad4ef96: Download complete 19:21:45 2de7ff778b66: Verifying Checksum 19:21:45 2de7ff778b66: Download complete 19:21:45 ab5ef0e58194: Verifying Checksum 19:21:45 ab5ef0e58194: Download complete 19:21:49 ab5ef0e58194: Pull complete 19:21:49 9712f1f96733: Pull complete 19:21:49 63f879dbbcfc: Pull complete 19:21:52 0d9ebad4ef96: Pull complete 19:21:52 e9a5061849ea: Pull complete 19:21:52 d747dcd14b5f: Pull complete 19:21:53 2de7ff778b66: Pull complete 19:21:53 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 19:21:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 19:21:53 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:21:53 prd-ubuntu20.04-docker-8c-8g-116952 does not seem to be running inside a container 19:21:53 $ 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 19:21:56 $ docker top 6036be958320c5b091eb2c1a09595a273ad5d77b68610f685cd102f0abce654f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 19:21:56 provisioning config files... 19:21:56 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config18387648400581860375tmp 19:21:56 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7219955814174692047tmp 19:21:56 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12263558109237640893tmp [Pipeline] { [Pipeline] echo 19:21:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 19:21:56 ---> sigul-configuration.sh 19:21:56 gpg: directory `/root/.gnupg' created 19:21:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 19:21:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 19:21:56 gpg: keyring `/root/.gnupg/secring.gpg' created 19:21:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 19:21:56 gpg: CAST5 encrypted data 19:21:56 gpg: encrypted with 1 passphrase 19:21:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 19:21:57 + mkdir /home/jenkins 19:21:57 + mkdir /home/jenkins/sigul [Pipeline] sh 19:21:57 + 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 19:21:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 19:21:57 ---> sigul-install.sh 19:21:57 Sigul already installed; skipping installation. [Pipeline] sh 19:21:57 + git tag --list 19:21:57 0.7.1 19:21:57 delhi-tag 19:21:57 v1.0.0 19:21:57 v1.1.0 19:21:57 v1.1.1 19:21:57 v1.1.2 19:21:57 v1.2.0 19:21:57 v1.2.1 19:21:57 v1.2.2 19:21:57 v1.2.3 19:21:57 v1.3.0 19:21:57 v1.4.0 19:21:57 v2.0.0 19:21:57 v2.1.0 19:21:57 v2.1.1 19:21:57 v2.1.1-dev.2 19:21:57 v2.1.1-dev.3 19:21:57 v2.2.0 19:21:57 v2.2.1-dev.1 19:21:57 v2.2.1-dev.10 19:21:57 v2.2.1-dev.11 19:21:57 v2.2.1-dev.12 19:21:57 v2.2.1-dev.13 19:21:57 v2.2.1-dev.14 19:21:57 v2.2.1-dev.2 19:21:57 v2.2.1-dev.3 19:21:57 v2.2.1-dev.4 19:21:57 v2.2.1-dev.5 19:21:57 v2.2.1-dev.6 19:21:57 v2.2.1-dev.7 19:21:57 v2.2.1-dev.8 19:21:57 v2.2.1-dev.9 19:21:57 v2.3.0-dev.14 19:21:57 v2.3.0-dev.15 19:21:57 v2.3.0-dev.16 19:21:57 v2.3.0-dev.17 19:21:57 v2.3.0-dev.18 19:21:57 v2.3.0-dev.19 19:21:57 v2.3.0-dev.20 19:21:57 v2.3.0-dev.21 19:21:57 v2.3.0-dev.22 19:21:57 v2.3.0-dev.23 19:21:57 v2.3.0-dev.24 19:21:57 v2.3.0-dev.25 19:21:57 v2.3.0-dev.26 19:21:57 v2.3.0-dev.27 19:21:57 v2.3.0-dev.28 19:21:57 v2.3.0-dev.29 19:21:57 v2.3.0-dev.30 19:21:57 v2.3.0-dev.31 19:21:57 v2.3.0-dev.32 19:21:57 v2.3.0-dev.33 19:21:57 v2.3.0-dev.34 19:21:57 v2.3.0-dev.35 19:21:57 v2.3.0-dev.36 19:21:57 v2.3.0-dev.37 19:21:57 v2.3.0-dev.38 19:21:57 v2.3.0-dev.39 19:21:57 v2.3.0-dev.40 19:21:57 v2.3.0-dev.41 19:21:57 v2.3.0-dev.42 19:21:57 v2.3.0-dev.43 19:21:57 v2.3.0-dev.44 19:21:57 v2.3.0-dev.45 19:21:57 v2.3.0-dev.46 19:21:57 v2.3.0-dev.47 [Pipeline] sh 19:21:58 + lftools sign git-tag v2.3.0-dev.47 19:21:58 Signing Git tag with Sigul... 19:21:58 Signing v2.3.0-dev.47 [Pipeline] echo 19:21:59 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 19:21:59 ---> sigul-configuration-cleanup.sh [Pipeline] } 19:21:59 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 19:21:59 $ docker stop --time=1 6036be958320c5b091eb2c1a09595a273ad5d77b68610f685cd102f0abce654f 19:22:00 $ docker rm -f 6036be958320c5b091eb2c1a09595a273ad5d77b68610f685cd102f0abce654f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 19:22:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:22:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:22:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:22:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:22:01 prd-ubuntu20.04-docker-8c-8g-116952 does not seem to be running inside a container 19:22:01 $ 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 19:22:01 $ docker top 226034c995f4bf5a5b2a8a33b86195b0f9847a177c2923feeabb251751587784 -eo pid,comm 19:22:01 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). 19:22:01 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:22:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:22:01 [ssh-agent] Looking for ssh-agent implementation... 19:22:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:22:02 $ docker exec 226034c995f4bf5a5b2a8a33b86195b0f9847a177c2923feeabb251751587784 ssh-agent 19:22:02 SSH_AUTH_SOCK=/tmp/ssh-l1LqCGFjYBbn/agent.32 19:22:02 SSH_AGENT_PID=38 19:22:02 Running ssh-add (command line suppressed) 19:22:02 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1299597420600119904.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1299597420600119904.key) 19:22:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:22:02 + git semver bump pre 19:22:02 2022-10-25 19:22:02,739 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:22:02 2022-10-25 19:22:02,739 [bump_version] DEBUG bumping version:2.3.0-dev.47 on axis:pre with prefix:dev 19:22:02 2022-10-25 19:22:02,739 [bump_version] DEBUG bumped version:2.3.0-dev.48 19:22:02 2022-10-25 19:22:02,739 [write_version] DEBUG write version:2.3.0-dev.48 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 19:22:02 2022-10-25 19:22:02,739 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:22:02 2022-10-25 19:22:02,739 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:22:02 2022-10-25 19:22:02,741 [execute] INFO git cat-file --batch-check 19:22:02 2022-10-25 19:22:02,741 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:22:02 2022-10-25 19:22:02,746 [execute] INFO git cat-file --batch 19:22:02 2022-10-25 19:22:02,746 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:22:02 2022-10-25 19:22:02,751 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:22:02 2.3.0-dev.48 [Pipeline] } 19:22:02 $ docker exec --env ******** --env ******** 226034c995f4bf5a5b2a8a33b86195b0f9847a177c2923feeabb251751587784 ssh-agent -k 19:22:02 unset SSH_AUTH_SOCK; 19:22:02 unset SSH_AGENT_PID; 19:22:02 echo Agent pid 38 killed; 19:22:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:22:03 + git semver [Pipeline] } 19:22:03 $ docker stop --time=1 226034c995f4bf5a5b2a8a33b86195b0f9847a177c2923feeabb251751587784 19:22:04 $ docker rm -f 226034c995f4bf5a5b2a8a33b86195b0f9847a177c2923feeabb251751587784 [Pipeline] // withDockerContainer [Pipeline] sh 19:22:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:22:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:22:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:22:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:22:05 prd-ubuntu20.04-docker-8c-8g-116952 does not seem to be running inside a container 19:22:05 $ 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 19:22:05 $ docker top efd0b87ac3da46f71dec47bc6ceb5aa551108ff0726515d7732de2591d6b9cd3 -eo pid,comm 19:22:05 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). 19:22:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:22:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:22:05 [ssh-agent] Looking for ssh-agent implementation... 19:22:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:22:06 $ docker exec efd0b87ac3da46f71dec47bc6ceb5aa551108ff0726515d7732de2591d6b9cd3 ssh-agent 19:22:06 SSH_AUTH_SOCK=/tmp/ssh-sgrkkFbE4H2j/agent.32 19:22:06 SSH_AGENT_PID=38 19:22:06 Running ssh-add (command line suppressed) 19:22:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12648789129278045869.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12648789129278045869.key) 19:22:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:22:06 + git semver push 19:22:06 2022-10-25 19:22:06,734 [run_push] DEBUG push 19:22:06 2022-10-25 19:22:06,734 [execute] INFO git cat-file --batch-check 19:22:06 2022-10-25 19:22:06,735 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 19:22:06 2022-10-25 19:22:06,738 [execute] INFO git rev-list 59e1e32864f57d30ec2313766ae4a3e68907753c -- 19:22:06 2022-10-25 19:22:06,738 [execute] DEBUG Popen(['git', 'rev-list', '59e1e32864f57d30ec2313766ae4a3e68907753c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:22:06 2022-10-25 19:22:06,747 [execute] INFO git fetch -v origin 19:22:06 2022-10-25 19:22:06,747 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 19:22:07 2022-10-25 19:22:07,346 [run_push] DEBUG no remote changes detected 19:22:07 2022-10-25 19:22:07,346 [execute] INFO git push origin semver 19:22:07 2022-10-25 19:22:07,346 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 19:22:08 2022-10-25 19:22:08,236 [run_push] DEBUG push all version tags 19:22:08 2022-10-25 19:22:08,237 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 19:22:08 2022-10-25 19:22:08,237 [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) 19:22:09 2022-10-25 19:22:09,058 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 19:22:09 2.3.0-dev.48 [Pipeline] } 19:22:09 $ docker exec --env ******** --env ******** efd0b87ac3da46f71dec47bc6ceb5aa551108ff0726515d7732de2591d6b9cd3 ssh-agent -k 19:22:09 unset SSH_AUTH_SOCK; 19:22:09 unset SSH_AGENT_PID; 19:22:09 echo Agent pid 38 killed; 19:22:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:22:09 + git semver [Pipeline] } 19:22:09 $ docker stop --time=1 efd0b87ac3da46f71dec47bc6ceb5aa551108ff0726515d7732de2591d6b9cd3 19:22:11 $ docker rm -f efd0b87ac3da46f71dec47bc6ceb5aa551108ff0726515d7732de2591d6b9cd3 [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 19:22:11 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 19:22:11 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:22:11 total 16 19:22:11 drwxr-xr-x 3 root root 4096 Oct 25 18:52 . 19:22:11 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 19:21 .. 19:22:11 drwxr-xr-x 2 root root 4096 Oct 25 18:52 cost 19:22:11 -rw-r--r-- 1 root root 85 Oct 25 18:52 cost.csv 19:22:11 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:22:11 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 19:22:11 total 16 19:22:11 drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 18:52 . 19:22:11 drwxrwxr-x 12 jenkins jenkins 4096 Oct 25 19:21 .. 19:22:11 drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 18:52 cost 19:22:11 -rw-r--r-- 1 jenkins jenkins 85 Oct 25 18:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:22:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:22:13 ---> package-listing.sh 19:22:13 ++ facter osfamily 19:22:13 ++ tr '[:upper:]' '[:lower:]' 19:22:13 + OS_FAMILY=debian 19:22:13 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 19:22:13 + START_PACKAGES=/tmp/packages_start.txt 19:22:13 + END_PACKAGES=/tmp/packages_end.txt 19:22:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:22:13 + PACKAGES=/tmp/packages_start.txt 19:22:13 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:22:13 + PACKAGES=/tmp/packages_end.txt 19:22:13 + case "${OS_FAMILY}" in 19:22:13 + dpkg -l 19:22:13 + grep '^ii' 19:22:13 + '[' -f /tmp/packages_start.txt ']' 19:22:13 + '[' -f /tmp/packages_end.txt ']' 19:22:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:22:13 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 19:22:13 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 19:22:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 19:22:13 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 19:22:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:22:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:22:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:22:14 prd-ubuntu20.04-docker-8c-8g-116952 does not seem to be running inside a container 19:22:14 $ 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 19:22:14 $ docker top 63016bedf994a0f3a01fe896e9b4793c4cef8e4cfb02efaaf6491cbf724aabdc -eo pid,comm [Pipeline] { [Pipeline] sh 19:22:14 + touch /tmp/pre-build-complete [Pipeline] sh 19:22:15 + mkdir -p /var/log/sysstat [Pipeline] sh 19:22:15 + ls /var/log/sa-host 19:22:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:22:15 provisioning config files... 19:22:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11279969413579143379tmp [Pipeline] { [Pipeline] echo 19:22:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:22:15 ---> create-netrc.sh [Pipeline] } 19:22:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:22:16 ---> python-tools-install.sh [Pipeline] echo 19:22:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:22:16 ---> sudo-logs.sh 19:22:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:22:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:22:16 ---> job-cost.sh 19:22:16 lf-activate-venv: SKIPPING 19:22:16 DEBUG: total: 0.2199999988079071 19:22:16 INFO: Retrieving Stack Cost... 19:22:17 INFO: Retrieving Pricing Info for: v3-standard-8 19:22:17 INFO: Archiving Costs [Pipeline] echo 19:22:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:22:17 ---> logs-deploy.sh 19:22:17 lf-activate-venv: SKIPPING 19:22:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/123 19:22:17 INFO: archiving workspace using pattern(s): 19:22:18 Archives upload complete. 19:22:18 INFO: archiving logs to Nexus