Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4052464be6c12850b1d5f447a91894e4a56dac2c 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-ssh2475946888893145134.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-ssh2616623110029321630.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-ssh17210890114193044368.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-ssh12819153756834946955.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-ssh17910950532080635468.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8756 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 4052464be6c12850b1d5f447a91894e4a56dac2c (main) Commit message: "Merge pull request #1243 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.24" > 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 4052464be6c12850b1d5f447a91894e4a56dac2c # timeout=10 > git rev-list --no-walk 5df0661f6aa28262333844c5296207997c828617 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:54:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:54:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:54:30 ========================================================= 13:54:30 EdgeX Global Pipelines Version Info 13:54:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:54:31 ------------------- 13:54:31 stable info: 13:54:31 ------------------- 13:54:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:54:31 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 13:54:31 Message: update stable to v1.0.243 13:54:32 ------------------- 13:54:32 experimental info: 13:54:32 ------------------- 13:54:32 Commited By: **** collab-it+edgex@linuxfoundation.org 13:54:32 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 13:54:32 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4052464be6c12850b1d5f447a91894e4a56dac2c [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4052464 [Pipeline] echo 13:54:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:54:32 provisioning config files... 13:54:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5453146066826475253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:54:32 ---> docker-login.sh 13:54:32 nexus3.edgexfoundry.org:10001 13:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:33 Configure a credential helper to remove this warning. See 13:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:33 13:54:33 Login Succeeded 13:54:33 nexus3.edgexfoundry.org:10002 13:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:33 Configure a credential helper to remove this warning. See 13:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:33 13:54:33 Login Succeeded 13:54:33 nexus3.edgexfoundry.org:10003 13:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:33 Configure a credential helper to remove this warning. See 13:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:33 13:54:33 Login Succeeded 13:54:33 nexus3.edgexfoundry.org:10004 13:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:33 Configure a credential helper to remove this warning. See 13:54:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:33 13:54:33 Login Succeeded 13:54:33 docker.io 13:54:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:34 Configure a credential helper to remove this warning. See 13:54:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:34 13:54:34 Login Succeeded 13:54:34 ---> docker-login.sh ends [Pipeline] } 13:54:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:54:34 + git rev-list -1 --merges 4052464be6c12850b1d5f447a91894e4a56dac2c~1..4052464be6c12850b1d5f447a91894e4a56dac2c [Pipeline] echo 13:54:34 -----------> git rev-list -1 --merges 4052464be6c12850b1d5f447a91894e4a56dac2c~1..4052464be6c12850b1d5f447a91894e4a56dac2c 4052464be6c12850b1d5f447a91894e4a56dac2c 13:54:34 4052464be6c12850b1d5f447a91894e4a56dac2c [false] [Pipeline] sh 13:54:34 + git log --format=format:%s -1 4052464be6c12850b1d5f447a91894e4a56dac2c [Pipeline] echo 13:54:34 ========================================================= 13:54:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:54:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:54:35 + git log --format=format:%s -1 4052464be6c12850b1d5f447a91894e4a56dac2c [Pipeline] echo 13:54:35 [semverPrep] GIT_COMMIT: 4052464be6c12850b1d5f447a91894e4a56dac2c, Commit Message: Merge pull request #1243 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.24 [Pipeline] echo 13:54:35 [semverPrep] This is not a build commit. [Pipeline] sh 13:54:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 13:54:35 + grep -v github /etc/ssh/ssh_known_hosts 13:54:35 + [ -e /tmp/ssh_known_hosts ] 13:54:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:54:35 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 13:54:35 sudo tee -a /etc/ssh/ssh_known_hosts 13:54:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:54:36 13:54:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:54:36 0.1.4: Pulling from edgex-devops/py-git-semver 13:54:36 b85a868b505f: Pulling fs layer 13:54:36 e2be974225ed: Pulling fs layer 13:54:36 339a4e72a1f5: Pulling fs layer 13:54:36 988bab9f4d93: Pulling fs layer 13:54:36 1469e6f7b9e6: Pulling fs layer 13:54:36 eaf3925da568: Pulling fs layer 13:54:36 bab4dde63d76: Pulling fs layer 13:54:36 bde34c3a00c8: Pulling fs layer 13:54:36 b352a97aabf1: Pulling fs layer 13:54:36 4872d77fe225: Pulling fs layer 13:54:36 5851b861e8e6: Pulling fs layer 13:54:36 988bab9f4d93: Waiting 13:54:36 bde34c3a00c8: Waiting 13:54:36 1469e6f7b9e6: Waiting 13:54:36 b352a97aabf1: Waiting 13:54:36 4872d77fe225: Waiting 13:54:36 eaf3925da568: Waiting 13:54:36 5851b861e8e6: Waiting 13:54:36 e2be974225ed: Download complete 13:54:36 988bab9f4d93: Verifying Checksum 13:54:36 988bab9f4d93: Download complete 13:54:36 1469e6f7b9e6: Verifying Checksum 13:54:36 1469e6f7b9e6: Download complete 13:54:36 eaf3925da568: Download complete 13:54:36 339a4e72a1f5: Verifying Checksum 13:54:36 339a4e72a1f5: Download complete 13:54:36 bde34c3a00c8: Download complete 13:54:36 b352a97aabf1: Verifying Checksum 13:54:36 b352a97aabf1: Download complete 13:54:36 4872d77fe225: Verifying Checksum 13:54:36 4872d77fe225: Download complete 13:54:36 b85a868b505f: Verifying Checksum 13:54:36 b85a868b505f: Download complete 13:54:36 5851b861e8e6: Download complete 13:54:37 bab4dde63d76: Verifying Checksum 13:54:37 bab4dde63d76: Download complete 13:54:37 b85a868b505f: Pull complete 13:54:38 e2be974225ed: Pull complete 13:54:38 339a4e72a1f5: Pull complete 13:54:38 988bab9f4d93: Pull complete 13:54:38 1469e6f7b9e6: Pull complete 13:54:39 eaf3925da568: Pull complete 13:54:41 bab4dde63d76: Pull complete 13:54:41 bde34c3a00c8: Pull complete 13:54:41 b352a97aabf1: Pull complete 13:54:41 4872d77fe225: Pull complete 13:54:41 5851b861e8e6: Pull complete 13:54:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 13:54:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 13:54:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:54:41 prd-ubuntu20.04-docker-8c-8g-8756 does not seem to be running inside a container 13:54:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 13:54:43 $ docker top 876d0e4653b9dc5ffd0636cd8b769194edd97fa592213dd46ba7d8f3427f70ce -eo pid,comm 13:54:43 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). 13:54:43 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:54:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:54:43 [ssh-agent] Looking for ssh-agent implementation... 13:54:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:54:43 $ docker exec 876d0e4653b9dc5ffd0636cd8b769194edd97fa592213dd46ba7d8f3427f70ce ssh-agent 13:54:43 SSH_AUTH_SOCK=/tmp/ssh-yKO3zgqAxQmh/agent.31 13:54:43 SSH_AGENT_PID=37 13:54:43 Running ssh-add (command line suppressed) 13:54:43 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12060184221885009104.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12060184221885009104.key) 13:54:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:54:43 + git tag --points-at HEAD [Pipeline] } 13:54:43 $ docker exec --env ******** --env ******** 876d0e4653b9dc5ffd0636cd8b769194edd97fa592213dd46ba7d8f3427f70ce ssh-agent -k 13:54:43 unset SSH_AUTH_SOCK; 13:54:43 unset SSH_AGENT_PID; 13:54:43 echo Agent pid 37 killed; 13:54:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:54:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:54:43 [ssh-agent] Looking for ssh-agent implementation... 13:54:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:54:44 $ docker exec 876d0e4653b9dc5ffd0636cd8b769194edd97fa592213dd46ba7d8f3427f70ce ssh-agent 13:54:44 SSH_AUTH_SOCK=/tmp/ssh-CwMyDOs1UBw5/agent.68 13:54:44 SSH_AGENT_PID=75 13:54:44 Running ssh-add (command line suppressed) 13:54:44 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6563640450593775162.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6563640450593775162.key) 13:54:44 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:54:44 + git semver init 13:54:44 2022-10-21 13:54:44,793 [run_init] DEBUG init version:0.0.0 force:False 13:54:44 2022-10-21 13:54:44,793 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 13:54:44 2022-10-21 13:54:44,794 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 13:54:44 2022-10-21 13:54:44,794 [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) 13:54:46 2022-10-21 13:54:45,808 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 13:54:46 2022-10-21 13:54:45,809 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 13:54:46 2022-10-21 13:54:45,809 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:54:46 2022-10-21 13:54:45,809 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 13:54:46 2.3.0-dev.44 [Pipeline] } 13:54:46 $ docker exec --env ******** --env ******** 876d0e4653b9dc5ffd0636cd8b769194edd97fa592213dd46ba7d8f3427f70ce ssh-agent -k 13:54:46 unset SSH_AUTH_SOCK; 13:54:46 unset SSH_AGENT_PID; 13:54:46 echo Agent pid 75 killed; 13:54:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:54:46 + git semver [Pipeline] } 13:54:46 $ docker stop --time=1 876d0e4653b9dc5ffd0636cd8b769194edd97fa592213dd46ba7d8f3427f70ce 13:54:48 $ docker rm -f 876d0e4653b9dc5ffd0636cd8b769194edd97fa592213dd46ba7d8f3427f70ce [Pipeline] // withDockerContainer [Pipeline] sh 13:54:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:54:48 Stashed 1 file(s) [Pipeline] echo 13:54:48 [edgeXSemver]: initialized semver on version 2.3.0-dev.44 [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 13:54:48 provisioning config files... 13:54:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6466591606122230628tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:54:49 ---> docker-login.sh 13:54:49 nexus3.edgexfoundry.org:10001 13:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:49 Configure a credential helper to remove this warning. See 13:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:49 13:54:49 Login Succeeded 13:54:49 nexus3.edgexfoundry.org:10002 13:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:49 Configure a credential helper to remove this warning. See 13:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:49 13:54:49 Login Succeeded 13:54:49 nexus3.edgexfoundry.org:10003 13:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:49 Configure a credential helper to remove this warning. See 13:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:49 13:54:49 Login Succeeded 13:54:49 nexus3.edgexfoundry.org:10004 13:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:49 Configure a credential helper to remove this warning. See 13:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:49 13:54:49 Login Succeeded 13:54:49 docker.io 13:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:54:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:54:50 Configure a credential helper to remove this warning. See 13:54:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:54:50 13:54:50 Login Succeeded 13:54:50 ---> docker-login.sh ends [Pipeline] } 13:54:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:54:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:54:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:54:50 ========================================================= 13:54:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 13:54:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:54:50 + 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 . 13:54:50 Sending build context to Docker daemon 10.03MB 13:54:50 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 13:54:50 Step 2/11 : FROM ${BASE} AS builder 13:54:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 13:54:50 213ec9aee27d: Pulling fs layer 13:54:50 4583459ba037: Pulling fs layer 13:54:50 93c1e223e6f2: Pulling fs layer 13:54:50 53926ce57604: Pulling fs layer 13:54:50 21b2b0c7a3f4: Pulling fs layer 13:54:50 30f14e443154: Pulling fs layer 13:54:50 801331c1e519: Pulling fs layer 13:54:50 99cc6dd402b0: Pulling fs layer 13:54:50 7d9ed39f4882: Pulling fs layer 13:54:50 53926ce57604: Waiting 13:54:50 21b2b0c7a3f4: Waiting 13:54:50 30f14e443154: Waiting 13:54:50 99cc6dd402b0: Waiting 13:54:50 7d9ed39f4882: Waiting 13:54:50 801331c1e519: Waiting 13:54:50 4583459ba037: Verifying Checksum 13:54:50 4583459ba037: Download complete 13:54:50 21b2b0c7a3f4: Verifying Checksum 13:54:50 21b2b0c7a3f4: Download complete 13:54:50 30f14e443154: Verifying Checksum 13:54:50 30f14e443154: Download complete 13:54:50 213ec9aee27d: Verifying Checksum 13:54:50 213ec9aee27d: Download complete 13:54:50 801331c1e519: Verifying Checksum 13:54:50 801331c1e519: Download complete 13:54:50 213ec9aee27d: Pull complete 13:54:50 4583459ba037: Pull complete 13:54:50 93c1e223e6f2: Pull complete 13:54:51 7d9ed39f4882: Verifying Checksum 13:54:51 7d9ed39f4882: Download complete 13:54:51 53926ce57604: Download complete 13:54:51 99cc6dd402b0: Verifying Checksum 13:54:51 99cc6dd402b0: Download complete 13:54:55 53926ce57604: Pull complete 13:54:55 21b2b0c7a3f4: Pull complete 13:54:55 30f14e443154: Pull complete 13:54:55 801331c1e519: Pull complete 13:54:57 99cc6dd402b0: Pull complete 13:54:58 7d9ed39f4882: Pull complete 13:54:58 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 13:54:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 13:54:58 ---> 1dedd983c030 13:54:58 Step 3/11 : ARG MAKE=make build 13:55:00 ---> Running in 3ee8dd01460d 13:55:00 Removing intermediate container 3ee8dd01460d 13:55:00 ---> 2ff21e1cf466 13:55:00 Step 4/11 : WORKDIR /device-sdk-go 13:55:00 ---> Running in c9625b35f3bb 13:55:00 Removing intermediate container c9625b35f3bb 13:55:00 ---> a784837b3510 13:55:00 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:55:00 ---> Running in 7c6089cc68d7 13:55:00 Removing intermediate container 7c6089cc68d7 13:55:00 ---> da47d5b3a0a5 13:55:00 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:55:00 ---> Running in 3e16012322ed 13:55:01 Removing intermediate container 3e16012322ed 13:55:01 ---> c9ead4b85582 13:55:01 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 13:55:01 ---> Running in 520e9b9277ff 13:55:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:55:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:55:02 OK: 211 MiB in 51 packages 13:55:03 Removing intermediate container 520e9b9277ff 13:55:03 ---> d237dcb046c0 13:55:03 Step 8/11 : COPY go.mod vendor* ./ 13:55:03 ---> 60c03721ad0a 13:55:03 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:55:03 ---> Running in a6c6ea292af2 13:55:03 Still waiting to schedule task 13:55:03 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 13:55:25 Removing intermediate container a6c6ea292af2 13:55:25 ---> e79bae47a3a0 13:55:25 Step 10/11 : COPY . . 13:55:25 ---> 9e82dfa1131a 13:55:25 Step 11/11 : RUN ${MAKE} 13:55:25 ---> Running in dbf019939414 13:55:25 noop 13:55:25 Removing intermediate container dbf019939414 13:55:25 ---> 9fd3c60c030c 13:55:25 Successfully built 9fd3c60c030c 13:55:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:25 + docker inspect -f . ci-base-image-x86_64 13:55:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:55:25 prd-ubuntu20.04-docker-8c-8g-8756 does not seem to be running inside a container 13:55:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:55:26 $ docker top 4e587f125d1470a5718c00220ec5c0dd073a8f85de7133c1be0895cc500ea753 -eo pid,comm [Pipeline] { [Pipeline] sh 13:55:26 + go version 13:55:26 go version go1.18.7 linux/amd64 [Pipeline] } 13:55:26 $ docker stop --time=1 4e587f125d1470a5718c00220ec5c0dd073a8f85de7133c1be0895cc500ea753 13:55:27 $ docker rm -f 4e587f125d1470a5718c00220ec5c0dd073a8f85de7133c1be0895cc500ea753 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:55:28 + docker inspect -f . ci-base-image-x86_64 13:55:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:55:28 prd-ubuntu20.04-docker-8c-8g-8756 does not seem to be running inside a container 13:55:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:55:28 $ docker top 7b261c02a5fd5ac44082863db9672b0fcba7e634ef8efd45bdcdd444121559e1 -eo pid,comm [Pipeline] { [Pipeline] sh 13:55:28 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 13:55:29 + make test 13:55:29 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:55:35 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 13:55:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements 13:55:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.074s coverage: 78.9% of statements 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 13:55:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.097s coverage: 73.1% of statements 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 13:55:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.122s coverage: 54.4% of statements 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 13:55:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.098s coverage: 65.1% of statements 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 13:55:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.721s coverage: 89.2% of statements 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 13:55:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 13:55:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 13:56:03 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." 13:56:03 GO111MODULE=on go vet ./... 13:56:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:56:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:56:07 ./bin/test-attribution-txt.sh 13:56:07 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 13:56:07 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 13:56:07 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 13:56:07 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 13:56:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:56:07 $ docker stop --time=1 7b261c02a5fd5ac44082863db9672b0fcba7e634ef8efd45bdcdd444121559e1 13:56:09 $ docker rm -f 7b261c02a5fd5ac44082863db9672b0fcba7e634ef8efd45bdcdd444121559e1 [Pipeline] // withDockerContainer [Pipeline] sh 13:56:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:56:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:56:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:56:10 + ls -al . 13:56:10 total 276 13:56:10 drwxrwxr-x 11 jenkins jenkins 4096 Oct 21 13:55 . 13:56:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 13:54 .. 13:56:10 -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 13:54 .dockerignore 13:56:10 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 13:55 .git 13:56:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 13:54 .github 13:56:10 -rw-rw-r-- 1 jenkins jenkins 131 Oct 21 13:54 .gitignore 13:56:10 -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 13:54 .golangci.yml 13:56:10 drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 13:54 .semver 13:56:10 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 21 13:54 CHANGELOG.md 13:56:10 -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 13:54 GOVERNANCE.md 13:56:10 -rw-rw-r-- 1 jenkins jenkins 880 Oct 21 13:54 Jenkinsfile 13:56:10 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 13:54 LICENSE 13:56:10 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 21 13:54 Makefile 13:56:10 -rw-rw-r-- 1 jenkins jenkins 619 Oct 21 13:54 OWNERS.md 13:56:10 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 21 13:54 README.md 13:56:10 -rw-rw-r-- 1 jenkins jenkins 12 Oct 21 13:54 VERSION 13:56:10 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 13:54 bin 13:56:10 -rw-r--r-- 1 jenkins jenkins 101760 Oct 21 13:55 coverage.out 13:56:10 drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 13:54 example 13:56:10 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 21 13:54 go.mod 13:56:10 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 21 13:54 go.sum 13:56:10 drwxrwxr-x 14 jenkins jenkins 4096 Oct 21 13:54 internal 13:56:10 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 13:54 openapi 13:56:10 drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 13:54 pkg 13:56:10 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 13:54 snap 13:56:10 -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 13:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:10 + 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=4052464be6c12850b1d5f447a91894e4a56dac2c --label arch=amd64 --label version=2.3.0-dev.44 . 13:56:10 Sending build context to Docker daemon 10.13MB 13:56:10 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 13:56:10 Step 2/25 : FROM ${BASE} AS builder 13:56:10 ---> 9fd3c60c030c 13:56:10 Step 3/25 : ARG MAKE=make build 13:56:11 ---> Running in 45a3c96516f2 13:56:11 Removing intermediate container 45a3c96516f2 13:56:11 ---> cea4b5dc72ff 13:56:11 Step 4/25 : WORKDIR /device-sdk-go 13:56:11 ---> Running in 26ff78ef5016 13:56:11 Removing intermediate container 26ff78ef5016 13:56:11 ---> 0185e50ee92c 13:56:11 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:56:11 ---> Running in 31534a817130 13:56:11 Removing intermediate container 31534a817130 13:56:11 ---> 98e78dd64716 13:56:11 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:56:11 ---> Running in 2da2cc31fe75 13:56:12 Removing intermediate container 2da2cc31fe75 13:56:12 ---> c4a452ddcd76 13:56:12 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 13:56:12 ---> Running in fa6a8b8f6996 13:56:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:56:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:56:13 OK: 211 MiB in 51 packages 13:56:14 Removing intermediate container fa6a8b8f6996 13:56:14 ---> 6357757adb79 13:56:14 Step 8/25 : COPY go.mod vendor* ./ 13:56:14 ---> 8455d47055a8 13:56:14 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:56:14 ---> Running in c9054e77bf58 13:56:14 Removing intermediate container c9054e77bf58 13:56:14 ---> f32c6c754c15 13:56:14 Step 10/25 : COPY . . 13:56:15 ---> 470bc330a910 13:56:15 Step 11/25 : RUN ${MAKE} 13:56:15 ---> Running in 95e55fe9eb6c 13:56:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.44" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 13:56:33 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 13:56:35 Removing intermediate container 95e55fe9eb6c 13:56:35 ---> c0399d9c5c63 13:56:35 Step 12/25 : FROM alpine:3.16 13:56:36 3.16: Pulling from library/alpine 13:56:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8757 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 13:56:36 Running in /w/workspace/device-sdk-go/119 [Pipeline] { [Pipeline] checkout 13:56:36 213ec9aee27d: Already exists 13:56:36 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 13:56:36 Status: Downloaded newer image for alpine:3.16 13:56:36 ---> 9c6f07244728 13:56:36 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:56:36 ---> Running in 82ba5b5758b7 13:56:36 The recommended git tool is: git 13:56:36 Removing intermediate container 82ba5b5758b7 13:56:36 ---> 44517d65b908 13:56:36 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:56:36 ---> Running in 4d20fadaff81 13:56:37 Removing intermediate container 4d20fadaff81 13:56:37 ---> 5a7d0ea4ec04 13:56:37 Step 15/25 : RUN apk add --update --no-cache zeromq 13:56:37 ---> Running in 836709986b84 13:56:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 13:56:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 13:56:39 (1/5) Installing libgcc (11.2.1_git20220219-r2) 13:56:39 (2/5) Installing libsodium (1.0.18-r0) 13:56:39 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 13:56:39 (4/5) Installing libzmq (4.3.4-r0) 13:56:39 (5/5) Installing zeromq (4.3.4-r0) 13:56:39 Executing busybox-1.35.0-r17.trigger 13:56:39 OK: 8 MiB in 19 packages 13:56:40 Removing intermediate container 836709986b84 13:56:40 ---> dd76c77378a1 13:56:40 Step 16/25 : WORKDIR / 13:56:40 ---> Running in dd6541b8c230 13:56:40 Removing intermediate container dd6541b8c230 13:56:40 ---> 038a578a2ff3 13:56:40 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 13:56:40 ---> 70999080292d 13:56:40 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 13:56:40 ---> 32d75e0449cf 13:56:40 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 13:56:41 ---> be531b81d034 13:56:41 Step 20/25 : EXPOSE 59999 13:56:41 ---> Running in ad76665acfc5 13:56:41 Removing intermediate container ad76665acfc5 13:56:41 ---> 8fc380101ec2 13:56:41 Step 21/25 : ENTRYPOINT ["/device-simple"] 13:56:41 ---> Running in bd9b1035ccef 13:56:41 using credential edgex-jenkins-ssh 13:56:41 Cloning the remote Git repository 13:56:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:56:41 > git init /w/workspace/device-sdk-go/119 # timeout=10 13:56:41 Removing intermediate container bd9b1035ccef 13:56:41 ---> a1a0f37e4019 13:56:41 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:56:41 ---> Running in ff887fe892a3 13:56:41 Removing intermediate container ff887fe892a3 13:56:41 ---> 5cdb3cacf60d 13:56:41 Step 23/25 : LABEL arch=amd64 13:56:41 ---> Running in eb9d7bddaccc 13:56:41 Removing intermediate container eb9d7bddaccc 13:56:41 ---> 7e6a855ffb92 13:56:41 Step 24/25 : LABEL git_sha=4052464be6c12850b1d5f447a91894e4a56dac2c 13:56:41 ---> Running in 76c20678836c 13:56:41 Removing intermediate container 76c20678836c 13:56:41 ---> 878f7f7064b8 13:56:41 Step 25/25 : LABEL version=2.3.0-dev.44 13:56:41 ---> Running in 89d8b9361238 13:56:41 Removing intermediate container 89d8b9361238 13:56:41 ---> 78d81028d309 13:56:41 [Warning] One or more build-args [ARCH] were not consumed 13:56:41 Successfully built 78d81028d309 13:56:41 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:56:42 13:56:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:56:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:56:41 > git --version # timeout=10 13:56:41 > git --version # 'git version 2.25.1' 13:56:41 using GIT_SSH to set credentials SSH Credentials for GitHub 13:56:41 Verifying host key using known hosts file 13:56:41 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. 13:56:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:56:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:56:42 latest: Pulling from edgex-lftools-log-publisher 13:56:42 5eb5b503b376: Pulling fs layer 13:56:42 5c69ac0246d0: Pulling fs layer 13:56:42 ec43610c2a17: Pulling fs layer 13:56:42 3a2ae6a8a46f: Pulling fs layer 13:56:42 33b1e0a273af: Pulling fs layer 13:56:42 5d3b04190fa2: Pulling fs layer 13:56:42 2f39f015ded8: Pulling fs layer 13:56:42 5d3b04190fa2: Waiting 13:56:42 33b1e0a273af: Waiting 13:56:42 2f39f015ded8: Waiting 13:56:42 5c69ac0246d0: Verifying Checksum 13:56:42 5c69ac0246d0: Download complete 13:56:42 3a2ae6a8a46f: Verifying Checksum 13:56:42 3a2ae6a8a46f: Download complete 13:56:42 33b1e0a273af: Verifying Checksum 13:56:42 33b1e0a273af: Download complete 13:56:42 ec43610c2a17: Verifying Checksum 13:56:42 ec43610c2a17: Download complete 13:56:42 5d3b04190fa2: Verifying Checksum 13:56:42 5d3b04190fa2: Download complete 13:56:42 5eb5b503b376: Verifying Checksum 13:56:42 5eb5b503b376: Download complete 13:56:43 2f39f015ded8: Verifying Checksum 13:56:43 2f39f015ded8: Download complete 13:56:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:56:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:56:43 5eb5b503b376: Pull complete 13:56:43 5c69ac0246d0: Pull complete 13:56:43 Avoid second fetch 13:56:43 Checking out Revision 4052464be6c12850b1d5f447a91894e4a56dac2c (main) 13:56:44 Commit message: "Merge pull request #1243 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.3.0-dev.24" 13:56:44 ec43610c2a17: Pull complete 13:56:44 3a2ae6a8a46f: Pull complete 13:56:44 33b1e0a273af: Pull complete 13:56:44 5d3b04190fa2: Pull complete 13:56:44 13:56:44 GitHub has been notified of this commit’s build result 13:56:44 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:56:43 > git config core.sparsecheckout # timeout=10 13:56:43 > git checkout -f 4052464be6c12850b1d5f447a91894e4a56dac2c # timeout=10 13:56:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:56:45 % Total % Received % Xferd Average Speed Time Time Time Current 13:56:45 Dload Upload Total Spent Left Speed 13:56:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 92661 0 --:--:-- --:--:-- --:--:-- 92661 [Pipeline] sh 13:56:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:56:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:56:46 + sudo tee /etc/docker/daemon.new 13:56:46 { 13:56:46 "registry-mirrors": [ 13:56:46 "https://nexus3.edgexfoundry.org:10001" 13:56:46 ], 13:56:46 "bip": "10.250.0.254/24", 13:56:46 "hosts": [ 13:56:46 "tcp://0.0.0.0:5555", 13:56:46 "unix:///var/run/docker.sock" 13:56:46 ], 13:56:46 "mtu": 1458, 13:56:46 "selinux-enabled": true, 13:56:46 "seccomp-profile": "/etc/docker/seccomp.json" 13:56:46 } [Pipeline] sh 13:56:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:56:46 + sudo service docker restart 13:56:48 2f39f015ded8: Pull complete 13:56:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 13:56:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:56:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:56:48 prd-ubuntu20.04-docker-8c-8g-8756 does not seem to be running inside a container 13:56:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:56:50 $ docker top cc474e3ec567bc2246b59130fc36bc32a6b7bb2947bf9a3aa4fcfc6126a0c234 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:56:51 ---> job-cost.sh 13:56:51 lf-activate-venv: SKIPPING 13:56:51 INFO: No Stack... 13:56:51 INFO: Retrieving Pricing Info for: v3-standard-8 13:56:51 INFO: Archiving Costs [Pipeline] sh 13:56:52 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 13:56:52 + cut -d, -f6 [Pipeline] lock 13:56:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-119-stack-cost] 13:56:52 Resource [jenkins-edgexfoundry-device-sdk-go-main-119-stack-cost] did not exist. Created. 13:56:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:56:52 + echo total: 0.2199999988079071 [Pipeline] stash 13:56:52 Stashed 1 file(s) [Pipeline] } 13:56:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-119-stack-cost] [Pipeline] // lock [Pipeline] } 13:56:52 $ docker stop --time=1 cc474e3ec567bc2246b59130fc36bc32a6b7bb2947bf9a3aa4fcfc6126a0c234 13:56:53 $ docker rm -f cc474e3ec567bc2246b59130fc36bc32a6b7bb2947bf9a3aa4fcfc6126a0c234 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:57:05 provisioning config files... 13:57:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/119@tmp/config10012440106326422920tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:57:05 ---> docker-login.sh 13:57:05 nexus3.edgexfoundry.org:10001 13:57:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:06 Configure a credential helper to remove this warning. See 13:57:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:06 13:57:06 Login Succeeded 13:57:06 nexus3.edgexfoundry.org:10002 13:57:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:06 Configure a credential helper to remove this warning. See 13:57:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:06 13:57:06 Login Succeeded 13:57:06 nexus3.edgexfoundry.org:10003 13:57:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:07 Configure a credential helper to remove this warning. See 13:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:07 13:57:07 Login Succeeded 13:57:07 nexus3.edgexfoundry.org:10004 13:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:07 Configure a credential helper to remove this warning. See 13:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:07 13:57:07 Login Succeeded 13:57:07 docker.io 13:57:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:57:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:57:07 Configure a credential helper to remove this warning. See 13:57:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:57:07 13:57:07 Login Succeeded 13:57:07 ---> docker-login.sh ends [Pipeline] } 13:57:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:57:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:57:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:57:08 ========================================================= 13:57:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 13:57:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:57:08 + 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 . 13:57:08 Sending build context to Docker daemon 5.391MB 13:57:08 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 13:57:08 Step 2/11 : FROM ${BASE} AS builder 13:57:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:57:08 9b18e9b68314: Pulling fs layer 13:57:08 d32db5db7311: Pulling fs layer 13:57:08 d0c4b47475fc: Pulling fs layer 13:57:08 5831b945b038: Pulling fs layer 13:57:08 86bbec2aaacd: Pulling fs layer 13:57:08 5831b945b038: Waiting 13:57:08 e10730c5d714: Pulling fs layer 13:57:08 86bbec2aaacd: Waiting 13:57:08 5dd5c2283517: Pulling fs layer 13:57:08 d5ac0230b979: Pulling fs layer 13:57:08 e10730c5d714: Waiting 13:57:08 5dd5c2283517: Waiting 13:57:08 d5ac0230b979: Waiting 13:57:08 d0c4b47475fc: Download complete 13:57:08 d32db5db7311: Download complete 13:57:08 86bbec2aaacd: Verifying Checksum 13:57:08 86bbec2aaacd: Download complete 13:57:08 e10730c5d714: Verifying Checksum 13:57:08 e10730c5d714: Download complete 13:57:08 9b18e9b68314: Verifying Checksum 13:57:08 9b18e9b68314: Download complete 13:57:09 9b18e9b68314: Pull complete 13:57:10 d5ac0230b979: Verifying Checksum 13:57:10 d5ac0230b979: Download complete 13:57:10 d32db5db7311: Pull complete 13:57:10 d0c4b47475fc: Pull complete 13:57:11 5dd5c2283517: Verifying Checksum 13:57:11 5dd5c2283517: Download complete 13:57:11 5831b945b038: Verifying Checksum 13:57:11 5831b945b038: Download complete 13:57:24 5831b945b038: Pull complete 13:57:24 86bbec2aaacd: Pull complete 13:57:24 e10730c5d714: Pull complete 13:57:30 5dd5c2283517: Pull complete 13:57:31 d5ac0230b979: Pull complete 13:57:31 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 13:57:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 13:57:31 ---> 59b3b1a385d4 13:57:31 Step 3/11 : ARG MAKE=make build 13:57:33 ---> Running in 0ddb739dea0a 13:57:34 Removing intermediate container 0ddb739dea0a 13:57:34 ---> 4eed0ae00dee 13:57:34 Step 4/11 : WORKDIR /device-sdk-go 13:57:34 ---> Running in a1a5603f74ac 13:57:34 Removing intermediate container a1a5603f74ac 13:57:34 ---> abb379e9c906 13:57:34 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 13:57:34 ---> Running in 58171b62e96b 13:57:34 Removing intermediate container 58171b62e96b 13:57:34 ---> 3994f6c9abd3 13:57:34 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 13:57:34 ---> Running in 3529deca48ff 13:57:36 Removing intermediate container 3529deca48ff 13:57:36 ---> 7146b246f807 13:57:36 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 13:57:36 ---> Running in be875f4df93d 13:57:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 13:57:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 13:57:39 OK: 221 MiB in 51 packages 13:57:40 Removing intermediate container be875f4df93d 13:57:40 ---> 59e5020f9cf1 13:57:40 Step 8/11 : COPY go.mod vendor* ./ 13:57:41 ---> 33bcf620ccc0 13:57:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:57:41 ---> Running in 09aee7e3c048 13:58:28 Removing intermediate container 09aee7e3c048 13:58:28 ---> bc5719213b93 13:58:28 Step 10/11 : COPY . . 13:58:28 ---> 12df3b99d4fa 13:58:28 Step 11/11 : RUN ${MAKE} 13:58:28 ---> Running in c91eae157abd 13:58:29 noop 13:58:29 Removing intermediate container c91eae157abd 13:58:29 ---> 8eda50e492c8 13:58:29 Successfully built 8eda50e492c8 13:58:29 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:30 + docker inspect -f . ci-base-image-arm64 13:58:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:58:30 prd-ubuntu20.04-docker-arm64-4c-16g-8757 does not seem to be running inside a container 13:58:30 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/119 -v /w/workspace/device-sdk-go/119:/w/workspace/device-sdk-go/119:rw,z -v /w/workspace/device-sdk-go/119@tmp:/w/workspace/device-sdk-go/119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:58:31 $ docker top b5553d3267f35e946637d669cc27e13f5300d827b6281fac16a60482fa5ce430 -eo pid,comm [Pipeline] { [Pipeline] sh 13:58:32 + go version 13:58:32 go version go1.18.7 linux/arm64 [Pipeline] } 13:58:32 $ docker stop --time=1 b5553d3267f35e946637d669cc27e13f5300d827b6281fac16a60482fa5ce430 13:58:33 $ docker rm -f b5553d3267f35e946637d669cc27e13f5300d827b6281fac16a60482fa5ce430 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 13:58:34 + docker inspect -f . ci-base-image-arm64 13:58:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 13:58:34 prd-ubuntu20.04-docker-arm64-4c-16g-8757 does not seem to be running inside a container 13:58:34 $ 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/119 -v /w/workspace/device-sdk-go/119:/w/workspace/device-sdk-go/119:rw,z -v /w/workspace/device-sdk-go/119@tmp:/w/workspace/device-sdk-go/119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 13:58:35 $ docker top 29dc7f9480461fe7c321d131e882cbd861d38bf79bbb13c67d8696e7eab8cec3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:58:36 + git config --global --add safe.directory /w/workspace/device-sdk-go/119 [Pipeline] fileExists [Pipeline] sh 13:58:36 + make test 13:58:36 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 13:59:08 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 14:01:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 14:01:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 14:01:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 14:01:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 14:01:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 14:01:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.361s coverage: 27.6% of statements 14:01:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.359s coverage: 78.9% of statements 14:01:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 14:01:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.602s coverage: 73.1% of statements 14:01:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 14:01:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 14:01:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 1.266s coverage: 54.4% of statements 14:01:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 14:01:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 14:01:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 14:01:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 14:01:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.928s coverage: 65.1% of statements 14:01:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 14:01:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 14:01:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.920s coverage: 89.2% of statements 14:01:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 14:01:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.243s coverage: 4.7% of statements 14:01:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 14:01:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:01:24 GO111MODULE=on go vet ./... 14:03:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:03:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:03:15 ./bin/test-attribution-txt.sh 14:03:15 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 14:03:15 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 14:03:15 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 14:03:15 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 14:03:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:03:15 $ docker stop --time=1 29dc7f9480461fe7c321d131e882cbd861d38bf79bbb13c67d8696e7eab8cec3 14:03:17 $ docker rm -f 29dc7f9480461fe7c321d131e882cbd861d38bf79bbb13c67d8696e7eab8cec3 [Pipeline] // withDockerContainer [Pipeline] sh 14:03:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:03:19 Warning: overwriting stash ‘coverage-report’ 14:03:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:03:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:03:20 + ls -al . 14:03:20 total 272 14:03:20 drwxrwxr-x 10 jenkins jenkins 4096 Oct 21 13:58 . 14:03:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 13:56 .. 14:03:20 -rw-rw-r-- 1 jenkins jenkins 140 Oct 21 13:56 .dockerignore 14:03:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 21 13:56 .git 14:03:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 13:56 .github 14:03:20 -rw-rw-r-- 1 jenkins jenkins 131 Oct 21 13:56 .gitignore 14:03:20 -rw-rw-r-- 1 jenkins jenkins 42 Oct 21 13:56 .golangci.yml 14:03:20 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 21 13:56 CHANGELOG.md 14:03:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 21 13:56 GOVERNANCE.md 14:03:20 -rw-rw-r-- 1 jenkins jenkins 880 Oct 21 13:56 Jenkinsfile 14:03:20 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 21 13:56 LICENSE 14:03:20 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 21 13:56 Makefile 14:03:20 -rw-rw-r-- 1 jenkins jenkins 619 Oct 21 13:56 OWNERS.md 14:03:20 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 21 13:56 README.md 14:03:20 -rw-rw-r-- 1 jenkins jenkins 12 Oct 21 13:54 VERSION 14:03:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 21 13:56 bin 14:03:20 -rw-r--r-- 1 jenkins jenkins 101759 Oct 21 14:01 coverage.out 14:03:20 drwxrwxr-x 5 jenkins jenkins 4096 Oct 21 13:56 example 14:03:20 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 21 13:56 go.mod 14:03:20 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 21 13:56 go.sum 14:03:20 drwxrwxr-x 14 jenkins jenkins 4096 Oct 21 13:56 internal 14:03:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 21 13:56 openapi 14:03:20 drwxrwxr-x 6 jenkins jenkins 4096 Oct 21 13:56 pkg 14:03:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 21 13:56 snap 14:03:20 -rw-rw-r-- 1 jenkins jenkins 222 Oct 21 13:56 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:03: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=4052464be6c12850b1d5f447a91894e4a56dac2c --label arch=arm64 --label version=2.3.0-dev.44 . 14:03:20 Sending build context to Docker daemon 5.494MB 14:03:20 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 14:03:20 Step 2/25 : FROM ${BASE} AS builder 14:03:20 ---> 8eda50e492c8 14:03:20 Step 3/25 : ARG MAKE=make build 14:03:21 ---> Running in d05fe5817de9 14:03:21 Removing intermediate container d05fe5817de9 14:03:21 ---> 027cf9b5cf22 14:03:21 Step 4/25 : WORKDIR /device-sdk-go 14:03:21 ---> Running in fecf4461bc6d 14:03:22 Removing intermediate container fecf4461bc6d 14:03:22 ---> 218c4920a35c 14:03:22 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:03:22 ---> Running in 2b24d0dc84e3 14:03:22 Removing intermediate container 2b24d0dc84e3 14:03:22 ---> 2cb9da244f0f 14:03:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:03:22 ---> Running in 1e4f5cf82f00 14:03:24 Removing intermediate container 1e4f5cf82f00 14:03:24 ---> 715ae7bdc8af 14:03:24 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:03:24 ---> Running in 9cb6981892fe 14:03:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:03:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:03:27 OK: 221 MiB in 51 packages 14:03:28 Removing intermediate container 9cb6981892fe 14:03:28 ---> a787e54c572a 14:03:28 Step 8/25 : COPY go.mod vendor* ./ 14:03:29 ---> 352932f3b04c 14:03:29 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:03:29 ---> Running in 653b0b4b9af5 14:03:31 Removing intermediate container 653b0b4b9af5 14:03:31 ---> ce0dc4bf0761 14:03:31 Step 10/25 : COPY . . 14:03:32 ---> e1d8fbb4b76e 14:03:32 Step 11/25 : RUN ${MAKE} 14:03:32 ---> Running in 379dbb570202 14:03:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.44" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 14:05:55 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 14:05:55 Removing intermediate container 379dbb570202 14:05:55 ---> 97c2ce54e0bb 14:05:55 Step 12/25 : FROM alpine:3.16 14:05:55 3.16: Pulling from library/alpine 14:05:55 9b18e9b68314: Already exists 14:05:55 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:05:55 Status: Downloaded newer image for alpine:3.16 14:05:55 ---> a6215f271958 14:05:55 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:05:55 ---> Running in 70990dcbd528 14:05:55 Removing intermediate container 70990dcbd528 14:05:55 ---> 8677f057a0ea 14:05:55 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 14:05:55 ---> Running in 68e3bf90fe28 14:05:57 Removing intermediate container 68e3bf90fe28 14:05:57 ---> 748576274aae 14:05:57 Step 15/25 : RUN apk add --update --no-cache zeromq 14:05:57 ---> Running in e8ac1d751900 14:05:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:05:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:05:59 (1/5) Installing libgcc (11.2.1_git20220219-r2) 14:06:00 (2/5) Installing libsodium (1.0.18-r0) 14:06:00 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 14:06:00 (4/5) Installing libzmq (4.3.4-r0) 14:06:00 (5/5) Installing zeromq (4.3.4-r0) 14:06:00 Executing busybox-1.35.0-r17.trigger 14:06:00 OK: 8 MiB in 19 packages 14:06:01 Removing intermediate container e8ac1d751900 14:06:01 ---> f08be8e38a8e 14:06:01 Step 16/25 : WORKDIR / 14:06:01 ---> Running in b62f51f9c5e0 14:06:01 Removing intermediate container b62f51f9c5e0 14:06:01 ---> 9783d11afc7d 14:06:01 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:06:02 ---> e029da7a3ba5 14:06:02 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:06:04 ---> fdba6793f185 14:06:04 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:06:04 ---> 97dbcc1a906e 14:06:04 Step 20/25 : EXPOSE 59999 14:06:04 ---> Running in 2b2596fbe104 14:06:04 Removing intermediate container 2b2596fbe104 14:06:04 ---> 13d3f3d4d943 14:06:04 Step 21/25 : ENTRYPOINT ["/device-simple"] 14:06:04 ---> Running in 4580fcf7a535 14:06:05 Removing intermediate container 4580fcf7a535 14:06:05 ---> 9d2ceeaf5b61 14:06:05 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:06:05 ---> Running in b13b82b387b2 14:06:05 Removing intermediate container b13b82b387b2 14:06:05 ---> 35695de687d3 14:06:05 Step 23/25 : LABEL arch=arm64 14:06:05 ---> Running in 8074320c9c3e 14:06:05 Removing intermediate container 8074320c9c3e 14:06:05 ---> eaae1a0011d8 14:06:05 Step 24/25 : LABEL git_sha=4052464be6c12850b1d5f447a91894e4a56dac2c 14:06:05 ---> Running in 1f9fe39a7ff4 14:06:06 Removing intermediate container 1f9fe39a7ff4 14:06:06 ---> fd4eb4abbaa4 14:06:06 Step 25/25 : LABEL version=2.3.0-dev.44 14:06:06 ---> Running in 56b9d03af258 14:06:06 Removing intermediate container 56b9d03af258 14:06:06 ---> ac34383ae722 14:06:06 [Warning] One or more build-args [ARCH] were not consumed 14:06:06 Successfully built ac34383ae722 14:06:06 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 14:06:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:06:07 14:06:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:06:07 arm64: Pulling from edgex-lftools-log-publisher 14:06:07 8998bd30e6a1: Pulling fs layer 14:06:07 04944245beec: Pulling fs layer 14:06:07 699f458cf7ca: Pulling fs layer 14:06:07 765212b225bb: Pulling fs layer 14:06:07 f23df028b6ca: Pulling fs layer 14:06:07 d65c8cfc05b1: Pulling fs layer 14:06:07 2437ff75d9bd: Pulling fs layer 14:06:07 f23df028b6ca: Waiting 14:06:07 d65c8cfc05b1: Waiting 14:06:07 2437ff75d9bd: Waiting 14:06:07 765212b225bb: Waiting 14:06:07 04944245beec: Download complete 14:06:07 765212b225bb: Verifying Checksum 14:06:07 765212b225bb: Download complete 14:06:07 f23df028b6ca: Verifying Checksum 14:06:07 f23df028b6ca: Download complete 14:06:07 d65c8cfc05b1: Verifying Checksum 14:06:07 d65c8cfc05b1: Download complete 14:06:08 699f458cf7ca: Verifying Checksum 14:06:08 699f458cf7ca: Download complete 14:06:08 8998bd30e6a1: Verifying Checksum 14:06:08 8998bd30e6a1: Download complete 14:06:10 2437ff75d9bd: Verifying Checksum 14:06:10 2437ff75d9bd: Download complete 14:06:12 8998bd30e6a1: Pull complete 14:06:12 04944245beec: Pull complete 14:06:14 699f458cf7ca: Pull complete 14:06:14 765212b225bb: Pull complete 14:06:15 f23df028b6ca: Pull complete 14:06:15 d65c8cfc05b1: Pull complete 14:06:30 2437ff75d9bd: Pull complete 14:06:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:06:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:06:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:30 prd-ubuntu20.04-docker-arm64-4c-16g-8757 does not seem to be running inside a container 14:06:30 $ 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/119 -v /w/workspace/device-sdk-go/119:/w/workspace/device-sdk-go/119:rw,z -v /w/workspace/device-sdk-go/119@tmp:/w/workspace/device-sdk-go/119@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:06:33 $ docker top 3659ec5041defa7bf9db84037121815942d15bf46fb93fe320fb7819a0d3e80f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:06:34 ---> job-cost.sh 14:06:34 lf-activate-venv: SKIPPING 14:06:34 INFO: No Stack... 14:06:34 INFO: Retrieving Pricing Info for: v3-standard-4 14:06:35 INFO: Archiving Costs [Pipeline] sh 14:06:36 + cat /w/workspace/device-sdk-go/119/archives/cost.csv 14:06:36 + cut -d, -f6 [Pipeline] lock 14:06:36 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-119-stack-cost] 14:06:36 Resource [jenkins-edgexfoundry-device-sdk-go-main-119-stack-cost] did not exist. Created. 14:06:36 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-119-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:06:37 /w/workspace/device-sdk-go/119@tmp/durable-56bcbd1c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:06:37 + echo total: 0.10999999940395355 [Pipeline] stash 14:06:37 Warning: overwriting stash ‘stack-cost’ 14:06:37 Stashed 1 file(s) [Pipeline] } 14:06:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-119-stack-cost] [Pipeline] // lock [Pipeline] } 14:06:38 $ docker stop --time=1 3659ec5041defa7bf9db84037121815942d15bf46fb93fe320fb7819a0d3e80f 14:06:39 $ docker rm -f 3659ec5041defa7bf9db84037121815942d15bf46fb93fe320fb7819a0d3e80f [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 14:06:39 provisioning config files... 14:06:39 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config758797730841670115tmp [Pipeline] { [Pipeline] sh 14:06:40 + set +x 14:06:40 + curl -s https://codecov.io/bash 14:06:40 + bash -s -- 14:06:40 14:06:40 _____ _ 14:06:40 / ____| | | 14:06:40 | | ___ __| | ___ ___ _____ __ 14:06:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:06:40 | |___| (_) | (_| | __/ (_| (_) \ V / 14:06:40 \_____\___/ \__,_|\___|\___\___/ \_/ 14:06:40 Bash-1.0.6 14:06:40 14:06:40 14:06:40 ==> git version 2.25.1 found 14:06:40 ==> 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 14:06:40 Release-Date: 2020-01-08 14:06:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:06:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:06:40 ==> Jenkins CI detected. 14:06:40 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 14:06:40 project root: . 14:06:40 --> token set from env 14:06:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:06:40 ==> Running gcov in . (disable via -X gcov) 14:06:40 ==> Python coveragepy not found 14:06:40 ==> Searching for coverage reports in: 14:06:40 + . 14:06:40 -> Found 1 reports 14:06:40 ==> Detecting git/mercurial file structure 14:06:40 ==> Reading reports 14:06:40 + ./coverage.out bytes=101759 14:06:40 ==> Appending adjustments 14:06:40 https://docs.codecov.io/docs/fixing-reports 14:06:40 + Found adjustments 14:06:40 ==> Gzipping contents 14:06:40 16K /tmp/codecov.W0fdtb.gz 14:06:40 ==> Uploading reports 14:06:40 url: https://codecov.io 14:06:40 query: branch=main&commit=4052464be6c12850b1d5f447a91894e4a56dac2c&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:06:40 -> Pinging Codecov 14:06:40 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=4052464be6c12850b1d5f447a91894e4a56dac2c&build=119&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F119%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 14:06:41 -> Uploading to 14:06:41 https://storage.googleapis.com/codecov/v4/raw/2022-10-21/7E55EF52A471D76F132DFD9A03CDDE97/4052464be6c12850b1d5f447a91894e4a56dac2c/b2f7d96e-726d-490e-9ce2-09fc900254e4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221021%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221021T140640Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d6a9fdf9937f85a810b09b662d5b53a2755ad052cf903c28f204e84b0adc140f 14:06:41 % Total % Received % Xferd Average Speed Time Time Time Current 14:06:41 Dload Upload Total Spent Left Speed 14:06:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14766 0 0 100 14766 0 54487 --:--:-- --:--:-- --:--:-- 54487 14:06:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4052464be6c12850b1d5f447a91894e4a56dac2c [Pipeline] } 14:06:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 14:06:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 14:06:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:06:41 14:06:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:06:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:06:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 14:06:42 df9b9388f04a: Pulling fs layer 14:06:42 52dc419b0ee2: Pulling fs layer 14:06:42 25bc292e5bac: Pulling fs layer 14:06:42 114826534d7a: Pulling fs layer 14:06:42 4657fd5d0bcf: Pulling fs layer 14:06:42 6ad1cebc031e: Pulling fs layer 14:06:42 8a3aa393b2d8: Pulling fs layer 14:06:42 6ad1cebc031e: Waiting 14:06:42 8a3aa393b2d8: Waiting 14:06:42 4657fd5d0bcf: Waiting 14:06:42 114826534d7a: Waiting 14:06:42 25bc292e5bac: Verifying Checksum 14:06:42 25bc292e5bac: Download complete 14:06:42 52dc419b0ee2: Verifying Checksum 14:06:42 52dc419b0ee2: Download complete 14:06:42 4657fd5d0bcf: Verifying Checksum 14:06:42 4657fd5d0bcf: Download complete 14:06:42 df9b9388f04a: Download complete 14:06:42 df9b9388f04a: Pull complete 14:06:42 6ad1cebc031e: Verifying Checksum 14:06:42 6ad1cebc031e: Download complete 14:06:42 52dc419b0ee2: Pull complete 14:06:42 25bc292e5bac: Pull complete 14:06:42 114826534d7a: Download complete 14:06:42 8a3aa393b2d8: Verifying Checksum 14:06:42 8a3aa393b2d8: Download complete 14:06:46 114826534d7a: Pull complete 14:06:46 4657fd5d0bcf: Pull complete 14:06:46 6ad1cebc031e: Pull complete 14:06:48 8a3aa393b2d8: Pull complete 14:06:48 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 14:06:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 14:06:48 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:06:48 prd-ubuntu20.04-docker-8c-8g-8756 does not seem to be running inside a container 14:06:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 14:06:50 $ docker top 5ba7164f405f3cc44bd15448cc28cb6ace2687ca2b8b1dcb5072466794a33421 -eo pid,comm [Pipeline] { [Pipeline] echo 14:06:50 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 14:06:50 + set -o pipefail 14:06:50 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 14:06:56 14:06:56 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 14:06:56 14:06:56 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/cd95a07b-c04d-431d-8d03-e8e71b216503 14:06:56 14:06:56 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 14:06:56 14:06:56 14:06:56 A medium severity vulnerability was found in the Snyk CLI versions you are using. 14:06:56 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 14:06:56 More details here: https://snyk.co/ue1NS [Pipeline] } 14:06:56 $ docker stop --time=1 5ba7164f405f3cc44bd15448cc28cb6ace2687ca2b8b1dcb5072466794a33421 14:06:58 $ docker rm -f 5ba7164f405f3cc44bd15448cc28cb6ace2687ca2b8b1dcb5072466794a33421 [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 14:06:58 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:06:58 provisioning config files... 14:06:58 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16428431963724630474tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:06:58 --> edgex-publish-swagger.sh 14:06:58 === Publish openapi/v2 API === 14:06:58 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 14:06:58 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 14:06:58 % Total % Received % Xferd Average Speed Time Time Time Current 14:06:58 Dload Upload Total Spent Left Speed 14:07:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 44221 0:00:01 0:00:01 --:--:-- 44221 100 53552 0 0 100 53552 0 24209 0:00:02 0:00:02 --:--:-- 24209 100 53552 0 0 100 53552 0 16667 0:00:03 0:00:03 --:--:-- 16667 100 53552 0 0 100 53552 0 12705 0:00:04 0:00:04 --:--:-- 12708 100 53552 0 0 100 53552 0 10543 0:00:05 0:00:05 --:--:-- 10543 100 53552 0 0 100 53552 0 10543 0:00:05 0:00:05 --:--:-- 0 14:07:03 14:07:03 [Pipeline] } 14:07:03 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 14:07:04 + git log --format=format:%s -1 4052464be6c12850b1d5f447a91894e4a56dac2c [Pipeline] sh 14:07:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:07:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:07:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:05 prd-ubuntu20.04-docker-8c-8g-8756 does not seem to be running inside a container 14:07:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:07:05 $ docker top 0d43560426ae5eeeaff9d51d88ac59b5ba7654dda9e021ebfe2bb4cfc662a3ba -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:07:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:07:05 [ssh-agent] Looking for ssh-agent implementation... 14:07:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:07:05 $ docker exec 0d43560426ae5eeeaff9d51d88ac59b5ba7654dda9e021ebfe2bb4cfc662a3ba ssh-agent 14:07:05 SSH_AUTH_SOCK=/tmp/ssh-Unrrg74HanYv/agent.31 14:07:05 SSH_AGENT_PID=37 14:07:05 Running ssh-add (command line suppressed) 14:07:05 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5796519276552946264.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5796519276552946264.key) 14:07:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:07:06 + git semver tag 14:07:06 2022-10-21 14:07:06,320 [run_tag] DEBUG tag force:False 14:07:06 2022-10-21 14:07:06,320 [check_head_tag] DEBUG check head tag 14:07:06 2022-10-21 14:07:06,321 [execute] INFO git cat-file --batch-check 14:07:06 2022-10-21 14:07:06,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 14:07:06 2022-10-21 14:07:06,325 [execute] INFO git cat-file --batch 14:07:06 2022-10-21 14:07:06,326 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 14:07:06 2022-10-21 14:07:06,344 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:07:06 2022-10-21 14:07:06,345 [execute] INFO git tag -a v2.3.0-dev.44 -m v2.3.0-dev.44 14:07:06 2022-10-21 14:07:06,345 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.44', '-m', 'v2.3.0-dev.44'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 14:07:06 2022-10-21 14:07:06,349 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:07:06 2.3.0-dev.44 [Pipeline] } 14:07:06 $ docker exec --env ******** --env ******** 0d43560426ae5eeeaff9d51d88ac59b5ba7654dda9e021ebfe2bb4cfc662a3ba ssh-agent -k 14:07:06 unset SSH_AUTH_SOCK; 14:07:06 unset SSH_AGENT_PID; 14:07:06 echo Agent pid 37 killed; 14:07:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:07:06 + git semver [Pipeline] } 14:07:07 $ docker stop --time=1 0d43560426ae5eeeaff9d51d88ac59b5ba7654dda9e021ebfe2bb4cfc662a3ba 14:07:08 $ docker rm -f 0d43560426ae5eeeaff9d51d88ac59b5ba7654dda9e021ebfe2bb4cfc662a3ba [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:07:08 14:07:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:07:09 0.23.1-centos7: Pulling from edgex-lftools 14:07:09 ab5ef0e58194: Pulling fs layer 14:07:09 9712f1f96733: Pulling fs layer 14:07:09 63f879dbbcfc: Pulling fs layer 14:07:09 0d9ebad4ef96: Pulling fs layer 14:07:09 e9a5061849ea: Pulling fs layer 14:07:09 d747dcd14b5f: Pulling fs layer 14:07:09 2de7ff778b66: Pulling fs layer 14:07:09 e9a5061849ea: Waiting 14:07:09 d747dcd14b5f: Waiting 14:07:09 2de7ff778b66: Waiting 14:07:09 0d9ebad4ef96: Waiting 14:07:09 9712f1f96733: Verifying Checksum 14:07:09 9712f1f96733: Download complete 14:07:09 63f879dbbcfc: Verifying Checksum 14:07:09 63f879dbbcfc: Download complete 14:07:09 0d9ebad4ef96: Verifying Checksum 14:07:09 0d9ebad4ef96: Download complete 14:07:09 d747dcd14b5f: Verifying Checksum 14:07:09 d747dcd14b5f: Download complete 14:07:09 e9a5061849ea: Verifying Checksum 14:07:09 e9a5061849ea: Download complete 14:07:09 ab5ef0e58194: Download complete 14:07:09 2de7ff778b66: Verifying Checksum 14:07:09 2de7ff778b66: Download complete 14:07:12 ab5ef0e58194: Pull complete 14:07:12 9712f1f96733: Pull complete 14:07:13 63f879dbbcfc: Pull complete 14:07:16 0d9ebad4ef96: Pull complete 14:07:16 e9a5061849ea: Pull complete 14:07:16 d747dcd14b5f: Pull complete 14:07:17 2de7ff778b66: Pull complete 14:07:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 14:07:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 14:07:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:17 prd-ubuntu20.04-docker-8c-8g-8756 does not seem to be running inside a container 14:07:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 14:07:19 $ docker top 121156bf836df40853bf9f76f50640e877158865c995c02ed42d127647e72ac2 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 14:07:19 provisioning config files... 14:07:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6678581983279780339tmp 14:07:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6134379067465701491tmp 14:07:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config17092794841682529886tmp [Pipeline] { [Pipeline] echo 14:07:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 14:07:20 ---> sigul-configuration.sh 14:07:20 gpg: directory `/root/.gnupg' created 14:07:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 14:07:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 14:07:20 gpg: keyring `/root/.gnupg/secring.gpg' created 14:07:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 14:07:20 gpg: CAST5 encrypted data 14:07:20 gpg: encrypted with 1 passphrase 14:07:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 14:07:20 + mkdir /home/jenkins 14:07:20 + mkdir /home/jenkins/sigul [Pipeline] sh 14:07:20 + 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 14:07:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 14:07:20 ---> sigul-install.sh 14:07:20 Sigul already installed; skipping installation. [Pipeline] sh 14:07:21 + git tag --list 14:07:21 0.7.1 14:07:21 delhi-tag 14:07:21 v1.0.0 14:07:21 v1.1.0 14:07:21 v1.1.1 14:07:21 v1.1.2 14:07:21 v1.2.0 14:07:21 v1.2.1 14:07:21 v1.2.2 14:07:21 v1.2.3 14:07:21 v1.3.0 14:07:21 v1.4.0 14:07:21 v2.0.0 14:07:21 v2.1.0 14:07:21 v2.1.1 14:07:21 v2.1.1-dev.2 14:07:21 v2.1.1-dev.3 14:07:21 v2.2.0 14:07:21 v2.2.1-dev.1 14:07:21 v2.2.1-dev.10 14:07:21 v2.2.1-dev.11 14:07:21 v2.2.1-dev.12 14:07:21 v2.2.1-dev.13 14:07:21 v2.2.1-dev.14 14:07:21 v2.2.1-dev.2 14:07:21 v2.2.1-dev.3 14:07:21 v2.2.1-dev.4 14:07:21 v2.2.1-dev.5 14:07:21 v2.2.1-dev.6 14:07:21 v2.2.1-dev.7 14:07:21 v2.2.1-dev.8 14:07:21 v2.2.1-dev.9 14:07:21 v2.3.0-dev.14 14:07:21 v2.3.0-dev.15 14:07:21 v2.3.0-dev.16 14:07:21 v2.3.0-dev.17 14:07:21 v2.3.0-dev.18 14:07:21 v2.3.0-dev.19 14:07:21 v2.3.0-dev.20 14:07:21 v2.3.0-dev.21 14:07:21 v2.3.0-dev.22 14:07:21 v2.3.0-dev.23 14:07:21 v2.3.0-dev.24 14:07:21 v2.3.0-dev.25 14:07:21 v2.3.0-dev.26 14:07:21 v2.3.0-dev.27 14:07:21 v2.3.0-dev.28 14:07:21 v2.3.0-dev.29 14:07:21 v2.3.0-dev.30 14:07:21 v2.3.0-dev.31 14:07:21 v2.3.0-dev.32 14:07:21 v2.3.0-dev.33 14:07:21 v2.3.0-dev.34 14:07:21 v2.3.0-dev.35 14:07:21 v2.3.0-dev.36 14:07:21 v2.3.0-dev.37 14:07:21 v2.3.0-dev.38 14:07:21 v2.3.0-dev.39 14:07:21 v2.3.0-dev.40 14:07:21 v2.3.0-dev.41 14:07:21 v2.3.0-dev.42 14:07:21 v2.3.0-dev.43 14:07:21 v2.3.0-dev.44 [Pipeline] sh 14:07:21 + lftools sign git-tag v2.3.0-dev.44 14:07:22 Signing Git tag with Sigul... 14:07:22 Signing v2.3.0-dev.44 [Pipeline] echo 14:07:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 14:07:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 14:07:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 14:07:22 $ docker stop --time=1 121156bf836df40853bf9f76f50640e877158865c995c02ed42d127647e72ac2 14:07:23 $ docker rm -f 121156bf836df40853bf9f76f50640e877158865c995c02ed42d127647e72ac2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 14:07:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:07:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:07:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:24 prd-ubuntu20.04-docker-8c-8g-8756 does not seem to be running inside a container 14:07:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:07:25 $ docker top 3ca37481fedc040bb3388c4c1efe245be9d2d2a96efaf5150587f7889e4a34c3 -eo pid,comm 14:07:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 14:07:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:07:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:07:25 [ssh-agent] Looking for ssh-agent implementation... 14:07:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:07:25 $ docker exec 3ca37481fedc040bb3388c4c1efe245be9d2d2a96efaf5150587f7889e4a34c3 ssh-agent 14:07:25 SSH_AUTH_SOCK=/tmp/ssh-YClKLqzlhTAh/agent.32 14:07:25 SSH_AGENT_PID=38 14:07:25 Running ssh-add (command line suppressed) 14:07:25 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12388444054211088820.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12388444054211088820.key) 14:07:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:07:25 + git semver bump pre 14:07:26 2022-10-21 14:07:25,935 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:07:26 2022-10-21 14:07:25,936 [bump_version] DEBUG bumping version:2.3.0-dev.44 on axis:pre with prefix:dev 14:07:26 2022-10-21 14:07:25,936 [bump_version] DEBUG bumped version:2.3.0-dev.45 14:07:26 2022-10-21 14:07:25,936 [write_version] DEBUG write version:2.3.0-dev.45 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 14:07:26 2022-10-21 14:07:25,936 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:07:26 2022-10-21 14:07:25,936 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:07:26 2022-10-21 14:07:25,938 [execute] INFO git cat-file --batch-check 14:07:26 2022-10-21 14:07:25,939 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:07:26 2022-10-21 14:07:25,943 [execute] INFO git cat-file --batch 14:07:26 2022-10-21 14:07:25,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:07:26 2022-10-21 14:07:25,948 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:07:26 2.3.0-dev.45 [Pipeline] } 14:07:26 $ docker exec --env ******** --env ******** 3ca37481fedc040bb3388c4c1efe245be9d2d2a96efaf5150587f7889e4a34c3 ssh-agent -k 14:07:26 unset SSH_AUTH_SOCK; 14:07:26 unset SSH_AGENT_PID; 14:07:26 echo Agent pid 38 killed; 14:07:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:07:26 + git semver [Pipeline] } 14:07:26 $ docker stop --time=1 3ca37481fedc040bb3388c4c1efe245be9d2d2a96efaf5150587f7889e4a34c3 14:07:28 $ docker rm -f 3ca37481fedc040bb3388c4c1efe245be9d2d2a96efaf5150587f7889e4a34c3 [Pipeline] // withDockerContainer [Pipeline] sh 14:07:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:07:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:07:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:28 prd-ubuntu20.04-docker-8c-8g-8756 does not seem to be running inside a container 14:07:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:07:29 $ docker top d3dca3171e46cc65db0578fcf50c01aee6ac1204a0c6a226c9e7cf8587f772a7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:07:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:07:29 [ssh-agent] Looking for ssh-agent implementation... 14:07:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:07:29 $ docker exec d3dca3171e46cc65db0578fcf50c01aee6ac1204a0c6a226c9e7cf8587f772a7 ssh-agent 14:07:29 SSH_AUTH_SOCK=/tmp/ssh-rqQjIehtBQew/agent.31 14:07:29 SSH_AGENT_PID=37 14:07:29 Running ssh-add (command line suppressed) 14:07:29 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4288493153264183490.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4288493153264183490.key) 14:07:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:07:29 + git semver push 14:07:30 2022-10-21 14:07:29,963 [run_push] DEBUG push 14:07:30 2022-10-21 14:07:29,963 [execute] INFO git cat-file --batch-check 14:07:30 2022-10-21 14:07:29,963 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 14:07:30 2022-10-21 14:07:29,967 [execute] INFO git rev-list fed390152e0bded9ebba0b08266c0382e83ff95a -- 14:07:30 2022-10-21 14:07:29,967 [execute] DEBUG Popen(['git', 'rev-list', 'fed390152e0bded9ebba0b08266c0382e83ff95a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:07:30 2022-10-21 14:07:29,977 [execute] INFO git fetch -v origin 14:07:30 2022-10-21 14:07:29,978 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 14:07:30 2022-10-21 14:07:30,585 [run_push] DEBUG no remote changes detected 14:07:30 2022-10-21 14:07:30,586 [execute] INFO git push origin semver 14:07:30 2022-10-21 14:07:30,586 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 14:07:31 2022-10-21 14:07:31,427 [run_push] DEBUG push all version tags 14:07:31 2022-10-21 14:07:31,427 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 14:07:31 2022-10-21 14:07:31,428 [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) 14:07:32 2022-10-21 14:07:32,329 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 14:07:32 2.3.0-dev.45 [Pipeline] } 14:07:32 $ docker exec --env ******** --env ******** d3dca3171e46cc65db0578fcf50c01aee6ac1204a0c6a226c9e7cf8587f772a7 ssh-agent -k 14:07:32 unset SSH_AUTH_SOCK; 14:07:32 unset SSH_AGENT_PID; 14:07:32 echo Agent pid 37 killed; 14:07:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:07:32 + git semver [Pipeline] } 14:07:33 $ docker stop --time=1 d3dca3171e46cc65db0578fcf50c01aee6ac1204a0c6a226c9e7cf8587f772a7 14:07:34 $ docker rm -f d3dca3171e46cc65db0578fcf50c01aee6ac1204a0c6a226c9e7cf8587f772a7 [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 14:07:35 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 14:07:35 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:07:35 total 16 14:07:35 drwxr-xr-x 3 root root 4096 Oct 21 13:56 . 14:07:35 drwxrwxr-x 12 jenkins jenkins 4096 Oct 21 14:07 .. 14:07:35 drwxr-xr-x 2 root root 4096 Oct 21 13:56 cost 14:07:35 -rw-r--r-- 1 root root 85 Oct 21 13:56 cost.csv 14:07:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:07:35 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 14:07:35 total 16 14:07:35 drwxr-xr-x 3 jenkins jenkins 4096 Oct 21 13:56 . 14:07:35 drwxrwxr-x 12 jenkins jenkins 4096 Oct 21 14:07 .. 14:07:35 drwxr-xr-x 2 jenkins jenkins 4096 Oct 21 13:56 cost 14:07:35 -rw-r--r-- 1 jenkins jenkins 85 Oct 21 13:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:07:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:07:36 ---> package-listing.sh 14:07:36 ++ facter osfamily 14:07:36 ++ tr '[:upper:]' '[:lower:]' 14:07:36 + OS_FAMILY=debian 14:07:36 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 14:07:36 + START_PACKAGES=/tmp/packages_start.txt 14:07:36 + END_PACKAGES=/tmp/packages_end.txt 14:07:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:07:36 + PACKAGES=/tmp/packages_start.txt 14:07:36 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 14:07:36 + PACKAGES=/tmp/packages_end.txt 14:07:36 + case "${OS_FAMILY}" in 14:07:36 + dpkg -l 14:07:36 + grep '^ii' 14:07:36 + '[' -f /tmp/packages_start.txt ']' 14:07:36 + '[' -f /tmp/packages_end.txt ']' 14:07:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:07:36 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 14:07:36 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 14:07:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 14:07:36 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 14:07:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:07:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:07:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:07:37 prd-ubuntu20.04-docker-8c-8g-8756 does not seem to be running inside a container 14:07:37 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:07:37 $ docker top 3b7ac122ab4ad6c3c3076c24ab7272e82ef4c1671779a96b5da9dac970276e28 -eo pid,comm [Pipeline] { [Pipeline] sh 14:07:37 + touch /tmp/pre-build-complete [Pipeline] sh 14:07:38 + mkdir -p /var/log/sysstat [Pipeline] sh 14:07:38 + ls /var/log/sa-host 14:07:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:07:38 provisioning config files... 14:07:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1893154407639579865tmp [Pipeline] { [Pipeline] echo 14:07:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:07:38 ---> create-netrc.sh [Pipeline] } 14:07:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:07:39 ---> python-tools-install.sh [Pipeline] echo 14:07:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:07:39 ---> sudo-logs.sh 14:07:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:07:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:07:39 ---> job-cost.sh 14:07:39 lf-activate-venv: SKIPPING 14:07:39 DEBUG: total: 0.2199999988079071 14:07:39 INFO: Retrieving Stack Cost... 14:07:40 INFO: Retrieving Pricing Info for: v3-standard-8 14:07:41 INFO: Archiving Costs [Pipeline] echo 14:07:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:07:41 ---> logs-deploy.sh 14:07:41 lf-activate-venv: SKIPPING 14:07:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/119 14:07:41 INFO: archiving workspace using pattern(s): 14:07:42 Archives upload complete. 14:07:42 INFO: archiving logs to Nexus