Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 67986f5e85a843a874e3bc4d59755e1036e07d38 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-ssh9765632163420715415.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh5774376248656719546.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17743807536536032365.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh177554292151414624.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-ssh2876209170739581763.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-7819 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 67986f5e85a843a874e3bc4d59755e1036e07d38 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 67986f5e85a843a874e3bc4d59755e1036e07d38 # timeout=10 Commit message: "Merge pull request #1236 from hahattan/issue-1235" > git rev-list --no-walk 4f43d98f1138114e8e49a4f6a55cfbfa2fec3a27 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:26:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:26:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:26:28 ========================================================= 16:26:28 EdgeX Global Pipelines Version Info 16:26:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:26:29 ------------------- 16:26:29 stable info: 16:26:29 ------------------- 16:26:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:26:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:26:29 Message: update stable to v1.0.239 16:26:29 ------------------- 16:26:29 experimental info: 16:26:29 ------------------- 16:26:29 Commited By: **** collab-it+edgex@linuxfoundation.org 16:26:29 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:26:29 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 67986f5 [Pipeline] echo 16:26:30 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:26:30 provisioning config files... 16:26:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15842374297584730957tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:26:30 ---> docker-login.sh 16:26:30 nexus3.edgexfoundry.org:10001 16:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:31 Configure a credential helper to remove this warning. See 16:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:31 16:26:31 Login Succeeded 16:26:31 nexus3.edgexfoundry.org:10002 16:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:31 Configure a credential helper to remove this warning. See 16:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:31 16:26:31 Login Succeeded 16:26:31 nexus3.edgexfoundry.org:10003 16:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:31 Configure a credential helper to remove this warning. See 16:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:31 16:26:31 Login Succeeded 16:26:31 nexus3.edgexfoundry.org:10004 16:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:31 Configure a credential helper to remove this warning. See 16:26:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:31 16:26:31 Login Succeeded 16:26:31 docker.io 16:26:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:32 Configure a credential helper to remove this warning. See 16:26:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:32 16:26:32 Login Succeeded 16:26:32 ---> docker-login.sh ends [Pipeline] } 16:26:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:26:32 + git rev-list -1 --merges 67986f5e85a843a874e3bc4d59755e1036e07d38~1..67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] echo 16:26:32 -----------> git rev-list -1 --merges 67986f5e85a843a874e3bc4d59755e1036e07d38~1..67986f5e85a843a874e3bc4d59755e1036e07d38 67986f5e85a843a874e3bc4d59755e1036e07d38 16:26:32 67986f5e85a843a874e3bc4d59755e1036e07d38 [false] [Pipeline] sh 16:26:32 + git log --format=format:%s -1 67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] echo 16:26:32 ========================================================= 16:26:32 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:26:32 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:26:33 + git log --format=format:%s -1 67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] echo 16:26:33 [semverPrep] GIT_COMMIT: 67986f5e85a843a874e3bc4d59755e1036e07d38, Commit Message: Merge pull request #1236 from hahattan/issue-1235 [Pipeline] echo 16:26:33 [semverPrep] This is not a build commit. [Pipeline] sh 16:26:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:26:33 + grep -v github /etc/ssh/ssh_known_hosts 16:26:33 + [ -e /tmp/ssh_known_hosts ] 16:26:33 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:26:33 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 16:26:33 -a /etc/ssh/ssh_known_hosts 16:26:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:26:33 16:26:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:26:34 0.1.4: Pulling from edgex-devops/py-git-semver 16:26:34 b85a868b505f: Pulling fs layer 16:26:34 e2be974225ed: Pulling fs layer 16:26:34 339a4e72a1f5: Pulling fs layer 16:26:34 988bab9f4d93: Pulling fs layer 16:26:34 1469e6f7b9e6: Pulling fs layer 16:26:34 eaf3925da568: Pulling fs layer 16:26:34 bab4dde63d76: Pulling fs layer 16:26:34 bde34c3a00c8: Pulling fs layer 16:26:34 b352a97aabf1: Pulling fs layer 16:26:34 4872d77fe225: Pulling fs layer 16:26:34 5851b861e8e6: Pulling fs layer 16:26:34 988bab9f4d93: Waiting 16:26:34 bab4dde63d76: Waiting 16:26:34 eaf3925da568: Waiting 16:26:34 4872d77fe225: Waiting 16:26:34 bde34c3a00c8: Waiting 16:26:34 b352a97aabf1: Waiting 16:26:34 5851b861e8e6: Waiting 16:26:34 1469e6f7b9e6: Waiting 16:26:34 e2be974225ed: Verifying Checksum 16:26:34 e2be974225ed: Download complete 16:26:34 988bab9f4d93: Verifying Checksum 16:26:34 988bab9f4d93: Download complete 16:26:34 339a4e72a1f5: Download complete 16:26:34 1469e6f7b9e6: Verifying Checksum 16:26:34 1469e6f7b9e6: Download complete 16:26:34 eaf3925da568: Download complete 16:26:34 bde34c3a00c8: Verifying Checksum 16:26:34 bde34c3a00c8: Download complete 16:26:34 b352a97aabf1: Verifying Checksum 16:26:34 b352a97aabf1: Download complete 16:26:34 4872d77fe225: Verifying Checksum 16:26:34 4872d77fe225: Download complete 16:26:34 5851b861e8e6: Verifying Checksum 16:26:34 5851b861e8e6: Download complete 16:26:34 b85a868b505f: Verifying Checksum 16:26:34 b85a868b505f: Download complete 16:26:35 bab4dde63d76: Verifying Checksum 16:26:35 bab4dde63d76: Download complete 16:26:35 b85a868b505f: Pull complete 16:26:36 e2be974225ed: Pull complete 16:26:37 339a4e72a1f5: Pull complete 16:26:37 988bab9f4d93: Pull complete 16:26:37 1469e6f7b9e6: Pull complete 16:26:37 eaf3925da568: Pull complete 16:26:40 bab4dde63d76: Pull complete 16:26:40 bde34c3a00c8: Pull complete 16:26:40 b352a97aabf1: Pull complete 16:26:40 4872d77fe225: Pull complete 16:26:40 5851b861e8e6: Pull complete 16:26:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:26:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:26:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:41 prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container 16:26: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 16:26:47 $ docker top 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 -eo pid,comm 16:26:47 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). 16:26:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:26:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:26:47 [ssh-agent] Looking for ssh-agent implementation... 16:26:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:26:47 $ docker exec 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 ssh-agent 16:26:47 SSH_AUTH_SOCK=/tmp/ssh-9oOc3N0CKWIr/agent.14 16:26:47 SSH_AGENT_PID=20 16:26:47 Running ssh-add (command line suppressed) 16:26:47 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17817937819535953396.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_17817937819535953396.key) 16:26:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:26:48 + git tag --points-at HEAD [Pipeline] } 16:26:48 $ docker exec --env ******** --env ******** 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 ssh-agent -k 16:26:48 unset SSH_AUTH_SOCK; 16:26:48 unset SSH_AGENT_PID; 16:26:48 echo Agent pid 20 killed; 16:26:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:26:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:26:48 [ssh-agent] Looking for ssh-agent implementation... 16:26:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:26:48 $ docker exec 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 ssh-agent 16:26:48 SSH_AUTH_SOCK=/tmp/ssh-i4VWXDUerpXD/agent.59 16:26:48 SSH_AGENT_PID=76 16:26:48 Running ssh-add (command line suppressed) 16:26:48 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16865737472552594594.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_16865737472552594594.key) 16:26:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:26:49 + git semver init 16:26:49 2022-10-13 16:26:49,267 [run_init] DEBUG init version:0.0.0 force:False 16:26:49 2022-10-13 16:26:49,268 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:26:49 2022-10-13 16:26:49,268 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:26:49 2022-10-13 16:26:49,268 [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) 16:26:50 2022-10-13 16:26:50,415 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 16:26:50 2022-10-13 16:26:50,415 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 16:26:50 2022-10-13 16:26:50,415 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:26:50 2022-10-13 16:26:50,416 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:26:50 2.3.0-dev.40 [Pipeline] } 16:26:50 $ docker exec --env ******** --env ******** 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 ssh-agent -k 16:26:50 unset SSH_AUTH_SOCK; 16:26:50 unset SSH_AGENT_PID; 16:26:50 echo Agent pid 76 killed; 16:26:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:26:51 + git semver [Pipeline] } 16:26:51 $ docker stop --time=1 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 16:26:53 $ docker rm -f 9964b67eec7bc84cf933a52fba1870ad8c674f02d564827cb4f06f0bfc454415 [Pipeline] // withDockerContainer [Pipeline] sh 16:26:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:26:53 Stashed 1 file(s) [Pipeline] echo 16:26:53 [edgeXSemver]: initialized semver on version 2.3.0-dev.40 [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 16:26:54 provisioning config files... 16:26:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config119027882023424381tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:26:54 ---> docker-login.sh 16:26:54 nexus3.edgexfoundry.org:10001 16:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:54 Configure a credential helper to remove this warning. See 16:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:54 16:26:54 Login Succeeded 16:26:54 nexus3.edgexfoundry.org:10002 16:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:54 Configure a credential helper to remove this warning. See 16:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:54 16:26:54 Login Succeeded 16:26:54 nexus3.edgexfoundry.org:10003 16:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:54 Configure a credential helper to remove this warning. See 16:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:54 16:26:54 Login Succeeded 16:26:54 nexus3.edgexfoundry.org:10004 16:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:54 Configure a credential helper to remove this warning. See 16:26:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:54 16:26:54 Login Succeeded 16:26:54 docker.io 16:26:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:26:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:26:55 Configure a credential helper to remove this warning. See 16:26:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:26:55 16:26:55 Login Succeeded 16:26:55 ---> docker-login.sh ends [Pipeline] } 16:26:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:26:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:26:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:26:55 ========================================================= 16:26:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:26:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:55 + 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 . 16:26:55 Sending build context to Docker daemon 9.985MB 16:26:55 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 16:26:55 Step 2/11 : FROM ${BASE} AS builder 16:26:55 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:26:55 213ec9aee27d: Pulling fs layer 16:26:55 4583459ba037: Pulling fs layer 16:26:55 93c1e223e6f2: Pulling fs layer 16:26:55 53926ce57604: Pulling fs layer 16:26:55 21b2b0c7a3f4: Pulling fs layer 16:26:55 30f14e443154: Pulling fs layer 16:26:55 801331c1e519: Pulling fs layer 16:26:55 99cc6dd402b0: Pulling fs layer 16:26:55 7d9ed39f4882: Pulling fs layer 16:26:55 53926ce57604: Waiting 16:26:55 21b2b0c7a3f4: Waiting 16:26:55 30f14e443154: Waiting 16:26:55 801331c1e519: Waiting 16:26:55 99cc6dd402b0: Waiting 16:26:55 7d9ed39f4882: Waiting 16:26:55 93c1e223e6f2: Verifying Checksum 16:26:55 93c1e223e6f2: Download complete 16:26:55 4583459ba037: Download complete 16:26:55 21b2b0c7a3f4: Verifying Checksum 16:26:55 21b2b0c7a3f4: Download complete 16:26:55 30f14e443154: Verifying Checksum 16:26:55 30f14e443154: Download complete 16:26:55 213ec9aee27d: Verifying Checksum 16:26:55 213ec9aee27d: Download complete 16:26:55 801331c1e519: Download complete 16:26:55 213ec9aee27d: Pull complete 16:26:56 4583459ba037: Pull complete 16:26:56 93c1e223e6f2: Pull complete 16:26:56 7d9ed39f4882: Verifying Checksum 16:26:56 7d9ed39f4882: Download complete 16:26:56 99cc6dd402b0: Verifying Checksum 16:26:56 99cc6dd402b0: Download complete 16:26:56 53926ce57604: Verifying Checksum 16:26:56 53926ce57604: Download complete 16:26:59 53926ce57604: Pull complete 16:27:00 21b2b0c7a3f4: Pull complete 16:27:00 30f14e443154: Pull complete 16:27:00 801331c1e519: Pull complete 16:27:02 99cc6dd402b0: Pull complete 16:27:03 7d9ed39f4882: Pull complete 16:27:03 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 16:27:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:27:03 ---> 1dedd983c030 16:27:03 Step 3/11 : ARG MAKE=make build 16:27:08 ---> Running in 00631581620b 16:27:08 Removing intermediate container 00631581620b 16:27:08 ---> 8152de033f0e 16:27:08 Step 4/11 : WORKDIR /device-sdk-go 16:27:08 Still waiting to schedule task 16:27:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:27:09 ---> Running in bf48f98fd407 16:27:09 Removing intermediate container bf48f98fd407 16:27:09 ---> 07bc66f10613 16:27:09 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:27:09 ---> Running in b5669e7ef6a4 16:27:09 Removing intermediate container b5669e7ef6a4 16:27:09 ---> f631d17bc039 16:27:09 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:27:09 ---> Running in 120175b9fb1a 16:27:09 Removing intermediate container 120175b9fb1a 16:27:09 ---> 7b4a8cb7cad5 16:27:09 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:27:09 ---> Running in 672eeb130f44 16:27:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:27:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:27:11 OK: 211 MiB in 51 packages 16:27:11 Removing intermediate container 672eeb130f44 16:27:11 ---> db504dda499a 16:27:11 Step 8/11 : COPY go.mod vendor* ./ 16:27:11 ---> be04726e6c36 16:27:11 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:27:12 ---> Running in 6ea6d5bda996 16:27:38 Removing intermediate container 6ea6d5bda996 16:27:38 ---> d3f7acad9cd1 16:27:38 Step 10/11 : COPY . . 16:27:38 ---> 5b389c7c77a6 16:27:38 Step 11/11 : RUN ${MAKE} 16:27:38 ---> Running in 9eacb0ca8b83 16:27:38 noop 16:27:38 Removing intermediate container 9eacb0ca8b83 16:27:38 ---> e9c99fd6aed3 16:27:38 Successfully built e9c99fd6aed3 16:27:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:38 + docker inspect -f . ci-base-image-x86_64 16:27:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:39 prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container 16:27:39 $ 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 16:27:39 $ docker top c24fe20acc2978a8f6d3e82bfc1f203ab708704d6054a684107071864c2254bf -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:39 + go version 16:27:39 go version go1.18.7 linux/amd64 [Pipeline] } 16:27:39 $ docker stop --time=1 c24fe20acc2978a8f6d3e82bfc1f203ab708704d6054a684107071864c2254bf 16:27:41 $ docker rm -f c24fe20acc2978a8f6d3e82bfc1f203ab708704d6054a684107071864c2254bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:41 + docker inspect -f . ci-base-image-x86_64 16:27:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:41 prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container 16:27:41 $ 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 16:27:41 $ docker top 2cc17894db6f6d04af882a8abcb4300d1eb0c738be4be411527c21df961f3ae1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:27:42 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 16:27:42 + make test 16:27:42 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:27:49 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:28:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements 16:28:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.056s coverage: 78.9% of statements 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 16:28:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.080s coverage: 60.0% of statements 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:28:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.109s coverage: 54.4% of statements 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:28:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.107s coverage: 65.1% of statements 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:28:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.745s coverage: 89.2% of statements 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:28:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 16:28:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:28:22 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." 16:28:22 GO111MODULE=on go vet ./... 16:28:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:28:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:28:22 ./bin/test-attribution-txt.sh 16:28:22 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 16:28:22 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:28:22 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:28:22 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:28:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:28:23 $ docker stop --time=1 2cc17894db6f6d04af882a8abcb4300d1eb0c738be4be411527c21df961f3ae1 16:28:27 $ docker rm -f 2cc17894db6f6d04af882a8abcb4300d1eb0c738be4be411527c21df961f3ae1 [Pipeline] // withDockerContainer [Pipeline] sh 16:28:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:28:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:28:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:28:28 + ls -al . 16:28:28 total 276 16:28:28 drwxrwxr-x 11 jenkins jenkins 4096 Oct 13 16:27 . 16:28:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 16:26 .. 16:28:28 -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 16:26 .dockerignore 16:28:28 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 16:28 .git 16:28:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 16:26 .github 16:28:28 -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 16:26 .gitignore 16:28:28 -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 16:26 .golangci.yml 16:28:28 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 16:26 .semver 16:28:28 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 16:26 CHANGELOG.md 16:28:28 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 16:26 GOVERNANCE.md 16:28:28 -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 16:26 Jenkinsfile 16:28:28 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 16:26 LICENSE 16:28:28 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 16:26 Makefile 16:28:28 -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 16:26 OWNERS.md 16:28:28 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 16:26 README.md 16:28:28 -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 16:26 VERSION 16:28:28 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 16:26 bin 16:28:28 -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 16:28 coverage.out 16:28:28 drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 16:26 example 16:28:28 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 16:26 go.mod 16:28:28 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 16:26 go.sum 16:28:28 drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 16:26 internal 16:28:28 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 16:26 openapi 16:28:28 drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 16:26 pkg 16:28:28 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 16:26 snap 16:28:28 -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 16:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:28 + 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=67986f5e85a843a874e3bc4d59755e1036e07d38 --label arch=amd64 --label version=2.3.0-dev.40 . 16:28:28 Sending build context to Docker daemon 10.09MB 16:28:28 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:28:28 Step 2/25 : FROM ${BASE} AS builder 16:28:28 ---> e9c99fd6aed3 16:28:28 Step 3/25 : ARG MAKE=make build 16:28:28 ---> Running in ab4eaa5b313a 16:28:28 Removing intermediate container ab4eaa5b313a 16:28:28 ---> bf12515e7251 16:28:28 Step 4/25 : WORKDIR /device-sdk-go 16:28:28 ---> Running in 132bc99b910d 16:28:29 Removing intermediate container 132bc99b910d 16:28:29 ---> 087e8972fb20 16:28:29 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:28:29 ---> Running in 818d5fd68c9b 16:28:29 Removing intermediate container 818d5fd68c9b 16:28:29 ---> 265ab629603e 16:28:29 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:28:29 ---> Running in cda2640b6d3e 16:28:29 Removing intermediate container cda2640b6d3e 16:28:29 ---> 0919951c595a 16:28:29 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:28:29 ---> Running in 4fba15c15817 16:28:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:28:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:28:31 OK: 211 MiB in 51 packages 16:28:31 Removing intermediate container 4fba15c15817 16:28:31 ---> e3196c0a58e9 16:28:31 Step 8/25 : COPY go.mod vendor* ./ 16:28:31 ---> 252f3fbb1342 16:28:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:28:31 ---> Running in 1fcd5896023d 16:28:32 Removing intermediate container 1fcd5896023d 16:28:32 ---> df7044c42f28 16:28:32 Step 10/25 : COPY . . 16:28:32 ---> 2f2cdf3fa6e1 16:28:32 Step 11/25 : RUN ${MAKE} 16:28:33 ---> Running in 539c0d1a80ac 16:28:33 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.40" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:28:34 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7820 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 16:28:34 Running in /w/workspace/device-sdk-go/115 [Pipeline] { [Pipeline] checkout 16:28:34 The recommended git tool is: git 16:28:39 using credential edgex-jenkins-ssh 16:28:39 Cloning the remote Git repository 16:28:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:28:39 > git init /w/workspace/device-sdk-go/115 # timeout=10 16:28:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:28:40 > git --version # timeout=10 16:28:40 > git --version # 'git version 2.25.1' 16:28:40 using GIT_SSH to set credentials SSH Credentials for GitHub 16:28:40 Verifying host key using known hosts file 16:28:40 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. 16:28:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:28:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:28:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:28:42 Avoid second fetch 16:28:42 Checking out Revision 67986f5e85a843a874e3bc4d59755e1036e07d38 (main) 16:28:43 Commit message: "Merge pull request #1236 from hahattan/issue-1235" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:28:42 > git config core.sparsecheckout # timeout=10 16:28:42 > git checkout -f 67986f5e85a843a874e3bc4d59755e1036e07d38 # timeout=10 16:28:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:28:44 % Total % Received % Xferd Average Speed Time Time Time Current 16:28:44 Dload Upload Total Spent Left Speed 16:28:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 95469 0 --:--:-- --:--:-- --:--:-- 95469 [Pipeline] sh 16:28:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:28:45 + sudo tee /etc/docker/daemon.new 16:28:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:28:45 { 16:28:45 "registry-mirrors": [ 16:28:45 "https://nexus3.edgexfoundry.org:10001" 16:28:45 ], 16:28:45 "bip": "10.250.0.254/24", 16:28:45 "hosts": [ 16:28:45 "tcp://0.0.0.0:5555", 16:28:45 "unix:///var/run/docker.sock" 16:28:45 ], 16:28:45 "mtu": 1458, 16:28:45 "selinux-enabled": true, 16:28:45 "seccomp-profile": "/etc/docker/seccomp.json" 16:28:45 } [Pipeline] sh 16:28:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:28:45 + sudo service docker restart 16:28:51 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:28:57 Removing intermediate container 539c0d1a80ac 16:28:57 ---> b09cd22dfa5c 16:28:57 Step 12/25 : FROM alpine:3.16 16:28:57 3.16: Pulling from library/alpine 16:28:57 213ec9aee27d: Already exists 16:28:57 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:28:57 Status: Downloaded newer image for alpine:3.16 16:28:57 ---> 9c6f07244728 16:28:57 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:28:57 ---> Running in 757df7a92494 16:28:57 Removing intermediate container 757df7a92494 16:28:57 ---> b8e14fd56498 16:28:57 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:28:57 ---> Running in 5789ad90b3a5 16:28:58 Removing intermediate container 5789ad90b3a5 16:28:58 ---> 843892286af7 16:28:58 Step 15/25 : RUN apk add --update --no-cache zeromq 16:28:58 ---> Running in ef2d252d513c 16:28:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:28:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:28:59 (1/5) Installing libgcc (11.2.1_git20220219-r2) 16:28:59 (2/5) Installing libsodium (1.0.18-r0) 16:29:00 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 16:29:00 (4/5) Installing libzmq (4.3.4-r0) 16:29:00 (5/5) Installing zeromq (4.3.4-r0) 16:29:00 Executing busybox-1.35.0-r17.trigger 16:29:00 OK: 8 MiB in 19 packages 16:29:00 Removing intermediate container ef2d252d513c 16:29:00 ---> 0cb3f6839b97 16:29:00 Step 16/25 : WORKDIR / 16:29:00 ---> Running in 8c65109ad2f4 16:29:00 Removing intermediate container 8c65109ad2f4 16:29:00 ---> 6156fc173bc4 16:29:00 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:29:00 ---> 69aca3ac51f3 16:29:00 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:29:02 ---> f1c12d319f5d 16:29:02 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:29:02 ---> 46d70e92a152 16:29:02 Step 20/25 : EXPOSE 59999 16:29:02 ---> Running in 6d688fa74b18 16:29:02 Removing intermediate container 6d688fa74b18 16:29:02 ---> 59b55427b1c7 16:29:02 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:29:02 ---> Running in f5ff13046eda 16:29:02 Removing intermediate container f5ff13046eda 16:29:02 ---> dc4f99175a34 16:29:02 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:29:02 ---> Running in 077b06d6b191 16:29:02 Removing intermediate container 077b06d6b191 16:29:02 ---> a1e55c7a0cc1 16:29:02 Step 23/25 : LABEL arch=amd64 16:29:02 ---> Running in 8ab75e9f3dcd 16:29:02 Removing intermediate container 8ab75e9f3dcd 16:29:02 ---> 44c56a857e58 16:29:02 Step 24/25 : LABEL git_sha=67986f5e85a843a874e3bc4d59755e1036e07d38 16:29:02 ---> Running in d5afb5f79fa6 16:29:02 Removing intermediate container d5afb5f79fa6 16:29:02 ---> 0db55de3bc61 16:29:02 Step 25/25 : LABEL version=2.3.0-dev.40 16:29:02 ---> Running in 9083b8d505e4 16:29:02 Removing intermediate container 9083b8d505e4 16:29:02 ---> ef9b14a10120 16:29:02 [Warning] One or more build-args [ARCH] were not consumed 16:29:02 Successfully built ef9b14a10120 16:29:02 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 16:29:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:29:03 16:29:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:29:03 latest: Pulling from edgex-lftools-log-publisher 16:29:03 5eb5b503b376: Pulling fs layer 16:29:03 5c69ac0246d0: Pulling fs layer 16:29:03 ec43610c2a17: Pulling fs layer 16:29:03 3a2ae6a8a46f: Pulling fs layer 16:29:03 33b1e0a273af: Pulling fs layer 16:29:03 5d3b04190fa2: Pulling fs layer 16:29:03 2f39f015ded8: Pulling fs layer 16:29:03 3a2ae6a8a46f: Waiting 16:29:03 2f39f015ded8: Waiting 16:29:03 33b1e0a273af: Waiting 16:29:03 5d3b04190fa2: Waiting 16:29:03 5c69ac0246d0: Download complete 16:29:03 3a2ae6a8a46f: Download complete 16:29:03 33b1e0a273af: Verifying Checksum 16:29:03 33b1e0a273af: Download complete 16:29:03 5d3b04190fa2: Verifying Checksum 16:29:03 5d3b04190fa2: Download complete 16:29:03 ec43610c2a17: Verifying Checksum 16:29:03 ec43610c2a17: Download complete 16:29:03 5eb5b503b376: Verifying Checksum 16:29:03 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:29:03 provisioning config files... 16:29:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/115@tmp/config11325598202409456134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:04 ---> docker-login.sh 16:29:04 nexus3.edgexfoundry.org:10001 16:29:04 2f39f015ded8: Download complete 16:29:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:04 Configure a credential helper to remove this warning. See 16:29:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:04 16:29:04 Login Succeeded 16:29:04 nexus3.edgexfoundry.org:10002 16:29:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:05 5eb5b503b376: Pull complete 16:29:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:05 Configure a credential helper to remove this warning. See 16:29:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:05 16:29:05 Login Succeeded 16:29:05 nexus3.edgexfoundry.org:10003 16:29:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:05 5c69ac0246d0: Pull complete 16:29:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:05 Configure a credential helper to remove this warning. See 16:29:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:05 16:29:05 Login Succeeded 16:29:05 nexus3.edgexfoundry.org:10004 16:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:06 Configure a credential helper to remove this warning. See 16:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:06 16:29:06 Login Succeeded 16:29:06 docker.io 16:29:06 ec43610c2a17: Pull complete 16:29:06 3a2ae6a8a46f: Pull complete 16:29:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:06 33b1e0a273af: Pull complete 16:29:06 5d3b04190fa2: Pull complete 16:29:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:06 Configure a credential helper to remove this warning. See 16:29:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:06 16:29:06 Login Succeeded 16:29:06 ---> docker-login.sh ends [Pipeline] } 16:29:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:29:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:07 ========================================================= 16:29:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:29:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:07 + 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 . 16:29:07 Sending build context to Docker daemon 5.363MB 16:29:07 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 16:29:07 Step 2/11 : FROM ${BASE} AS builder 16:29:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:29:07 9b18e9b68314: Pulling fs layer 16:29:07 d32db5db7311: Pulling fs layer 16:29:07 d0c4b47475fc: Pulling fs layer 16:29:07 5831b945b038: Pulling fs layer 16:29:07 86bbec2aaacd: Pulling fs layer 16:29:07 e10730c5d714: Pulling fs layer 16:29:07 5dd5c2283517: Pulling fs layer 16:29:07 d5ac0230b979: Pulling fs layer 16:29:07 e10730c5d714: Waiting 16:29:07 5dd5c2283517: Waiting 16:29:07 d5ac0230b979: Waiting 16:29:07 5831b945b038: Waiting 16:29:07 86bbec2aaacd: Waiting 16:29:07 d0c4b47475fc: Verifying Checksum 16:29:07 d0c4b47475fc: Download complete 16:29:07 d32db5db7311: Verifying Checksum 16:29:07 d32db5db7311: Download complete 16:29:07 86bbec2aaacd: Download complete 16:29:07 e10730c5d714: Verifying Checksum 16:29:07 e10730c5d714: Download complete 16:29:07 9b18e9b68314: Verifying Checksum 16:29:07 9b18e9b68314: Download complete 16:29:10 9b18e9b68314: Pull complete 16:29:10 d5ac0230b979: Verifying Checksum 16:29:10 d5ac0230b979: Download complete 16:29:10 5dd5c2283517: Verifying Checksum 16:29:10 d32db5db7311: Pull complete 16:29:10 d0c4b47475fc: Pull complete 16:29:11 5831b945b038: Verifying Checksum 16:29:11 5831b945b038: Download complete 16:29:11 2f39f015ded8: Pull complete 16:29:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:29:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:29:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:11 prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container 16:29:11 $ 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 16:29:15 $ docker top 28cdf1f5f025ce228cbd10ccfb00ed4934d66f0c59836ce49d87982daa9af44c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:16 ---> job-cost.sh 16:29:16 lf-activate-venv: SKIPPING 16:29:16 INFO: No Stack... 16:29:16 INFO: Retrieving Pricing Info for: v3-standard-8 16:29:16 INFO: Archiving Costs [Pipeline] sh 16:29:17 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 16:29:17 + cut -d, -f6 [Pipeline] lock 16:29:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] 16:29:17 Resource [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] did not exist. Created. 16:29:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:29:17 + echo total: 0.2199999988079071 [Pipeline] stash 16:29:17 Stashed 1 file(s) [Pipeline] } 16:29:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] [Pipeline] // lock [Pipeline] } 16:29:17 $ docker stop --time=1 28cdf1f5f025ce228cbd10ccfb00ed4934d66f0c59836ce49d87982daa9af44c 16:29:18 $ docker rm -f 28cdf1f5f025ce228cbd10ccfb00ed4934d66f0c59836ce49d87982daa9af44c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:29:23 5831b945b038: Pull complete 16:29:23 86bbec2aaacd: Pull complete 16:29:23 e10730c5d714: Pull complete 16:29:30 5dd5c2283517: Pull complete 16:29:31 d5ac0230b979: Pull complete 16:29:31 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 16:29:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:29:31 ---> 59b3b1a385d4 16:29:31 Step 3/11 : ARG MAKE=make build 16:29:33 ---> Running in 0b5cd15969d1 16:29:33 Removing intermediate container 0b5cd15969d1 16:29:33 ---> 424bbe765aae 16:29:33 Step 4/11 : WORKDIR /device-sdk-go 16:29:33 ---> Running in 04b59d689b1f 16:29:33 Removing intermediate container 04b59d689b1f 16:29:33 ---> 31f3ed46dc05 16:29:33 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:29:34 ---> Running in d6ecf9bbc549 16:29:34 Removing intermediate container d6ecf9bbc549 16:29:34 ---> 1d33bc44517a 16:29:34 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:29:34 ---> Running in e58dbf8f4d66 16:29:36 Removing intermediate container e58dbf8f4d66 16:29:36 ---> 133fcfef90ba 16:29:36 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:29:36 ---> Running in f330419e8a8b 16:29:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:29:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:29:38 OK: 221 MiB in 51 packages 16:29:39 Removing intermediate container f330419e8a8b 16:29:39 ---> 754f6dafc525 16:29:39 Step 8/11 : COPY go.mod vendor* ./ 16:29:40 ---> b0c00397d814 16:29:40 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:29:40 ---> Running in 66514c08fd5a 16:30:36 Removing intermediate container 66514c08fd5a 16:30:36 ---> 9b2d7f797c7a 16:30:36 Step 10/11 : COPY . . 16:30:36 ---> ee79a89b0dbd 16:30:36 Step 11/11 : RUN ${MAKE} 16:30:36 ---> Running in a234a96d74d2 16:30:36 noop 16:30:36 Removing intermediate container a234a96d74d2 16:30:36 ---> 76a6326e0cde 16:30:36 Successfully built 76a6326e0cde 16:30:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:37 + docker inspect -f . ci-base-image-arm64 16:30:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:37 prd-ubuntu20.04-docker-arm64-4c-16g-7820 does not seem to be running inside a container 16:30:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/115 -v /w/workspace/device-sdk-go/115:/w/workspace/device-sdk-go/115:rw,z -v /w/workspace/device-sdk-go/115@tmp:/w/workspace/device-sdk-go/115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:30:38 $ docker top 8d0daf4653244654afc3cefa73f33fffc24924ff221e5a164eed072063315732 -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:39 + go version 16:30:39 go version go1.18.7 linux/arm64 [Pipeline] } 16:30:39 $ docker stop --time=1 8d0daf4653244654afc3cefa73f33fffc24924ff221e5a164eed072063315732 16:30:41 $ docker rm -f 8d0daf4653244654afc3cefa73f33fffc24924ff221e5a164eed072063315732 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:30:41 + docker inspect -f . ci-base-image-arm64 16:30:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:30:41 prd-ubuntu20.04-docker-arm64-4c-16g-7820 does not seem to be running inside a container 16:30:41 $ 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/115 -v /w/workspace/device-sdk-go/115:/w/workspace/device-sdk-go/115:rw,z -v /w/workspace/device-sdk-go/115@tmp:/w/workspace/device-sdk-go/115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:30:42 $ docker top 9c9e51d21523895926690f981c9c4ab1bc6baec4db26fa0aebd4479075403316 -eo pid,comm [Pipeline] { [Pipeline] sh 16:30:43 + git config --global --add safe.directory /w/workspace/device-sdk-go/115 [Pipeline] fileExists [Pipeline] sh 16:30:43 + make test 16:30:43 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:31:15 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 16:33:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:33:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.267s coverage: 27.6% of statements 16:33:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.394s coverage: 78.9% of statements 16:33:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 16:33:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.600s coverage: 60.0% of statements 16:33:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:33:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:33:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.845s coverage: 54.4% of statements 16:33:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:33:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 16:33:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:33:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:33:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.621s coverage: 65.1% of statements 16:33:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 16:33:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:33:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.284s coverage: 89.2% of statements 16:33:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:33:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.233s coverage: 4.7% of statements 16:33:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:33:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:33:24 GO111MODULE=on go vet ./... 16:35:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:35:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:35:01 ./bin/test-attribution-txt.sh 16:35:01 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 16:35:01 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:35:01 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:35:01 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 16:35:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:35:01 $ docker stop --time=1 9c9e51d21523895926690f981c9c4ab1bc6baec4db26fa0aebd4479075403316 16:35:03 $ docker rm -f 9c9e51d21523895926690f981c9c4ab1bc6baec4db26fa0aebd4479075403316 [Pipeline] // withDockerContainer [Pipeline] sh 16:35:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:35:04 Warning: overwriting stash ‘coverage-report’ 16:35:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:35:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:35:05 + ls -al . 16:35:05 total 272 16:35:05 drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 16:30 . 16:35:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 16:28 .. 16:35:05 -rw-rw-r-- 1 jenkins jenkins 140 Oct 13 16:28 .dockerignore 16:35:05 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 16:28 .git 16:35:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 16:28 .github 16:35:05 -rw-rw-r-- 1 jenkins jenkins 131 Oct 13 16:28 .gitignore 16:35:05 -rw-rw-r-- 1 jenkins jenkins 42 Oct 13 16:28 .golangci.yml 16:35:05 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 13 16:28 CHANGELOG.md 16:35:05 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 16:28 GOVERNANCE.md 16:35:05 -rw-rw-r-- 1 jenkins jenkins 880 Oct 13 16:28 Jenkinsfile 16:35:05 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 13 16:28 LICENSE 16:35:05 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 13 16:28 Makefile 16:35:05 -rw-rw-r-- 1 jenkins jenkins 619 Oct 13 16:28 OWNERS.md 16:35:05 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 13 16:28 README.md 16:35:05 -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 16:26 VERSION 16:35:05 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 16:28 bin 16:35:05 -rw-r--r-- 1 jenkins jenkins 101009 Oct 13 16:33 coverage.out 16:35:05 drwxrwxr-x 5 jenkins jenkins 4096 Oct 13 16:28 example 16:35:05 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 13 16:28 go.mod 16:35:05 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 13 16:28 go.sum 16:35:05 drwxrwxr-x 14 jenkins jenkins 4096 Oct 13 16:28 internal 16:35:05 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 16:28 openapi 16:35:05 drwxrwxr-x 6 jenkins jenkins 4096 Oct 13 16:28 pkg 16:35:05 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 16:28 snap 16:35:05 -rw-rw-r-- 1 jenkins jenkins 222 Oct 13 16:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:06 + 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=67986f5e85a843a874e3bc4d59755e1036e07d38 --label arch=arm64 --label version=2.3.0-dev.40 . 16:35:06 Sending build context to Docker daemon 5.465MB 16:35:06 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:35:06 Step 2/25 : FROM ${BASE} AS builder 16:35:06 ---> 76a6326e0cde 16:35:06 Step 3/25 : ARG MAKE=make build 16:35:06 ---> Running in 1563f0850787 16:35:06 Removing intermediate container 1563f0850787 16:35:06 ---> d09d73c34213 16:35:06 Step 4/25 : WORKDIR /device-sdk-go 16:35:06 ---> Running in aba45c18b286 16:35:07 Removing intermediate container aba45c18b286 16:35:07 ---> 1eb58cfb9bdb 16:35:07 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:35:07 ---> Running in 0241f85e97a7 16:35:07 Removing intermediate container 0241f85e97a7 16:35:07 ---> 7a031597571a 16:35:07 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:35:07 ---> Running in da88f4436bdd 16:35:09 Removing intermediate container da88f4436bdd 16:35:09 ---> 156776e25194 16:35:09 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:35:09 ---> Running in 7fd36241013c 16:35:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:35:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:35:12 OK: 221 MiB in 51 packages 16:35:12 Removing intermediate container 7fd36241013c 16:35:12 ---> ad957c742d5e 16:35:12 Step 8/25 : COPY go.mod vendor* ./ 16:35:13 ---> 0aeb0d015058 16:35:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:35:13 ---> Running in af7ceebcedc8 16:35:15 Removing intermediate container af7ceebcedc8 16:35:15 ---> afd2a8d13de4 16:35:15 Step 10/25 : COPY . . 16:35:16 ---> d832b7ecfe71 16:35:16 Step 11/25 : RUN ${MAKE} 16:35:16 ---> Running in 0d652ae672d6 16:35:17 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.40" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:37:23 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:37:23 Removing intermediate container 0d652ae672d6 16:37:23 ---> 45c8dbf1c345 16:37:23 Step 12/25 : FROM alpine:3.16 16:37:23 3.16: Pulling from library/alpine 16:37:23 9b18e9b68314: Already exists 16:37:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:37:23 Status: Downloaded newer image for alpine:3.16 16:37:23 ---> a6215f271958 16:37:23 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:37:23 ---> Running in ea4d698fa821 16:37:23 Removing intermediate container ea4d698fa821 16:37:23 ---> cad5088fc06c 16:37:23 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:37:23 ---> Running in 8867c37e76d2 16:37:25 Removing intermediate container 8867c37e76d2 16:37:25 ---> 1e60c42196fe 16:37:25 Step 15/25 : RUN apk add --update --no-cache zeromq 16:37:25 ---> Running in 660b5c826def 16:37:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:37:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:37:28 (1/5) Installing libgcc (11.2.1_git20220219-r2) 16:37:28 (2/5) Installing libsodium (1.0.18-r0) 16:37:28 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 16:37:28 (4/5) Installing libzmq (4.3.4-r0) 16:37:28 (5/5) Installing zeromq (4.3.4-r0) 16:37:28 Executing busybox-1.35.0-r17.trigger 16:37:28 OK: 8 MiB in 19 packages 16:37:29 Removing intermediate container 660b5c826def 16:37:29 ---> df1deb399f95 16:37:29 Step 16/25 : WORKDIR / 16:37:29 ---> Running in 16394f2be278 16:37:30 Removing intermediate container 16394f2be278 16:37:30 ---> ab769de60281 16:37:30 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:37:31 ---> 87fa98fcc19e 16:37:31 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:37:32 ---> 55af35f35bfb 16:37:32 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:37:33 ---> 61dd7005bad8 16:37:33 Step 20/25 : EXPOSE 59999 16:37:33 ---> Running in 9345138ea8d3 16:37:33 Removing intermediate container 9345138ea8d3 16:37:33 ---> 9abdd3060245 16:37:33 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:37:33 ---> Running in d7146c08c8dc 16:37:33 Removing intermediate container d7146c08c8dc 16:37:33 ---> 8b4b805c6934 16:37:33 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:37:34 ---> Running in df560f767d08 16:37:34 Removing intermediate container df560f767d08 16:37:34 ---> 5e92c00614e6 16:37:34 Step 23/25 : LABEL arch=arm64 16:37:34 ---> Running in af92ae63625c 16:37:34 Removing intermediate container af92ae63625c 16:37:34 ---> 624354c995ee 16:37:34 Step 24/25 : LABEL git_sha=67986f5e85a843a874e3bc4d59755e1036e07d38 16:37:34 ---> Running in 08f2864a8c6e 16:37:35 Removing intermediate container 08f2864a8c6e 16:37:35 ---> d9030dbadf8d 16:37:35 Step 25/25 : LABEL version=2.3.0-dev.40 16:37:35 ---> Running in c6d327f7d5d8 16:37:35 Removing intermediate container c6d327f7d5d8 16:37:35 ---> 2bc72ac7a9d3 16:37:35 [Warning] One or more build-args [ARCH] were not consumed 16:37:35 Successfully built 2bc72ac7a9d3 16:37:35 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 16:37:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:37:35 16:37:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:37:36 arm64: Pulling from edgex-lftools-log-publisher 16:37:36 8998bd30e6a1: Pulling fs layer 16:37:36 04944245beec: Pulling fs layer 16:37:36 699f458cf7ca: Pulling fs layer 16:37:36 765212b225bb: Pulling fs layer 16:37:36 f23df028b6ca: Pulling fs layer 16:37:36 d65c8cfc05b1: Pulling fs layer 16:37:36 2437ff75d9bd: Pulling fs layer 16:37:36 765212b225bb: Waiting 16:37:36 f23df028b6ca: Waiting 16:37:36 2437ff75d9bd: Waiting 16:37:36 04944245beec: Verifying Checksum 16:37:36 04944245beec: Download complete 16:37:36 765212b225bb: Verifying Checksum 16:37:36 765212b225bb: Download complete 16:37:36 f23df028b6ca: Verifying Checksum 16:37:36 f23df028b6ca: Download complete 16:37:36 d65c8cfc05b1: Verifying Checksum 16:37:36 d65c8cfc05b1: Download complete 16:37:36 699f458cf7ca: Verifying Checksum 16:37:36 699f458cf7ca: Download complete 16:37:36 8998bd30e6a1: Verifying Checksum 16:37:36 8998bd30e6a1: Download complete 16:37:38 2437ff75d9bd: Verifying Checksum 16:37:38 2437ff75d9bd: Download complete 16:37:40 8998bd30e6a1: Pull complete 16:37:41 04944245beec: Pull complete 16:37:42 699f458cf7ca: Pull complete 16:37:42 765212b225bb: Pull complete 16:37:43 f23df028b6ca: Pull complete 16:37:43 d65c8cfc05b1: Pull complete 16:37:58 2437ff75d9bd: Pull complete 16:37:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:37:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:37:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:37:58 prd-ubuntu20.04-docker-arm64-4c-16g-7820 does not seem to be running inside a container 16:37:58 $ 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/115 -v /w/workspace/device-sdk-go/115:/w/workspace/device-sdk-go/115:rw,z -v /w/workspace/device-sdk-go/115@tmp:/w/workspace/device-sdk-go/115@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:38:01 $ docker top a31b5ee310936ece612697cae40ad8fff2175e182c13ad0e4962442034d76c55 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:38:02 ---> job-cost.sh 16:38:02 lf-activate-venv: SKIPPING 16:38:02 INFO: No Stack... 16:38:02 INFO: Retrieving Pricing Info for: v3-standard-4 16:38:03 INFO: Archiving Costs [Pipeline] sh 16:38:03 + cut -d, -f6 16:38:03 + cat /w/workspace/device-sdk-go/115/archives/cost.csv [Pipeline] lock 16:38:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] 16:38:04 Resource [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] did not exist. Created. 16:38:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:38:04 /w/workspace/device-sdk-go/115@tmp/durable-6d45dc04/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:38:05 + echo total: 0.10999999940395355 [Pipeline] stash 16:38:05 Warning: overwriting stash ‘stack-cost’ 16:38:05 Stashed 1 file(s) [Pipeline] } 16:38:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-115-stack-cost] [Pipeline] // lock [Pipeline] } 16:38:05 $ docker stop --time=1 a31b5ee310936ece612697cae40ad8fff2175e182c13ad0e4962442034d76c55 16:38:06 $ docker rm -f a31b5ee310936ece612697cae40ad8fff2175e182c13ad0e4962442034d76c55 [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 16:38:07 provisioning config files... 16:38:07 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11642378327205026334tmp [Pipeline] { [Pipeline] sh 16:38:07 + set +x 16:38:07 + bash -s -- 16:38:07 + curl -s https://codecov.io/bash 16:38:07 16:38:07 _____ _ 16:38:07 / ____| | | 16:38:07 | | ___ __| | ___ ___ _____ __ 16:38:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:38:07 | |___| (_) | (_| | __/ (_| (_) \ V / 16:38:07 \_____\___/ \__,_|\___|\___\___/ \_/ 16:38:07 Bash-1.0.6 16:38:07 16:38:07 16:38:07 ==> git version 2.25.1 found 16:38:07 ==> 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 16:38:07 Release-Date: 2020-01-08 16:38:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:38:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:38:07 ==> Jenkins CI detected. 16:38:07 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 16:38:07 project root: . 16:38:07 --> token set from env 16:38:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:38:07 ==> Running gcov in . (disable via -X gcov) 16:38:07 ==> Python coveragepy not found 16:38:07 ==> Searching for coverage reports in: 16:38:07 + . 16:38:07 -> Found 1 reports 16:38:07 ==> Detecting git/mercurial file structure 16:38:07 ==> Reading reports 16:38:07 + ./coverage.out bytes=101009 16:38:07 ==> Appending adjustments 16:38:07 https://docs.codecov.io/docs/fixing-reports 16:38:08 + Found adjustments 16:38:08 ==> Gzipping contents 16:38:08 16K /tmp/codecov.t6rGKk.gz 16:38:08 ==> Uploading reports 16:38:08 url: https://codecov.io 16:38:08 query: branch=main&commit=67986f5e85a843a874e3bc4d59755e1036e07d38&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:38:08 -> Pinging Codecov 16:38:08 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=67986f5e85a843a874e3bc4d59755e1036e07d38&build=115&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F115%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:38:08 -> Uploading to 16:38:08 https://storage.googleapis.com/codecov/v4/raw/2022-10-13/7E55EF52A471D76F132DFD9A03CDDE97/67986f5e85a843a874e3bc4d59755e1036e07d38/9062cca0-08f5-4ad5-b3b0-d30c4c9327c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221013T163808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1c3077bca6b80db90051107898132cc515d85b408443018ed8809203764a877e 16:38:08 % Total % Received % Xferd Average Speed Time Time Time Current 16:38:08 Dload Upload Total Spent Left Speed 16:38:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14611 0 0 100 14611 0 57523 --:--:-- --:--:-- --:--:-- 57523 16:38:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] } 16:38:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:38:08 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:38:08 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:38:09 16:38:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:38:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:38:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:38:09 df9b9388f04a: Pulling fs layer 16:38:09 52dc419b0ee2: Pulling fs layer 16:38:09 25bc292e5bac: Pulling fs layer 16:38:09 114826534d7a: Pulling fs layer 16:38:09 4657fd5d0bcf: Pulling fs layer 16:38:09 6ad1cebc031e: Pulling fs layer 16:38:09 8a3aa393b2d8: Pulling fs layer 16:38:09 114826534d7a: Waiting 16:38:09 4657fd5d0bcf: Waiting 16:38:09 6ad1cebc031e: Waiting 16:38:09 8a3aa393b2d8: Waiting 16:38:09 25bc292e5bac: Verifying Checksum 16:38:09 25bc292e5bac: Download complete 16:38:09 4657fd5d0bcf: Verifying Checksum 16:38:09 4657fd5d0bcf: Download complete 16:38:09 df9b9388f04a: Verifying Checksum 16:38:09 df9b9388f04a: Download complete 16:38:10 6ad1cebc031e: Verifying Checksum 16:38:10 6ad1cebc031e: Download complete 16:38:10 df9b9388f04a: Pull complete 16:38:10 114826534d7a: Verifying Checksum 16:38:10 114826534d7a: Download complete 16:38:10 52dc419b0ee2: Pull complete 16:38:10 8a3aa393b2d8: Verifying Checksum 16:38:10 8a3aa393b2d8: Download complete 16:38:12 25bc292e5bac: Pull complete 16:38:21 114826534d7a: Pull complete 16:38:21 4657fd5d0bcf: Pull complete 16:38:21 6ad1cebc031e: Pull complete 16:38:25 8a3aa393b2d8: Pull complete 16:38:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:38:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:38:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:38:25 prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container 16:38:25 $ 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 16:38:38 $ docker top 9ce7becb8704fb85f5246591ce28a80632734fd684387d1422e8f97efadd3690 -eo pid,comm [Pipeline] { [Pipeline] echo 16:38:38 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 16:38:38 + set -o pipefail 16:38:38 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 16:38:45 16:38:45 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 16:38:45 16:38:45 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/9939aabd-a99a-413c-a016-31507811912b 16:38:45 16:38:45 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:38:45 16:38:45 16:38:45 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:38:45 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:38:45 More details here: https://snyk.co/ue1NS [Pipeline] } 16:38:45 $ docker stop --time=1 9ce7becb8704fb85f5246591ce28a80632734fd684387d1422e8f97efadd3690 16:39:04 $ docker rm -f 9ce7becb8704fb85f5246591ce28a80632734fd684387d1422e8f97efadd3690 [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 16:39:04 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:39:04 provisioning config files... 16:39:04 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12118937980706284579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:39:05 --> edgex-publish-swagger.sh 16:39:05 === Publish openapi/v2 API === 16:39:05 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 16:39:05 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 16:39:05 % Total % Received % Xferd Average Speed Time Time Time Current 16:39:05 Dload Upload Total Spent Left Speed 16:39:05 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 78178 --:--:-- --:--:-- --:--:-- 78178 100 53552 0 0 100 53552 0 78178 --:--:-- --:--:-- --:--:-- 78064 16:39:05 16:39:05 [Pipeline] } 16:39:05 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 16:39:06 + git log --format=format:%s -1 67986f5e85a843a874e3bc4d59755e1036e07d38 [Pipeline] sh 16:39:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:39:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:39:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:06 prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container 16:39:06 $ 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 16:39:09 $ docker top 6955ac7f54600f6f70296e7ff738223571b4eea3f78a392dfc591b54327cbf59 -eo pid,comm 16:39:09 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:39:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:39:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:39:09 [ssh-agent] Looking for ssh-agent implementation... 16:39:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:39:09 $ docker exec 6955ac7f54600f6f70296e7ff738223571b4eea3f78a392dfc591b54327cbf59 ssh-agent 16:39:10 SSH_AUTH_SOCK=/tmp/ssh-2EYHLErgPegl/agent.13 16:39:10 SSH_AGENT_PID=19 16:39:10 Running ssh-add (command line suppressed) 16:39:10 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_810586112466266746.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_810586112466266746.key) 16:39:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:39:10 + git semver tag 16:39:11 2022-10-13 16:39:10,888 [run_tag] DEBUG tag force:False 16:39:11 2022-10-13 16:39:10,889 [check_head_tag] DEBUG check head tag 16:39:11 2022-10-13 16:39:10,891 [execute] INFO git cat-file --batch-check 16:39:11 2022-10-13 16:39:10,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:39:11 2022-10-13 16:39:10,895 [execute] INFO git cat-file --batch 16:39:11 2022-10-13 16:39:10,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:39:11 2022-10-13 16:39:10,913 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:39:11 2022-10-13 16:39:10,913 [execute] INFO git tag -a v2.3.0-dev.40 -m v2.3.0-dev.40 16:39:11 2022-10-13 16:39:10,914 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.40', '-m', 'v2.3.0-dev.40'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:39:11 2022-10-13 16:39:10,918 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:39:11 2.3.0-dev.40 [Pipeline] } 16:39:11 $ docker exec --env ******** --env ******** 6955ac7f54600f6f70296e7ff738223571b4eea3f78a392dfc591b54327cbf59 ssh-agent -k 16:39:11 unset SSH_AUTH_SOCK; 16:39:11 unset SSH_AGENT_PID; 16:39:11 echo Agent pid 19 killed; 16:39:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:39:11 + git semver [Pipeline] } 16:39:12 $ docker stop --time=1 6955ac7f54600f6f70296e7ff738223571b4eea3f78a392dfc591b54327cbf59 16:39:14 $ docker rm -f 6955ac7f54600f6f70296e7ff738223571b4eea3f78a392dfc591b54327cbf59 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:39:14 16:39:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:39:15 0.23.1-centos7: Pulling from edgex-lftools 16:39:15 ab5ef0e58194: Pulling fs layer 16:39:15 9712f1f96733: Pulling fs layer 16:39:15 63f879dbbcfc: Pulling fs layer 16:39:15 0d9ebad4ef96: Pulling fs layer 16:39:15 e9a5061849ea: Pulling fs layer 16:39:15 d747dcd14b5f: Pulling fs layer 16:39:15 2de7ff778b66: Pulling fs layer 16:39:15 d747dcd14b5f: Waiting 16:39:15 e9a5061849ea: Waiting 16:39:15 2de7ff778b66: Waiting 16:39:15 0d9ebad4ef96: Waiting 16:39:15 9712f1f96733: Verifying Checksum 16:39:15 9712f1f96733: Download complete 16:39:15 63f879dbbcfc: Verifying Checksum 16:39:15 63f879dbbcfc: Download complete 16:39:15 e9a5061849ea: Verifying Checksum 16:39:15 e9a5061849ea: Download complete 16:39:15 d747dcd14b5f: Download complete 16:39:15 0d9ebad4ef96: Download complete 16:39:15 ab5ef0e58194: Verifying Checksum 16:39:15 ab5ef0e58194: Download complete 16:39:15 2de7ff778b66: Verifying Checksum 16:39:15 2de7ff778b66: Download complete 16:39:19 ab5ef0e58194: Pull complete 16:39:19 9712f1f96733: Pull complete 16:39:20 63f879dbbcfc: Pull complete 16:39:24 0d9ebad4ef96: Pull complete 16:39:24 e9a5061849ea: Pull complete 16:39:25 d747dcd14b5f: Pull complete 16:39:27 2de7ff778b66: Pull complete 16:39:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:39:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:39:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:28 prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container 16:39:28 $ 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 16:39:50 $ docker top 6c16127dc973421f38439d0f6880e25a07814a13d6ebb7700593251e91695130 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:39:50 provisioning config files... 16:39:50 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7277008000225715112tmp 16:39:50 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8035985267375278646tmp 16:39:50 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12540810660817088202tmp [Pipeline] { [Pipeline] echo 16:39:50 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:39:50 ---> sigul-configuration.sh 16:39:50 gpg: directory `/root/.gnupg' created 16:39:50 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:39:50 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:39:50 gpg: keyring `/root/.gnupg/secring.gpg' created 16:39:50 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:39:50 gpg: CAST5 encrypted data 16:39:50 gpg: encrypted with 1 passphrase 16:39:50 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:39:50 + mkdir /home/jenkins 16:39:50 + mkdir /home/jenkins/sigul [Pipeline] sh 16:39:51 + 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 16:39:51 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:39:51 ---> sigul-install.sh 16:39:51 Sigul already installed; skipping installation. [Pipeline] sh 16:39:51 + git tag --list 16:39:51 0.7.1 16:39:51 delhi-tag 16:39:51 v1.0.0 16:39:51 v1.1.0 16:39:51 v1.1.1 16:39:51 v1.1.2 16:39:51 v1.2.0 16:39:51 v1.2.1 16:39:51 v1.2.2 16:39:51 v1.2.3 16:39:51 v1.3.0 16:39:51 v1.4.0 16:39:51 v2.0.0 16:39:51 v2.1.0 16:39:51 v2.1.1 16:39:51 v2.1.1-dev.2 16:39:51 v2.1.1-dev.3 16:39:51 v2.2.0 16:39:51 v2.2.1-dev.1 16:39:51 v2.2.1-dev.10 16:39:51 v2.2.1-dev.11 16:39:51 v2.2.1-dev.12 16:39:51 v2.2.1-dev.13 16:39:51 v2.2.1-dev.14 16:39:51 v2.2.1-dev.2 16:39:51 v2.2.1-dev.3 16:39:51 v2.2.1-dev.4 16:39:51 v2.2.1-dev.5 16:39:51 v2.2.1-dev.6 16:39:51 v2.2.1-dev.7 16:39:51 v2.2.1-dev.8 16:39:51 v2.2.1-dev.9 16:39:51 v2.3.0-dev.14 16:39:51 v2.3.0-dev.15 16:39:51 v2.3.0-dev.16 16:39:51 v2.3.0-dev.17 16:39:51 v2.3.0-dev.18 16:39:51 v2.3.0-dev.19 16:39:51 v2.3.0-dev.20 16:39:51 v2.3.0-dev.21 16:39:51 v2.3.0-dev.22 16:39:51 v2.3.0-dev.23 16:39:51 v2.3.0-dev.24 16:39:51 v2.3.0-dev.25 16:39:51 v2.3.0-dev.26 16:39:51 v2.3.0-dev.27 16:39:51 v2.3.0-dev.28 16:39:51 v2.3.0-dev.29 16:39:51 v2.3.0-dev.30 16:39:51 v2.3.0-dev.31 16:39:51 v2.3.0-dev.32 16:39:51 v2.3.0-dev.33 16:39:51 v2.3.0-dev.34 16:39:51 v2.3.0-dev.35 16:39:51 v2.3.0-dev.36 16:39:51 v2.3.0-dev.37 16:39:51 v2.3.0-dev.38 16:39:51 v2.3.0-dev.39 16:39:51 v2.3.0-dev.40 [Pipeline] sh 16:39:52 + lftools sign git-tag v2.3.0-dev.40 16:39:52 Signing Git tag with Sigul... 16:39:52 Signing v2.3.0-dev.40 [Pipeline] echo 16:39:52 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:39:53 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:39:53 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:39:53 $ docker stop --time=1 6c16127dc973421f38439d0f6880e25a07814a13d6ebb7700593251e91695130 16:39:55 $ docker rm -f 6c16127dc973421f38439d0f6880e25a07814a13d6ebb7700593251e91695130 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:39:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:39:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:39:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:56 prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container 16:39:56 $ 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 16:39:58 $ docker top 5bae058a47ae2915bb718a4273607ecac358669ecfb14a90cd0bcc8bc780e7ec -eo pid,comm 16:39:58 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). 16:39:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:39:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:39:58 [ssh-agent] Looking for ssh-agent implementation... 16:39:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:39:58 $ docker exec 5bae058a47ae2915bb718a4273607ecac358669ecfb14a90cd0bcc8bc780e7ec ssh-agent 16:39:58 SSH_AUTH_SOCK=/tmp/ssh-lHFaa5DVlCWk/agent.14 16:39:58 SSH_AGENT_PID=20 16:39:58 Running ssh-add (command line suppressed) 16:39:58 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_598440587911287345.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_598440587911287345.key) 16:39:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:39:58 + git semver bump pre 16:39:59 2022-10-13 16:39:59,506 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:39:59 2022-10-13 16:39:59,506 [bump_version] DEBUG bumping version:2.3.0-dev.40 on axis:pre with prefix:dev 16:39:59 2022-10-13 16:39:59,506 [bump_version] DEBUG bumped version:2.3.0-dev.41 16:39:59 2022-10-13 16:39:59,506 [write_version] DEBUG write version:2.3.0-dev.41 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 16:39:59 2022-10-13 16:39:59,506 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:39:59 2022-10-13 16:39:59,507 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:39:59 2022-10-13 16:39:59,511 [execute] INFO git cat-file --batch-check 16:39:59 2022-10-13 16:39:59,511 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:39:59 2022-10-13 16:39:59,518 [execute] INFO git cat-file --batch 16:39:59 2022-10-13 16:39:59,519 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:39:59 2022-10-13 16:39:59,524 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:39:59 2.3.0-dev.41 [Pipeline] } 16:39:59 $ docker exec --env ******** --env ******** 5bae058a47ae2915bb718a4273607ecac358669ecfb14a90cd0bcc8bc780e7ec ssh-agent -k 16:39:59 unset SSH_AUTH_SOCK; 16:39:59 unset SSH_AGENT_PID; 16:39:59 echo Agent pid 20 killed; 16:39:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:39:59 + git semver [Pipeline] } 16:40:00 $ docker stop --time=1 5bae058a47ae2915bb718a4273607ecac358669ecfb14a90cd0bcc8bc780e7ec 16:40:02 $ docker rm -f 5bae058a47ae2915bb718a4273607ecac358669ecfb14a90cd0bcc8bc780e7ec [Pipeline] // withDockerContainer [Pipeline] sh 16:40:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:40:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:40:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:03 prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container 16:40:03 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:40:06 $ docker top e13fed75556239421571d1f1172b7daf1802c5238dea076659602270840f94fb -eo pid,comm 16:40:06 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). 16:40:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:40:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:40:06 [ssh-agent] Looking for ssh-agent implementation... 16:40:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:40:06 $ docker exec e13fed75556239421571d1f1172b7daf1802c5238dea076659602270840f94fb ssh-agent 16:40:06 SSH_AUTH_SOCK=/tmp/ssh-dxIWg3rhCm5H/agent.13 16:40:06 SSH_AGENT_PID=19 16:40:06 Running ssh-add (command line suppressed) 16:40:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15488347837858506045.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15488347837858506045.key) 16:40:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:40:06 + git semver push 16:40:07 2022-10-13 16:40:07,118 [run_push] DEBUG push 16:40:07 2022-10-13 16:40:07,120 [execute] INFO git cat-file --batch-check 16:40:07 2022-10-13 16:40:07,121 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:40:07 2022-10-13 16:40:07,125 [execute] INFO git rev-list e02b17b8f4f5edecef38c816168078f631f020af -- 16:40:07 2022-10-13 16:40:07,125 [execute] DEBUG Popen(['git', 'rev-list', 'e02b17b8f4f5edecef38c816168078f631f020af', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:40:07 2022-10-13 16:40:07,136 [execute] INFO git fetch -v origin 16:40:07 2022-10-13 16:40:07,136 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:40:07 2022-10-13 16:40:07,726 [run_push] DEBUG no remote changes detected 16:40:07 2022-10-13 16:40:07,727 [execute] INFO git push origin semver 16:40:07 2022-10-13 16:40:07,727 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:40:08 2022-10-13 16:40:08,547 [run_push] DEBUG push all version tags 16:40:08 2022-10-13 16:40:08,548 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:40:08 2022-10-13 16:40:08,549 [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) 16:40:09 2022-10-13 16:40:09,443 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:40:09 2.3.0-dev.41 [Pipeline] } 16:40:09 $ docker exec --env ******** --env ******** e13fed75556239421571d1f1172b7daf1802c5238dea076659602270840f94fb ssh-agent -k 16:40:09 unset SSH_AUTH_SOCK; 16:40:09 unset SSH_AGENT_PID; 16:40:09 echo Agent pid 19 killed; 16:40:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:40:09 + git semver [Pipeline] } 16:40:10 $ docker stop --time=1 e13fed75556239421571d1f1172b7daf1802c5238dea076659602270840f94fb 16:40:14 $ docker rm -f e13fed75556239421571d1f1172b7daf1802c5238dea076659602270840f94fb [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 16:40:15 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 16:40:15 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:40:15 total 16 16:40:15 drwxr-xr-x 3 root root 4096 Oct 13 16:29 . 16:40:15 drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 16:39 .. 16:40:15 drwxr-xr-x 2 root root 4096 Oct 13 16:29 cost 16:40:15 -rw-r--r-- 1 root root 85 Oct 13 16:29 cost.csv 16:40:15 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:40:15 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:40:15 total 16 16:40:15 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 16:29 . 16:40:15 drwxrwxr-x 12 jenkins jenkins 4096 Oct 13 16:39 .. 16:40:15 drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 16:29 cost 16:40:15 -rw-r--r-- 1 jenkins jenkins 85 Oct 13 16:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:40:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:40:16 ---> package-listing.sh 16:40:16 ++ facter osfamily 16:40:16 ++ tr '[:upper:]' '[:lower:]' 16:40:16 + OS_FAMILY=debian 16:40:16 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 16:40:16 + START_PACKAGES=/tmp/packages_start.txt 16:40:16 + END_PACKAGES=/tmp/packages_end.txt 16:40:16 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:40:16 + PACKAGES=/tmp/packages_start.txt 16:40:16 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:40:16 + PACKAGES=/tmp/packages_end.txt 16:40:16 + case "${OS_FAMILY}" in 16:40:16 + dpkg -l 16:40:16 + grep '^ii' 16:40:16 + '[' -f /tmp/packages_start.txt ']' 16:40:16 + '[' -f /tmp/packages_end.txt ']' 16:40:16 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:40:16 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:40:16 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 16:40:16 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 16:40:16 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 16:40:16 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:40:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:40:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:40:17 prd-ubuntu20.04-docker-8c-8g-7819 does not seem to be running inside a container 16:40:17 $ 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 16:40:20 $ docker top aa925fbc497b73c9b574f3ad4abc5169569eb395f3aad63aba019ffd67f620ad -eo pid,comm [Pipeline] { [Pipeline] sh 16:40:20 + touch /tmp/pre-build-complete [Pipeline] sh 16:40:21 + mkdir -p /var/log/sysstat [Pipeline] sh 16:40:21 + ls /var/log/sa-host 16:40:21 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:40:21 provisioning config files... 16:40:21 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13146495457301289314tmp [Pipeline] { [Pipeline] echo 16:40:21 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:40:22 ---> create-netrc.sh [Pipeline] } 16:40:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:40:22 ---> python-tools-install.sh [Pipeline] echo 16:40:22 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:40:22 ---> sudo-logs.sh 16:40:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:40:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:40:23 ---> job-cost.sh 16:40:23 lf-activate-venv: SKIPPING 16:40:23 DEBUG: total: 0.2199999988079071 16:40:23 INFO: Retrieving Stack Cost... 16:40:23 INFO: Retrieving Pricing Info for: v3-standard-8 16:40:23 INFO: Archiving Costs [Pipeline] echo 16:40:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:40:24 ---> logs-deploy.sh 16:40:24 lf-activate-venv: SKIPPING 16:40:24 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/115 16:40:24 INFO: archiving workspace using pattern(s): 16:40:25 Archives upload complete. 16:40:25 INFO: archiving logs to Nexus