Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 32167e186cd280efad328d3bc9a5f43c05eae3ff 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-ssh14639716543830403659.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh16043790267274003240.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh5753410097422567333.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh8888658474952280414.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-ssh8847359078201898680.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1357’ Running on prd-ubuntu20.04-docker-8c-8g-1359 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 32167e186cd280efad328d3bc9a5f43c05eae3ff (main) Commit message: "Merge pull request #1196 from cloudxxx8/issue-1195" > 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 32167e186cd280efad328d3bc9a5f43c05eae3ff # timeout=10 > git rev-list --no-walk 11eb29cd9415f6bc1f7dad856498740e29903e46 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:59:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:59:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:59:28 ========================================================= 14:59:28 EdgeX Global Pipelines Version Info 14:59:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:59:29 ------------------- 14:59:29 stable info: 14:59:29 ------------------- 14:59:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:59:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:59:29 Message: update stable to v1.0.239 14:59:30 ------------------- 14:59:30 experimental info: 14:59:30 ------------------- 14:59:30 Commited By: **** collab-it+edgex@linuxfoundation.org 14:59:30 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 14:59:30 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32167e1 [Pipeline] echo 14:59:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:59:30 provisioning config files... 14:59:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3454835563769173674tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:59:31 ---> docker-login.sh 14:59:31 nexus3.edgexfoundry.org:10001 14:59:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:33 Configure a credential helper to remove this warning. See 14:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:33 14:59:33 Login Succeeded 14:59:33 nexus3.edgexfoundry.org:10002 14:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:33 Configure a credential helper to remove this warning. See 14:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:33 14:59:33 Login Succeeded 14:59:33 nexus3.edgexfoundry.org:10003 14:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:33 Configure a credential helper to remove this warning. See 14:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:33 14:59:33 Login Succeeded 14:59:33 nexus3.edgexfoundry.org:10004 14:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:33 Configure a credential helper to remove this warning. See 14:59:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:33 14:59:33 Login Succeeded 14:59:33 docker.io 14:59:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:34 Configure a credential helper to remove this warning. See 14:59:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:34 14:59:34 Login Succeeded 14:59:34 ---> docker-login.sh ends [Pipeline] } 14:59:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:59:34 + git rev-list -1 --merges 32167e186cd280efad328d3bc9a5f43c05eae3ff~1..32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] echo 14:59:34 -----------> git rev-list -1 --merges 32167e186cd280efad328d3bc9a5f43c05eae3ff~1..32167e186cd280efad328d3bc9a5f43c05eae3ff 32167e186cd280efad328d3bc9a5f43c05eae3ff 14:59:34 32167e186cd280efad328d3bc9a5f43c05eae3ff [false] [Pipeline] sh 14:59:34 + git log --format=format:%s -1 32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] echo 14:59:34 ========================================================= 14:59:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:59:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:59:35 + git log --format=format:%s -1 32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] echo 14:59:35 [semverPrep] GIT_COMMIT: 32167e186cd280efad328d3bc9a5f43c05eae3ff, Commit Message: Merge pull request #1196 from cloudxxx8/issue-1195 [Pipeline] echo 14:59:35 [semverPrep] This is not a build commit. [Pipeline] sh 14:59:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:59:35 + grep -v github /etc/ssh/ssh_known_hosts 14:59:35 + [ -e /tmp/ssh_known_hosts ] 14:59:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:59:35 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 14:59:35 -a /etc/ssh/ssh_known_hosts 14:59:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:59:35 14:59:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:59:36 0.1.4: Pulling from edgex-devops/py-git-semver 14:59:36 b85a868b505f: Pulling fs layer 14:59:36 e2be974225ed: Pulling fs layer 14:59:36 339a4e72a1f5: Pulling fs layer 14:59:36 988bab9f4d93: Pulling fs layer 14:59:36 1469e6f7b9e6: Pulling fs layer 14:59:36 eaf3925da568: Pulling fs layer 14:59:36 bab4dde63d76: Pulling fs layer 14:59:36 bde34c3a00c8: Pulling fs layer 14:59:36 b352a97aabf1: Pulling fs layer 14:59:36 4872d77fe225: Pulling fs layer 14:59:36 5851b861e8e6: Pulling fs layer 14:59:36 bde34c3a00c8: Waiting 14:59:36 b352a97aabf1: Waiting 14:59:36 988bab9f4d93: Waiting 14:59:36 4872d77fe225: Waiting 14:59:36 1469e6f7b9e6: Waiting 14:59:36 eaf3925da568: Waiting 14:59:36 bab4dde63d76: Waiting 14:59:36 5851b861e8e6: Waiting 14:59:36 e2be974225ed: Verifying Checksum 14:59:36 e2be974225ed: Download complete 14:59:36 988bab9f4d93: Verifying Checksum 14:59:36 988bab9f4d93: Download complete 14:59:36 1469e6f7b9e6: Verifying Checksum 14:59:36 1469e6f7b9e6: Download complete 14:59:36 339a4e72a1f5: Verifying Checksum 14:59:36 339a4e72a1f5: Download complete 14:59:36 eaf3925da568: Download complete 14:59:36 bde34c3a00c8: Download complete 14:59:36 b352a97aabf1: Verifying Checksum 14:59:36 b352a97aabf1: Download complete 14:59:36 4872d77fe225: Verifying Checksum 14:59:36 4872d77fe225: Download complete 14:59:36 5851b861e8e6: Verifying Checksum 14:59:36 5851b861e8e6: Download complete 14:59:36 b85a868b505f: Verifying Checksum 14:59:36 b85a868b505f: Download complete 14:59:36 bab4dde63d76: Verifying Checksum 14:59:36 bab4dde63d76: Download complete 14:59:38 b85a868b505f: Pull complete 14:59:38 e2be974225ed: Pull complete 14:59:38 339a4e72a1f5: Pull complete 14:59:38 988bab9f4d93: Pull complete 14:59:38 1469e6f7b9e6: Pull complete 14:59:39 eaf3925da568: Pull complete 14:59:41 bab4dde63d76: Pull complete 14:59:41 bde34c3a00c8: Pull complete 14:59:41 b352a97aabf1: Pull complete 14:59:41 4872d77fe225: Pull complete 14:59:41 5851b861e8e6: Pull complete 14:59:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:59:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:59:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:59:41 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 14:59:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:59:44 $ docker top 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 -eo pid,comm 14:59:44 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). 14:59:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:59:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:59:44 [ssh-agent] Looking for ssh-agent implementation... 14:59:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:59:44 $ docker exec 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 ssh-agent 14:59:44 SSH_AUTH_SOCK=/tmp/ssh-uiyqBVQVGbY2/agent.21 14:59:44 SSH_AGENT_PID=27 14:59:45 Running ssh-add (command line suppressed) 14:59:45 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15089429942961172598.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15089429942961172598.key) 14:59:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:59:45 + git tag --points-at HEAD [Pipeline] } 14:59:45 $ docker exec --env ******** --env ******** 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 ssh-agent -k 14:59:45 unset SSH_AUTH_SOCK; 14:59:45 unset SSH_AGENT_PID; 14:59:45 echo Agent pid 27 killed; 14:59:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:59:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:59:45 [ssh-agent] Looking for ssh-agent implementation... 14:59:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:59:45 $ docker exec 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 ssh-agent 14:59:46 SSH_AUTH_SOCK=/tmp/ssh-Z9y43s1JdKz3/agent.71 14:59:46 SSH_AGENT_PID=77 14:59:46 Running ssh-add (command line suppressed) 14:59:46 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15951725714405460887.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15951725714405460887.key) 14:59:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:59:46 + git semver init 14:59:46 2022-09-27 14:59:46,715 [run_init] DEBUG init version:0.0.0 force:False 14:59:46 2022-09-27 14:59:46,715 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 14:59:46 2022-09-27 14:59:46,716 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 14:59:46 2022-09-27 14:59:46,716 [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) 14:59:48 2022-09-27 14:59:48,015 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 14:59:48 2022-09-27 14:59:48,015 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 14:59:48 2022-09-27 14:59:48,015 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:59:48 2022-09-27 14:59:48,015 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:59:48 2.3.0-dev.30 [Pipeline] } 14:59:48 $ docker exec --env ******** --env ******** 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 ssh-agent -k 14:59:48 unset SSH_AUTH_SOCK; 14:59:48 unset SSH_AGENT_PID; 14:59:48 echo Agent pid 77 killed; 14:59:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:59:48 + git semver [Pipeline] } 14:59:48 $ docker stop --time=1 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 14:59:50 $ docker rm -f 8e64461bd2299c26221ea355756dd74e42636e8dd3829f3d2b9330961ab841b3 [Pipeline] // withDockerContainer [Pipeline] sh 14:59:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:59:51 Stashed 1 file(s) [Pipeline] echo 14:59:51 [edgeXSemver]: initialized semver on version 2.3.0-dev.30 [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 14:59:51 provisioning config files... 14:59:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6195236083388491236tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:59:51 ---> docker-login.sh 14:59:51 nexus3.edgexfoundry.org:10001 14:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:51 Configure a credential helper to remove this warning. See 14:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:51 14:59:51 Login Succeeded 14:59:51 nexus3.edgexfoundry.org:10002 14:59:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:51 Configure a credential helper to remove this warning. See 14:59:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:51 14:59:51 Login Succeeded 14:59:52 nexus3.edgexfoundry.org:10003 14:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:52 Configure a credential helper to remove this warning. See 14:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:52 14:59:52 Login Succeeded 14:59:52 nexus3.edgexfoundry.org:10004 14:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:52 Configure a credential helper to remove this warning. See 14:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:52 14:59:52 Login Succeeded 14:59:52 docker.io 14:59:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:59:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:59:52 Configure a credential helper to remove this warning. See 14:59:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:59:52 14:59:52 Login Succeeded 14:59:52 ---> docker-login.sh ends [Pipeline] } 14:59:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:59:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:59:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:59:52 ========================================================= 14:59:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:59:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:59:53 + 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 . 14:59:53 Sending build context to Docker daemon 9.902MB 14:59:53 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 14:59:53 Step 2/11 : FROM ${BASE} AS builder 14:59:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:59:53 2408cc74d12b: Pulling fs layer 14:59:53 ea60b727a1ce: Pulling fs layer 14:59:53 30c4a7721957: Pulling fs layer 14:59:53 370296b7ddb6: Pulling fs layer 14:59:53 7c6cee850709: Pulling fs layer 14:59:53 39a5fcdaea64: Pulling fs layer 14:59:53 d94ebbe4e438: Pulling fs layer 14:59:53 bcfd1f05c69d: Pulling fs layer 14:59:53 59ccb84bbe0f: Pulling fs layer 14:59:53 7c6cee850709: Waiting 14:59:53 39a5fcdaea64: Waiting 14:59:53 d94ebbe4e438: Waiting 14:59:53 370296b7ddb6: Waiting 14:59:53 bcfd1f05c69d: Waiting 14:59:53 59ccb84bbe0f: Waiting 14:59:53 30c4a7721957: Verifying Checksum 14:59:53 30c4a7721957: Download complete 14:59:53 ea60b727a1ce: Verifying Checksum 14:59:53 ea60b727a1ce: Download complete 14:59:53 7c6cee850709: Verifying Checksum 14:59:53 7c6cee850709: Download complete 14:59:53 39a5fcdaea64: Verifying Checksum 14:59:53 39a5fcdaea64: Download complete 14:59:53 2408cc74d12b: Verifying Checksum 14:59:53 d94ebbe4e438: Verifying Checksum 14:59:53 d94ebbe4e438: Download complete 14:59:54 2408cc74d12b: Pull complete 14:59:54 ea60b727a1ce: Pull complete 14:59:54 370296b7ddb6: Verifying Checksum 14:59:54 370296b7ddb6: Download complete 14:59:55 59ccb84bbe0f: Verifying Checksum 14:59:55 59ccb84bbe0f: Download complete 14:59:55 bcfd1f05c69d: Verifying Checksum 14:59:55 bcfd1f05c69d: Download complete 14:59:55 30c4a7721957: Pull complete 15:00:00 370296b7ddb6: Pull complete 15:00:00 7c6cee850709: Pull complete 15:00:00 39a5fcdaea64: Pull complete 15:00:01 d94ebbe4e438: Pull complete 15:00:04 bcfd1f05c69d: Pull complete 15:00:06 59ccb84bbe0f: Pull complete 15:00:06 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 15:00:06 Still waiting to schedule task 15:00:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 15:00:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:00:06 ---> a4fb48ad2a94 15:00:06 Step 3/11 : ARG MAKE=make build 15:00:13 ---> Running in 67701d5fe160 15:00:13 Removing intermediate container 67701d5fe160 15:00:13 ---> a897fce9f567 15:00:13 Step 4/11 : WORKDIR /device-sdk-go 15:00:13 ---> Running in 506ed6d6ce39 15:00:13 Removing intermediate container 506ed6d6ce39 15:00:13 ---> 3b1b6f48771f 15:00:13 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:00:13 ---> Running in 948f8c3f3810 15:00:13 Removing intermediate container 948f8c3f3810 15:00:13 ---> 2f37cec39707 15:00:13 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:00:13 ---> Running in e09b662a2052 15:00:14 Removing intermediate container e09b662a2052 15:00:14 ---> 9f6d0d67701e 15:00:14 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:00:14 ---> Running in 0f9e9e2cacdc 15:00:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:00:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:00:16 OK: 211 MiB in 51 packages 15:00:16 Removing intermediate container 0f9e9e2cacdc 15:00:16 ---> 3ef6b5124244 15:00:16 Step 8/11 : COPY go.mod vendor* ./ 15:00:16 ---> 60d59d350975 15:00:16 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:00:16 ---> Running in 5ff9ef28ee23 15:00:49 Removing intermediate container 5ff9ef28ee23 15:00:49 ---> 224ec55c1492 15:00:49 Step 10/11 : COPY . . 15:00:50 ---> 2917d4be86e3 15:00:50 Step 11/11 : RUN ${MAKE} 15:00:50 ---> Running in df8947903dda 15:00:50 noop 15:00:50 Removing intermediate container df8947903dda 15:00:50 ---> 9dd134ca95d6 15:00:50 Successfully built 9dd134ca95d6 15:00:50 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:00:50 + docker inspect -f . ci-base-image-x86_64 15:00:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:00:50 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 15:00:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:00:51 $ docker top 5b5c82b6fceee726628b47bbe1d9e795068228be971f287d1689d8a4cf4a8789 -eo pid,comm [Pipeline] { [Pipeline] sh 15:00:51 + go version 15:00:51 go version go1.18.3 linux/amd64 [Pipeline] } 15:00:51 $ docker stop --time=1 5b5c82b6fceee726628b47bbe1d9e795068228be971f287d1689d8a4cf4a8789 15:00:53 $ docker rm -f 5b5c82b6fceee726628b47bbe1d9e795068228be971f287d1689d8a4cf4a8789 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:00:53 + docker inspect -f . ci-base-image-x86_64 15:00:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:00:53 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 15:00:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:00:54 $ docker top 80785671be9508e0b68d3f9c6c02d14abce5fd4fa7d16d8c1941570fd78693e0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:00:54 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 15:00:54 + make test 15:00:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:01:01 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:01:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 27.6% of statements 15:01:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.131s coverage: 78.9% of statements 15:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 15:01:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.082s coverage: 60.0% of statements 15:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:01:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:01:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.131s coverage: 54.4% of statements 15:01:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:01:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 15:01:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:01:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:01:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.137s coverage: 65.1% of statements 15:01:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 15:01:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:01:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.812s coverage: 89.2% of statements 15:01:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:01:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.113s coverage: 4.7% of statements 15:01:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:01:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1360 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 15:01:33 Running in /w/workspace/device-sdk-go/105 [Pipeline] { [Pipeline] checkout 15:01:33 The recommended git tool is: git 15:01:38 using credential edgex-jenkins-ssh 15:01:38 Cloning the remote Git repository 15:01:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:01:38 > git init /w/workspace/device-sdk-go/105 # timeout=10 15:01:39 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 15:01:39 GO111MODULE=on go vet ./... 15:01:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:01:38 > git --version # timeout=10 15:01:38 > git --version # 'git version 2.25.1' 15:01:38 using GIT_SSH to set credentials SSH Credentials for GitHub 15:01:38 Verifying host key using known hosts file 15:01:39 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 15:01:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:01:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:01:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:01:41 Avoid second fetch 15:01:41 Checking out Revision 32167e186cd280efad328d3bc9a5f43c05eae3ff (main) 15:01:42 Commit message: "Merge pull request #1196 from cloudxxx8/issue-1195" [Pipeline] withEnv [Pipeline] { 15:01:41 > git config core.sparsecheckout # timeout=10 15:01:41 > git checkout -f 32167e186cd280efad328d3bc9a5f43c05eae3ff # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:01:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:01:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:01:42 ./bin/test-attribution-txt.sh 15:01:42 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:01:42 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:01:42 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:01:42 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:01:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:01:42 $ docker stop --time=1 80785671be9508e0b68d3f9c6c02d14abce5fd4fa7d16d8c1941570fd78693e0 15:01:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:01:43 % Total % Received % Xferd Average Speed Time Time Time Current 15:01:43 Dload Upload Total Spent Left Speed 15:01:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 90661 0 --:--:-- --:--:-- --:--:-- 90661 15:01:46 $ docker rm -f 80785671be9508e0b68d3f9c6c02d14abce5fd4fa7d16d8c1941570fd78693e0 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] sh 15:01:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:01:46 Stashed 1 file(s) [Pipeline] } 15:01:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] sh [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:01:47 + + sudosudo jq tee . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.new /etc/docker/daemon.json 15:01:47 15:01:47 { 15:01:47 "registry-mirrors": [ 15:01:47 "https://nexus3.edgexfoundry.org:10001" 15:01:47 ], 15:01:47 "bip": "10.250.0.254/24", 15:01:47 "hosts": [ 15:01:47 "tcp://0.0.0.0:5555", 15:01:47 "unix:///var/run/docker.sock" 15:01:47 ], 15:01:47 "mtu": 1458, 15:01:47 "selinux-enabled": true, 15:01:47 "seccomp-profile": "/etc/docker/seccomp.json" 15:01:47 } [Pipeline] sh 15:01:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:01:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:01:47 + ls -al . 15:01:47 total 276 15:01:47 drwxrwxr-x 11 jenkins jenkins 4096 Sep 27 15:00 . 15:01:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:59 .. 15:01:47 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 14:59 .dockerignore 15:01:47 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 15:01 .git 15:01:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:59 .github 15:01:47 -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 14:59 .gitignore 15:01:47 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 14:59 .golangci.yml 15:01:47 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 14:59 .semver 15:01:47 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 14:59 CHANGELOG.md 15:01:47 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 14:59 GOVERNANCE.md 15:01:47 -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 14:59 Jenkinsfile 15:01:47 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 14:59 LICENSE 15:01:47 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 14:59 Makefile 15:01:47 -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 14:59 OWNERS.md 15:01:47 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 14:59 README.md 15:01:47 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 14:59 VERSION 15:01:47 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 14:59 bin 15:01:47 -rw-r--r-- 1 jenkins jenkins 100927 Sep 27 15:01 coverage.out 15:01:47 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 14:59 example 15:01:47 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 14:59 go.mod 15:01:47 -rw-rw-r-- 1 jenkins jenkins 37486 Sep 27 14:59 go.sum 15:01:47 drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 14:59 internal 15:01:47 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 14:59 openapi 15:01:47 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 14:59 pkg 15:01:47 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 14:59 snap 15:01:47 -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 14:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:01:47 + sudo service docker restart 15:01:47 + 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=32167e186cd280efad328d3bc9a5f43c05eae3ff --label arch=amd64 --label version=2.3.0-dev.30 . 15:01:47 Sending build context to Docker daemon 10MB 15:01:47 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:01:47 Step 2/25 : FROM ${BASE} AS builder 15:01:47 ---> 9dd134ca95d6 15:01:47 Step 3/25 : ARG MAKE=make build 15:01:48 ---> Running in 51c461a35948 15:01:48 Removing intermediate container 51c461a35948 15:01:48 ---> 18f2f1635c02 15:01:48 Step 4/25 : WORKDIR /device-sdk-go 15:01:48 ---> Running in 607432cf42af 15:01:48 Removing intermediate container 607432cf42af 15:01:48 ---> 8e6053fb0585 15:01:48 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:01:48 ---> Running in e3f5b4d5d1e1 15:01:48 Removing intermediate container e3f5b4d5d1e1 15:01:48 ---> 2ee4a2f43438 15:01:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:01:48 ---> Running in 07007c592fb6 15:01:49 Removing intermediate container 07007c592fb6 15:01:49 ---> b5f479c4af3b 15:01:49 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:01:49 ---> Running in 2af691549bca 15:01:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:01:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:01:50 OK: 211 MiB in 51 packages 15:01:51 Removing intermediate container 2af691549bca 15:01:51 ---> 7e2978b10cfd 15:01:51 Step 8/25 : COPY go.mod vendor* ./ 15:01:51 ---> 41351b5ed1c5 15:01:51 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:01:51 ---> Running in 1c8354dff868 15:01:52 Removing intermediate container 1c8354dff868 15:01:52 ---> 53f73f8a3789 15:01:52 Step 10/25 : COPY . . 15:01:52 ---> 46e01de41241 15:01:52 Step 11/25 : RUN ${MAKE} 15:01:53 ---> Running in 99e0fad5afc7 15:01:53 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:02:06 provisioning config files... 15:02:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/105@tmp/config18038233571331561364tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:02:06 ---> docker-login.sh 15:02:06 nexus3.edgexfoundry.org:10001 15:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:07 Configure a credential helper to remove this warning. See 15:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:07 15:02:07 Login Succeeded 15:02:07 nexus3.edgexfoundry.org:10002 15:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:07 Configure a credential helper to remove this warning. See 15:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:07 15:02:07 Login Succeeded 15:02:07 nexus3.edgexfoundry.org:10003 15:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:07 Configure a credential helper to remove this warning. See 15:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:07 15:02:07 Login Succeeded 15:02:07 nexus3.edgexfoundry.org:10004 15:02:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:08 Configure a credential helper to remove this warning. See 15:02:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:08 15:02:08 Login Succeeded 15:02:08 docker.io 15:02:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:08 Configure a credential helper to remove this warning. See 15:02:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:08 15:02:08 Login Succeeded 15:02:08 ---> docker-login.sh ends [Pipeline] } 15:02:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:02:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:02:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:02:09 ========================================================= 15:02:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:02:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:09 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 15:02:09 Sending build context to Docker daemon 5.316MB 15:02:09 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 15:02:09 Step 2/11 : FROM ${BASE} AS builder 15:02:09 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:02:09 b3c136eddcbf: Pulling fs layer 15:02:09 c0a3192eca97: Pulling fs layer 15:02:09 a050256f5b6f: Pulling fs layer 15:02:09 656be50a0ddc: Pulling fs layer 15:02:09 2bbca73fdf42: Pulling fs layer 15:02:09 46d945488cbd: Pulling fs layer 15:02:09 8a5474983e97: Pulling fs layer 15:02:09 329c88fbcd65: Pulling fs layer 15:02:09 656be50a0ddc: Waiting 15:02:09 2bbca73fdf42: Waiting 15:02:09 46d945488cbd: Waiting 15:02:09 329c88fbcd65: Waiting 15:02:09 a050256f5b6f: Verifying Checksum 15:02:09 a050256f5b6f: Download complete 15:02:09 c0a3192eca97: Verifying Checksum 15:02:09 c0a3192eca97: Download complete 15:02:09 2bbca73fdf42: Verifying Checksum 15:02:09 2bbca73fdf42: Download complete 15:02:09 46d945488cbd: Verifying Checksum 15:02:09 46d945488cbd: Download complete 15:02:09 b3c136eddcbf: Verifying Checksum 15:02:09 b3c136eddcbf: Download complete 15:02:10 b3c136eddcbf: Pull complete 15:02:11 329c88fbcd65: Verifying Checksum 15:02:11 329c88fbcd65: Download complete 15:02:11 c0a3192eca97: Pull complete 15:02:11 a050256f5b6f: Pull complete 15:02:11 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:02:12 8a5474983e97: Verifying Checksum 15:02:12 8a5474983e97: Download complete 15:02:12 656be50a0ddc: Verifying Checksum 15:02:12 656be50a0ddc: Download complete 15:02:17 Removing intermediate container 99e0fad5afc7 15:02:17 ---> 84c3d3571edf 15:02:17 Step 12/25 : FROM alpine:3.16 15:02:18 3.16: Pulling from library/alpine 15:02:18 213ec9aee27d: Pulling fs layer 15:02:18 213ec9aee27d: Verifying Checksum 15:02:18 213ec9aee27d: Download complete 15:02:18 213ec9aee27d: Pull complete 15:02:19 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:02:19 Status: Downloaded newer image for alpine:3.16 15:02:19 ---> 9c6f07244728 15:02:19 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:02:19 ---> Running in 48a6dbf5dc64 15:02:19 Removing intermediate container 48a6dbf5dc64 15:02:19 ---> 4854a6be66d4 15:02:19 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:02:19 ---> Running in af8de23ae3ee 15:02:19 Removing intermediate container af8de23ae3ee 15:02:19 ---> 16efe31429b9 15:02:19 Step 15/25 : RUN apk add --update --no-cache zeromq 15:02:19 ---> Running in aa6892fdd757 15:02:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:02:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:02:21 (1/5) Installing libgcc (11.2.1_git20220219-r2) 15:02:21 (2/5) Installing libsodium (1.0.18-r0) 15:02:21 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 15:02:21 (4/5) Installing libzmq (4.3.4-r0) 15:02:21 (5/5) Installing zeromq (4.3.4-r0) 15:02:21 Executing busybox-1.35.0-r17.trigger 15:02:21 OK: 8 MiB in 19 packages 15:02:22 Removing intermediate container aa6892fdd757 15:02:22 ---> 817a8e5b48ca 15:02:22 Step 16/25 : WORKDIR / 15:02:22 ---> Running in b96aedf09fdc 15:02:22 Removing intermediate container b96aedf09fdc 15:02:22 ---> 95af4c3d110c 15:02:22 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:02:22 ---> f291eb2e493e 15:02:22 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:02:22 ---> 8d2a7d3919bd 15:02:22 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:02:22 ---> 03ab95e7b313 15:02:22 Step 20/25 : EXPOSE 59999 15:02:23 ---> Running in 0960c914e56e 15:02:23 Removing intermediate container 0960c914e56e 15:02:23 ---> 80bfe350ad09 15:02:23 Step 21/25 : ENTRYPOINT ["/device-simple"] 15:02:23 ---> Running in 93c939781a5c 15:02:23 Removing intermediate container 93c939781a5c 15:02:23 ---> 28b501da1471 15:02:23 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:02:23 ---> Running in b7fae31e6bda 15:02:23 Removing intermediate container b7fae31e6bda 15:02:23 ---> 577503f142f0 15:02:23 Step 23/25 : LABEL arch=amd64 15:02:23 ---> Running in 5d0808f8d094 15:02:23 Removing intermediate container 5d0808f8d094 15:02:23 ---> 2d00482fa991 15:02:23 Step 24/25 : LABEL git_sha=32167e186cd280efad328d3bc9a5f43c05eae3ff 15:02:23 ---> Running in 1c59bcbbfbf7 15:02:23 Removing intermediate container 1c59bcbbfbf7 15:02:23 ---> ee289b479937 15:02:23 Step 25/25 : LABEL version=2.3.0-dev.30 15:02:23 ---> Running in 825d16a5e8d1 15:02:24 Removing intermediate container 825d16a5e8d1 15:02:24 ---> 0263edfe3afc 15:02:24 [Warning] One or more build-args [ARCH] were not consumed 15:02:24 Successfully built 0263edfe3afc 15:02:24 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:02:24 15:02:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:02:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:02:24 latest: Pulling from edgex-lftools-log-publisher 15:02:24 5eb5b503b376: Pulling fs layer 15:02:24 5c69ac0246d0: Pulling fs layer 15:02:24 ec43610c2a17: Pulling fs layer 15:02:24 3a2ae6a8a46f: Pulling fs layer 15:02:24 33b1e0a273af: Pulling fs layer 15:02:24 5d3b04190fa2: Pulling fs layer 15:02:24 2f39f015ded8: Pulling fs layer 15:02:24 3a2ae6a8a46f: Waiting 15:02:24 33b1e0a273af: Waiting 15:02:24 5d3b04190fa2: Waiting 15:02:24 2f39f015ded8: Waiting 15:02:24 5c69ac0246d0: Verifying Checksum 15:02:24 5c69ac0246d0: Download complete 15:02:24 3a2ae6a8a46f: Download complete 15:02:24 33b1e0a273af: Verifying Checksum 15:02:24 33b1e0a273af: Download complete 15:02:24 5d3b04190fa2: Verifying Checksum 15:02:24 5d3b04190fa2: Download complete 15:02:24 ec43610c2a17: Verifying Checksum 15:02:24 ec43610c2a17: Download complete 15:02:25 5eb5b503b376: Verifying Checksum 15:02:25 5eb5b503b376: Download complete 15:02:25 656be50a0ddc: Pull complete 15:02:25 2bbca73fdf42: Pull complete 15:02:25 46d945488cbd: Pull complete 15:02:25 2f39f015ded8: Download complete 15:02:26 5eb5b503b376: Pull complete 15:02:26 5c69ac0246d0: Pull complete 15:02:26 ec43610c2a17: Pull complete 15:02:26 3a2ae6a8a46f: Pull complete 15:02:26 33b1e0a273af: Pull complete 15:02:26 5d3b04190fa2: Pull complete 15:02:30 8a5474983e97: Pull complete 15:02:31 2f39f015ded8: Pull complete 15:02:31 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:02:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:02:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:02:31 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 15:02:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:02:33 329c88fbcd65: Pull complete 15:02:33 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 15:02:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:02:33 ---> ff4287adb874 15:02:33 Step 3/11 : ARG MAKE=make build 15:02:34 ---> Running in 2c91fb089e51 15:02:34 Removing intermediate container 2c91fb089e51 15:02:34 ---> cb35718a90f8 15:02:34 Step 4/11 : WORKDIR /device-sdk-go 15:02:34 ---> Running in 70b80dd6987e 15:02:35 Removing intermediate container 70b80dd6987e 15:02:35 ---> 5d20a03775d1 15:02:35 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:02:35 ---> Running in 75ed5555a64f 15:02:35 Removing intermediate container 75ed5555a64f 15:02:35 ---> 0989f5d417c0 15:02:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:02:35 ---> Running in b5b7433e8404 15:02:37 Removing intermediate container b5b7433e8404 15:02:37 ---> bd8d870e21c2 15:02:37 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:02:37 ---> Running in 31ae639ba0ab 15:02:37 $ docker top 90671728ddcc7c7202f60aea611294559ec83a4482cd93a48aea9969b9144a97 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:02:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:02:38 ---> job-cost.sh 15:02:38 lf-activate-venv: SKIPPING 15:02:38 INFO: No Stack... 15:02:38 INFO: Retrieving Pricing Info for: v3-standard-8 15:02:39 INFO: Archiving Costs 15:02:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [Pipeline] sh 15:02:39 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 15:02:39 + cut -d, -f6 [Pipeline] lock 15:02:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] 15:02:39 Resource [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] did not exist. Created. 15:02:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:02:39 + echo total: 0.2199999988079071 [Pipeline] stash 15:02:39 Stashed 1 file(s) [Pipeline] } 15:02:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } 15:02:39 $ docker stop --time=1 90671728ddcc7c7202f60aea611294559ec83a4482cd93a48aea9969b9144a97 15:02:40 OK: 221 MiB in 51 packages 15:02:40 Removing intermediate container 31ae639ba0ab 15:02:40 ---> 0e20d40b2a10 15:02:40 Step 8/11 : COPY go.mod vendor* ./ 15:02:41 ---> 0f81c697e5d2 15:02:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:02:41 ---> Running in 19c9a6610466 15:02:41 $ docker rm -f 90671728ddcc7c7202f60aea611294559ec83a4482cd93a48aea9969b9144a97 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:03:28 Removing intermediate container 19c9a6610466 15:03:28 ---> 6832fae4b522 15:03:28 Step 10/11 : COPY . . 15:03:28 ---> 77543db2d1fe 15:03:28 Step 11/11 : RUN ${MAKE} 15:03:28 ---> Running in 2f4f46b0c1ba 15:03:29 noop 15:03:30 Removing intermediate container 2f4f46b0c1ba 15:03:30 ---> c3ec1ee7bd05 15:03:30 Successfully built c3ec1ee7bd05 15:03:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:30 + docker inspect -f . ci-base-image-arm64 15:03:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:30 prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container 15:03:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/105 -v /w/workspace/device-sdk-go/105:/w/workspace/device-sdk-go/105:rw,z -v /w/workspace/device-sdk-go/105@tmp:/w/workspace/device-sdk-go/105@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:03:32 $ docker top c384c4f88539504817100105b7c57ae0b8451ea7297904b0ed5d8b18394254da -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:32 + go version 15:03:32 go version go1.18.3 linux/arm64 [Pipeline] } 15:03:32 $ docker stop --time=1 c384c4f88539504817100105b7c57ae0b8451ea7297904b0ed5d8b18394254da 15:03:34 $ docker rm -f c384c4f88539504817100105b7c57ae0b8451ea7297904b0ed5d8b18394254da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:35 + docker inspect -f . ci-base-image-arm64 15:03:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:35 prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container 15:03:35 $ 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/105 -v /w/workspace/device-sdk-go/105:/w/workspace/device-sdk-go/105:rw,z -v /w/workspace/device-sdk-go/105@tmp:/w/workspace/device-sdk-go/105@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:03:36 $ docker top 617ba845d56282b01b10a310b05280cb9cbeb67bc433f543ca90930776507320 -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:36 + git config --global --add safe.directory /w/workspace/device-sdk-go/105 [Pipeline] fileExists [Pipeline] sh 15:03:37 + make test 15:03:37 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:04:09 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:06:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:06:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:06:01 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:06:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:06:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:06:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.380s coverage: 27.6% of statements 15:06:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.594s coverage: 78.9% of statements 15:06:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 15:06:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.497s coverage: 60.0% of statements 15:06:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:06:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:06:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.767s coverage: 54.4% of statements 15:06:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:06:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 15:06:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:06:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:06:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.507s coverage: 65.1% of statements 15:06:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 15:06:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:06:10 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.550s coverage: 89.2% of statements 15:06:10 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:06:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.329s coverage: 4.7% of statements 15:06:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:06:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:06:13 GO111MODULE=on go vet ./... 15:07:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:07:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:07:50 ./bin/test-attribution-txt.sh 15:07:50 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:07:50 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:07:50 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:07:50 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:07:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:07:50 $ docker stop --time=1 617ba845d56282b01b10a310b05280cb9cbeb67bc433f543ca90930776507320 15:07:52 $ docker rm -f 617ba845d56282b01b10a310b05280cb9cbeb67bc433f543ca90930776507320 [Pipeline] // withDockerContainer [Pipeline] sh 15:07:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:07:53 Warning: overwriting stash ‘coverage-report’ 15:07:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:07:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:07:54 + ls -al . 15:07:54 total 272 15:07:54 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 15:03 . 15:07:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:01 .. 15:07:54 -rw-rw-r-- 1 jenkins jenkins 140 Sep 27 15:01 .dockerignore 15:07:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 15:01 .git 15:07:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:01 .github 15:07:54 -rw-rw-r-- 1 jenkins jenkins 131 Sep 27 15:01 .gitignore 15:07:54 -rw-rw-r-- 1 jenkins jenkins 42 Sep 27 15:01 .golangci.yml 15:07:54 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 27 15:01 CHANGELOG.md 15:07:54 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 15:01 GOVERNANCE.md 15:07:54 -rw-rw-r-- 1 jenkins jenkins 880 Sep 27 15:01 Jenkinsfile 15:07:54 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 27 15:01 LICENSE 15:07:54 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 27 15:01 Makefile 15:07:54 -rw-rw-r-- 1 jenkins jenkins 619 Sep 27 15:01 OWNERS.md 15:07:54 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 27 15:01 README.md 15:07:54 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 14:59 VERSION 15:07:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 15:01 bin 15:07:54 -rw-r--r-- 1 jenkins jenkins 100927 Sep 27 15:06 coverage.out 15:07:54 drwxrwxr-x 5 jenkins jenkins 4096 Sep 27 15:01 example 15:07:54 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 27 15:01 go.mod 15:07:54 -rw-rw-r-- 1 jenkins jenkins 37486 Sep 27 15:01 go.sum 15:07:54 drwxrwxr-x 14 jenkins jenkins 4096 Sep 27 15:01 internal 15:07:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 15:01 openapi 15:07:54 drwxrwxr-x 6 jenkins jenkins 4096 Sep 27 15:01 pkg 15:07:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 15:01 snap 15:07:54 -rw-rw-r-- 1 jenkins jenkins 222 Sep 27 15:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:07:55 + 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=32167e186cd280efad328d3bc9a5f43c05eae3ff --label arch=arm64 --label version=2.3.0-dev.30 . 15:07:55 Sending build context to Docker daemon 5.417MB 15:07:55 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:07:55 Step 2/25 : FROM ${BASE} AS builder 15:07:55 ---> c3ec1ee7bd05 15:07:55 Step 3/25 : ARG MAKE=make build 15:07:55 ---> Running in 6e9f295b2556 15:07:55 Removing intermediate container 6e9f295b2556 15:07:55 ---> 17bc1976d5d5 15:07:55 Step 4/25 : WORKDIR /device-sdk-go 15:07:55 ---> Running in 53b655889396 15:07:56 Removing intermediate container 53b655889396 15:07:56 ---> 60412585ba9e 15:07:56 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:07:56 ---> Running in 14a4f7c504b8 15:07:56 Removing intermediate container 14a4f7c504b8 15:07:56 ---> 7599de5649cc 15:07:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:07:56 ---> Running in 64b542332ad1 15:07:58 Removing intermediate container 64b542332ad1 15:07:58 ---> e83d43db4a21 15:07:58 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:07:58 ---> Running in c83099442032 15:07:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:08:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:08:01 OK: 221 MiB in 51 packages 15:08:01 Removing intermediate container c83099442032 15:08:01 ---> 98d0f46b22b8 15:08:01 Step 8/25 : COPY go.mod vendor* ./ 15:08:02 ---> 6d40f95a131f 15:08:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:08:02 ---> Running in 5dd99a000307 15:08:04 Removing intermediate container 5dd99a000307 15:08:04 ---> 36540fdfa77c 15:08:04 Step 10/25 : COPY . . 15:08:05 ---> 9cc915090fdd 15:08:05 Step 11/25 : RUN ${MAKE} 15:08:05 ---> Running in 6f6e4c8dce6e 15:08:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.30" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 15:10:28 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:10:28 Removing intermediate container 6f6e4c8dce6e 15:10:28 ---> 8ff836024112 15:10:28 Step 12/25 : FROM alpine:3.16 15:10:29 3.16: Pulling from library/alpine 15:10:29 9b18e9b68314: Pulling fs layer 15:10:29 9b18e9b68314: Verifying Checksum 15:10:29 9b18e9b68314: Download complete 15:10:30 9b18e9b68314: Pull complete 15:10:30 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:10:30 Status: Downloaded newer image for alpine:3.16 15:10:30 ---> a6215f271958 15:10:30 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:10:30 ---> Running in e9d288e53b23 15:10:30 Removing intermediate container e9d288e53b23 15:10:30 ---> 3f08075abdc6 15:10:30 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 15:10:30 ---> Running in 9df111f8b8b5 15:10:36 Removing intermediate container 9df111f8b8b5 15:10:36 ---> 4b4c9a20c5dd 15:10:36 Step 15/25 : RUN apk add --update --no-cache zeromq 15:10:36 ---> Running in f03baebedcf5 15:10:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:10:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:10:39 (1/5) Installing libgcc (11.2.1_git20220219-r2) 15:10:39 (2/5) Installing libsodium (1.0.18-r0) 15:10:39 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 15:10:40 (4/5) Installing libzmq (4.3.4-r0) 15:10:40 (5/5) Installing zeromq (4.3.4-r0) 15:10:40 Executing busybox-1.35.0-r17.trigger 15:10:40 OK: 8 MiB in 19 packages 15:10:41 Removing intermediate container f03baebedcf5 15:10:41 ---> 3dcb78908346 15:10:41 Step 16/25 : WORKDIR / 15:10:42 ---> Running in 97affc9f4ddc 15:10:42 Removing intermediate container 97affc9f4ddc 15:10:42 ---> 3117a41d8139 15:10:42 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:10:45 ---> 84576c9bc4b9 15:10:45 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:10:46 ---> ebc0f3827fb6 15:10:46 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:10:47 ---> 54cfa13cfcc8 15:10:47 Step 20/25 : EXPOSE 59999 15:10:47 ---> Running in 4276f1e5f0ec 15:10:47 Removing intermediate container 4276f1e5f0ec 15:10:47 ---> a5bb15a65778 15:10:47 Step 21/25 : ENTRYPOINT ["/device-simple"] 15:10:47 ---> Running in ea8813aa6f89 15:10:48 Removing intermediate container ea8813aa6f89 15:10:48 ---> 1844d4fe06bb 15:10:48 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:10:48 ---> Running in e241edbb9515 15:10:48 Removing intermediate container e241edbb9515 15:10:48 ---> 5086516ac19d 15:10:48 Step 23/25 : LABEL arch=arm64 15:10:48 ---> Running in ce4054b552b3 15:10:49 Removing intermediate container ce4054b552b3 15:10:49 ---> 8410b1cb0812 15:10:49 Step 24/25 : LABEL git_sha=32167e186cd280efad328d3bc9a5f43c05eae3ff 15:10:49 ---> Running in 16fc4f2b4f63 15:10:49 Removing intermediate container 16fc4f2b4f63 15:10:49 ---> ef4c01cb944b 15:10:49 Step 25/25 : LABEL version=2.3.0-dev.30 15:10:49 ---> Running in 5f45fe20a825 15:10:49 Removing intermediate container 5f45fe20a825 15:10:49 ---> 78f0d71d773b 15:10:49 [Warning] One or more build-args [ARCH] were not consumed 15:10:49 Successfully built 78f0d71d773b 15:10:49 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:10:50 15:10:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:10:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:10:50 arm64: Pulling from edgex-lftools-log-publisher 15:10:50 8998bd30e6a1: Pulling fs layer 15:10:50 04944245beec: Pulling fs layer 15:10:50 699f458cf7ca: Pulling fs layer 15:10:50 765212b225bb: Pulling fs layer 15:10:50 f23df028b6ca: Pulling fs layer 15:10:50 d65c8cfc05b1: Pulling fs layer 15:10:50 2437ff75d9bd: Pulling fs layer 15:10:50 765212b225bb: Waiting 15:10:50 f23df028b6ca: Waiting 15:10:50 d65c8cfc05b1: Waiting 15:10:50 2437ff75d9bd: Waiting 15:10:50 04944245beec: Verifying Checksum 15:10:50 04944245beec: Download complete 15:10:50 765212b225bb: Verifying Checksum 15:10:50 765212b225bb: Download complete 15:10:50 f23df028b6ca: Verifying Checksum 15:10:50 f23df028b6ca: Download complete 15:10:50 d65c8cfc05b1: Verifying Checksum 15:10:50 d65c8cfc05b1: Download complete 15:10:50 699f458cf7ca: Verifying Checksum 15:10:50 699f458cf7ca: Download complete 15:10:51 8998bd30e6a1: Download complete 15:10:54 2437ff75d9bd: Verifying Checksum 15:10:54 2437ff75d9bd: Download complete 15:10:55 8998bd30e6a1: Pull complete 15:10:55 04944245beec: Pull complete 15:10:57 699f458cf7ca: Pull complete 15:10:57 765212b225bb: Pull complete 15:10:58 f23df028b6ca: Pull complete 15:10:58 d65c8cfc05b1: Pull complete 15:11:13 2437ff75d9bd: Pull complete 15:11:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:11:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:11:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:11:13 prd-ubuntu20.04-docker-arm64-4c-16g-1360 does not seem to be running inside a container 15:11:13 $ 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/105 -v /w/workspace/device-sdk-go/105:/w/workspace/device-sdk-go/105:rw,z -v /w/workspace/device-sdk-go/105@tmp:/w/workspace/device-sdk-go/105@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:11:16 $ docker top c37e286ad5f95f3a80a15d0ce82ef8f3cc8ca9092b9220ef1c253d7211ef785a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:11:16 ---> job-cost.sh 15:11:17 lf-activate-venv: SKIPPING 15:11:17 INFO: No Stack... 15:11:17 INFO: Retrieving Pricing Info for: v3-standard-4 15:11:18 INFO: Archiving Costs [Pipeline] sh 15:11:19 + cat /w/workspace/device-sdk-go/105/archives/cost.csv 15:11:19 + cut -d, -f6 [Pipeline] lock 15:11:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] 15:11:19 Resource [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] did not exist. Created. 15:11:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:11:19 /w/workspace/device-sdk-go/105@tmp/durable-a13994e8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:11:20 + echo total: 0.10999999940395355 [Pipeline] stash 15:11:20 Warning: overwriting stash ‘stack-cost’ 15:11:20 Stashed 1 file(s) [Pipeline] } 15:11:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-105-stack-cost] [Pipeline] // lock [Pipeline] } 15:11:20 $ docker stop --time=1 c37e286ad5f95f3a80a15d0ce82ef8f3cc8ca9092b9220ef1c253d7211ef785a 15:11:21 $ docker rm -f c37e286ad5f95f3a80a15d0ce82ef8f3cc8ca9092b9220ef1c253d7211ef785a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 15:11:22 provisioning config files... 15:11:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12448535204874007898tmp [Pipeline] { [Pipeline] sh 15:11:22 + set +x 15:11:22 + + curl -sbash https://codecov.io/bash -s 15:11:22 -- 15:11:22 15:11:22 _____ _ 15:11:22 / ____| | | 15:11:22 | | ___ __| | ___ ___ _____ __ 15:11:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:11:22 | |___| (_) | (_| | __/ (_| (_) \ V / 15:11:22 \_____\___/ \__,_|\___|\___\___/ \_/ 15:11:22 Bash-1.0.6 15:11:22 15:11:22 15:11:22 ==> git version 2.25.1 found 15:11:22 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 15:11:22 Release-Date: 2020-01-08 15:11:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:11:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:11:22 ==> Jenkins CI detected. 15:11:22 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 15:11:22 project root: . 15:11:22 --> token set from env 15:11:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:11:22 ==> Running gcov in . (disable via -X gcov) 15:11:22 ==> Python coveragepy not found 15:11:22 ==> Searching for coverage reports in: 15:11:22 + . 15:11:22 -> Found 1 reports 15:11:22 ==> Detecting git/mercurial file structure 15:11:22 ==> Reading reports 15:11:22 + ./coverage.out bytes=100927 15:11:22 ==> Appending adjustments 15:11:22 https://docs.codecov.io/docs/fixing-reports 15:11:22 + Found adjustments 15:11:23 ==> Gzipping contents 15:11:23 16K /tmp/codecov.TpLCtw.gz 15:11:23 ==> Uploading reports 15:11:23 url: https://codecov.io 15:11:23 query: branch=main&commit=32167e186cd280efad328d3bc9a5f43c05eae3ff&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:11:23 -> Pinging Codecov 15:11:23 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=32167e186cd280efad328d3bc9a5f43c05eae3ff&build=105&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F105%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 15:11:23 -> Uploading to 15:11:23 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/7E55EF52A471D76F132DFD9A03CDDE97/32167e186cd280efad328d3bc9a5f43c05eae3ff/1b473ea5-7985-4bbb-b1bd-d56237d6633e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T151123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=54f4d7563bf402fcfae2553a8d08cdde624764900f4e2e469529f2d995bf7fb7 15:11:23 % Total % Received % Xferd Average Speed Time Time Time Current 15:11:23 Dload Upload Total Spent Left Speed 15:11:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14545 0 0 100 14545 0 65814 --:--:-- --:--:-- --:--:-- 65518 100 14545 0 0 100 14545 0 57948 --:--:-- --:--:-- --:--:-- 57718 15:11:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] } 15:11:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 15:11:23 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 15:11:23 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:11:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:11:24 15:11:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:11:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:11:24 1.410.4: Pulling from edgex-devops/edgex-snyk-go 15:11:24 df9b9388f04a: Pulling fs layer 15:11:24 52dc419b0ee2: Pulling fs layer 15:11:24 25bc292e5bac: Pulling fs layer 15:11:24 114826534d7a: Pulling fs layer 15:11:24 4657fd5d0bcf: Pulling fs layer 15:11:24 6ad1cebc031e: Pulling fs layer 15:11:24 8a3aa393b2d8: Pulling fs layer 15:11:24 4657fd5d0bcf: Waiting 15:11:24 6ad1cebc031e: Waiting 15:11:24 8a3aa393b2d8: Waiting 15:11:24 114826534d7a: Waiting 15:11:24 25bc292e5bac: Verifying Checksum 15:11:24 25bc292e5bac: Download complete 15:11:24 52dc419b0ee2: Verifying Checksum 15:11:24 52dc419b0ee2: Download complete 15:11:24 4657fd5d0bcf: Verifying Checksum 15:11:24 4657fd5d0bcf: Download complete 15:11:24 df9b9388f04a: Download complete 15:11:24 6ad1cebc031e: Verifying Checksum 15:11:24 6ad1cebc031e: Download complete 15:11:24 df9b9388f04a: Pull complete 15:11:24 52dc419b0ee2: Pull complete 15:11:25 25bc292e5bac: Pull complete 15:11:25 114826534d7a: Verifying Checksum 15:11:25 114826534d7a: Download complete 15:11:25 8a3aa393b2d8: Verifying Checksum 15:11:25 8a3aa393b2d8: Download complete 15:11:29 114826534d7a: Pull complete 15:11:29 4657fd5d0bcf: Pull complete 15:11:30 6ad1cebc031e: Pull complete 15:11:33 8a3aa393b2d8: Pull complete 15:11:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 15:11:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 15:11:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:11:33 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 15:11:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 15:11:39 $ docker top f3de7a44dbd74b3f1876b6cc2be2126dba2b98ed98281a6557af89d5faa10e74 -eo pid,comm [Pipeline] { [Pipeline] echo 15:11:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 15:11:39 + set -o pipefail 15:11:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 15:11:46 15:11:46 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 15:11:46 15:11:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/7392ed41-b945-4d37-99da-8fee164b805c 15:11:46 15:11:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 15:11:46 15:11:46 [Pipeline] } 15:11:46 $ docker stop --time=1 f3de7a44dbd74b3f1876b6cc2be2126dba2b98ed98281a6557af89d5faa10e74 15:11:56 $ docker rm -f f3de7a44dbd74b3f1876b6cc2be2126dba2b98ed98281a6557af89d5faa10e74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 15:11:56 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:11:56 provisioning config files... 15:11:56 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5517238466535199140tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:11:57 --> edgex-publish-swagger.sh 15:11:57 === Publish openapi/v2 API === 15:11:57 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 15:11:57 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 15:11:57 % Total % Received % Xferd Average Speed Time Time Time Current 15:11:57 Dload Upload Total Spent Left Speed 15:11:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 77387 --:--:-- --:--:-- --:--:-- 77275 100 53552 0 0 100 53552 0 77387 --:--:-- --:--:-- --:--:-- 77275 15:11:57 15:11:57 [Pipeline] } 15:11:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:11:58 + git log --format=format:%s -1 32167e186cd280efad328d3bc9a5f43c05eae3ff [Pipeline] sh 15:11:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:11:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:11:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:11:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:11:58 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 15:11:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:12:00 $ docker top 3de7d4dd560563871870cf49c94d2d9e0f672a0b727de9f773ca7cfadb191072 -eo pid,comm 15:12:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:12:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:12:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:12:00 [ssh-agent] Looking for ssh-agent implementation... 15:12:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:12:00 $ docker exec 3de7d4dd560563871870cf49c94d2d9e0f672a0b727de9f773ca7cfadb191072 ssh-agent 15:12:00 SSH_AUTH_SOCK=/tmp/ssh-WVY58BxvSBDF/agent.14 15:12:00 SSH_AGENT_PID=20 15:12:00 Running ssh-add (command line suppressed) 15:12:00 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3787107899970331258.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3787107899970331258.key) 15:12:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:12:01 + git semver tag 15:12:01 2022-09-27 15:12:01,207 [run_tag] DEBUG tag force:False 15:12:01 2022-09-27 15:12:01,208 [check_head_tag] DEBUG check head tag 15:12:01 2022-09-27 15:12:01,208 [execute] INFO git cat-file --batch-check 15:12:01 2022-09-27 15:12:01,208 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:12:01 2022-09-27 15:12:01,211 [execute] INFO git cat-file --batch 15:12:01 2022-09-27 15:12:01,212 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 15:12:01 2022-09-27 15:12:01,223 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:12:01 2022-09-27 15:12:01,224 [execute] INFO git tag -a v2.3.0-dev.30 -m v2.3.0-dev.30 15:12:01 2022-09-27 15:12:01,224 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.30', '-m', 'v2.3.0-dev.30'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:12:01 2022-09-27 15:12:01,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:12:01 2.3.0-dev.30 [Pipeline] } 15:12:01 $ docker exec --env ******** --env ******** 3de7d4dd560563871870cf49c94d2d9e0f672a0b727de9f773ca7cfadb191072 ssh-agent -k 15:12:01 unset SSH_AUTH_SOCK; 15:12:01 unset SSH_AGENT_PID; 15:12:01 echo Agent pid 20 killed; 15:12:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:12:01 + git semver [Pipeline] } 15:12:02 $ docker stop --time=1 3de7d4dd560563871870cf49c94d2d9e0f672a0b727de9f773ca7cfadb191072 15:12:04 $ docker rm -f 3de7d4dd560563871870cf49c94d2d9e0f672a0b727de9f773ca7cfadb191072 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:12:04 15:12:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:12:05 0.23.1-centos7: Pulling from edgex-lftools 15:12:05 ab5ef0e58194: Pulling fs layer 15:12:05 9712f1f96733: Pulling fs layer 15:12:05 63f879dbbcfc: Pulling fs layer 15:12:05 0d9ebad4ef96: Pulling fs layer 15:12:05 e9a5061849ea: Pulling fs layer 15:12:05 d747dcd14b5f: Pulling fs layer 15:12:05 2de7ff778b66: Pulling fs layer 15:12:05 0d9ebad4ef96: Waiting 15:12:05 e9a5061849ea: Waiting 15:12:05 2de7ff778b66: Waiting 15:12:05 d747dcd14b5f: Waiting 15:12:05 9712f1f96733: Verifying Checksum 15:12:05 9712f1f96733: Download complete 15:12:06 63f879dbbcfc: Verifying Checksum 15:12:06 63f879dbbcfc: Download complete 15:12:06 e9a5061849ea: Verifying Checksum 15:12:06 e9a5061849ea: Download complete 15:12:06 d747dcd14b5f: Verifying Checksum 15:12:06 d747dcd14b5f: Download complete 15:12:06 ab5ef0e58194: Verifying Checksum 15:12:06 ab5ef0e58194: Download complete 15:12:06 0d9ebad4ef96: Verifying Checksum 15:12:06 0d9ebad4ef96: Download complete 15:12:06 2de7ff778b66: Download complete 15:12:09 ab5ef0e58194: Pull complete 15:12:09 9712f1f96733: Pull complete 15:12:10 63f879dbbcfc: Pull complete 15:12:15 0d9ebad4ef96: Pull complete 15:12:16 e9a5061849ea: Pull complete 15:12:16 d747dcd14b5f: Pull complete 15:12:18 2de7ff778b66: Pull complete 15:12:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 15:12:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 15:12:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:12:18 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 15:12:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 15:12:30 $ docker top 1141ea160b4b1a747148cfc292d0222c1bdb298a408297b8737005283e60b44a -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 15:12:30 provisioning config files... 15:12:30 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15891891849310028829tmp 15:12:30 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15485062503448875549tmp 15:12:30 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17261741459004992431tmp [Pipeline] { [Pipeline] echo 15:12:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 15:12:31 ---> sigul-configuration.sh 15:12:31 gpg: directory `/root/.gnupg' created 15:12:31 gpg: new configuration file `/root/.gnupg/gpg.conf' created 15:12:31 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 15:12:31 gpg: keyring `/root/.gnupg/secring.gpg' created 15:12:31 gpg: keyring `/root/.gnupg/pubring.gpg' created 15:12:31 gpg: CAST5 encrypted data 15:12:31 gpg: encrypted with 1 passphrase 15:12:31 gpg: WARNING: message was not integrity protected [Pipeline] sh 15:12:31 + mkdir /home/jenkins 15:12:31 + mkdir /home/jenkins/sigul [Pipeline] sh 15:12:31 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 15:12:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 15:12:32 ---> sigul-install.sh 15:12:32 Sigul already installed; skipping installation. [Pipeline] sh 15:12:32 + git tag --list 15:12:32 0.7.1 15:12:32 delhi-tag 15:12:32 v1.0.0 15:12:32 v1.1.0 15:12:32 v1.1.1 15:12:32 v1.1.2 15:12:32 v1.2.0 15:12:32 v1.2.1 15:12:32 v1.2.2 15:12:32 v1.2.3 15:12:32 v1.3.0 15:12:32 v1.4.0 15:12:32 v2.0.0 15:12:32 v2.1.0 15:12:32 v2.1.1 15:12:32 v2.1.1-dev.2 15:12:32 v2.1.1-dev.3 15:12:32 v2.2.0 15:12:32 v2.2.1-dev.1 15:12:32 v2.2.1-dev.10 15:12:32 v2.2.1-dev.11 15:12:32 v2.2.1-dev.12 15:12:32 v2.2.1-dev.13 15:12:32 v2.2.1-dev.14 15:12:32 v2.2.1-dev.2 15:12:32 v2.2.1-dev.3 15:12:32 v2.2.1-dev.4 15:12:32 v2.2.1-dev.5 15:12:32 v2.2.1-dev.6 15:12:32 v2.2.1-dev.7 15:12:32 v2.2.1-dev.8 15:12:32 v2.2.1-dev.9 15:12:32 v2.3.0-dev.14 15:12:32 v2.3.0-dev.15 15:12:32 v2.3.0-dev.16 15:12:32 v2.3.0-dev.17 15:12:32 v2.3.0-dev.18 15:12:32 v2.3.0-dev.19 15:12:32 v2.3.0-dev.20 15:12:32 v2.3.0-dev.21 15:12:32 v2.3.0-dev.22 15:12:32 v2.3.0-dev.23 15:12:32 v2.3.0-dev.24 15:12:32 v2.3.0-dev.25 15:12:32 v2.3.0-dev.26 15:12:32 v2.3.0-dev.27 15:12:32 v2.3.0-dev.28 15:12:32 v2.3.0-dev.29 15:12:32 v2.3.0-dev.30 [Pipeline] sh 15:12:32 + lftools sign git-tag v2.3.0-dev.30 15:12:33 Signing Git tag with Sigul... 15:12:33 Signing v2.3.0-dev.30 [Pipeline] echo 15:12:33 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 15:12:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 15:12:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 15:12:34 $ docker stop --time=1 1141ea160b4b1a747148cfc292d0222c1bdb298a408297b8737005283e60b44a 15:12:36 $ docker rm -f 1141ea160b4b1a747148cfc292d0222c1bdb298a408297b8737005283e60b44a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 15:12:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:12:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:12:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:12:37 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 15:12:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:12:38 $ docker top a9c2952b0ea160e90910038b3ee6344fa9196166be7536000b4d9b4387dcf0be -eo pid,comm 15:12:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:12:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:12:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:12:38 [ssh-agent] Looking for ssh-agent implementation... 15:12:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:12:38 $ docker exec a9c2952b0ea160e90910038b3ee6344fa9196166be7536000b4d9b4387dcf0be ssh-agent 15:12:38 SSH_AUTH_SOCK=/tmp/ssh-8aBU1QqR8yhI/agent.13 15:12:38 SSH_AGENT_PID=19 15:12:38 Running ssh-add (command line suppressed) 15:12:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16022344903494387331.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16022344903494387331.key) 15:12:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:12:39 + git semver bump pre 15:12:39 2022-09-27 15:12:39,618 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:12:39 2022-09-27 15:12:39,618 [bump_version] DEBUG bumping version:2.3.0-dev.30 on axis:pre with prefix:dev 15:12:39 2022-09-27 15:12:39,618 [bump_version] DEBUG bumped version:2.3.0-dev.31 15:12:39 2022-09-27 15:12:39,618 [write_version] DEBUG write version:2.3.0-dev.31 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 15:12:39 2022-09-27 15:12:39,618 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:12:39 2022-09-27 15:12:39,619 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:12:39 2022-09-27 15:12:39,622 [execute] INFO git cat-file --batch-check 15:12:39 2022-09-27 15:12:39,623 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:12:39 2022-09-27 15:12:39,629 [execute] INFO git cat-file --batch 15:12:39 2022-09-27 15:12:39,630 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:12:39 2022-09-27 15:12:39,637 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:12:39 2.3.0-dev.31 [Pipeline] } 15:12:39 $ docker exec --env ******** --env ******** a9c2952b0ea160e90910038b3ee6344fa9196166be7536000b4d9b4387dcf0be ssh-agent -k 15:12:40 unset SSH_AUTH_SOCK; 15:12:40 unset SSH_AGENT_PID; 15:12:40 echo Agent pid 19 killed; 15:12:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:12:40 + git semver [Pipeline] } 15:12:40 $ docker stop --time=1 a9c2952b0ea160e90910038b3ee6344fa9196166be7536000b4d9b4387dcf0be 15:12:42 $ docker rm -f a9c2952b0ea160e90910038b3ee6344fa9196166be7536000b4d9b4387dcf0be [Pipeline] // withDockerContainer [Pipeline] sh 15:12:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:12:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:12:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:12:43 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 15:12:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:12:44 $ docker top 4bde18507b4c47393a36d1bddeeb7bbe05174f39ab499d7bf1c002c373511161 -eo pid,comm 15:12:44 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 15:12:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:12:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:12:44 [ssh-agent] Looking for ssh-agent implementation... 15:12:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:12:44 $ docker exec 4bde18507b4c47393a36d1bddeeb7bbe05174f39ab499d7bf1c002c373511161 ssh-agent 15:12:44 SSH_AUTH_SOCK=/tmp/ssh-2vLDIxM4t8ny/agent.14 15:12:44 SSH_AGENT_PID=20 15:12:44 Running ssh-add (command line suppressed) 15:12:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16579709380297887300.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16579709380297887300.key) 15:12:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:12:45 + git semver push 15:12:45 2022-09-27 15:12:45,708 [run_push] DEBUG push 15:12:45 2022-09-27 15:12:45,709 [execute] INFO git cat-file --batch-check 15:12:45 2022-09-27 15:12:45,709 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 15:12:45 2022-09-27 15:12:45,713 [execute] INFO git rev-list a0d28419706e17e65ef5c3171c3bd97c412f3c2f -- 15:12:45 2022-09-27 15:12:45,714 [execute] DEBUG Popen(['git', 'rev-list', 'a0d28419706e17e65ef5c3171c3bd97c412f3c2f', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:12:45 2022-09-27 15:12:45,725 [execute] INFO git fetch -v origin 15:12:45 2022-09-27 15:12:45,725 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 15:12:46 2022-09-27 15:12:46,316 [run_push] DEBUG no remote changes detected 15:12:46 2022-09-27 15:12:46,316 [execute] INFO git push origin semver 15:12:46 2022-09-27 15:12:46,317 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 15:12:47 2022-09-27 15:12:47,199 [run_push] DEBUG push all version tags 15:12:47 2022-09-27 15:12:47,200 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 15:12:47 2022-09-27 15:12:47,200 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 15:12:48 2022-09-27 15:12:47,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 15:12:48 2.3.0-dev.31 [Pipeline] } 15:12:48 $ docker exec --env ******** --env ******** 4bde18507b4c47393a36d1bddeeb7bbe05174f39ab499d7bf1c002c373511161 ssh-agent -k 15:12:48 unset SSH_AUTH_SOCK; 15:12:48 unset SSH_AGENT_PID; 15:12:48 echo Agent pid 20 killed; 15:12:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:12:48 + git semver [Pipeline] } 15:12:49 $ docker stop --time=1 4bde18507b4c47393a36d1bddeeb7bbe05174f39ab499d7bf1c002c373511161 15:12:51 $ docker rm -f 4bde18507b4c47393a36d1bddeeb7bbe05174f39ab499d7bf1c002c373511161 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 15:12:51 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 15:12:51 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:12:51 total 16 15:12:51 drwxr-xr-x 3 root root 4096 Sep 27 15:02 . 15:12:51 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:12 .. 15:12:51 drwxr-xr-x 2 root root 4096 Sep 27 15:02 cost 15:12:51 -rw-r--r-- 1 root root 85 Sep 27 15:02 cost.csv 15:12:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:12:51 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 15:12:51 total 16 15:12:51 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 15:02 . 15:12:51 drwxrwxr-x 12 jenkins jenkins 4096 Sep 27 15:12 .. 15:12:51 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 15:02 cost 15:12:51 -rw-r--r-- 1 jenkins jenkins 85 Sep 27 15:02 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:12:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:12:52 ---> package-listing.sh 15:12:52 ++ facter osfamily 15:12:52 ++ tr '[:upper:]' '[:lower:]' 15:12:53 + OS_FAMILY=debian 15:12:53 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 15:12:53 + START_PACKAGES=/tmp/packages_start.txt 15:12:53 + END_PACKAGES=/tmp/packages_end.txt 15:12:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:12:53 + PACKAGES=/tmp/packages_start.txt 15:12:53 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:12:53 + PACKAGES=/tmp/packages_end.txt 15:12:53 + case "${OS_FAMILY}" in 15:12:53 + dpkg -l 15:12:53 + grep '^ii' 15:12:53 + '[' -f /tmp/packages_start.txt ']' 15:12:53 + '[' -f /tmp/packages_end.txt ']' 15:12:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:12:53 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 15:12:53 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 15:12:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 15:12:53 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:12:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:12:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:12:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:12:54 prd-ubuntu20.04-docker-8c-8g-1359 does not seem to be running inside a container 15:12:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:12:54 $ docker top e80b37ca1d9aa1f3838e824bd104ec583f7d7194e8523c8da3d97c1fcd948807 -eo pid,comm [Pipeline] { [Pipeline] sh 15:12:54 + touch /tmp/pre-build-complete [Pipeline] sh 15:12:55 + mkdir -p /var/log/sysstat [Pipeline] sh 15:12:55 + ls /var/log/sa-host 15:12:55 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:12:55 provisioning config files... 15:12:55 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4909468081082315652tmp [Pipeline] { [Pipeline] echo 15:12:55 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:12:55 ---> create-netrc.sh [Pipeline] } 15:12:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:12:56 ---> python-tools-install.sh [Pipeline] echo 15:12:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:12:56 ---> sudo-logs.sh 15:12:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:12:56 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:12:56 ---> job-cost.sh 15:12:56 lf-activate-venv: SKIPPING 15:12:56 DEBUG: total: 0.2199999988079071 15:12:56 INFO: Retrieving Stack Cost... 15:12:57 INFO: Retrieving Pricing Info for: v3-standard-8 15:12:57 INFO: Archiving Costs [Pipeline] echo 15:12:57 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:12:58 ---> logs-deploy.sh 15:12:58 lf-activate-venv: SKIPPING 15:12:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/105 15:12:58 INFO: archiving workspace using pattern(s): 15:12:59 Archives upload complete. 15:12:59 INFO: archiving logs to Nexus