Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce 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-ssh3350333834502582747.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17841634655570677742.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15751187316659606034.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12270050652716707352.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-ssh3953672114193198792.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9196 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 e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce (main) Commit message: "Merge pull request #1245 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.3.0-dev.23" > 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 e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce # timeout=10 > git rev-list --no-walk 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:14:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:14:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:14:52 ========================================================= 07:14:52 EdgeX Global Pipelines Version Info 07:14:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:14:53 ------------------- 07:14:53 stable info: 07:14:53 ------------------- 07:14:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:14:53 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:14:53 Message: update stable to v1.0.243 07:14:53 ------------------- 07:14:53 experimental info: 07:14:53 ------------------- 07:14:53 Commited By: **** collab-it+edgex@linuxfoundation.org 07:14:53 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 07:14:53 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e36e05a [Pipeline] echo 07:14:54 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:14:54 provisioning config files... 07:14:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4606820464011444453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:14:54 ---> docker-login.sh 07:14:54 nexus3.edgexfoundry.org:10001 07:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:55 Configure a credential helper to remove this warning. See 07:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:55 07:14:55 Login Succeeded 07:14:55 nexus3.edgexfoundry.org:10002 07:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:55 Configure a credential helper to remove this warning. See 07:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:55 07:14:55 Login Succeeded 07:14:55 nexus3.edgexfoundry.org:10003 07:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:55 Configure a credential helper to remove this warning. See 07:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:55 07:14:55 Login Succeeded 07:14:55 nexus3.edgexfoundry.org:10004 07:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:55 Configure a credential helper to remove this warning. See 07:14:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:55 07:14:55 Login Succeeded 07:14:55 docker.io 07:14:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:14:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:14:56 Configure a credential helper to remove this warning. See 07:14:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:14:56 07:14:56 Login Succeeded 07:14:56 ---> docker-login.sh ends [Pipeline] } 07:14:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:14:56 + git rev-list -1 --merges e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce~1..e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce [Pipeline] echo 07:14:56 -----------> git rev-list -1 --merges e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce~1..e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce 07:14:56 e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce [false] [Pipeline] sh 07:14:56 + git log --format=format:%s -1 e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce [Pipeline] echo 07:14:56 ========================================================= 07:14:56 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:14:56 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:14:57 + git log --format=format:%s -1 e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce [Pipeline] echo 07:14:57 [semverPrep] GIT_COMMIT: e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce, Commit Message: Merge pull request #1245 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.3.0-dev.23 [Pipeline] echo 07:14:57 [semverPrep] This is not a build commit. [Pipeline] sh 07:14:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:14:57 + grep -v github /etc/ssh/ssh_known_hosts 07:14:57 + [ -e /tmp/ssh_known_hosts ] 07:14:57 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:14:57 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:14:57 + sudo tee -a /etc/ssh/ssh_known_hosts 07:14:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:14:57 07:14:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:14:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:14:58 0.1.4: Pulling from edgex-devops/py-git-semver 07:14:58 b85a868b505f: Pulling fs layer 07:14:58 e2be974225ed: Pulling fs layer 07:14:58 339a4e72a1f5: Pulling fs layer 07:14:58 988bab9f4d93: Pulling fs layer 07:14:58 1469e6f7b9e6: Pulling fs layer 07:14:58 eaf3925da568: Pulling fs layer 07:14:58 bab4dde63d76: Pulling fs layer 07:14:58 bde34c3a00c8: Pulling fs layer 07:14:58 b352a97aabf1: Pulling fs layer 07:14:58 4872d77fe225: Pulling fs layer 07:14:58 5851b861e8e6: Pulling fs layer 07:14:58 bab4dde63d76: Waiting 07:14:58 bde34c3a00c8: Waiting 07:14:58 988bab9f4d93: Waiting 07:14:58 b352a97aabf1: Waiting 07:14:58 4872d77fe225: Waiting 07:14:58 5851b861e8e6: Waiting 07:14:58 1469e6f7b9e6: Waiting 07:14:58 eaf3925da568: Waiting 07:14:58 e2be974225ed: Download complete 07:14:58 988bab9f4d93: Download complete 07:14:58 1469e6f7b9e6: Verifying Checksum 07:14:58 1469e6f7b9e6: Download complete 07:14:58 339a4e72a1f5: Verifying Checksum 07:14:58 339a4e72a1f5: Download complete 07:14:58 eaf3925da568: Download complete 07:14:58 bde34c3a00c8: Download complete 07:14:58 b352a97aabf1: Verifying Checksum 07:14:58 4872d77fe225: Verifying Checksum 07:14:58 4872d77fe225: Download complete 07:14:58 5851b861e8e6: Download complete 07:14:58 b85a868b505f: Verifying Checksum 07:14:58 b85a868b505f: Download complete 07:14:58 bab4dde63d76: Verifying Checksum 07:14:58 bab4dde63d76: Download complete 07:14:59 b85a868b505f: Pull complete 07:15:00 e2be974225ed: Pull complete 07:15:00 339a4e72a1f5: Pull complete 07:15:00 988bab9f4d93: Pull complete 07:15:00 1469e6f7b9e6: Pull complete 07:15:00 eaf3925da568: Pull complete 07:15:02 bab4dde63d76: Pull complete 07:15:02 bde34c3a00c8: Pull complete 07:15:03 b352a97aabf1: Pull complete 07:15:03 4872d77fe225: Pull complete 07:15:03 5851b861e8e6: Pull complete 07:15:03 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 07:15:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:15:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:03 prd-ubuntu20.04-docker-8c-8g-9196 does not seem to be running inside a container 07:15:03 $ 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 07:15:04 $ docker top 331ca4cc3cab09a2074c35724ab446ef2994fff8a9899c0a53f536473645466d -eo pid,comm 07:15:04 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). 07:15:04 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:15:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:04 [ssh-agent] Looking for ssh-agent implementation... 07:15:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:05 $ docker exec 331ca4cc3cab09a2074c35724ab446ef2994fff8a9899c0a53f536473645466d ssh-agent 07:15:05 SSH_AUTH_SOCK=/tmp/ssh-e13wb1YL45MU/agent.32 07:15:05 SSH_AGENT_PID=38 07:15:05 Running ssh-add (command line suppressed) 07:15:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14545627892143806703.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_14545627892143806703.key) 07:15:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:05 + git tag --points-at HEAD [Pipeline] } 07:15:05 $ docker exec --env ******** --env ******** 331ca4cc3cab09a2074c35724ab446ef2994fff8a9899c0a53f536473645466d ssh-agent -k 07:15:05 unset SSH_AUTH_SOCK; 07:15:05 unset SSH_AGENT_PID; 07:15:05 echo Agent pid 38 killed; 07:15:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:15:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:15:05 [ssh-agent] Looking for ssh-agent implementation... 07:15:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:15:05 $ docker exec 331ca4cc3cab09a2074c35724ab446ef2994fff8a9899c0a53f536473645466d ssh-agent 07:15:06 SSH_AUTH_SOCK=/tmp/ssh-RAkyD7wC2ptz/agent.70 07:15:06 SSH_AGENT_PID=76 07:15:06 Running ssh-add (command line suppressed) 07:15:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5043431795703686451.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5043431795703686451.key) 07:15:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:15:06 + git semver init 07:15:06 2022-10-24 07:15:06,624 [run_init] DEBUG init version:0.0.0 force:False 07:15:06 2022-10-24 07:15:06,625 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:15:06 2022-10-24 07:15:06,625 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 07:15:06 2022-10-24 07:15:06,626 [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) 07:15:07 2022-10-24 07:15:07,637 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 07:15:07 2022-10-24 07:15:07,638 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 07:15:07 2022-10-24 07:15:07,638 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:15:07 2022-10-24 07:15:07,639 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:15:07 2.3.0-dev.46 [Pipeline] } 07:15:07 $ docker exec --env ******** --env ******** 331ca4cc3cab09a2074c35724ab446ef2994fff8a9899c0a53f536473645466d ssh-agent -k 07:15:08 unset SSH_AUTH_SOCK; 07:15:08 unset SSH_AGENT_PID; 07:15:08 echo Agent pid 76 killed; 07:15:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:15:08 + git semver [Pipeline] } 07:15:08 $ docker stop --time=1 331ca4cc3cab09a2074c35724ab446ef2994fff8a9899c0a53f536473645466d 07:15:09 $ docker rm -f 331ca4cc3cab09a2074c35724ab446ef2994fff8a9899c0a53f536473645466d [Pipeline] // withDockerContainer [Pipeline] sh 07:15:10 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:15:10 Stashed 1 file(s) [Pipeline] echo 07:15:10 [edgeXSemver]: initialized semver on version 2.3.0-dev.46 [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 07:15:10 provisioning config files... 07:15:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15507041562425250897tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:15:10 ---> docker-login.sh 07:15:10 nexus3.edgexfoundry.org:10001 07:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:10 Configure a credential helper to remove this warning. See 07:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:10 07:15:10 Login Succeeded 07:15:10 nexus3.edgexfoundry.org:10002 07:15:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:10 Configure a credential helper to remove this warning. See 07:15:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:10 07:15:10 Login Succeeded 07:15:10 nexus3.edgexfoundry.org:10003 07:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:11 Configure a credential helper to remove this warning. See 07:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:11 07:15:11 Login Succeeded 07:15:11 nexus3.edgexfoundry.org:10004 07:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:11 Configure a credential helper to remove this warning. See 07:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:11 07:15:11 Login Succeeded 07:15:11 docker.io 07:15:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:15:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:15:11 Configure a credential helper to remove this warning. See 07:15:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:15:11 07:15:11 Login Succeeded 07:15:11 ---> docker-login.sh ends [Pipeline] } 07:15:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:15:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:15:11 ========================================================= 07:15:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 07:15:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:12 + 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 . 07:15:12 Sending build context to Docker daemon 10.04MB 07:15:12 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 07:15:12 Step 2/11 : FROM ${BASE} AS builder 07:15:12 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 07:15:12 213ec9aee27d: Pulling fs layer 07:15:12 4583459ba037: Pulling fs layer 07:15:12 93c1e223e6f2: Pulling fs layer 07:15:12 53926ce57604: Pulling fs layer 07:15:12 21b2b0c7a3f4: Pulling fs layer 07:15:12 30f14e443154: Pulling fs layer 07:15:12 801331c1e519: Pulling fs layer 07:15:12 99cc6dd402b0: Pulling fs layer 07:15:12 7d9ed39f4882: Pulling fs layer 07:15:12 99cc6dd402b0: Waiting 07:15:12 801331c1e519: Waiting 07:15:12 53926ce57604: Waiting 07:15:12 30f14e443154: Waiting 07:15:12 21b2b0c7a3f4: Waiting 07:15:12 7d9ed39f4882: Waiting 07:15:12 93c1e223e6f2: Verifying Checksum 07:15:12 93c1e223e6f2: Download complete 07:15:12 4583459ba037: Verifying Checksum 07:15:12 4583459ba037: Download complete 07:15:12 21b2b0c7a3f4: Download complete 07:15:12 30f14e443154: Verifying Checksum 07:15:12 30f14e443154: Download complete 07:15:12 213ec9aee27d: Download complete 07:15:12 801331c1e519: Verifying Checksum 07:15:12 801331c1e519: Download complete 07:15:12 213ec9aee27d: Pull complete 07:15:12 4583459ba037: Pull complete 07:15:12 93c1e223e6f2: Pull complete 07:15:12 7d9ed39f4882: Verifying Checksum 07:15:12 7d9ed39f4882: Download complete 07:15:12 99cc6dd402b0: Verifying Checksum 07:15:12 99cc6dd402b0: Download complete 07:15:13 53926ce57604: Verifying Checksum 07:15:13 53926ce57604: Download complete 07:15:17 53926ce57604: Pull complete 07:15:17 21b2b0c7a3f4: Pull complete 07:15:17 30f14e443154: Pull complete 07:15:17 801331c1e519: Pull complete 07:15:19 99cc6dd402b0: Pull complete 07:15:20 7d9ed39f4882: Pull complete 07:15:20 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 07:15:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 07:15:20 ---> 1dedd983c030 07:15:20 Step 3/11 : ARG MAKE=make build 07:15:22 ---> Running in 6c8f559735f6 07:15:22 Removing intermediate container 6c8f559735f6 07:15:22 ---> ec7fcc558597 07:15:22 Step 4/11 : WORKDIR /device-sdk-go 07:15:22 ---> Running in b3fc1b77e38b 07:15:22 Removing intermediate container b3fc1b77e38b 07:15:22 ---> d9a16b2b7ce9 07:15:22 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:15:22 ---> Running in 6cc7b64dee0a 07:15:22 Removing intermediate container 6cc7b64dee0a 07:15:22 ---> 494e6fd5273e 07:15:22 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:15:22 ---> Running in 05b70fc3d1b1 07:15:23 Removing intermediate container 05b70fc3d1b1 07:15:23 ---> fea3f17623f5 07:15:23 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:15:23 ---> Running in 1919e51cfcdf 07:15:23 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:15:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:15:24 OK: 211 MiB in 51 packages 07:15:25 Removing intermediate container 1919e51cfcdf 07:15:25 ---> b12fa3cd41b5 07:15:25 Step 8/11 : COPY go.mod vendor* ./ 07:15:25 ---> a48d3d34931c 07:15:25 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:15:25 ---> Running in deac2d4dc373 07:15:25 Still waiting to schedule task 07:15:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9194’ 07:15:51 Removing intermediate container deac2d4dc373 07:15:51 ---> 58789bab0448 07:15:51 Step 10/11 : COPY . . 07:15:51 ---> 93931e7deaa1 07:15:51 Step 11/11 : RUN ${MAKE} 07:15:51 ---> Running in 059d020ee9a9 07:15:51 noop 07:15:51 Removing intermediate container 059d020ee9a9 07:15:51 ---> efcfeb5d7b03 07:15:51 Successfully built efcfeb5d7b03 07:15:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:52 + docker inspect -f . ci-base-image-x86_64 07:15:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:52 prd-ubuntu20.04-docker-8c-8g-9196 does not seem to be running inside a container 07:15:52 $ 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 07:15:52 $ docker top 45590cb93fa5d53c95c0f23fc1adfe4e4f50197c22022ed4d99169524165ad26 -eo pid,comm [Pipeline] { [Pipeline] sh 07:15:53 + go version 07:15:53 go version go1.18.7 linux/amd64 [Pipeline] } 07:15:53 $ docker stop --time=1 45590cb93fa5d53c95c0f23fc1adfe4e4f50197c22022ed4d99169524165ad26 07:15:54 $ docker rm -f 45590cb93fa5d53c95c0f23fc1adfe4e4f50197c22022ed4d99169524165ad26 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:15:54 + docker inspect -f . ci-base-image-x86_64 07:15:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:15:54 prd-ubuntu20.04-docker-8c-8g-9196 does not seem to be running inside a container 07:15:54 $ 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 07:15:55 $ docker top 8362572ef010fa95370998fbd8edc06c37c7d3f2fcfd597eb4a0a9c936d388ca -eo pid,comm [Pipeline] { [Pipeline] sh 07:15:55 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 07:15:55 + make test 07:15:55 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:16:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:16:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements 07:16:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 07:16:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.108s coverage: 73.1% of statements 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:16:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.120s coverage: 54.4% of statements 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:16:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 65.1% of statements 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 07:16:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.759s coverage: 89.2% of statements 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:16:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 07:16:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:16:32 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." 07:16:32 GO111MODULE=on go vet ./... 07:16:34 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:16:34 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:16:34 ./bin/test-attribution-txt.sh 07:16:34 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 07:16:34 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 07:16:34 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 07:16:34 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 07:16:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:16:34 $ docker stop --time=1 8362572ef010fa95370998fbd8edc06c37c7d3f2fcfd597eb4a0a9c936d388ca 07:16:37 $ docker rm -f 8362572ef010fa95370998fbd8edc06c37c7d3f2fcfd597eb4a0a9c936d388ca [Pipeline] // withDockerContainer [Pipeline] sh 07:16:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:16:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:16:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:16:38 + ls -al . 07:16:38 total 280 07:16:38 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 07:15 . 07:16:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:14 .. 07:16:38 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 07:14 .dockerignore 07:16:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:16 .git 07:16:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:14 .github 07:16:38 -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 07:14 .gitignore 07:16:38 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 07:14 .golangci.yml 07:16:38 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:15 .semver 07:16:38 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 07:14 CHANGELOG.md 07:16:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:14 GOVERNANCE.md 07:16:38 -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 07:14 Jenkinsfile 07:16:38 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 07:14 LICENSE 07:16:38 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 07:14 Makefile 07:16:38 -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 07:14 OWNERS.md 07:16:38 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 07:14 README.md 07:16:38 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 07:15 VERSION 07:16:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:14 bin 07:16:38 -rw-r--r-- 1 jenkins jenkins 101759 Oct 24 07:16 coverage.out 07:16:38 drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 07:14 example 07:16:38 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 24 07:14 go.mod 07:16:38 -rw-rw-r-- 1 jenkins jenkins 44505 Oct 24 07:14 go.sum 07:16:38 drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 07:14 internal 07:16:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:14 openapi 07:16:38 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 07:14 pkg 07:16:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:14 snap 07:16:38 -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 07:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:16:38 + 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=e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce --label arch=amd64 --label version=2.3.0-dev.46 . 07:16:38 Sending build context to Docker daemon 10.14MB 07:16:38 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:16:38 Step 2/25 : FROM ${BASE} AS builder 07:16:38 ---> efcfeb5d7b03 07:16:38 Step 3/25 : ARG MAKE=make build 07:16:38 ---> Running in ebc75dab4367 07:16:38 Removing intermediate container ebc75dab4367 07:16:38 ---> 5c9fd43d234c 07:16:38 Step 4/25 : WORKDIR /device-sdk-go 07:16:38 ---> Running in f91266c286d2 07:16:38 Removing intermediate container f91266c286d2 07:16:38 ---> 39b5099ae1ac 07:16:38 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:16:38 ---> Running in 22238186e1a6 07:16:39 Removing intermediate container 22238186e1a6 07:16:39 ---> 3235032a6d74 07:16:39 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:16:39 ---> Running in efbc197fc08f 07:16:39 Removing intermediate container efbc197fc08f 07:16:39 ---> 5d1b1e8749a5 07:16:39 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:16:39 ---> Running in af322d08b519 07:16:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:16:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:16:41 OK: 211 MiB in 51 packages 07:16:41 Removing intermediate container af322d08b519 07:16:41 ---> dffd0644fd31 07:16:41 Step 8/25 : COPY go.mod vendor* ./ 07:16:41 ---> 66b8c8ff2e38 07:16:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:16:41 ---> Running in 6231437c38af 07:16:42 Removing intermediate container 6231437c38af 07:16:42 ---> e523042f8079 07:16:42 Step 10/25 : COPY . . 07:16:42 ---> 308d993f0ad2 07:16:42 Step 11/25 : RUN ${MAKE} 07:16:42 ---> Running in 70c939fb3a6d 07:16:43 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.46" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:17:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:17:02 Removing intermediate container 70c939fb3a6d 07:17:02 ---> 3db2f9463446 07:17:02 Step 12/25 : FROM alpine:3.16 07:17:02 3.16: Pulling from library/alpine 07:17:02 213ec9aee27d: Already exists 07:17:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:17:02 Status: Downloaded newer image for alpine:3.16 07:17:02 ---> 9c6f07244728 07:17:02 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:17:03 ---> Running in f30ae250d2d0 07:17:03 Removing intermediate container f30ae250d2d0 07:17:03 ---> 73064db25f14 07:17:03 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:17:03 ---> Running in b1e070f17d8b 07:17:03 Removing intermediate container b1e070f17d8b 07:17:03 ---> 7cda8548a04f 07:17:03 Step 15/25 : RUN apk add --update --no-cache zeromq 07:17:03 ---> Running in a0c7a3931cf5 07:17:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 07:17:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 07:17:05 (1/5) Installing libgcc (11.2.1_git20220219-r2) 07:17:05 (2/5) Installing libsodium (1.0.18-r0) 07:17:05 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 07:17:05 (4/5) Installing libzmq (4.3.4-r0) 07:17:05 (5/5) Installing zeromq (4.3.4-r0) 07:17:05 Executing busybox-1.35.0-r17.trigger 07:17:05 OK: 8 MiB in 19 packages 07:17:06 Removing intermediate container a0c7a3931cf5 07:17:06 ---> 0be344e6e837 07:17:06 Step 16/25 : WORKDIR / 07:17:06 ---> Running in e9141bac8996 07:17:06 Removing intermediate container e9141bac8996 07:17:06 ---> e52ffddf4d69 07:17:06 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:17:06 ---> 22ebc537a7ce 07:17:06 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:17:06 ---> c2631e024ec7 07:17:06 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:17:07 ---> 3a0e6f203b9b 07:17:07 Step 20/25 : EXPOSE 59999 07:17:07 ---> Running in 2f17ecd12345 07:17:07 Removing intermediate container 2f17ecd12345 07:17:07 ---> 977def2802f6 07:17:07 Step 21/25 : ENTRYPOINT ["/device-simple"] 07:17:07 ---> Running in 52ae8b80a7a2 07:17:07 Removing intermediate container 52ae8b80a7a2 07:17:07 ---> 3c8f599d7b08 07:17:07 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:17:07 ---> Running in 7cc8e04865ac 07:17:07 Removing intermediate container 7cc8e04865ac 07:17:07 ---> b714ac0eb855 07:17:07 Step 23/25 : LABEL arch=amd64 07:17:07 ---> Running in 7e5eac55fa35 07:17:07 Removing intermediate container 7e5eac55fa35 07:17:07 ---> 6ac55ee3daab 07:17:07 Step 24/25 : LABEL git_sha=e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce 07:17:07 ---> Running in 1f24c6de1eb9 07:17:07 Removing intermediate container 1f24c6de1eb9 07:17:07 ---> 8a63cd4ac81c 07:17:07 Step 25/25 : LABEL version=2.3.0-dev.46 07:17:07 ---> Running in 9927cb62b439 07:17:07 Removing intermediate container 9927cb62b439 07:17:07 ---> 606e436a7042 07:17:07 [Warning] One or more build-args [ARCH] were not consumed 07:17:07 Successfully built 606e436a7042 07:17:07 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 07:17:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:08 07:17:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:17:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:08 latest: Pulling from edgex-lftools-log-publisher 07:17:08 5eb5b503b376: Pulling fs layer 07:17:08 5c69ac0246d0: Pulling fs layer 07:17:08 ec43610c2a17: Pulling fs layer 07:17:08 3a2ae6a8a46f: Pulling fs layer 07:17:08 33b1e0a273af: Pulling fs layer 07:17:08 3a2ae6a8a46f: Waiting 07:17:08 5d3b04190fa2: Pulling fs layer 07:17:08 2f39f015ded8: Pulling fs layer 07:17:08 33b1e0a273af: Waiting 07:17:08 5d3b04190fa2: Waiting 07:17:08 2f39f015ded8: Waiting 07:17:08 5c69ac0246d0: Verifying Checksum 07:17:08 5c69ac0246d0: Download complete 07:17:08 3a2ae6a8a46f: Verifying Checksum 07:17:08 3a2ae6a8a46f: Download complete 07:17:08 33b1e0a273af: Verifying Checksum 07:17:08 33b1e0a273af: Download complete 07:17:08 5d3b04190fa2: Verifying Checksum 07:17:08 5d3b04190fa2: Download complete 07:17:08 ec43610c2a17: Verifying Checksum 07:17:08 5eb5b503b376: Verifying Checksum 07:17:08 5eb5b503b376: Download complete 07:17:09 2f39f015ded8: Download complete 07:17:10 5eb5b503b376: Pull complete 07:17:10 5c69ac0246d0: Pull complete 07:17:10 ec43610c2a17: Pull complete 07:17:10 3a2ae6a8a46f: Pull complete 07:17:10 33b1e0a273af: Pull complete 07:17:10 5d3b04190fa2: Pull complete 07:17:15 2f39f015ded8: Pull complete 07:17:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:17:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:17:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:17:15 prd-ubuntu20.04-docker-8c-8g-9196 does not seem to be running inside a container 07:17:15 $ 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 07:17:16 $ docker top af5b65472d31685d2127ebe3cb66f5c1badd0305ddd63c072b775bf8c20120be -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:17:17 ---> job-cost.sh 07:17:17 lf-activate-venv: SKIPPING 07:17:17 INFO: No Stack... 07:17:17 INFO: Retrieving Pricing Info for: v3-standard-8 07:17:18 INFO: Archiving Costs [Pipeline] sh 07:17:18 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 07:17:18 + cut -d, -f6 [Pipeline] lock 07:17:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-121-stack-cost] 07:17:18 Resource [jenkins-edgexfoundry-device-sdk-go-main-121-stack-cost] did not exist. Created. 07:17:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:17:18 + echo total: 0.2199999988079071 [Pipeline] stash 07:17:18 Stashed 1 file(s) [Pipeline] } 07:17:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 07:17:18 $ docker stop --time=1 af5b65472d31685d2127ebe3cb66f5c1badd0305ddd63c072b775bf8c20120be 07:17:19 $ docker rm -f af5b65472d31685d2127ebe3cb66f5c1badd0305ddd63c072b775bf8c20120be [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:17:50 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9198 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 07:17:50 Running in /w/workspace/device-sdk-go/121 [Pipeline] { [Pipeline] checkout 07:17:50 The recommended git tool is: git 07:17:56 using credential edgex-jenkins-ssh 07:17:56 Cloning the remote Git repository 07:17:56 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:17:56 > git init /w/workspace/device-sdk-go/121 # timeout=10 07:17:56 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:17:56 > git --version # timeout=10 07:17:56 > git --version # 'git version 2.25.1' 07:17:56 using GIT_SSH to set credentials SSH Credentials for GitHub 07:17:56 Verifying host key using known hosts file 07:17:57 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. 07:17:57 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:17:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:17:59 Avoid second fetch 07:17:59 Checking out Revision e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce (main) 07:18:00 Commit message: "Merge pull request #1245 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-bootstrap/v2-2.3.0-dev.23" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:17:59 > git config core.sparsecheckout # timeout=10 07:17:59 > git checkout -f e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce # timeout=10 07:18:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:18:01 % Total % Received % Xferd Average Speed Time Time Time Current 07:18:01 Dload Upload Total Spent Left Speed 07:18:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 61174 0 --:--:-- --:--:-- --:--:-- 61473 [Pipeline] sh 07:18:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:18:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:18:02 + sudo tee /etc/docker/daemon.new 07:18:02 { 07:18:02 "registry-mirrors": [ 07:18:02 "https://nexus3.edgexfoundry.org:10001" 07:18:02 ], 07:18:02 "bip": "10.250.0.254/24", 07:18:02 "hosts": [ 07:18:02 "tcp://0.0.0.0:5555", 07:18:02 "unix:///var/run/docker.sock" 07:18:02 ], 07:18:02 "mtu": 1458, 07:18:02 "selinux-enabled": true, 07:18:02 "seccomp-profile": "/etc/docker/seccomp.json" 07:18:02 } [Pipeline] sh 07:18:02 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:18:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:18:21 provisioning config files... 07:18:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/121@tmp/config29563525800041872tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:18:21 ---> docker-login.sh 07:18:21 nexus3.edgexfoundry.org:10001 07:18:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:22 Configure a credential helper to remove this warning. See 07:18:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:22 07:18:22 Login Succeeded 07:18:22 nexus3.edgexfoundry.org:10002 07:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:23 Configure a credential helper to remove this warning. See 07:18:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:23 07:18:23 Login Succeeded 07:18:23 nexus3.edgexfoundry.org:10003 07:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:23 Configure a credential helper to remove this warning. See 07:18:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:23 07:18:23 Login Succeeded 07:18:23 nexus3.edgexfoundry.org:10004 07:18:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:23 Configure a credential helper to remove this warning. See 07:18:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:23 07:18:23 Login Succeeded 07:18:23 docker.io 07:18:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:18:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:18:24 Configure a credential helper to remove this warning. See 07:18:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:18:24 07:18:24 Login Succeeded 07:18:24 ---> docker-login.sh ends [Pipeline] } 07:18:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:18:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:18:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:18:24 ========================================================= 07:18:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 07:18:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:18:25 + 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 . 07:18:25 Sending build context to Docker daemon 5.401MB 07:18:25 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 07:18:25 Step 2/11 : FROM ${BASE} AS builder 07:18:25 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:18:25 9b18e9b68314: Pulling fs layer 07:18:25 d32db5db7311: Pulling fs layer 07:18:25 d0c4b47475fc: Pulling fs layer 07:18:25 5831b945b038: Pulling fs layer 07:18:25 86bbec2aaacd: Pulling fs layer 07:18:25 e10730c5d714: Pulling fs layer 07:18:25 5dd5c2283517: Pulling fs layer 07:18:25 d5ac0230b979: Pulling fs layer 07:18:25 5831b945b038: Waiting 07:18:25 86bbec2aaacd: Waiting 07:18:25 5dd5c2283517: Waiting 07:18:25 d5ac0230b979: Waiting 07:18:25 e10730c5d714: Waiting 07:18:25 d0c4b47475fc: Download complete 07:18:25 d32db5db7311: Verifying Checksum 07:18:25 d32db5db7311: Download complete 07:18:25 86bbec2aaacd: Verifying Checksum 07:18:25 86bbec2aaacd: Download complete 07:18:26 e10730c5d714: Verifying Checksum 07:18:26 e10730c5d714: Download complete 07:18:26 9b18e9b68314: Download complete 07:18:27 9b18e9b68314: Pull complete 07:18:27 d5ac0230b979: Verifying Checksum 07:18:27 d5ac0230b979: Download complete 07:18:27 d32db5db7311: Pull complete 07:18:28 d0c4b47475fc: Pull complete 07:18:28 5dd5c2283517: Verifying Checksum 07:18:28 5dd5c2283517: Download complete 07:18:29 5831b945b038: Verifying Checksum 07:18:29 5831b945b038: Download complete 07:18:41 5831b945b038: Pull complete 07:18:41 86bbec2aaacd: Pull complete 07:18:41 e10730c5d714: Pull complete 07:18:46 5dd5c2283517: Pull complete 07:18:48 d5ac0230b979: Pull complete 07:18:48 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 07:18:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 07:18:48 ---> 59b3b1a385d4 07:18:48 Step 3/11 : ARG MAKE=make build 07:18:50 ---> Running in b76fdb467438 07:18:50 Removing intermediate container b76fdb467438 07:18:50 ---> e8e0320d05cf 07:18:50 Step 4/11 : WORKDIR /device-sdk-go 07:18:51 ---> Running in 1cac99aee132 07:18:51 Removing intermediate container 1cac99aee132 07:18:51 ---> af40660458ed 07:18:51 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:18:51 ---> Running in 50a2c4548c25 07:18:51 Removing intermediate container 50a2c4548c25 07:18:51 ---> 18ee25d37a12 07:18:51 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:18:51 ---> Running in 8d8812036336 07:18:53 Removing intermediate container 8d8812036336 07:18:53 ---> daf60f08869b 07:18:53 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:18:53 ---> Running in 1d14ba19fe83 07:18:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:18:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:18:56 OK: 221 MiB in 51 packages 07:18:57 Removing intermediate container 1d14ba19fe83 07:18:57 ---> 6c6d29887033 07:18:57 Step 8/11 : COPY go.mod vendor* ./ 07:18:58 ---> b87fb093b563 07:18:58 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:18:58 ---> Running in a379840c86b0 07:19:55 Removing intermediate container a379840c86b0 07:19:55 ---> 58ae09496087 07:19:55 Step 10/11 : COPY . . 07:19:55 ---> cc77e0ec05bf 07:19:55 Step 11/11 : RUN ${MAKE} 07:19:55 ---> Running in 774380104deb 07:19:55 noop 07:19:55 Removing intermediate container 774380104deb 07:19:55 ---> dd2d097a0c0c 07:19:55 Successfully built dd2d097a0c0c 07:19:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:19:55 + docker inspect -f . ci-base-image-arm64 07:19:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:19:55 prd-ubuntu20.04-docker-arm64-4c-16g-9198 does not seem to be running inside a container 07:19:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/121 -v /w/workspace/device-sdk-go/121:/w/workspace/device-sdk-go/121:rw,z -v /w/workspace/device-sdk-go/121@tmp:/w/workspace/device-sdk-go/121@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 07:19:57 $ docker top 8600299f1bffb48c1e8d92bd2f7cf2c3be1d3e5c353a1f49e8023178a9e7fcac -eo pid,comm [Pipeline] { [Pipeline] sh 07:19:58 + go version 07:19:58 go version go1.18.7 linux/arm64 [Pipeline] } 07:19:58 $ docker stop --time=1 8600299f1bffb48c1e8d92bd2f7cf2c3be1d3e5c353a1f49e8023178a9e7fcac 07:19:59 $ docker rm -f 8600299f1bffb48c1e8d92bd2f7cf2c3be1d3e5c353a1f49e8023178a9e7fcac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:20:00 + docker inspect -f . ci-base-image-arm64 07:20:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:20:00 prd-ubuntu20.04-docker-arm64-4c-16g-9198 does not seem to be running inside a container 07:20:00 $ 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/121 -v /w/workspace/device-sdk-go/121:/w/workspace/device-sdk-go/121:rw,z -v /w/workspace/device-sdk-go/121@tmp:/w/workspace/device-sdk-go/121@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 07:20:01 $ docker top e181f7deabd3f1ede482c6436bb870145bdf316d43f1d6bfe2bd84dd091606f9 -eo pid,comm [Pipeline] { [Pipeline] sh 07:20:02 + git config --global --add safe.directory /w/workspace/device-sdk-go/121 [Pipeline] fileExists [Pipeline] sh 07:20:03 + make test 07:20:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:20:42 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:23:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:23:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:23:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:23:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 07:23:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:23:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.523s coverage: 27.6% of statements 07:23:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.867s coverage: 78.9% of statements 07:23:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 07:23:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.617s coverage: 73.1% of statements 07:23:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:23:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:23:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.543s coverage: 54.4% of statements 07:23:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:23:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 07:23:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:23:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:23:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.490s coverage: 65.1% of statements 07:23:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 07:23:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 07:23:22 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.285s coverage: 89.2% of statements 07:23:22 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:23:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.255s coverage: 4.7% of statements 07:23:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:23:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:23:24 GO111MODULE=on go vet ./... 07:25:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:25:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:25:16 ./bin/test-attribution-txt.sh 07:25:16 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 07:25:16 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 07:25:16 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 07:25:16 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 07:25:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:25:16 $ docker stop --time=1 e181f7deabd3f1ede482c6436bb870145bdf316d43f1d6bfe2bd84dd091606f9 07:25:17 $ docker rm -f e181f7deabd3f1ede482c6436bb870145bdf316d43f1d6bfe2bd84dd091606f9 [Pipeline] // withDockerContainer [Pipeline] sh 07:25:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:25:19 Warning: overwriting stash ‘coverage-report’ 07:25:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 07:25:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:25:20 + ls -al . 07:25:20 total 276 07:25:20 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 07:20 . 07:25:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:17 .. 07:25:20 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 07:17 .dockerignore 07:25:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 07:17 .git 07:25:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:17 .github 07:25:20 -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 07:17 .gitignore 07:25:20 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 07:17 .golangci.yml 07:25:20 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 07:17 CHANGELOG.md 07:25:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 07:17 GOVERNANCE.md 07:25:20 -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 07:17 Jenkinsfile 07:25:20 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 07:17 LICENSE 07:25:20 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 07:17 Makefile 07:25:20 -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 07:17 OWNERS.md 07:25:20 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 07:17 README.md 07:25:20 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 07:15 VERSION 07:25:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 07:17 bin 07:25:20 -rw-r--r-- 1 jenkins jenkins 101759 Oct 24 07:23 coverage.out 07:25:20 drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 07:17 example 07:25:20 -rw-rw-r-- 1 jenkins jenkins 3388 Oct 24 07:17 go.mod 07:25:20 -rw-rw-r-- 1 jenkins jenkins 44505 Oct 24 07:17 go.sum 07:25:20 drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 07:17 internal 07:25:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 07:17 openapi 07:25:20 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 07:17 pkg 07:25:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 07:17 snap 07:25:20 -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 07:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:25:20 + 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=e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce --label arch=arm64 --label version=2.3.0-dev.46 . 07:25:21 Sending build context to Docker daemon 5.503MB 07:25:21 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 07:25:21 Step 2/25 : FROM ${BASE} AS builder 07:25:21 ---> dd2d097a0c0c 07:25:21 Step 3/25 : ARG MAKE=make build 07:25:21 ---> Running in d013fc23a5d9 07:25:21 Removing intermediate container d013fc23a5d9 07:25:21 ---> fdc6569c30ce 07:25:21 Step 4/25 : WORKDIR /device-sdk-go 07:25:21 ---> Running in 8f5b1bd94aa3 07:25:22 Removing intermediate container 8f5b1bd94aa3 07:25:22 ---> bedd744d65a4 07:25:22 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:25:22 ---> Running in 933064c0ba21 07:25:22 Removing intermediate container 933064c0ba21 07:25:22 ---> eb0a5247ed8e 07:25:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:25:22 ---> Running in a745765b7160 07:25:24 Removing intermediate container a745765b7160 07:25:24 ---> 4d67695d8e00 07:25:24 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:25:24 ---> Running in 832a49484239 07:25:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:25:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:25:26 OK: 221 MiB in 51 packages 07:25:27 Removing intermediate container 832a49484239 07:25:27 ---> 7542d73ce29b 07:25:27 Step 8/25 : COPY go.mod vendor* ./ 07:25:28 ---> 2be38199ed88 07:25:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:25:28 ---> Running in c1bbd3104e67 07:25:30 Removing intermediate container c1bbd3104e67 07:25:30 ---> aef1b6effdea 07:25:30 Step 10/25 : COPY . . 07:25:31 ---> 3d5f6e3ed037 07:25:31 Step 11/25 : RUN ${MAKE} 07:25:31 ---> Running in 1d43e3521815 07:25:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.46" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:27:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:27:54 Removing intermediate container 1d43e3521815 07:27:54 ---> f031bbc0dac5 07:27:54 Step 12/25 : FROM alpine:3.16 07:27:54 3.16: Pulling from library/alpine 07:27:54 9b18e9b68314: Already exists 07:27:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 07:27:54 Status: Downloaded newer image for alpine:3.16 07:27:54 ---> a6215f271958 07:27:54 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 07:27:54 ---> Running in 3cfada2c709e 07:27:54 Removing intermediate container 3cfada2c709e 07:27:54 ---> c58cc97ee611 07:27:54 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 07:27:54 ---> Running in aba7ac7b70e0 07:27:54 Removing intermediate container aba7ac7b70e0 07:27:54 ---> 87570e167766 07:27:54 Step 15/25 : RUN apk add --update --no-cache zeromq 07:27:54 ---> Running in 326cf64c8514 07:27:55 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 07:27:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 07:27:57 (1/5) Installing libgcc (11.2.1_git20220219-r2) 07:27:57 (2/5) Installing libsodium (1.0.18-r0) 07:27:57 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 07:27:57 (4/5) Installing libzmq (4.3.4-r0) 07:27:57 (5/5) Installing zeromq (4.3.4-r0) 07:27:57 Executing busybox-1.35.0-r17.trigger 07:27:57 OK: 8 MiB in 19 packages 07:27:58 Removing intermediate container 326cf64c8514 07:27:58 ---> ad2ca9a87322 07:27:58 Step 16/25 : WORKDIR / 07:27:58 ---> Running in 1a148216de17 07:27:59 Removing intermediate container 1a148216de17 07:27:59 ---> c9eee8adb6d8 07:27:59 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:27:59 ---> 6e93ce050b66 07:27:59 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:28:01 ---> 5ea8d428bb2c 07:28:01 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:28:01 ---> 97b0da0555ed 07:28:01 Step 20/25 : EXPOSE 59999 07:28:01 ---> Running in 79bfc56782e6 07:28:01 Removing intermediate container 79bfc56782e6 07:28:01 ---> a97e06e92bc1 07:28:01 Step 21/25 : ENTRYPOINT ["/device-simple"] 07:28:01 ---> Running in 3a4e9aedf3c0 07:28:02 Removing intermediate container 3a4e9aedf3c0 07:28:02 ---> 60b9c0969f34 07:28:02 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:28:02 ---> Running in d061d2fd46a7 07:28:02 Removing intermediate container d061d2fd46a7 07:28:02 ---> e34a22de384c 07:28:02 Step 23/25 : LABEL arch=arm64 07:28:02 ---> Running in 7ed34c25f0cc 07:28:02 Removing intermediate container 7ed34c25f0cc 07:28:02 ---> 25c76561edb0 07:28:02 Step 24/25 : LABEL git_sha=e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce 07:28:03 ---> Running in c13b3d35f782 07:28:03 Removing intermediate container c13b3d35f782 07:28:03 ---> 576772d63331 07:28:03 Step 25/25 : LABEL version=2.3.0-dev.46 07:28:03 ---> Running in 004950d076ea 07:28:03 Removing intermediate container 004950d076ea 07:28:03 ---> 754aac878e5c 07:28:03 [Warning] One or more build-args [ARCH] were not consumed 07:28:03 Successfully built 754aac878e5c 07:28:03 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 07:28:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:04 07:28:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:04 arm64: Pulling from edgex-lftools-log-publisher 07:28:04 8998bd30e6a1: Pulling fs layer 07:28:04 04944245beec: Pulling fs layer 07:28:04 699f458cf7ca: Pulling fs layer 07:28:04 765212b225bb: Pulling fs layer 07:28:04 f23df028b6ca: Pulling fs layer 07:28:04 765212b225bb: Waiting 07:28:04 d65c8cfc05b1: Pulling fs layer 07:28:04 f23df028b6ca: Waiting 07:28:04 d65c8cfc05b1: Waiting 07:28:04 2437ff75d9bd: Pulling fs layer 07:28:04 04944245beec: Verifying Checksum 07:28:04 04944245beec: Download complete 07:28:04 765212b225bb: Verifying Checksum 07:28:04 765212b225bb: Download complete 07:28:04 f23df028b6ca: Verifying Checksum 07:28:04 f23df028b6ca: Download complete 07:28:04 d65c8cfc05b1: Verifying Checksum 07:28:04 d65c8cfc05b1: Download complete 07:28:05 699f458cf7ca: Verifying Checksum 07:28:05 699f458cf7ca: Download complete 07:28:05 8998bd30e6a1: Verifying Checksum 07:28:05 8998bd30e6a1: Download complete 07:28:08 2437ff75d9bd: Verifying Checksum 07:28:08 2437ff75d9bd: Download complete 07:28:10 8998bd30e6a1: Pull complete 07:28:10 04944245beec: Pull complete 07:28:11 699f458cf7ca: Pull complete 07:28:11 765212b225bb: Pull complete 07:28:12 f23df028b6ca: Pull complete 07:28:12 d65c8cfc05b1: Pull complete 07:28:27 2437ff75d9bd: Pull complete 07:28:27 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 07:28:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 07:28:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:27 prd-ubuntu20.04-docker-arm64-4c-16g-9198 does not seem to be running inside a container 07:28:27 $ 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/121 -v /w/workspace/device-sdk-go/121:/w/workspace/device-sdk-go/121:rw,z -v /w/workspace/device-sdk-go/121@tmp:/w/workspace/device-sdk-go/121@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 07:28:30 $ docker top 6670ed743b4a3155f3c7e8057d991a61ab72330b3ad03a93027ae924a579c9a9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:31 ---> job-cost.sh 07:28:31 lf-activate-venv: SKIPPING 07:28:31 INFO: No Stack... 07:28:32 INFO: Retrieving Pricing Info for: v3-standard-4 07:28:32 INFO: Archiving Costs [Pipeline] sh 07:28:32 + cut -d, -f6 07:28:32 + cat /w/workspace/device-sdk-go/121/archives/cost.csv [Pipeline] lock 07:28:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-121-stack-cost] 07:28:33 Resource [jenkins-edgexfoundry-device-sdk-go-main-121-stack-cost] did not exist. Created. 07:28:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:28:33 /w/workspace/device-sdk-go/121@tmp/durable-b1de01e7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 07:28:34 + echo total: 0.10999999940395355 [Pipeline] stash 07:28:34 Warning: overwriting stash ‘stack-cost’ 07:28:34 Stashed 1 file(s) [Pipeline] } 07:28:34 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 07:28:34 $ docker stop --time=1 6670ed743b4a3155f3c7e8057d991a61ab72330b3ad03a93027ae924a579c9a9 07:28:35 $ docker rm -f 6670ed743b4a3155f3c7e8057d991a61ab72330b3ad03a93027ae924a579c9a9 [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 07:28:36 provisioning config files... 07:28:36 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config14210586598169558088tmp [Pipeline] { [Pipeline] sh 07:28:36 + set +x 07:28:36 + bash -s -- 07:28:36 + curl -s https://codecov.io/bash 07:28:36 07:28:36 _____ _ 07:28:36 / ____| | | 07:28:36 | | ___ __| | ___ ___ _____ __ 07:28:36 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 07:28:36 | |___| (_) | (_| | __/ (_| (_) \ V / 07:28:36 \_____\___/ \__,_|\___|\___\___/ \_/ 07:28:36 Bash-1.0.6 07:28:36 07:28:36 07:28:36 ==> git version 2.25.1 found 07:28:36 ==> 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 07:28:36 Release-Date: 2020-01-08 07:28:36 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 07:28:36 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 07:28:36 ==> Jenkins CI detected. 07:28:36 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 07:28:36 project root: . 07:28:36 --> token set from env 07:28:36 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 07:28:36 ==> Running gcov in . (disable via -X gcov) 07:28:36 ==> Python coveragepy not found 07:28:36 ==> Searching for coverage reports in: 07:28:36 + . 07:28:36 -> Found 1 reports 07:28:36 ==> Detecting git/mercurial file structure 07:28:36 ==> Reading reports 07:28:36 + ./coverage.out bytes=101759 07:28:36 ==> Appending adjustments 07:28:36 https://docs.codecov.io/docs/fixing-reports 07:28:36 + Found adjustments 07:28:36 ==> Gzipping contents 07:28:36 16K /tmp/codecov.jt9wQv.gz 07:28:36 ==> Uploading reports 07:28:36 url: https://codecov.io 07:28:36 query: branch=main&commit=e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:28:36 -> Pinging Codecov 07:28:36 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=e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 07:28:37 -> Uploading to 07:28:37 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7E55EF52A471D76F132DFD9A03CDDE97/e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce/d8e2f9e6-f32f-4310-90c0-be34a9f91c42.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T072837Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9c711f46d72930329f6498abeebd91e23a891b1559a0b8657499353d3fe3a531 07:28:37 % Total % Received % Xferd Average Speed Time Time Time Current 07:28:37 Dload Upload Total Spent Left Speed 07:28:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14722 0 0 100 14722 0 59603 --:--:-- --:--:-- --:--:-- 59603 07:28:37 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce [Pipeline] } 07:28:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 07:28:37 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 07:28:37 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:28:37 07:28:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:28:38 1.410.4: Pulling from edgex-devops/edgex-snyk-go 07:28:38 df9b9388f04a: Pulling fs layer 07:28:38 52dc419b0ee2: Pulling fs layer 07:28:38 25bc292e5bac: Pulling fs layer 07:28:38 114826534d7a: Pulling fs layer 07:28:38 4657fd5d0bcf: Pulling fs layer 07:28:38 6ad1cebc031e: Pulling fs layer 07:28:38 8a3aa393b2d8: Pulling fs layer 07:28:38 4657fd5d0bcf: Waiting 07:28:38 6ad1cebc031e: Waiting 07:28:38 8a3aa393b2d8: Waiting 07:28:38 114826534d7a: Waiting 07:28:38 25bc292e5bac: Verifying Checksum 07:28:38 25bc292e5bac: Download complete 07:28:38 52dc419b0ee2: Verifying Checksum 07:28:38 52dc419b0ee2: Download complete 07:28:38 4657fd5d0bcf: Verifying Checksum 07:28:38 4657fd5d0bcf: Download complete 07:28:38 df9b9388f04a: Verifying Checksum 07:28:38 df9b9388f04a: Download complete 07:28:38 df9b9388f04a: Pull complete 07:28:38 52dc419b0ee2: Pull complete 07:28:38 6ad1cebc031e: Verifying Checksum 07:28:38 6ad1cebc031e: Download complete 07:28:38 25bc292e5bac: Pull complete 07:28:39 114826534d7a: Verifying Checksum 07:28:39 114826534d7a: Download complete 07:28:39 8a3aa393b2d8: Verifying Checksum 07:28:39 8a3aa393b2d8: Download complete 07:28:42 114826534d7a: Pull complete 07:28:42 4657fd5d0bcf: Pull complete 07:28:42 6ad1cebc031e: Pull complete 07:28:45 8a3aa393b2d8: Pull complete 07:28:45 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 07:28:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 07:28:45 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:45 prd-ubuntu20.04-docker-8c-8g-9196 does not seem to be running inside a container 07:28:45 $ 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 07:28:47 $ docker top 09a4ed6aa2e05bc86d33e91b51609298b7e6957e49ec73e28530ac9975fb87e5 -eo pid,comm [Pipeline] { [Pipeline] echo 07:28:47 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 07:28:47 + set -o pipefail 07:28:47 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 07:28:53 07:28:53 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 07:28:53 07:28:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/2afa7b17-f5fa-4893-9e9d-26e37d1f55d6 07:28:53 07:28:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 07:28:53 07:28:54 07:28:54 A medium severity vulnerability was found in the Snyk CLI versions you are using. 07:28:54 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 07:28:54 More details here: https://snyk.co/ue1NS [Pipeline] } 07:28:54 $ docker stop --time=1 09a4ed6aa2e05bc86d33e91b51609298b7e6957e49ec73e28530ac9975fb87e5 07:28:56 $ docker rm -f 09a4ed6aa2e05bc86d33e91b51609298b7e6957e49ec73e28530ac9975fb87e5 [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 07:28:56 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:28:56 provisioning config files... 07:28:56 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7668656718087459324tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:28:57 --> edgex-publish-swagger.sh 07:28:57 === Publish openapi/v2 API === 07:28:57 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 07:28:57 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 07:28:57 % Total % Received % Xferd Average Speed Time Time Time Current 07:28:57 Dload Upload Total Spent Left Speed 07:28:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 315k --:--:-- --:--:-- --:--:-- 315k 100 53552 0 0 100 53552 0 78178 --:--:-- --:--:-- --:--:-- 78064 07:28:57 07:28:57 [Pipeline] } 07:28:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:28:58 + git log --format=format:%s -1 e36e05a5ecd10c9a5fa648bbd69e45dd81d605ce [Pipeline] sh 07:28:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:28:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:28:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:28:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:28:58 prd-ubuntu20.04-docker-8c-8g-9196 does not seem to be running inside a container 07:28:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 07:28:59 $ docker top 33bc76de195d2d9f115e831a55dbc7abe54b82a48d5217b22eee76223a3438af -eo pid,comm 07:28:59 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). 07:28:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:28:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:28:59 [ssh-agent] Looking for ssh-agent implementation... 07:28:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:28:59 $ docker exec 33bc76de195d2d9f115e831a55dbc7abe54b82a48d5217b22eee76223a3438af ssh-agent 07:28:59 SSH_AUTH_SOCK=/tmp/ssh-8YDsyLB5K2gR/agent.32 07:28:59 SSH_AGENT_PID=38 07:28:59 Running ssh-add (command line suppressed) 07:28:59 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15243343464998728487.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15243343464998728487.key) 07:28:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:28:59 + git semver tag 07:29:00 2022-10-24 07:28:59,987 [run_tag] DEBUG tag force:False 07:29:00 2022-10-24 07:28:59,987 [check_head_tag] DEBUG check head tag 07:29:00 2022-10-24 07:28:59,988 [execute] INFO git cat-file --batch-check 07:29:00 2022-10-24 07:28:59,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:29:00 2022-10-24 07:28:59,992 [execute] INFO git cat-file --batch 07:29:00 2022-10-24 07:28:59,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 07:29:00 2022-10-24 07:29:00,014 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:29:00 2022-10-24 07:29:00,014 [execute] INFO git tag -a v2.3.0-dev.46 -m v2.3.0-dev.46 07:29:00 2022-10-24 07:29:00,014 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.46', '-m', 'v2.3.0-dev.46'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 07:29:00 2022-10-24 07:29:00,019 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:29:00 2.3.0-dev.46 [Pipeline] } 07:29:00 $ docker exec --env ******** --env ******** 33bc76de195d2d9f115e831a55dbc7abe54b82a48d5217b22eee76223a3438af ssh-agent -k 07:29:00 unset SSH_AUTH_SOCK; 07:29:00 unset SSH_AGENT_PID; 07:29:00 echo Agent pid 38 killed; 07:29:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:29:00 + git semver [Pipeline] } 07:29:00 $ docker stop --time=1 33bc76de195d2d9f115e831a55dbc7abe54b82a48d5217b22eee76223a3438af 07:29:02 $ docker rm -f 33bc76de195d2d9f115e831a55dbc7abe54b82a48d5217b22eee76223a3438af [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:29:02 07:29:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:29:02 0.23.1-centos7: Pulling from edgex-lftools 07:29:02 ab5ef0e58194: Pulling fs layer 07:29:02 9712f1f96733: Pulling fs layer 07:29:02 63f879dbbcfc: Pulling fs layer 07:29:02 0d9ebad4ef96: Pulling fs layer 07:29:02 e9a5061849ea: Pulling fs layer 07:29:02 d747dcd14b5f: Pulling fs layer 07:29:02 2de7ff778b66: Pulling fs layer 07:29:02 e9a5061849ea: Waiting 07:29:02 d747dcd14b5f: Waiting 07:29:02 2de7ff778b66: Waiting 07:29:02 0d9ebad4ef96: Waiting 07:29:02 9712f1f96733: Verifying Checksum 07:29:02 9712f1f96733: Download complete 07:29:02 63f879dbbcfc: Verifying Checksum 07:29:02 63f879dbbcfc: Download complete 07:29:03 ab5ef0e58194: Verifying Checksum 07:29:03 ab5ef0e58194: Download complete 07:29:03 d747dcd14b5f: Download complete 07:29:03 e9a5061849ea: Download complete 07:29:03 0d9ebad4ef96: Verifying Checksum 07:29:03 0d9ebad4ef96: Download complete 07:29:03 2de7ff778b66: Verifying Checksum 07:29:03 2de7ff778b66: Download complete 07:29:06 ab5ef0e58194: Pull complete 07:29:06 9712f1f96733: Pull complete 07:29:06 63f879dbbcfc: Pull complete 07:29:09 0d9ebad4ef96: Pull complete 07:29:09 e9a5061849ea: Pull complete 07:29:09 d747dcd14b5f: Pull complete 07:29:10 2de7ff778b66: Pull complete 07:29:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 07:29:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 07:29:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:10 prd-ubuntu20.04-docker-8c-8g-9196 does not seem to be running inside a container 07:29:10 $ 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 07:29:12 $ docker top 501dbbe9272cd450bc99e01d424e4a00a1533dd2a9453e772cc867bbb22dd5b2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 07:29:12 provisioning config files... 07:29:12 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12466446513905985239tmp 07:29:12 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2539228300547148228tmp 07:29:12 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1162809855401474560tmp [Pipeline] { [Pipeline] echo 07:29:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 07:29:13 ---> sigul-configuration.sh 07:29:13 gpg: directory `/root/.gnupg' created 07:29:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 07:29:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 07:29:13 gpg: keyring `/root/.gnupg/secring.gpg' created 07:29:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 07:29:13 gpg: CAST5 encrypted data 07:29:13 gpg: encrypted with 1 passphrase 07:29:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 07:29:13 + mkdir /home/jenkins 07:29:13 + mkdir /home/jenkins/sigul [Pipeline] sh 07:29:13 + 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 07:29:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 07:29:13 ---> sigul-install.sh 07:29:13 Sigul already installed; skipping installation. [Pipeline] sh 07:29:14 + git tag --list 07:29:14 0.7.1 07:29:14 delhi-tag 07:29:14 v1.0.0 07:29:14 v1.1.0 07:29:14 v1.1.1 07:29:14 v1.1.2 07:29:14 v1.2.0 07:29:14 v1.2.1 07:29:14 v1.2.2 07:29:14 v1.2.3 07:29:14 v1.3.0 07:29:14 v1.4.0 07:29:14 v2.0.0 07:29:14 v2.1.0 07:29:14 v2.1.1 07:29:14 v2.1.1-dev.2 07:29:14 v2.1.1-dev.3 07:29:14 v2.2.0 07:29:14 v2.2.1-dev.1 07:29:14 v2.2.1-dev.10 07:29:14 v2.2.1-dev.11 07:29:14 v2.2.1-dev.12 07:29:14 v2.2.1-dev.13 07:29:14 v2.2.1-dev.14 07:29:14 v2.2.1-dev.2 07:29:14 v2.2.1-dev.3 07:29:14 v2.2.1-dev.4 07:29:14 v2.2.1-dev.5 07:29:14 v2.2.1-dev.6 07:29:14 v2.2.1-dev.7 07:29:14 v2.2.1-dev.8 07:29:14 v2.2.1-dev.9 07:29:14 v2.3.0-dev.14 07:29:14 v2.3.0-dev.15 07:29:14 v2.3.0-dev.16 07:29:14 v2.3.0-dev.17 07:29:14 v2.3.0-dev.18 07:29:14 v2.3.0-dev.19 07:29:14 v2.3.0-dev.20 07:29:14 v2.3.0-dev.21 07:29:14 v2.3.0-dev.22 07:29:14 v2.3.0-dev.23 07:29:14 v2.3.0-dev.24 07:29:14 v2.3.0-dev.25 07:29:14 v2.3.0-dev.26 07:29:14 v2.3.0-dev.27 07:29:14 v2.3.0-dev.28 07:29:14 v2.3.0-dev.29 07:29:14 v2.3.0-dev.30 07:29:14 v2.3.0-dev.31 07:29:14 v2.3.0-dev.32 07:29:14 v2.3.0-dev.33 07:29:14 v2.3.0-dev.34 07:29:14 v2.3.0-dev.35 07:29:14 v2.3.0-dev.36 07:29:14 v2.3.0-dev.37 07:29:14 v2.3.0-dev.38 07:29:14 v2.3.0-dev.39 07:29:14 v2.3.0-dev.40 07:29:14 v2.3.0-dev.41 07:29:14 v2.3.0-dev.42 07:29:14 v2.3.0-dev.43 07:29:14 v2.3.0-dev.44 07:29:14 v2.3.0-dev.45 07:29:14 v2.3.0-dev.46 [Pipeline] sh 07:29:14 + lftools sign git-tag v2.3.0-dev.46 07:29:15 Signing Git tag with Sigul... 07:29:15 Signing v2.3.0-dev.46 [Pipeline] echo 07:29:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 07:29:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 07:29:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 07:29:16 $ docker stop --time=1 501dbbe9272cd450bc99e01d424e4a00a1533dd2a9453e772cc867bbb22dd5b2 07:29:17 $ docker rm -f 501dbbe9272cd450bc99e01d424e4a00a1533dd2a9453e772cc867bbb22dd5b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 07:29:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:29:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:29:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:18 prd-ubuntu20.04-docker-8c-8g-9196 does not seem to be running inside a container 07:29:18 $ 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 07:29:18 $ docker top 1ddf940ade81f76a870f72fd794e881f3b011a550c40db6787cd9c2a60803bb6 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:29:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:29:18 [ssh-agent] Looking for ssh-agent implementation... 07:29:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:29:18 $ docker exec 1ddf940ade81f76a870f72fd794e881f3b011a550c40db6787cd9c2a60803bb6 ssh-agent 07:29:18 SSH_AUTH_SOCK=/tmp/ssh-3veB1lAzdbuM/agent.32 07:29:18 SSH_AGENT_PID=38 07:29:18 Running ssh-add (command line suppressed) 07:29:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2007142221788330018.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2007142221788330018.key) 07:29:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:29:19 + git semver bump pre 07:29:19 2022-10-24 07:29:19,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:29:19 2022-10-24 07:29:19,330 [bump_version] DEBUG bumping version:2.3.0-dev.46 on axis:pre with prefix:dev 07:29:19 2022-10-24 07:29:19,330 [bump_version] DEBUG bumped version:2.3.0-dev.47 07:29:19 2022-10-24 07:29:19,330 [write_version] DEBUG write version:2.3.0-dev.47 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 07:29:19 2022-10-24 07:29:19,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:29:19 2022-10-24 07:29:19,330 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:29:19 2022-10-24 07:29:19,333 [execute] INFO git cat-file --batch-check 07:29:19 2022-10-24 07:29:19,333 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:29:19 2022-10-24 07:29:19,338 [execute] INFO git cat-file --batch 07:29:19 2022-10-24 07:29:19,338 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:29:19 2022-10-24 07:29:19,343 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:29:19 2.3.0-dev.47 [Pipeline] } 07:29:19 $ docker exec --env ******** --env ******** 1ddf940ade81f76a870f72fd794e881f3b011a550c40db6787cd9c2a60803bb6 ssh-agent -k 07:29:19 unset SSH_AUTH_SOCK; 07:29:19 unset SSH_AGENT_PID; 07:29:19 echo Agent pid 38 killed; 07:29:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:29:19 + git semver [Pipeline] } 07:29:20 $ docker stop --time=1 1ddf940ade81f76a870f72fd794e881f3b011a550c40db6787cd9c2a60803bb6 07:29:21 $ docker rm -f 1ddf940ade81f76a870f72fd794e881f3b011a550c40db6787cd9c2a60803bb6 [Pipeline] // withDockerContainer [Pipeline] sh 07:29:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:29:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 07:29:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:22 prd-ubuntu20.04-docker-8c-8g-9196 does not seem to be running inside a container 07:29:22 $ 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 07:29:22 $ docker top b1e7274ba2457af6f4ad204e0df4481d6f0544c3534eb490a48f51fdc1785140 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:29:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:29:22 [ssh-agent] Looking for ssh-agent implementation... 07:29:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:29:22 $ docker exec b1e7274ba2457af6f4ad204e0df4481d6f0544c3534eb490a48f51fdc1785140 ssh-agent 07:29:22 SSH_AUTH_SOCK=/tmp/ssh-8HBfRpdb9Rxv/agent.32 07:29:22 SSH_AGENT_PID=38 07:29:22 Running ssh-add (command line suppressed) 07:29:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9541311117212517072.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_9541311117212517072.key) 07:29:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:29:23 + git semver push 07:29:23 2022-10-24 07:29:23,347 [run_push] DEBUG push 07:29:23 2022-10-24 07:29:23,348 [execute] INFO git cat-file --batch-check 07:29:23 2022-10-24 07:29:23,348 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 07:29:23 2022-10-24 07:29:23,352 [execute] INFO git rev-list 4faa45f104707c8f5c1dc1b96829d91161f2af92 -- 07:29:23 2022-10-24 07:29:23,352 [execute] DEBUG Popen(['git', 'rev-list', '4faa45f104707c8f5c1dc1b96829d91161f2af92', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:29:23 2022-10-24 07:29:23,363 [execute] INFO git fetch -v origin 07:29:23 2022-10-24 07:29:23,364 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 07:29:23 2022-10-24 07:29:23,945 [run_push] DEBUG no remote changes detected 07:29:23 2022-10-24 07:29:23,946 [execute] INFO git push origin semver 07:29:23 2022-10-24 07:29:23,946 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 07:29:24 2022-10-24 07:29:24,776 [run_push] DEBUG push all version tags 07:29:24 2022-10-24 07:29:24,777 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 07:29:24 2022-10-24 07:29:24,777 [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) 07:29:25 2022-10-24 07:29:25,569 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 07:29:25 2.3.0-dev.47 [Pipeline] } 07:29:25 $ docker exec --env ******** --env ******** b1e7274ba2457af6f4ad204e0df4481d6f0544c3534eb490a48f51fdc1785140 ssh-agent -k 07:29:25 unset SSH_AUTH_SOCK; 07:29:25 unset SSH_AGENT_PID; 07:29:25 echo Agent pid 38 killed; 07:29:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:29:26 + git semver [Pipeline] } 07:29:26 $ docker stop --time=1 b1e7274ba2457af6f4ad204e0df4481d6f0544c3534eb490a48f51fdc1785140 07:29:27 $ docker rm -f b1e7274ba2457af6f4ad204e0df4481d6f0544c3534eb490a48f51fdc1785140 [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 07:29:28 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 07:29:28 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:29:28 total 16 07:29:28 drwxr-xr-x 3 root root 4096 Oct 24 07:17 . 07:29:28 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 07:29 .. 07:29:28 drwxr-xr-x 2 root root 4096 Oct 24 07:17 cost 07:29:28 -rw-r--r-- 1 root root 85 Oct 24 07:17 cost.csv 07:29:28 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:29:28 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 07:29:28 total 16 07:29:28 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 07:17 . 07:29:28 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 07:29 .. 07:29:28 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 07:17 cost 07:29:28 -rw-r--r-- 1 jenkins jenkins 85 Oct 24 07:17 cost.csv [Pipeline] libraryResource [Pipeline] sh 07:29:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 07:29:29 ---> package-listing.sh 07:29:29 ++ facter osfamily 07:29:29 ++ tr '[:upper:]' '[:lower:]' 07:29:29 + OS_FAMILY=debian 07:29:29 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 07:29:29 + START_PACKAGES=/tmp/packages_start.txt 07:29:29 + END_PACKAGES=/tmp/packages_end.txt 07:29:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 07:29:29 + PACKAGES=/tmp/packages_start.txt 07:29:29 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:29:29 + PACKAGES=/tmp/packages_end.txt 07:29:29 + case "${OS_FAMILY}" in 07:29:29 + dpkg -l 07:29:29 + grep '^ii' 07:29:29 + '[' -f /tmp/packages_start.txt ']' 07:29:29 + '[' -f /tmp/packages_end.txt ']' 07:29:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 07:29:29 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 07:29:29 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 07:29:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 07:29:29 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 07:29:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 07:29:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:29:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 07:29:30 prd-ubuntu20.04-docker-8c-8g-9196 does not seem to be running inside a container 07:29:30 $ 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 07:29:31 $ docker top 4bd0fe328933ae7c1c5ee5e158e441aeb03511fb865129ebb8bcdba98db3f166 -eo pid,comm [Pipeline] { [Pipeline] sh 07:29:31 + touch /tmp/pre-build-complete [Pipeline] sh 07:29:31 + mkdir -p /var/log/sysstat [Pipeline] sh 07:29:32 + ls /var/log/sa-host 07:29:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:29:32 provisioning config files... 07:29:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16346974057572817896tmp [Pipeline] { [Pipeline] echo 07:29:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 07:29:32 ---> create-netrc.sh [Pipeline] } 07:29:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 07:29:32 ---> python-tools-install.sh [Pipeline] echo 07:29:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 07:29:33 ---> sudo-logs.sh 07:29:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 07:29:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 07:29:33 ---> job-cost.sh 07:29:33 lf-activate-venv: SKIPPING 07:29:33 DEBUG: total: 0.2199999988079071 07:29:33 INFO: Retrieving Stack Cost... 07:29:33 INFO: Retrieving Pricing Info for: v3-standard-8 07:29:34 INFO: Archiving Costs [Pipeline] echo 07:29:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 07:29:34 ---> logs-deploy.sh 07:29:34 lf-activate-venv: SKIPPING 07:29:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/121 07:29:34 INFO: archiving workspace using pattern(s): 07:29:35 Archives upload complete. 07:29:35 INFO: archiving logs to Nexus