Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 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-ssh14894990688867768371.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-ssh11584874335764007224.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-ssh17383407267351088010.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-ssh10337056358727632526.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-ssh1003017446452057598.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7801 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 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 (main) > 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 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 # timeout=10 Commit message: "Merge pull request #1237 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.3.0-dev.21" > git rev-list --no-walk 09c8a507c77d2bd2f09eb9ac13068a60ef71d0df # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:49:40 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:49:40 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:49:40 ========================================================= 04:49:40 EdgeX Global Pipelines Version Info 04:49:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:49:40 ------------------- 04:49:40 stable info: 04:49:40 ------------------- 04:49:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:49:40 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:49:40 Message: update stable to v1.0.239 04:49:41 ------------------- 04:49:41 experimental info: 04:49:41 ------------------- 04:49:41 Commited By: **** collab-it+edgex@linuxfoundation.org 04:49:41 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:49:41 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:49:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:49:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:49:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:49:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:49:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:49:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 [Pipeline] echo 04:49:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f43d98 [Pipeline] echo 04:49:42 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:49:42 provisioning config files... 04:49:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16813559305188051154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:42 ---> docker-login.sh 04:49:42 nexus3.edgexfoundry.org:10001 04:49:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:43 Configure a credential helper to remove this warning. See 04:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:43 04:49:43 Login Succeeded 04:49:43 nexus3.edgexfoundry.org:10002 04:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:43 Configure a credential helper to remove this warning. See 04:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:43 04:49:43 Login Succeeded 04:49:43 nexus3.edgexfoundry.org:10003 04:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:43 Configure a credential helper to remove this warning. See 04:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:43 04:49:43 Login Succeeded 04:49:43 nexus3.edgexfoundry.org:10004 04:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:43 Configure a credential helper to remove this warning. See 04:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:43 04:49:43 Login Succeeded 04:49:43 docker.io 04:49:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:43 Configure a credential helper to remove this warning. See 04:49:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:43 04:49:43 Login Succeeded 04:49:43 ---> docker-login.sh ends [Pipeline] } 04:49:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:49:44 + git rev-list -1 --merges 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27~1..4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 [Pipeline] echo 04:49:44 -----------> git rev-list -1 --merges 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27~1..4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 04:49:44 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 [false] [Pipeline] sh 04:49:44 + git log --format=format:%s -1 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 [Pipeline] echo 04:49:44 ========================================================= 04:49:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:49:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:49:44 + git log --format=format:%s -1 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 [Pipeline] echo 04:49:44 [semverPrep] GIT_COMMIT: 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27, Commit Message: Merge pull request #1237 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.3.0-dev.21 [Pipeline] echo 04:49:44 [semverPrep] This is not a build commit. [Pipeline] sh 04:49:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:49:45 + grep -v github /etc/ssh/ssh_known_hosts 04:49:45 + [ -e /tmp/ssh_known_hosts ] 04:49:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:49:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:49:45 + sudo tee -a /etc/ssh/ssh_known_hosts 04:49:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:49:45 04:49:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:49:45 0.1.4: Pulling from edgex-devops/py-git-semver 04:49:45 b85a868b505f: Pulling fs layer 04:49:45 e2be974225ed: Pulling fs layer 04:49:45 339a4e72a1f5: Pulling fs layer 04:49:45 988bab9f4d93: Pulling fs layer 04:49:45 1469e6f7b9e6: Pulling fs layer 04:49:45 eaf3925da568: Pulling fs layer 04:49:45 bab4dde63d76: Pulling fs layer 04:49:45 bde34c3a00c8: Pulling fs layer 04:49:45 b352a97aabf1: Pulling fs layer 04:49:45 4872d77fe225: Pulling fs layer 04:49:45 5851b861e8e6: Pulling fs layer 04:49:45 bab4dde63d76: Waiting 04:49:45 bde34c3a00c8: Waiting 04:49:45 b352a97aabf1: Waiting 04:49:45 4872d77fe225: Waiting 04:49:45 5851b861e8e6: Waiting 04:49:45 988bab9f4d93: Waiting 04:49:45 1469e6f7b9e6: Waiting 04:49:45 eaf3925da568: Waiting 04:49:45 e2be974225ed: Verifying Checksum 04:49:45 e2be974225ed: Download complete 04:49:45 988bab9f4d93: Download complete 04:49:46 1469e6f7b9e6: Verifying Checksum 04:49:46 1469e6f7b9e6: Download complete 04:49:46 339a4e72a1f5: Verifying Checksum 04:49:46 339a4e72a1f5: Download complete 04:49:46 eaf3925da568: Verifying Checksum 04:49:46 eaf3925da568: Download complete 04:49:46 bde34c3a00c8: Verifying Checksum 04:49:46 bde34c3a00c8: Download complete 04:49:46 b352a97aabf1: Download complete 04:49:46 4872d77fe225: Verifying Checksum 04:49:46 4872d77fe225: Download complete 04:49:46 5851b861e8e6: Verifying Checksum 04:49:46 5851b861e8e6: Download complete 04:49:46 b85a868b505f: Verifying Checksum 04:49:46 b85a868b505f: Download complete 04:49:46 bab4dde63d76: Verifying Checksum 04:49:46 bab4dde63d76: Download complete 04:49:47 b85a868b505f: Pull complete 04:49:47 e2be974225ed: Pull complete 04:49:47 339a4e72a1f5: Pull complete 04:49:48 988bab9f4d93: Pull complete 04:49:48 1469e6f7b9e6: Pull complete 04:49:48 eaf3925da568: Pull complete 04:49:50 bab4dde63d76: Pull complete 04:49:50 bde34c3a00c8: Pull complete 04:49:50 b352a97aabf1: Pull complete 04:49:50 4872d77fe225: Pull complete 04:49:50 5851b861e8e6: Pull complete 04:49:50 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:49:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:49:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:50 prd-ubuntu20.04-docker-8c-8g-7801 does not seem to be running inside a container 04:49:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:49:52 $ docker top 5f8cb1b7d761626de08013a390fa38fd6011d1d2918d28f8117e62baee62568f -eo pid,comm 04:49:52 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:49:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:49:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:49:52 [ssh-agent] Looking for ssh-agent implementation... 04:49:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:49:52 $ docker exec 5f8cb1b7d761626de08013a390fa38fd6011d1d2918d28f8117e62baee62568f ssh-agent 04:49:52 SSH_AUTH_SOCK=/tmp/ssh-g1HMclzwnk5y/agent.33 04:49:52 SSH_AGENT_PID=39 04:49:52 Running ssh-add (command line suppressed) 04:49:52 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11969164646890105823.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11969164646890105823.key) 04:49:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:49:52 + git tag --points-at HEAD [Pipeline] } 04:49:52 $ docker exec --env ******** --env ******** 5f8cb1b7d761626de08013a390fa38fd6011d1d2918d28f8117e62baee62568f ssh-agent -k 04:49:52 unset SSH_AUTH_SOCK; 04:49:52 unset SSH_AGENT_PID; 04:49:52 echo Agent pid 39 killed; 04:49:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:49:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:49:53 [ssh-agent] Looking for ssh-agent implementation... 04:49:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:49:53 $ docker exec 5f8cb1b7d761626de08013a390fa38fd6011d1d2918d28f8117e62baee62568f ssh-agent 04:49:53 SSH_AUTH_SOCK=/tmp/ssh-yS4dsCu91y6O/agent.72 04:49:53 SSH_AGENT_PID=78 04:49:53 Running ssh-add (command line suppressed) 04:49:53 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6253942569605585827.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6253942569605585827.key) 04:49:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:49:53 + git semver init 04:49:53 2022-10-13 04:49:53,846 [run_init] DEBUG init version:0.0.0 force:False 04:49:53 2022-10-13 04:49:53,846 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:49:53 2022-10-13 04:49:53,847 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 04:49:53 2022-10-13 04:49:53,847 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/edgexfoundry_device-sdk-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 04:49:54 2022-10-13 04:49:54,834 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 04:49:54 2022-10-13 04:49:54,834 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 04:49:54 2022-10-13 04:49:54,834 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:49:54 2022-10-13 04:49:54,835 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 04:49:54 2.3.0-dev.39 [Pipeline] } 04:49:54 $ docker exec --env ******** --env ******** 5f8cb1b7d761626de08013a390fa38fd6011d1d2918d28f8117e62baee62568f ssh-agent -k 04:49:54 unset SSH_AUTH_SOCK; 04:49:54 unset SSH_AGENT_PID; 04:49:54 echo Agent pid 78 killed; 04:49:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:49:55 + git semver [Pipeline] } 04:49:55 $ docker stop --time=1 5f8cb1b7d761626de08013a390fa38fd6011d1d2918d28f8117e62baee62568f 04:49:56 $ docker rm -f 5f8cb1b7d761626de08013a390fa38fd6011d1d2918d28f8117e62baee62568f [Pipeline] // withDockerContainer [Pipeline] sh 04:49:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:49:57 Stashed 1 file(s) [Pipeline] echo 04:49:57 [edgeXSemver]: initialized semver on version 2.3.0-dev.39 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:49:57 provisioning config files... 04:49:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17436477896165196734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:57 ---> docker-login.sh 04:49:57 nexus3.edgexfoundry.org:10001 04:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:57 Configure a credential helper to remove this warning. See 04:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:57 04:49:57 Login Succeeded 04:49:57 nexus3.edgexfoundry.org:10002 04:49:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:57 Configure a credential helper to remove this warning. See 04:49:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:57 04:49:57 Login Succeeded 04:49:57 nexus3.edgexfoundry.org:10003 04:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:58 Configure a credential helper to remove this warning. See 04:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:58 04:49:58 Login Succeeded 04:49:58 nexus3.edgexfoundry.org:10004 04:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:58 Configure a credential helper to remove this warning. See 04:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:58 04:49:58 Login Succeeded 04:49:58 docker.io 04:49:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:58 Configure a credential helper to remove this warning. See 04:49:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:58 04:49:58 Login Succeeded 04:49:58 ---> docker-login.sh ends [Pipeline] } 04:49:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:49:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:49:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:49:58 ========================================================= 04:49:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:49:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:58 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:49:58 Sending build context to Docker daemon 9.977MB 04:49:58 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:49:58 Step 2/11 : FROM ${BASE} AS builder 04:49:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:49:58 213ec9aee27d: Pulling fs layer 04:49:58 4583459ba037: Pulling fs layer 04:49:58 93c1e223e6f2: Pulling fs layer 04:49:58 53926ce57604: Pulling fs layer 04:49:58 21b2b0c7a3f4: Pulling fs layer 04:49:58 30f14e443154: Pulling fs layer 04:49:58 801331c1e519: Pulling fs layer 04:49:58 99cc6dd402b0: Pulling fs layer 04:49:58 7d9ed39f4882: Pulling fs layer 04:49:58 30f14e443154: Waiting 04:49:58 801331c1e519: Waiting 04:49:58 99cc6dd402b0: Waiting 04:49:58 7d9ed39f4882: Waiting 04:49:58 53926ce57604: Waiting 04:49:58 21b2b0c7a3f4: Waiting 04:49:58 93c1e223e6f2: Verifying Checksum 04:49:58 93c1e223e6f2: Download complete 04:49:58 4583459ba037: Download complete 04:49:59 21b2b0c7a3f4: Download complete 04:49:59 30f14e443154: Download complete 04:49:59 213ec9aee27d: Verifying Checksum 04:49:59 213ec9aee27d: Download complete 04:49:59 801331c1e519: Download complete 04:49:59 213ec9aee27d: Pull complete 04:49:59 4583459ba037: Pull complete 04:49:59 93c1e223e6f2: Pull complete 04:49:59 7d9ed39f4882: Verifying Checksum 04:49:59 7d9ed39f4882: Download complete 04:50:00 99cc6dd402b0: Verifying Checksum 04:50:00 99cc6dd402b0: Download complete 04:50:00 53926ce57604: Verifying Checksum 04:50:00 53926ce57604: Download complete 04:50:03 53926ce57604: Pull complete 04:50:03 21b2b0c7a3f4: Pull complete 04:50:03 30f14e443154: Pull complete 04:50:03 801331c1e519: Pull complete 04:50:05 99cc6dd402b0: Pull complete 04:50:06 7d9ed39f4882: Pull complete 04:50:06 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 04:50:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:50:06 ---> 1dedd983c030 04:50:06 Step 3/11 : ARG MAKE=make build 04:50:08 ---> Running in 96490145da0c 04:50:08 Removing intermediate container 96490145da0c 04:50:08 ---> 8838f05a5ed3 04:50:08 Step 4/11 : WORKDIR /device-sdk-go 04:50:08 ---> Running in 76f4a8d20946 04:50:08 Removing intermediate container 76f4a8d20946 04:50:08 ---> e6ce7859a6ac 04:50:08 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:50:08 ---> Running in b1c0e0b8b380 04:50:08 Removing intermediate container b1c0e0b8b380 04:50:08 ---> 31bed7cd7b0a 04:50:08 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:50:08 ---> Running in 6f4a73bd2266 04:50:09 Removing intermediate container 6f4a73bd2266 04:50:09 ---> 458afc0851e9 04:50:09 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:50:09 ---> Running in fc5d37ae7cb3 04:50:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:50:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:50:10 OK: 211 MiB in 51 packages 04:50:11 Removing intermediate container fc5d37ae7cb3 04:50:11 ---> 58802da308b9 04:50:11 Step 8/11 : COPY go.mod vendor* ./ 04:50:11 ---> c5e6b25a361d 04:50:11 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:50:11 ---> Running in 81ab43978968 04:50:12 Still waiting to schedule task 04:50:12 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:50:29 Removing intermediate container 81ab43978968 04:50:29 ---> 3e985f4ea5e5 04:50:29 Step 10/11 : COPY . . 04:50:29 ---> 914ff712e929 04:50:29 Step 11/11 : RUN ${MAKE} 04:50:29 ---> Running in 35251bccb005 04:50:29 noop 04:50:29 Removing intermediate container 35251bccb005 04:50:29 ---> 034fbfada46a 04:50:29 Successfully built 034fbfada46a 04:50:29 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:29 + docker inspect -f . ci-base-image-x86_64 04:50:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:29 prd-ubuntu20.04-docker-8c-8g-7801 does not seem to be running inside a container 04:50:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:50:29 $ docker top c759bf937a70130f701798ba307cdb5e691678c33623fc53356a64374232fae2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:50:30 + go version 04:50:30 go version go1.18.7 linux/amd64 [Pipeline] } 04:50:30 $ docker stop --time=1 c759bf937a70130f701798ba307cdb5e691678c33623fc53356a64374232fae2 04:50:31 $ docker rm -f c759bf937a70130f701798ba307cdb5e691678c33623fc53356a64374232fae2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:32 + docker inspect -f . ci-base-image-x86_64 04:50:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:32 prd-ubuntu20.04-docker-8c-8g-7801 does not seem to be running inside a container 04:50:32 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:50:32 $ docker top b9f54884d95dcfadb27fbcdeff00d1db883d1de416253a82ca582c372e6aefc8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:50:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 04:50:33 + make test 04:50:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:50:38 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:50:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements 04:50:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.060s coverage: 78.9% of statements 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:50:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.096s coverage: 60.0% of statements 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:50:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.107s coverage: 54.4% of statements 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:50:53 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 65.1% of statements 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:50:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.744s coverage: 89.2% of statements 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:50:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 04:50:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:51:08 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 04:51:08 GO111MODULE=on go vet ./... 04:51:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:51:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:51:09 ./bin/test-attribution-txt.sh 04:51:09 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:51:09 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:51:09 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:51:09 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:51:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:51:09 $ docker stop --time=1 b9f54884d95dcfadb27fbcdeff00d1db883d1de416253a82ca582c372e6aefc8 04:51:11 $ docker rm -f b9f54884d95dcfadb27fbcdeff00d1db883d1de416253a82ca582c372e6aefc8 [Pipeline] // withDockerContainer [Pipeline] sh 04:51:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:51:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:51:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:51:13 + ls -al . 04:51:13 total 276 04:51:13 drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 04:50 . 04:51:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:49 .. 04:51:13 -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 04:49 .dockerignore 04:51:13 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 04:50 .git 04:51:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:49 .github 04:51:13 -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 04:49 .gitignore 04:51:13 -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 04:49 .golangci.yml 04:51:13 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 04:49 .semver 04:51:13 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 04:49 CHANGELOG.md 04:51:13 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 04:49 GOVERNANCE.md 04:51:13 -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 04:49 Jenkinsfile 04:51:13 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 04:49 LICENSE 04:51:13 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 04:49 Makefile 04:51:13 -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 04:49 OWNERS.md 04:51:13 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 04:49 README.md 04:51:13 -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 04:49 VERSION 04:51:13 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:49 bin 04:51:13 -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 04:50 coverage.out 04:51:13 drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 04:49 example 04:51:13 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 04:49 go.mod 04:51:13 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 04:49 go.sum 04:51:13 drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 04:49 internal 04:51:13 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:49 openapi 04:51:13 drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 04:49 pkg 04:51:13 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:49 snap 04:51:13 -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 04:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:13 + 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=4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 --label arch=amd64 --label version=2.3.0-dev.39 . 04:51:13 Sending build context to Docker daemon 10.08MB 04:51:13 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:51:13 Step 2/25 : FROM ${BASE} AS builder 04:51:13 ---> 034fbfada46a 04:51:13 Step 3/25 : ARG MAKE=make build 04:51:13 ---> Running in 1bea66758655 04:51:13 Removing intermediate container 1bea66758655 04:51:13 ---> 2e6462560d0b 04:51:13 Step 4/25 : WORKDIR /device-sdk-go 04:51:13 ---> Running in f2506d16496c 04:51:13 Removing intermediate container f2506d16496c 04:51:13 ---> a40c4d59a400 04:51:13 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:51:13 ---> Running in 0b7c96a75879 04:51:13 Removing intermediate container 0b7c96a75879 04:51:13 ---> 8004fa67710d 04:51:13 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:51:13 ---> Running in 989d0b0240c4 04:51:14 Removing intermediate container 989d0b0240c4 04:51:14 ---> 6a298329f4ea 04:51:14 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:51:14 ---> Running in 742a63a736a9 04:51:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:51:15 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:51:15 OK: 211 MiB in 51 packages 04:51:16 Removing intermediate container 742a63a736a9 04:51:16 ---> 9a04d44c0f9f 04:51:16 Step 8/25 : COPY go.mod vendor* ./ 04:51:16 ---> 016cfcd7312b 04:51:16 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:51:16 ---> Running in 76231b22e588 04:51:17 Removing intermediate container 76231b22e588 04:51:17 ---> 245ef14b5b0c 04:51:17 Step 10/25 : COPY . . 04:51:17 ---> a2e29ba2a44d 04:51:17 Step 11/25 : RUN ${MAKE} 04:51:17 ---> Running in f9b1cd8d823f 04:51:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.39" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:51:35 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:51:35 Removing intermediate container f9b1cd8d823f 04:51:35 ---> bdab9f3a0d5c 04:51:35 Step 12/25 : FROM alpine:3.16 04:51:36 3.16: Pulling from library/alpine 04:51:36 213ec9aee27d: Already exists 04:51:36 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:51:36 Status: Downloaded newer image for alpine:3.16 04:51:36 ---> 9c6f07244728 04:51:36 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:51:36 ---> Running in 1a1c9f3ad2ee 04:51:36 Removing intermediate container 1a1c9f3ad2ee 04:51:36 ---> 439248e1d710 04:51:36 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:51:36 ---> Running in f369abe54cf0 04:51:37 Removing intermediate container f369abe54cf0 04:51:37 ---> 34d6c36a3107 04:51:37 Step 15/25 : RUN apk add --update --no-cache zeromq 04:51:37 ---> Running in c056fad5ff7f 04:51:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:51:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:51:38 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:51:39 (2/5) Installing libsodium (1.0.18-r0) 04:51:39 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:51:39 (4/5) Installing libzmq (4.3.4-r0) 04:51:39 (5/5) Installing zeromq (4.3.4-r0) 04:51:39 Executing busybox-1.35.0-r17.trigger 04:51:39 OK: 8 MiB in 19 packages 04:51:40 Removing intermediate container c056fad5ff7f 04:51:40 ---> bcd6aba4387c 04:51:40 Step 16/25 : WORKDIR / 04:51:40 ---> Running in 156854f65e3b 04:51:40 Removing intermediate container 156854f65e3b 04:51:40 ---> e4088a57e42d 04:51:40 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:51:40 ---> 016e5c59d393 04:51:40 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:51:41 ---> 261221cdeff7 04:51:41 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:51:41 ---> 70bc03007166 04:51:41 Step 20/25 : EXPOSE 59999 04:51:41 ---> Running in 96fd87b4f0d5 04:51:41 Removing intermediate container 96fd87b4f0d5 04:51:41 ---> 006369c96745 04:51:41 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:51:41 ---> Running in 6cbad75df404 04:51:41 Removing intermediate container 6cbad75df404 04:51:41 ---> 290ae0248d78 04:51:41 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:51:41 ---> Running in eca9e041aba2 04:51:41 Removing intermediate container eca9e041aba2 04:51:41 ---> 3aa8880f9675 04:51:41 Step 23/25 : LABEL arch=amd64 04:51:41 ---> Running in 31e3594cbafd 04:51:41 Removing intermediate container 31e3594cbafd 04:51:41 ---> 5947df6edde4 04:51:41 Step 24/25 : LABEL git_sha=4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 04:51:41 ---> Running in 4e49d655688e 04:51:41 Removing intermediate container 4e49d655688e 04:51:41 ---> 90614cc306b6 04:51:41 Step 25/25 : LABEL version=2.3.0-dev.39 04:51:41 ---> Running in c02a1995241b 04:51:41 Removing intermediate container c02a1995241b 04:51:41 ---> 5595855c0fb4 04:51:41 [Warning] One or more build-args [ARCH] were not consumed 04:51:41 Successfully built 5595855c0fb4 04:51:41 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:51:42 04:51:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:51:42 latest: Pulling from edgex-lftools-log-publisher 04:51:42 5eb5b503b376: Pulling fs layer 04:51:42 5c69ac0246d0: Pulling fs layer 04:51:42 ec43610c2a17: Pulling fs layer 04:51:42 3a2ae6a8a46f: Pulling fs layer 04:51:42 33b1e0a273af: Pulling fs layer 04:51:42 5d3b04190fa2: Pulling fs layer 04:51:42 2f39f015ded8: Pulling fs layer 04:51:42 33b1e0a273af: Waiting 04:51:42 5d3b04190fa2: Waiting 04:51:42 2f39f015ded8: Waiting 04:51:42 3a2ae6a8a46f: Waiting 04:51:42 5c69ac0246d0: Verifying Checksum 04:51:42 5c69ac0246d0: Download complete 04:51:42 3a2ae6a8a46f: Verifying Checksum 04:51:42 3a2ae6a8a46f: Download complete 04:51:42 33b1e0a273af: Verifying Checksum 04:51:42 33b1e0a273af: Download complete 04:51:42 5d3b04190fa2: Verifying Checksum 04:51:42 5d3b04190fa2: Download complete 04:51:42 ec43610c2a17: Download complete 04:51:42 5eb5b503b376: Verifying Checksum 04:51:42 5eb5b503b376: Download complete 04:51:43 2f39f015ded8: Download complete 04:51:43 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7803 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 04:51:43 Running in /w/workspace/device-sdk-go/114 [Pipeline] { [Pipeline] checkout 04:51:43 The recommended git tool is: git 04:51:44 5eb5b503b376: Pull complete 04:51:44 5c69ac0246d0: Pull complete 04:51:44 ec43610c2a17: Pull complete 04:51:44 3a2ae6a8a46f: Pull complete 04:51:44 33b1e0a273af: Pull complete 04:51:44 5d3b04190fa2: Pull complete 04:51:48 using credential edgex-jenkins-ssh 04:51:48 Cloning the remote Git repository 04:51:49 2f39f015ded8: Pull complete 04:51:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:51:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:51:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:49 prd-ubuntu20.04-docker-8c-8g-7801 does not seem to be running inside a container 04:51:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:51:48 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:51:48 > git init /w/workspace/device-sdk-go/114 # timeout=10 04:51:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:51:49 > git --version # timeout=10 04:51:49 > git --version # 'git version 2.25.1' 04:51:49 using GIT_SSH to set credentials SSH Credentials for GitHub 04:51:49 Verifying host key using known hosts file 04:51:49 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:51:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:51:50 $ docker top eabf0e49410617002fc4a02627466a25fb75a9b611ea33827f920d4ac1395b2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:51:51 ---> job-cost.sh 04:51:51 lf-activate-venv: SKIPPING 04:51:51 INFO: No Stack... 04:51:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:51:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:51:51 INFO: Retrieving Pricing Info for: v3-standard-8 04:51:51 Avoid second fetch 04:51:51 Checking out Revision 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 (main) 04:51:51 INFO: Archiving Costs [Pipeline] sh 04:51:52 Commit message: "Merge pull request #1237 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.3.0-dev.21" 04:51:52 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 04:51:52 + cut -d, -f6 [Pipeline] lock 04:51:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-114-stack-cost] 04:51:52 Resource [jenkins-edgexfoundry-device-sdk-go-main-114-stack-cost] did not exist. Created. 04:51:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:51:52 04:51:52 GitHub has been notified of this commit’s build result 04:51:52 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:51:52 + echo total: 0.2199999988079071 04:51:51 > git config core.sparsecheckout # timeout=10 04:51:51 > git checkout -f 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 # timeout=10 [Pipeline] stash 04:51:52 Stashed 1 file(s) [Pipeline] } 04:51:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-114-stack-cost] [Pipeline] // lock [Pipeline] } 04:51:52 $ docker stop --time=1 eabf0e49410617002fc4a02627466a25fb75a9b611ea33827f920d4ac1395b2f 04:51:53 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:51:53 % Total % Received % Xferd Average Speed Time Time Time Current 04:51:53 Dload Upload Total Spent Left Speed 04:51:53 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 69624 0 --:--:-- --:--:-- --:--:-- 69241 100 12602 100 12602 0 0 69241 0 --:--:-- --:--:-- --:--:-- 68863 04:51:53 $ docker rm -f eabf0e49410617002fc4a02627466a25fb75a9b611ea33827f920d4ac1395b2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:51:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:51:54 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:51:54 + sudo tee /etc/docker/daemon.new 04:51:54 { 04:51:54 "registry-mirrors": [ 04:51:54 "https://nexus3.edgexfoundry.org:10001" 04:51:54 ], 04:51:54 "bip": "10.250.0.254/24", 04:51:54 "hosts": [ 04:51:54 "tcp://0.0.0.0:5555", 04:51:54 "unix:///var/run/docker.sock" 04:51:54 ], 04:51:54 "mtu": 1458, 04:51:54 "selinux-enabled": true, 04:51:54 "seccomp-profile": "/etc/docker/seccomp.json" 04:51:54 } [Pipeline] sh 04:51:54 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:51:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:13 provisioning config files... 04:52:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/114@tmp/config7078603058599774328tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:13 ---> docker-login.sh 04:52:13 nexus3.edgexfoundry.org:10001 04:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:14 Configure a credential helper to remove this warning. See 04:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:14 04:52:14 Login Succeeded 04:52:14 nexus3.edgexfoundry.org:10002 04:52:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:14 Configure a credential helper to remove this warning. See 04:52:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:14 04:52:14 Login Succeeded 04:52:14 nexus3.edgexfoundry.org:10003 04:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:15 Configure a credential helper to remove this warning. See 04:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:15 04:52:15 Login Succeeded 04:52:15 nexus3.edgexfoundry.org:10004 04:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:15 Configure a credential helper to remove this warning. See 04:52:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:15 04:52:15 Login Succeeded 04:52:15 docker.io 04:52:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:16 Configure a credential helper to remove this warning. See 04:52:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:16 04:52:16 Login Succeeded 04:52:16 ---> docker-login.sh ends [Pipeline] } 04:52:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:52:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:16 ========================================================= 04:52:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:52:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:16 + 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:52:16 Sending build context to Docker daemon 5.361MB 04:52:17 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:52:17 Step 2/11 : FROM ${BASE} AS builder 04:52:17 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:52:17 9b18e9b68314: Pulling fs layer 04:52:17 d32db5db7311: Pulling fs layer 04:52:17 d0c4b47475fc: Pulling fs layer 04:52:17 5831b945b038: Pulling fs layer 04:52:17 86bbec2aaacd: Pulling fs layer 04:52:17 e10730c5d714: Pulling fs layer 04:52:17 5dd5c2283517: Pulling fs layer 04:52:17 d5ac0230b979: Pulling fs layer 04:52:17 e10730c5d714: Waiting 04:52:17 5831b945b038: Waiting 04:52:17 5dd5c2283517: Waiting 04:52:17 d5ac0230b979: Waiting 04:52:17 86bbec2aaacd: Waiting 04:52:17 d0c4b47475fc: Verifying Checksum 04:52:17 d0c4b47475fc: Download complete 04:52:17 d32db5db7311: Verifying Checksum 04:52:17 d32db5db7311: Download complete 04:52:17 86bbec2aaacd: Verifying Checksum 04:52:17 86bbec2aaacd: Download complete 04:52:17 e10730c5d714: Download complete 04:52:17 9b18e9b68314: Verifying Checksum 04:52:17 9b18e9b68314: Download complete 04:52:18 9b18e9b68314: Pull complete 04:52:18 d5ac0230b979: Verifying Checksum 04:52:18 d5ac0230b979: Download complete 04:52:18 d32db5db7311: Pull complete 04:52:18 d0c4b47475fc: Pull complete 04:52:19 5dd5c2283517: Verifying Checksum 04:52:19 5dd5c2283517: Download complete 04:52:20 5831b945b038: Verifying Checksum 04:52:20 5831b945b038: Download complete 04:52:32 5831b945b038: Pull complete 04:52:32 86bbec2aaacd: Pull complete 04:52:32 e10730c5d714: Pull complete 04:52:39 5dd5c2283517: Pull complete 04:52:40 d5ac0230b979: Pull complete 04:52:40 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:52:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:52:40 ---> 59b3b1a385d4 04:52:40 Step 3/11 : ARG MAKE=make build 04:52:42 ---> Running in 7882306de701 04:52:42 Removing intermediate container 7882306de701 04:52:42 ---> 9df62a0ddf41 04:52:42 Step 4/11 : WORKDIR /device-sdk-go 04:52:42 ---> Running in b79bed250e4c 04:52:43 Removing intermediate container b79bed250e4c 04:52:43 ---> 0d7ca54f0de8 04:52:43 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:52:43 ---> Running in 04da662bb180 04:52:43 Removing intermediate container 04da662bb180 04:52:43 ---> 51968c1e19fc 04:52:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:52:43 ---> Running in bd6089735fed 04:52:45 Removing intermediate container bd6089735fed 04:52:45 ---> 54752b3139e7 04:52:45 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:52:45 ---> Running in d690aa5e6741 04:52:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:52:47 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:52:48 OK: 221 MiB in 51 packages 04:52:48 Removing intermediate container d690aa5e6741 04:52:48 ---> d2aecfc64158 04:52:48 Step 8/11 : COPY go.mod vendor* ./ 04:52:49 ---> a041e1f26767 04:52:49 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:49 ---> Running in 8095883e6a15 04:53:36 Removing intermediate container 8095883e6a15 04:53:36 ---> 91af652cdb11 04:53:36 Step 10/11 : COPY . . 04:53:37 ---> f879d09aafff 04:53:37 Step 11/11 : RUN ${MAKE} 04:53:37 ---> Running in 6afadae4342a 04:53:38 noop 04:53:38 Removing intermediate container 6afadae4342a 04:53:38 ---> 2ededd49cdb0 04:53:38 Successfully built 2ededd49cdb0 04:53:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:39 + docker inspect -f . ci-base-image-arm64 04:53:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:39 prd-ubuntu20.04-docker-arm64-4c-16g-7803 does not seem to be running inside a container 04:53:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/114 -v /w/workspace/device-sdk-go/114:/w/workspace/device-sdk-go/114:rw,z -v /w/workspace/device-sdk-go/114@tmp:/w/workspace/device-sdk-go/114@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:53:40 $ docker top 3ae8b9ed2ad405b5c18a23f0e3ba2b8ce20ed20c5aec349854e35c59a797aea4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:41 + go version 04:53:41 go version go1.18.7 linux/arm64 [Pipeline] } 04:53:41 $ docker stop --time=1 3ae8b9ed2ad405b5c18a23f0e3ba2b8ce20ed20c5aec349854e35c59a797aea4 04:53:43 $ docker rm -f 3ae8b9ed2ad405b5c18a23f0e3ba2b8ce20ed20c5aec349854e35c59a797aea4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:43 + docker inspect -f . ci-base-image-arm64 04:53:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:43 prd-ubuntu20.04-docker-arm64-4c-16g-7803 does not seem to be running inside a container 04:53:43 $ 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/114 -v /w/workspace/device-sdk-go/114:/w/workspace/device-sdk-go/114:rw,z -v /w/workspace/device-sdk-go/114@tmp:/w/workspace/device-sdk-go/114@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:53:44 $ docker top 8b472532be016edcc9636b8b9c4598cff40cd6af655e9d4483ca9f962f5c1d08 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:45 + git config --global --add safe.directory /w/workspace/device-sdk-go/114 [Pipeline] fileExists [Pipeline] sh 04:53:45 + make test 04:53:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:54:17 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:56:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:56:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:56:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:56:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:56:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:56:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.525s coverage: 27.6% of statements 04:56:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.356s coverage: 78.9% of statements 04:56:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:56:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.599s coverage: 60.0% of statements 04:56:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:56:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:56:24 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.613s coverage: 54.4% of statements 04:56:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:56:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:56:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:56:24 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:56:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.940s coverage: 65.1% of statements 04:56:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:56:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:56:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.072s coverage: 89.2% of statements 04:56:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:56:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.259s coverage: 4.7% of statements 04:56:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:56:31 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:56:31 GO111MODULE=on go vet ./... 04:58:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:58:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:58:22 ./bin/test-attribution-txt.sh 04:58:22 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:58:22 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:58:22 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:58:22 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:58:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:58:22 $ docker stop --time=1 8b472532be016edcc9636b8b9c4598cff40cd6af655e9d4483ca9f962f5c1d08 04:58:24 $ docker rm -f 8b472532be016edcc9636b8b9c4598cff40cd6af655e9d4483ca9f962f5c1d08 [Pipeline] // withDockerContainer [Pipeline] sh 04:58:25 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:58:26 Warning: overwriting stash ‘coverage-report’ 04:58:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:58:26 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:58:27 + ls -al . 04:58:27 total 272 04:58:27 drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 04:53 . 04:58:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:51 .. 04:58:27 -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 04:51 .dockerignore 04:58:27 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 04:51 .git 04:58:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:51 .github 04:58:27 -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 04:51 .gitignore 04:58:27 -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 04:51 .golangci.yml 04:58:27 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 04:51 CHANGELOG.md 04:58:27 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 04:51 GOVERNANCE.md 04:58:27 -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 04:51 Jenkinsfile 04:58:27 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 04:51 LICENSE 04:58:27 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 04:51 Makefile 04:58:27 -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 04:51 OWNERS.md 04:58:27 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 04:51 README.md 04:58:27 -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 04:49 VERSION 04:58:27 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 04:51 bin 04:58:27 -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 04:56 coverage.out 04:58:27 drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 04:51 example 04:58:27 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 04:51 go.mod 04:58:27 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 04:51 go.sum 04:58:27 drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 04:51 internal 04:58:27 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 04:51 openapi 04:58:27 drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 04:51 pkg 04:58:27 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 04:51 snap 04:58:27 -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 04:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:27 + 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=4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 --label arch=arm64 --label version=2.3.0-dev.39 . 04:58:28 Sending build context to Docker daemon 5.463MB 04:58:28 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:58:28 Step 2/25 : FROM ${BASE} AS builder 04:58:28 ---> 2ededd49cdb0 04:58:28 Step 3/25 : ARG MAKE=make build 04:58:28 ---> Running in b31ed6c8b67c 04:58:28 Removing intermediate container b31ed6c8b67c 04:58:28 ---> faafe1826dc1 04:58:28 Step 4/25 : WORKDIR /device-sdk-go 04:58:28 ---> Running in 6c49c8797190 04:58:29 Removing intermediate container 6c49c8797190 04:58:29 ---> 9e7d4ef8e696 04:58:29 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:58:29 ---> Running in 738b63b945f1 04:58:29 Removing intermediate container 738b63b945f1 04:58:29 ---> 20e04db90c8d 04:58:29 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:58:29 ---> Running in 980f0f57d18b 04:58:31 Removing intermediate container 980f0f57d18b 04:58:31 ---> e93de1f704b3 04:58:31 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:58:31 ---> Running in df23f3c8cd98 04:58:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:58:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:58:34 OK: 221 MiB in 51 packages 04:58:35 Removing intermediate container df23f3c8cd98 04:58:35 ---> 7c2b9090f88f 04:58:35 Step 8/25 : COPY go.mod vendor* ./ 04:58:35 ---> 8d7db624f210 04:58:35 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:58:35 ---> Running in e04a5da7e8b0 04:58:37 Removing intermediate container e04a5da7e8b0 04:58:37 ---> efd2cba580a6 04:58:37 Step 10/25 : COPY . . 04:58:39 ---> a8b379549750 04:58:39 Step 11/25 : RUN ${MAKE} 04:58:39 ---> Running in 78f7f21a2f82 04:58:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.39" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:01:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:01:02 Removing intermediate container 78f7f21a2f82 05:01:02 ---> d668efc4b4ca 05:01:02 Step 12/25 : FROM alpine:3.16 05:01:02 3.16: Pulling from library/alpine 05:01:02 9b18e9b68314: Already exists 05:01:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:01:02 Status: Downloaded newer image for alpine:3.16 05:01:02 ---> a6215f271958 05:01:02 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:01:02 ---> Running in 00d732ba8cee 05:01:03 Removing intermediate container 00d732ba8cee 05:01:03 ---> ca02936925c7 05:01:03 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:01:03 ---> Running in 43d19cf58c85 05:01:05 Removing intermediate container 43d19cf58c85 05:01:05 ---> 14dad8af244d 05:01:05 Step 15/25 : RUN apk add --update --no-cache zeromq 05:01:05 ---> Running in 91e0ce5219c9 05:01:06 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:01:07 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:01:07 (1/5) Installing libgcc (11.2.1_git20220219-r2) 05:01:08 (2/5) Installing libsodium (1.0.18-r0) 05:01:08 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 05:01:08 (4/5) Installing libzmq (4.3.4-r0) 05:01:08 (5/5) Installing zeromq (4.3.4-r0) 05:01:08 Executing busybox-1.35.0-r17.trigger 05:01:08 OK: 8 MiB in 19 packages 05:01:09 Removing intermediate container 91e0ce5219c9 05:01:09 ---> ce17b83a64b5 05:01:09 Step 16/25 : WORKDIR / 05:01:09 ---> Running in 0dafb75e6683 05:01:10 Removing intermediate container 0dafb75e6683 05:01:10 ---> b62f5767cb88 05:01:10 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:01:10 ---> 6e536db9f8a1 05:01:10 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:01:12 ---> 9c1710f982a4 05:01:12 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:01:12 ---> c4bb4938ffe2 05:01:12 Step 20/25 : EXPOSE 59999 05:01:12 ---> Running in 3dd4364fe60d 05:01:13 Removing intermediate container 3dd4364fe60d 05:01:13 ---> ed745837d18a 05:01:13 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:01:13 ---> Running in cdc0b58f1e13 05:01:13 Removing intermediate container cdc0b58f1e13 05:01:13 ---> 1eae08a9adb9 05:01:13 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:01:13 ---> Running in 8cc1fdfc35d0 05:01:13 Removing intermediate container 8cc1fdfc35d0 05:01:13 ---> 035b41cbb83c 05:01:13 Step 23/25 : LABEL arch=arm64 05:01:13 ---> Running in 4fa4230740dc 05:01:14 Removing intermediate container 4fa4230740dc 05:01:14 ---> 0cd9b010a99f 05:01:14 Step 24/25 : LABEL git_sha=4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 05:01:14 ---> Running in fad0aa6993de 05:01:14 Removing intermediate container fad0aa6993de 05:01:14 ---> f489920bea2c 05:01:14 Step 25/25 : LABEL version=2.3.0-dev.39 05:01:14 ---> Running in 024a3b017928 05:01:14 Removing intermediate container 024a3b017928 05:01:14 ---> 7ccd7931f1ed 05:01:14 [Warning] One or more build-args [ARCH] were not consumed 05:01:14 Successfully built 7ccd7931f1ed 05:01:14 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 05:01:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:15 05:01:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:16 arm64: Pulling from edgex-lftools-log-publisher 05:01:16 8998bd30e6a1: Pulling fs layer 05:01:16 04944245beec: Pulling fs layer 05:01:16 699f458cf7ca: Pulling fs layer 05:01:16 765212b225bb: Pulling fs layer 05:01:16 f23df028b6ca: Pulling fs layer 05:01:16 d65c8cfc05b1: Pulling fs layer 05:01:16 2437ff75d9bd: Pulling fs layer 05:01:16 765212b225bb: Waiting 05:01:16 f23df028b6ca: Waiting 05:01:16 d65c8cfc05b1: Waiting 05:01:16 2437ff75d9bd: Waiting 05:01:16 04944245beec: Verifying Checksum 05:01:16 04944245beec: Download complete 05:01:16 765212b225bb: Verifying Checksum 05:01:16 765212b225bb: Download complete 05:01:16 f23df028b6ca: Verifying Checksum 05:01:16 f23df028b6ca: Download complete 05:01:16 d65c8cfc05b1: Verifying Checksum 05:01:16 d65c8cfc05b1: Download complete 05:01:16 699f458cf7ca: Verifying Checksum 05:01:16 699f458cf7ca: Download complete 05:01:16 8998bd30e6a1: Verifying Checksum 05:01:16 8998bd30e6a1: Download complete 05:01:19 2437ff75d9bd: Verifying Checksum 05:01:20 8998bd30e6a1: Pull complete 05:01:21 04944245beec: Pull complete 05:01:22 699f458cf7ca: Pull complete 05:01:22 765212b225bb: Pull complete 05:01:23 f23df028b6ca: Pull complete 05:01:23 d65c8cfc05b1: Pull complete 05:01:38 2437ff75d9bd: Pull complete 05:01:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:01:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:38 prd-ubuntu20.04-docker-arm64-4c-16g-7803 does not seem to be running inside a container 05:01:39 $ 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/114 -v /w/workspace/device-sdk-go/114:/w/workspace/device-sdk-go/114:rw,z -v /w/workspace/device-sdk-go/114@tmp:/w/workspace/device-sdk-go/114@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 05:01:41 $ docker top adee92624dbd8f707ee4ec636408e8a57fe95fac08c424ed80983e3df8953d8b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:42 ---> job-cost.sh 05:01:42 lf-activate-venv: SKIPPING 05:01:42 INFO: No Stack... 05:01:42 INFO: Retrieving Pricing Info for: v3-standard-4 05:01:43 INFO: Archiving Costs [Pipeline] sh 05:01:44 + cat /w/workspace/device-sdk-go/114/archives/cost.csv 05:01:44 + cut -d, -f6 [Pipeline] lock 05:01:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-114-stack-cost] 05:01:44 Resource [jenkins-edgexfoundry-device-sdk-go-main-114-stack-cost] did not exist. Created. 05:01:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-114-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:01:45 /w/workspace/device-sdk-go/114@tmp/durable-b65b000b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:01:45 + echo total: 0.10999999940395355 [Pipeline] stash 05:01:45 Warning: overwriting stash ‘stack-cost’ 05:01:45 Stashed 1 file(s) [Pipeline] } 05:01:45 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-114-stack-cost] [Pipeline] // lock [Pipeline] } 05:01:45 $ docker stop --time=1 adee92624dbd8f707ee4ec636408e8a57fe95fac08c424ed80983e3df8953d8b 05:01:47 $ docker rm -f adee92624dbd8f707ee4ec636408e8a57fe95fac08c424ed80983e3df8953d8b [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 05:01:47 provisioning config files... 05:01:47 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17866012221544262241tmp [Pipeline] { [Pipeline] sh 05:01:47 + set +x 05:01:47 + + bash -s -- 05:01:47 curl -s https://codecov.io/bash 05:01:47 05:01:47 _____ _ 05:01:47 / ____| | | 05:01:47 | | ___ __| | ___ ___ _____ __ 05:01:47 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:01:47 | |___| (_) | (_| | __/ (_| (_) \ V / 05:01:47 \_____\___/ \__,_|\___|\___\___/ \_/ 05:01:47 Bash-1.0.6 05:01:47 05:01:47 05:01:47 ==> git version 2.25.1 found 05:01:47 ==> 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 05:01:47 Release-Date: 2020-01-08 05:01:47 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:01:47 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:01:47 ==> Jenkins CI detected. 05:01:47 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 05:01:47 project root: . 05:01:47 --> token set from env 05:01:47 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:01:47 ==> Running gcov in . (disable via -X gcov) 05:01:47 ==> Python coveragepy not found 05:01:47 ==> Searching for coverage reports in: 05:01:47 + . 05:01:47 -> Found 1 reports 05:01:47 ==> Detecting git/mercurial file structure 05:01:47 ==> Reading reports 05:01:47 + ./coverage.out bytes=101009 05:01:47 ==> Appending adjustments 05:01:47 https://docs.codecov.io/docs/fixing-reports 05:01:48 + Found adjustments 05:01:48 ==> Gzipping contents 05:01:48 16K /tmp/codecov.eHgBD0.gz 05:01:48 ==> Uploading reports 05:01:48 url: https://codecov.io 05:01:48 query: branch=main&commit=4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27&build=114&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F114%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:01:48 -> Pinging Codecov 05:01:48 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=4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27&build=114&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F114%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 05:01:48 -> Uploading to 05:01:48 https://storage.googleapis.com/codecov/v4/raw/2022-10-13/7E55EF52A471D76F132DFD9A03CDDE97/4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27/eddb4dc9-bdb8-4530-bebc-75fd89b48fc3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221013T050148Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fe611e08d427a4c9af928506b8266293ebc13e52007348cb28e9a927419063ac 05:01:48 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:48 Dload Upload Total Spent Left Speed 05:01:48 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14566 0 0 100 14566 0 66209 --:--:-- --:--:-- --:--:-- 65909 100 14566 0 0 100 14566 0 61201 --:--:-- --:--:-- --:--:-- 60945 05:01:48 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 [Pipeline] } 05:01:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 05:01:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 05:01:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:01:49 05:01:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:01:49 1.410.4: Pulling from edgex-devops/edgex-snyk-go 05:01:49 df9b9388f04a: Pulling fs layer 05:01:49 52dc419b0ee2: Pulling fs layer 05:01:49 25bc292e5bac: Pulling fs layer 05:01:49 114826534d7a: Pulling fs layer 05:01:49 4657fd5d0bcf: Pulling fs layer 05:01:49 6ad1cebc031e: Pulling fs layer 05:01:49 8a3aa393b2d8: Pulling fs layer 05:01:49 4657fd5d0bcf: Waiting 05:01:49 6ad1cebc031e: Waiting 05:01:49 8a3aa393b2d8: Waiting 05:01:49 114826534d7a: Waiting 05:01:49 25bc292e5bac: Verifying Checksum 05:01:49 25bc292e5bac: Download complete 05:01:49 52dc419b0ee2: Verifying Checksum 05:01:49 52dc419b0ee2: Download complete 05:01:49 4657fd5d0bcf: Download complete 05:01:49 df9b9388f04a: Verifying Checksum 05:01:49 df9b9388f04a: Download complete 05:01:49 df9b9388f04a: Pull complete 05:01:49 6ad1cebc031e: Verifying Checksum 05:01:49 6ad1cebc031e: Download complete 05:01:49 52dc419b0ee2: Pull complete 05:01:49 25bc292e5bac: Pull complete 05:01:50 114826534d7a: Verifying Checksum 05:01:50 114826534d7a: Download complete 05:01:50 8a3aa393b2d8: Verifying Checksum 05:01:50 8a3aa393b2d8: Download complete 05:01:53 114826534d7a: Pull complete 05:01:53 4657fd5d0bcf: Pull complete 05:01:53 6ad1cebc031e: Pull complete 05:01:56 8a3aa393b2d8: Pull complete 05:01:56 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 05:01:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 05:01:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:56 prd-ubuntu20.04-docker-8c-8g-7801 does not seem to be running inside a container 05:01:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 05:01:58 $ docker top 410b59203d18f095a7895a1e7e16b8de40ef36630ba85ec625d5a595b34a4f44 -eo pid,comm [Pipeline] { [Pipeline] echo 05:01:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 05:01:58 + set -o pipefail 05:01:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 05:02:04 05:02:04 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 05:02:04 05:02:04 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/62146f7f-8b5f-4259-952a-0c26ff96b50c 05:02:04 05:02:04 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 05:02:04 05:02:04 05:02:04 A medium severity vulnerability was found in the Snyk CLI versions you are using. 05:02:04 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 05:02:04 More details here: https://snyk.co/ue1NS [Pipeline] } 05:02:04 $ docker stop --time=1 410b59203d18f095a7895a1e7e16b8de40ef36630ba85ec625d5a595b34a4f44 05:02:06 $ docker rm -f 410b59203d18f095a7895a1e7e16b8de40ef36630ba85ec625d5a595b34a4f44 [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 05:02:06 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:06 provisioning config files... 05:02:06 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7921318657415639641tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:07 --> edgex-publish-swagger.sh 05:02:07 === Publish openapi/v2 API === 05:02:07 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 05:02:07 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 05:02:07 % Total % Received % Xferd Average Speed Time Time Time Current 05:02:07 Dload Upload Total Spent Left Speed 05:02:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 68656 --:--:-- --:--:-- --:--:-- 68568 100 53552 0 0 100 53552 0 68656 --:--:-- --:--:-- --:--:-- 68568 05:02:07 05:02:07 [Pipeline] } 05:02:07 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 05:02:08 + git log --format=format:%s -1 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 [Pipeline] sh 05:02:08 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:02:08 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:02:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:08 prd-ubuntu20.04-docker-8c-8g-7801 does not seem to be running inside a container 05:02:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:02:09 $ docker top a455e7ee7ead671c3e153e050445f0d1f34015c5f7482e7af7ad5b71664d6d9d -eo pid,comm 05:02: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). 05:02:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:02:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:09 [ssh-agent] Looking for ssh-agent implementation... 05:02:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:09 $ docker exec a455e7ee7ead671c3e153e050445f0d1f34015c5f7482e7af7ad5b71664d6d9d ssh-agent 05:02:09 SSH_AUTH_SOCK=/tmp/ssh-p5ldhVUmXotW/agent.33 05:02:09 SSH_AGENT_PID=39 05:02:09 Running ssh-add (command line suppressed) 05:02:09 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13886602012779144408.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13886602012779144408.key) 05:02:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:09 + git semver tag 05:02:10 2022-10-13 05:02:09,969 [run_tag] DEBUG tag force:False 05:02:10 2022-10-13 05:02:09,969 [check_head_tag] DEBUG check head tag 05:02:10 2022-10-13 05:02:09,970 [execute] INFO git cat-file --batch-check 05:02:10 2022-10-13 05:02:09,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:02:10 2022-10-13 05:02:09,974 [execute] INFO git cat-file --batch 05:02:10 2022-10-13 05:02:09,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 05:02:10 2022-10-13 05:02:09,992 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:10 2022-10-13 05:02:09,992 [execute] INFO git tag -a v2.3.0-dev.39 -m v2.3.0-dev.39 05:02:10 2022-10-13 05:02:09,992 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.39', '-m', 'v2.3.0-dev.39'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 05:02:10 2022-10-13 05:02:09,997 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:10 2.3.0-dev.39 [Pipeline] } 05:02:10 $ docker exec --env ******** --env ******** a455e7ee7ead671c3e153e050445f0d1f34015c5f7482e7af7ad5b71664d6d9d ssh-agent -k 05:02:10 unset SSH_AUTH_SOCK; 05:02:10 unset SSH_AGENT_PID; 05:02:10 echo Agent pid 39 killed; 05:02:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:02:10 + git semver [Pipeline] } 05:02:10 $ docker stop --time=1 a455e7ee7ead671c3e153e050445f0d1f34015c5f7482e7af7ad5b71664d6d9d 05:02:12 $ docker rm -f a455e7ee7ead671c3e153e050445f0d1f34015c5f7482e7af7ad5b71664d6d9d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:02:12 05:02:12 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:12 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:02:12 0.23.1-centos7: Pulling from edgex-lftools 05:02:12 ab5ef0e58194: Pulling fs layer 05:02:12 9712f1f96733: Pulling fs layer 05:02:12 63f879dbbcfc: Pulling fs layer 05:02:12 0d9ebad4ef96: Pulling fs layer 05:02:12 e9a5061849ea: Pulling fs layer 05:02:12 d747dcd14b5f: Pulling fs layer 05:02:12 2de7ff778b66: Pulling fs layer 05:02:12 0d9ebad4ef96: Waiting 05:02:12 e9a5061849ea: Waiting 05:02:12 d747dcd14b5f: Waiting 05:02:12 2de7ff778b66: Waiting 05:02:12 9712f1f96733: Verifying Checksum 05:02:12 9712f1f96733: Download complete 05:02:13 63f879dbbcfc: Verifying Checksum 05:02:13 63f879dbbcfc: Download complete 05:02:13 e9a5061849ea: Verifying Checksum 05:02:13 e9a5061849ea: Download complete 05:02:13 d747dcd14b5f: Verifying Checksum 05:02:13 d747dcd14b5f: Download complete 05:02:13 ab5ef0e58194: Verifying Checksum 05:02:13 ab5ef0e58194: Download complete 05:02:13 2de7ff778b66: Verifying Checksum 05:02:13 2de7ff778b66: Download complete 05:02:13 0d9ebad4ef96: Verifying Checksum 05:02:13 0d9ebad4ef96: Download complete 05:02:16 ab5ef0e58194: Pull complete 05:02:16 9712f1f96733: Pull complete 05:02:16 63f879dbbcfc: Pull complete 05:02:19 0d9ebad4ef96: Pull complete 05:02:19 e9a5061849ea: Pull complete 05:02:19 d747dcd14b5f: Pull complete 05:02:20 2de7ff778b66: Pull complete 05:02:20 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 05:02:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 05:02:20 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:20 prd-ubuntu20.04-docker-8c-8g-7801 does not seem to be running inside a container 05:02:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 05:02:23 $ docker top 5eca4bc03eb5dc8d58876019339e04f76474525c4f39c32098afbc2f8baecf09 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 05:02:23 provisioning config files... 05:02:23 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config9296598961551824107tmp 05:02:23 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16625021098813290990tmp 05:02:23 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1469171412244915406tmp [Pipeline] { [Pipeline] echo 05:02:23 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 05:02:23 ---> sigul-configuration.sh 05:02:23 gpg: directory `/root/.gnupg' created 05:02:23 gpg: new configuration file `/root/.gnupg/gpg.conf' created 05:02:23 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 05:02:23 gpg: keyring `/root/.gnupg/secring.gpg' created 05:02:23 gpg: keyring `/root/.gnupg/pubring.gpg' created 05:02:23 gpg: CAST5 encrypted data 05:02:23 gpg: encrypted with 1 passphrase 05:02:23 gpg: WARNING: message was not integrity protected [Pipeline] sh 05:02:24 + mkdir /home/jenkins 05:02:24 + mkdir /home/jenkins/sigul [Pipeline] sh 05:02:24 + 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 05:02:24 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 05:02:24 ---> sigul-install.sh 05:02:24 Sigul already installed; skipping installation. [Pipeline] sh 05:02:24 + git tag --list 05:02:24 0.7.1 05:02:24 delhi-tag 05:02:24 v1.0.0 05:02:24 v1.1.0 05:02:24 v1.1.1 05:02:24 v1.1.2 05:02:24 v1.2.0 05:02:24 v1.2.1 05:02:24 v1.2.2 05:02:24 v1.2.3 05:02:24 v1.3.0 05:02:24 v1.4.0 05:02:24 v2.0.0 05:02:24 v2.1.0 05:02:24 v2.1.1 05:02:24 v2.1.1-dev.2 05:02:24 v2.1.1-dev.3 05:02:24 v2.2.0 05:02:24 v2.2.1-dev.1 05:02:24 v2.2.1-dev.10 05:02:24 v2.2.1-dev.11 05:02:24 v2.2.1-dev.12 05:02:24 v2.2.1-dev.13 05:02:24 v2.2.1-dev.14 05:02:24 v2.2.1-dev.2 05:02:24 v2.2.1-dev.3 05:02:24 v2.2.1-dev.4 05:02:24 v2.2.1-dev.5 05:02:24 v2.2.1-dev.6 05:02:24 v2.2.1-dev.7 05:02:24 v2.2.1-dev.8 05:02:24 v2.2.1-dev.9 05:02:24 v2.3.0-dev.14 05:02:24 v2.3.0-dev.15 05:02:24 v2.3.0-dev.16 05:02:24 v2.3.0-dev.17 05:02:24 v2.3.0-dev.18 05:02:24 v2.3.0-dev.19 05:02:24 v2.3.0-dev.20 05:02:24 v2.3.0-dev.21 05:02:24 v2.3.0-dev.22 05:02:24 v2.3.0-dev.23 05:02:24 v2.3.0-dev.24 05:02:24 v2.3.0-dev.25 05:02:24 v2.3.0-dev.26 05:02:24 v2.3.0-dev.27 05:02:24 v2.3.0-dev.28 05:02:24 v2.3.0-dev.29 05:02:24 v2.3.0-dev.30 05:02:24 v2.3.0-dev.31 05:02:24 v2.3.0-dev.32 05:02:24 v2.3.0-dev.33 05:02:24 v2.3.0-dev.34 05:02:24 v2.3.0-dev.35 05:02:24 v2.3.0-dev.36 05:02:24 v2.3.0-dev.37 05:02:24 v2.3.0-dev.38 05:02:24 v2.3.0-dev.39 [Pipeline] sh 05:02:25 + lftools sign git-tag v2.3.0-dev.39 05:02:25 Signing Git tag with Sigul... 05:02:25 Signing v2.3.0-dev.39 [Pipeline] echo 05:02:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 05:02:26 ---> sigul-configuration-cleanup.sh [Pipeline] } 05:02:26 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 05:02:26 $ docker stop --time=1 5eca4bc03eb5dc8d58876019339e04f76474525c4f39c32098afbc2f8baecf09 05:02:27 $ docker rm -f 5eca4bc03eb5dc8d58876019339e04f76474525c4f39c32098afbc2f8baecf09 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 05:02:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:02:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:02:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:28 prd-ubuntu20.04-docker-8c-8g-7801 does not seem to be running inside a container 05:02:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:02:28 $ docker top 5d95da3203366e0ee88ec7d4531e657440bcb6d2f2d1fd6baf8ff554b2a968ed -eo pid,comm 05:02:28 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 05:02:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:02:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:28 [ssh-agent] Looking for ssh-agent implementation... 05:02:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:28 $ docker exec 5d95da3203366e0ee88ec7d4531e657440bcb6d2f2d1fd6baf8ff554b2a968ed ssh-agent 05:02:29 SSH_AUTH_SOCK=/tmp/ssh-KoDBuNIr6SUc/agent.32 05:02:29 SSH_AGENT_PID=38 05:02:29 Running ssh-add (command line suppressed) 05:02:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_571108577050907723.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_571108577050907723.key) 05:02:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:29 + git semver bump pre 05:02:29 2022-10-13 05:02:29,640 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:29 2022-10-13 05:02:29,640 [bump_version] DEBUG bumping version:2.3.0-dev.39 on axis:pre with prefix:dev 05:02:29 2022-10-13 05:02:29,640 [bump_version] DEBUG bumped version:2.3.0-dev.40 05:02:29 2022-10-13 05:02:29,641 [write_version] DEBUG write version:2.3.0-dev.40 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 05:02:29 2022-10-13 05:02:29,641 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:29 2022-10-13 05:02:29,641 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:29 2022-10-13 05:02:29,642 [execute] INFO git cat-file --batch-check 05:02:29 2022-10-13 05:02:29,642 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:02:29 2022-10-13 05:02:29,648 [execute] INFO git cat-file --batch 05:02:29 2022-10-13 05:02:29,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:02:29 2022-10-13 05:02:29,653 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:29 2.3.0-dev.40 [Pipeline] } 05:02:29 $ docker exec --env ******** --env ******** 5d95da3203366e0ee88ec7d4531e657440bcb6d2f2d1fd6baf8ff554b2a968ed ssh-agent -k 05:02:29 unset SSH_AUTH_SOCK; 05:02:29 unset SSH_AGENT_PID; 05:02:29 echo Agent pid 38 killed; 05:02:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:02:30 + git semver [Pipeline] } 05:02:30 $ docker stop --time=1 5d95da3203366e0ee88ec7d4531e657440bcb6d2f2d1fd6baf8ff554b2a968ed 05:02:31 $ docker rm -f 5d95da3203366e0ee88ec7d4531e657440bcb6d2f2d1fd6baf8ff554b2a968ed [Pipeline] // withDockerContainer [Pipeline] sh 05:02:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:02:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 05:02:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:32 prd-ubuntu20.04-docker-8c-8g-7801 does not seem to be running inside a container 05:02:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 05:02:32 $ docker top f073394106b695da41213d3a1561e8a6bb7c09993d9263a8696c43d20b917408 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:02:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:32 [ssh-agent] Looking for ssh-agent implementation... 05:02:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:33 $ docker exec f073394106b695da41213d3a1561e8a6bb7c09993d9263a8696c43d20b917408 ssh-agent 05:02:33 SSH_AUTH_SOCK=/tmp/ssh-kkgnP682RzqF/agent.31 05:02:33 SSH_AGENT_PID=37 05:02:33 Running ssh-add (command line suppressed) 05:02:33 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6910042586342560662.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6910042586342560662.key) 05:02:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:33 + git semver push 05:02:33 2022-10-13 05:02:33,779 [run_push] DEBUG push 05:02:33 2022-10-13 05:02:33,779 [execute] INFO git cat-file --batch-check 05:02:33 2022-10-13 05:02:33,780 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 05:02:33 2022-10-13 05:02:33,783 [execute] INFO git rev-list 2499ea69ec79e0019cb252c06f56a46581a741e2 -- 05:02:33 2022-10-13 05:02:33,783 [execute] DEBUG Popen(['git', 'rev-list', '2499ea69ec79e0019cb252c06f56a46581a741e2', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:02:33 2022-10-13 05:02:33,795 [execute] INFO git fetch -v origin 05:02:33 2022-10-13 05:02:33,795 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 05:02:34 2022-10-13 05:02:34,374 [run_push] DEBUG no remote changes detected 05:02:34 2022-10-13 05:02:34,374 [execute] INFO git push origin semver 05:02:34 2022-10-13 05:02:34,374 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 05:02:35 2022-10-13 05:02:35,211 [run_push] DEBUG push all version tags 05:02:35 2022-10-13 05:02:35,211 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 05:02:35 2022-10-13 05:02:35,212 [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) 05:02:36 2022-10-13 05:02:36,004 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 05:02:36 2.3.0-dev.40 [Pipeline] } 05:02:36 $ docker exec --env ******** --env ******** f073394106b695da41213d3a1561e8a6bb7c09993d9263a8696c43d20b917408 ssh-agent -k 05:02:36 unset SSH_AUTH_SOCK; 05:02:36 unset SSH_AGENT_PID; 05:02:36 echo Agent pid 37 killed; 05:02:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:02:36 + git semver [Pipeline] } 05:02:37 $ docker stop --time=1 f073394106b695da41213d3a1561e8a6bb7c09993d9263a8696c43d20b917408 05:02:38 $ docker rm -f f073394106b695da41213d3a1561e8a6bb7c09993d9263a8696c43d20b917408 [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 05:02:38 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 05:02:38 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:02:38 total 16 05:02:38 drwxr-xr-x 3 root root 4096 Oct 13 04:51 . 05:02:38 drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 05:02 .. 05:02:38 drwxr-xr-x 2 root root 4096 Oct 13 04:51 cost 05:02:38 -rw-r--r-- 1 root root 85 Oct 13 04:51 cost.csv 05:02:38 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:02:38 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 05:02:38 total 16 05:02:38 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 04:51 . 05:02:38 drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 05:02 .. 05:02:38 drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 04:51 cost 05:02:38 -rw-r--r-- 1 jenkins jenkins 85 Oct 13 04:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:02:39 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:02:40 ---> package-listing.sh 05:02:40 ++ tr '[:upper:]' '[:lower:]' 05:02:40 ++ facter osfamily 05:02:40 + OS_FAMILY=debian 05:02:40 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 05:02:40 + START_PACKAGES=/tmp/packages_start.txt 05:02:40 + END_PACKAGES=/tmp/packages_end.txt 05:02:40 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:02:40 + PACKAGES=/tmp/packages_start.txt 05:02:40 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:02:40 + PACKAGES=/tmp/packages_end.txt 05:02:40 + case "${OS_FAMILY}" in 05:02:40 + dpkg -l 05:02:40 + grep '^ii' 05:02:40 + '[' -f /tmp/packages_start.txt ']' 05:02:40 + '[' -f /tmp/packages_end.txt ']' 05:02:40 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:02:40 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 05:02:40 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 05:02:40 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 05:02:40 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 05:02:40 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:02:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:41 prd-ubuntu20.04-docker-8c-8g-7801 does not seem to be running inside a container 05:02:41 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:02:41 $ docker top 034c52825ddcc9af9cf9dacba3070a70649a52a7b2ef9e11975b8a606c8a33f5 -eo pid,comm [Pipeline] { [Pipeline] sh 05:02:41 + touch /tmp/pre-build-complete [Pipeline] sh 05:02:42 + mkdir -p /var/log/sysstat [Pipeline] sh 05:02:42 + ls /var/log/sa-host 05:02:42 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:42 provisioning config files... 05:02:42 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2574071912644981501tmp [Pipeline] { [Pipeline] echo 05:02:42 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:02:42 ---> create-netrc.sh [Pipeline] } 05:02:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:02:43 ---> python-tools-install.sh [Pipeline] echo 05:02:43 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:02:43 ---> sudo-logs.sh 05:02:43 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:02:43 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:02:43 ---> job-cost.sh 05:02:43 lf-activate-venv: SKIPPING 05:02:43 DEBUG: total: 0.2199999988079071 05:02:43 INFO: Retrieving Stack Cost... 05:02:44 INFO: Retrieving Pricing Info for: v3-standard-8 05:02:44 INFO: Archiving Costs [Pipeline] echo 05:02:44 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:02:44 ---> logs-deploy.sh 05:02:44 lf-activate-venv: SKIPPING 05:02:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/114 05:02:44 INFO: archiving workspace using pattern(s): 05:02:45 Archives upload complete. 05:02:45 INFO: archiving logs to Nexus