Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e412a44eb13141e6797f53827a761c4e91ea34f8 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-ssh9555732640325260158.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh8451533659649046496.key > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14386056996172321280.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh6804313509963138550.key > 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-ssh4330676925733077331.key > 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/v3]] ========================================================= [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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-5800’ Running on prd-ubuntu20.04-docker-8c-8g-5805 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 > 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 e412a44eb13141e6797f53827a761c4e91ea34f8 (main) Commit message: "feat!: replace REST device service callback with System Event (#1319)" > 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 e412a44eb13141e6797f53827a761c4e91ea34f8 # timeout=10 > git rev-list --no-walk 9f4fc55359c9cb479e87cde204f04957ffcda185 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:05:26 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:05:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:05:26 ========================================================= 16:05:26 EdgeX Global Pipelines Version Info 16:05:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:05:26 ------------------- 16:05:26 stable info: 16:05:26 ------------------- 16:05:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:05:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:05:26 Message: update stable to v1.0.244 16:05:27 ------------------- 16:05:27 experimental info: 16:05:27 ------------------- 16:05:27 Commited By: **** collab-it+edgex@linuxfoundation.org 16:05:27 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:05:27 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e412a44eb13141e6797f53827a761c4e91ea34f8 [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e412a44 [Pipeline] echo 16:05:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:05:28 provisioning config files... 16:05:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4374904609351619637tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:28 ---> docker-login.sh 16:05:28 nexus3.edgexfoundry.org:10001 16:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:28 Configure a credential helper to remove this warning. See 16:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:28 16:05:28 Login Succeeded 16:05:28 nexus3.edgexfoundry.org:10002 16:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:28 Configure a credential helper to remove this warning. See 16:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:28 16:05:28 Login Succeeded 16:05:28 nexus3.edgexfoundry.org:10003 16:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:28 Configure a credential helper to remove this warning. See 16:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:28 16:05:28 Login Succeeded 16:05:28 nexus3.edgexfoundry.org:10004 16:05:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:28 Configure a credential helper to remove this warning. See 16:05:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:28 16:05:28 Login Succeeded 16:05:28 docker.io 16:05:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:29 Configure a credential helper to remove this warning. See 16:05:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:29 16:05:29 Login Succeeded 16:05:29 ---> docker-login.sh ends [Pipeline] } 16:05:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:05:29 + git rev-list -1 --merges e412a44eb13141e6797f53827a761c4e91ea34f8~1..e412a44eb13141e6797f53827a761c4e91ea34f8 [Pipeline] echo 16:05:29 -----------> git rev-list -1 --merges e412a44eb13141e6797f53827a761c4e91ea34f8~1..e412a44eb13141e6797f53827a761c4e91ea34f8 e412a44eb13141e6797f53827a761c4e91ea34f8 [false] [Pipeline] sh 16:05:30 + git log --format=format:%s -1 e412a44eb13141e6797f53827a761c4e91ea34f8 [Pipeline] echo 16:05:30 ========================================================= 16:05:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:05:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:05:30 + git log --format=format:%s -1 e412a44eb13141e6797f53827a761c4e91ea34f8 [Pipeline] echo 16:05:30 [semverPrep] GIT_COMMIT: e412a44eb13141e6797f53827a761c4e91ea34f8, Commit Message: feat!: replace REST device service callback with System Event (#1319) [Pipeline] echo 16:05:30 [semverPrep] This is not a build commit. [Pipeline] sh 16:05:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:05:30 + grep -v github /etc/ssh/ssh_known_hosts 16:05:30 + [ -e /tmp/ssh_known_hosts ] 16:05:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:05:30 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:05:30 sudo tee -a /etc/ssh/ssh_known_hosts 16:05:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:05:31 16:05:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:05:31 0.1.4: Pulling from edgex-devops/py-git-semver 16:05:31 b85a868b505f: Pulling fs layer 16:05:31 e2be974225ed: Pulling fs layer 16:05:31 339a4e72a1f5: Pulling fs layer 16:05:31 988bab9f4d93: Pulling fs layer 16:05:31 1469e6f7b9e6: Pulling fs layer 16:05:31 eaf3925da568: Pulling fs layer 16:05:31 bab4dde63d76: Pulling fs layer 16:05:31 bde34c3a00c8: Pulling fs layer 16:05:31 b352a97aabf1: Pulling fs layer 16:05:31 4872d77fe225: Pulling fs layer 16:05:31 988bab9f4d93: Waiting 16:05:31 1469e6f7b9e6: Waiting 16:05:31 eaf3925da568: Waiting 16:05:31 bab4dde63d76: Waiting 16:05:31 bde34c3a00c8: Waiting 16:05:31 b352a97aabf1: Waiting 16:05:31 5851b861e8e6: Pulling fs layer 16:05:31 4872d77fe225: Waiting 16:05:31 5851b861e8e6: Waiting 16:05:31 e2be974225ed: Verifying Checksum 16:05:31 e2be974225ed: Download complete 16:05:31 988bab9f4d93: Verifying Checksum 16:05:31 988bab9f4d93: Download complete 16:05:31 1469e6f7b9e6: Verifying Checksum 16:05:31 1469e6f7b9e6: Download complete 16:05:31 339a4e72a1f5: Verifying Checksum 16:05:31 339a4e72a1f5: Download complete 16:05:31 eaf3925da568: Download complete 16:05:31 bde34c3a00c8: Download complete 16:05:31 b352a97aabf1: Verifying Checksum 16:05:31 b352a97aabf1: Download complete 16:05:31 4872d77fe225: Verifying Checksum 16:05:31 4872d77fe225: Download complete 16:05:31 5851b861e8e6: Download complete 16:05:31 b85a868b505f: Verifying Checksum 16:05:31 b85a868b505f: Download complete 16:05:32 bab4dde63d76: Verifying Checksum 16:05:32 bab4dde63d76: Download complete 16:05:33 b85a868b505f: Pull complete 16:05:33 e2be974225ed: Pull complete 16:05:34 339a4e72a1f5: Pull complete 16:05:34 988bab9f4d93: Pull complete 16:05:34 1469e6f7b9e6: Pull complete 16:05:34 eaf3925da568: Pull complete 16:05:36 bab4dde63d76: Pull complete 16:05:36 bde34c3a00c8: Pull complete 16:05:36 b352a97aabf1: Pull complete 16:05:36 4872d77fe225: Pull complete 16:05:36 5851b861e8e6: Pull complete 16:05:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:05:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:05:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:36 prd-ubuntu20.04-docker-8c-8g-5805 does not seem to be running inside a container 16:05:36 $ 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:05:38 $ docker top 819f596781a8734bd88a44075e289be2fe5ff5364988816ff3cbb9bc4477fd02 -eo pid,comm 16:05:38 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:05:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:05:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:05:38 [ssh-agent] Looking for ssh-agent implementation... 16:05:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:05:38 $ docker exec 819f596781a8734bd88a44075e289be2fe5ff5364988816ff3cbb9bc4477fd02 ssh-agent 16:05:39 SSH_AUTH_SOCK=/tmp/ssh-ADWImqsNvo9T/agent.33 16:05:39 SSH_AGENT_PID=39 16:05:39 Running ssh-add (command line suppressed) 16:05:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13692306200859136156.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13692306200859136156.key) 16:05:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:05:39 + git tag --points-at HEAD [Pipeline] } 16:05:39 $ docker exec --env ******** --env ******** 819f596781a8734bd88a44075e289be2fe5ff5364988816ff3cbb9bc4477fd02 ssh-agent -k 16:05:39 unset SSH_AUTH_SOCK; 16:05:39 unset SSH_AGENT_PID; 16:05:39 echo Agent pid 39 killed; 16:05:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:05:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:05:39 [ssh-agent] Looking for ssh-agent implementation... 16:05:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:05:39 $ docker exec 819f596781a8734bd88a44075e289be2fe5ff5364988816ff3cbb9bc4477fd02 ssh-agent 16:05:39 SSH_AUTH_SOCK=/tmp/ssh-67Wrt12wkTzD/agent.71 16:05:39 SSH_AGENT_PID=77 16:05:39 Running ssh-add (command line suppressed) 16:05:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6221544766167366400.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_6221544766167366400.key) 16:05:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:05:40 + git semver init 16:05:40 2023-02-14 16:05:40,527 [run_init] DEBUG init version:0.0.0 force:False 16:05:40 2023-02-14 16:05:40,528 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:05:40 2023-02-14 16:05:40,529 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:05:40 2023-02-14 16:05:40,529 [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:05:41 2023-02-14 16:05:41,604 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 16:05:41 2023-02-14 16:05:41,605 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 16:05:41 2023-02-14 16:05:41,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:05:41 2023-02-14 16:05:41,605 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:05:41 3.0.0-dev.26 [Pipeline] } 16:05:41 $ docker exec --env ******** --env ******** 819f596781a8734bd88a44075e289be2fe5ff5364988816ff3cbb9bc4477fd02 ssh-agent -k 16:05:42 unset SSH_AUTH_SOCK; 16:05:42 unset SSH_AGENT_PID; 16:05:42 echo Agent pid 77 killed; 16:05:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:05:42 + git semver [Pipeline] } 16:05:42 $ docker stop --time=1 819f596781a8734bd88a44075e289be2fe5ff5364988816ff3cbb9bc4477fd02 16:05:44 $ docker rm -f --volumes 819f596781a8734bd88a44075e289be2fe5ff5364988816ff3cbb9bc4477fd02 [Pipeline] // withDockerContainer [Pipeline] sh 16:05:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:05:44 Stashed 1 file(s) [Pipeline] echo 16:05:44 [edgeXSemver]: initialized semver on version 3.0.0-dev.26 [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:05:44 provisioning config files... 16:05:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3404667789127071968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:45 ---> docker-login.sh 16:05:45 nexus3.edgexfoundry.org:10001 16:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:45 Configure a credential helper to remove this warning. See 16:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:45 16:05:45 Login Succeeded 16:05:45 nexus3.edgexfoundry.org:10002 16:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:45 Configure a credential helper to remove this warning. See 16:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:45 16:05:45 Login Succeeded 16:05:45 nexus3.edgexfoundry.org:10003 16:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:45 Configure a credential helper to remove this warning. See 16:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:45 16:05:45 Login Succeeded 16:05:45 nexus3.edgexfoundry.org:10004 16:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:45 Configure a credential helper to remove this warning. See 16:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:45 16:05:45 Login Succeeded 16:05:45 docker.io 16:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:45 Configure a credential helper to remove this warning. See 16:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:45 16:05:45 Login Succeeded 16:05:45 ---> docker-login.sh ends [Pipeline] } 16:05:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:05:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:05:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:05:45 ========================================================= 16:05:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:05:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:46 + 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:05:46 Sending build context to Docker daemon 10.43MB 16:05:46 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:05:46 Step 2/10 : FROM ${BASE} AS builder 16:05:46 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:05:46 213ec9aee27d: Pulling fs layer 16:05:46 4583459ba037: Pulling fs layer 16:05:46 93c1e223e6f2: Pulling fs layer 16:05:46 53926ce57604: Pulling fs layer 16:05:46 21b2b0c7a3f4: Pulling fs layer 16:05:46 22ff95d597cd: Pulling fs layer 16:05:46 12d6caf4c0d1: Pulling fs layer 16:05:46 96b7cbca73a9: Pulling fs layer 16:05:46 a7acece74701: Pulling fs layer 16:05:46 22ff95d597cd: Waiting 16:05:46 53926ce57604: Waiting 16:05:46 12d6caf4c0d1: Waiting 16:05:46 21b2b0c7a3f4: Waiting 16:05:46 96b7cbca73a9: Waiting 16:05:46 93c1e223e6f2: Verifying Checksum 16:05:46 93c1e223e6f2: Download complete 16:05:46 4583459ba037: Download complete 16:05:46 21b2b0c7a3f4: Download complete 16:05:46 22ff95d597cd: Verifying Checksum 16:05:46 22ff95d597cd: Download complete 16:05:46 213ec9aee27d: Verifying Checksum 16:05:46 213ec9aee27d: Download complete 16:05:46 12d6caf4c0d1: Verifying Checksum 16:05:46 12d6caf4c0d1: Download complete 16:05:46 213ec9aee27d: Pull complete 16:05:46 4583459ba037: Pull complete 16:05:47 93c1e223e6f2: Pull complete 16:05:47 53926ce57604: Verifying Checksum 16:05:47 53926ce57604: Download complete 16:05:47 a7acece74701: Verifying Checksum 16:05:47 a7acece74701: Download complete 16:05:47 96b7cbca73a9: Download complete 16:05:52 53926ce57604: Pull complete 16:05:52 21b2b0c7a3f4: Pull complete 16:05:52 22ff95d597cd: Pull complete 16:05:52 12d6caf4c0d1: Pull complete 16:05:53 96b7cbca73a9: Pull complete 16:05:54 a7acece74701: Pull complete 16:05:54 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:05:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:05:54 ---> db6d94c90886 16:05:54 Step 3/10 : ARG MAKE=make build 16:05:59 ---> Running in b0a7344f8117 16:05:59 Removing intermediate container b0a7344f8117 16:05:59 ---> 6e02ef7c8105 16:05:59 Step 4/10 : WORKDIR /device-sdk-go 16:05:59 ---> Running in 4101b1bf0a45 16:05:59 Removing intermediate container 4101b1bf0a45 16:05:59 ---> 91057e56103d 16:05:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:05:59 ---> Running in 07ad27c5423e 16:05:59 Removing intermediate container 07ad27c5423e 16:05:59 ---> 710fa6b81763 16:05:59 Step 6/10 : RUN apk add --update --no-cache make git 16:05:59 ---> Running in bf99533fa5bb 16:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:05:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:05:59 OK: 211 MiB in 51 packages 16:05:59 Still waiting to schedule task 16:05:59 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5801’ is offline 16:05:59 Removing intermediate container bf99533fa5bb 16:05:59 ---> 095442da9441 16:05:59 Step 7/10 : COPY go.mod vendor* ./ 16:05:59 ---> 52cec951fcf5 16:05:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:06:00 ---> Running in 14b68da5aaa9 16:06:46 Removing intermediate container 14b68da5aaa9 16:06:46 ---> d00d64d9c7ad 16:06:46 Step 9/10 : COPY . . 16:06:46 ---> 860fe3e18929 16:06:46 Step 10/10 : RUN ${MAKE} 16:06:46 ---> Running in 6185294e8c6d 16:06:46 noop 16:06:46 Removing intermediate container 6185294e8c6d 16:06:46 ---> 37c8b8ec23e3 16:06:46 Successfully built 37c8b8ec23e3 16:06:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:47 + docker inspect -f . ci-base-image-x86_64 16:06:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:47 prd-ubuntu20.04-docker-8c-8g-5805 does not seem to be running inside a container 16:06:47 $ 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:06:47 $ docker top 6f82abd10a51fcfcb32215aa1f503cc1e74d00d84363a49e9cb87936cb32632e -eo pid,comm [Pipeline] { [Pipeline] sh 16:06:48 + go version 16:06:48 go version go1.18.7 linux/amd64 [Pipeline] } 16:06:48 $ docker stop --time=1 6f82abd10a51fcfcb32215aa1f503cc1e74d00d84363a49e9cb87936cb32632e 16:06:49 $ docker rm -f --volumes 6f82abd10a51fcfcb32215aa1f503cc1e74d00d84363a49e9cb87936cb32632e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:49 + docker inspect -f . ci-base-image-x86_64 16:06:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:49 prd-ubuntu20.04-docker-8c-8g-5805 does not seem to be running inside a container 16:06:49 $ 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:06:50 $ docker top 3e4415e6a761ce1b8d3bcec727f612fbe02aee39f06e62c777a13d75a73b5899 -eo pid,comm [Pipeline] { [Pipeline] sh 16:06:50 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 16:06:50 + make test 16:06:50 go test -race -coverprofile=coverage.out ./... 16:06:57 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:07:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.090s coverage: 27.6% of statements 16:07:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.078s coverage: 78.9% of statements 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 16:07:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.117s coverage: 78.1% of statements 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:07:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 77.0% of statements 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 16:07:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.099s coverage: 65.2% of statements 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:07:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.825s coverage: 89.2% of statements 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 16:07:12 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.069s coverage: 4.7% of statements 16:07:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:07:30 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:07:30 GO111MODULE=on go vet ./... 16:07:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:07:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:07:32 ./bin/test-attribution-txt.sh [Pipeline] echo 16:07:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:07:33 $ docker stop --time=1 3e4415e6a761ce1b8d3bcec727f612fbe02aee39f06e62c777a13d75a73b5899 16:07:37 $ docker rm -f --volumes 3e4415e6a761ce1b8d3bcec727f612fbe02aee39f06e62c777a13d75a73b5899 [Pipeline] // withDockerContainer [Pipeline] sh 16:07:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:07:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:07:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:07:38 + ls -al . 16:07:38 total 272 16:07:38 drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 16:06 . 16:07:38 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 16:05 .. 16:07:38 -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 16:05 .dockerignore 16:07:38 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 16:07 .git 16:07:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 16:05 .github 16:07:38 -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 16:05 .gitignore 16:07:38 -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 16:05 .golangci.yml 16:07:38 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 16:05 .semver 16:07:38 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 16:05 CHANGELOG.md 16:07:38 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 16:05 GOVERNANCE.md 16:07:38 -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 16:05 Jenkinsfile 16:07:38 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 16:05 LICENSE 16:07:38 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 16:05 Makefile 16:07:38 -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 16:05 OWNERS.md 16:07:38 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 16:05 README.md 16:07:38 -rw-rw-r-- 1 jenkins jenkins 12 Feb 14 16:05 VERSION 16:07:38 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 16:05 bin 16:07:38 -rw-r--r-- 1 jenkins jenkins 98701 Feb 14 16:07 coverage.out 16:07:38 drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 16:05 example 16:07:38 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 16:05 go.mod 16:07:38 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 16:05 go.sum 16:07:38 drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 16:05 internal 16:07:38 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 16:05 openapi 16:07:38 drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 16:05 pkg 16:07:38 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 16:05 snap 16:07:38 -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 16:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:39 + 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=e412a44eb13141e6797f53827a761c4e91ea34f8 --label arch=amd64 --label version=3.0.0-dev.26 . 16:07:39 Sending build context to Docker daemon 10.53MB 16:07:39 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 16:07:39 Step 2/23 : FROM ${BASE} AS builder 16:07:39 ---> 37c8b8ec23e3 16:07:39 Step 3/23 : ARG MAKE=make build 16:07:39 ---> Running in 04cba2f688b0 16:07:40 Removing intermediate container 04cba2f688b0 16:07:40 ---> 8c18e98a9838 16:07:40 Step 4/23 : WORKDIR /device-sdk-go 16:07:40 ---> Running in 06f14f9985f8 16:07:40 Removing intermediate container 06f14f9985f8 16:07:40 ---> 1b12d49c727f 16:07:40 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:07:40 ---> Running in 0981e9d6d445 16:07:40 Removing intermediate container 0981e9d6d445 16:07:40 ---> 267f6eda0894 16:07:40 Step 6/23 : RUN apk add --update --no-cache make git 16:07:40 ---> Running in 20826beab00f 16:07:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:07:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:07:41 OK: 211 MiB in 51 packages 16:07:41 Removing intermediate container 20826beab00f 16:07:41 ---> 706942ad1fff 16:07:41 Step 7/23 : COPY go.mod vendor* ./ 16:07:41 ---> 84de3a198732 16:07:41 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:07:41 ---> Running in b37df5ac93e0 16:07:42 Removing intermediate container b37df5ac93e0 16:07:42 ---> 00c645d6630c 16:07:42 Step 9/23 : COPY . . 16:07:43 ---> a719ca473acc 16:07:43 Step 10/23 : RUN ${MAKE} 16:07:43 ---> Running in b04ba905fd29 16:07:43 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.26" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:08:05 Removing intermediate container b04ba905fd29 16:08:05 ---> 307a70b54fde 16:08:05 Step 11/23 : FROM alpine:3.16 16:08:05 3.16: Pulling from library/alpine 16:08:05 ef5531b6e74e: Pulling fs layer 16:08:05 ef5531b6e74e: Download complete 16:08:05 ef5531b6e74e: Pull complete 16:08:05 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 16:08:05 Status: Downloaded newer image for alpine:3.16 16:08:05 ---> dfd21b5a31f5 16:08:05 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:08:05 ---> Running in b01a9f8f4d6a 16:08:05 Removing intermediate container b01a9f8f4d6a 16:08:05 ---> d679fae9a41a 16:08:05 Step 13/23 : RUN apk add --update --no-cache 16:08:06 ---> Running in de0243949bed 16:08:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:08:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:08:06 OK: 6 MiB in 14 packages 16:08:07 Removing intermediate container de0243949bed 16:08:07 ---> 219045d2d207 16:08:07 Step 14/23 : WORKDIR / 16:08:07 ---> Running in 7fe642eccd00 16:08:07 Removing intermediate container 7fe642eccd00 16:08:07 ---> 04cd95e52f7f 16:08:07 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:08:07 ---> ff47466823d7 16:08:07 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:08:08 ---> c0577396dbb8 16:08:08 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:08:08 ---> a12182cbdb0c 16:08:08 Step 18/23 : EXPOSE 59999 16:08:08 ---> Running in a51ccec70986 16:08:08 Removing intermediate container a51ccec70986 16:08:08 ---> 9bb905bca8ca 16:08:08 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:08:08 ---> Running in 9d4da8a469cd 16:08:08 Removing intermediate container 9d4da8a469cd 16:08:08 ---> fc48b4eb4d64 16:08:08 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:08:08 ---> Running in 6fead80b78ac 16:08:08 Removing intermediate container 6fead80b78ac 16:08:08 ---> fc092247488a 16:08:08 Step 21/23 : LABEL arch=amd64 16:08:08 ---> Running in 0864304ea448 16:08:08 Removing intermediate container 0864304ea448 16:08:08 ---> 778b51812ddf 16:08:08 Step 22/23 : LABEL git_sha=e412a44eb13141e6797f53827a761c4e91ea34f8 16:08:08 ---> Running in be6937e75341 16:08:08 Removing intermediate container be6937e75341 16:08:08 ---> 8ecfa472a4a5 16:08:08 Step 23/23 : LABEL version=3.0.0-dev.26 16:08:08 ---> Running in 6e8f8b4cab0c 16:08:08 Removing intermediate container 6e8f8b4cab0c 16:08:08 ---> 5abcb3ea2812 16:08:08 [Warning] One or more build-args [ARCH] were not consumed 16:08:08 Successfully built 5abcb3ea2812 16:08:08 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:08:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:09 16:08:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:09 latest: Pulling from edgex-lftools-log-publisher 16:08:09 5eb5b503b376: Pulling fs layer 16:08:09 5c69ac0246d0: Pulling fs layer 16:08:09 ec43610c2a17: Pulling fs layer 16:08:09 3a2ae6a8a46f: Pulling fs layer 16:08:09 33b1e0a273af: Pulling fs layer 16:08:09 5d3b04190fa2: Pulling fs layer 16:08:09 2f39f015ded8: Pulling fs layer 16:08:09 3a2ae6a8a46f: Waiting 16:08:09 33b1e0a273af: Waiting 16:08:09 5d3b04190fa2: Waiting 16:08:09 2f39f015ded8: Waiting 16:08:09 5c69ac0246d0: Verifying Checksum 16:08:09 5c69ac0246d0: Download complete 16:08:09 3a2ae6a8a46f: Verifying Checksum 16:08:09 3a2ae6a8a46f: Download complete 16:08:09 33b1e0a273af: Verifying Checksum 16:08:09 33b1e0a273af: Download complete 16:08:09 5d3b04190fa2: Verifying Checksum 16:08:09 5d3b04190fa2: Download complete 16:08:09 ec43610c2a17: Verifying Checksum 16:08:09 ec43610c2a17: Download complete 16:08:09 5eb5b503b376: Verifying Checksum 16:08:09 5eb5b503b376: Download complete 16:08:10 2f39f015ded8: Download complete 16:08:11 5eb5b503b376: Pull complete 16:08:11 5c69ac0246d0: Pull complete 16:08:12 ec43610c2a17: Pull complete 16:08:12 3a2ae6a8a46f: Pull complete 16:08:12 33b1e0a273af: Pull complete 16:08:13 5d3b04190fa2: Pull complete 16:08:18 2f39f015ded8: Pull complete 16:08:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:08:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:08:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:08:18 prd-ubuntu20.04-docker-8c-8g-5805 does not seem to be running inside a container 16:08:18 $ 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:08:23 $ docker top dacce86c44fa872eb5b2211680887cba8a033d925ed93106077dd688c3fddc45 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:24 ---> job-cost.sh 16:08:24 lf-activate-venv: SKIPPING 16:08:24 INFO: No Stack... 16:08:24 INFO: Retrieving Pricing Info for: v3-standard-8 16:08:25 INFO: Archiving Costs [Pipeline] sh 16:08:25 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 16:08:25 + cut -d, -f6 [Pipeline] lock 16:08:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-156-stack-cost] 16:08:25 Resource [jenkins-edgexfoundry-device-sdk-go-main-156-stack-cost] did not exist. Created. 16:08:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:08:25 + echo total: 0.2199999988079071 [Pipeline] stash 16:08:25 Stashed 1 file(s) [Pipeline] } 16:08:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-156-stack-cost] [Pipeline] // lock [Pipeline] } 16:08:25 $ docker stop --time=1 dacce86c44fa872eb5b2211680887cba8a033d925ed93106077dd688c3fddc45 16:08:27 $ docker rm -f --volumes dacce86c44fa872eb5b2211680887cba8a033d925ed93106077dd688c3fddc45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:08:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5810 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 16:08:40 Running in /w/workspace/device-sdk-go/156 [Pipeline] { [Pipeline] checkout 16:08:40 The recommended git tool is: git 16:08:46 using credential edgex-jenkins-ssh 16:08:46 Cloning the remote Git repository 16:08:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:08:46 > git init /w/workspace/device-sdk-go/156 # timeout=10 16:08:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:08:46 > git --version # timeout=10 16:08:46 > git --version # 'git version 2.25.1' 16:08:46 using GIT_SSH to set credentials SSH Credentials for GitHub 16:08:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:08:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:08:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:08:49 Avoid second fetch 16:08:49 Checking out Revision e412a44eb13141e6797f53827a761c4e91ea34f8 (main) 16:08:50 Commit message: "feat!: replace REST device service callback with System Event (#1319)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:08:49 > git config core.sparsecheckout # timeout=10 16:08:49 > git checkout -f e412a44eb13141e6797f53827a761c4e91ea34f8 # timeout=10 16:08:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:08:51 % Total % Received % Xferd Average Speed Time Time Time Current 16:08:51 Dload Upload Total Spent Left Speed 16:08:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 194k [Pipeline] sh 16:08:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:08:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:08:52 + sudo tee /etc/docker/daemon.new 16:08:52 { 16:08:52 "registry-mirrors": [ 16:08:52 "https://nexus3.edgexfoundry.org:10001" 16:08:52 ], 16:08:52 "bip": "10.250.0.254/24", 16:08:52 "hosts": [ 16:08:52 "tcp://0.0.0.0:5555", 16:08:52 "unix:///var/run/docker.sock" 16:08:52 ], 16:08:52 "mtu": 1458, 16:08:52 "selinux-enabled": true, 16:08:52 "seccomp-profile": "/etc/docker/seccomp.json" 16:08:52 } [Pipeline] sh 16:08:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:08:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:11 provisioning config files... 16:09:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/156@tmp/config3963580559635788470tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:11 ---> docker-login.sh 16:09:11 nexus3.edgexfoundry.org:10001 16:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:12 Configure a credential helper to remove this warning. See 16:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:12 16:09:12 Login Succeeded 16:09:12 nexus3.edgexfoundry.org:10002 16:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:12 Configure a credential helper to remove this warning. See 16:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:12 16:09:12 Login Succeeded 16:09:12 nexus3.edgexfoundry.org:10003 16:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:13 Configure a credential helper to remove this warning. See 16:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:13 16:09:13 Login Succeeded 16:09:13 nexus3.edgexfoundry.org:10004 16:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:13 Configure a credential helper to remove this warning. See 16:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:13 16:09:13 Login Succeeded 16:09:13 docker.io 16:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:09:14 Configure a credential helper to remove this warning. See 16:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:09:14 16:09:14 Login Succeeded 16:09:14 ---> docker-login.sh ends [Pipeline] } 16:09:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:09:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:09:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:09:14 ========================================================= 16:09:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:09:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:14 + 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:09:15 Sending build context to Docker daemon 5.596MB 16:09:15 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 16:09:15 Step 2/10 : FROM ${BASE} AS builder 16:09:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:09:15 9b18e9b68314: Pulling fs layer 16:09:15 35d82f9e3411: Pulling fs layer 16:09:15 e16973657156: Pulling fs layer 16:09:15 fc693d55d65f: Pulling fs layer 16:09:15 7e9fc2657dce: Pulling fs layer 16:09:15 dda99020689f: Pulling fs layer 16:09:15 db1c61fa0a46: Pulling fs layer 16:09:15 891c053d2c06: Pulling fs layer 16:09:15 dda99020689f: Waiting 16:09:15 db1c61fa0a46: Waiting 16:09:15 891c053d2c06: Waiting 16:09:15 fc693d55d65f: Waiting 16:09:15 7e9fc2657dce: Waiting 16:09:15 e16973657156: Download complete 16:09:15 35d82f9e3411: Verifying Checksum 16:09:15 35d82f9e3411: Download complete 16:09:15 7e9fc2657dce: Verifying Checksum 16:09:15 7e9fc2657dce: Download complete 16:09:15 dda99020689f: Download complete 16:09:15 9b18e9b68314: Verifying Checksum 16:09:16 9b18e9b68314: Pull complete 16:09:16 891c053d2c06: Verifying Checksum 16:09:16 891c053d2c06: Download complete 16:09:17 35d82f9e3411: Pull complete 16:09:17 e16973657156: Pull complete 16:09:18 db1c61fa0a46: Verifying Checksum 16:09:18 db1c61fa0a46: Download complete 16:09:18 fc693d55d65f: Verifying Checksum 16:09:18 fc693d55d65f: Download complete 16:09:31 fc693d55d65f: Pull complete 16:09:31 7e9fc2657dce: Pull complete 16:09:31 dda99020689f: Pull complete 16:09:37 db1c61fa0a46: Pull complete 16:09:39 891c053d2c06: Pull complete 16:09:39 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:09:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:09:39 ---> f96f9c87975a 16:09:39 Step 3/10 : ARG MAKE=make build 16:09:40 ---> Running in de77b2270c58 16:09:40 Removing intermediate container de77b2270c58 16:09:40 ---> 257a2ace6683 16:09:40 Step 4/10 : WORKDIR /device-sdk-go 16:09:40 ---> Running in 5d134a277343 16:09:41 Removing intermediate container 5d134a277343 16:09:41 ---> 0062a5f73fa7 16:09:41 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:09:41 ---> Running in 9b3403d8717e 16:09:41 Removing intermediate container 9b3403d8717e 16:09:41 ---> 64420e079db8 16:09:41 Step 6/10 : RUN apk add --update --no-cache make git 16:09:41 ---> Running in 567627476ab0 16:09:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:09:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:09:44 OK: 221 MiB in 51 packages 16:09:45 Removing intermediate container 567627476ab0 16:09:45 ---> 47db318ee77a 16:09:45 Step 7/10 : COPY go.mod vendor* ./ 16:09:45 ---> 95148e96e2b9 16:09:45 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:09:45 ---> Running in af236fdd1720 16:11:07 Removing intermediate container af236fdd1720 16:11:07 ---> 8aa6623e16a8 16:11:07 Step 9/10 : COPY . . 16:11:07 ---> 6bfbf0829b3b 16:11:07 Step 10/10 : RUN ${MAKE} 16:11:07 ---> Running in d4917f915fa5 16:11:07 noop 16:11:07 Removing intermediate container d4917f915fa5 16:11:07 ---> cdeb5d6fd88c 16:11:07 Successfully built cdeb5d6fd88c 16:11:07 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:07 + docker inspect -f . ci-base-image-arm64 16:11:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:08 prd-ubuntu20.04-docker-arm64-4c-16g-5810 does not seem to be running inside a container 16:11:08 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/156 -v /w/workspace/device-sdk-go/156:/w/workspace/device-sdk-go/156:rw,z -v /w/workspace/device-sdk-go/156@tmp:/w/workspace/device-sdk-go/156@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:11:09 $ docker top b07fe919d0f03404613bd7e176c4638c703cf4c21ddd695e399525e5a9d94c99 -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:10 + go version 16:11:10 go version go1.18.7 linux/arm64 [Pipeline] } 16:11:10 $ docker stop --time=1 b07fe919d0f03404613bd7e176c4638c703cf4c21ddd695e399525e5a9d94c99 16:11:12 $ docker rm -f --volumes b07fe919d0f03404613bd7e176c4638c703cf4c21ddd695e399525e5a9d94c99 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:12 + docker inspect -f . ci-base-image-arm64 16:11:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:13 prd-ubuntu20.04-docker-arm64-4c-16g-5810 does not seem to be running inside a container 16:11:13 $ 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/156 -v /w/workspace/device-sdk-go/156:/w/workspace/device-sdk-go/156:rw,z -v /w/workspace/device-sdk-go/156@tmp:/w/workspace/device-sdk-go/156@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:11:14 $ docker top f8104e6a99797c2a9134be477646f8c753e8b6d2bb76492ca8debe70a4aa66b1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:15 + git config --global --add safe.directory /w/workspace/device-sdk-go/156 [Pipeline] fileExists [Pipeline] sh 16:11:16 + make test 16:11:16 go test -race -coverprofile=coverage.out ./... 16:11:54 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:14:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:14:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:14:01 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:14:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:14:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:14:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.337s coverage: 27.6% of statements 16:14:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.306s coverage: 78.9% of statements 16:14:01 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 16:14:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.501s coverage: 78.1% of statements 16:14:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:14:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:14:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.499s coverage: 77.0% of statements 16:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 16:14:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 16:14:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.432s coverage: 65.2% of statements 16:14:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:14:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:14:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.469s coverage: 89.2% of statements 16:14:06 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 16:14:07 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.254s coverage: 4.7% of statements 16:14:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:14:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:14:07 GO111MODULE=on go vet ./... 16:15:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:15:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:15:44 ./bin/test-attribution-txt.sh [Pipeline] echo 16:15:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:15:44 $ docker stop --time=1 f8104e6a99797c2a9134be477646f8c753e8b6d2bb76492ca8debe70a4aa66b1 16:15:46 $ docker rm -f --volumes f8104e6a99797c2a9134be477646f8c753e8b6d2bb76492ca8debe70a4aa66b1 [Pipeline] // withDockerContainer [Pipeline] sh 16:15:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:15:47 Warning: overwriting stash ‘coverage-report’ 16:15:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:15:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:15:49 + ls -al . 16:15:49 total 268 16:15:49 drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 16:11 . 16:15:49 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 16:08 .. 16:15:49 -rw-rw-r-- 1 jenkins jenkins 140 Feb 14 16:08 .dockerignore 16:15:49 drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 16:08 .git 16:15:49 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 16:08 .github 16:15:49 -rw-rw-r-- 1 jenkins jenkins 131 Feb 14 16:08 .gitignore 16:15:49 -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 16:08 .golangci.yml 16:15:49 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 14 16:08 CHANGELOG.md 16:15:49 -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 16:08 GOVERNANCE.md 16:15:49 -rw-rw-r-- 1 jenkins jenkins 885 Feb 14 16:08 Jenkinsfile 16:15:49 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 14 16:08 LICENSE 16:15:49 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 14 16:08 Makefile 16:15:49 -rw-rw-r-- 1 jenkins jenkins 619 Feb 14 16:08 OWNERS.md 16:15:49 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 14 16:08 README.md 16:15:49 -rw-rw-r-- 1 jenkins jenkins 12 Feb 14 16:05 VERSION 16:15:49 drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 16:08 bin 16:15:49 -rw-r--r-- 1 jenkins jenkins 98701 Feb 14 16:14 coverage.out 16:15:49 drwxrwxr-x 5 jenkins jenkins 4096 Feb 14 16:08 example 16:15:49 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 14 16:08 go.mod 16:15:49 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 14 16:08 go.sum 16:15:49 drwxrwxr-x 13 jenkins jenkins 4096 Feb 14 16:08 internal 16:15:49 drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 16:08 openapi 16:15:49 drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 16:08 pkg 16:15:49 drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 16:08 snap 16:15:49 -rw-rw-r-- 1 jenkins jenkins 222 Feb 14 16:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:15:49 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=e412a44eb13141e6797f53827a761c4e91ea34f8 --label arch=arm64 --label version=3.0.0-dev.26 . 16:15:49 Sending build context to Docker daemon 5.695MB 16:15:50 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 16:15:50 Step 2/23 : FROM ${BASE} AS builder 16:15:50 ---> cdeb5d6fd88c 16:15:50 Step 3/23 : ARG MAKE=make build 16:15:50 ---> Running in 6eb13d48524c 16:15:50 Removing intermediate container 6eb13d48524c 16:15:50 ---> 7db2e0c92c51 16:15:50 Step 4/23 : WORKDIR /device-sdk-go 16:15:50 ---> Running in 759e0f613326 16:15:50 Removing intermediate container 759e0f613326 16:15:50 ---> d5ab925a748f 16:15:50 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:15:50 ---> Running in 24538cf5992f 16:15:51 Removing intermediate container 24538cf5992f 16:15:51 ---> 7b2a229b2e72 16:15:51 Step 6/23 : RUN apk add --update --no-cache make git 16:15:51 ---> Running in 47c20b5e4390 16:15:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:15:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:15:53 OK: 221 MiB in 51 packages 16:15:54 Removing intermediate container 47c20b5e4390 16:15:54 ---> 2464c8e60840 16:15:54 Step 7/23 : COPY go.mod vendor* ./ 16:15:55 ---> 4a50eeb4e1ea 16:15:55 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:15:55 ---> Running in b19b401bdb33 16:15:58 Removing intermediate container b19b401bdb33 16:15:58 ---> 7ea00a997426 16:15:58 Step 9/23 : COPY . . 16:15:59 ---> 8130c236950d 16:15:59 Step 10/23 : RUN ${MAKE} 16:15:59 ---> Running in c90291f40eb0 16:16:00 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=3.0.0-dev.26" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:18:22 Removing intermediate container c90291f40eb0 16:18:22 ---> 619dcb4a7a57 16:18:22 Step 11/23 : FROM alpine:3.16 16:18:22 3.16: Pulling from library/alpine 16:18:22 3760b48202b3: Pulling fs layer 16:18:22 3760b48202b3: Verifying Checksum 16:18:22 3760b48202b3: Download complete 16:18:22 3760b48202b3: Pull complete 16:18:22 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 16:18:22 Status: Downloaded newer image for alpine:3.16 16:18:22 ---> 4c81e5bf8899 16:18:22 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:18:22 ---> Running in 63821148e669 16:18:22 Removing intermediate container 63821148e669 16:18:22 ---> 3e5c5801364c 16:18:22 Step 13/23 : RUN apk add --update --no-cache 16:18:22 ---> Running in 40bcef823e15 16:18:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:18:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:18:22 OK: 5 MiB in 14 packages 16:18:22 Removing intermediate container 40bcef823e15 16:18:22 ---> 190954ce81a6 16:18:22 Step 14/23 : WORKDIR / 16:18:22 ---> Running in 9dd177f93863 16:18:22 Removing intermediate container 9dd177f93863 16:18:22 ---> f0dc98413086 16:18:22 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:18:22 ---> a85c700aa83c 16:18:22 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:18:22 ---> 03a818153bcb 16:18:22 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:18:22 ---> 20baabc99171 16:18:22 Step 18/23 : EXPOSE 59999 16:18:22 ---> Running in 1df1668bad90 16:18:22 Removing intermediate container 1df1668bad90 16:18:22 ---> 578ce0df6484 16:18:22 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:18:22 ---> Running in 02607ceead24 16:18:22 Removing intermediate container 02607ceead24 16:18:22 ---> 59e8f95f762e 16:18:22 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:18:22 ---> Running in 75deeb55831e 16:18:22 Removing intermediate container 75deeb55831e 16:18:22 ---> 5e64f9e589e3 16:18:22 Step 21/23 : LABEL arch=arm64 16:18:22 ---> Running in bdf77e7b2383 16:18:22 Removing intermediate container bdf77e7b2383 16:18:22 ---> ff3339426c86 16:18:22 Step 22/23 : LABEL git_sha=e412a44eb13141e6797f53827a761c4e91ea34f8 16:18:22 ---> Running in 07a41c6cab93 16:18:22 Removing intermediate container 07a41c6cab93 16:18:22 ---> ec39a63cc730 16:18:22 Step 23/23 : LABEL version=3.0.0-dev.26 16:18:22 ---> Running in e4165544ea82 16:18:22 Removing intermediate container e4165544ea82 16:18:22 ---> 5701b4291e71 16:18:22 [Warning] One or more build-args [ARCH] were not consumed 16:18:22 Successfully built 5701b4291e71 16:18:22 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:18:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:18:22 16:18:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:18:23 arm64: Pulling from edgex-lftools-log-publisher 16:18:23 8998bd30e6a1: Pulling fs layer 16:18:23 04944245beec: Pulling fs layer 16:18:23 699f458cf7ca: Pulling fs layer 16:18:23 765212b225bb: Pulling fs layer 16:18:23 f23df028b6ca: Pulling fs layer 16:18:23 d65c8cfc05b1: Pulling fs layer 16:18:23 2437ff75d9bd: Pulling fs layer 16:18:23 765212b225bb: Waiting 16:18:23 f23df028b6ca: Waiting 16:18:23 d65c8cfc05b1: Waiting 16:18:23 2437ff75d9bd: Waiting 16:18:23 04944245beec: Verifying Checksum 16:18:23 04944245beec: Download complete 16:18:23 765212b225bb: Verifying Checksum 16:18:23 765212b225bb: Download complete 16:18:23 f23df028b6ca: Verifying Checksum 16:18:23 f23df028b6ca: Download complete 16:18:23 d65c8cfc05b1: Verifying Checksum 16:18:23 d65c8cfc05b1: Download complete 16:18:23 699f458cf7ca: Verifying Checksum 16:18:23 699f458cf7ca: Download complete 16:18:23 8998bd30e6a1: Download complete 16:18:26 2437ff75d9bd: Verifying Checksum 16:18:26 2437ff75d9bd: Download complete 16:18:28 8998bd30e6a1: Pull complete 16:18:28 04944245beec: Pull complete 16:18:30 699f458cf7ca: Pull complete 16:18:30 765212b225bb: Pull complete 16:18:33 f23df028b6ca: Pull complete 16:18:33 d65c8cfc05b1: Pull complete 16:18:48 2437ff75d9bd: Pull complete 16:18:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:18:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:18:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:49 prd-ubuntu20.04-docker-arm64-4c-16g-5810 does not seem to be running inside a container 16:18:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/156 -v /w/workspace/device-sdk-go/156:/w/workspace/device-sdk-go/156:rw,z -v /w/workspace/device-sdk-go/156@tmp:/w/workspace/device-sdk-go/156@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:18:52 $ docker top 73af41d1a0ab1065040b4fe2737627163af536c48f9a96562a96a52dc2ee6ef3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:18:53 ---> job-cost.sh 16:18:53 lf-activate-venv: SKIPPING 16:18:53 INFO: No Stack... 16:18:53 INFO: Retrieving Pricing Info for: v3-standard-4 16:18:54 INFO: Archiving Costs [Pipeline] sh 16:18:54 + + catcut /w/workspace/device-sdk-go/156/archives/cost.csv -d, 16:18:54 -f6 [Pipeline] lock 16:18:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-156-stack-cost] 16:18:54 Resource [jenkins-edgexfoundry-device-sdk-go-main-156-stack-cost] did not exist. Created. 16:18:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-156-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:18:55 /w/workspace/device-sdk-go/156@tmp/durable-b7810a46/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:18:56 + echo total: 0.10999999940395355 [Pipeline] stash 16:18:56 Warning: overwriting stash ‘stack-cost’ 16:18:56 Stashed 1 file(s) [Pipeline] } 16:18:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-156-stack-cost] [Pipeline] // lock [Pipeline] } 16:18:56 $ docker stop --time=1 73af41d1a0ab1065040b4fe2737627163af536c48f9a96562a96a52dc2ee6ef3 16:18:57 $ docker rm -f --volumes 73af41d1a0ab1065040b4fe2737627163af536c48f9a96562a96a52dc2ee6ef3 [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:18:58 provisioning config files... 16:18:58 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config15286048342532023287tmp [Pipeline] { [Pipeline] sh 16:18:58 + set +x 16:18:58 + bash -s -- 16:18:58 + curl -s https://codecov.io/bash 16:18:58 16:18:58 _____ _ 16:18:58 / ____| | | 16:18:58 | | ___ __| | ___ ___ _____ __ 16:18:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:18:58 | |___| (_) | (_| | __/ (_| (_) \ V / 16:18:58 \_____\___/ \__,_|\___|\___\___/ \_/ 16:18:58 Bash-1.0.6 16:18:58 16:18:58 16:18:58 ==> git version 2.25.1 found 16:18:58 ==> 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:18:58 Release-Date: 2020-01-08 16:18:58 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:18:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:18:58 ==> Jenkins CI detected. 16:18:58 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 16:18:58 project root: . 16:18:58 --> token set from env 16:18:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:18:58 ==> Running gcov in . (disable via -X gcov) 16:18:58 ==> Python coveragepy not found 16:18:58 ==> Searching for coverage reports in: 16:18:58 + . 16:18:58 -> Found 1 reports 16:18:58 ==> Detecting git/mercurial file structure 16:18:58 ==> Reading reports 16:18:58 + ./coverage.out bytes=98701 16:18:58 ==> Appending adjustments 16:18:58 https://docs.codecov.io/docs/fixing-reports 16:18:59 + Found adjustments 16:18:59 ==> Gzipping contents 16:18:59 16K /tmp/codecov.rc4dbs.gz 16:18:59 ==> Uploading reports 16:18:59 url: https://codecov.io 16:18:59 query: branch=main&commit=e412a44eb13141e6797f53827a761c4e91ea34f8&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:18:59 -> Pinging Codecov 16:18:59 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=e412a44eb13141e6797f53827a761c4e91ea34f8&build=156&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F156%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:18:59 -> Uploading to 16:18:59 https://storage.googleapis.com/codecov/v4/raw/2023-02-14/7E55EF52A471D76F132DFD9A03CDDE97/e412a44eb13141e6797f53827a761c4e91ea34f8/90a56c51-6377-4465-95e0-2e858f0b0a69.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T161859Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df0b585c95a75e81b790d6b792d009c9bc56cc0af48b071b4b5651ac7f4462c7 16:18:59 % Total % Received % Xferd Average Speed Time Time Time Current 16:18:59 Dload Upload Total Spent Left Speed 16:18:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14370 0 0 100 14370 0 58893 --:--:-- --:--:-- --:--:-- 58893 16:18:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e412a44eb13141e6797f53827a761c4e91ea34f8 [Pipeline] } 16:18:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:18:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:18:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:18:59 16:18:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:19:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:19:00 df9b9388f04a: Pulling fs layer 16:19:00 52dc419b0ee2: Pulling fs layer 16:19:00 25bc292e5bac: Pulling fs layer 16:19:00 114826534d7a: Pulling fs layer 16:19:00 4657fd5d0bcf: Pulling fs layer 16:19:00 6ad1cebc031e: Pulling fs layer 16:19:00 8a3aa393b2d8: Pulling fs layer 16:19:00 4657fd5d0bcf: Waiting 16:19:00 6ad1cebc031e: Waiting 16:19:00 8a3aa393b2d8: Waiting 16:19:00 114826534d7a: Waiting 16:19:00 25bc292e5bac: Verifying Checksum 16:19:00 25bc292e5bac: Download complete 16:19:00 52dc419b0ee2: Verifying Checksum 16:19:00 52dc419b0ee2: Download complete 16:19:00 4657fd5d0bcf: Download complete 16:19:00 df9b9388f04a: Download complete 16:19:00 df9b9388f04a: Pull complete 16:19:00 6ad1cebc031e: Verifying Checksum 16:19:00 6ad1cebc031e: Download complete 16:19:01 52dc419b0ee2: Pull complete 16:19:02 25bc292e5bac: Pull complete 16:19:02 114826534d7a: Verifying Checksum 16:19:02 114826534d7a: Download complete 16:19:02 8a3aa393b2d8: Verifying Checksum 16:19:02 8a3aa393b2d8: Download complete 16:19:05 114826534d7a: Pull complete 16:19:05 4657fd5d0bcf: Pull complete 16:19:06 6ad1cebc031e: Pull complete 16:19:09 8a3aa393b2d8: Pull complete 16:19:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:19:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:19:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:09 prd-ubuntu20.04-docker-8c-8g-5805 does not seem to be running inside a container 16:19:09 $ 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:19:15 $ docker top 31e03c9f2f71d96270194c758e313de155e602e5dcce03025fdc3400bbaa67ce -eo pid,comm [Pipeline] { [Pipeline] echo 16:19:15 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 16:19:16 + set -o pipefail 16:19:16 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 16:19:21 16:19:21 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v3)... 16:19:21 16:19:21 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/8c26c543-c8dd-4aab-ba24-99f15a54390e 16:19:21 16:19:21 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:19:21 16:19:21 16:19:21 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:19:21 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:19:21 More details here: https://snyk.co/ue1NS [Pipeline] } 16:19:21 $ docker stop --time=1 31e03c9f2f71d96270194c758e313de155e602e5dcce03025fdc3400bbaa67ce 16:19:24 $ docker rm -f --volumes 31e03c9f2f71d96270194c758e313de155e602e5dcce03025fdc3400bbaa67ce [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:19:24 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:24 provisioning config files... 16:19:24 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3549138198686710994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:25 --> edgex-publish-swagger.sh 16:19:25 === Publish openapi/v3 API === 16:19:25 [publishToSwagger] Publishing the API Docs [openapi/v3] to Swagger 16:19:25 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v3/device-sdk.yaml] 16:19:25 % Total % Received % Xferd Average Speed Time Time Time Current 16:19:25 Dload Upload Total Spent Left Speed 16:19:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 25278 0 0 100 25278 0 43284 --:--:-- --:--:-- --:--:-- 43210 100 25278 0 0 100 25278 0 43284 --:--:-- --:--:-- --:--:-- 43210 16:19:25 16:19:25 [Pipeline] } 16:19:25 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:19:26 + git log --format=format:%s -1 e412a44eb13141e6797f53827a761c4e91ea34f8 [Pipeline] sh 16:19:26 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:19:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:19:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:26 prd-ubuntu20.04-docker-8c-8g-5805 does not seem to be running inside a container 16:19:26 $ 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:19:27 $ docker top 185e6b94b5320adc6f64d2dc2734dc0845c57f7e5add992c896559bdcf6e50f2 -eo pid,comm 16:19:27 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:19:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:19:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:27 [ssh-agent] Looking for ssh-agent implementation... 16:19:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:27 $ docker exec 185e6b94b5320adc6f64d2dc2734dc0845c57f7e5add992c896559bdcf6e50f2 ssh-agent 16:19:27 SSH_AUTH_SOCK=/tmp/ssh-xdtFUjpRohq2/agent.32 16:19:27 SSH_AGENT_PID=39 16:19:27 Running ssh-add (command line suppressed) 16:19:27 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13330885853643133979.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_13330885853643133979.key) 16:19:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:27 + git semver tag 16:19:28 2023-02-14 16:19:28,098 [run_tag] DEBUG tag force:False 16:19:28 2023-02-14 16:19:28,098 [check_head_tag] DEBUG check head tag 16:19:28 2023-02-14 16:19:28,100 [execute] INFO git cat-file --batch-check 16:19:28 2023-02-14 16:19:28,100 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:19:28 2023-02-14 16:19:28,104 [execute] INFO git cat-file --batch 16:19:28 2023-02-14 16:19:28,105 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:19:28 2023-02-14 16:19:28,134 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:19:28 2023-02-14 16:19:28,134 [execute] INFO git tag -a v3.0.0-dev.26 -m v3.0.0-dev.26 16:19:28 2023-02-14 16:19:28,134 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.26', '-m', 'v3.0.0-dev.26'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:19:28 2023-02-14 16:19:28,140 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:19:28 3.0.0-dev.26 [Pipeline] } 16:19:28 $ docker exec --env ******** --env ******** 185e6b94b5320adc6f64d2dc2734dc0845c57f7e5add992c896559bdcf6e50f2 ssh-agent -k 16:19:28 unset SSH_AUTH_SOCK; 16:19:28 unset SSH_AGENT_PID; 16:19:28 echo Agent pid 39 killed; 16:19:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:19:28 + git semver [Pipeline] } 16:19:29 $ docker stop --time=1 185e6b94b5320adc6f64d2dc2734dc0845c57f7e5add992c896559bdcf6e50f2 16:19:30 $ docker rm -f --volumes 185e6b94b5320adc6f64d2dc2734dc0845c57f7e5add992c896559bdcf6e50f2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:19:30 16:19:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:19:31 0.23.1-centos7: Pulling from edgex-lftools 16:19:31 ab5ef0e58194: Pulling fs layer 16:19:31 9712f1f96733: Pulling fs layer 16:19:31 63f879dbbcfc: Pulling fs layer 16:19:31 0d9ebad4ef96: Pulling fs layer 16:19:31 e9a5061849ea: Pulling fs layer 16:19:31 d747dcd14b5f: Pulling fs layer 16:19:31 2de7ff778b66: Pulling fs layer 16:19:31 2de7ff778b66: Waiting 16:19:31 d747dcd14b5f: Waiting 16:19:31 e9a5061849ea: Waiting 16:19:31 0d9ebad4ef96: Waiting 16:19:31 9712f1f96733: Verifying Checksum 16:19:31 9712f1f96733: Download complete 16:19:32 63f879dbbcfc: Verifying Checksum 16:19:32 63f879dbbcfc: Download complete 16:19:32 e9a5061849ea: Verifying Checksum 16:19:32 e9a5061849ea: Download complete 16:19:32 d747dcd14b5f: Download complete 16:19:32 0d9ebad4ef96: Verifying Checksum 16:19:32 0d9ebad4ef96: Download complete 16:19:32 ab5ef0e58194: Verifying Checksum 16:19:32 ab5ef0e58194: Download complete 16:19:32 2de7ff778b66: Verifying Checksum 16:19:32 2de7ff778b66: Download complete 16:19:35 ab5ef0e58194: Pull complete 16:19:35 9712f1f96733: Pull complete 16:19:35 63f879dbbcfc: Pull complete 16:19:38 0d9ebad4ef96: Pull complete 16:19:39 e9a5061849ea: Pull complete 16:19:39 d747dcd14b5f: Pull complete 16:19:40 2de7ff778b66: Pull complete 16:19:40 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:19:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:19:40 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:40 prd-ubuntu20.04-docker-8c-8g-5805 does not seem to be running inside a container 16:19:40 $ 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:19:44 $ docker top 9a75655a29aad70181ef8a6000a75ca17c660340a027305318c8cfaad33f4bbf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:19:44 provisioning config files... 16:19:44 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6441282395624071971tmp 16:19:44 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2774582486640503735tmp 16:19:44 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config13486617342015333485tmp [Pipeline] { [Pipeline] echo 16:19:44 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:19:44 ---> sigul-configuration.sh 16:19:44 gpg: directory `/root/.gnupg' created 16:19:44 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:19:44 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:19:44 gpg: keyring `/root/.gnupg/secring.gpg' created 16:19:44 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:19:44 gpg: CAST5 encrypted data 16:19:44 gpg: encrypted with 1 passphrase 16:19:44 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:19:45 + mkdir /home/jenkins 16:19:45 + mkdir /home/jenkins/sigul [Pipeline] sh 16:19:45 + 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:19:45 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:19:45 ---> sigul-install.sh 16:19:45 Sigul already installed; skipping installation. [Pipeline] sh 16:19:45 + git tag --list 16:19:45 0.7.1 16:19:45 delhi-tag 16:19:45 v1.0.0 16:19:45 v1.1.0 16:19:45 v1.1.1 16:19:45 v1.1.2 16:19:45 v1.2.0 16:19:45 v1.2.1 16:19:45 v1.2.2 16:19:45 v1.2.3 16:19:45 v1.3.0 16:19:45 v1.4.0 16:19:45 v2.0.0 16:19:45 v2.1.0 16:19:45 v2.1.1 16:19:45 v2.1.1-dev.2 16:19:45 v2.1.1-dev.3 16:19:45 v2.2.0 16:19:45 v2.2.1-dev.1 16:19:45 v2.2.1-dev.10 16:19:45 v2.2.1-dev.11 16:19:45 v2.2.1-dev.12 16:19:45 v2.2.1-dev.13 16:19:45 v2.2.1-dev.14 16:19:45 v2.2.1-dev.2 16:19:45 v2.2.1-dev.3 16:19:45 v2.2.1-dev.4 16:19:45 v2.2.1-dev.5 16:19:45 v2.2.1-dev.6 16:19:45 v2.2.1-dev.7 16:19:45 v2.2.1-dev.8 16:19:45 v2.2.1-dev.9 16:19:45 v2.3.0 16:19:45 v2.3.0-dev.14 16:19:45 v2.3.0-dev.15 16:19:45 v2.3.0-dev.16 16:19:45 v2.3.0-dev.17 16:19:45 v2.3.0-dev.18 16:19:45 v2.3.0-dev.19 16:19:45 v2.3.0-dev.20 16:19:45 v2.3.0-dev.21 16:19:45 v2.3.0-dev.22 16:19:45 v2.3.0-dev.23 16:19:45 v2.3.0-dev.24 16:19:45 v2.3.0-dev.25 16:19:45 v2.3.0-dev.26 16:19:45 v2.3.0-dev.27 16:19:45 v2.3.0-dev.28 16:19:45 v2.3.0-dev.29 16:19:45 v2.3.0-dev.30 16:19:45 v2.3.0-dev.31 16:19:45 v2.3.0-dev.32 16:19:45 v2.3.0-dev.33 16:19:45 v2.3.0-dev.34 16:19:45 v2.3.0-dev.35 16:19:45 v2.3.0-dev.36 16:19:45 v2.3.0-dev.37 16:19:45 v2.3.0-dev.38 16:19:45 v2.3.0-dev.39 16:19:45 v2.3.0-dev.40 16:19:45 v2.3.0-dev.41 16:19:45 v2.3.0-dev.42 16:19:45 v2.3.0-dev.43 16:19:45 v2.3.0-dev.44 16:19:45 v2.3.0-dev.45 16:19:45 v2.3.0-dev.46 16:19:45 v2.3.0-dev.47 16:19:45 v2.3.0-dev.48 16:19:45 v2.3.0-dev.49 16:19:45 v2.3.0-dev.50 16:19:45 v2.3.0-dev.51 16:19:45 v2.3.1-dev.1 16:19:45 v2.3.1-dev.2 16:19:45 v3.0.0-dev.1 16:19:45 v3.0.0-dev.10 16:19:45 v3.0.0-dev.11 16:19:45 v3.0.0-dev.12 16:19:45 v3.0.0-dev.13 16:19:45 v3.0.0-dev.14 16:19:45 v3.0.0-dev.15 16:19:45 v3.0.0-dev.16 16:19:45 v3.0.0-dev.17 16:19:45 v3.0.0-dev.18 16:19:45 v3.0.0-dev.19 16:19:45 v3.0.0-dev.2 16:19:45 v3.0.0-dev.20 16:19:45 v3.0.0-dev.21 16:19:45 v3.0.0-dev.22 16:19:45 v3.0.0-dev.23 16:19:45 v3.0.0-dev.24 16:19:45 v3.0.0-dev.25 16:19:45 v3.0.0-dev.26 16:19:45 v3.0.0-dev.3 16:19:45 v3.0.0-dev.4 16:19:45 v3.0.0-dev.5 16:19:45 v3.0.0-dev.6 16:19:45 v3.0.0-dev.7 16:19:45 v3.0.0-dev.8 16:19:45 v3.0.0-dev.9 [Pipeline] sh 16:19:46 + lftools sign git-tag v3.0.0-dev.26 16:19:46 Signing Git tag with Sigul... 16:19:46 Signing v3.0.0-dev.26 [Pipeline] echo 16:19:47 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:19:47 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:19:47 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:19:47 $ docker stop --time=1 9a75655a29aad70181ef8a6000a75ca17c660340a027305318c8cfaad33f4bbf 16:19:48 $ docker rm -f --volumes 9a75655a29aad70181ef8a6000a75ca17c660340a027305318c8cfaad33f4bbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:19:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:19:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:19:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:49 prd-ubuntu20.04-docker-8c-8g-5805 does not seem to be running inside a container 16:19:49 $ 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:19:49 $ docker top 753dac620c815e5fc4a3219a3c2cf2c0ce617cc71cabd4b9a0990e5749d65658 -eo pid,comm 16:19:49 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:19:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:19:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:49 [ssh-agent] Looking for ssh-agent implementation... 16:19:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:50 $ docker exec 753dac620c815e5fc4a3219a3c2cf2c0ce617cc71cabd4b9a0990e5749d65658 ssh-agent 16:19:50 SSH_AUTH_SOCK=/tmp/ssh-23kDHxFcqKPv/agent.32 16:19:50 SSH_AGENT_PID=38 16:19:50 Running ssh-add (command line suppressed) 16:19:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7468160439869843473.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7468160439869843473.key) 16:19:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:50 + git semver bump pre 16:19:50 2023-02-14 16:19:50,727 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:19:50 2023-02-14 16:19:50,728 [bump_version] DEBUG bumping version:3.0.0-dev.26 on axis:pre with prefix:dev 16:19:50 2023-02-14 16:19:50,728 [bump_version] DEBUG bumped version:3.0.0-dev.27 16:19:50 2023-02-14 16:19:50,728 [write_version] DEBUG write version:3.0.0-dev.27 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 16:19:50 2023-02-14 16:19:50,728 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:19:50 2023-02-14 16:19:50,728 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:19:50 2023-02-14 16:19:50,730 [execute] INFO git cat-file --batch-check 16:19:50 2023-02-14 16:19:50,730 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:19:50 2023-02-14 16:19:50,735 [execute] INFO git cat-file --batch 16:19:50 2023-02-14 16:19:50,735 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:19:50 2023-02-14 16:19:50,740 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:19:50 3.0.0-dev.27 [Pipeline] } 16:19:50 $ docker exec --env ******** --env ******** 753dac620c815e5fc4a3219a3c2cf2c0ce617cc71cabd4b9a0990e5749d65658 ssh-agent -k 16:19:50 unset SSH_AUTH_SOCK; 16:19:50 unset SSH_AGENT_PID; 16:19:50 echo Agent pid 38 killed; 16:19:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:19:51 + git semver [Pipeline] } 16:19:51 $ docker stop --time=1 753dac620c815e5fc4a3219a3c2cf2c0ce617cc71cabd4b9a0990e5749d65658 16:19:52 $ docker rm -f --volumes 753dac620c815e5fc4a3219a3c2cf2c0ce617cc71cabd4b9a0990e5749d65658 [Pipeline] // withDockerContainer [Pipeline] sh 16:19:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:19:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:19:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:53 prd-ubuntu20.04-docker-8c-8g-5805 does not seem to be running inside a container 16:19:53 $ 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:19:53 $ docker top e36f03044051efc8f7ba0b89f01a15205cf999390cb3202315a4af72b9467209 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:19:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:53 [ssh-agent] Looking for ssh-agent implementation... 16:19:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:54 $ docker exec e36f03044051efc8f7ba0b89f01a15205cf999390cb3202315a4af72b9467209 ssh-agent 16:19:54 SSH_AUTH_SOCK=/tmp/ssh-8KLvYqq9cUkw/agent.33 16:19:54 SSH_AGENT_PID=39 16:19:54 Running ssh-add (command line suppressed) 16:19:54 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15328630325787287619.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_15328630325787287619.key) 16:19:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:54 + git semver push 16:19:54 2023-02-14 16:19:54,764 [run_push] DEBUG push 16:19:54 2023-02-14 16:19:54,764 [execute] INFO git cat-file --batch-check 16:19:54 2023-02-14 16:19:54,765 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:19:54 2023-02-14 16:19:54,769 [execute] INFO git rev-list a26753a7209fce8ca26625fb67c11afb3dc636de -- 16:19:54 2023-02-14 16:19:54,769 [execute] DEBUG Popen(['git', 'rev-list', 'a26753a7209fce8ca26625fb67c11afb3dc636de', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:19:54 2023-02-14 16:19:54,779 [execute] INFO git fetch -v origin 16:19:54 2023-02-14 16:19:54,779 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:19:55 2023-02-14 16:19:55,396 [run_push] DEBUG no remote changes detected 16:19:55 2023-02-14 16:19:55,397 [execute] INFO git push origin semver 16:19:55 2023-02-14 16:19:55,397 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:19:56 2023-02-14 16:19:56,334 [run_push] DEBUG push all version tags 16:19:56 2023-02-14 16:19:56,334 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:19:56 2023-02-14 16:19:56,334 [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:19:57 2023-02-14 16:19:57,226 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:19:57 3.0.0-dev.27 [Pipeline] } 16:19:57 $ docker exec --env ******** --env ******** e36f03044051efc8f7ba0b89f01a15205cf999390cb3202315a4af72b9467209 ssh-agent -k 16:19:57 unset SSH_AUTH_SOCK; 16:19:57 unset SSH_AGENT_PID; 16:19:57 echo Agent pid 39 killed; 16:19:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:19:57 + git semver [Pipeline] } 16:19:57 $ docker stop --time=1 e36f03044051efc8f7ba0b89f01a15205cf999390cb3202315a4af72b9467209 16:19:59 $ docker rm -f --volumes e36f03044051efc8f7ba0b89f01a15205cf999390cb3202315a4af72b9467209 [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:19:59 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 16:19:59 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:19:59 total 16 16:19:59 drwxr-xr-x 3 root root 4096 Feb 14 16:08 . 16:19:59 drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 16:19 .. 16:19:59 drwxr-xr-x 2 root root 4096 Feb 14 16:08 cost 16:19:59 -rw-r--r-- 1 root root 85 Feb 14 16:08 cost.csv 16:19:59 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:19:59 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:19:59 total 16 16:19:59 drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 16:08 . 16:19:59 drwxrwxr-x 12 jenkins jenkins 4096 Feb 14 16:19 .. 16:19:59 drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 16:08 cost 16:19:59 -rw-r--r-- 1 jenkins jenkins 85 Feb 14 16:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:20:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:20:00 ---> package-listing.sh 16:20:00 ++ facter osfamily 16:20:00 ++ tr '[:upper:]' '[:lower:]' 16:20:01 + OS_FAMILY=debian 16:20:01 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 16:20:01 + START_PACKAGES=/tmp/packages_start.txt 16:20:01 + END_PACKAGES=/tmp/packages_end.txt 16:20:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:20:01 + PACKAGES=/tmp/packages_start.txt 16:20:01 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:20:01 + PACKAGES=/tmp/packages_end.txt 16:20:01 + case "${OS_FAMILY}" in 16:20:01 + dpkg -l 16:20:01 + grep '^ii' 16:20:01 + '[' -f /tmp/packages_start.txt ']' 16:20:01 + '[' -f /tmp/packages_end.txt ']' 16:20:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:20:01 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:20:01 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 16:20:01 + 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:20:01 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:20:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:20:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:20:02 prd-ubuntu20.04-docker-8c-8g-5805 does not seem to be running inside a container 16:20:02 $ 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:20:02 $ docker top 0b5fe5786fb6dc1ee4b2c56f2f8e842ab82e969845787ad74a8f498480088e4a -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:02 + touch /tmp/pre-build-complete [Pipeline] sh 16:20:03 + mkdir -p /var/log/sysstat [Pipeline] sh 16:20:03 + ls /var/log/sa-host 16:20:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:03 provisioning config files... 16:20:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6098293827457794456tmp [Pipeline] { [Pipeline] echo 16:20:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:20:03 ---> create-netrc.sh [Pipeline] } 16:20:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:20:04 ---> python-tools-install.sh [Pipeline] echo 16:20:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:20:04 ---> sudo-logs.sh 16:20:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:20:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:20:05 ---> job-cost.sh 16:20:05 lf-activate-venv: SKIPPING 16:20:05 DEBUG: total: 0.2199999988079071 16:20:05 INFO: Retrieving Stack Cost... 16:20:05 INFO: Retrieving Pricing Info for: v3-standard-8 16:20:05 INFO: Archiving Costs [Pipeline] echo 16:20:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:20:06 ---> logs-deploy.sh 16:20:06 lf-activate-venv: SKIPPING 16:20:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/156 16:20:06 INFO: archiving workspace using pattern(s): 16:20:07 Archives upload complete. 16:20:07 INFO: archiving logs to Nexus 16:20:07 ---> uname -a: 16:20:07 Linux prd-ubuntu20-04-docker-8c-8g-5805 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 16:20:07 16:20:07 16:20:07 ---> lscpu: 16:20:07 Architecture: x86_64 16:20:07 CPU op-mode(s): 32-bit, 64-bit 16:20:07 Byte Order: Little Endian 16:20:07 Address sizes: 40 bits physical, 48 bits virtual 16:20:07 CPU(s): 8 16:20:07 On-line CPU(s) list: 0-7 16:20:07 Thread(s) per core: 1 16:20:07 Core(s) per socket: 1 16:20:07 Socket(s): 8 16:20:07 NUMA node(s): 1 16:20:07 Vendor ID: AuthenticAMD 16:20:07 CPU family: 23 16:20:07 Model: 49 16:20:07 Model name: AMD EPYC-Rome Processor 16:20:07 Stepping: 0 16:20:07 CPU MHz: 2800.000 16:20:07 BogoMIPS: 5600.00 16:20:07 Virtualization: AMD-V 16:20:07 Hypervisor vendor: KVM 16:20:07 Virtualization type: full 16:20:07 L1d cache: 256 KiB 16:20:07 L1i cache: 256 KiB 16:20:07 L2 cache: 4 MiB 16:20:07 L3 cache: 128 MiB 16:20:07 NUMA node0 CPU(s): 0-7 16:20:07 Vulnerability Itlb multihit: Not affected 16:20:07 Vulnerability L1tf: Not affected 16:20:07 Vulnerability Mds: Not affected 16:20:07 Vulnerability Meltdown: Not affected 16:20:07 Vulnerability Mmio stale data: Not affected 16:20:07 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 16:20:07 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 16:20:07 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 16:20:07 Vulnerability Srbds: Not affected 16:20:07 Vulnerability Tsx async abort: Not affected 16:20:07 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 16:20:07 16:20:07 16:20:07 ---> nproc: 16:20:07 8 16:20:07 16:20:07