Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 21e2314d0be0883f9fe388992978a72096c1cede 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-ssh11306861478297723375.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-ssh9941461726188727438.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-ssh11089827129384839407.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-ssh11503984050541862302.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-ssh11797878495094447438.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 Running on prd-ubuntu20.04-docker-8c-8g-117074 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 21e2314d0be0883f9fe388992978a72096c1cede (main) Commit message: "Merge pull request #1250 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.3.0-dev.19" > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 > git rev-list --no-walk 5c206d5ec711179ff4ebe49da9da22b1560eb8ca # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:56:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:56:25 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:56:25 ========================================================= 05:56:25 EdgeX Global Pipelines Version Info 05:56:25 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:56:26 ------------------- 05:56:26 stable info: 05:56:26 ------------------- 05:56:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:56:26 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:56:26 Message: update stable to v1.0.243 05:56:26 ------------------- 05:56:26 experimental info: 05:56:26 ------------------- 05:56:26 Commited By: **** collab-it+edgex@linuxfoundation.org 05:56:26 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 05:56:26 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 21e2314d0be0883f9fe388992978a72096c1cede [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 21e2314 [Pipeline] echo 05:56:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:56:27 provisioning config files... 05:56:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13509563022716814111tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:27 ---> docker-login.sh 05:56:27 nexus3.edgexfoundry.org:10001 05:56:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:29 Configure a credential helper to remove this warning. See 05:56:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:29 05:56:29 Login Succeeded 05:56:29 nexus3.edgexfoundry.org:10002 05:56:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:29 Configure a credential helper to remove this warning. See 05:56:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:29 05:56:29 Login Succeeded 05:56:29 nexus3.edgexfoundry.org:10003 05:56:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:29 Configure a credential helper to remove this warning. See 05:56:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:29 05:56:29 Login Succeeded 05:56:29 nexus3.edgexfoundry.org:10004 05:56:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:29 Configure a credential helper to remove this warning. See 05:56:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:29 05:56:29 Login Succeeded 05:56:29 docker.io 05:56:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:29 Configure a credential helper to remove this warning. See 05:56:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:29 05:56:29 Login Succeeded 05:56:29 ---> docker-login.sh ends [Pipeline] } 05:56:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:56:30 + git rev-list -1 --merges 21e2314d0be0883f9fe388992978a72096c1cede~1..21e2314d0be0883f9fe388992978a72096c1cede [Pipeline] echo 05:56:30 -----------> git rev-list -1 --merges 21e2314d0be0883f9fe388992978a72096c1cede~1..21e2314d0be0883f9fe388992978a72096c1cede 21e2314d0be0883f9fe388992978a72096c1cede 05:56:30 21e2314d0be0883f9fe388992978a72096c1cede [false] [Pipeline] sh 05:56:30 + git log --format=format:%s -1 21e2314d0be0883f9fe388992978a72096c1cede [Pipeline] echo 05:56:30 ========================================================= 05:56:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:56:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:56:30 + git log --format=format:%s -1 21e2314d0be0883f9fe388992978a72096c1cede [Pipeline] echo 05:56:30 [semverPrep] GIT_COMMIT: 21e2314d0be0883f9fe388992978a72096c1cede, Commit Message: Merge pull request #1250 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.3.0-dev.19 [Pipeline] echo 05:56:30 [semverPrep] This is not a build commit. [Pipeline] sh 05:56:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:56:31 + grep -v github /etc/ssh/ssh_known_hosts 05:56:31 + [ -e /tmp/ssh_known_hosts ] 05:56:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:56:31 + + sudo tee -aecho /etc/ssh/ssh_known_hosts github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:56:31 05:56:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:31 05:56:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:32 0.1.4: Pulling from edgex-devops/py-git-semver 05:56:32 b85a868b505f: Pulling fs layer 05:56:32 e2be974225ed: Pulling fs layer 05:56:32 339a4e72a1f5: Pulling fs layer 05:56:32 988bab9f4d93: Pulling fs layer 05:56:32 1469e6f7b9e6: Pulling fs layer 05:56:32 eaf3925da568: Pulling fs layer 05:56:32 bab4dde63d76: Pulling fs layer 05:56:32 bde34c3a00c8: Pulling fs layer 05:56:32 b352a97aabf1: Pulling fs layer 05:56:32 4872d77fe225: Pulling fs layer 05:56:32 5851b861e8e6: Pulling fs layer 05:56:32 b352a97aabf1: Waiting 05:56:32 4872d77fe225: Waiting 05:56:32 bde34c3a00c8: Waiting 05:56:32 1469e6f7b9e6: Waiting 05:56:32 bab4dde63d76: Waiting 05:56:32 988bab9f4d93: Waiting 05:56:32 5851b861e8e6: Waiting 05:56:32 e2be974225ed: Verifying Checksum 05:56:32 e2be974225ed: Download complete 05:56:32 988bab9f4d93: Verifying Checksum 05:56:32 988bab9f4d93: Download complete 05:56:32 1469e6f7b9e6: Verifying Checksum 05:56:32 1469e6f7b9e6: Download complete 05:56:32 eaf3925da568: Verifying Checksum 05:56:32 eaf3925da568: Download complete 05:56:32 339a4e72a1f5: Verifying Checksum 05:56:32 339a4e72a1f5: Download complete 05:56:32 bde34c3a00c8: Verifying Checksum 05:56:32 bde34c3a00c8: Download complete 05:56:32 b352a97aabf1: Verifying Checksum 05:56:32 b352a97aabf1: Download complete 05:56:32 5851b861e8e6: Download complete 05:56:32 b85a868b505f: Verifying Checksum 05:56:32 b85a868b505f: Download complete 05:56:33 bab4dde63d76: Verifying Checksum 05:56:33 bab4dde63d76: Download complete 05:56:34 b85a868b505f: Pull complete 05:56:34 e2be974225ed: Pull complete 05:56:35 339a4e72a1f5: Pull complete 05:56:35 988bab9f4d93: Pull complete 05:56:36 1469e6f7b9e6: Pull complete 05:56:37 eaf3925da568: Pull complete 05:56:39 bab4dde63d76: Pull complete 05:56:39 bde34c3a00c8: Pull complete 05:56:39 b352a97aabf1: Pull complete 05:56:40 4872d77fe225: Pull complete 05:56:40 5851b861e8e6: Pull complete 05:56:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 05:56:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:56:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:56:40 prd-ubuntu20.04-docker-8c-8g-117074 does not seem to be running inside a container 05:56:40 $ 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 05:56:43 $ docker top 79da396a83e660ff17efbefa06b6bae1ecf1ecf2b0098fa9f70e6f84aa6065ca -eo pid,comm 05:56:43 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:56:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:56:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:56:43 [ssh-agent] Looking for ssh-agent implementation... 05:56:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:56:43 $ docker exec 79da396a83e660ff17efbefa06b6bae1ecf1ecf2b0098fa9f70e6f84aa6065ca ssh-agent 05:56:43 SSH_AUTH_SOCK=/tmp/ssh-wzaoCq3qOC2T/agent.32 05:56:43 SSH_AGENT_PID=38 05:56:44 Running ssh-add (command line suppressed) 05:56:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11578939086075815377.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11578939086075815377.key) 05:56:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:56:44 + git tag --points-at HEAD [Pipeline] } 05:56:44 $ docker exec --env ******** --env ******** 79da396a83e660ff17efbefa06b6bae1ecf1ecf2b0098fa9f70e6f84aa6065ca ssh-agent -k 05:56:44 unset SSH_AUTH_SOCK; 05:56:44 unset SSH_AGENT_PID; 05:56:44 echo Agent pid 38 killed; 05:56:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:56:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:56:44 [ssh-agent] Looking for ssh-agent implementation... 05:56:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:56:44 $ docker exec 79da396a83e660ff17efbefa06b6bae1ecf1ecf2b0098fa9f70e6f84aa6065ca ssh-agent 05:56:44 SSH_AUTH_SOCK=/tmp/ssh-yRpdivJNTMwO/agent.70 05:56:44 SSH_AGENT_PID=76 05:56:44 Running ssh-add (command line suppressed) 05:56:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9041500973345183496.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9041500973345183496.key) 05:56:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:56:45 + git semver init 05:56:45 2022-10-26 05:56:45,335 [run_init] DEBUG init version:0.0.0 force:False 05:56:45 2022-10-26 05:56:45,336 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:56:45 2022-10-26 05:56:45,337 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 05:56:45 2022-10-26 05:56:45,337 [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) 05:56:46 2022-10-26 05:56:46,334 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 05:56:46 2022-10-26 05:56:46,335 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 05:56:46 2022-10-26 05:56:46,335 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:56:46 2022-10-26 05:56:46,335 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:56:46 2.3.0-dev.48 [Pipeline] } 05:56:46 $ docker exec --env ******** --env ******** 79da396a83e660ff17efbefa06b6bae1ecf1ecf2b0098fa9f70e6f84aa6065ca ssh-agent -k 05:56:46 unset SSH_AUTH_SOCK; 05:56:46 unset SSH_AGENT_PID; 05:56:46 echo Agent pid 76 killed; 05:56:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:56:46 + git semver [Pipeline] } 05:56:47 $ docker stop --time=1 79da396a83e660ff17efbefa06b6bae1ecf1ecf2b0098fa9f70e6f84aa6065ca 05:56:48 $ docker rm -f 79da396a83e660ff17efbefa06b6bae1ecf1ecf2b0098fa9f70e6f84aa6065ca [Pipeline] // withDockerContainer [Pipeline] sh 05:56:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:56:48 Stashed 1 file(s) [Pipeline] echo 05:56:48 [edgeXSemver]: initialized semver on version 2.3.0-dev.48 [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 05:56:48 provisioning config files... 05:56:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15835278592266830386tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:56:49 ---> docker-login.sh 05:56:49 nexus3.edgexfoundry.org:10001 05:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:49 Configure a credential helper to remove this warning. See 05:56:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:49 05:56:49 Login Succeeded 05:56:49 nexus3.edgexfoundry.org:10002 05:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:49 Configure a credential helper to remove this warning. See 05:56:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:49 05:56:49 Login Succeeded 05:56:49 nexus3.edgexfoundry.org:10003 05:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:49 Configure a credential helper to remove this warning. See 05:56:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:49 05:56:49 Login Succeeded 05:56:49 nexus3.edgexfoundry.org:10004 05:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:49 Configure a credential helper to remove this warning. See 05:56:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:49 05:56:49 Login Succeeded 05:56:49 docker.io 05:56:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:56:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:56:50 Configure a credential helper to remove this warning. See 05:56:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:56:50 05:56:50 Login Succeeded 05:56:50 ---> docker-login.sh ends [Pipeline] } 05:56:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:56:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:56:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:56:50 ========================================================= 05:56:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 05:56:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:56:50 + 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 . 05:56:50 Sending build context to Docker daemon 10.07MB 05:56:50 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:56:50 Step 2/10 : FROM ${BASE} AS builder 05:56:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 05:56:50 213ec9aee27d: Pulling fs layer 05:56:50 4583459ba037: Pulling fs layer 05:56:50 93c1e223e6f2: Pulling fs layer 05:56:50 53926ce57604: Pulling fs layer 05:56:50 21b2b0c7a3f4: Pulling fs layer 05:56:50 30f14e443154: Pulling fs layer 05:56:50 801331c1e519: Pulling fs layer 05:56:50 99cc6dd402b0: Pulling fs layer 05:56:50 7d9ed39f4882: Pulling fs layer 05:56:50 53926ce57604: Waiting 05:56:50 21b2b0c7a3f4: Waiting 05:56:50 30f14e443154: Waiting 05:56:50 801331c1e519: Waiting 05:56:50 99cc6dd402b0: Waiting 05:56:50 7d9ed39f4882: Waiting 05:56:50 93c1e223e6f2: Verifying Checksum 05:56:50 93c1e223e6f2: Download complete 05:56:50 4583459ba037: Download complete 05:56:50 21b2b0c7a3f4: Verifying Checksum 05:56:50 21b2b0c7a3f4: Download complete 05:56:50 30f14e443154: Verifying Checksum 05:56:50 30f14e443154: Download complete 05:56:50 213ec9aee27d: Verifying Checksum 05:56:50 213ec9aee27d: Download complete 05:56:50 801331c1e519: Verifying Checksum 05:56:50 801331c1e519: Download complete 05:56:50 213ec9aee27d: Pull complete 05:56:51 4583459ba037: Pull complete 05:56:51 7d9ed39f4882: Verifying Checksum 05:56:51 7d9ed39f4882: Download complete 05:56:51 93c1e223e6f2: Pull complete 05:56:51 99cc6dd402b0: Verifying Checksum 05:56:51 99cc6dd402b0: Download complete 05:56:51 53926ce57604: Verifying Checksum 05:56:51 53926ce57604: Download complete 05:56:55 53926ce57604: Pull complete 05:56:55 21b2b0c7a3f4: Pull complete 05:56:55 30f14e443154: Pull complete 05:56:55 801331c1e519: Pull complete 05:56:57 99cc6dd402b0: Pull complete 05:56:58 7d9ed39f4882: Pull complete 05:56:58 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 05:56:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 05:56:58 ---> 1dedd983c030 05:56:58 Step 3/10 : ARG MAKE=make build 05:57:02 ---> Running in ee5a5f71987a 05:57:02 Removing intermediate container ee5a5f71987a 05:57:02 ---> c706ccc1995a 05:57:02 Step 4/10 : WORKDIR /device-sdk-go 05:57:02 ---> Running in d2aa9d505a4f 05:57:02 Removing intermediate container d2aa9d505a4f 05:57:02 ---> f735cb4cbef2 05:57:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:57:02 ---> Running in 2c77d611022f 05:57:02 Removing intermediate container 2c77d611022f 05:57:02 ---> 13f25a246c67 05:57:02 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:57:02 ---> Running in 7c77c9f11368 05:57:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:57:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:57:03 OK: 211 MiB in 51 packages 05:57:03 Removing intermediate container 7c77c9f11368 05:57:03 ---> 33a5d4e378c8 05:57:03 Step 7/10 : COPY go.mod vendor* ./ 05:57:03 ---> 5a2d8897f3d4 05:57:03 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:57:03 ---> Running in 231cecff7544 05:57:03 Still waiting to schedule task 05:57:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:57:30 Removing intermediate container 231cecff7544 05:57:30 ---> 76ccbcb37335 05:57:30 Step 9/10 : COPY . . 05:57:30 ---> 750ef92f2397 05:57:30 Step 10/10 : RUN ${MAKE} 05:57:30 ---> Running in 40d6deda5a0d 05:57:30 noop 05:57:30 Removing intermediate container 40d6deda5a0d 05:57:30 ---> 4a2638a1d527 05:57:30 Successfully built 4a2638a1d527 05:57:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:30 + docker inspect -f . ci-base-image-x86_64 05:57:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:30 prd-ubuntu20.04-docker-8c-8g-117074 does not seem to be running inside a container 05:57:30 $ 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 05:57:31 $ docker top aa7e260492ba83aab0e3af3f880efc24c715efaed87c4d52ced89f80990e0fa4 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:31 + go version 05:57:31 go version go1.18.7 linux/amd64 [Pipeline] } 05:57:31 $ docker stop --time=1 aa7e260492ba83aab0e3af3f880efc24c715efaed87c4d52ced89f80990e0fa4 05:57:32 $ docker rm -f aa7e260492ba83aab0e3af3f880efc24c715efaed87c4d52ced89f80990e0fa4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:57:33 + docker inspect -f . ci-base-image-x86_64 05:57:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:57:33 prd-ubuntu20.04-docker-8c-8g-117074 does not seem to be running inside a container 05:57:33 $ 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 05:57:33 $ docker top 764a8749883c4ad89924093c80e52d950ea65d14c76456148c9d54703c3f5cc1 -eo pid,comm [Pipeline] { [Pipeline] sh 05:57:33 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 05:57:34 + make test 05:57:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:57:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:57:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:57:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:57:52 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:57:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 05:57:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:57:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements 05:57:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements 05:57:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 05:57:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.097s coverage: 73.1% of statements 05:57:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:57:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:57:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements 05:57:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:57:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 05:57:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:57:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:57:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.099s coverage: 65.1% of statements 05:57:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 05:57:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 05:57:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.736s coverage: 89.2% of statements 05:57:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:57:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.096s coverage: 4.7% of statements 05:57:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:58:08 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." 05:58:08 GO111MODULE=on go vet ./... 05:58:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:58:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:58:11 ./bin/test-attribution-txt.sh 05:58:11 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 05:58:11 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 05:58:11 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 05:58:11 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 05:58:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:58:11 $ docker stop --time=1 764a8749883c4ad89924093c80e52d950ea65d14c76456148c9d54703c3f5cc1 05:58:14 $ docker rm -f 764a8749883c4ad89924093c80e52d950ea65d14c76456148c9d54703c3f5cc1 [Pipeline] // withDockerContainer [Pipeline] sh 05:58:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:58:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:58:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:58:16 + ls -al . 05:58:16 total 280 05:58:16 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 05:57 . 05:58:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 05:56 .. 05:58:16 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 05:56 .dockerignore 05:58:16 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 05:57 .git 05:58:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 05:56 .github 05:58:16 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 05:56 .gitignore 05:58:16 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 05:56 .golangci.yml 05:58:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 05:56 .semver 05:58:16 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 05:56 CHANGELOG.md 05:58:16 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 05:56 GOVERNANCE.md 05:58:16 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 05:56 Jenkinsfile 05:58:16 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 05:56 LICENSE 05:58:16 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 05:56 Makefile 05:58:16 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 05:56 OWNERS.md 05:58:16 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 05:56 README.md 05:58:16 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 05:56 VERSION 05:58:16 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 05:56 bin 05:58:16 -rw-r--r-- 1 jenkins jenkins 101760 Oct 26 05:57 coverage.out 05:58:16 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 05:56 example 05:58:16 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 05:56 go.mod 05:58:16 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 05:56 go.sum 05:58:16 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 05:56 internal 05:58:16 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 05:56 openapi 05:58:16 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 05:56 pkg 05:58:16 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 05:56 snap 05:58:16 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 05:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:16 + 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=21e2314d0be0883f9fe388992978a72096c1cede --label arch=amd64 --label version=2.3.0-dev.48 . 05:58:16 Sending build context to Docker daemon 10.17MB 05:58:16 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 05:58:16 Step 2/23 : FROM ${BASE} AS builder 05:58:16 ---> 4a2638a1d527 05:58:16 Step 3/23 : ARG MAKE=make build 05:58:17 ---> Running in d21a7b923640 05:58:17 Removing intermediate container d21a7b923640 05:58:17 ---> 5b3b649ba796 05:58:17 Step 4/23 : WORKDIR /device-sdk-go 05:58:17 ---> Running in 8ee1cfdea6c2 05:58:17 Removing intermediate container 8ee1cfdea6c2 05:58:17 ---> ae9ae2bc8e0c 05:58:17 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:58:17 ---> Running in 081f1f83a739 05:58:17 Removing intermediate container 081f1f83a739 05:58:17 ---> 530bd97a3617 05:58:17 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:58:17 ---> Running in ce2e2db3e7fe 05:58:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:58:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:58:17 OK: 211 MiB in 51 packages 05:58:18 Removing intermediate container ce2e2db3e7fe 05:58:18 ---> cb55151b9967 05:58:18 Step 7/23 : COPY go.mod vendor* ./ 05:58:18 ---> 56923901fee6 05:58:18 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:58:18 ---> Running in d924c5c0be75 05:58:18 Removing intermediate container d924c5c0be75 05:58:18 ---> 3537c423aacc 05:58:18 Step 9/23 : COPY . . 05:58:19 ---> 6607551868a8 05:58:19 Step 10/23 : RUN ${MAKE} 05:58:19 ---> Running in c0dad91515f6 05:58:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.48" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:58:34 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:58:38 Removing intermediate container c0dad91515f6 05:58:38 ---> 962e04f13bad 05:58:38 Step 11/23 : FROM alpine:3.16 05:58:39 3.16: Pulling from library/alpine 05:58:39 213ec9aee27d: Already exists 05:58:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117075 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 05:58:39 Running in /w/workspace/device-sdk-go/124 [Pipeline] { [Pipeline] checkout 05:58:39 The recommended git tool is: git 05:58:39 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:58:39 Status: Downloaded newer image for alpine:3.16 05:58:39 ---> 9c6f07244728 05:58:39 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:58:39 ---> Running in 28ed6c8fe4b7 05:58:39 Removing intermediate container 28ed6c8fe4b7 05:58:39 ---> 68a383bbe697 05:58:39 Step 13/23 : RUN apk add --update --no-cache zeromq 05:58:39 ---> Running in 538071e8edc9 05:58:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 05:58:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 05:58:40 (1/5) Installing libgcc (11.2.1_git20220219-r2) 05:58:40 (2/5) Installing libsodium (1.0.18-r0) 05:58:40 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 05:58:40 (4/5) Installing libzmq (4.3.4-r0) 05:58:40 (5/5) Installing zeromq (4.3.4-r0) 05:58:40 Executing busybox-1.35.0-r17.trigger 05:58:40 OK: 8 MiB in 19 packages 05:58:40 Removing intermediate container 538071e8edc9 05:58:40 ---> a25df93e1929 05:58:40 Step 14/23 : WORKDIR / 05:58:40 ---> Running in ae578a5c3b7b 05:58:40 Removing intermediate container ae578a5c3b7b 05:58:40 ---> 81d11a9fbd9e 05:58:40 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:58:40 ---> ec3b884969d1 05:58:40 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:58:41 ---> 1005a6ba7870 05:58:41 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:58:41 ---> b6ee70c10d87 05:58:41 Step 18/23 : EXPOSE 59999 05:58:41 ---> Running in 3fb3b48e49b0 05:58:41 Removing intermediate container 3fb3b48e49b0 05:58:41 ---> 96a38347d88f 05:58:41 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:58:41 ---> Running in 8b55548b4a2e 05:58:41 Removing intermediate container 8b55548b4a2e 05:58:41 ---> 89fab373d6ad 05:58:41 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:58:42 ---> Running in 1392b0764374 05:58:42 Removing intermediate container 1392b0764374 05:58:42 ---> 3dee4d1077f2 05:58:42 Step 21/23 : LABEL arch=amd64 05:58:42 ---> Running in de9f2b3fb8c0 05:58:42 Removing intermediate container de9f2b3fb8c0 05:58:42 ---> c4965ceab387 05:58:42 Step 22/23 : LABEL git_sha=21e2314d0be0883f9fe388992978a72096c1cede 05:58:42 ---> Running in cc323d7aa903 05:58:42 Removing intermediate container cc323d7aa903 05:58:42 ---> 93d523c5ee78 05:58:42 Step 23/23 : LABEL version=2.3.0-dev.48 05:58:42 ---> Running in 93ca3db76233 05:58:42 Removing intermediate container 93ca3db76233 05:58:42 ---> f8d12d2d3faf 05:58:42 [Warning] One or more build-args [ARCH] were not consumed 05:58:42 Successfully built f8d12d2d3faf 05:58:42 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 05:58:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:42 05:58:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:58:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:43 latest: Pulling from edgex-lftools-log-publisher 05:58:43 5eb5b503b376: Pulling fs layer 05:58:43 5c69ac0246d0: Pulling fs layer 05:58:43 ec43610c2a17: Pulling fs layer 05:58:43 3a2ae6a8a46f: Pulling fs layer 05:58:43 33b1e0a273af: Pulling fs layer 05:58:43 5d3b04190fa2: Pulling fs layer 05:58:43 2f39f015ded8: Pulling fs layer 05:58:43 3a2ae6a8a46f: Waiting 05:58:43 33b1e0a273af: Waiting 05:58:43 5d3b04190fa2: Waiting 05:58:43 2f39f015ded8: Waiting 05:58:43 5c69ac0246d0: Verifying Checksum 05:58:43 5c69ac0246d0: Download complete 05:58:43 3a2ae6a8a46f: Verifying Checksum 05:58:43 33b1e0a273af: Download complete 05:58:43 ec43610c2a17: Download complete 05:58:43 5d3b04190fa2: Verifying Checksum 05:58:43 5d3b04190fa2: Download complete 05:58:43 5eb5b503b376: Verifying Checksum 05:58:43 5eb5b503b376: Download complete 05:58:43 2f39f015ded8: Download complete 05:58:44 5eb5b503b376: Pull complete 05:58:44 5c69ac0246d0: Pull complete 05:58:45 ec43610c2a17: Pull complete 05:58:45 3a2ae6a8a46f: Pull complete 05:58:45 using credential edgex-jenkins-ssh 05:58:45 Cloning the remote Git repository 05:58:45 33b1e0a273af: Pull complete 05:58:45 5d3b04190fa2: Pull complete 05:58:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:58:45 > git init /w/workspace/device-sdk-go/124 # timeout=10 05:58:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:58:45 > git --version # timeout=10 05:58:45 > git --version # 'git version 2.25.1' 05:58:45 using GIT_SSH to set credentials SSH Credentials for GitHub 05:58:45 Verifying host key using known hosts file 05:58:45 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. 05:58:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:47 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:58:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:58:48 Avoid second fetch 05:58:48 Checking out Revision 21e2314d0be0883f9fe388992978a72096c1cede (main) 05:58:48 Commit message: "Merge pull request #1250 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-core-contracts/v2-2.3.0-dev.19" 05:58:49 05:58:49 GitHub has been notified of this commit’s build result 05:58:49 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:58:49 2f39f015ded8: Pull complete 05:58:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:58:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:58:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:58:49 prd-ubuntu20.04-docker-8c-8g-117074 does not seem to be running inside a container 05:58: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 05:58:48 > git config core.sparsecheckout # timeout=10 05:58:48 > git checkout -f 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 05:58:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:58:49 % Total % Received % Xferd Average Speed Time Time Time Current 05:58:49 Dload Upload Total Spent Left Speed 05:58:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k 05:58:52 $ docker top 074efcec47313a5a9be444a7e0836c46e99ea3fbd028351160c90c16571db114 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 05:58:53 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:58:53 ---> job-cost.sh 05:58:53 lf-activate-venv: SKIPPING 05:58:53 INFO: No Stack... 05:58:53 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.jsonsudo tee /etc/docker/daemon.new 05:58:53 05:58:53 { 05:58:53 "registry-mirrors": [ 05:58:53 "https://nexus3.edgexfoundry.org:10001" 05:58:53 ], 05:58:53 "bip": "10.250.0.254/24", 05:58:53 "hosts": [ 05:58:53 "tcp://0.0.0.0:5555", 05:58:53 "unix:///var/run/docker.sock" 05:58:53 ], 05:58:53 "mtu": 1458, 05:58:53 "selinux-enabled": true, 05:58:53 "seccomp-profile": "/etc/docker/seccomp.json" 05:58:53 } [Pipeline] sh 05:58:53 INFO: Retrieving Pricing Info for: v3-standard-8 05:58:53 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:58:54 INFO: Archiving Costs [Pipeline] sh 05:58:54 + sudo service docker restart 05:58:54 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 05:58:54 + cut -d, -f6 [Pipeline] lock 05:58:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-124-stack-cost] 05:58:54 Resource [jenkins-edgexfoundry-device-sdk-go-main-124-stack-cost] did not exist. Created. 05:58:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:58:54 + echo total: 0.2199999988079071 [Pipeline] stash 05:58:54 Stashed 1 file(s) [Pipeline] } 05:58:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 05:58:54 $ docker stop --time=1 074efcec47313a5a9be444a7e0836c46e99ea3fbd028351160c90c16571db114 05:58:55 $ docker rm -f 074efcec47313a5a9be444a7e0836c46e99ea3fbd028351160c90c16571db114 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:59:12 provisioning config files... 05:59:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/124@tmp/config11456809136518942957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:59:12 ---> docker-login.sh 05:59:12 nexus3.edgexfoundry.org:10001 05:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:13 Configure a credential helper to remove this warning. See 05:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:13 05:59:13 Login Succeeded 05:59:13 nexus3.edgexfoundry.org:10002 05:59:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:13 Configure a credential helper to remove this warning. See 05:59:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:13 05:59:13 Login Succeeded 05:59:13 nexus3.edgexfoundry.org:10003 05:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:14 Configure a credential helper to remove this warning. See 05:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:14 05:59:14 Login Succeeded 05:59:14 nexus3.edgexfoundry.org:10004 05:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:14 Configure a credential helper to remove this warning. See 05:59:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:14 05:59:14 Login Succeeded 05:59:14 docker.io 05:59:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:59:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:59:15 Configure a credential helper to remove this warning. See 05:59:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:59:15 05:59:15 Login Succeeded 05:59:15 ---> docker-login.sh ends [Pipeline] } 05:59:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:59:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:59:15 ========================================================= 05:59:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 05:59:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:59:15 + 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 . 05:59:16 Sending build context to Docker daemon 5.416MB 05:59:16 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 05:59:16 Step 2/10 : FROM ${BASE} AS builder 05:59:16 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:59:16 9b18e9b68314: Pulling fs layer 05:59:16 d32db5db7311: Pulling fs layer 05:59:16 d0c4b47475fc: Pulling fs layer 05:59:16 5831b945b038: Pulling fs layer 05:59:16 86bbec2aaacd: Pulling fs layer 05:59:16 e10730c5d714: Pulling fs layer 05:59:16 5dd5c2283517: Pulling fs layer 05:59:16 d5ac0230b979: Pulling fs layer 05:59:16 86bbec2aaacd: Waiting 05:59:16 e10730c5d714: Waiting 05:59:16 5dd5c2283517: Waiting 05:59:16 d5ac0230b979: Waiting 05:59:16 5831b945b038: Waiting 05:59:16 d0c4b47475fc: Verifying Checksum 05:59:16 d0c4b47475fc: Download complete 05:59:16 d32db5db7311: Verifying Checksum 05:59:16 d32db5db7311: Download complete 05:59:16 86bbec2aaacd: Download complete 05:59:16 e10730c5d714: Download complete 05:59:16 9b18e9b68314: Download complete 05:59:17 9b18e9b68314: Pull complete 05:59:17 d5ac0230b979: Verifying Checksum 05:59:17 d5ac0230b979: Download complete 05:59:17 d32db5db7311: Pull complete 05:59:18 d0c4b47475fc: Pull complete 05:59:19 5dd5c2283517: Verifying Checksum 05:59:19 5dd5c2283517: Download complete 05:59:19 5831b945b038: Verifying Checksum 05:59:19 5831b945b038: Download complete 05:59:32 5831b945b038: Pull complete 05:59:32 86bbec2aaacd: Pull complete 05:59:32 e10730c5d714: Pull complete 05:59:39 5dd5c2283517: Pull complete 05:59:40 d5ac0230b979: Pull complete 05:59:40 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 05:59:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 05:59:40 ---> 59b3b1a385d4 05:59:40 Step 3/10 : ARG MAKE=make build 05:59:42 ---> Running in 5eb62a5e88ac 05:59:42 Removing intermediate container 5eb62a5e88ac 05:59:42 ---> 9f1760235fc2 05:59:42 Step 4/10 : WORKDIR /device-sdk-go 05:59:42 ---> Running in f466970f3be0 05:59:43 Removing intermediate container f466970f3be0 05:59:43 ---> 7c897ed06f36 05:59:43 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:59:43 ---> Running in 72483f1348d1 05:59:43 Removing intermediate container 72483f1348d1 05:59:43 ---> fb169b820686 05:59:43 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:59:43 ---> Running in 5de4e902187d 05:59:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:59:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:59:46 OK: 221 MiB in 51 packages 05:59:47 Removing intermediate container 5de4e902187d 05:59:47 ---> 7fb6575beeb2 05:59:47 Step 7/10 : COPY go.mod vendor* ./ 05:59:47 ---> e05dff9a25ba 05:59:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:59:48 ---> Running in 2fff150e7de8 06:00:44 Removing intermediate container 2fff150e7de8 06:00:44 ---> ed1608b32da1 06:00:44 Step 9/10 : COPY . . 06:00:44 ---> a6d02f88e76e 06:00:44 Step 10/10 : RUN ${MAKE} 06:00:44 ---> Running in a934256394f9 06:00:44 noop 06:00:44 Removing intermediate container a934256394f9 06:00:44 ---> 26ae3119a06a 06:00:44 Successfully built 26ae3119a06a 06:00:44 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:44 + docker inspect -f . ci-base-image-arm64 06:00:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:45 prd-ubuntu20.04-docker-arm64-4c-16g-117075 does not seem to be running inside a container 06:00:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/124 -v /w/workspace/device-sdk-go/124:/w/workspace/device-sdk-go/124:rw,z -v /w/workspace/device-sdk-go/124@tmp:/w/workspace/device-sdk-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:00:46 $ docker top ee18b1170e2497958ce3f1a483c429a425343f3347e7df7b1253f21f0fc9f82d -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:47 + go version 06:00:47 go version go1.18.7 linux/arm64 [Pipeline] } 06:00:47 $ docker stop --time=1 ee18b1170e2497958ce3f1a483c429a425343f3347e7df7b1253f21f0fc9f82d 06:00:48 $ docker rm -f ee18b1170e2497958ce3f1a483c429a425343f3347e7df7b1253f21f0fc9f82d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:00:49 + docker inspect -f . ci-base-image-arm64 06:00:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:00:49 prd-ubuntu20.04-docker-arm64-4c-16g-117075 does not seem to be running inside a container 06:00:49 $ 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/124 -v /w/workspace/device-sdk-go/124:/w/workspace/device-sdk-go/124:rw,z -v /w/workspace/device-sdk-go/124@tmp:/w/workspace/device-sdk-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:00:50 $ docker top 57a71c8edb1cb5049457b6959da4a80e39b761f33f1af37a35b8000283296803 -eo pid,comm [Pipeline] { [Pipeline] sh 06:00:51 + git config --global --add safe.directory /w/workspace/device-sdk-go/124 [Pipeline] fileExists [Pipeline] sh 06:00:51 + make test 06:00:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:01:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:03:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:03:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:03:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:03:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:03:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:03:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.486s coverage: 27.6% of statements 06:03:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.528s coverage: 78.9% of statements 06:03:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:03:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.796s coverage: 73.1% of statements 06:03:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:03:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:03:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.821s coverage: 54.4% of statements 06:03:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:03:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:03:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:03:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:03:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.453s coverage: 65.1% of statements 06:03:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:03:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:03:49 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.423s coverage: 89.2% of statements 06:03:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:03:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.328s coverage: 4.7% of statements 06:03:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:03:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:03:52 GO111MODULE=on go vet ./... 06:05:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:44 ./bin/test-attribution-txt.sh 06:05:44 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:05:44 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:05:44 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:05:44 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:05:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:05:44 $ docker stop --time=1 57a71c8edb1cb5049457b6959da4a80e39b761f33f1af37a35b8000283296803 06:05:46 $ docker rm -f 57a71c8edb1cb5049457b6959da4a80e39b761f33f1af37a35b8000283296803 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:47 Warning: overwriting stash ‘coverage-report’ 06:05:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:05:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:49 + ls -al . 06:05:49 total 276 06:05:49 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 06:00 . 06:05:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 05:58 .. 06:05:49 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 05:58 .dockerignore 06:05:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 05:58 .git 06:05:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 05:58 .github 06:05:49 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 05:58 .gitignore 06:05:49 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 05:58 .golangci.yml 06:05:49 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 05:58 CHANGELOG.md 06:05:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 05:58 GOVERNANCE.md 06:05:49 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 05:58 Jenkinsfile 06:05:49 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 05:58 LICENSE 06:05:49 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 05:58 Makefile 06:05:49 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 05:58 OWNERS.md 06:05:49 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 05:58 README.md 06:05:49 -rw-rw-r-- 1 jenkins jenkins 12 Oct 26 05:56 VERSION 06:05:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 05:58 bin 06:05:49 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 06:03 coverage.out 06:05:49 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 05:58 example 06:05:49 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 05:58 go.mod 06:05:49 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 05:58 go.sum 06:05:49 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 05:58 internal 06:05:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 05:58 openapi 06:05:49 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 05:58 pkg 06:05:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 05:58 snap 06:05:49 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 05:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:49 + 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=21e2314d0be0883f9fe388992978a72096c1cede --label arch=arm64 --label version=2.3.0-dev.48 . 06:05:50 Sending build context to Docker daemon 5.518MB 06:05:50 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:05:50 Step 2/23 : FROM ${BASE} AS builder 06:05:50 ---> 26ae3119a06a 06:05:50 Step 3/23 : ARG MAKE=make build 06:05:50 ---> Running in 1168ccea2242 06:05:50 Removing intermediate container 1168ccea2242 06:05:50 ---> b1b92f9da6ca 06:05:50 Step 4/23 : WORKDIR /device-sdk-go 06:05:50 ---> Running in 58dfdda2de9a 06:05:50 Removing intermediate container 58dfdda2de9a 06:05:50 ---> adc4eb3a27bb 06:05:50 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:05:50 ---> Running in ec84b1a1f2c3 06:05:51 Removing intermediate container ec84b1a1f2c3 06:05:51 ---> 87fe2413c27e 06:05:51 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:05:51 ---> Running in 247b519edb9f 06:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:05:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:05:53 OK: 221 MiB in 51 packages 06:05:54 Removing intermediate container 247b519edb9f 06:05:54 ---> 3a7d33ce04e9 06:05:54 Step 7/23 : COPY go.mod vendor* ./ 06:05:54 ---> defd5a2b8057 06:05:54 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:54 ---> Running in 3d745f1ea4bd 06:05:57 Removing intermediate container 3d745f1ea4bd 06:05:57 ---> 12c5fee11b96 06:05:57 Step 9/23 : COPY . . 06:05:58 ---> 045a0daa75f4 06:05:58 Step 10/23 : RUN ${MAKE} 06:05:58 ---> Running in f13a9d3f173c 06:05:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.48" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 06:08:21 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:08:23 Removing intermediate container f13a9d3f173c 06:08:23 ---> fe20c33f8a23 06:08:23 Step 11/23 : FROM alpine:3.16 06:08:23 3.16: Pulling from library/alpine 06:08:23 9b18e9b68314: Already exists 06:08:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:08:23 Status: Downloaded newer image for alpine:3.16 06:08:23 ---> a6215f271958 06:08:23 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:08:23 ---> Running in 932251a799e1 06:08:24 Removing intermediate container 932251a799e1 06:08:24 ---> d4ae815f2f2f 06:08:24 Step 13/23 : RUN apk add --update --no-cache zeromq 06:08:24 ---> Running in 4bc42aa24d40 06:08:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:08:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:08:26 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:08:26 (2/5) Installing libsodium (1.0.18-r0) 06:08:26 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:08:26 (4/5) Installing libzmq (4.3.4-r0) 06:08:26 (5/5) Installing zeromq (4.3.4-r0) 06:08:26 Executing busybox-1.35.0-r17.trigger 06:08:26 OK: 8 MiB in 19 packages 06:08:27 Removing intermediate container 4bc42aa24d40 06:08:27 ---> 10e204d800f4 06:08:27 Step 14/23 : WORKDIR / 06:08:27 ---> Running in 6ef35baa7a9e 06:08:28 Removing intermediate container 6ef35baa7a9e 06:08:28 ---> 789c004d8141 06:08:28 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:08:28 ---> d0194980dd4d 06:08:28 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:08:30 ---> 7536662f0e57 06:08:30 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:08:30 ---> 92fd2c60fe07 06:08:30 Step 18/23 : EXPOSE 59999 06:08:30 ---> Running in b1a3cf9589f7 06:08:31 Removing intermediate container b1a3cf9589f7 06:08:31 ---> 04a084a190a5 06:08:31 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:08:31 ---> Running in 4eb0581526c7 06:08:31 Removing intermediate container 4eb0581526c7 06:08:31 ---> 90f4a1cea85b 06:08:31 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:08:31 ---> Running in b6498ea8da0d 06:08:32 Removing intermediate container b6498ea8da0d 06:08:32 ---> 68616fba0ff9 06:08:32 Step 21/23 : LABEL arch=arm64 06:08:32 ---> Running in 0f3cdd276cc1 06:08:32 Removing intermediate container 0f3cdd276cc1 06:08:32 ---> 169af68eff50 06:08:32 Step 22/23 : LABEL git_sha=21e2314d0be0883f9fe388992978a72096c1cede 06:08:32 ---> Running in 9965a744eac2 06:08:32 Removing intermediate container 9965a744eac2 06:08:32 ---> 77da4af7e13d 06:08:32 Step 23/23 : LABEL version=2.3.0-dev.48 06:08:32 ---> Running in 93e53a4f1dea 06:08:33 Removing intermediate container 93e53a4f1dea 06:08:33 ---> b55bd6998c84 06:08:33 [Warning] One or more build-args [ARCH] were not consumed 06:08:33 Successfully built b55bd6998c84 06:08:33 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 06:08:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:08:33 06:08:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:08:33 arm64: Pulling from edgex-lftools-log-publisher 06:08:33 8998bd30e6a1: Pulling fs layer 06:08:33 04944245beec: Pulling fs layer 06:08:33 699f458cf7ca: Pulling fs layer 06:08:33 765212b225bb: Pulling fs layer 06:08:33 f23df028b6ca: Pulling fs layer 06:08:33 d65c8cfc05b1: Pulling fs layer 06:08:33 2437ff75d9bd: Pulling fs layer 06:08:33 f23df028b6ca: Waiting 06:08:33 765212b225bb: Waiting 06:08:33 d65c8cfc05b1: Waiting 06:08:33 2437ff75d9bd: Waiting 06:08:34 04944245beec: Verifying Checksum 06:08:34 04944245beec: Download complete 06:08:34 765212b225bb: Verifying Checksum 06:08:34 765212b225bb: Download complete 06:08:34 f23df028b6ca: Download complete 06:08:34 d65c8cfc05b1: Download complete 06:08:34 699f458cf7ca: Verifying Checksum 06:08:34 699f458cf7ca: Download complete 06:08:34 8998bd30e6a1: Verifying Checksum 06:08:34 8998bd30e6a1: Download complete 06:08:37 2437ff75d9bd: Download complete 06:08:38 8998bd30e6a1: Pull complete 06:08:38 04944245beec: Pull complete 06:08:40 699f458cf7ca: Pull complete 06:08:40 765212b225bb: Pull complete 06:08:41 f23df028b6ca: Pull complete 06:08:41 d65c8cfc05b1: Pull complete 06:08:56 2437ff75d9bd: Pull complete 06:08:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:08:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:08:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:08:56 prd-ubuntu20.04-docker-arm64-4c-16g-117075 does not seem to be running inside a container 06:08:56 $ 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/124 -v /w/workspace/device-sdk-go/124:/w/workspace/device-sdk-go/124:rw,z -v /w/workspace/device-sdk-go/124@tmp:/w/workspace/device-sdk-go/124@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:08:59 $ docker top 45439aecb72d63fb514e944a6f2b8ca389353f5a013ced0d6f86b441b97125cc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:08:59 ---> job-cost.sh 06:08:59 lf-activate-venv: SKIPPING 06:08:59 INFO: No Stack... 06:09:00 INFO: Retrieving Pricing Info for: v3-standard-4 06:09:01 INFO: Archiving Costs [Pipeline] sh 06:09:01 + cat+ /w/workspace/device-sdk-go/124/archives/cost.csv 06:09:01 cut -d, -f6 [Pipeline] lock 06:09:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-124-stack-cost] 06:09:01 Resource [jenkins-edgexfoundry-device-sdk-go-main-124-stack-cost] did not exist. Created. 06:09:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-124-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:09:02 /w/workspace/device-sdk-go/124@tmp/durable-ccb71a8e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:09:03 + echo total: 0.10999999940395355 [Pipeline] stash 06:09:03 Warning: overwriting stash ‘stack-cost’ 06:09:03 Stashed 1 file(s) [Pipeline] } 06:09:03 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-124-stack-cost] [Pipeline] // lock [Pipeline] } 06:09:03 $ docker stop --time=1 45439aecb72d63fb514e944a6f2b8ca389353f5a013ced0d6f86b441b97125cc 06:09:05 $ docker rm -f 45439aecb72d63fb514e944a6f2b8ca389353f5a013ced0d6f86b441b97125cc [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 06:09:05 provisioning config files... 06:09:05 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16185390293769601641tmp [Pipeline] { [Pipeline] sh 06:09:05 + set +x 06:09:05 + bash -s -- 06:09:05 + curl -s https://codecov.io/bash 06:09:05 06:09:05 _____ _ 06:09:05 / ____| | | 06:09:05 | | ___ __| | ___ ___ _____ __ 06:09:05 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:09:05 | |___| (_) | (_| | __/ (_| (_) \ V / 06:09:05 \_____\___/ \__,_|\___|\___\___/ \_/ 06:09:05 Bash-1.0.6 06:09:05 06:09:05 06:09:05 ==> git version 2.25.1 found 06:09:05 ==> 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 06:09:05 Release-Date: 2020-01-08 06:09:05 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:09:05 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:09:05 ==> Jenkins CI detected. 06:09:05 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 06:09:05 project root: . 06:09:05 --> token set from env 06:09:05 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:09:05 ==> Running gcov in . (disable via -X gcov) 06:09:05 ==> Python coveragepy not found 06:09:05 ==> Searching for coverage reports in: 06:09:05 + . 06:09:05 -> Found 1 reports 06:09:05 ==> Detecting git/mercurial file structure 06:09:05 ==> Reading reports 06:09:06 + ./coverage.out bytes=101759 06:09:06 ==> Appending adjustments 06:09:06 https://docs.codecov.io/docs/fixing-reports 06:09:06 + Found adjustments 06:09:06 ==> Gzipping contents 06:09:06 16K /tmp/codecov.KhD7t6.gz 06:09:06 ==> Uploading reports 06:09:06 url: https://codecov.io 06:09:06 query: branch=main&commit=21e2314d0be0883f9fe388992978a72096c1cede&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:09:06 -> Pinging Codecov 06:09:06 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=21e2314d0be0883f9fe388992978a72096c1cede&build=124&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F124%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:09:06 -> Uploading to 06:09:06 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7E55EF52A471D76F132DFD9A03CDDE97/21e2314d0be0883f9fe388992978a72096c1cede/2ef4f826-73fc-454f-9d92-e801a8950068.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T060906Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3489a4a49063c2d0c85966da4a3236c118edae59adc6c30ecda215216d92aa3a 06:09:06 % Total % Received % Xferd Average Speed Time Time Time Current 06:09:06 Dload Upload Total Spent Left Speed 06:09:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14696 0 0 100 14696 0 66198 --:--:-- --:--:-- --:--:-- 65901 100 14696 0 0 100 14696 0 58549 --:--:-- --:--:-- --:--:-- 58317 06:09:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/21e2314d0be0883f9fe388992978a72096c1cede [Pipeline] } 06:09:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:09:07 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:09:07 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:09:07 06:09:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:09:07 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:09:07 df9b9388f04a: Pulling fs layer 06:09:07 52dc419b0ee2: Pulling fs layer 06:09:07 25bc292e5bac: Pulling fs layer 06:09:07 114826534d7a: Pulling fs layer 06:09:07 4657fd5d0bcf: Pulling fs layer 06:09:07 6ad1cebc031e: Pulling fs layer 06:09:07 8a3aa393b2d8: Pulling fs layer 06:09:07 114826534d7a: Waiting 06:09:07 4657fd5d0bcf: Waiting 06:09:07 6ad1cebc031e: Waiting 06:09:07 8a3aa393b2d8: Waiting 06:09:07 25bc292e5bac: Verifying Checksum 06:09:07 25bc292e5bac: Download complete 06:09:07 52dc419b0ee2: Verifying Checksum 06:09:07 52dc419b0ee2: Download complete 06:09:07 4657fd5d0bcf: Verifying Checksum 06:09:07 4657fd5d0bcf: Download complete 06:09:07 df9b9388f04a: Verifying Checksum 06:09:07 df9b9388f04a: Download complete 06:09:08 df9b9388f04a: Pull complete 06:09:08 6ad1cebc031e: Verifying Checksum 06:09:08 6ad1cebc031e: Download complete 06:09:08 52dc419b0ee2: Pull complete 06:09:08 25bc292e5bac: Pull complete 06:09:08 114826534d7a: Verifying Checksum 06:09:08 8a3aa393b2d8: Verifying Checksum 06:09:08 8a3aa393b2d8: Download complete 06:09:11 114826534d7a: Pull complete 06:09:11 4657fd5d0bcf: Pull complete 06:09:11 6ad1cebc031e: Pull complete 06:09:14 8a3aa393b2d8: Pull complete 06:09:14 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:09:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:09:14 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:14 prd-ubuntu20.04-docker-8c-8g-117074 does not seem to be running inside a container 06:09:14 $ 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 06:09:17 $ docker top 80985e2bb300ec42acdc53c3c2bb2499c11de8f9a134f5fd591d5fa08aa20aa6 -eo pid,comm [Pipeline] { [Pipeline] echo 06:09:17 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 06:09:18 + set -o pipefail 06:09:18 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 06:09:23 06:09:23 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 06:09:23 06:09:23 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/dc1688db-7b9c-4fab-bd92-9a7062152208 06:09:23 06:09:23 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:09:23 06:09:23 06:09:23 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:09:23 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:09:23 More details here: https://snyk.co/ue1NS [Pipeline] } 06:09:23 $ docker stop --time=1 80985e2bb300ec42acdc53c3c2bb2499c11de8f9a134f5fd591d5fa08aa20aa6 06:09:26 $ docker rm -f 80985e2bb300ec42acdc53c3c2bb2499c11de8f9a134f5fd591d5fa08aa20aa6 [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 06:09:27 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:09:27 provisioning config files... 06:09:27 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15264582786860936807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:09:27 --> edgex-publish-swagger.sh 06:09:27 === Publish openapi/v2 API === 06:09:27 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 06:09:27 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 06:09:27 % Total % Received % Xferd Average Speed Time Time Time Current 06:09:27 Dload Upload Total Spent Left Speed 06:09:28 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 77164 --:--:-- --:--:-- --:--:-- 77164 100 53552 0 0 100 53552 0 77164 --:--:-- --:--:-- --:--:-- 77053 06:09:28 06:09:28 [Pipeline] } 06:09:28 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 06:09:28 + git log --format=format:%s -1 21e2314d0be0883f9fe388992978a72096c1cede [Pipeline] sh 06:09:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:09:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:29 prd-ubuntu20.04-docker-8c-8g-117074 does not seem to be running inside a container 06:09:29 $ 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 06:09:29 $ docker top 0bb064f9ec3bd0eb4099ebca86098044561ce15bafbdbf54954c37a10dd30265 -eo pid,comm 06:09:29 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:09:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:09:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:29 [ssh-agent] Looking for ssh-agent implementation... 06:09:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:29 $ docker exec 0bb064f9ec3bd0eb4099ebca86098044561ce15bafbdbf54954c37a10dd30265 ssh-agent 06:09:30 SSH_AUTH_SOCK=/tmp/ssh-UZeRIVVH8n9J/agent.33 06:09:30 SSH_AGENT_PID=39 06:09:30 Running ssh-add (command line suppressed) 06:09:30 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5001523353561137429.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5001523353561137429.key) 06:09:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:30 + git semver tag 06:09:30 2022-10-26 06:09:30,662 [run_tag] DEBUG tag force:False 06:09:30 2022-10-26 06:09:30,662 [check_head_tag] DEBUG check head tag 06:09:30 2022-10-26 06:09:30,664 [execute] INFO git cat-file --batch-check 06:09:30 2022-10-26 06:09:30,664 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:09:30 2022-10-26 06:09:30,668 [execute] INFO git cat-file --batch 06:09:30 2022-10-26 06:09:30,668 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 06:09:30 2022-10-26 06:09:30,691 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:09:30 2022-10-26 06:09:30,691 [execute] INFO git tag -a v2.3.0-dev.48 -m v2.3.0-dev.48 06:09:30 2022-10-26 06:09:30,691 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.48', '-m', 'v2.3.0-dev.48'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 06:09:30 2022-10-26 06:09:30,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:09:30 2.3.0-dev.48 [Pipeline] } 06:09:30 $ docker exec --env ******** --env ******** 0bb064f9ec3bd0eb4099ebca86098044561ce15bafbdbf54954c37a10dd30265 ssh-agent -k 06:09:30 unset SSH_AUTH_SOCK; 06:09:30 unset SSH_AGENT_PID; 06:09:30 echo Agent pid 39 killed; 06:09:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:09:31 + git semver [Pipeline] } 06:09:31 $ docker stop --time=1 0bb064f9ec3bd0eb4099ebca86098044561ce15bafbdbf54954c37a10dd30265 06:09:32 $ docker rm -f 0bb064f9ec3bd0eb4099ebca86098044561ce15bafbdbf54954c37a10dd30265 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:09:33 06:09:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:09:33 0.23.1-centos7: Pulling from edgex-lftools 06:09:33 ab5ef0e58194: Pulling fs layer 06:09:33 9712f1f96733: Pulling fs layer 06:09:33 63f879dbbcfc: Pulling fs layer 06:09:33 0d9ebad4ef96: Pulling fs layer 06:09:33 e9a5061849ea: Pulling fs layer 06:09:33 d747dcd14b5f: Pulling fs layer 06:09:33 2de7ff778b66: Pulling fs layer 06:09:33 2de7ff778b66: Waiting 06:09:33 e9a5061849ea: Waiting 06:09:33 d747dcd14b5f: Waiting 06:09:33 0d9ebad4ef96: Waiting 06:09:33 9712f1f96733: Verifying Checksum 06:09:33 9712f1f96733: Download complete 06:09:33 63f879dbbcfc: Verifying Checksum 06:09:33 63f879dbbcfc: Download complete 06:09:33 0d9ebad4ef96: Verifying Checksum 06:09:33 0d9ebad4ef96: Download complete 06:09:33 d747dcd14b5f: Verifying Checksum 06:09:33 d747dcd14b5f: Download complete 06:09:33 e9a5061849ea: Verifying Checksum 06:09:33 e9a5061849ea: Download complete 06:09:33 ab5ef0e58194: Verifying Checksum 06:09:33 ab5ef0e58194: Download complete 06:09:33 2de7ff778b66: Verifying Checksum 06:09:33 2de7ff778b66: Download complete 06:09:36 ab5ef0e58194: Pull complete 06:09:36 9712f1f96733: Pull complete 06:09:37 63f879dbbcfc: Pull complete 06:09:40 0d9ebad4ef96: Pull complete 06:09:40 e9a5061849ea: Pull complete 06:09:40 d747dcd14b5f: Pull complete 06:09:41 2de7ff778b66: Pull complete 06:09:41 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:09:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:09:41 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:41 prd-ubuntu20.04-docker-8c-8g-117074 does not seem to be running inside a container 06:09:41 $ 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 06:09:46 $ docker top 910633c871e5a86c2dda2818b947b4489acc45ac0e48b1f92b334233db2e420a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:09:46 provisioning config files... 06:09:46 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16976800607763939028tmp 06:09:46 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14002389980544506075tmp 06:09:46 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15778855267097852787tmp [Pipeline] { [Pipeline] echo 06:09:46 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:09:46 ---> sigul-configuration.sh 06:09:46 gpg: directory `/root/.gnupg' created 06:09:46 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:09:46 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:09:46 gpg: keyring `/root/.gnupg/secring.gpg' created 06:09:46 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:09:46 gpg: CAST5 encrypted data 06:09:46 gpg: encrypted with 1 passphrase 06:09:46 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:09:46 + mkdir /home/jenkins 06:09:46 + mkdir /home/jenkins/sigul [Pipeline] sh 06:09:47 + 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 06:09:47 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:09:47 ---> sigul-install.sh 06:09:47 Sigul already installed; skipping installation. [Pipeline] sh 06:09:47 + git tag --list 06:09:47 0.7.1 06:09:47 delhi-tag 06:09:47 v1.0.0 06:09:47 v1.1.0 06:09:47 v1.1.1 06:09:47 v1.1.2 06:09:47 v1.2.0 06:09:47 v1.2.1 06:09:47 v1.2.2 06:09:47 v1.2.3 06:09:47 v1.3.0 06:09:47 v1.4.0 06:09:47 v2.0.0 06:09:47 v2.1.0 06:09:47 v2.1.1 06:09:47 v2.1.1-dev.2 06:09:47 v2.1.1-dev.3 06:09:47 v2.2.0 06:09:47 v2.2.1-dev.1 06:09:47 v2.2.1-dev.10 06:09:47 v2.2.1-dev.11 06:09:47 v2.2.1-dev.12 06:09:47 v2.2.1-dev.13 06:09:47 v2.2.1-dev.14 06:09:47 v2.2.1-dev.2 06:09:47 v2.2.1-dev.3 06:09:47 v2.2.1-dev.4 06:09:47 v2.2.1-dev.5 06:09:47 v2.2.1-dev.6 06:09:47 v2.2.1-dev.7 06:09:47 v2.2.1-dev.8 06:09:47 v2.2.1-dev.9 06:09:47 v2.3.0-dev.14 06:09:47 v2.3.0-dev.15 06:09:47 v2.3.0-dev.16 06:09:47 v2.3.0-dev.17 06:09:47 v2.3.0-dev.18 06:09:47 v2.3.0-dev.19 06:09:47 v2.3.0-dev.20 06:09:47 v2.3.0-dev.21 06:09:47 v2.3.0-dev.22 06:09:47 v2.3.0-dev.23 06:09:47 v2.3.0-dev.24 06:09:47 v2.3.0-dev.25 06:09:47 v2.3.0-dev.26 06:09:47 v2.3.0-dev.27 06:09:47 v2.3.0-dev.28 06:09:47 v2.3.0-dev.29 06:09:47 v2.3.0-dev.30 06:09:47 v2.3.0-dev.31 06:09:47 v2.3.0-dev.32 06:09:47 v2.3.0-dev.33 06:09:47 v2.3.0-dev.34 06:09:47 v2.3.0-dev.35 06:09:47 v2.3.0-dev.36 06:09:47 v2.3.0-dev.37 06:09:47 v2.3.0-dev.38 06:09:47 v2.3.0-dev.39 06:09:47 v2.3.0-dev.40 06:09:47 v2.3.0-dev.41 06:09:47 v2.3.0-dev.42 06:09:47 v2.3.0-dev.43 06:09:47 v2.3.0-dev.44 06:09:47 v2.3.0-dev.45 06:09:47 v2.3.0-dev.46 06:09:47 v2.3.0-dev.47 06:09:47 v2.3.0-dev.48 [Pipeline] sh 06:09:48 + lftools sign git-tag v2.3.0-dev.48 06:09:48 Signing Git tag with Sigul... 06:09:48 Signing v2.3.0-dev.48 [Pipeline] echo 06:09:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:09:49 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:09:49 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:09:49 $ docker stop --time=1 910633c871e5a86c2dda2818b947b4489acc45ac0e48b1f92b334233db2e420a 06:09:50 $ docker rm -f 910633c871e5a86c2dda2818b947b4489acc45ac0e48b1f92b334233db2e420a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:09:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:09:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:51 prd-ubuntu20.04-docker-8c-8g-117074 does not seem to be running inside a container 06:09:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:09:51 $ docker top f287df3efc7f85cd187b1fe631fdeafcec1c06d26aea026a03f490fd4b0d1a65 -eo pid,comm 06:09:51 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:09:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:09:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:51 [ssh-agent] Looking for ssh-agent implementation... 06:09:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:51 $ docker exec f287df3efc7f85cd187b1fe631fdeafcec1c06d26aea026a03f490fd4b0d1a65 ssh-agent 06:09:51 SSH_AUTH_SOCK=/tmp/ssh-p1oJK1MevZvX/agent.33 06:09:51 SSH_AGENT_PID=39 06:09:51 Running ssh-add (command line suppressed) 06:09:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11269654445594159992.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11269654445594159992.key) 06:09:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:52 + git semver bump pre 06:09:52 2022-10-26 06:09:52,551 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:09:52 2022-10-26 06:09:52,551 [bump_version] DEBUG bumping version:2.3.0-dev.48 on axis:pre with prefix:dev 06:09:52 2022-10-26 06:09:52,551 [bump_version] DEBUG bumped version:2.3.0-dev.49 06:09:52 2022-10-26 06:09:52,552 [write_version] DEBUG write version:2.3.0-dev.49 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 06:09:52 2022-10-26 06:09:52,552 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:09:52 2022-10-26 06:09:52,552 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:09:52 2022-10-26 06:09:52,555 [execute] INFO git cat-file --batch-check 06:09:52 2022-10-26 06:09:52,556 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:09:52 2022-10-26 06:09:52,561 [execute] INFO git cat-file --batch 06:09:52 2022-10-26 06:09:52,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:09:52 2022-10-26 06:09:52,566 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:09:52 2.3.0-dev.49 [Pipeline] } 06:09:52 $ docker exec --env ******** --env ******** f287df3efc7f85cd187b1fe631fdeafcec1c06d26aea026a03f490fd4b0d1a65 ssh-agent -k 06:09:52 unset SSH_AUTH_SOCK; 06:09:52 unset SSH_AGENT_PID; 06:09:52 echo Agent pid 39 killed; 06:09:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:09:53 + git semver [Pipeline] } 06:09:53 $ docker stop --time=1 f287df3efc7f85cd187b1fe631fdeafcec1c06d26aea026a03f490fd4b0d1a65 06:09:54 $ docker rm -f f287df3efc7f85cd187b1fe631fdeafcec1c06d26aea026a03f490fd4b0d1a65 [Pipeline] // withDockerContainer [Pipeline] sh 06:09:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:09:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:09:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:55 prd-ubuntu20.04-docker-8c-8g-117074 does not seem to be running inside a container 06:09:55 $ 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 06:09:55 $ docker top 3481da94af09a1546bfe096c2590435aa8688f8fd4ae1b9681872f3f7fef794f -eo pid,comm 06:09:56 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 06:09:56 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:09:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:09:56 [ssh-agent] Looking for ssh-agent implementation... 06:09:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:09:56 $ docker exec 3481da94af09a1546bfe096c2590435aa8688f8fd4ae1b9681872f3f7fef794f ssh-agent 06:09:56 SSH_AUTH_SOCK=/tmp/ssh-Q7l917SgRjV7/agent.14 06:09:56 SSH_AGENT_PID=27 06:09:56 Running ssh-add (command line suppressed) 06:09:56 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4269403844919826359.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4269403844919826359.key) 06:09:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:09:56 + git semver push 06:09:56 2022-10-26 06:09:56,833 [run_push] DEBUG push 06:09:56 2022-10-26 06:09:56,834 [execute] INFO git cat-file --batch-check 06:09:56 2022-10-26 06:09:56,834 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:09:56 2022-10-26 06:09:56,838 [execute] INFO git rev-list 375d11a5f27a43dd99e64e6e7e323c67cdbf712c -- 06:09:56 2022-10-26 06:09:56,838 [execute] DEBUG Popen(['git', 'rev-list', '375d11a5f27a43dd99e64e6e7e323c67cdbf712c', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:09:56 2022-10-26 06:09:56,849 [execute] INFO git fetch -v origin 06:09:56 2022-10-26 06:09:56,850 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:09:57 2022-10-26 06:09:57,432 [run_push] DEBUG no remote changes detected 06:09:57 2022-10-26 06:09:57,433 [execute] INFO git push origin semver 06:09:57 2022-10-26 06:09:57,433 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:09:58 2022-10-26 06:09:58,260 [run_push] DEBUG push all version tags 06:09:58 2022-10-26 06:09:58,261 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:09:58 2022-10-26 06:09:58,261 [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) 06:09:59 2022-10-26 06:09:59,043 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 06:09:59 2.3.0-dev.49 [Pipeline] } 06:09:59 $ docker exec --env ******** --env ******** 3481da94af09a1546bfe096c2590435aa8688f8fd4ae1b9681872f3f7fef794f ssh-agent -k 06:09:59 unset SSH_AUTH_SOCK; 06:09:59 unset SSH_AGENT_PID; 06:09:59 echo Agent pid 27 killed; 06:09:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:09:59 + git semver [Pipeline] } 06:10:00 $ docker stop --time=1 3481da94af09a1546bfe096c2590435aa8688f8fd4ae1b9681872f3f7fef794f 06:10:01 $ docker rm -f 3481da94af09a1546bfe096c2590435aa8688f8fd4ae1b9681872f3f7fef794f [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 06:10:01 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 06:10:01 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:10:01 total 16 06:10:01 drwxr-xr-x 3 root root 4096 Oct 26 05:58 . 06:10:01 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 06:09 .. 06:10:01 drwxr-xr-x 2 root root 4096 Oct 26 05:58 cost 06:10:01 -rw-r--r-- 1 root root 85 Oct 26 05:58 cost.csv 06:10:01 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:10:01 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 06:10:01 total 16 06:10:01 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 05:58 . 06:10:01 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 06:09 .. 06:10:01 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 05:58 cost 06:10:01 -rw-r--r-- 1 jenkins jenkins 85 Oct 26 05:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:10:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:10:03 ---> package-listing.sh 06:10:03 ++ facter osfamily 06:10:03 ++ tr '[:upper:]' '[:lower:]' 06:10:03 + OS_FAMILY=debian 06:10:03 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 06:10:03 + START_PACKAGES=/tmp/packages_start.txt 06:10:03 + END_PACKAGES=/tmp/packages_end.txt 06:10:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:10:03 + PACKAGES=/tmp/packages_start.txt 06:10:03 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:10:03 + PACKAGES=/tmp/packages_end.txt 06:10:03 + case "${OS_FAMILY}" in 06:10:03 + dpkg -l 06:10:03 + grep '^ii' 06:10:03 + '[' -f /tmp/packages_start.txt ']' 06:10:03 + '[' -f /tmp/packages_end.txt ']' 06:10:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:10:03 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 06:10:03 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 06:10:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 06:10:03 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 06:10:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:10:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:10:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:10:04 prd-ubuntu20.04-docker-8c-8g-117074 does not seem to be running inside a container 06:10:04 $ 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 06:10:04 $ docker top a91cd2583736b6b309702b08234e401839320b342f7e7f7a4f8d7e8ec5eb3369 -eo pid,comm [Pipeline] { [Pipeline] sh 06:10:04 + touch /tmp/pre-build-complete [Pipeline] sh 06:10:05 + mkdir -p /var/log/sysstat [Pipeline] sh 06:10:05 + ls /var/log/sa-host 06:10:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:10:05 provisioning config files... 06:10:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5856103910650111969tmp [Pipeline] { [Pipeline] echo 06:10:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:10:05 ---> create-netrc.sh [Pipeline] } 06:10:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:10:06 ---> python-tools-install.sh [Pipeline] echo 06:10:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:10:06 ---> sudo-logs.sh 06:10:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:10:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:10:06 ---> job-cost.sh 06:10:06 lf-activate-venv: SKIPPING 06:10:06 DEBUG: total: 0.2199999988079071 06:10:06 INFO: Retrieving Stack Cost... 06:10:07 INFO: Retrieving Pricing Info for: v3-standard-8 06:10:07 INFO: Archiving Costs [Pipeline] echo 06:10:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:10:07 ---> logs-deploy.sh 06:10:07 lf-activate-venv: SKIPPING 06:10:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/124 06:10:07 INFO: archiving workspace using pattern(s): 06:10:08 Archives upload complete. 06:10:08 INFO: archiving logs to Nexus