Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df 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-ssh14408397473659705342.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-ssh246095195052179921.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-ssh1286737898615858655.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-ssh5954344789217465503.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-ssh483233425085034316.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7717 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 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df (main) Commit message: "Merge pull request #1231 from hahattan/update-example" > 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 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df # timeout=10 > git rev-list --no-walk 71d557e94127766e3dd7859e57e7c834f188cfad # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:58:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:58:05 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:58:05 ========================================================= 03:58:05 EdgeX Global Pipelines Version Info 03:58:05 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:58:06 ------------------- 03:58:06 stable info: 03:58:06 ------------------- 03:58:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:58:06 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:58:06 Message: update stable to v1.0.239 03:58:06 ------------------- 03:58:06 experimental info: 03:58:06 ------------------- 03:58:06 Commited By: **** collab-it+edgex@linuxfoundation.org 03:58:06 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 03:58:06 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 09c8a50 [Pipeline] echo 03:58:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:58:07 provisioning config files... 03:58:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config10810169120551382339tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:07 ---> docker-login.sh 03:58:07 nexus3.edgexfoundry.org:10001 03:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:08 Configure a credential helper to remove this warning. See 03:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:08 03:58:08 Login Succeeded 03:58:08 nexus3.edgexfoundry.org:10002 03:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:08 Configure a credential helper to remove this warning. See 03:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:08 03:58:08 Login Succeeded 03:58:08 nexus3.edgexfoundry.org:10003 03:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:08 Configure a credential helper to remove this warning. See 03:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:08 03:58:08 Login Succeeded 03:58:08 nexus3.edgexfoundry.org:10004 03:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:08 Configure a credential helper to remove this warning. See 03:58:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:08 03:58:08 Login Succeeded 03:58:08 docker.io 03:58:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:09 Configure a credential helper to remove this warning. See 03:58:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:09 03:58:09 Login Succeeded 03:58:09 ---> docker-login.sh ends [Pipeline] } 03:58:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:58:09 + git rev-list -1 --merges 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df~1..09c8a507c77d2bd2f09eb9ac13068a60ef71d0df [Pipeline] echo 03:58:09 -----------> git rev-list -1 --merges 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df~1..09c8a507c77d2bd2f09eb9ac13068a60ef71d0df 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df 03:58:09 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df [false] [Pipeline] sh 03:58:09 + git log --format=format:%s -1 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df [Pipeline] echo 03:58:09 ========================================================= 03:58:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:58:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:58:10 + git log --format=format:%s -1 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df [Pipeline] echo 03:58:10 [semverPrep] GIT_COMMIT: 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df, Commit Message: Merge pull request #1231 from hahattan/update-example [Pipeline] echo 03:58:10 [semverPrep] This is not a build commit. [Pipeline] sh 03:58:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:58:10 + grep -v github /etc/ssh/ssh_known_hosts 03:58:10 + [ -e /tmp/ssh_known_hosts ] 03:58:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:58:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:58:10 + sudo tee -a /etc/ssh/ssh_known_hosts 03:58:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:58:10 03:58:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:58:11 0.1.4: Pulling from edgex-devops/py-git-semver 03:58:11 b85a868b505f: Pulling fs layer 03:58:11 e2be974225ed: Pulling fs layer 03:58:11 339a4e72a1f5: Pulling fs layer 03:58:11 988bab9f4d93: Pulling fs layer 03:58:11 1469e6f7b9e6: Pulling fs layer 03:58:11 eaf3925da568: Pulling fs layer 03:58:11 bab4dde63d76: Pulling fs layer 03:58:11 bde34c3a00c8: Pulling fs layer 03:58:11 b352a97aabf1: Pulling fs layer 03:58:11 4872d77fe225: Pulling fs layer 03:58:11 5851b861e8e6: Pulling fs layer 03:58:11 988bab9f4d93: Waiting 03:58:11 1469e6f7b9e6: Waiting 03:58:11 eaf3925da568: Waiting 03:58:11 bab4dde63d76: Waiting 03:58:11 4872d77fe225: Waiting 03:58:11 5851b861e8e6: Waiting 03:58:11 b352a97aabf1: Waiting 03:58:11 bde34c3a00c8: Waiting 03:58:11 e2be974225ed: Download complete 03:58:11 988bab9f4d93: Verifying Checksum 03:58:11 988bab9f4d93: Download complete 03:58:11 1469e6f7b9e6: Verifying Checksum 03:58:11 1469e6f7b9e6: Download complete 03:58:11 eaf3925da568: Verifying Checksum 03:58:11 eaf3925da568: Download complete 03:58:11 339a4e72a1f5: Verifying Checksum 03:58:11 339a4e72a1f5: Download complete 03:58:11 bde34c3a00c8: Download complete 03:58:11 b352a97aabf1: Download complete 03:58:11 4872d77fe225: Verifying Checksum 03:58:11 4872d77fe225: Download complete 03:58:11 5851b861e8e6: Verifying Checksum 03:58:11 5851b861e8e6: Download complete 03:58:11 b85a868b505f: Verifying Checksum 03:58:11 b85a868b505f: Download complete 03:58:11 bab4dde63d76: Verifying Checksum 03:58:11 bab4dde63d76: Download complete 03:58:12 b85a868b505f: Pull complete 03:58:12 e2be974225ed: Pull complete 03:58:13 339a4e72a1f5: Pull complete 03:58:13 988bab9f4d93: Pull complete 03:58:13 1469e6f7b9e6: Pull complete 03:58:13 eaf3925da568: Pull complete 03:58:15 bab4dde63d76: Pull complete 03:58:15 bde34c3a00c8: Pull complete 03:58:15 b352a97aabf1: Pull complete 03:58:15 4872d77fe225: Pull complete 03:58:15 5851b861e8e6: Pull complete 03:58:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:58:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:58:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:58:15 prd-ubuntu20.04-docker-8c-8g-7717 does not seem to be running inside a container 03:58:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:58:18 $ docker top 4146881998cb284a8bbcbd6f512062477e0d1adc118953a84371e42fb5f43c54 -eo pid,comm 03:58:18 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:58:18 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:58:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:18 [ssh-agent] Looking for ssh-agent implementation... 03:58:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:18 $ docker exec 4146881998cb284a8bbcbd6f512062477e0d1adc118953a84371e42fb5f43c54 ssh-agent 03:58:18 SSH_AUTH_SOCK=/tmp/ssh-9K4THJU46oxm/agent.33 03:58:18 SSH_AGENT_PID=39 03:58:18 Running ssh-add (command line suppressed) 03:58:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1077733685392040661.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_1077733685392040661.key) 03:58:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:19 + git tag --points-at HEAD [Pipeline] } 03:58:19 $ docker exec --env ******** --env ******** 4146881998cb284a8bbcbd6f512062477e0d1adc118953a84371e42fb5f43c54 ssh-agent -k 03:58:19 unset SSH_AUTH_SOCK; 03:58:19 unset SSH_AGENT_PID; 03:58:19 echo Agent pid 39 killed; 03:58:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:58:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:58:19 [ssh-agent] Looking for ssh-agent implementation... 03:58:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:58:19 $ docker exec 4146881998cb284a8bbcbd6f512062477e0d1adc118953a84371e42fb5f43c54 ssh-agent 03:58:19 SSH_AUTH_SOCK=/tmp/ssh-sluA9SxlULbU/agent.71 03:58:19 SSH_AGENT_PID=77 03:58:19 Running ssh-add (command line suppressed) 03:58:19 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14080175080420706592.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14080175080420706592.key) 03:58:19 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:58:20 + git semver init 03:58:20 2022-10-12 03:58:20,230 [run_init] DEBUG init version:0.0.0 force:False 03:58:20 2022-10-12 03:58:20,231 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:58:20 2022-10-12 03:58:20,232 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 03:58:20 2022-10-12 03:58:20,232 [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) 03:58:21 2022-10-12 03:58:21,246 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 03:58:21 2022-10-12 03:58:21,247 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 03:58:21 2022-10-12 03:58:21,247 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:58:21 2022-10-12 03:58:21,247 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 03:58:21 2.3.0-dev.38 [Pipeline] } 03:58:21 $ docker exec --env ******** --env ******** 4146881998cb284a8bbcbd6f512062477e0d1adc118953a84371e42fb5f43c54 ssh-agent -k 03:58:21 unset SSH_AUTH_SOCK; 03:58:21 unset SSH_AGENT_PID; 03:58:21 echo Agent pid 77 killed; 03:58:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:58:21 + git semver [Pipeline] } 03:58:22 $ docker stop --time=1 4146881998cb284a8bbcbd6f512062477e0d1adc118953a84371e42fb5f43c54 03:58:23 $ docker rm -f 4146881998cb284a8bbcbd6f512062477e0d1adc118953a84371e42fb5f43c54 [Pipeline] // withDockerContainer [Pipeline] sh 03:58:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:58:24 Stashed 1 file(s) [Pipeline] echo 03:58:24 [edgeXSemver]: initialized semver on version 2.3.0-dev.38 [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 03:58:24 provisioning config files... 03:58:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11516802595399002491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:24 ---> docker-login.sh 03:58:24 nexus3.edgexfoundry.org:10001 03:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:24 Configure a credential helper to remove this warning. See 03:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:24 03:58:24 Login Succeeded 03:58:24 nexus3.edgexfoundry.org:10002 03:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:24 Configure a credential helper to remove this warning. See 03:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:24 03:58:24 Login Succeeded 03:58:24 nexus3.edgexfoundry.org:10003 03:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:24 Configure a credential helper to remove this warning. See 03:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:24 03:58:24 Login Succeeded 03:58:24 nexus3.edgexfoundry.org:10004 03:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:24 Configure a credential helper to remove this warning. See 03:58:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:24 03:58:24 Login Succeeded 03:58:24 docker.io 03:58:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:58:25 Configure a credential helper to remove this warning. See 03:58:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:58:25 03:58:25 Login Succeeded 03:58:25 ---> docker-login.sh ends [Pipeline] } 03:58:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:58:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:58:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:58:25 ========================================================= 03:58:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 03:58:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:25 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 03:58:25 Sending build context to Docker daemon 9.972MB 03:58:25 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 03:58:25 Step 2/11 : FROM ${BASE} AS builder 03:58:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 03:58:25 213ec9aee27d: Pulling fs layer 03:58:25 4583459ba037: Pulling fs layer 03:58:25 93c1e223e6f2: Pulling fs layer 03:58:25 53926ce57604: Pulling fs layer 03:58:25 21b2b0c7a3f4: Pulling fs layer 03:58:25 30f14e443154: Pulling fs layer 03:58:25 801331c1e519: Pulling fs layer 03:58:25 99cc6dd402b0: Pulling fs layer 03:58:25 7d9ed39f4882: Pulling fs layer 03:58:25 21b2b0c7a3f4: Waiting 03:58:25 30f14e443154: Waiting 03:58:25 7d9ed39f4882: Waiting 03:58:25 99cc6dd402b0: Waiting 03:58:25 801331c1e519: Waiting 03:58:25 93c1e223e6f2: Verifying Checksum 03:58:25 93c1e223e6f2: Download complete 03:58:25 4583459ba037: Download complete 03:58:25 21b2b0c7a3f4: Verifying Checksum 03:58:25 21b2b0c7a3f4: Download complete 03:58:25 213ec9aee27d: Verifying Checksum 03:58:25 30f14e443154: Verifying Checksum 03:58:25 30f14e443154: Download complete 03:58:25 801331c1e519: Download complete 03:58:25 213ec9aee27d: Pull complete 03:58:26 4583459ba037: Pull complete 03:58:26 93c1e223e6f2: Pull complete 03:58:26 7d9ed39f4882: Verifying Checksum 03:58:26 7d9ed39f4882: Download complete 03:58:26 53926ce57604: Verifying Checksum 03:58:26 53926ce57604: Download complete 03:58:27 99cc6dd402b0: Verifying Checksum 03:58:27 99cc6dd402b0: Download complete 03:58:30 53926ce57604: Pull complete 03:58:30 21b2b0c7a3f4: Pull complete 03:58:30 30f14e443154: Pull complete 03:58:30 801331c1e519: Pull complete 03:58:32 99cc6dd402b0: Pull complete 03:58:33 7d9ed39f4882: Pull complete 03:58:33 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 03:58:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 03:58:33 ---> 1dedd983c030 03:58:33 Step 3/11 : ARG MAKE=make build 03:58:37 ---> Running in d2c7bc851b40 03:58:37 Removing intermediate container d2c7bc851b40 03:58:37 ---> 006222c7d71f 03:58:37 Step 4/11 : WORKDIR /device-sdk-go 03:58:37 ---> Running in 99aa27aa5336 03:58:37 Removing intermediate container 99aa27aa5336 03:58:37 ---> 3f44f6f439fa 03:58:37 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:58:37 ---> Running in 771dc14bfb89 03:58:37 Removing intermediate container 771dc14bfb89 03:58:37 ---> 892a964ee07f 03:58:37 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:58:37 ---> Running in b31a85ca25a3 03:58:38 Removing intermediate container b31a85ca25a3 03:58:38 ---> 12bda3eff6d7 03:58:38 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:58:38 ---> Running in 6e9a4b002faf 03:58:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:58:39 Still waiting to schedule task 03:58:39 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:58:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:58:39 OK: 211 MiB in 51 packages 03:58:39 Removing intermediate container 6e9a4b002faf 03:58:39 ---> 3282c91cab5d 03:58:39 Step 8/11 : COPY go.mod vendor* ./ 03:58:39 ---> ddb432e8f348 03:58:39 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:58:40 ---> Running in 5175a067504e 03:59:02 Removing intermediate container 5175a067504e 03:59:02 ---> 27a70f95ec81 03:59:02 Step 10/11 : COPY . . 03:59:02 ---> 70d09c72068c 03:59:02 Step 11/11 : RUN ${MAKE} 03:59:02 ---> Running in 7dd6bc2ac9d6 03:59:02 noop 03:59:02 Removing intermediate container 7dd6bc2ac9d6 03:59:02 ---> 8499156bc1ee 03:59:02 Successfully built 8499156bc1ee 03:59:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:02 + docker inspect -f . ci-base-image-x86_64 03:59:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:02 prd-ubuntu20.04-docker-8c-8g-7717 does not seem to be running inside a container 03:59:02 $ 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 03:59:02 $ docker top 09aebda6e74d94d9e2ffb6ec611d35f80b34cb51081f005dc604a470f765f396 -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:03 + go version 03:59:03 go version go1.18.7 linux/amd64 [Pipeline] } 03:59:03 $ docker stop --time=1 09aebda6e74d94d9e2ffb6ec611d35f80b34cb51081f005dc604a470f765f396 03:59:04 $ docker rm -f 09aebda6e74d94d9e2ffb6ec611d35f80b34cb51081f005dc604a470f765f396 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:04 + docker inspect -f . ci-base-image-x86_64 03:59:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:04 prd-ubuntu20.04-docker-8c-8g-7717 does not seem to be running inside a container 03:59:04 $ 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 03:59:05 $ docker top 82c9bcefb2f0986f289bda680edb9a16183450bc5f7549e4d6206ff83c43fe25 -eo pid,comm [Pipeline] { [Pipeline] sh 03:59:05 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 03:59:05 + make test 03:59:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:59:12 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 03:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:59:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.055s coverage: 27.6% of statements 03:59:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements 03:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 03:59:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.079s coverage: 60.0% of statements 03:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:59:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:59:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 54.4% of statements 03:59:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:59:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 03:59:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:59:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:59:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.087s coverage: 65.1% of statements 03:59:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 03:59:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 03:59:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.730s coverage: 89.2% of statements 03:59:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 03:59:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 03:59:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:59:40 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." 03:59:40 GO111MODULE=on go vet ./... 03:59:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:59:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:59:43 ./bin/test-attribution-txt.sh 03:59:43 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 03:59:43 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 03:59:43 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 03:59:43 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 03:59:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:59:43 $ docker stop --time=1 82c9bcefb2f0986f289bda680edb9a16183450bc5f7549e4d6206ff83c43fe25 03:59:46 $ docker rm -f 82c9bcefb2f0986f289bda680edb9a16183450bc5f7549e4d6206ff83c43fe25 [Pipeline] // withDockerContainer [Pipeline] sh 03:59:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:59:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:59:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:59:48 + ls -al . 03:59:48 total 276 03:59:48 drwxrwxr-x 11 jenkins jenkins 4096 Oct 12 03:59 . 03:59:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:58 .. 03:59:48 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 03:58 .dockerignore 03:59:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 03:59 .git 03:59:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:58 .github 03:59:48 -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 03:58 .gitignore 03:59:48 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 03:58 .golangci.yml 03:59:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 03:58 .semver 03:59:48 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 12 03:58 CHANGELOG.md 03:59:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 03:58 GOVERNANCE.md 03:59:48 -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 03:58 Jenkinsfile 03:59:48 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 03:58 LICENSE 03:59:48 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 12 03:58 Makefile 03:59:48 -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 03:58 OWNERS.md 03:59:48 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 12 03:58 README.md 03:59:48 -rw-rw-r-- 1 jenkins jenkins 12 Oct 12 03:58 VERSION 03:59:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 03:58 bin 03:59:48 -rw-r--r-- 1 jenkins jenkins 101009 Oct 12 03:59 coverage.out 03:59:48 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 03:58 example 03:59:48 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 12 03:58 go.mod 03:59:48 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 12 03:58 go.sum 03:59:48 drwxrwxr-x 14 jenkins jenkins 4096 Oct 12 03:58 internal 03:59:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 03:58 openapi 03:59:48 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 03:58 pkg 03:59:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 03:58 snap 03:59:48 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 03:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:48 + 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=09c8a507c77d2bd2f09eb9ac13068a60ef71d0df --label arch=amd64 --label version=2.3.0-dev.38 . 03:59:48 Sending build context to Docker daemon 10.07MB 03:59:48 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 03:59:48 Step 2/25 : FROM ${BASE} AS builder 03:59:48 ---> 8499156bc1ee 03:59:48 Step 3/25 : ARG MAKE=make build 03:59:48 ---> Running in 6ce51cf498e1 03:59:48 Removing intermediate container 6ce51cf498e1 03:59:48 ---> c64574eccaf5 03:59:48 Step 4/25 : WORKDIR /device-sdk-go 03:59:48 ---> Running in d8e94a7da6ec 03:59:48 Removing intermediate container d8e94a7da6ec 03:59:48 ---> dbc4f57abe30 03:59:48 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:59:48 ---> Running in 5cbea45e86a0 03:59:49 Removing intermediate container 5cbea45e86a0 03:59:49 ---> bb257519cb41 03:59:49 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 03:59:49 ---> Running in 734262a2c300 03:59:49 Removing intermediate container 734262a2c300 03:59:49 ---> d6c2b7a0756b 03:59:49 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:59:49 ---> Running in 246990a1f9e2 03:59:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 03:59:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 03:59:51 OK: 211 MiB in 51 packages 03:59:51 Removing intermediate container 246990a1f9e2 03:59:51 ---> 5e4a311a4352 03:59:51 Step 8/25 : COPY go.mod vendor* ./ 03:59:51 ---> 1a03237e7086 03:59:51 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:59:51 ---> Running in c431789eae5d 03:59:52 Removing intermediate container c431789eae5d 03:59:52 ---> be7919a7ea68 03:59:52 Step 10/25 : COPY . . 03:59:52 ---> 027e3775f2c1 03:59:52 Step 11/25 : RUN ${MAKE} 03:59:52 ---> Running in c140e53c6434 03:59:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.38" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:00:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7718 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:00:00 Running in /w/workspace/device-sdk-go/113 [Pipeline] { [Pipeline] checkout 04:00:00 The recommended git tool is: git 04:00:05 using credential edgex-jenkins-ssh 04:00:05 Cloning the remote Git repository 04:00:05 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:00:05 > git init /w/workspace/device-sdk-go/113 # timeout=10 04:00:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:00:05 > git --version # timeout=10 04:00:05 > git --version # 'git version 2.25.1' 04:00:05 using GIT_SSH to set credentials SSH Credentials for GitHub 04:00:05 Verifying host key using known hosts file 04:00:05 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:00:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:00:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:00:08 Avoid second fetch 04:00:08 Checking out Revision 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df (main) 04:00:08 Commit message: "Merge pull request #1231 from hahattan/update-example" 04:00:08 > git config core.sparsecheckout # timeout=10 04:00:08 > git checkout -f 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:00:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:00:09 % Total % Received % Xferd Average Speed Time Time Time Current 04:00:09 Dload Upload Total Spent Left Speed 04:00:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 102k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 04:00:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:00:10 + sudo tee /etc/docker/daemon.new 04:00:10 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:00:10 { 04:00:10 "registry-mirrors": [ 04:00:10 "https://nexus3.edgexfoundry.org:10001" 04:00:10 ], 04:00:10 "bip": "10.250.0.254/24", 04:00:10 "hosts": [ 04:00:10 "tcp://0.0.0.0:5555", 04:00:10 "unix:///var/run/docker.sock" 04:00:10 ], 04:00:10 "mtu": 1458, 04:00:10 "selinux-enabled": true, 04:00:10 "seccomp-profile": "/etc/docker/seccomp.json" 04:00:10 } [Pipeline] sh 04:00:10 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:00:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:00:11 + sudo service docker restart 04:00:12 Removing intermediate container c140e53c6434 04:00:12 ---> 604eec07e176 04:00:12 Step 12/25 : FROM alpine:3.16 04:00:13 3.16: Pulling from library/alpine 04:00:13 213ec9aee27d: Already exists 04:00:13 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:00:13 Status: Downloaded newer image for alpine:3.16 04:00:13 ---> 9c6f07244728 04:00:13 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:00:13 ---> Running in 149ebb4e33a4 04:00:13 Removing intermediate container 149ebb4e33a4 04:00:13 ---> efa944fbba0a 04:00:13 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:00:13 ---> Running in 9519734a35a9 04:00:14 Removing intermediate container 9519734a35a9 04:00:14 ---> b3f825f417a3 04:00:14 Step 15/25 : RUN apk add --update --no-cache zeromq 04:00:14 ---> Running in 33f0f7b7de18 04:00:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:00:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:00:15 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:00:15 (2/5) Installing libsodium (1.0.18-r0) 04:00:15 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:00:15 (4/5) Installing libzmq (4.3.4-r0) 04:00:15 (5/5) Installing zeromq (4.3.4-r0) 04:00:15 Executing busybox-1.35.0-r17.trigger 04:00:15 OK: 8 MiB in 19 packages 04:00:16 Removing intermediate container 33f0f7b7de18 04:00:16 ---> 066e76c0cb40 04:00:16 Step 16/25 : WORKDIR / 04:00:16 ---> Running in e341f724b68a 04:00:16 Removing intermediate container e341f724b68a 04:00:16 ---> e3bf9765f00a 04:00:16 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:00:16 ---> 259e13df449f 04:00:16 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:00:17 ---> d47c439b8d62 04:00:17 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:00:17 ---> 931f59d7e553 04:00:17 Step 20/25 : EXPOSE 59999 04:00:17 ---> Running in bc14a3d888bb 04:00:17 Removing intermediate container bc14a3d888bb 04:00:17 ---> 307780ed47f1 04:00:17 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:00:17 ---> Running in d389af53c047 04:00:17 Removing intermediate container d389af53c047 04:00:17 ---> d0f63a48cada 04:00:17 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:00:17 ---> Running in a3c6225b0b92 04:00:17 Removing intermediate container a3c6225b0b92 04:00:17 ---> dffa4762f34f 04:00:17 Step 23/25 : LABEL arch=amd64 04:00:17 ---> Running in c2edd0742570 04:00:17 Removing intermediate container c2edd0742570 04:00:17 ---> 8ca2fd2d5e9d 04:00:17 Step 24/25 : LABEL git_sha=09c8a507c77d2bd2f09eb9ac13068a60ef71d0df 04:00:17 ---> Running in 2d980f728b81 04:00:17 Removing intermediate container 2d980f728b81 04:00:17 ---> de984c4f9088 04:00:17 Step 25/25 : LABEL version=2.3.0-dev.38 04:00:17 ---> Running in 567e32caba9a 04:00:17 Removing intermediate container 567e32caba9a 04:00:17 ---> 640b6e18078c 04:00:17 [Warning] One or more build-args [ARCH] were not consumed 04:00:17 Successfully built 640b6e18078c 04:00:17 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:00:18 04:00:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:00:18 latest: Pulling from edgex-lftools-log-publisher 04:00:18 5eb5b503b376: Pulling fs layer 04:00:18 5c69ac0246d0: Pulling fs layer 04:00:18 ec43610c2a17: Pulling fs layer 04:00:18 3a2ae6a8a46f: Pulling fs layer 04:00:18 33b1e0a273af: Pulling fs layer 04:00:18 5d3b04190fa2: Pulling fs layer 04:00:18 2f39f015ded8: Pulling fs layer 04:00:18 3a2ae6a8a46f: Waiting 04:00:18 33b1e0a273af: Waiting 04:00:18 5d3b04190fa2: Waiting 04:00:18 2f39f015ded8: Waiting 04:00:18 5c69ac0246d0: Verifying Checksum 04:00:18 5c69ac0246d0: Download complete 04:00:18 3a2ae6a8a46f: Verifying Checksum 04:00:18 3a2ae6a8a46f: Download complete 04:00:18 33b1e0a273af: Verifying Checksum 04:00:18 33b1e0a273af: Download complete 04:00:18 ec43610c2a17: Verifying Checksum 04:00:18 ec43610c2a17: Download complete 04:00:18 5d3b04190fa2: Verifying Checksum 04:00:18 5d3b04190fa2: Download complete 04:00:18 5eb5b503b376: Verifying Checksum 04:00:18 5eb5b503b376: Download complete 04:00:19 2f39f015ded8: Download complete 04:00:19 5eb5b503b376: Pull complete 04:00:19 5c69ac0246d0: Pull complete 04:00:20 ec43610c2a17: Pull complete 04:00:20 3a2ae6a8a46f: Pull complete 04:00:20 33b1e0a273af: Pull complete 04:00:20 5d3b04190fa2: Pull complete 04:00:24 2f39f015ded8: Pull complete 04:00:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:00:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:00:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:25 prd-ubuntu20.04-docker-8c-8g-7717 does not seem to be running inside a container 04:00:25 $ 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 04:00:28 $ docker top 9f53b997c9cdf3940d15086b16dbd8fcbcbdfabcb232c91d717253654269b520 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:00:28 ---> job-cost.sh 04:00:28 lf-activate-venv: SKIPPING 04:00:28 INFO: No Stack... 04:00:28 INFO: Retrieving Pricing Info for: v3-standard-8 04:00:29 INFO: Archiving Costs [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:00:29 provisioning config files... 04:00:29 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/113@tmp/config8978075594817259230tmp 04:00:29 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:00:29 + cut -d, -f6 [Pipeline] lock 04:00:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-113-stack-cost] 04:00:29 Resource [jenkins-edgexfoundry-device-sdk-go-main-113-stack-cost] did not exist. Created. 04:00:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-113-stack-cost] [Pipeline] { [Pipeline] { [Pipeline] unstash [Pipeline] libraryResource [Pipeline] sh [Pipeline] sh 04:00:29 ---> docker-login.sh 04:00:29 nexus3.edgexfoundry.org:10001 04:00:29 + echo total: 0.2199999988079071 [Pipeline] stash 04:00:29 Stashed 1 file(s) [Pipeline] } 04:00:29 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-113-stack-cost] [Pipeline] // lock [Pipeline] } 04:00:29 $ docker stop --time=1 9f53b997c9cdf3940d15086b16dbd8fcbcbdfabcb232c91d717253654269b520 04:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:30 Configure a credential helper to remove this warning. See 04:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:30 04:00:30 Login Succeeded 04:00:30 nexus3.edgexfoundry.org:10002 04:00:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:30 Configure a credential helper to remove this warning. See 04:00:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:30 04:00:30 Login Succeeded 04:00:30 nexus3.edgexfoundry.org:10003 04:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:31 $ docker rm -f 9f53b997c9cdf3940d15086b16dbd8fcbcbdfabcb232c91d717253654269b520 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:31 Configure a credential helper to remove this warning. See 04:00:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:31 04:00:31 Login Succeeded 04:00:31 nexus3.edgexfoundry.org:10004 04:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:31 Configure a credential helper to remove this warning. See 04:00:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:31 04:00:31 Login Succeeded 04:00:31 docker.io 04:00:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:00:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:00:32 Configure a credential helper to remove this warning. See 04:00:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:00:32 04:00:32 Login Succeeded 04:00:32 ---> docker-login.sh ends [Pipeline] } 04:00:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:00:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:00:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:00:32 ========================================================= 04:00:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:00:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:32 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:00:32 Sending build context to Docker daemon 5.357MB 04:00:32 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:00:32 Step 2/11 : FROM ${BASE} AS builder 04:00:33 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:00:33 9b18e9b68314: Pulling fs layer 04:00:33 d32db5db7311: Pulling fs layer 04:00:33 d0c4b47475fc: Pulling fs layer 04:00:33 5831b945b038: Pulling fs layer 04:00:33 86bbec2aaacd: Pulling fs layer 04:00:33 e10730c5d714: Pulling fs layer 04:00:33 5dd5c2283517: Pulling fs layer 04:00:33 d5ac0230b979: Pulling fs layer 04:00:33 5831b945b038: Waiting 04:00:33 86bbec2aaacd: Waiting 04:00:33 e10730c5d714: Waiting 04:00:33 5dd5c2283517: Waiting 04:00:33 d5ac0230b979: Waiting 04:00:33 d0c4b47475fc: Verifying Checksum 04:00:33 d0c4b47475fc: Download complete 04:00:33 d32db5db7311: Verifying Checksum 04:00:33 d32db5db7311: Download complete 04:00:33 86bbec2aaacd: Verifying Checksum 04:00:33 86bbec2aaacd: Download complete 04:00:33 e10730c5d714: Verifying Checksum 04:00:33 e10730c5d714: Download complete 04:00:33 9b18e9b68314: Verifying Checksum 04:00:33 9b18e9b68314: Download complete 04:00:34 9b18e9b68314: Pull complete 04:00:34 d5ac0230b979: Verifying Checksum 04:00:34 d5ac0230b979: Download complete 04:00:34 d32db5db7311: Pull complete 04:00:34 d0c4b47475fc: Pull complete 04:00:35 5dd5c2283517: Verifying Checksum 04:00:35 5dd5c2283517: Download complete 04:00:36 5831b945b038: Verifying Checksum 04:00:36 5831b945b038: Download complete 04:00:48 5831b945b038: Pull complete 04:00:48 86bbec2aaacd: Pull complete 04:00:48 e10730c5d714: Pull complete 04:00:55 5dd5c2283517: Pull complete 04:00:56 d5ac0230b979: Pull complete 04:00:56 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:00:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:00:56 ---> 59b3b1a385d4 04:00:56 Step 3/11 : ARG MAKE=make build 04:00:58 ---> Running in e80020c38a1f 04:00:58 Removing intermediate container e80020c38a1f 04:00:58 ---> 1a716ed8e358 04:00:58 Step 4/11 : WORKDIR /device-sdk-go 04:00:58 ---> Running in c8f212a957ad 04:00:58 Removing intermediate container c8f212a957ad 04:00:58 ---> 65ff3edd070e 04:00:58 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:00:58 ---> Running in ee36555118af 04:00:59 Removing intermediate container ee36555118af 04:00:59 ---> e17e412b666d 04:00:59 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:00:59 ---> Running in 246687c6e173 04:01:01 Removing intermediate container 246687c6e173 04:01:01 ---> f7a5689cf5b4 04:01:01 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:01:01 ---> Running in cd0084c8f4e0 04:01:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:01:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:01:03 OK: 221 MiB in 51 packages 04:01:04 Removing intermediate container cd0084c8f4e0 04:01:04 ---> 3e6292498637 04:01:04 Step 8/11 : COPY go.mod vendor* ./ 04:01:04 ---> 909d9cd10842 04:01:04 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:01:04 ---> Running in cec965b1adb1 04:01:51 Removing intermediate container cec965b1adb1 04:01:51 ---> 923b62c01c57 04:01:51 Step 10/11 : COPY . . 04:01:51 ---> 6c7225ff1086 04:01:51 Step 11/11 : RUN ${MAKE} 04:01:51 ---> Running in f5e1260bff7a 04:01:52 noop 04:01:54 Removing intermediate container f5e1260bff7a 04:01:54 ---> 6cdbca52fc8a 04:01:54 Successfully built 6cdbca52fc8a 04:01:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:55 + docker inspect -f . ci-base-image-arm64 04:01:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:55 prd-ubuntu20.04-docker-arm64-4c-16g-7718 does not seem to be running inside a container 04:01:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/113 -v /w/workspace/device-sdk-go/113:/w/workspace/device-sdk-go/113:rw,z -v /w/workspace/device-sdk-go/113@tmp:/w/workspace/device-sdk-go/113@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 04:01:56 $ docker top c4c3f380bc3b1159b0d75c3704e5f484d9bfa02561659cb50c7e7fd874069d6a -eo pid,comm [Pipeline] { [Pipeline] sh 04:01:57 + go version 04:01:57 go version go1.18.7 linux/arm64 [Pipeline] } 04:01:57 $ docker stop --time=1 c4c3f380bc3b1159b0d75c3704e5f484d9bfa02561659cb50c7e7fd874069d6a 04:01:58 $ docker rm -f c4c3f380bc3b1159b0d75c3704e5f484d9bfa02561659cb50c7e7fd874069d6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:01:59 + docker inspect -f . ci-base-image-arm64 04:01:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:01:59 prd-ubuntu20.04-docker-arm64-4c-16g-7718 does not seem to be running inside a container 04:01:59 $ 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/113 -v /w/workspace/device-sdk-go/113:/w/workspace/device-sdk-go/113:rw,z -v /w/workspace/device-sdk-go/113@tmp:/w/workspace/device-sdk-go/113@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 04:02:00 $ docker top 92b8e7fba5a206817622a95d79b2c7eace19a58acf9ad647161dfca38d1d74ed -eo pid,comm [Pipeline] { [Pipeline] sh 04:02:01 + git config --global --add safe.directory /w/workspace/device-sdk-go/113 [Pipeline] fileExists [Pipeline] sh 04:02:02 + make test 04:02:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:02:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:04:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:04:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:04:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:04:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:04:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:04:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.348s coverage: 27.6% of statements 04:04:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.388s coverage: 78.9% of statements 04:04:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:04:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.759s coverage: 60.0% of statements 04:04:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:04:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:04:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.893s coverage: 54.4% of statements 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:04:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:04:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.694s coverage: 65.1% of statements 04:04:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:04:49 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:04:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.671s coverage: 89.2% of statements 04:04:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:04:52 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.262s coverage: 4.7% of statements 04:04:52 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:04:53 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:04:53 GO111MODULE=on go vet ./... 04:06:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:06:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:06:44 ./bin/test-attribution-txt.sh 04:06:44 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:06:44 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:06:44 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:06:44 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:06:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:06:45 $ docker stop --time=1 92b8e7fba5a206817622a95d79b2c7eace19a58acf9ad647161dfca38d1d74ed 04:06:46 $ docker rm -f 92b8e7fba5a206817622a95d79b2c7eace19a58acf9ad647161dfca38d1d74ed [Pipeline] // withDockerContainer [Pipeline] sh 04:06:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:48 Warning: overwriting stash ‘coverage-report’ 04:06:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:49 + ls -al . 04:06:49 total 272 04:06:49 drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 04:02 . 04:06:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:00 .. 04:06:49 -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 04:00 .dockerignore 04:06:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 04:00 .git 04:06:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 04:00 .github 04:06:49 -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 04:00 .gitignore 04:06:49 -rw-rw-r-- 1 jenkins jenkins 42 Oct 12 04:00 .golangci.yml 04:06:49 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 12 04:00 CHANGELOG.md 04:06:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 04:00 GOVERNANCE.md 04:06:49 -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 04:00 Jenkinsfile 04:06:49 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 04:00 LICENSE 04:06:49 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 12 04:00 Makefile 04:06:49 -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 04:00 OWNERS.md 04:06:49 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 12 04:00 README.md 04:06:49 -rw-rw-r-- 1 jenkins jenkins 12 Oct 12 03:58 VERSION 04:06:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 04:00 bin 04:06:49 -rw-r--r-- 1 jenkins jenkins 101009 Oct 12 04:04 coverage.out 04:06:49 drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 04:00 example 04:06:49 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 12 04:00 go.mod 04:06:49 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 12 04:00 go.sum 04:06:49 drwxrwxr-x 14 jenkins jenkins 4096 Oct 12 04:00 internal 04:06:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 04:00 openapi 04:06:49 drwxrwxr-x 6 jenkins jenkins 4096 Oct 12 04:00 pkg 04:06:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 04:00 snap 04:06:49 -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 04:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:49 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=09c8a507c77d2bd2f09eb9ac13068a60ef71d0df --label arch=arm64 --label version=2.3.0-dev.38 . 04:06:50 Sending build context to Docker daemon 5.458MB 04:06:50 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:06:50 Step 2/25 : FROM ${BASE} AS builder 04:06:50 ---> 6cdbca52fc8a 04:06:50 Step 3/25 : ARG MAKE=make build 04:06:50 ---> Running in 135e9520d096 04:06:50 Removing intermediate container 135e9520d096 04:06:50 ---> 248e9513d9d3 04:06:50 Step 4/25 : WORKDIR /device-sdk-go 04:06:51 ---> Running in cc43fc90b290 04:06:51 Removing intermediate container cc43fc90b290 04:06:51 ---> acfa97d96f06 04:06:51 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:06:51 ---> Running in 329c1aecf31f 04:06:51 Removing intermediate container 329c1aecf31f 04:06:51 ---> e4befa386ddd 04:06:51 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:51 ---> Running in 776326ea71fc 04:06:53 Removing intermediate container 776326ea71fc 04:06:53 ---> d2e0f2fa28c8 04:06:53 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:53 ---> Running in e08b9592a055 04:06:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:06:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:06:56 OK: 221 MiB in 51 packages 04:06:57 Removing intermediate container e08b9592a055 04:06:57 ---> 7a5252c807d8 04:06:57 Step 8/25 : COPY go.mod vendor* ./ 04:06:58 ---> be41048361dc 04:06:58 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:58 ---> Running in 78c71e0f3afc 04:07:01 Removing intermediate container 78c71e0f3afc 04:07:01 ---> 001d5b450fcf 04:07:01 Step 10/25 : COPY . . 04:07:03 ---> 4a2d1c312f67 04:07:03 Step 11/25 : RUN ${MAKE} 04:07:03 ---> Running in 2c807ffafa37 04:07:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.38" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:09:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:09:32 Removing intermediate container 2c807ffafa37 04:09:32 ---> d150de7626d9 04:09:32 Step 12/25 : FROM alpine:3.16 04:09:32 3.16: Pulling from library/alpine 04:09:32 9b18e9b68314: Already exists 04:09:32 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:09:32 Status: Downloaded newer image for alpine:3.16 04:09:32 ---> a6215f271958 04:09:32 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:09:34 ---> Running in 55b9302f42ca 04:09:34 Removing intermediate container 55b9302f42ca 04:09:34 ---> 7e743c4ba6b2 04:09:34 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:34 ---> Running in db59ee306d4c 04:09:36 Removing intermediate container db59ee306d4c 04:09:36 ---> 7ca5ac77b39a 04:09:36 Step 15/25 : RUN apk add --update --no-cache zeromq 04:09:36 ---> Running in 3c133cfcd5a6 04:09:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:09:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:09:39 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:09:39 (2/5) Installing libsodium (1.0.18-r0) 04:09:39 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:09:40 (4/5) Installing libzmq (4.3.4-r0) 04:09:40 (5/5) Installing zeromq (4.3.4-r0) 04:09:40 Executing busybox-1.35.0-r17.trigger 04:09:40 OK: 8 MiB in 19 packages 04:09:41 Removing intermediate container 3c133cfcd5a6 04:09:41 ---> 2dc21d8780ba 04:09:41 Step 16/25 : WORKDIR / 04:09:41 ---> Running in 2a645447bafa 04:09:41 Removing intermediate container 2a645447bafa 04:09:41 ---> eebe1dad8897 04:09:41 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:09:42 ---> 69737c8b2c4b 04:09:42 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:09:43 ---> 4360820f468c 04:09:43 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:09:44 ---> 1e5cf3f4accb 04:09:44 Step 20/25 : EXPOSE 59999 04:09:44 ---> Running in b4c1c161bef3 04:09:44 Removing intermediate container b4c1c161bef3 04:09:44 ---> 8dd58d710806 04:09:44 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:09:44 ---> Running in 3d64b8a48def 04:09:44 Removing intermediate container 3d64b8a48def 04:09:44 ---> fbdd8dd7a316 04:09:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:09:44 ---> Running in 04cfbc205a49 04:09:45 Removing intermediate container 04cfbc205a49 04:09:45 ---> ddcd8e0b8ad3 04:09:45 Step 23/25 : LABEL arch=arm64 04:09:45 ---> Running in 0bab4a485792 04:09:45 Removing intermediate container 0bab4a485792 04:09:45 ---> eac8b22ebdb5 04:09:45 Step 24/25 : LABEL git_sha=09c8a507c77d2bd2f09eb9ac13068a60ef71d0df 04:09:45 ---> Running in 2f323d785599 04:09:46 Removing intermediate container 2f323d785599 04:09:46 ---> eee85e8555f9 04:09:46 Step 25/25 : LABEL version=2.3.0-dev.38 04:09:46 ---> Running in 51ac2792d9c0 04:09:46 Removing intermediate container 51ac2792d9c0 04:09:46 ---> 3e591b8fbf90 04:09:46 [Warning] One or more build-args [ARCH] were not consumed 04:09:46 Successfully built 3e591b8fbf90 04:09:46 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:09:47 04:09:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:09:47 arm64: Pulling from edgex-lftools-log-publisher 04:09:47 8998bd30e6a1: Pulling fs layer 04:09:47 04944245beec: Pulling fs layer 04:09:47 699f458cf7ca: Pulling fs layer 04:09:47 765212b225bb: Pulling fs layer 04:09:47 f23df028b6ca: Pulling fs layer 04:09:47 d65c8cfc05b1: Pulling fs layer 04:09:47 2437ff75d9bd: Pulling fs layer 04:09:47 d65c8cfc05b1: Waiting 04:09:47 765212b225bb: Waiting 04:09:47 f23df028b6ca: Waiting 04:09:47 2437ff75d9bd: Waiting 04:09:47 04944245beec: Verifying Checksum 04:09:47 04944245beec: Download complete 04:09:47 765212b225bb: Verifying Checksum 04:09:47 765212b225bb: Download complete 04:09:47 f23df028b6ca: Verifying Checksum 04:09:47 f23df028b6ca: Download complete 04:09:47 d65c8cfc05b1: Download complete 04:09:47 699f458cf7ca: Verifying Checksum 04:09:47 699f458cf7ca: Download complete 04:09:48 8998bd30e6a1: Verifying Checksum 04:09:48 8998bd30e6a1: Download complete 04:09:50 2437ff75d9bd: Download complete 04:09:52 8998bd30e6a1: Pull complete 04:09:53 04944245beec: Pull complete 04:09:54 699f458cf7ca: Pull complete 04:09:54 765212b225bb: Pull complete 04:09:55 f23df028b6ca: Pull complete 04:09:55 d65c8cfc05b1: Pull complete 04:10:10 2437ff75d9bd: Pull complete 04:10:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:10:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:10:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:10 prd-ubuntu20.04-docker-arm64-4c-16g-7718 does not seem to be running inside a container 04:10:10 $ 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/113 -v /w/workspace/device-sdk-go/113:/w/workspace/device-sdk-go/113:rw,z -v /w/workspace/device-sdk-go/113@tmp:/w/workspace/device-sdk-go/113@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 04:10:13 $ docker top e7ecda40fd2924bce4ccfaf3ba6c6659fe0518b4997615c898835b1d45678128 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:14 ---> job-cost.sh 04:10:14 lf-activate-venv: SKIPPING 04:10:14 INFO: No Stack... 04:10:14 INFO: Retrieving Pricing Info for: v3-standard-4 04:10:15 INFO: Archiving Costs [Pipeline] sh 04:10:16 + cut -d, -f6 04:10:16 + cat /w/workspace/device-sdk-go/113/archives/cost.csv [Pipeline] lock 04:10:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-113-stack-cost] 04:10:16 Resource [jenkins-edgexfoundry-device-sdk-go-main-113-stack-cost] did not exist. Created. 04:10:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-113-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:10:17 /w/workspace/device-sdk-go/113@tmp/durable-5b5b0887/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:10:17 + echo total: 0.10999999940395355 [Pipeline] stash 04:10:17 Warning: overwriting stash ‘stack-cost’ 04:10:17 Stashed 1 file(s) [Pipeline] } 04:10:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-113-stack-cost] [Pipeline] // lock [Pipeline] } 04:10:17 $ docker stop --time=1 e7ecda40fd2924bce4ccfaf3ba6c6659fe0518b4997615c898835b1d45678128 04:10:19 $ docker rm -f e7ecda40fd2924bce4ccfaf3ba6c6659fe0518b4997615c898835b1d45678128 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:10:19 provisioning config files... 04:10:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14747015919840970511tmp [Pipeline] { [Pipeline] sh 04:10:20 + set +x 04:10:20 + bash -s -- 04:10:20 + curl -s https://codecov.io/bash 04:10:20 04:10:20 _____ _ 04:10:20 / ____| | | 04:10:20 | | ___ __| | ___ ___ _____ __ 04:10:20 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:10:20 | |___| (_) | (_| | __/ (_| (_) \ V / 04:10:20 \_____\___/ \__,_|\___|\___\___/ \_/ 04:10:20 Bash-1.0.6 04:10:20 04:10:20 04:10:20 ==> git version 2.25.1 found 04:10:20 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:10:20 Release-Date: 2020-01-08 04:10:20 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:10:20 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:10:20 ==> Jenkins CI detected. 04:10:20 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 04:10:20 project root: . 04:10:20 --> token set from env 04:10:20 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:10:20 ==> Running gcov in . (disable via -X gcov) 04:10:20 ==> Python coveragepy not found 04:10:20 ==> Searching for coverage reports in: 04:10:20 + . 04:10:20 -> Found 1 reports 04:10:20 ==> Detecting git/mercurial file structure 04:10:20 ==> Reading reports 04:10:20 + ./coverage.out bytes=101009 04:10:20 ==> Appending adjustments 04:10:20 https://docs.codecov.io/docs/fixing-reports 04:10:20 + Found adjustments 04:10:20 ==> Gzipping contents 04:10:20 16K /tmp/codecov.hIevD6.gz 04:10:20 ==> Uploading reports 04:10:20 url: https://codecov.io 04:10:20 query: branch=main&commit=09c8a507c77d2bd2f09eb9ac13068a60ef71d0df&build=113&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F113%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:10:20 -> Pinging Codecov 04:10:20 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=09c8a507c77d2bd2f09eb9ac13068a60ef71d0df&build=113&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F113%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:10:20 -> Uploading to 04:10:20 https://storage.googleapis.com/codecov/v4/raw/2022-10-12/7E55EF52A471D76F132DFD9A03CDDE97/09c8a507c77d2bd2f09eb9ac13068a60ef71d0df/46a7f1d1-85e2-400c-971d-42546692985f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221012T041020Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=318ecca2744cf5d443179f04babd8e2b4013694e7fb839aa1012aca3ea77c226 04:10:20 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:20 Dload Upload Total Spent Left Speed 04:10:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14588 0 0 100 14588 0 72217 --:--:-- --:--:-- --:--:-- 71862 100 14588 0 0 100 14588 0 70473 --:--:-- --:--:-- --:--:-- 70134 04:10:21 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/09c8a507c77d2bd2f09eb9ac13068a60ef71d0df [Pipeline] } 04:10:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:10:21 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:10:21 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:10:21 04:10:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:10:22 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:10:22 df9b9388f04a: Pulling fs layer 04:10:22 52dc419b0ee2: Pulling fs layer 04:10:22 25bc292e5bac: Pulling fs layer 04:10:22 114826534d7a: Pulling fs layer 04:10:22 4657fd5d0bcf: Pulling fs layer 04:10:22 6ad1cebc031e: Pulling fs layer 04:10:22 8a3aa393b2d8: Pulling fs layer 04:10:22 114826534d7a: Waiting 04:10:22 4657fd5d0bcf: Waiting 04:10:22 6ad1cebc031e: Waiting 04:10:22 8a3aa393b2d8: Waiting 04:10:22 25bc292e5bac: Verifying Checksum 04:10:22 25bc292e5bac: Download complete 04:10:22 52dc419b0ee2: Download complete 04:10:22 4657fd5d0bcf: Verifying Checksum 04:10:22 4657fd5d0bcf: Download complete 04:10:22 df9b9388f04a: Download complete 04:10:22 df9b9388f04a: Pull complete 04:10:22 6ad1cebc031e: Verifying Checksum 04:10:22 6ad1cebc031e: Download complete 04:10:22 52dc419b0ee2: Pull complete 04:10:22 25bc292e5bac: Pull complete 04:10:22 114826534d7a: Verifying Checksum 04:10:22 114826534d7a: Download complete 04:10:23 8a3aa393b2d8: Verifying Checksum 04:10:23 8a3aa393b2d8: Download complete 04:10:26 114826534d7a: Pull complete 04:10:26 4657fd5d0bcf: Pull complete 04:10:26 6ad1cebc031e: Pull complete 04:10:28 8a3aa393b2d8: Pull complete 04:10:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:10:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:10:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:28 prd-ubuntu20.04-docker-8c-8g-7717 does not seem to be running inside a container 04:10:28 $ 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 04:10:32 $ docker top 14ffd1bd3d1cd54d54e4bc8ab8b8972620f2c78da79c82bbad8748f300be8f33 -eo pid,comm [Pipeline] { [Pipeline] echo 04:10:32 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 04:10:33 + set -o pipefail 04:10:33 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 04:10:38 04:10:38 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 04:10:38 04:10:38 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/57ff8932-ab12-4c9d-91bd-e8a3d01b0684 04:10:38 04:10:38 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:10:38 04:10:38 04:10:38 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:10:38 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:10:38 More details here: https://snyk.co/ue1NS [Pipeline] } 04:10:38 $ docker stop --time=1 14ffd1bd3d1cd54d54e4bc8ab8b8972620f2c78da79c82bbad8748f300be8f33 04:10:41 $ docker rm -f 14ffd1bd3d1cd54d54e4bc8ab8b8972620f2c78da79c82bbad8748f300be8f33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 04:10:42 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:42 provisioning config files... 04:10:42 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13264496736214989818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:42 --> edgex-publish-swagger.sh 04:10:42 === Publish openapi/v2 API === 04:10:42 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 04:10:42 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 04:10:42 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:42 Dload Upload Total Spent Left Speed 04:10:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 78178 --:--:-- --:--:-- --:--:-- 78178 04:10:42 04:10:42 [Pipeline] } 04:10:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:10:43 + git log --format=format:%s -1 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df [Pipeline] sh 04:10:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:10:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:10:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:43 prd-ubuntu20.04-docker-8c-8g-7717 does not seem to be running inside a container 04:10: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 04:10:44 $ docker top b68025af847c706106d372e5c688d2b7f7eeb908a327938a58fc19f5e58951d3 -eo pid,comm 04:10: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). 04:10:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:10:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:10:44 [ssh-agent] Looking for ssh-agent implementation... 04:10:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:10:44 $ docker exec b68025af847c706106d372e5c688d2b7f7eeb908a327938a58fc19f5e58951d3 ssh-agent 04:10:44 SSH_AUTH_SOCK=/tmp/ssh-YjKDrsxJHm9U/agent.31 04:10:44 SSH_AGENT_PID=37 04:10:44 Running ssh-add (command line suppressed) 04:10:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18178533949088641005.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_18178533949088641005.key) 04:10:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:10:45 + git semver tag 04:10:45 2022-10-12 04:10:45,191 [run_tag] DEBUG tag force:False 04:10:45 2022-10-12 04:10:45,191 [check_head_tag] DEBUG check head tag 04:10:45 2022-10-12 04:10:45,192 [execute] INFO git cat-file --batch-check 04:10:45 2022-10-12 04:10:45,192 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:10:45 2022-10-12 04:10:45,196 [execute] INFO git cat-file --batch 04:10:45 2022-10-12 04:10:45,197 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 04:10:45 2022-10-12 04:10:45,215 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:10:45 2022-10-12 04:10:45,215 [execute] INFO git tag -a v2.3.0-dev.38 -m v2.3.0-dev.38 04:10:45 2022-10-12 04:10:45,216 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.38', '-m', 'v2.3.0-dev.38'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:10:45 2022-10-12 04:10:45,220 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:10:45 2.3.0-dev.38 [Pipeline] } 04:10:45 $ docker exec --env ******** --env ******** b68025af847c706106d372e5c688d2b7f7eeb908a327938a58fc19f5e58951d3 ssh-agent -k 04:10:45 unset SSH_AUTH_SOCK; 04:10:45 unset SSH_AGENT_PID; 04:10:45 echo Agent pid 37 killed; 04:10:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:10:45 + git semver [Pipeline] } 04:10:45 $ docker stop --time=1 b68025af847c706106d372e5c688d2b7f7eeb908a327938a58fc19f5e58951d3 04:10:47 $ docker rm -f b68025af847c706106d372e5c688d2b7f7eeb908a327938a58fc19f5e58951d3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:10:47 04:10:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:10:47 0.23.1-centos7: Pulling from edgex-lftools 04:10:47 ab5ef0e58194: Pulling fs layer 04:10:47 9712f1f96733: Pulling fs layer 04:10:47 63f879dbbcfc: Pulling fs layer 04:10:47 0d9ebad4ef96: Pulling fs layer 04:10:47 e9a5061849ea: Pulling fs layer 04:10:47 d747dcd14b5f: Pulling fs layer 04:10:47 2de7ff778b66: Pulling fs layer 04:10:47 0d9ebad4ef96: Waiting 04:10:47 2de7ff778b66: Waiting 04:10:47 d747dcd14b5f: Waiting 04:10:47 9712f1f96733: Download complete 04:10:48 63f879dbbcfc: Verifying Checksum 04:10:48 63f879dbbcfc: Download complete 04:10:48 0d9ebad4ef96: Verifying Checksum 04:10:48 0d9ebad4ef96: Download complete 04:10:48 e9a5061849ea: Verifying Checksum 04:10:48 e9a5061849ea: Download complete 04:10:48 d747dcd14b5f: Verifying Checksum 04:10:48 d747dcd14b5f: Download complete 04:10:48 2de7ff778b66: Verifying Checksum 04:10:48 2de7ff778b66: Download complete 04:10:48 ab5ef0e58194: Verifying Checksum 04:10:48 ab5ef0e58194: Download complete 04:10:51 ab5ef0e58194: Pull complete 04:10:51 9712f1f96733: Pull complete 04:10:52 63f879dbbcfc: Pull complete 04:10:55 0d9ebad4ef96: Pull complete 04:10:55 e9a5061849ea: Pull complete 04:10:55 d747dcd14b5f: Pull complete 04:10:56 2de7ff778b66: Pull complete 04:10:56 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:10:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:10:56 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:56 prd-ubuntu20.04-docker-8c-8g-7717 does not seem to be running inside a container 04:10:56 $ 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 04:11:00 $ docker top 9c7ac9dbb213bbadcb4dbc60d5c1f0e818aea4ae5265cabe81f4a736bc64e41c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:11:00 provisioning config files... 04:11:00 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3514850433083768631tmp 04:11:00 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9522333183971885887tmp 04:11:00 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13361130946114078162tmp [Pipeline] { [Pipeline] echo 04:11:00 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:11:00 ---> sigul-configuration.sh 04:11:00 gpg: directory `/root/.gnupg' created 04:11:00 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:11:00 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:11:00 gpg: keyring `/root/.gnupg/secring.gpg' created 04:11:00 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:11:00 gpg: CAST5 encrypted data 04:11:00 gpg: encrypted with 1 passphrase 04:11:00 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:11:00 + mkdir /home/jenkins 04:11:00 + mkdir /home/jenkins/sigul [Pipeline] sh 04:11:01 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:11:01 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:11:01 ---> sigul-install.sh 04:11:01 Sigul already installed; skipping installation. [Pipeline] sh 04:11:01 + git tag --list 04:11:01 0.7.1 04:11:01 delhi-tag 04:11:01 v1.0.0 04:11:01 v1.1.0 04:11:01 v1.1.1 04:11:01 v1.1.2 04:11:01 v1.2.0 04:11:01 v1.2.1 04:11:01 v1.2.2 04:11:01 v1.2.3 04:11:01 v1.3.0 04:11:01 v1.4.0 04:11:01 v2.0.0 04:11:01 v2.1.0 04:11:01 v2.1.1 04:11:01 v2.1.1-dev.2 04:11:01 v2.1.1-dev.3 04:11:01 v2.2.0 04:11:01 v2.2.1-dev.1 04:11:01 v2.2.1-dev.10 04:11:01 v2.2.1-dev.11 04:11:01 v2.2.1-dev.12 04:11:01 v2.2.1-dev.13 04:11:01 v2.2.1-dev.14 04:11:01 v2.2.1-dev.2 04:11:01 v2.2.1-dev.3 04:11:01 v2.2.1-dev.4 04:11:01 v2.2.1-dev.5 04:11:01 v2.2.1-dev.6 04:11:01 v2.2.1-dev.7 04:11:01 v2.2.1-dev.8 04:11:01 v2.2.1-dev.9 04:11:01 v2.3.0-dev.14 04:11:01 v2.3.0-dev.15 04:11:01 v2.3.0-dev.16 04:11:01 v2.3.0-dev.17 04:11:01 v2.3.0-dev.18 04:11:01 v2.3.0-dev.19 04:11:01 v2.3.0-dev.20 04:11:01 v2.3.0-dev.21 04:11:01 v2.3.0-dev.22 04:11:01 v2.3.0-dev.23 04:11:01 v2.3.0-dev.24 04:11:01 v2.3.0-dev.25 04:11:01 v2.3.0-dev.26 04:11:01 v2.3.0-dev.27 04:11:01 v2.3.0-dev.28 04:11:01 v2.3.0-dev.29 04:11:01 v2.3.0-dev.30 04:11:01 v2.3.0-dev.31 04:11:01 v2.3.0-dev.32 04:11:01 v2.3.0-dev.33 04:11:01 v2.3.0-dev.34 04:11:01 v2.3.0-dev.35 04:11:01 v2.3.0-dev.36 04:11:01 v2.3.0-dev.37 04:11:01 v2.3.0-dev.38 [Pipeline] sh 04:11:01 + lftools sign git-tag v2.3.0-dev.38 04:11:02 Signing Git tag with Sigul... 04:11:02 Signing v2.3.0-dev.38 [Pipeline] echo 04:11:03 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:11:03 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:11:03 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:11:03 $ docker stop --time=1 9c7ac9dbb213bbadcb4dbc60d5c1f0e818aea4ae5265cabe81f4a736bc64e41c 04:11:04 $ docker rm -f 9c7ac9dbb213bbadcb4dbc60d5c1f0e818aea4ae5265cabe81f4a736bc64e41c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:11:05 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:11:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:11:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:05 prd-ubuntu20.04-docker-8c-8g-7717 does not seem to be running inside a container 04:11:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:11:05 $ docker top 11f506e4c89e9fa0a9674b49e6cb905abffb2185363268e34772799f3baa9bf0 -eo pid,comm 04:11:05 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:11:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:11:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:11:05 [ssh-agent] Looking for ssh-agent implementation... 04:11:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:11:06 $ docker exec 11f506e4c89e9fa0a9674b49e6cb905abffb2185363268e34772799f3baa9bf0 ssh-agent 04:11:06 SSH_AUTH_SOCK=/tmp/ssh-NxoNbWIkQ0GX/agent.33 04:11:06 SSH_AGENT_PID=39 04:11:06 Running ssh-add (command line suppressed) 04:11:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16648230431852073676.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16648230431852073676.key) 04:11:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:11:06 + git semver bump pre 04:11:06 2022-10-12 04:11:06,686 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:11:06 2022-10-12 04:11:06,686 [bump_version] DEBUG bumping version:2.3.0-dev.38 on axis:pre with prefix:dev 04:11:06 2022-10-12 04:11:06,686 [bump_version] DEBUG bumped version:2.3.0-dev.39 04:11:06 2022-10-12 04:11:06,686 [write_version] DEBUG write version:2.3.0-dev.39 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 04:11:06 2022-10-12 04:11:06,686 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:11:06 2022-10-12 04:11:06,687 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:11:06 2022-10-12 04:11:06,688 [execute] INFO git cat-file --batch-check 04:11:06 2022-10-12 04:11:06,688 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:11:06 2022-10-12 04:11:06,693 [execute] INFO git cat-file --batch 04:11:06 2022-10-12 04:11:06,693 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:11:06 2022-10-12 04:11:06,698 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:11:06 2.3.0-dev.39 [Pipeline] } 04:11:06 $ docker exec --env ******** --env ******** 11f506e4c89e9fa0a9674b49e6cb905abffb2185363268e34772799f3baa9bf0 ssh-agent -k 04:11:06 unset SSH_AUTH_SOCK; 04:11:06 unset SSH_AGENT_PID; 04:11:06 echo Agent pid 39 killed; 04:11:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:11:07 + git semver [Pipeline] } 04:11:07 $ docker stop --time=1 11f506e4c89e9fa0a9674b49e6cb905abffb2185363268e34772799f3baa9bf0 04:11:08 $ docker rm -f 11f506e4c89e9fa0a9674b49e6cb905abffb2185363268e34772799f3baa9bf0 [Pipeline] // withDockerContainer [Pipeline] sh 04:11:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:11:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:11:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:09 prd-ubuntu20.04-docker-8c-8g-7717 does not seem to be running inside a container 04:11:09 $ 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 04:11:09 $ docker top e8853e29baf2f60892b4da7d02c0ad684d49b72e9ff048daa778efbf58423b2f -eo pid,comm 04:11:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:11:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:11:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:11:09 [ssh-agent] Looking for ssh-agent implementation... 04:11:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:11:09 $ docker exec e8853e29baf2f60892b4da7d02c0ad684d49b72e9ff048daa778efbf58423b2f ssh-agent 04:11:10 SSH_AUTH_SOCK=/tmp/ssh-5egXohAmWFK1/agent.32 04:11:10 SSH_AGENT_PID=38 04:11:10 Running ssh-add (command line suppressed) 04:11:10 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5881200877151092212.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5881200877151092212.key) 04:11:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:11:10 + git semver push 04:11:10 2022-10-12 04:11:10,630 [run_push] DEBUG push 04:11:10 2022-10-12 04:11:10,631 [execute] INFO git cat-file --batch-check 04:11:10 2022-10-12 04:11:10,631 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:11:10 2022-10-12 04:11:10,634 [execute] INFO git rev-list df6ec4cb18b9075ce40cdbda1958f329df83529d -- 04:11:10 2022-10-12 04:11:10,635 [execute] DEBUG Popen(['git', 'rev-list', 'df6ec4cb18b9075ce40cdbda1958f329df83529d', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:11:10 2022-10-12 04:11:10,644 [execute] INFO git fetch -v origin 04:11:10 2022-10-12 04:11:10,645 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:11:11 2022-10-12 04:11:11,349 [run_push] DEBUG no remote changes detected 04:11:11 2022-10-12 04:11:11,350 [execute] INFO git push origin semver 04:11:11 2022-10-12 04:11:11,350 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:11:12 2022-10-12 04:11:12,273 [run_push] DEBUG push all version tags 04:11:12 2022-10-12 04:11:12,274 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:11:12 2022-10-12 04:11:12,274 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:11:13 2022-10-12 04:11:13,203 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:11:13 2.3.0-dev.39 [Pipeline] } 04:11:13 $ docker exec --env ******** --env ******** e8853e29baf2f60892b4da7d02c0ad684d49b72e9ff048daa778efbf58423b2f ssh-agent -k 04:11:13 unset SSH_AUTH_SOCK; 04:11:13 unset SSH_AGENT_PID; 04:11:13 echo Agent pid 38 killed; 04:11:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:11:13 + git semver [Pipeline] } 04:11:14 $ docker stop --time=1 e8853e29baf2f60892b4da7d02c0ad684d49b72e9ff048daa778efbf58423b2f 04:11:15 $ docker rm -f e8853e29baf2f60892b4da7d02c0ad684d49b72e9ff048daa778efbf58423b2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:11:16 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 04:11:16 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:11:16 total 16 04:11:16 drwxr-xr-x 3 root root 4096 Oct 12 04:00 . 04:11:16 drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 04:11 .. 04:11:16 drwxr-xr-x 2 root root 4096 Oct 12 04:00 cost 04:11:16 -rw-r--r-- 1 root root 85 Oct 12 04:00 cost.csv 04:11:16 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:11:16 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 04:11:16 total 16 04:11:16 drwxr-xr-x 3 jenkins jenkins 4096 Oct 12 04:00 . 04:11:16 drwxrwxr-x 12 jenkins jenkins 4096 Oct 12 04:11 .. 04:11:16 drwxr-xr-x 2 jenkins jenkins 4096 Oct 12 04:00 cost 04:11:16 -rw-r--r-- 1 jenkins jenkins 85 Oct 12 04:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:11:16 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:11:17 ---> package-listing.sh 04:11:17 ++ facter osfamily 04:11:17 ++ tr '[:upper:]' '[:lower:]' 04:11:17 + OS_FAMILY=debian 04:11:17 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 04:11:17 + START_PACKAGES=/tmp/packages_start.txt 04:11:17 + END_PACKAGES=/tmp/packages_end.txt 04:11:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:11:17 + PACKAGES=/tmp/packages_start.txt 04:11:17 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:11:17 + PACKAGES=/tmp/packages_end.txt 04:11:17 + case "${OS_FAMILY}" in 04:11:17 + dpkg -l 04:11:17 + grep '^ii' 04:11:17 + '[' -f /tmp/packages_start.txt ']' 04:11:17 + '[' -f /tmp/packages_end.txt ']' 04:11:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:11:17 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 04:11:17 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 04:11:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 04:11:17 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:11:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:11:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:18 prd-ubuntu20.04-docker-8c-8g-7717 does not seem to be running inside a container 04:11:18 $ 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 04:11:18 $ docker top 018a269ac3ff1751ca113c0e0ef355aa371cf6ecf067a3d51377465136cbefa1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:18 + touch /tmp/pre-build-complete [Pipeline] sh 04:11:19 + mkdir -p /var/log/sysstat [Pipeline] sh 04:11:19 + ls /var/log/sa-host 04:11:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:19 provisioning config files... 04:11:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3776486231564766706tmp [Pipeline] { [Pipeline] echo 04:11:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:11:19 ---> create-netrc.sh [Pipeline] } 04:11:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:11:20 ---> python-tools-install.sh [Pipeline] echo 04:11:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:11:20 ---> sudo-logs.sh 04:11:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:11:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:11:20 ---> job-cost.sh 04:11:20 lf-activate-venv: SKIPPING 04:11:20 DEBUG: total: 0.2199999988079071 04:11:20 INFO: Retrieving Stack Cost... 04:11:21 INFO: Retrieving Pricing Info for: v3-standard-8 04:11:21 INFO: Archiving Costs [Pipeline] echo 04:11:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:11:21 ---> logs-deploy.sh 04:11:21 lf-activate-venv: SKIPPING 04:11:21 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/113 04:11:21 INFO: archiving workspace using pattern(s): 04:11:22 Archives upload complete. 04:11:22 INFO: archiving logs to Nexus