Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb 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-ssh18404935794879252367.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3250871402529922097.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh13859159572063224477.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh4221542772881382755.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-ssh1710904243651293235.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 Running on prd-ubuntu20.04-docker-8c-8g-121031 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 bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb (main) Commit message: "Merge pull request #1264 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.2" > 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 bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb # timeout=10 > git rev-list --no-walk c9819f1195e0e6250bc0958cba43b0a168ce6321 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:18:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:18:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:18:06 ========================================================= 04:18:06 EdgeX Global Pipelines Version Info 04:18:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:18:07 ------------------- 04:18:07 stable info: 04:18:07 ------------------- 04:18:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:18:07 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:18:07 Message: update stable to v1.0.244 04:18:08 ------------------- 04:18:08 experimental info: 04:18:08 ------------------- 04:18:08 Commited By: **** collab-it+edgex@linuxfoundation.org 04:18:08 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 04:18:08 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bc74d36 [Pipeline] echo 04:18:08 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:08 provisioning config files... 04:18:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16309980251645848339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:09 ---> docker-login.sh 04:18:09 nexus3.edgexfoundry.org:10001 04:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:09 Configure a credential helper to remove this warning. See 04:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:09 04:18:09 Login Succeeded 04:18:09 nexus3.edgexfoundry.org:10002 04:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:09 Configure a credential helper to remove this warning. See 04:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:09 04:18:09 Login Succeeded 04:18:09 nexus3.edgexfoundry.org:10003 04:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:09 Configure a credential helper to remove this warning. See 04:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:09 04:18:09 Login Succeeded 04:18:09 nexus3.edgexfoundry.org:10004 04:18:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:09 Configure a credential helper to remove this warning. See 04:18:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:09 04:18:09 Login Succeeded 04:18:09 docker.io 04:18:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:10 Configure a credential helper to remove this warning. See 04:18:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:10 04:18:10 Login Succeeded 04:18:10 ---> docker-login.sh ends [Pipeline] } 04:18:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:18:10 + git rev-list -1 --merges bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb~1..bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb [Pipeline] echo 04:18:10 -----------> git rev-list -1 --merges bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb~1..bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb 04:18:10 bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb [false] [Pipeline] sh 04:18:10 + git log --format=format:%s -1 bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb [Pipeline] echo 04:18:10 ========================================================= 04:18:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:18:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:18:11 + git log --format=format:%s -1 bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb [Pipeline] echo 04:18:11 [semverPrep] GIT_COMMIT: bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb, Commit Message: Merge pull request #1264 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.2 [Pipeline] echo 04:18:11 [semverPrep] This is not a build commit. [Pipeline] sh 04:18:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:18:11 + grep -v github /etc/ssh/ssh_known_hosts 04:18:11 + [ -e /tmp/ssh_known_hosts ] 04:18:11 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:18:11 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:18:11 + sudo tee -a /etc/ssh/ssh_known_hosts 04:18:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:11 04:18:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:12 0.1.4: Pulling from edgex-devops/py-git-semver 04:18:12 b85a868b505f: Pulling fs layer 04:18:12 e2be974225ed: Pulling fs layer 04:18:12 339a4e72a1f5: Pulling fs layer 04:18:12 988bab9f4d93: Pulling fs layer 04:18:12 988bab9f4d93: Waiting 04:18:12 1469e6f7b9e6: Pulling fs layer 04:18:12 eaf3925da568: Pulling fs layer 04:18:12 bab4dde63d76: Pulling fs layer 04:18:12 bde34c3a00c8: Pulling fs layer 04:18:12 b352a97aabf1: Pulling fs layer 04:18:12 1469e6f7b9e6: Waiting 04:18:12 bab4dde63d76: Waiting 04:18:12 bde34c3a00c8: Waiting 04:18:12 b352a97aabf1: Waiting 04:18:12 eaf3925da568: Waiting 04:18:12 4872d77fe225: Pulling fs layer 04:18:12 5851b861e8e6: Pulling fs layer 04:18:12 5851b861e8e6: Waiting 04:18:12 4872d77fe225: Waiting 04:18:12 e2be974225ed: Verifying Checksum 04:18:12 e2be974225ed: Download complete 04:18:12 988bab9f4d93: Verifying Checksum 04:18:12 988bab9f4d93: Download complete 04:18:12 1469e6f7b9e6: Verifying Checksum 04:18:12 1469e6f7b9e6: Download complete 04:18:12 eaf3925da568: Download complete 04:18:12 339a4e72a1f5: Verifying Checksum 04:18:12 bde34c3a00c8: Download complete 04:18:12 b352a97aabf1: Verifying Checksum 04:18:12 b352a97aabf1: Download complete 04:18:12 4872d77fe225: Verifying Checksum 04:18:12 4872d77fe225: Download complete 04:18:12 5851b861e8e6: Download complete 04:18:12 b85a868b505f: Verifying Checksum 04:18:12 b85a868b505f: Download complete 04:18:13 bab4dde63d76: Verifying Checksum 04:18:13 bab4dde63d76: Download complete 04:18:13 b85a868b505f: Pull complete 04:18:13 e2be974225ed: Pull complete 04:18:14 339a4e72a1f5: Pull complete 04:18:14 988bab9f4d93: Pull complete 04:18:14 1469e6f7b9e6: Pull complete 04:18:14 eaf3925da568: Pull complete 04:18:16 bab4dde63d76: Pull complete 04:18:16 bde34c3a00c8: Pull complete 04:18:16 b352a97aabf1: Pull complete 04:18:16 4872d77fe225: Pull complete 04:18:16 5851b861e8e6: Pull complete 04:18:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:18:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:18:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:16 prd-ubuntu20.04-docker-8c-8g-121031 does not seem to be running inside a container 04:18:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:18:17 $ docker top adf5c24e3918781e465bae855f6ce01dc0e88067c9662eddd4c86e37b66ed7c0 -eo pid,comm 04:18:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:18:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:18:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:18:18 [ssh-agent] Looking for ssh-agent implementation... 04:18:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:18:18 $ docker exec adf5c24e3918781e465bae855f6ce01dc0e88067c9662eddd4c86e37b66ed7c0 ssh-agent 04:18:18 SSH_AUTH_SOCK=/tmp/ssh-jz73Bnsor3uu/agent.32 04:18:18 SSH_AGENT_PID=38 04:18:18 Running ssh-add (command line suppressed) 04:18:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15412451889856265754.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15412451889856265754.key) 04:18:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:18:18 + git tag --points-at HEAD [Pipeline] } 04:18:18 $ docker exec --env ******** --env ******** adf5c24e3918781e465bae855f6ce01dc0e88067c9662eddd4c86e37b66ed7c0 ssh-agent -k 04:18:18 unset SSH_AUTH_SOCK; 04:18:18 unset SSH_AGENT_PID; 04:18:18 echo Agent pid 38 killed; 04:18:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:18:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:18:18 [ssh-agent] Looking for ssh-agent implementation... 04:18:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:18:18 $ docker exec adf5c24e3918781e465bae855f6ce01dc0e88067c9662eddd4c86e37b66ed7c0 ssh-agent 04:18:19 SSH_AUTH_SOCK=/tmp/ssh-WszIU8c9DEdQ/agent.70 04:18:19 SSH_AGENT_PID=76 04:18:19 Running ssh-add (command line suppressed) 04:18:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15245174649969333958.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15245174649969333958.key) 04:18:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:18:19 + git semver init 04:18:19 2022-12-13 04:18:19,720 [run_init] DEBUG init version:0.0.0 force:False 04:18:19 2022-12-13 04:18:19,721 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:18:19 2022-12-13 04:18:19,721 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:18:19 2022-12-13 04:18:19,722 [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) 04:18:20 2022-12-13 04:18:20,696 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:18:20 2022-12-13 04:18:20,697 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:18:20 2022-12-13 04:18:20,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:18:20 2022-12-13 04:18:20,697 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:18:20 3.0.0-dev.2 [Pipeline] } 04:18:20 $ docker exec --env ******** --env ******** adf5c24e3918781e465bae855f6ce01dc0e88067c9662eddd4c86e37b66ed7c0 ssh-agent -k 04:18:21 unset SSH_AUTH_SOCK; 04:18:21 unset SSH_AGENT_PID; 04:18:21 echo Agent pid 76 killed; 04:18:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:18:21 + git semver [Pipeline] } 04:18:21 $ docker stop --time=1 adf5c24e3918781e465bae855f6ce01dc0e88067c9662eddd4c86e37b66ed7c0 04:18:22 $ docker rm -f adf5c24e3918781e465bae855f6ce01dc0e88067c9662eddd4c86e37b66ed7c0 [Pipeline] // withDockerContainer [Pipeline] sh 04:18:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:18:23 Stashed 1 file(s) [Pipeline] echo 04:18:23 [edgeXSemver]: initialized semver on version 3.0.0-dev.2 [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 04:18:23 provisioning config files... 04:18:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14446470772125594567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:23 ---> docker-login.sh 04:18:23 nexus3.edgexfoundry.org:10001 04:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:23 Configure a credential helper to remove this warning. See 04:18:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:23 04:18:23 Login Succeeded 04:18:23 nexus3.edgexfoundry.org:10002 04:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:23 Configure a credential helper to remove this warning. See 04:18:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:23 04:18:23 Login Succeeded 04:18:23 nexus3.edgexfoundry.org:10003 04:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:24 Configure a credential helper to remove this warning. See 04:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:24 04:18:24 Login Succeeded 04:18:24 nexus3.edgexfoundry.org:10004 04:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:24 Configure a credential helper to remove this warning. See 04:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:24 04:18:24 Login Succeeded 04:18:24 docker.io 04:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:24 Configure a credential helper to remove this warning. See 04:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:24 04:18:24 Login Succeeded 04:18:24 ---> docker-login.sh ends [Pipeline] } 04:18:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:18:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:18:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:18:24 ========================================================= 04:18:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:18:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:25 Running on prd-ubuntu20.04-docker-arm64-4c-16g-121035 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:18:25 Running in /w/workspace/device-sdk-go/132 [Pipeline] { 04:18:25 + 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 . 04:18:25 Sending build context to Docker daemon 10.41MB 04:18:25 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:18:25 Step 2/10 : FROM ${BASE} AS builder 04:18:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:18:25 213ec9aee27d: Pulling fs layer 04:18:25 4583459ba037: Pulling fs layer 04:18:25 93c1e223e6f2: Pulling fs layer 04:18:25 53926ce57604: Pulling fs layer 04:18:25 21b2b0c7a3f4: Pulling fs layer 04:18:25 22ff95d597cd: Pulling fs layer 04:18:25 12d6caf4c0d1: Pulling fs layer 04:18:25 96b7cbca73a9: Pulling fs layer 04:18:25 a7acece74701: Pulling fs layer 04:18:25 53926ce57604: Waiting 04:18:25 12d6caf4c0d1: Waiting 04:18:25 21b2b0c7a3f4: Waiting 04:18:25 22ff95d597cd: Waiting 04:18:25 96b7cbca73a9: Waiting 04:18:25 a7acece74701: Waiting 04:18:25 93c1e223e6f2: Verifying Checksum 04:18:25 93c1e223e6f2: Download complete 04:18:25 4583459ba037: Verifying Checksum 04:18:25 4583459ba037: Download complete [Pipeline] checkout 04:18:25 The recommended git tool is: git 04:18:25 21b2b0c7a3f4: Verifying Checksum 04:18:25 21b2b0c7a3f4: Download complete 04:18:25 22ff95d597cd: Download complete 04:18:25 213ec9aee27d: Verifying Checksum 04:18:25 213ec9aee27d: Download complete 04:18:25 12d6caf4c0d1: Verifying Checksum 04:18:25 12d6caf4c0d1: Download complete 04:18:25 213ec9aee27d: Pull complete 04:18:25 4583459ba037: Pull complete 04:18:25 93c1e223e6f2: Pull complete 04:18:25 a7acece74701: Verifying Checksum 04:18:25 a7acece74701: Download complete 04:18:25 96b7cbca73a9: Verifying Checksum 04:18:25 96b7cbca73a9: Download complete 04:18:26 53926ce57604: Verifying Checksum 04:18:26 53926ce57604: Download complete 04:18:29 using credential edgex-jenkins-ssh 04:18:29 Cloning the remote Git repository 04:18:30 53926ce57604: Pull complete 04:18:30 21b2b0c7a3f4: Pull complete 04:18:30 22ff95d597cd: Pull complete 04:18:30 12d6caf4c0d1: Pull complete 04:18:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:18:30 > git init /w/workspace/device-sdk-go/132 # timeout=10 04:18:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:18:30 > git --version # timeout=10 04:18:30 > git --version # 'git version 2.25.1' 04:18:30 using GIT_SSH to set credentials SSH Credentials for GitHub 04:18:30 Verifying host key using known hosts file 04:18:30 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:18:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:18:32 96b7cbca73a9: Pull complete 04:18:32 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:18:32 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:18:32 Avoid second fetch 04:18:32 Checking out Revision bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb (main) 04:18:33 a7acece74701: Pull complete 04:18:33 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 04:18:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:18:33 ---> db6d94c90886 04:18:33 Step 3/10 : ARG MAKE=make build 04:18:33 Commit message: "Merge pull request #1264 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v3-3.0.0-dev.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 04:18:32 > git config core.sparsecheckout # timeout=10 04:18:32 > git checkout -f bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb # timeout=10 [Pipeline] sh 04:18:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:18:34 % Total % Received % Xferd Average Speed Time Time Time Current 04:18:34 Dload Upload Total Spent Left Speed 04:18:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh 04:18:34 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:18:35 ---> Running in 169160a14f0d 04:18:35 Removing intermediate container 169160a14f0d 04:18:35 ---> 2460fdacaad4 04:18:35 Step 4/10 : WORKDIR /device-sdk-go 04:18:35 ---> Running in 300e8faccb93 04:18:35 Removing intermediate container 300e8faccb93 04:18:35 ---> 0a0157736426 04:18:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:18:35 ---> Running in a4e0805d2a14 04:18:35 Removing intermediate container a4e0805d2a14 04:18:35 ---> cf85ff0d392e 04:18:35 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:18:35 ---> Running in 42cb88769e48 04:18:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ 04:18:35 sudo tee /etc/docker/daemon.new 04:18:35 { 04:18:35 "registry-mirrors": [ 04:18:35 "https://nexus3.edgexfoundry.org:10001" 04:18:35 ], 04:18:35 "bip": "10.250.0.254/24", 04:18:35 "hosts": [ 04:18:35 "tcp://0.0.0.0:5555", 04:18:35 "unix:///var/run/docker.sock" 04:18:35 ], 04:18:35 "mtu": 1458, 04:18:35 "selinux-enabled": true, 04:18:35 "seccomp-profile": "/etc/docker/seccomp.json" 04:18:35 } [Pipeline] sh 04:18:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:18:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:18:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:18:35 OK: 211 MiB in 51 packages 04:18:35 + sudo service docker restart 04:18:36 Removing intermediate container 42cb88769e48 04:18:36 ---> 3e97eecf6f7b 04:18:36 Step 7/10 : COPY go.mod vendor* ./ 04:18:36 ---> 1139a588cace 04:18:36 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:36 ---> Running in 19d1e066bb8d [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:54 provisioning config files... 04:18:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/132@tmp/config15806713163718717471tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:54 Removing intermediate container 19d1e066bb8d 04:18:54 ---> 8a82b62459f3 04:18:54 Step 9/10 : COPY . . 04:18:54 ---> bfc72f5c373f 04:18:54 Step 10/10 : RUN ${MAKE} 04:18:54 ---> Running in b53ca32d8a08 04:18:54 noop 04:18:54 Removing intermediate container b53ca32d8a08 04:18:54 ---> 03027ad28704 04:18:54 Successfully built 03027ad28704 04:18:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:54 ---> docker-login.sh 04:18:54 nexus3.edgexfoundry.org:10001 04:18:54 + docker inspect -f . ci-base-image-x86_64 04:18:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:54 prd-ubuntu20.04-docker-8c-8g-121031 does not seem to be running inside a container 04:18:54 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:55 Configure a credential helper to remove this warning. See 04:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:55 04:18:55 Login Succeeded 04:18:55 nexus3.edgexfoundry.org:10002 04:18:55 $ docker top 7085d2bc19ddfa9b680c8c3c1f82d19c88df2fa25061a7f7eeb1c493df64604f -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:55 + go version 04:18:55 go version go1.18.7 linux/amd64 [Pipeline] } 04:18:55 $ docker stop --time=1 7085d2bc19ddfa9b680c8c3c1f82d19c88df2fa25061a7f7eeb1c493df64604f 04:18:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:55 Configure a credential helper to remove this warning. See 04:18:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:55 04:18:55 Login Succeeded 04:18:55 nexus3.edgexfoundry.org:10003 04:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:56 Configure a credential helper to remove this warning. See 04:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:56 04:18:56 Login Succeeded 04:18:56 nexus3.edgexfoundry.org:10004 04:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:56 Configure a credential helper to remove this warning. See 04:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:56 04:18:56 Login Succeeded 04:18:56 docker.io 04:18:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:18:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:18:56 Configure a credential helper to remove this warning. See 04:18:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:18:56 04:18:56 Login Succeeded 04:18:56 ---> docker-login.sh ends 04:18:56 $ docker rm -f 7085d2bc19ddfa9b680c8c3c1f82d19c88df2fa25061a7f7eeb1c493df64604f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 04:18:56 Deleting 1 temporary files [Pipeline] // script [Pipeline] } [Pipeline] // configFileProvider [Pipeline] // stage [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] echo 04:18:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:18:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:18:57 ========================================================= 04:18:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:18:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:57 + docker inspect -f . ci-base-image-x86_64 04:18:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:57 prd-ubuntu20.04-docker-8c-8g-121031 does not seem to be running inside a container 04:18:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:18:57 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:18:57 $ docker top d232a478cb2e16865620e219c445c972b7893f4b072805c2ce552c8d2ae5fab2 -eo pid,comm 04:18:57 Sending build context to Docker daemon 5.591MB 04:18:57 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 04:18:57 Step 2/10 : FROM ${BASE} AS builder [Pipeline] { [Pipeline] sh 04:18:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:18:58 9b18e9b68314: Pulling fs layer 04:18:58 35d82f9e3411: Pulling fs layer 04:18:58 e16973657156: Pulling fs layer 04:18:58 fc693d55d65f: Pulling fs layer 04:18:58 7e9fc2657dce: Pulling fs layer 04:18:58 dda99020689f: Pulling fs layer 04:18:58 db1c61fa0a46: Pulling fs layer 04:18:58 891c053d2c06: Pulling fs layer 04:18:58 dda99020689f: Waiting 04:18:58 db1c61fa0a46: Waiting 04:18:58 fc693d55d65f: Waiting 04:18:58 7e9fc2657dce: Waiting 04:18:58 891c053d2c06: Waiting 04:18:58 e16973657156: Verifying Checksum 04:18:58 e16973657156: Download complete 04:18:58 35d82f9e3411: Verifying Checksum 04:18:58 35d82f9e3411: Download complete 04:18:58 7e9fc2657dce: Verifying Checksum 04:18:58 7e9fc2657dce: Download complete 04:18:58 dda99020689f: Download complete 04:18:58 9b18e9b68314: Verifying Checksum 04:18:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:18:58 + make test 04:18:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:18:59 9b18e9b68314: Pull complete 04:18:59 891c053d2c06: Verifying Checksum 04:18:59 891c053d2c06: Download complete 04:18:59 35d82f9e3411: Pull complete 04:18:59 e16973657156: Pull complete 04:19:00 db1c61fa0a46: Verifying Checksum 04:19:00 db1c61fa0a46: Download complete 04:19:00 fc693d55d65f: Download complete 04:19:04 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:19:13 fc693d55d65f: Pull complete 04:19:13 7e9fc2657dce: Pull complete 04:19:13 dda99020689f: Pull complete 04:19:18 db1c61fa0a46: Pull complete 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:19:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.057s coverage: 27.6% of statements 04:19:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.083s coverage: 78.9% of statements 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:19:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.077s coverage: 73.1% of statements 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:19:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.118s coverage: 54.4% of statements 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 04:19:19 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.1% of statements 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:19:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.761s coverage: 89.2% of statements 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:19:19 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.7% of statements 04:19:19 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:19:20 891c053d2c06: Pull complete 04:19:20 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 04:19:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:19:20 ---> f96f9c87975a 04:19:20 Step 3/10 : ARG MAKE=make build 04:19:22 ---> Running in 81dfd52ac67b 04:19:22 Removing intermediate container 81dfd52ac67b 04:19:22 ---> ed95c58ad32e 04:19:22 Step 4/10 : WORKDIR /device-sdk-go 04:19:22 ---> Running in 9a0855891662 04:19:22 Removing intermediate container 9a0855891662 04:19:22 ---> 4a532da6b8a8 04:19:22 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:19:22 ---> Running in ad60851b93e7 04:19:23 Removing intermediate container ad60851b93e7 04:19:23 ---> b359c4b8f9db 04:19:23 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:19:23 ---> Running in 374bea70982d 04:19:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:19:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:19:25 OK: 221 MiB in 51 packages 04:19:26 Removing intermediate container 374bea70982d 04:19:26 ---> 084496dc3058 04:19:26 Step 7/10 : COPY go.mod vendor* ./ 04:19:26 ---> 13cfbb19c331 04:19:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:26 ---> Running in 342de61d9242 04:19:34 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." 04:19:34 GO111MODULE=on go vet ./... 04:19:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:19:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:19:38 ./bin/test-attribution-txt.sh 04:19:38 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:19:38 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 04:19:38 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 04:19:38 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:19:38 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:19:38 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:19:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:19:38 $ docker stop --time=1 d232a478cb2e16865620e219c445c972b7893f4b072805c2ce552c8d2ae5fab2 04:19:40 $ docker rm -f d232a478cb2e16865620e219c445c972b7893f4b072805c2ce552c8d2ae5fab2 [Pipeline] // withDockerContainer [Pipeline] sh 04:19:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:19:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:19:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:19:42 + ls -al . 04:19:42 total 280 04:19:42 drwxrwxr-x 11 jenkins jenkins 4096 Dec 13 04:18 . 04:19:42 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:18 .. 04:19:42 -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 04:18 .dockerignore 04:19:42 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 04:19 .git 04:19:42 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:18 .github 04:19:42 -rw-rw-r-- 1 jenkins jenkins 131 Dec 13 04:18 .gitignore 04:19:42 -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 04:18 .golangci.yml 04:19:42 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 04:18 .semver 04:19:42 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 13 04:18 CHANGELOG.md 04:19:42 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 04:18 GOVERNANCE.md 04:19:42 -rw-rw-r-- 1 jenkins jenkins 880 Dec 13 04:18 Jenkinsfile 04:19:42 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 04:18 LICENSE 04:19:42 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 13 04:18 Makefile 04:19:42 -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 04:18 OWNERS.md 04:19:42 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 13 04:18 README.md 04:19:42 -rw-rw-r-- 1 jenkins jenkins 11 Dec 13 04:18 VERSION 04:19:42 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:18 bin 04:19:42 -rw-r--r-- 1 jenkins jenkins 101759 Dec 13 04:19 coverage.out 04:19:42 drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 04:18 example 04:19:42 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 13 04:18 go.mod 04:19:42 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 13 04:18 go.sum 04:19:42 drwxrwxr-x 14 jenkins jenkins 4096 Dec 13 04:18 internal 04:19:42 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:18 openapi 04:19:42 drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 04:18 pkg 04:19:42 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:18 snap 04:19:42 -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 04:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:42 + 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=bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb --label arch=amd64 --label version=3.0.0-dev.2 . 04:19:42 Sending build context to Docker daemon 10.51MB 04:19:42 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:19:42 Step 2/23 : FROM ${BASE} AS builder 04:19:42 ---> 03027ad28704 04:19:42 Step 3/23 : ARG MAKE=make build 04:19:42 ---> Running in 448cd028765d 04:19:42 Removing intermediate container 448cd028765d 04:19:42 ---> 8c8b1f7c6193 04:19:42 Step 4/23 : WORKDIR /device-sdk-go 04:19:42 ---> Running in 70de58765079 04:19:42 Removing intermediate container 70de58765079 04:19:42 ---> e9498b7550e3 04:19:42 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:19:42 ---> Running in 8d9a59a0feed 04:19:43 Removing intermediate container 8d9a59a0feed 04:19:43 ---> bbdd3666b900 04:19:43 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:19:43 ---> Running in 7b4999674f82 04:19:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:19:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:19:43 OK: 211 MiB in 51 packages 04:19:44 Removing intermediate container 7b4999674f82 04:19:44 ---> 2b820da699e3 04:19:44 Step 7/23 : COPY go.mod vendor* ./ 04:19:44 ---> 861e939ca78e 04:19:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:19:44 ---> Running in 77ac80d521d5 04:19:44 Removing intermediate container 77ac80d521d5 04:19:44 ---> 29c70ba14e08 04:19:44 Step 9/23 : COPY . . 04:19:45 ---> effc044fdefe 04:19:45 Step 10/23 : RUN ${MAKE} 04:19:45 ---> Running in b947220d5ad8 04:19:45 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:20:03 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:20:06 Removing intermediate container b947220d5ad8 04:20:06 ---> abed6bb4f027 04:20:06 Step 11/23 : FROM alpine:3.16 04:20:06 3.16: Pulling from library/alpine 04:20:06 ca7dd9ec2225: Pulling fs layer 04:20:07 ca7dd9ec2225: Verifying Checksum 04:20:07 ca7dd9ec2225: Download complete 04:20:07 ca7dd9ec2225: Pull complete 04:20:07 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:20:07 Status: Downloaded newer image for alpine:3.16 04:20:07 ---> bfe296a52501 04:20:07 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:20:07 ---> Running in 45712b5824f3 04:20:07 Removing intermediate container 45712b5824f3 04:20:07 ---> df4c66590714 04:20:07 Step 13/23 : RUN apk add --update --no-cache zeromq 04:20:07 ---> Running in bb74dc5be486 04:20:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:20:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:20:08 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:20:08 (2/5) Installing libsodium (1.0.18-r0) 04:20:08 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:20:08 (4/5) Installing libzmq (4.3.4-r0) 04:20:08 (5/5) Installing zeromq (4.3.4-r0) 04:20:08 Executing busybox-1.35.0-r17.trigger 04:20:08 OK: 8 MiB in 19 packages 04:20:09 Removing intermediate container bb74dc5be486 04:20:09 ---> f6fc34bd2a4f 04:20:09 Step 14/23 : WORKDIR / 04:20:09 ---> Running in 77d6db2a042f 04:20:09 Removing intermediate container 77d6db2a042f 04:20:09 ---> f58bdd96461d 04:20:09 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:20:09 ---> d5b2f5953e8a 04:20:09 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:20:09 ---> 02794a50808b 04:20:09 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:20:09 ---> 8b50d391a593 04:20:09 Step 18/23 : EXPOSE 59999 04:20:09 ---> Running in c7cee71bb1a5 04:20:09 Removing intermediate container c7cee71bb1a5 04:20:09 ---> 8582ae8aa074 04:20:09 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:20:09 ---> Running in bcfa0718c6c7 04:20:10 Removing intermediate container bcfa0718c6c7 04:20:10 ---> fce157558459 04:20:10 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:20:10 ---> Running in 737e700452b1 04:20:10 Removing intermediate container 737e700452b1 04:20:10 ---> e375eb00c2e4 04:20:10 Step 21/23 : LABEL arch=amd64 04:20:10 ---> Running in 4aad2d676fb3 04:20:10 Removing intermediate container 4aad2d676fb3 04:20:10 ---> 52aa9c649239 04:20:10 Step 22/23 : LABEL git_sha=bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb 04:20:10 ---> Running in e613a774dd0f 04:20:10 Removing intermediate container e613a774dd0f 04:20:10 ---> 9c0468ca0436 04:20:10 Step 23/23 : LABEL version=3.0.0-dev.2 04:20:10 ---> Running in f381d3cbaf0c 04:20:10 Removing intermediate container f381d3cbaf0c 04:20:10 ---> 0a8e68465a11 04:20:10 [Warning] One or more build-args [ARCH] were not consumed 04:20:10 Successfully built 0a8e68465a11 04:20:10 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 04:20:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:10 04:20:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:11 latest: Pulling from edgex-lftools-log-publisher 04:20:11 5eb5b503b376: Pulling fs layer 04:20:11 5c69ac0246d0: Pulling fs layer 04:20:11 ec43610c2a17: Pulling fs layer 04:20:11 3a2ae6a8a46f: Pulling fs layer 04:20:11 33b1e0a273af: Pulling fs layer 04:20:11 5d3b04190fa2: Pulling fs layer 04:20:11 2f39f015ded8: Pulling fs layer 04:20:11 33b1e0a273af: Waiting 04:20:11 5d3b04190fa2: Waiting 04:20:11 2f39f015ded8: Waiting 04:20:11 3a2ae6a8a46f: Waiting 04:20:11 5c69ac0246d0: Verifying Checksum 04:20:11 5c69ac0246d0: Download complete 04:20:11 3a2ae6a8a46f: Download complete 04:20:11 33b1e0a273af: Verifying Checksum 04:20:11 33b1e0a273af: Download complete 04:20:11 5d3b04190fa2: Verifying Checksum 04:20:11 5d3b04190fa2: Download complete 04:20:11 ec43610c2a17: Verifying Checksum 04:20:11 ec43610c2a17: Download complete 04:20:11 5eb5b503b376: Verifying Checksum 04:20:11 5eb5b503b376: Download complete 04:20:12 2f39f015ded8: Download complete 04:20:12 5eb5b503b376: Pull complete 04:20:12 5c69ac0246d0: Pull complete 04:20:13 ec43610c2a17: Pull complete 04:20:13 3a2ae6a8a46f: Pull complete 04:20:13 33b1e0a273af: Pull complete 04:20:13 5d3b04190fa2: Pull complete 04:20:17 2f39f015ded8: Pull complete 04:20:17 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:20:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:17 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:17 prd-ubuntu20.04-docker-8c-8g-121031 does not seem to be running inside a container 04:20:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:20:20 $ docker top 2723d3e11d8513406094245ba6ff388019a92a558ef80b49f8967b910d616369 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:20 ---> job-cost.sh 04:20:20 lf-activate-venv: SKIPPING 04:20:20 INFO: No Stack... 04:20:21 INFO: Retrieving Pricing Info for: v3-standard-8 04:20:21 INFO: Archiving Costs [Pipeline] sh 04:20:21 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:20:21 + cut -d, -f6 [Pipeline] lock 04:20:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-132-stack-cost] 04:20:21 Resource [jenkins-edgexfoundry-device-sdk-go-main-132-stack-cost] did not exist. Created. 04:20:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:20:22 + echo total: 0.2199999988079071 [Pipeline] stash 04:20:22 Stashed 1 file(s) [Pipeline] } 04:20:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } 04:20:22 $ docker stop --time=1 2723d3e11d8513406094245ba6ff388019a92a558ef80b49f8967b910d616369 04:20:23 $ docker rm -f 2723d3e11d8513406094245ba6ff388019a92a558ef80b49f8967b910d616369 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:20:23 Removing intermediate container 342de61d9242 04:20:23 ---> b08df34e392b 04:20:23 Step 9/10 : COPY . . 04:20:23 ---> 8844fdc7675c 04:20:23 Step 10/10 : RUN ${MAKE} 04:20:23 ---> Running in 3c6ef9bc859f 04:20:23 noop 04:20:23 Removing intermediate container 3c6ef9bc859f 04:20:23 ---> 3ded66203ae8 04:20:23 Successfully built 3ded66203ae8 04:20:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:23 + docker inspect -f . ci-base-image-arm64 04:20:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:24 prd-ubuntu20.04-docker-arm64-4c-16g-121035 does not seem to be running inside a container 04:20:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/132 -v /w/workspace/device-sdk-go/132:/w/workspace/device-sdk-go/132:rw,z -v /w/workspace/device-sdk-go/132@tmp:/w/workspace/device-sdk-go/132@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:20:25 $ docker top bce12667526152f54764c42c236fdc1208521fbd08f0496ad68675537dc19028 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:26 + go version 04:20:26 go version go1.18.7 linux/arm64 [Pipeline] } 04:20:26 $ docker stop --time=1 bce12667526152f54764c42c236fdc1208521fbd08f0496ad68675537dc19028 04:20:27 $ docker rm -f bce12667526152f54764c42c236fdc1208521fbd08f0496ad68675537dc19028 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:28 + docker inspect -f . ci-base-image-arm64 04:20:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:28 prd-ubuntu20.04-docker-arm64-4c-16g-121035 does not seem to be running inside a container 04:20:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/132 -v /w/workspace/device-sdk-go/132:/w/workspace/device-sdk-go/132:rw,z -v /w/workspace/device-sdk-go/132@tmp:/w/workspace/device-sdk-go/132@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:20:29 $ docker top 2c4fe3bb3e025f454025bd75cd3d0ae5af4a920dec843b8ea50307ffece6a1d0 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:30 + git config --global --add safe.directory /w/workspace/device-sdk-go/132 [Pipeline] fileExists [Pipeline] sh 04:20:30 + make test 04:20:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:21:02 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:22:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:22:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:22:39 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:22:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:22:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:22:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.220s coverage: 27.6% of statements 04:22:46 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.276s coverage: 78.9% of statements 04:22:46 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 04:22:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.371s coverage: 73.1% of statements 04:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:22:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:22:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.503s coverage: 54.4% of statements 04:22:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:22:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 04:22:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 04:22:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 04:22:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.420s coverage: 65.1% of statements 04:22:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:22:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:22:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.337s coverage: 89.2% of statements 04:22:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 04:22:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.267s coverage: 4.7% of statements 04:22:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:22:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:22:55 GO111MODULE=on go vet ./... 04:24:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:24:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:24:16 ./bin/test-attribution-txt.sh 04:24:16 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:24:16 An attribution for github.com/edgexfoundry/go-mod-configuration/v3 is missing from Attribution.txt, please add 04:24:16 An attribution for github.com/edgexfoundry/go-mod-secrets/v3 is missing from Attribution.txt, please add 04:24:16 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:24:16 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:24:16 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:24:17 $ docker stop --time=1 2c4fe3bb3e025f454025bd75cd3d0ae5af4a920dec843b8ea50307ffece6a1d0 04:24:18 $ docker rm -f 2c4fe3bb3e025f454025bd75cd3d0ae5af4a920dec843b8ea50307ffece6a1d0 [Pipeline] // withDockerContainer [Pipeline] sh 04:24:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:24:20 Warning: overwriting stash ‘coverage-report’ 04:24:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:24:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:24:21 + ls -al . 04:24:21 total 276 04:24:21 drwxrwxr-x 10 jenkins jenkins 4096 Dec 13 04:20 . 04:24:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:18 .. 04:24:21 -rw-rw-r-- 1 jenkins jenkins 140 Dec 13 04:18 .dockerignore 04:24:21 drwxrwxr-x 8 jenkins jenkins 4096 Dec 13 04:18 .git 04:24:21 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:18 .github 04:24:21 -rw-rw-r-- 1 jenkins jenkins 131 Dec 13 04:18 .gitignore 04:24:21 -rw-rw-r-- 1 jenkins jenkins 42 Dec 13 04:18 .golangci.yml 04:24:21 -rw-rw-r-- 1 jenkins jenkins 31677 Dec 13 04:18 CHANGELOG.md 04:24:21 -rw-rw-r-- 1 jenkins jenkins 677 Dec 13 04:18 GOVERNANCE.md 04:24:21 -rw-rw-r-- 1 jenkins jenkins 880 Dec 13 04:18 Jenkinsfile 04:24:21 -rw-rw-r-- 1 jenkins jenkins 11341 Dec 13 04:18 LICENSE 04:24:21 -rw-rw-r-- 1 jenkins jenkins 2003 Dec 13 04:18 Makefile 04:24:21 -rw-rw-r-- 1 jenkins jenkins 619 Dec 13 04:18 OWNERS.md 04:24:21 -rw-rw-r-- 1 jenkins jenkins 4881 Dec 13 04:18 README.md 04:24:21 -rw-rw-r-- 1 jenkins jenkins 11 Dec 13 04:18 VERSION 04:24:21 drwxrwxr-x 2 jenkins jenkins 4096 Dec 13 04:18 bin 04:24:21 -rw-r--r-- 1 jenkins jenkins 101759 Dec 13 04:22 coverage.out 04:24:21 drwxrwxr-x 5 jenkins jenkins 4096 Dec 13 04:18 example 04:24:21 -rw-rw-r-- 1 jenkins jenkins 3342 Dec 13 04:18 go.mod 04:24:21 -rw-rw-r-- 1 jenkins jenkins 44555 Dec 13 04:18 go.sum 04:24:21 drwxrwxr-x 14 jenkins jenkins 4096 Dec 13 04:18 internal 04:24:21 drwxrwxr-x 3 jenkins jenkins 4096 Dec 13 04:18 openapi 04:24:21 drwxrwxr-x 6 jenkins jenkins 4096 Dec 13 04:18 pkg 04:24:21 drwxrwxr-x 4 jenkins jenkins 4096 Dec 13 04:18 snap 04:24:21 -rw-rw-r-- 1 jenkins jenkins 222 Dec 13 04:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:24:21 + 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=bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb --label arch=arm64 --label version=3.0.0-dev.2 . 04:24:21 Sending build context to Docker daemon 5.693MB 04:24:21 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 04:24:21 Step 2/23 : FROM ${BASE} AS builder 04:24:21 ---> 3ded66203ae8 04:24:21 Step 3/23 : ARG MAKE=make build 04:24:22 ---> Running in 73ef6295cc71 04:24:22 Removing intermediate container 73ef6295cc71 04:24:22 ---> 5e0965898b40 04:24:22 Step 4/23 : WORKDIR /device-sdk-go 04:24:22 ---> Running in 2fa727bf76df 04:24:22 Removing intermediate container 2fa727bf76df 04:24:22 ---> 6d0128884794 04:24:22 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:24:22 ---> Running in bc1ceb97fac3 04:24:23 Removing intermediate container bc1ceb97fac3 04:24:23 ---> 4792a19a2d09 04:24:23 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:24:23 ---> Running in a1e487e898be 04:24:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:24:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:24:25 OK: 221 MiB in 51 packages 04:24:26 Removing intermediate container a1e487e898be 04:24:26 ---> 55711570903b 04:24:26 Step 7/23 : COPY go.mod vendor* ./ 04:24:27 ---> 1b47968b1feb 04:24:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:24:27 ---> Running in 619fd679e5af 04:24:28 Removing intermediate container 619fd679e5af 04:24:28 ---> 4c5690ea5b8e 04:24:28 Step 9/23 : COPY . . 04:24:29 ---> 84a30eaf6296 04:24:29 Step 10/23 : RUN ${MAKE} 04:24:29 ---> Running in f6787bc610cb 04:24:30 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.2" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:26:37 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:26:37 Removing intermediate container f6787bc610cb 04:26:37 ---> 071e5e884652 04:26:37 Step 11/23 : FROM alpine:3.16 04:26:37 3.16: Pulling from library/alpine 04:26:37 6875df1f5354: Pulling fs layer 04:26:37 6875df1f5354: Verifying Checksum 04:26:37 6875df1f5354: Download complete 04:26:37 6875df1f5354: Pull complete 04:26:37 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 04:26:37 Status: Downloaded newer image for alpine:3.16 04:26:37 ---> 2b4661558fb8 04:26:37 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:26:37 ---> Running in 5dae50eb12aa 04:26:37 Removing intermediate container 5dae50eb12aa 04:26:37 ---> 9992fc03ff18 04:26:37 Step 13/23 : RUN apk add --update --no-cache zeromq 04:26:37 ---> Running in 31b375e88969 04:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:26:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:26:37 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:26:37 (2/5) Installing libsodium (1.0.18-r0) 04:26:37 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:26:37 (4/5) Installing libzmq (4.3.4-r0) 04:26:37 (5/5) Installing zeromq (4.3.4-r0) 04:26:37 Executing busybox-1.35.0-r17.trigger 04:26:37 OK: 8 MiB in 19 packages 04:26:38 Removing intermediate container 31b375e88969 04:26:38 ---> 3d214d4f3ed3 04:26:38 Step 14/23 : WORKDIR / 04:26:38 ---> Running in 484a311a2231 04:26:39 Removing intermediate container 484a311a2231 04:26:39 ---> 0f1026be521b 04:26:39 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:26:39 ---> b6b059f22f21 04:26:39 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:26:41 ---> 40a2d09e8690 04:26:41 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:26:41 ---> ee67399a5017 04:26:41 Step 18/23 : EXPOSE 59999 04:26:41 ---> Running in 874e2b023d6d 04:26:42 Removing intermediate container 874e2b023d6d 04:26:42 ---> a29f273d2821 04:26:42 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:26:42 ---> Running in 2cb852d12b41 04:26:42 Removing intermediate container 2cb852d12b41 04:26:42 ---> b5b65c707988 04:26:42 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:26:42 ---> Running in 0d45b80f620e 04:26:42 Removing intermediate container 0d45b80f620e 04:26:42 ---> a1fb7e256c70 04:26:42 Step 21/23 : LABEL arch=arm64 04:26:42 ---> Running in a583b6870af7 04:26:43 Removing intermediate container a583b6870af7 04:26:43 ---> 834a69cc5005 04:26:43 Step 22/23 : LABEL git_sha=bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb 04:26:43 ---> Running in 9cdcab40d047 04:26:43 Removing intermediate container 9cdcab40d047 04:26:43 ---> b89b6b14bd7e 04:26:43 Step 23/23 : LABEL version=3.0.0-dev.2 04:26:43 ---> Running in 33fae3d6e0c8 04:26:43 Removing intermediate container 33fae3d6e0c8 04:26:43 ---> 5575640eb1fb 04:26:43 [Warning] One or more build-args [ARCH] were not consumed 04:26:43 Successfully built 5575640eb1fb 04:26:43 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:44 04:26:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:26:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:26:44 arm64: Pulling from edgex-lftools-log-publisher 04:26:44 8998bd30e6a1: Pulling fs layer 04:26:44 04944245beec: Pulling fs layer 04:26:44 699f458cf7ca: Pulling fs layer 04:26:44 765212b225bb: Pulling fs layer 04:26:44 f23df028b6ca: Pulling fs layer 04:26:44 d65c8cfc05b1: Pulling fs layer 04:26:44 2437ff75d9bd: Pulling fs layer 04:26:44 f23df028b6ca: Waiting 04:26:44 d65c8cfc05b1: Waiting 04:26:44 2437ff75d9bd: Waiting 04:26:44 765212b225bb: Waiting 04:26:44 04944245beec: Verifying Checksum 04:26:44 04944245beec: Download complete 04:26:44 765212b225bb: Verifying Checksum 04:26:44 765212b225bb: Download complete 04:26:44 f23df028b6ca: Verifying Checksum 04:26:44 f23df028b6ca: Download complete 04:26:44 d65c8cfc05b1: Verifying Checksum 04:26:44 d65c8cfc05b1: Download complete 04:26:45 699f458cf7ca: Verifying Checksum 04:26:45 699f458cf7ca: Download complete 04:26:45 8998bd30e6a1: Verifying Checksum 04:26:45 8998bd30e6a1: Download complete 04:26:47 2437ff75d9bd: Verifying Checksum 04:26:47 2437ff75d9bd: Download complete 04:26:49 8998bd30e6a1: Pull complete 04:26:49 04944245beec: Pull complete 04:26:51 699f458cf7ca: Pull complete 04:26:51 765212b225bb: Pull complete 04:26:52 f23df028b6ca: Pull complete 04:26:52 d65c8cfc05b1: Pull complete 04:27:07 2437ff75d9bd: Pull complete 04:27:07 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:27:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:27:07 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:07 prd-ubuntu20.04-docker-arm64-4c-16g-121035 does not seem to be running inside a container 04:27:07 $ 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/132 -v /w/workspace/device-sdk-go/132:/w/workspace/device-sdk-go/132:rw,z -v /w/workspace/device-sdk-go/132@tmp:/w/workspace/device-sdk-go/132@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:27:11 $ docker top 2aba9fa4a481b4cf445fd561bde7ff9e4c3943368bb1b58a72f8bf98063f4fe2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:11 ---> job-cost.sh 04:27:11 lf-activate-venv: SKIPPING 04:27:11 INFO: No Stack... 04:27:12 INFO: Retrieving Pricing Info for: v3-standard-4 04:27:13 INFO: Archiving Costs [Pipeline] sh 04:27:13 + cat /w/workspace/device-sdk-go/132/archives/cost.csv 04:27:13 + cut -d, -f6 [Pipeline] lock 04:27:13 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-132-stack-cost] 04:27:13 Resource [jenkins-edgexfoundry-device-sdk-go-main-132-stack-cost] did not exist. Created. 04:27:13 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-132-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:27:14 /w/workspace/device-sdk-go/132@tmp/durable-49a83ef4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:27:14 + echo total: 0.10999999940395355 [Pipeline] stash 04:27:14 Warning: overwriting stash ‘stack-cost’ 04:27:14 Stashed 1 file(s) [Pipeline] } 04:27:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-132-stack-cost] [Pipeline] // lock [Pipeline] } 04:27:14 $ docker stop --time=1 2aba9fa4a481b4cf445fd561bde7ff9e4c3943368bb1b58a72f8bf98063f4fe2 04:27:15 $ docker rm -f 2aba9fa4a481b4cf445fd561bde7ff9e4c3943368bb1b58a72f8bf98063f4fe2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:27:16 provisioning config files... 04:27:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9278684944165847687tmp [Pipeline] { [Pipeline] sh 04:27:16 + set +x 04:27:16 + curl -s https://codecov.io/bash 04:27:16 + bash -s -- 04:27:16 04:27:16 _____ _ 04:27:16 / ____| | | 04:27:16 | | ___ __| | ___ ___ _____ __ 04:27:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:27:16 | |___| (_) | (_| | __/ (_| (_) \ V / 04:27:16 \_____\___/ \__,_|\___|\___\___/ \_/ 04:27:16 Bash-1.0.6 04:27:16 04:27:16 04:27:16 ==> git version 2.25.1 found 04:27:16 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:27:16 Release-Date: 2020-01-08 04:27:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:27:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:27:16 ==> Jenkins CI detected. 04:27:16 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:27:16 project root: . 04:27:16 --> token set from env 04:27:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:27:16 ==> Running gcov in . (disable via -X gcov) 04:27:16 ==> Python coveragepy not found 04:27:16 ==> Searching for coverage reports in: 04:27:16 + . 04:27:16 -> Found 1 reports 04:27:16 ==> Detecting git/mercurial file structure 04:27:16 ==> Reading reports 04:27:16 + ./coverage.out bytes=101759 04:27:16 ==> Appending adjustments 04:27:16 https://docs.codecov.io/docs/fixing-reports 04:27:17 + Found adjustments 04:27:17 ==> Gzipping contents 04:27:17 16K /tmp/codecov.h1ntLM.gz 04:27:17 ==> Uploading reports 04:27:17 url: https://codecov.io 04:27:17 query: branch=main&commit=bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:27:17 -> Pinging Codecov 04:27:17 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=bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb&build=132&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F132%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:27:17 -> Uploading to 04:27:17 https://storage.googleapis.com/codecov/v4/raw/2022-12-13/7E55EF52A471D76F132DFD9A03CDDE97/bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb/bf117f6b-c25f-4a0d-9b3f-4e83a29959e6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221213%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221213T042717Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a2f270cda0defb9b1f67b8bae27c4935d4b7bcb5658eb02854fd329e9feedc9 04:27:17 % Total % Received % Xferd Average Speed Time Time Time Current 04:27:17 Dload Upload Total Spent Left Speed 04:27:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14732 0 0 100 14732 0 50800 --:--:-- --:--:-- --:--:-- 50625 100 14732 0 0 100 14732 0 50800 --:--:-- --:--:-- --:--:-- 50625 04:27:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb [Pipeline] } 04:27:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:27:18 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:27:18 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:27:18 04:27:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:27:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:27:18 df9b9388f04a: Pulling fs layer 04:27:18 52dc419b0ee2: Pulling fs layer 04:27:18 25bc292e5bac: Pulling fs layer 04:27:18 114826534d7a: Pulling fs layer 04:27:18 4657fd5d0bcf: Pulling fs layer 04:27:18 6ad1cebc031e: Pulling fs layer 04:27:18 8a3aa393b2d8: Pulling fs layer 04:27:18 114826534d7a: Waiting 04:27:18 4657fd5d0bcf: Waiting 04:27:18 6ad1cebc031e: Waiting 04:27:18 8a3aa393b2d8: Waiting 04:27:18 25bc292e5bac: Verifying Checksum 04:27:18 25bc292e5bac: Download complete 04:27:18 52dc419b0ee2: Download complete 04:27:18 4657fd5d0bcf: Verifying Checksum 04:27:18 4657fd5d0bcf: Download complete 04:27:18 df9b9388f04a: Download complete 04:27:18 6ad1cebc031e: Verifying Checksum 04:27:18 6ad1cebc031e: Download complete 04:27:18 df9b9388f04a: Pull complete 04:27:19 52dc419b0ee2: Pull complete 04:27:19 25bc292e5bac: Pull complete 04:27:19 114826534d7a: Verifying Checksum 04:27:19 114826534d7a: Download complete 04:27:19 8a3aa393b2d8: Verifying Checksum 04:27:19 8a3aa393b2d8: Download complete 04:27:24 114826534d7a: Pull complete 04:27:24 4657fd5d0bcf: Pull complete 04:27:24 6ad1cebc031e: Pull complete 04:27:27 8a3aa393b2d8: Pull complete 04:27:27 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:27:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:27:27 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:27 prd-ubuntu20.04-docker-8c-8g-121031 does not seem to be running inside a container 04:27:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 04:27:32 $ docker top e800c7b81887dfbc66654b4ac0cc49ad5ddcc6bddf4d714836bd86c84f5e1351 -eo pid,comm [Pipeline] { [Pipeline] echo 04:27:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:27:32 + set -o pipefail 04:27:32 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:27:39 04:27:39 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 04:27:39 04:27:39 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/d80c7263-1726-413c-a16c-e269a048bab2 04:27:39 04:27:39 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:27:39 04:27:39 04:27:39 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:27:39 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:27:39 More details here: https://snyk.co/ue1NS [Pipeline] } 04:27:39 $ docker stop --time=1 e800c7b81887dfbc66654b4ac0cc49ad5ddcc6bddf4d714836bd86c84f5e1351 04:27:43 $ docker rm -f e800c7b81887dfbc66654b4ac0cc49ad5ddcc6bddf4d714836bd86c84f5e1351 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 04:27:43 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:27:43 provisioning config files... 04:27:43 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7906964777819830034tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:27:43 --> edgex-publish-swagger.sh 04:27:43 === Publish openapi/v2 API === 04:27:43 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 04:27:43 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 04:27:43 % Total % Received % Xferd Average Speed Time Time Time Current 04:27:43 Dload Upload Total Spent Left Speed 04:27:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53590 100 38 100 53552 75 103k --:--:-- --:--:-- --:--:-- 103k 04:27:44 {"code":403,"message":"Access Denied"} 04:27:44 [Pipeline] } 04:27:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:27:44 + git log --format=format:%s -1 bc74d3614c21265a7d6bf664439ef5d1a3bf6fbb [Pipeline] sh 04:27:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:27:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:27:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:27:45 prd-ubuntu20.04-docker-8c-8g-121031 does not seem to be running inside a container 04:27:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:27:46 $ docker top 0288f7eeeca3c2993e4a7fa5499ba04709b82ff98406b315b28c45e343cabad6 -eo pid,comm 04:27:46 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:27:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:27:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:27:46 [ssh-agent] Looking for ssh-agent implementation... 04:27:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:27:46 $ docker exec 0288f7eeeca3c2993e4a7fa5499ba04709b82ff98406b315b28c45e343cabad6 ssh-agent 04:27:46 SSH_AUTH_SOCK=/tmp/ssh-2wCxpwLOr9I7/agent.32 04:27:46 SSH_AGENT_PID=38 04:27:46 Running ssh-add (command line suppressed) 04:27:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15952478916379096237.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15952478916379096237.key) 04:27:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:27:46 + git semver tag 04:27:47 2022-12-13 04:27:47,077 [run_tag] DEBUG tag force:False 04:27:47 2022-12-13 04:27:47,078 [check_head_tag] DEBUG check head tag 04:27:47 2022-12-13 04:27:47,080 [execute] INFO git cat-file --batch-check 04:27:47 2022-12-13 04:27:47,081 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:27:47 2022-12-13 04:27:47,086 [execute] INFO git cat-file --batch 04:27:47 2022-12-13 04:27:47,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:27:47 2022-12-13 04:27:47,110 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:47 2022-12-13 04:27:47,110 [execute] INFO git tag -a v3.0.0-dev.2 -m v3.0.0-dev.2 04:27:47 2022-12-13 04:27:47,110 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.2', '-m', 'v3.0.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:27:47 2022-12-13 04:27:47,115 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:27:47 3.0.0-dev.2 [Pipeline] } 04:27:47 $ docker exec --env ******** --env ******** 0288f7eeeca3c2993e4a7fa5499ba04709b82ff98406b315b28c45e343cabad6 ssh-agent -k 04:27:47 unset SSH_AUTH_SOCK; 04:27:47 unset SSH_AGENT_PID; 04:27:47 echo Agent pid 38 killed; 04:27:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:27:47 + git semver [Pipeline] } 04:27:48 $ docker stop --time=1 0288f7eeeca3c2993e4a7fa5499ba04709b82ff98406b315b28c45e343cabad6 04:27:49 $ docker rm -f 0288f7eeeca3c2993e4a7fa5499ba04709b82ff98406b315b28c45e343cabad6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:27:49 04:27:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:27:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:27:50 0.23.1-centos7: Pulling from edgex-lftools 04:27:50 ab5ef0e58194: Pulling fs layer 04:27:50 9712f1f96733: Pulling fs layer 04:27:50 63f879dbbcfc: Pulling fs layer 04:27:50 0d9ebad4ef96: Pulling fs layer 04:27:50 e9a5061849ea: Pulling fs layer 04:27:50 d747dcd14b5f: Pulling fs layer 04:27:50 2de7ff778b66: Pulling fs layer 04:27:50 0d9ebad4ef96: Waiting 04:27:50 d747dcd14b5f: Waiting 04:27:50 e9a5061849ea: Waiting 04:27:50 9712f1f96733: Verifying Checksum 04:27:50 9712f1f96733: Download complete 04:27:50 63f879dbbcfc: Verifying Checksum 04:27:50 63f879dbbcfc: Download complete 04:27:51 e9a5061849ea: Verifying Checksum 04:27:51 e9a5061849ea: Download complete 04:27:51 d747dcd14b5f: Verifying Checksum 04:27:51 d747dcd14b5f: Download complete 04:27:51 0d9ebad4ef96: Verifying Checksum 04:27:51 0d9ebad4ef96: Download complete 04:27:51 ab5ef0e58194: Verifying Checksum 04:27:51 ab5ef0e58194: Download complete 04:27:51 2de7ff778b66: Verifying Checksum 04:27:51 2de7ff778b66: Download complete 04:27:54 ab5ef0e58194: Pull complete 04:27:54 9712f1f96733: Pull complete 04:27:55 63f879dbbcfc: Pull complete 04:27:58 0d9ebad4ef96: Pull complete 04:27:58 e9a5061849ea: Pull complete 04:27:59 d747dcd14b5f: Pull complete 04:28:00 2de7ff778b66: Pull complete 04:28:00 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:28:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:28:00 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:00 prd-ubuntu20.04-docker-8c-8g-121031 does not seem to be running inside a container 04:28:00 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:28:05 $ docker top 76a0991ace3a7c40d9cb5c5222862d62956537bb461e94427617888352c85114 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:28:05 provisioning config files... 04:28:05 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14439423717709298588tmp 04:28:05 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6360438014529842028tmp 04:28:05 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12729772021882184882tmp [Pipeline] { [Pipeline] echo 04:28:05 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:28:05 ---> sigul-configuration.sh 04:28:05 gpg: directory `/root/.gnupg' created 04:28:05 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:28:05 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:28:05 gpg: keyring `/root/.gnupg/secring.gpg' created 04:28:05 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:28:05 gpg: CAST5 encrypted data 04:28:05 gpg: encrypted with 1 passphrase 04:28:05 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:28:05 + mkdir /home/jenkins 04:28:05 + mkdir /home/jenkins/sigul [Pipeline] sh 04:28:06 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:28:06 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:28:06 ---> sigul-install.sh 04:28:06 Sigul already installed; skipping installation. [Pipeline] sh 04:28:06 + git tag --list 04:28:06 0.7.1 04:28:06 delhi-tag 04:28:06 v1.0.0 04:28:06 v1.1.0 04:28:06 v1.1.1 04:28:06 v1.1.2 04:28:06 v1.2.0 04:28:06 v1.2.1 04:28:06 v1.2.2 04:28:06 v1.2.3 04:28:06 v1.3.0 04:28:06 v1.4.0 04:28:06 v2.0.0 04:28:06 v2.1.0 04:28:06 v2.1.1 04:28:06 v2.1.1-dev.2 04:28:06 v2.1.1-dev.3 04:28:06 v2.2.0 04:28:06 v2.2.1-dev.1 04:28:06 v2.2.1-dev.10 04:28:06 v2.2.1-dev.11 04:28:06 v2.2.1-dev.12 04:28:06 v2.2.1-dev.13 04:28:06 v2.2.1-dev.14 04:28:06 v2.2.1-dev.2 04:28:06 v2.2.1-dev.3 04:28:06 v2.2.1-dev.4 04:28:06 v2.2.1-dev.5 04:28:06 v2.2.1-dev.6 04:28:06 v2.2.1-dev.7 04:28:06 v2.2.1-dev.8 04:28:06 v2.2.1-dev.9 04:28:06 v2.3.0 04:28:06 v2.3.0-dev.14 04:28:06 v2.3.0-dev.15 04:28:06 v2.3.0-dev.16 04:28:06 v2.3.0-dev.17 04:28:06 v2.3.0-dev.18 04:28:06 v2.3.0-dev.19 04:28:06 v2.3.0-dev.20 04:28:06 v2.3.0-dev.21 04:28:06 v2.3.0-dev.22 04:28:06 v2.3.0-dev.23 04:28:06 v2.3.0-dev.24 04:28:06 v2.3.0-dev.25 04:28:06 v2.3.0-dev.26 04:28:06 v2.3.0-dev.27 04:28:06 v2.3.0-dev.28 04:28:06 v2.3.0-dev.29 04:28:06 v2.3.0-dev.30 04:28:06 v2.3.0-dev.31 04:28:06 v2.3.0-dev.32 04:28:06 v2.3.0-dev.33 04:28:06 v2.3.0-dev.34 04:28:06 v2.3.0-dev.35 04:28:06 v2.3.0-dev.36 04:28:06 v2.3.0-dev.37 04:28:06 v2.3.0-dev.38 04:28:06 v2.3.0-dev.39 04:28:06 v2.3.0-dev.40 04:28:06 v2.3.0-dev.41 04:28:06 v2.3.0-dev.42 04:28:06 v2.3.0-dev.43 04:28:06 v2.3.0-dev.44 04:28:06 v2.3.0-dev.45 04:28:06 v2.3.0-dev.46 04:28:06 v2.3.0-dev.47 04:28:06 v2.3.0-dev.48 04:28:06 v2.3.0-dev.49 04:28:06 v2.3.0-dev.50 04:28:06 v2.3.0-dev.51 04:28:06 v2.3.1-dev.1 04:28:06 v2.3.1-dev.2 04:28:06 v3.0.0-dev.1 04:28:06 v3.0.0-dev.2 [Pipeline] sh 04:28:06 + lftools sign git-tag v3.0.0-dev.2 04:28:07 Signing Git tag with Sigul... 04:28:07 Signing v3.0.0-dev.2 [Pipeline] echo 04:28:08 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:28:08 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:28:08 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:28:08 $ docker stop --time=1 76a0991ace3a7c40d9cb5c5222862d62956537bb461e94427617888352c85114 04:28:09 $ docker rm -f 76a0991ace3a7c40d9cb5c5222862d62956537bb461e94427617888352c85114 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:28:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:28:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:10 prd-ubuntu20.04-docker-8c-8g-121031 does not seem to be running inside a container 04:28:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:28:11 $ docker top 954cb7e396a55c59c1eece45dce15fd9bad35d1dcef22dff9461fd3e899182ea -eo pid,comm 04:28:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:28:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:28:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:11 [ssh-agent] Looking for ssh-agent implementation... 04:28:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:11 $ docker exec 954cb7e396a55c59c1eece45dce15fd9bad35d1dcef22dff9461fd3e899182ea ssh-agent 04:28:11 SSH_AUTH_SOCK=/tmp/ssh-artViqWZG6sa/agent.32 04:28:11 SSH_AGENT_PID=38 04:28:11 Running ssh-add (command line suppressed) 04:28:11 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10678677993395161050.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_10678677993395161050.key) 04:28:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:11 + git semver bump pre 04:28:12 2022-12-13 04:28:12,130 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:28:12 2022-12-13 04:28:12,130 [bump_version] DEBUG bumping version:3.0.0-dev.2 on axis:pre with prefix:dev 04:28:12 2022-12-13 04:28:12,130 [bump_version] DEBUG bumped version:3.0.0-dev.3 04:28:12 2022-12-13 04:28:12,130 [write_version] DEBUG write version:3.0.0-dev.3 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:28:12 2022-12-13 04:28:12,130 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:28:12 2022-12-13 04:28:12,130 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:28:12 2022-12-13 04:28:12,133 [execute] INFO git cat-file --batch-check 04:28:12 2022-12-13 04:28:12,133 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:28:12 2022-12-13 04:28:12,139 [execute] INFO git cat-file --batch 04:28:12 2022-12-13 04:28:12,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:28:12 2022-12-13 04:28:12,145 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:28:12 3.0.0-dev.3 [Pipeline] } 04:28:12 $ docker exec --env ******** --env ******** 954cb7e396a55c59c1eece45dce15fd9bad35d1dcef22dff9461fd3e899182ea ssh-agent -k 04:28:12 unset SSH_AUTH_SOCK; 04:28:12 unset SSH_AGENT_PID; 04:28:12 echo Agent pid 38 killed; 04:28:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:28:12 + git semver [Pipeline] } 04:28:13 $ docker stop --time=1 954cb7e396a55c59c1eece45dce15fd9bad35d1dcef22dff9461fd3e899182ea 04:28:14 $ docker rm -f 954cb7e396a55c59c1eece45dce15fd9bad35d1dcef22dff9461fd3e899182ea [Pipeline] // withDockerContainer [Pipeline] sh 04:28:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:28:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:28:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:15 prd-ubuntu20.04-docker-8c-8g-121031 does not seem to be running inside a container 04:28:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:28:15 $ docker top 6fed3d682bcfc79689977330509973761703ed057197559c71abfac44348b71c -eo pid,comm 04:28:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:28:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:28:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:28:15 [ssh-agent] Looking for ssh-agent implementation... 04:28:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:28:15 $ docker exec 6fed3d682bcfc79689977330509973761703ed057197559c71abfac44348b71c ssh-agent 04:28:16 SSH_AUTH_SOCK=/tmp/ssh-UWrZHtZka0Qt/agent.32 04:28:16 SSH_AGENT_PID=38 04:28:16 Running ssh-add (command line suppressed) 04:28:16 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11289223997006677539.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11289223997006677539.key) 04:28:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:28:16 + git semver push 04:28:16 2022-12-13 04:28:16,714 [run_push] DEBUG push 04:28:16 2022-12-13 04:28:16,715 [execute] INFO git cat-file --batch-check 04:28:16 2022-12-13 04:28:16,715 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:28:16 2022-12-13 04:28:16,718 [execute] INFO git rev-list 005a736ca7942b9689ff22ad55e0c47c0fb0e459 -- 04:28:16 2022-12-13 04:28:16,718 [execute] DEBUG Popen(['git', 'rev-list', '005a736ca7942b9689ff22ad55e0c47c0fb0e459', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:28:16 2022-12-13 04:28:16,728 [execute] INFO git fetch -v origin 04:28:16 2022-12-13 04:28:16,728 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:28:17 2022-12-13 04:28:17,368 [run_push] DEBUG no remote changes detected 04:28:17 2022-12-13 04:28:17,369 [execute] INFO git push origin semver 04:28:17 2022-12-13 04:28:17,369 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:28:18 2022-12-13 04:28:18,397 [run_push] DEBUG push all version tags 04:28:18 2022-12-13 04:28:18,398 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:28:18 2022-12-13 04:28:18,398 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:28:19 2022-12-13 04:28:19,122 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:28:19 3.0.0-dev.3 [Pipeline] } 04:28:19 $ docker exec --env ******** --env ******** 6fed3d682bcfc79689977330509973761703ed057197559c71abfac44348b71c ssh-agent -k 04:28:19 unset SSH_AUTH_SOCK; 04:28:19 unset SSH_AGENT_PID; 04:28:19 echo Agent pid 38 killed; 04:28:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:28:19 + git semver [Pipeline] } 04:28:19 $ docker stop --time=1 6fed3d682bcfc79689977330509973761703ed057197559c71abfac44348b71c 04:28:21 $ docker rm -f 6fed3d682bcfc79689977330509973761703ed057197559c71abfac44348b71c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:28:21 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:28:21 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:28:21 total 16 04:28:21 drwxr-xr-x 3 root root 4096 Dec 13 04:20 . 04:28:21 drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:28 .. 04:28:21 drwxr-xr-x 2 root root 4096 Dec 13 04:20 cost 04:28:21 -rw-r--r-- 1 root root 85 Dec 13 04:20 cost.csv 04:28:21 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:28:21 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:28:21 total 16 04:28:21 drwxr-xr-x 3 jenkins jenkins 4096 Dec 13 04:20 . 04:28:21 drwxrwxr-x 12 jenkins jenkins 4096 Dec 13 04:28 .. 04:28:21 drwxr-xr-x 2 jenkins jenkins 4096 Dec 13 04:20 cost 04:28:21 -rw-r--r-- 1 jenkins jenkins 85 Dec 13 04:20 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:28:21 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:28:22 ---> package-listing.sh 04:28:22 ++ facter osfamily 04:28:22 ++ tr '[:upper:]' '[:lower:]' 04:28:23 + OS_FAMILY=debian 04:28:23 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:28:23 + START_PACKAGES=/tmp/packages_start.txt 04:28:23 + END_PACKAGES=/tmp/packages_end.txt 04:28:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:28:23 + PACKAGES=/tmp/packages_start.txt 04:28:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:28:23 + PACKAGES=/tmp/packages_end.txt 04:28:23 + case "${OS_FAMILY}" in 04:28:23 + dpkg -l 04:28:23 + grep '^ii' 04:28:23 + '[' -f /tmp/packages_start.txt ']' 04:28:23 + '[' -f /tmp/packages_end.txt ']' 04:28:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:28:23 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:28:23 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:28:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:28:23 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:28:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:28:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:28:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:28:24 prd-ubuntu20.04-docker-8c-8g-121031 does not seem to be running inside a container 04:28:24 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:28:24 $ docker top b35fffc46231e8c30bab911ddf7fe8ea7fec948990b44d882f78393d6938b938 -eo pid,comm [Pipeline] { [Pipeline] sh 04:28:24 + touch /tmp/pre-build-complete [Pipeline] sh 04:28:24 + mkdir -p /var/log/sysstat [Pipeline] sh 04:28:25 + ls /var/log/sa-host 04:28:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:28:25 provisioning config files... 04:28:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17751948541859139352tmp [Pipeline] { [Pipeline] echo 04:28:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:28:25 ---> create-netrc.sh [Pipeline] } 04:28:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:28:25 ---> python-tools-install.sh [Pipeline] echo 04:28:25 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:28:26 ---> sudo-logs.sh 04:28:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:28:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:28:26 ---> job-cost.sh 04:28:26 lf-activate-venv: SKIPPING 04:28:26 DEBUG: total: 0.2199999988079071 04:28:26 INFO: Retrieving Stack Cost... 04:28:26 INFO: Retrieving Pricing Info for: v3-standard-8 04:28:27 INFO: Archiving Costs [Pipeline] echo 04:28:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:28:27 ---> logs-deploy.sh 04:28:27 lf-activate-venv: SKIPPING 04:28:27 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/132 04:28:27 INFO: archiving workspace using pattern(s): 04:28:28 Archives upload complete. 04:28:28 INFO: archiving logs to Nexus