Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e5a0b3e55ec9dc6fa0154916c923036ad023fb3d 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-ssh7718949722633866714.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4246761930684709964.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14510091340408881382.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6816042923100101958.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10445740001820567861.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-572’ is offline ‘prd-ubuntu20.04-docker-8c-8g-612’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-607’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-614 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision e5a0b3e55ec9dc6fa0154916c923036ad023fb3d (main) Commit message: "Merge pull request #1212 from hahattan/issue-1189" > 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 e5a0b3e55ec9dc6fa0154916c923036ad023fb3d # timeout=10 > git rev-list --no-walk e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:33:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:33:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:33:37 ========================================================= 16:33:37 EdgeX Global Pipelines Version Info 16:33:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:33:38 ------------------- 16:33:38 stable info: 16:33:38 ------------------- 16:33:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:33:38 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:33:38 Message: update stable to v1.0.239 16:33:39 ------------------- 16:33:39 experimental info: 16:33:39 ------------------- 16:33:39 Commited By: **** collab-it+edgex@linuxfoundation.org 16:33:39 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 16:33:39 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5a0b3e [Pipeline] echo 16:33:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:33:40 provisioning config files... 16:33:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config11267605406234593726tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:33:40 ---> docker-login.sh 16:33:40 nexus3.edgexfoundry.org:10001 16:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:41 Configure a credential helper to remove this warning. See 16:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:41 16:33:41 Login Succeeded 16:33:41 nexus3.edgexfoundry.org:10002 16:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:41 Configure a credential helper to remove this warning. See 16:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:41 16:33:41 Login Succeeded 16:33:41 nexus3.edgexfoundry.org:10003 16:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:41 Configure a credential helper to remove this warning. See 16:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:41 16:33:41 Login Succeeded 16:33:41 nexus3.edgexfoundry.org:10004 16:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:41 Configure a credential helper to remove this warning. See 16:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:41 16:33:41 Login Succeeded 16:33:41 docker.io 16:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:41 Configure a credential helper to remove this warning. See 16:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:41 16:33:41 Login Succeeded 16:33:41 ---> docker-login.sh ends [Pipeline] } 16:33:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:33:42 + git rev-list -1 --merges e5a0b3e55ec9dc6fa0154916c923036ad023fb3d~1..e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] echo 16:33:42 -----------> git rev-list -1 --merges e5a0b3e55ec9dc6fa0154916c923036ad023fb3d~1..e5a0b3e55ec9dc6fa0154916c923036ad023fb3d e5a0b3e55ec9dc6fa0154916c923036ad023fb3d 16:33:42 e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [false] [Pipeline] sh 16:33:42 + git log --format=format:%s -1 e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] echo 16:33:42 ========================================================= 16:33:42 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:33:42 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:33:42 + git log --format=format:%s -1 e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] echo 16:33:42 [semverPrep] GIT_COMMIT: e5a0b3e55ec9dc6fa0154916c923036ad023fb3d, Commit Message: Merge pull request #1212 from hahattan/issue-1189 [Pipeline] echo 16:33:42 [semverPrep] This is not a build commit. [Pipeline] sh 16:33:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:33:43 + grep -v github /etc/ssh/ssh_known_hosts 16:33:43 + [ -e /tmp/ssh_known_hosts ] 16:33:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:33:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:33:43 + sudo tee -a /etc/ssh/ssh_known_hosts 16:33:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:33:43 16:33:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:33:43 0.1.4: Pulling from edgex-devops/py-git-semver 16:33:43 b85a868b505f: Pulling fs layer 16:33:43 e2be974225ed: Pulling fs layer 16:33:43 339a4e72a1f5: Pulling fs layer 16:33:43 988bab9f4d93: Pulling fs layer 16:33:43 1469e6f7b9e6: Pulling fs layer 16:33:43 eaf3925da568: Pulling fs layer 16:33:43 bab4dde63d76: Pulling fs layer 16:33:43 bde34c3a00c8: Pulling fs layer 16:33:43 b352a97aabf1: Pulling fs layer 16:33:43 4872d77fe225: Pulling fs layer 16:33:43 5851b861e8e6: Pulling fs layer 16:33:43 4872d77fe225: Waiting 16:33:43 5851b861e8e6: Waiting 16:33:43 bde34c3a00c8: Waiting 16:33:43 eaf3925da568: Waiting 16:33:43 988bab9f4d93: Waiting 16:33:43 b352a97aabf1: Waiting 16:33:43 1469e6f7b9e6: Waiting 16:33:43 bab4dde63d76: Waiting 16:33:43 e2be974225ed: Verifying Checksum 16:33:43 e2be974225ed: Download complete 16:33:43 988bab9f4d93: Download complete 16:33:44 339a4e72a1f5: Verifying Checksum 16:33:44 339a4e72a1f5: Download complete 16:33:44 1469e6f7b9e6: Verifying Checksum 16:33:44 1469e6f7b9e6: Download complete 16:33:44 eaf3925da568: Download complete 16:33:44 bde34c3a00c8: Verifying Checksum 16:33:44 bde34c3a00c8: Download complete 16:33:44 b352a97aabf1: Verifying Checksum 16:33:44 b352a97aabf1: Download complete 16:33:44 4872d77fe225: Verifying Checksum 16:33:44 4872d77fe225: Download complete 16:33:44 5851b861e8e6: Download complete 16:33:44 b85a868b505f: Verifying Checksum 16:33:44 b85a868b505f: Download complete 16:33:44 bab4dde63d76: Verifying Checksum 16:33:44 bab4dde63d76: Download complete 16:33:45 b85a868b505f: Pull complete 16:33:45 e2be974225ed: Pull complete 16:33:46 339a4e72a1f5: Pull complete 16:33:46 988bab9f4d93: Pull complete 16:33:46 1469e6f7b9e6: Pull complete 16:33:46 eaf3925da568: Pull complete 16:33:48 bab4dde63d76: Pull complete 16:33:48 bde34c3a00c8: Pull complete 16:33:48 b352a97aabf1: Pull complete 16:33:48 4872d77fe225: Pull complete 16:33:48 5851b861e8e6: Pull complete 16:33:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:33:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:33:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:33:48 prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container 16:33:48 $ 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:33:50 $ docker top 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad -eo pid,comm 16:33:50 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:33:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:33:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:33:50 [ssh-agent] Looking for ssh-agent implementation... 16:33:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:33:50 $ docker exec 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad ssh-agent 16:33:50 SSH_AUTH_SOCK=/tmp/ssh-nUkVdbp7ltrx/agent.32 16:33:50 SSH_AGENT_PID=38 16:33:50 Running ssh-add (command line suppressed) 16:33:50 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11863516716807039837.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_11863516716807039837.key) 16:33:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:33:50 + git tag --points-at HEAD [Pipeline] } 16:33:50 $ docker exec --env ******** --env ******** 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad ssh-agent -k 16:33:51 unset SSH_AUTH_SOCK; 16:33:51 unset SSH_AGENT_PID; 16:33:51 echo Agent pid 38 killed; 16:33:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:33:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:33:51 [ssh-agent] Looking for ssh-agent implementation... 16:33:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:33:51 $ docker exec 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad ssh-agent 16:33:51 SSH_AUTH_SOCK=/tmp/ssh-KeW19ip90jki/agent.69 16:33:51 SSH_AGENT_PID=75 16:33:51 Running ssh-add (command line suppressed) 16:33:51 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12732728288490572644.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_12732728288490572644.key) 16:33:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:33:51 + git semver init 16:33:52 2022-09-22 16:33:52,029 [run_init] DEBUG init version:0.0.0 force:False 16:33:52 2022-09-22 16:33:52,030 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:33:52 2022-09-22 16:33:52,030 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/edgexfoundry_device-sdk-go_main/.semver 16:33:52 2022-09-22 16:33:52,031 [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:33:53 2022-09-22 16:33:53,021 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-sdk-go_main/.git/info/exclude 16:33:53 2022-09-22 16:33:53,021 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:False 16:33:53 2022-09-22 16:33:53,021 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:33:53 2022-09-22 16:33:53,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:33:53 2.3.0-dev.24 [Pipeline] } 16:33:53 $ docker exec --env ******** --env ******** 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad ssh-agent -k 16:33:53 unset SSH_AUTH_SOCK; 16:33:53 unset SSH_AGENT_PID; 16:33:53 echo Agent pid 75 killed; 16:33:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:33:53 + git semver [Pipeline] } 16:33:54 $ docker stop --time=1 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad 16:33:55 $ docker rm -f 6aed789e854d01d8da9d04d2440575f083f983f148ec4494436b455aa5fcc6ad [Pipeline] // withDockerContainer [Pipeline] sh 16:33:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:33:56 Stashed 1 file(s) [Pipeline] echo 16:33:56 [edgeXSemver]: initialized semver on version 2.3.0-dev.24 [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:33:56 provisioning config files... 16:33:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1926500608686908412tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:33:56 ---> docker-login.sh 16:33:56 nexus3.edgexfoundry.org:10001 16:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:56 Configure a credential helper to remove this warning. See 16:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:56 16:33:56 Login Succeeded 16:33:56 nexus3.edgexfoundry.org:10002 16:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:56 Configure a credential helper to remove this warning. See 16:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:56 16:33:56 Login Succeeded 16:33:56 nexus3.edgexfoundry.org:10003 16:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:56 Configure a credential helper to remove this warning. See 16:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:56 16:33:56 Login Succeeded 16:33:56 nexus3.edgexfoundry.org:10004 16:33:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:56 Configure a credential helper to remove this warning. See 16:33:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:56 16:33:56 Login Succeeded 16:33:57 docker.io 16:33:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:33:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:33:57 Configure a credential helper to remove this warning. See 16:33:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:33:57 16:33:57 Login Succeeded 16:33:57 ---> docker-login.sh ends [Pipeline] } 16:33:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:33:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:33:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:33:57 ========================================================= 16:33:57 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:33:57 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:33:57 + 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:33:57 Sending build context to Docker daemon 9.873MB 16:33:57 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 16:33:57 Step 2/11 : FROM ${BASE} AS builder 16:33:57 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:33:57 2408cc74d12b: Pulling fs layer 16:33:57 ea60b727a1ce: Pulling fs layer 16:33:57 30c4a7721957: Pulling fs layer 16:33:57 370296b7ddb6: Pulling fs layer 16:33:57 7c6cee850709: Pulling fs layer 16:33:57 39a5fcdaea64: Pulling fs layer 16:33:57 d94ebbe4e438: Pulling fs layer 16:33:57 bcfd1f05c69d: Pulling fs layer 16:33:57 59ccb84bbe0f: Pulling fs layer 16:33:57 39a5fcdaea64: Waiting 16:33:57 d94ebbe4e438: Waiting 16:33:57 59ccb84bbe0f: Waiting 16:33:57 bcfd1f05c69d: Waiting 16:33:57 370296b7ddb6: Waiting 16:33:57 7c6cee850709: Waiting 16:33:57 30c4a7721957: Verifying Checksum 16:33:57 30c4a7721957: Download complete 16:33:57 ea60b727a1ce: Verifying Checksum 16:33:57 ea60b727a1ce: Download complete 16:33:57 7c6cee850709: Verifying Checksum 16:33:57 7c6cee850709: Download complete 16:33:57 39a5fcdaea64: Download complete 16:33:57 2408cc74d12b: Verifying Checksum 16:33:57 2408cc74d12b: Download complete 16:33:57 d94ebbe4e438: Verifying Checksum 16:33:57 d94ebbe4e438: Download complete 16:33:57 2408cc74d12b: Pull complete 16:33:58 ea60b727a1ce: Pull complete 16:33:58 30c4a7721957: Pull complete 16:33:58 59ccb84bbe0f: Verifying Checksum 16:33:58 59ccb84bbe0f: Download complete 16:33:58 bcfd1f05c69d: Verifying Checksum 16:33:58 bcfd1f05c69d: Download complete 16:33:58 370296b7ddb6: Verifying Checksum 16:33:58 370296b7ddb6: Download complete 16:34:02 370296b7ddb6: Pull complete 16:34:02 7c6cee850709: Pull complete 16:34:02 39a5fcdaea64: Pull complete 16:34:02 d94ebbe4e438: Pull complete 16:34:04 bcfd1f05c69d: Pull complete 16:34:05 59ccb84bbe0f: Pull complete 16:34:05 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 16:34:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:34:05 ---> a4fb48ad2a94 16:34:05 Step 3/11 : ARG MAKE=make build 16:34:07 ---> Running in 2791895f8ba2 16:34:07 Removing intermediate container 2791895f8ba2 16:34:07 ---> 32c68cf3b9e3 16:34:07 Step 4/11 : WORKDIR /device-sdk-go 16:34:07 ---> Running in f24a0b41fe3a 16:34:07 Removing intermediate container f24a0b41fe3a 16:34:07 ---> 2ecc1090ce1f 16:34:07 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:34:07 ---> Running in bbb0c5fe03a3 16:34:07 Removing intermediate container bbb0c5fe03a3 16:34:07 ---> 7892de2f86f4 16:34:07 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:34:07 ---> Running in f2959889c7c4 16:34:08 Removing intermediate container f2959889c7c4 16:34:08 ---> eacdfcf1b398 16:34:08 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:34:08 ---> Running in 78fbb62ae028 16:34:08 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:34:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:34:09 OK: 211 MiB in 51 packages 16:34:10 Removing intermediate container 78fbb62ae028 16:34:10 ---> a3c4abea0715 16:34:10 Step 8/11 : COPY go.mod vendor* ./ 16:34:10 ---> 13b591819322 16:34:10 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:34:10 ---> Running in 35e4708f4964 16:34:11 Still waiting to schedule task 16:34:11 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:34:25 Removing intermediate container 35e4708f4964 16:34:25 ---> 4b0b6f519503 16:34:25 Step 10/11 : COPY . . 16:34:25 ---> 0b61fd605743 16:34:25 Step 11/11 : RUN ${MAKE} 16:34:25 ---> Running in 853d8aad5e2b 16:34:25 noop 16:34:26 Removing intermediate container 853d8aad5e2b 16:34:26 ---> 931718e7e2b2 16:34:26 Successfully built 931718e7e2b2 16:34:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:26 + docker inspect -f . ci-base-image-x86_64 16:34:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:26 prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container 16:34:26 $ 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:34:26 $ docker top 73a28c4e2e4c5ee2485da9f3b0c847467d9325eeef195e97d26c8682c0a2a5ae -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:27 + go version 16:34:27 go version go1.18.3 linux/amd64 [Pipeline] } 16:34:27 $ docker stop --time=1 73a28c4e2e4c5ee2485da9f3b0c847467d9325eeef195e97d26c8682c0a2a5ae 16:34:28 $ docker rm -f 73a28c4e2e4c5ee2485da9f3b0c847467d9325eeef195e97d26c8682c0a2a5ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:34:28 + docker inspect -f . ci-base-image-x86_64 16:34:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:34:28 prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container 16:34:29 $ 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:34:29 $ docker top 3b7e787a174712a9ae63d5615838647b56e3490d0c9dec37fd4450b4b256f5d6 -eo pid,comm [Pipeline] { [Pipeline] sh 16:34:29 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] fileExists [Pipeline] sh 16:34:30 + make test 16:34:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:34:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:34:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements 16:34:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.111s coverage: 78.9% of statements 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 16:34:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.091s coverage: 60.0% of statements 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:34:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.115s coverage: 54.4% of statements 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:34:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 65.1% of statements 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:34:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.729s coverage: 89.2% of statements 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:34:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.5% of statements 16:34:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:35:09 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:35:09 GO111MODULE=on go vet ./... 16:35:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:35:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:35:10 ./bin/test-attribution-txt.sh 16:35:10 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 16:35:10 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 16:35:10 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 16:35:10 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 16:35:10 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:35:11 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:35:11 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 16:35:11 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 16:35:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:35:11 $ docker stop --time=1 3b7e787a174712a9ae63d5615838647b56e3490d0c9dec37fd4450b4b256f5d6 16:35:13 $ docker rm -f 3b7e787a174712a9ae63d5615838647b56e3490d0c9dec37fd4450b4b256f5d6 [Pipeline] // withDockerContainer [Pipeline] sh 16:35:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:35:13 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:35:14 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:35:14 + ls -al . 16:35:14 total 276 16:35:14 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 16:34 . 16:35:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:33 .. 16:35:14 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:33 .dockerignore 16:35:14 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:34 .git 16:35:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:33 .github 16:35:14 -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:33 .gitignore 16:35:14 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:33 .golangci.yml 16:35:14 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:33 .semver 16:35:14 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:33 CHANGELOG.md 16:35:14 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:33 GOVERNANCE.md 16:35:14 -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:33 Jenkinsfile 16:35:14 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:33 LICENSE 16:35:14 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:33 Makefile 16:35:14 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:33 OWNERS.md 16:35:14 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:33 README.md 16:35:14 -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 16:33 VERSION 16:35:14 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:33 bin 16:35:14 -rw-r--r-- 1 jenkins jenkins 101795 Sep 22 16:34 coverage.out 16:35:14 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:33 example 16:35:14 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 16:33 go.mod 16:35:14 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 16:33 go.sum 16:35:14 drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:33 internal 16:35:14 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:33 openapi 16:35:14 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:33 pkg 16:35:14 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:33 snap 16:35:14 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:14 + 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=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d --label arch=amd64 --label version=2.3.0-dev.24 . 16:35:14 Sending build context to Docker daemon 9.976MB 16:35:14 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:35:14 Step 2/25 : FROM ${BASE} AS builder 16:35:14 ---> 931718e7e2b2 16:35:14 Step 3/25 : ARG MAKE=make build 16:35:14 ---> Running in 488fa04ef92e 16:35:15 Removing intermediate container 488fa04ef92e 16:35:15 ---> 31ced8356290 16:35:15 Step 4/25 : WORKDIR /device-sdk-go 16:35:15 ---> Running in 8ffe9d5acf40 16:35:15 Removing intermediate container 8ffe9d5acf40 16:35:15 ---> 27742b94748a 16:35:15 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:35:15 ---> Running in f9b9ab8d296d 16:35:15 Removing intermediate container f9b9ab8d296d 16:35:15 ---> 88478d0be7dc 16:35:15 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:35:15 ---> Running in 3c996217f09d 16:35:15 Removing intermediate container 3c996217f09d 16:35:15 ---> e5a4fcd469fa 16:35:15 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:35:15 ---> Running in 18667d7d4e33 16:35:16 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:35:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:35:17 OK: 211 MiB in 51 packages 16:35:17 Removing intermediate container 18667d7d4e33 16:35:17 ---> c4664c4ba3bc 16:35:17 Step 8/25 : COPY go.mod vendor* ./ 16:35:17 ---> 779edd8793c1 16:35:17 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:35:17 ---> Running in d126d381b97d 16:35:18 Removing intermediate container d126d381b97d 16:35:18 ---> b80742dd262b 16:35:18 Step 10/25 : COPY . . 16:35:19 ---> 4f64615f9822 16:35:19 Step 11/25 : RUN ${MAKE} 16:35:19 ---> Running in 6db2aceecfe8 16:35:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:35:37 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:35:39 Removing intermediate container 6db2aceecfe8 16:35:39 ---> 5740b3bc5698 16:35:39 Step 12/25 : FROM alpine:3.16 16:35:40 3.16: Pulling from library/alpine 16:35:40 213ec9aee27d: Pulling fs layer 16:35:40 213ec9aee27d: Verifying Checksum 16:35:40 213ec9aee27d: Download complete 16:35:40 213ec9aee27d: Pull complete 16:35:40 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:35:40 Status: Downloaded newer image for alpine:3.16 16:35:40 ---> 9c6f07244728 16:35:40 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:35:40 ---> Running in 3f6905b925b8 16:35:40 Removing intermediate container 3f6905b925b8 16:35:40 ---> fa9008f88f38 16:35:40 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:35:40 ---> Running in 7f4f0e543eb9 16:35:41 Removing intermediate container 7f4f0e543eb9 16:35:41 ---> 64e12f8f8f8f 16:35:41 Step 15/25 : RUN apk add --update --no-cache zeromq 16:35:41 ---> Running in a4eb62286fa3 16:35:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:35:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:35:42 (1/5) Installing libgcc (11.2.1_git20220219-r2) 16:35:42 (2/5) Installing libsodium (1.0.18-r0) 16:35:42 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 16:35:43 (4/5) Installing libzmq (4.3.4-r0) 16:35:43 (5/5) Installing zeromq (4.3.4-r0) 16:35:43 Executing busybox-1.35.0-r17.trigger 16:35:43 OK: 8 MiB in 19 packages 16:35:43 Removing intermediate container a4eb62286fa3 16:35:43 ---> 56d81c81ab9a 16:35:43 Step 16/25 : WORKDIR / 16:35:43 ---> Running in 3ccc34366396 16:35:43 Removing intermediate container 3ccc34366396 16:35:43 ---> fbb0bd5f5245 16:35:43 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:35:43 ---> ff1df9493f3e 16:35:43 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:35:44 ---> e9e5fc9e87cd 16:35:44 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:35:44 ---> f30007c2d8f6 16:35:44 Step 20/25 : EXPOSE 59999 16:35:44 ---> Running in 83d80515fd14 16:35:44 Removing intermediate container 83d80515fd14 16:35:44 ---> d94061ea75f6 16:35:44 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:35:44 ---> Running in 7cd3e3f5be61 16:35:44 Removing intermediate container 7cd3e3f5be61 16:35:44 ---> 1c5160730ba1 16:35:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:35:45 ---> Running in a51959b9a186 16:35:45 Removing intermediate container a51959b9a186 16:35:45 ---> 4a9d7804c7b2 16:35:45 Step 23/25 : LABEL arch=amd64 16:35:45 ---> Running in bc80b0b2151a 16:35:45 Removing intermediate container bc80b0b2151a 16:35:45 ---> 8c5b3e563456 16:35:45 Step 24/25 : LABEL git_sha=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d 16:35:45 ---> Running in 3965a6084697 16:35:45 Removing intermediate container 3965a6084697 16:35:45 ---> 1964891e5f65 16:35:45 Step 25/25 : LABEL version=2.3.0-dev.24 16:35:45 ---> Running in bf51d0858fce 16:35:45 Removing intermediate container bf51d0858fce 16:35:45 ---> 15bca8a740c7 16:35:45 [Warning] One or more build-args [ARCH] were not consumed 16:35:45 Successfully built 15bca8a740c7 16:35:45 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:35:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:35:45 16:35:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:35:45 latest: Pulling from edgex-lftools-log-publisher 16:35:45 5eb5b503b376: Pulling fs layer 16:35:45 5c69ac0246d0: Pulling fs layer 16:35:45 ec43610c2a17: Pulling fs layer 16:35:45 3a2ae6a8a46f: Pulling fs layer 16:35:45 33b1e0a273af: Pulling fs layer 16:35:45 5d3b04190fa2: Pulling fs layer 16:35:45 2f39f015ded8: Pulling fs layer 16:35:45 3a2ae6a8a46f: Waiting 16:35:45 33b1e0a273af: Waiting 16:35:45 5d3b04190fa2: Waiting 16:35:45 2f39f015ded8: Waiting 16:35:45 5c69ac0246d0: Verifying Checksum 16:35:45 5c69ac0246d0: Download complete 16:35:45 3a2ae6a8a46f: Verifying Checksum 16:35:45 3a2ae6a8a46f: Download complete 16:35:45 33b1e0a273af: Verifying Checksum 16:35:45 33b1e0a273af: Download complete 16:35:46 5d3b04190fa2: Download complete 16:35:46 ec43610c2a17: Verifying Checksum 16:35:46 ec43610c2a17: Download complete 16:35:46 5eb5b503b376: Download complete 16:35:46 2f39f015ded8: Download complete 16:35:47 5eb5b503b376: Pull complete 16:35:47 5c69ac0246d0: Pull complete 16:35:48 ec43610c2a17: Pull complete 16:35:48 3a2ae6a8a46f: Pull complete 16:35:48 33b1e0a273af: Pull complete 16:35:48 5d3b04190fa2: Pull complete 16:35:52 2f39f015ded8: Pull complete 16:35:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:35:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:35:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:52 prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container 16:35:52 $ 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:35:54 $ docker top 21f1e7a2aa921124e30fcf53f0d458dec86bbe0c4e4ad481fd532c6f73d27a78 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:54 ---> job-cost.sh 16:35:54 lf-activate-venv: SKIPPING 16:35:54 INFO: No Stack... 16:35:54 INFO: Retrieving Pricing Info for: v3-standard-8 16:35:55 INFO: Archiving Costs [Pipeline] sh 16:35:55 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 16:35:55 + cut -d, -f6 [Pipeline] lock 16:35:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] 16:35:55 Resource [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] did not exist. Created. 16:35:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:35:56 + echo total: 0.2199999988079071 [Pipeline] stash 16:35:56 Stashed 1 file(s) [Pipeline] } 16:35:56 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 16:35:56 $ docker stop --time=1 21f1e7a2aa921124e30fcf53f0d458dec86bbe0c4e4ad481fd532c6f73d27a78 16:35:57 $ docker rm -f 21f1e7a2aa921124e30fcf53f0d458dec86bbe0c4e4ad481fd532c6f73d27a78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:37:13 Running on prd-ubuntu20.04-docker-arm64-4c-16g-616 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 16:37:13 Running in /w/workspace/device-sdk-go/99 [Pipeline] { [Pipeline] checkout 16:37:13 The recommended git tool is: git 16:37:19 using credential edgex-jenkins-ssh 16:37:19 Cloning the remote Git repository 16:37:19 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:37:19 > git init /w/workspace/device-sdk-go/99 # timeout=10 16:37:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:37:19 > git --version # timeout=10 16:37:19 > git --version # 'git version 2.25.1' 16:37:19 using GIT_SSH to set credentials SSH Credentials for GitHub 16:37:19 Verifying host key using known hosts file 16:37:19 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:37:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:37:22 Avoid second fetch 16:37:22 Checking out Revision e5a0b3e55ec9dc6fa0154916c923036ad023fb3d (main) 16:37:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:37:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:37:22 > git config core.sparsecheckout # timeout=10 16:37:22 > git checkout -f e5a0b3e55ec9dc6fa0154916c923036ad023fb3d # timeout=10 16:37:22 Commit message: "Merge pull request #1212 from hahattan/issue-1189" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:37:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:37:23 % Total % Received % Xferd Average Speed Time Time Time Current 16:37:23 Dload Upload Total Spent Left Speed 16:37:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 215k 0 --:--:-- --:--:-- --:--:-- 219k [Pipeline] sh 16:37:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:37:24 + + sudo teesudo /etc/docker/daemon.new jq 16:37:24 . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:37:24 { 16:37:24 "registry-mirrors": [ 16:37:24 "https://nexus3.edgexfoundry.org:10001" 16:37:24 ], 16:37:24 "bip": "10.250.0.254/24", 16:37:24 "hosts": [ 16:37:24 "tcp://0.0.0.0:5555", 16:37:24 "unix:///var/run/docker.sock" 16:37:24 ], 16:37:24 "mtu": 1458, 16:37:24 "selinux-enabled": true, 16:37:24 "seccomp-profile": "/etc/docker/seccomp.json" 16:37:24 } [Pipeline] sh 16:37:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:37:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:37:43 provisioning config files... 16:37:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/99@tmp/config11231763704865920807tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:37:43 ---> docker-login.sh 16:37:43 nexus3.edgexfoundry.org:10001 16:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:44 Configure a credential helper to remove this warning. See 16:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:44 16:37:44 Login Succeeded 16:37:44 nexus3.edgexfoundry.org:10002 16:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:45 Configure a credential helper to remove this warning. See 16:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:45 16:37:45 Login Succeeded 16:37:45 nexus3.edgexfoundry.org:10003 16:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:45 Configure a credential helper to remove this warning. See 16:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:45 16:37:45 Login Succeeded 16:37:45 nexus3.edgexfoundry.org:10004 16:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:45 Configure a credential helper to remove this warning. See 16:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:45 16:37:45 Login Succeeded 16:37:45 docker.io 16:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:37:46 Configure a credential helper to remove this warning. See 16:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:37:46 16:37:46 Login Succeeded 16:37:46 ---> docker-login.sh ends [Pipeline] } 16:37:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:37:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:37:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:37:46 ========================================================= 16:37:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:37:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:37:47 + 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:37:47 Sending build context to Docker daemon 5.299MB 16:37:47 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 16:37:47 Step 2/11 : FROM ${BASE} AS builder 16:37:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:37:47 b3c136eddcbf: Pulling fs layer 16:37:47 c0a3192eca97: Pulling fs layer 16:37:47 a050256f5b6f: Pulling fs layer 16:37:47 656be50a0ddc: Pulling fs layer 16:37:47 2bbca73fdf42: Pulling fs layer 16:37:47 46d945488cbd: Pulling fs layer 16:37:47 8a5474983e97: Pulling fs layer 16:37:47 329c88fbcd65: Pulling fs layer 16:37:47 46d945488cbd: Waiting 16:37:47 656be50a0ddc: Waiting 16:37:47 2bbca73fdf42: Waiting 16:37:47 8a5474983e97: Waiting 16:37:47 329c88fbcd65: Waiting 16:37:47 a050256f5b6f: Verifying Checksum 16:37:47 a050256f5b6f: Download complete 16:37:47 c0a3192eca97: Verifying Checksum 16:37:47 c0a3192eca97: Download complete 16:37:47 2bbca73fdf42: Verifying Checksum 16:37:47 2bbca73fdf42: Download complete 16:37:47 46d945488cbd: Verifying Checksum 16:37:47 46d945488cbd: Download complete 16:37:47 b3c136eddcbf: Verifying Checksum 16:37:47 b3c136eddcbf: Download complete 16:37:48 329c88fbcd65: Verifying Checksum 16:37:48 329c88fbcd65: Download complete 16:37:49 b3c136eddcbf: Pull complete 16:37:50 c0a3192eca97: Pull complete 16:37:50 8a5474983e97: Verifying Checksum 16:37:50 8a5474983e97: Download complete 16:37:50 a050256f5b6f: Pull complete 16:37:50 656be50a0ddc: Verifying Checksum 16:37:50 656be50a0ddc: Download complete 16:38:02 656be50a0ddc: Pull complete 16:38:02 2bbca73fdf42: Pull complete 16:38:03 46d945488cbd: Pull complete 16:38:09 8a5474983e97: Pull complete 16:38:11 329c88fbcd65: Pull complete 16:38:11 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 16:38:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:38:11 ---> ff4287adb874 16:38:11 Step 3/11 : ARG MAKE=make build 16:38:13 ---> Running in 12986e0ebe74 16:38:13 Removing intermediate container 12986e0ebe74 16:38:13 ---> 0fa33f364b2c 16:38:13 Step 4/11 : WORKDIR /device-sdk-go 16:38:13 ---> Running in 6bbc2f76c5df 16:38:14 Removing intermediate container 6bbc2f76c5df 16:38:14 ---> 2513540806a4 16:38:14 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:38:14 ---> Running in ba0171f43364 16:38:14 Removing intermediate container ba0171f43364 16:38:14 ---> aedebacd9102 16:38:14 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:38:14 ---> Running in e2ae140d792a 16:38:16 Removing intermediate container e2ae140d792a 16:38:16 ---> 0f5788e826d2 16:38:16 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:38:16 ---> Running in fc15ab38873c 16:38:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:38:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:38:19 OK: 221 MiB in 51 packages 16:38:20 Removing intermediate container fc15ab38873c 16:38:20 ---> 2ec4d0496d55 16:38:20 Step 8/11 : COPY go.mod vendor* ./ 16:38:20 ---> d7d3f0fa12bc 16:38:20 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:38:20 ---> Running in 2f7ba389fbb4 16:39:07 Removing intermediate container 2f7ba389fbb4 16:39:07 ---> 15a9c3fddbfd 16:39:07 Step 10/11 : COPY . . 16:39:08 ---> 67833bd31926 16:39:08 Step 11/11 : RUN ${MAKE} 16:39:08 ---> Running in e19f8cdabae7 16:39:09 noop 16:39:10 Removing intermediate container e19f8cdabae7 16:39:10 ---> 75e4568a53c0 16:39:10 Successfully built 75e4568a53c0 16:39:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:10 + docker inspect -f . ci-base-image-arm64 16:39:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:10 prd-ubuntu20.04-docker-arm64-4c-16g-616 does not seem to be running inside a container 16:39:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/99 -v /w/workspace/device-sdk-go/99:/w/workspace/device-sdk-go/99:rw,z -v /w/workspace/device-sdk-go/99@tmp:/w/workspace/device-sdk-go/99@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:39:11 $ docker top 06d17e5437b3b1180752f815cf2214515edde3df7c40ce73eca08f5f84547be1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:12 + go version 16:39:12 go version go1.18.3 linux/arm64 [Pipeline] } 16:39:12 $ docker stop --time=1 06d17e5437b3b1180752f815cf2214515edde3df7c40ce73eca08f5f84547be1 16:39:14 $ docker rm -f 06d17e5437b3b1180752f815cf2214515edde3df7c40ce73eca08f5f84547be1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:39:14 + docker inspect -f . ci-base-image-arm64 16:39:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:39:15 prd-ubuntu20.04-docker-arm64-4c-16g-616 does not seem to be running inside a container 16:39:15 $ 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/99 -v /w/workspace/device-sdk-go/99:/w/workspace/device-sdk-go/99:rw,z -v /w/workspace/device-sdk-go/99@tmp:/w/workspace/device-sdk-go/99@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:39:16 $ docker top 3ef09cfd9c1da74b56bd61c3541a181617478248b4651689b722f212766513a8 -eo pid,comm [Pipeline] { [Pipeline] sh 16:39:16 + git config --global --add safe.directory /w/workspace/device-sdk-go/99 [Pipeline] fileExists [Pipeline] sh 16:39:17 + make test 16:39:17 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:39:49 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:41:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:41:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:41:56 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:41:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 16:41:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:41:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.279s coverage: 27.6% of statements 16:41:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.387s coverage: 78.9% of statements 16:41:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 16:42:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.404s coverage: 60.0% of statements 16:42:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:42:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:42:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.899s coverage: 54.4% of statements 16:42:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:42:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 16:42:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:42:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:42:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.732s coverage: 65.1% of statements 16:42:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 16:42:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 16:42:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.814s coverage: 89.2% of statements 16:42:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:42:16 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.250s coverage: 4.5% of statements 16:42:16 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:42:16 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:42:16 GO111MODULE=on go vet ./... 16:44:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:44:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:44:08 ./bin/test-attribution-txt.sh 16:44:08 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 16:44:08 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 16:44:08 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 16:44:08 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 16:44:08 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 16:44:08 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 16:44:08 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 16:44:08 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 16:44:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:44:08 $ docker stop --time=1 3ef09cfd9c1da74b56bd61c3541a181617478248b4651689b722f212766513a8 16:44:10 $ docker rm -f 3ef09cfd9c1da74b56bd61c3541a181617478248b4651689b722f212766513a8 [Pipeline] // withDockerContainer [Pipeline] sh 16:44:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:44:11 Warning: overwriting stash ‘coverage-report’ 16:44:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:44:12 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:44:13 + ls -al . 16:44:13 total 272 16:44:13 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 16:39 . 16:44:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:37 .. 16:44:13 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 16:37 .dockerignore 16:44:13 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 16:37 .git 16:44:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:37 .github 16:44:13 -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 16:37 .gitignore 16:44:13 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 16:37 .golangci.yml 16:44:13 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 16:37 CHANGELOG.md 16:44:13 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 16:37 GOVERNANCE.md 16:44:13 -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 16:37 Jenkinsfile 16:44:13 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 16:37 LICENSE 16:44:13 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 16:37 Makefile 16:44:13 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 16:37 OWNERS.md 16:44:13 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 16:37 README.md 16:44:13 -rw-rw-r-- 1 jenkins jenkins 12 Sep 22 16:33 VERSION 16:44:13 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 16:37 bin 16:44:13 -rw-r--r-- 1 jenkins jenkins 101794 Sep 22 16:42 coverage.out 16:44:13 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 16:37 example 16:44:13 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 16:37 go.mod 16:44:13 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 16:37 go.sum 16:44:13 drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 16:37 internal 16:44:13 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 16:37 openapi 16:44:13 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 16:37 pkg 16:44:13 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 16:37 snap 16:44:13 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 16:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:44:13 + 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=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d --label arch=arm64 --label version=2.3.0-dev.24 . 16:44:13 Sending build context to Docker daemon 5.402MB 16:44:13 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:44:13 Step 2/25 : FROM ${BASE} AS builder 16:44:13 ---> 75e4568a53c0 16:44:13 Step 3/25 : ARG MAKE=make build 16:44:13 ---> Running in 1643126abe87 16:44:14 Removing intermediate container 1643126abe87 16:44:14 ---> 0ceffe9e284e 16:44:14 Step 4/25 : WORKDIR /device-sdk-go 16:44:14 ---> Running in 419399115fa9 16:44:14 Removing intermediate container 419399115fa9 16:44:14 ---> 7c36680f062f 16:44:14 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:44:14 ---> Running in 492bf38f0f70 16:44:15 Removing intermediate container 492bf38f0f70 16:44:15 ---> c6ad753d4188 16:44:15 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:44:15 ---> Running in 8d27c5b4004d 16:44:17 Removing intermediate container 8d27c5b4004d 16:44:17 ---> 75fd4e8731ff 16:44:17 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:44:17 ---> Running in 8af1ad07db79 16:44:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:44:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:44:20 OK: 221 MiB in 51 packages 16:44:21 Removing intermediate container 8af1ad07db79 16:44:21 ---> 10743494ff7b 16:44:21 Step 8/25 : COPY go.mod vendor* ./ 16:44:21 ---> 1d9bc3ac2b2e 16:44:21 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:44:21 ---> Running in ac77393cc5e1 16:44:23 Removing intermediate container ac77393cc5e1 16:44:23 ---> 89bdd113870e 16:44:23 Step 10/25 : COPY . . 16:44:25 ---> ab26e6577b03 16:44:25 Step 11/25 : RUN ${MAKE} 16:44:25 ---> Running in 2a66f57b3357 16:44:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=2.3.0-dev.24" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:46:47 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:46:52 Removing intermediate container 2a66f57b3357 16:46:52 ---> c31b4e082fda 16:46:52 Step 12/25 : FROM alpine:3.16 16:46:52 3.16: Pulling from library/alpine 16:46:52 9b18e9b68314: Pulling fs layer 16:46:52 9b18e9b68314: Verifying Checksum 16:46:52 9b18e9b68314: Download complete 16:46:53 9b18e9b68314: Pull complete 16:46:53 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:46:53 Status: Downloaded newer image for alpine:3.16 16:46:53 ---> a6215f271958 16:46:53 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:46:53 ---> Running in 0f86a2ea2840 16:46:53 Removing intermediate container 0f86a2ea2840 16:46:53 ---> b74e3077ed63 16:46:53 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 16:46:54 ---> Running in 3e2059b5118e 16:46:56 Removing intermediate container 3e2059b5118e 16:46:56 ---> 2ac81d194232 16:46:56 Step 15/25 : RUN apk add --update --no-cache zeromq 16:46:56 ---> Running in 41623eca3dc9 16:46:56 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:46:57 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:46:58 (1/5) Installing libgcc (11.2.1_git20220219-r2) 16:46:58 (2/5) Installing libsodium (1.0.18-r0) 16:46:58 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 16:46:59 (4/5) Installing libzmq (4.3.4-r0) 16:46:59 (5/5) Installing zeromq (4.3.4-r0) 16:46:59 Executing busybox-1.35.0-r17.trigger 16:46:59 OK: 8 MiB in 19 packages 16:47:00 Removing intermediate container 41623eca3dc9 16:47:00 ---> 6c530279967e 16:47:00 Step 16/25 : WORKDIR / 16:47:00 ---> Running in ce788e149f56 16:47:00 Removing intermediate container ce788e149f56 16:47:00 ---> 494fdea4426d 16:47:00 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:47:01 ---> 1112f99ee60c 16:47:01 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:47:02 ---> 74f977f3d859 16:47:02 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:47:03 ---> 3d426a8f42e1 16:47:03 Step 20/25 : EXPOSE 59999 16:47:03 ---> Running in 32cd42d75ab0 16:47:03 Removing intermediate container 32cd42d75ab0 16:47:03 ---> 471298b79937 16:47:03 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:47:03 ---> Running in 7c6be915e21e 16:47:04 Removing intermediate container 7c6be915e21e 16:47:04 ---> ab1930c2918a 16:47:04 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:47:04 ---> Running in fb8ffda4399f 16:47:04 Removing intermediate container fb8ffda4399f 16:47:04 ---> 4b6daf271bb6 16:47:04 Step 23/25 : LABEL arch=arm64 16:47:04 ---> Running in b53c7ea0dcc9 16:47:04 Removing intermediate container b53c7ea0dcc9 16:47:04 ---> 52f511680995 16:47:04 Step 24/25 : LABEL git_sha=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d 16:47:04 ---> Running in fd50325a0463 16:47:05 Removing intermediate container fd50325a0463 16:47:05 ---> 7ea8ac97ace8 16:47:05 Step 25/25 : LABEL version=2.3.0-dev.24 16:47:05 ---> Running in dce21d4f3d77 16:47:05 Removing intermediate container dce21d4f3d77 16:47:05 ---> 0ccfec459d0d 16:47:05 [Warning] One or more build-args [ARCH] were not consumed 16:47:05 Successfully built 0ccfec459d0d 16:47:05 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:47:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:47:06 16:47:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:47:06 arm64: Pulling from edgex-lftools-log-publisher 16:47:06 8998bd30e6a1: Pulling fs layer 16:47:06 04944245beec: Pulling fs layer 16:47:06 699f458cf7ca: Pulling fs layer 16:47:06 765212b225bb: Pulling fs layer 16:47:06 f23df028b6ca: Pulling fs layer 16:47:06 d65c8cfc05b1: Pulling fs layer 16:47:06 2437ff75d9bd: Pulling fs layer 16:47:06 765212b225bb: Waiting 16:47:06 f23df028b6ca: Waiting 16:47:06 d65c8cfc05b1: Waiting 16:47:06 2437ff75d9bd: Waiting 16:47:06 04944245beec: Verifying Checksum 16:47:06 04944245beec: Download complete 16:47:06 765212b225bb: Verifying Checksum 16:47:06 765212b225bb: Download complete 16:47:06 f23df028b6ca: Verifying Checksum 16:47:06 f23df028b6ca: Download complete 16:47:06 d65c8cfc05b1: Verifying Checksum 16:47:06 d65c8cfc05b1: Download complete 16:47:07 699f458cf7ca: Verifying Checksum 16:47:07 699f458cf7ca: Download complete 16:47:07 8998bd30e6a1: Verifying Checksum 16:47:07 8998bd30e6a1: Download complete 16:47:09 2437ff75d9bd: Verifying Checksum 16:47:09 2437ff75d9bd: Download complete 16:47:11 8998bd30e6a1: Pull complete 16:47:11 04944245beec: Pull complete 16:47:12 699f458cf7ca: Pull complete 16:47:12 765212b225bb: Pull complete 16:47:13 f23df028b6ca: Pull complete 16:47:13 d65c8cfc05b1: Pull complete 16:47:28 2437ff75d9bd: Pull complete 16:47:28 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:47:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:47:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:47:29 prd-ubuntu20.04-docker-arm64-4c-16g-616 does not seem to be running inside a container 16:47:29 $ 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/99 -v /w/workspace/device-sdk-go/99:/w/workspace/device-sdk-go/99:rw,z -v /w/workspace/device-sdk-go/99@tmp:/w/workspace/device-sdk-go/99@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:47:32 $ docker top c6656d12f40ddd93bcc19589396805df58b0c0f65b9be7fe1e05fcbc426c33e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:47:32 ---> job-cost.sh 16:47:32 lf-activate-venv: SKIPPING 16:47:32 INFO: No Stack... 16:47:33 INFO: Retrieving Pricing Info for: v3-standard-4 16:47:34 INFO: Archiving Costs [Pipeline] sh 16:47:34 + cat /w/workspace/device-sdk-go/99/archives/cost.csv 16:47:34 + cut -d, -f6 [Pipeline] lock 16:47:34 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] 16:47:34 Resource [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] did not exist. Created. 16:47:34 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:47:35 /w/workspace/device-sdk-go/99@tmp/durable-d4c63912/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:47:35 + echo total: 0.10999999940395355 [Pipeline] stash 16:47:35 Warning: overwriting stash ‘stack-cost’ 16:47:35 Stashed 1 file(s) [Pipeline] } 16:47:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 16:47:35 $ docker stop --time=1 c6656d12f40ddd93bcc19589396805df58b0c0f65b9be7fe1e05fcbc426c33e7 16:47:37 $ docker rm -f c6656d12f40ddd93bcc19589396805df58b0c0f65b9be7fe1e05fcbc426c33e7 [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:47:37 provisioning config files... 16:47:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16056506274790189400tmp [Pipeline] { [Pipeline] sh 16:47:38 + set +x 16:47:38 + + curl -s https://codecov.io/bashbash 16:47:38 -s -- 16:47:38 16:47:38 _____ _ 16:47:38 / ____| | | 16:47:38 | | ___ __| | ___ ___ _____ __ 16:47:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:47:38 | |___| (_) | (_| | __/ (_| (_) \ V / 16:47:38 \_____\___/ \__,_|\___|\___\___/ \_/ 16:47:38 Bash-1.0.6 16:47:38 16:47:38 16:47:38 ==> git version 2.25.1 found 16:47:38 ==> 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:47:38 Release-Date: 2020-01-08 16:47:38 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:47:38 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:47:38 ==> Jenkins CI detected. 16:47:38 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 16:47:38 project root: . 16:47:38 --> token set from env 16:47:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:47:38 ==> Running gcov in . (disable via -X gcov) 16:47:38 ==> Python coveragepy not found 16:47:38 ==> Searching for coverage reports in: 16:47:38 + . 16:47:38 -> Found 1 reports 16:47:38 ==> Detecting git/mercurial file structure 16:47:38 ==> Reading reports 16:47:38 + ./coverage.out bytes=101794 16:47:38 ==> Appending adjustments 16:47:38 https://docs.codecov.io/docs/fixing-reports 16:47:38 + Found adjustments 16:47:38 ==> Gzipping contents 16:47:38 16K /tmp/codecov.SLGo6P.gz 16:47:38 ==> Uploading reports 16:47:38 url: https://codecov.io 16:47:38 query: branch=main&commit=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:47:38 -> Pinging Codecov 16:47:38 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=e5a0b3e55ec9dc6fa0154916c923036ad023fb3d&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:47:39 -> Uploading to 16:47:39 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7E55EF52A471D76F132DFD9A03CDDE97/e5a0b3e55ec9dc6fa0154916c923036ad023fb3d/08dffe35-fdda-43d3-bda7-f60f2f4efb8c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T164738Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7f05b646fea16df71bd008ec19e4609349b748f5c1376f442ed8d107e9c0e892 16:47:39 % Total % Received % Xferd Average Speed Time Time Time Current 16:47:39 Dload Upload Total Spent Left Speed 16:47:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14665 0 0 100 14665 0 60349 --:--:-- --:--:-- --:--:-- 60349 16:47:39 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] } 16:47:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:47:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:47:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:47:39 16:47:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:47:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:47:40 df9b9388f04a: Pulling fs layer 16:47:40 52dc419b0ee2: Pulling fs layer 16:47:40 25bc292e5bac: Pulling fs layer 16:47:40 114826534d7a: Pulling fs layer 16:47:40 4657fd5d0bcf: Pulling fs layer 16:47:40 6ad1cebc031e: Pulling fs layer 16:47:40 8a3aa393b2d8: Pulling fs layer 16:47:40 114826534d7a: Waiting 16:47:40 8a3aa393b2d8: Waiting 16:47:40 6ad1cebc031e: Waiting 16:47:40 4657fd5d0bcf: Waiting 16:47:40 25bc292e5bac: Verifying Checksum 16:47:40 25bc292e5bac: Download complete 16:47:40 52dc419b0ee2: Verifying Checksum 16:47:40 52dc419b0ee2: Download complete 16:47:40 4657fd5d0bcf: Verifying Checksum 16:47:40 4657fd5d0bcf: Download complete 16:47:40 df9b9388f04a: Download complete 16:47:40 df9b9388f04a: Pull complete 16:47:40 6ad1cebc031e: Verifying Checksum 16:47:40 6ad1cebc031e: Download complete 16:47:40 52dc419b0ee2: Pull complete 16:47:40 25bc292e5bac: Pull complete 16:47:40 114826534d7a: Verifying Checksum 16:47:40 114826534d7a: Download complete 16:47:40 8a3aa393b2d8: Verifying Checksum 16:47:44 114826534d7a: Pull complete 16:47:44 4657fd5d0bcf: Pull complete 16:47:44 6ad1cebc031e: Pull complete 16:47:46 8a3aa393b2d8: Pull complete 16:47:46 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:47:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:47:46 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:47:47 prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container 16:47:47 $ 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:47:48 $ docker top 27ad9bd84459c993fe87d246ecbdcc20a589165f072f31649603fd1427a8d426 -eo pid,comm [Pipeline] { [Pipeline] echo 16:47:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-sdk-go:main' [Pipeline] sh 16:47:49 + set -o pipefail 16:47:49 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-sdk-go:main' 16:47:54 16:47:54 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 16:47:54 16:47:54 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/1d897ce9-7d37-4e4c-99f4-c1fbe8b8d34b/history/a2724132-71db-4c7c-a896-3fc702ca6907 16:47:54 16:47:54 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:47:54 16:47:54 [Pipeline] } 16:47:54 $ docker stop --time=1 27ad9bd84459c993fe87d246ecbdcc20a589165f072f31649603fd1427a8d426 16:47:56 $ docker rm -f 27ad9bd84459c993fe87d246ecbdcc20a589165f072f31649603fd1427a8d426 [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:47:56 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:47:57 provisioning config files... 16:47:57 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8659416447553161933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:47:57 --> edgex-publish-swagger.sh 16:47:57 === Publish openapi/v2 API === 16:47:57 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 16:47:57 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 16:47:57 % Total % Received % Xferd Average Speed Time Time Time Current 16:47:57 Dload Upload Total Spent Left Speed 16:47:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 53552 0 0 100 53552 0 71593 --:--:-- --:--:-- --:--:-- 71497 100 53552 0 0 100 53552 0 71593 --:--:-- --:--:-- --:--:-- 71497 16:47:57 16:47:57 [Pipeline] } 16:47:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:47:58 + git log --format=format:%s -1 e5a0b3e55ec9dc6fa0154916c923036ad023fb3d [Pipeline] sh 16:47:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:47:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:47:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:47:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:47:58 prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container 16:47:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:47:59 $ docker top 11ed1215a6264dce57f9037e2094ba237c0fa6d2870b1b0f9d831c69258d23dd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:47:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:47:59 [ssh-agent] Looking for ssh-agent implementation... 16:47:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:47:59 $ docker exec 11ed1215a6264dce57f9037e2094ba237c0fa6d2870b1b0f9d831c69258d23dd ssh-agent 16:47:59 SSH_AUTH_SOCK=/tmp/ssh-hebRnzIxTu1A/agent.33 16:47:59 SSH_AGENT_PID=39 16:47:59 Running ssh-add (command line suppressed) 16:47:59 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2127083867046416705.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2127083867046416705.key) 16:47:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:00 + git semver tag 16:48:00 2022-09-22 16:48:00,307 [run_tag] DEBUG tag force:False 16:48:00 2022-09-22 16:48:00,307 [check_head_tag] DEBUG check head tag 16:48:00 2022-09-22 16:48:00,308 [execute] INFO git cat-file --batch-check 16:48:00 2022-09-22 16:48:00,308 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:48:00 2022-09-22 16:48:00,311 [execute] INFO git cat-file --batch 16:48:00 2022-09-22 16:48:00,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=) 16:48:00 2022-09-22 16:48:00,330 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:48:00 2022-09-22 16:48:00,331 [execute] INFO git tag -a v2.3.0-dev.24 -m v2.3.0-dev.24 16:48:00 2022-09-22 16:48:00,331 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.24', '-m', 'v2.3.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main, universal_newlines=False, shell=None, istream=None) 16:48:00 2022-09-22 16:48:00,335 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:48:00 2.3.0-dev.24 [Pipeline] } 16:48:00 $ docker exec --env ******** --env ******** 11ed1215a6264dce57f9037e2094ba237c0fa6d2870b1b0f9d831c69258d23dd ssh-agent -k 16:48:00 unset SSH_AUTH_SOCK; 16:48:00 unset SSH_AGENT_PID; 16:48:00 echo Agent pid 39 killed; 16:48:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:48:00 + git semver [Pipeline] } 16:48:01 $ docker stop --time=1 11ed1215a6264dce57f9037e2094ba237c0fa6d2870b1b0f9d831c69258d23dd 16:48:02 $ docker rm -f 11ed1215a6264dce57f9037e2094ba237c0fa6d2870b1b0f9d831c69258d23dd [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:48:02 16:48:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:48:03 0.23.1-centos7: Pulling from edgex-lftools 16:48:03 ab5ef0e58194: Pulling fs layer 16:48:03 9712f1f96733: Pulling fs layer 16:48:03 63f879dbbcfc: Pulling fs layer 16:48:03 0d9ebad4ef96: Pulling fs layer 16:48:03 e9a5061849ea: Pulling fs layer 16:48:03 d747dcd14b5f: Pulling fs layer 16:48:03 2de7ff778b66: Pulling fs layer 16:48:03 2de7ff778b66: Waiting 16:48:03 d747dcd14b5f: Waiting 16:48:03 0d9ebad4ef96: Waiting 16:48:03 e9a5061849ea: Waiting 16:48:03 9712f1f96733: Verifying Checksum 16:48:03 9712f1f96733: Download complete 16:48:03 63f879dbbcfc: Verifying Checksum 16:48:03 63f879dbbcfc: Download complete 16:48:03 ab5ef0e58194: Verifying Checksum 16:48:03 ab5ef0e58194: Download complete 16:48:03 d747dcd14b5f: Download complete 16:48:03 0d9ebad4ef96: Verifying Checksum 16:48:03 0d9ebad4ef96: Download complete 16:48:03 e9a5061849ea: Verifying Checksum 16:48:03 e9a5061849ea: Download complete 16:48:03 2de7ff778b66: Verifying Checksum 16:48:03 2de7ff778b66: Download complete 16:48:06 ab5ef0e58194: Pull complete 16:48:06 9712f1f96733: Pull complete 16:48:06 63f879dbbcfc: Pull complete 16:48:09 0d9ebad4ef96: Pull complete 16:48:10 e9a5061849ea: Pull complete 16:48:10 d747dcd14b5f: Pull complete 16:48:11 2de7ff778b66: Pull complete 16:48:11 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:48:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:48:11 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:11 prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container 16:48:11 $ 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:48:13 $ docker top b376941d62239165c6445ff0a9a9877063ba8b09017a8fe58b2256b1dfe3f739 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:48:13 provisioning config files... 16:48:13 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5052172294765332566tmp 16:48:13 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config12026064022687240338tmp 16:48:13 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config16095882039316671451tmp [Pipeline] { [Pipeline] echo 16:48:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:48:13 ---> sigul-configuration.sh 16:48:13 gpg: directory `/root/.gnupg' created 16:48:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:48:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:48:13 gpg: keyring `/root/.gnupg/secring.gpg' created 16:48:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:48:13 gpg: CAST5 encrypted data 16:48:13 gpg: encrypted with 1 passphrase 16:48:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:48:13 + mkdir /home/jenkins 16:48:13 + mkdir /home/jenkins/sigul [Pipeline] sh 16:48:13 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:48:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:48:14 ---> sigul-install.sh 16:48:14 Sigul already installed; skipping installation. [Pipeline] sh 16:48:14 + git tag --list 16:48:14 0.7.1 16:48:14 delhi-tag 16:48:14 v1.0.0 16:48:14 v1.1.0 16:48:14 v1.1.1 16:48:14 v1.1.2 16:48:14 v1.2.0 16:48:14 v1.2.1 16:48:14 v1.2.2 16:48:14 v1.2.3 16:48:14 v1.3.0 16:48:14 v1.4.0 16:48:14 v2.0.0 16:48:14 v2.1.0 16:48:14 v2.1.1 16:48:14 v2.1.1-dev.2 16:48:14 v2.1.1-dev.3 16:48:14 v2.2.0 16:48:14 v2.2.1-dev.1 16:48:14 v2.2.1-dev.10 16:48:14 v2.2.1-dev.11 16:48:14 v2.2.1-dev.12 16:48:14 v2.2.1-dev.13 16:48:14 v2.2.1-dev.14 16:48:14 v2.2.1-dev.2 16:48:14 v2.2.1-dev.3 16:48:14 v2.2.1-dev.4 16:48:14 v2.2.1-dev.5 16:48:14 v2.2.1-dev.6 16:48:14 v2.2.1-dev.7 16:48:14 v2.2.1-dev.8 16:48:14 v2.2.1-dev.9 16:48:14 v2.3.0-dev.14 16:48:14 v2.3.0-dev.15 16:48:14 v2.3.0-dev.16 16:48:14 v2.3.0-dev.17 16:48:14 v2.3.0-dev.18 16:48:14 v2.3.0-dev.19 16:48:14 v2.3.0-dev.20 16:48:14 v2.3.0-dev.21 16:48:14 v2.3.0-dev.22 16:48:14 v2.3.0-dev.23 16:48:14 v2.3.0-dev.24 [Pipeline] sh 16:48:14 + lftools sign git-tag v2.3.0-dev.24 16:48:15 Signing Git tag with Sigul... 16:48:15 Signing v2.3.0-dev.24 [Pipeline] echo 16:48:15 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:48:15 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:48:15 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:48:15 $ docker stop --time=1 b376941d62239165c6445ff0a9a9877063ba8b09017a8fe58b2256b1dfe3f739 16:48:17 $ docker rm -f b376941d62239165c6445ff0a9a9877063ba8b09017a8fe58b2256b1dfe3f739 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:48:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:48:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:18 prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container 16:48:18 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:48:18 $ docker top 31f2b87183f86f990c625e38bb10b3b51353d087706bf01eda3af7cae63d7299 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:48:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:18 [ssh-agent] Looking for ssh-agent implementation... 16:48:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:18 $ docker exec 31f2b87183f86f990c625e38bb10b3b51353d087706bf01eda3af7cae63d7299 ssh-agent 16:48:18 SSH_AUTH_SOCK=/tmp/ssh-l0sCQn4vin6u/agent.32 16:48:18 SSH_AGENT_PID=38 16:48:18 Running ssh-add (command line suppressed) 16:48:18 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7331998812028392502.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7331998812028392502.key) 16:48:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:19 + git semver bump pre 16:48:19 2022-09-22 16:48:19,371 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:48:19 2022-09-22 16:48:19,371 [bump_version] DEBUG bumping version:2.3.0-dev.24 on axis:pre with prefix:dev 16:48:19 2022-09-22 16:48:19,371 [bump_version] DEBUG bumped version:2.3.0-dev.25 16:48:19 2022-09-22 16:48:19,371 [write_version] DEBUG write version:2.3.0-dev.25 to path:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main with force:True 16:48:19 2022-09-22 16:48:19,371 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:48:19 2022-09-22 16:48:19,371 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:48:19 2022-09-22 16:48:19,373 [execute] INFO git cat-file --batch-check 16:48:19 2022-09-22 16:48:19,373 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:48:19 2022-09-22 16:48:19,378 [execute] INFO git cat-file --batch 16:48:19 2022-09-22 16:48:19,378 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:48:19 2022-09-22 16:48:19,383 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:48:19 2.3.0-dev.25 [Pipeline] } 16:48:19 $ docker exec --env ******** --env ******** 31f2b87183f86f990c625e38bb10b3b51353d087706bf01eda3af7cae63d7299 ssh-agent -k 16:48:19 unset SSH_AUTH_SOCK; 16:48:19 unset SSH_AGENT_PID; 16:48:19 echo Agent pid 38 killed; 16:48:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:48:19 + git semver [Pipeline] } 16:48:20 $ docker stop --time=1 31f2b87183f86f990c625e38bb10b3b51353d087706bf01eda3af7cae63d7299 16:48:21 $ docker rm -f 31f2b87183f86f990c625e38bb10b3b51353d087706bf01eda3af7cae63d7299 [Pipeline] // withDockerContainer [Pipeline] sh 16:48:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:48:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:48:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:22 prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container 16:48:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:48:22 $ docker top 5f52c67a04a1ec6d6eec5f71c401b82e17bae1a67f97b847b9b004105b8ddfbb -eo pid,comm 16:48:22 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:48:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:48:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:48:22 [ssh-agent] Looking for ssh-agent implementation... 16:48:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:48:22 $ docker exec 5f52c67a04a1ec6d6eec5f71c401b82e17bae1a67f97b847b9b004105b8ddfbb ssh-agent 16:48:22 SSH_AUTH_SOCK=/tmp/ssh-ZQzONOIaOkTU/agent.32 16:48:22 SSH_AGENT_PID=38 16:48:22 Running ssh-add (command line suppressed) 16:48:22 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_852011698210358442.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_852011698210358442.key) 16:48:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:48:23 + git semver push 16:48:23 2022-09-22 16:48:23,396 [run_push] DEBUG push 16:48:23 2022-09-22 16:48:23,396 [execute] INFO git cat-file --batch-check 16:48:23 2022-09-22 16:48:23,396 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:48:23 2022-09-22 16:48:23,400 [execute] INFO git rev-list 8aded83da9f96c2ec81101637fab22a0812c5e8a -- 16:48:23 2022-09-22 16:48:23,400 [execute] DEBUG Popen(['git', 'rev-list', '8aded83da9f96c2ec81101637fab22a0812c5e8a', '--'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:48:23 2022-09-22 16:48:23,412 [execute] INFO git fetch -v origin 16:48:23 2022-09-22 16:48:23,412 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:48:24 2022-09-22 16:48:24,135 [run_push] DEBUG no remote changes detected 16:48:24 2022-09-22 16:48:24,136 [execute] INFO git push origin semver 16:48:24 2022-09-22 16:48:24,136 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-sdk-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:48:25 2022-09-22 16:48:25,082 [run_push] DEBUG push all version tags 16:48:25 2022-09-22 16:48:25,082 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:48:25 2022-09-22 16:48:25,083 [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:48:25 2022-09-22 16:48:25,886 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-sdk-go_main/.semver/main 16:48:25 2.3.0-dev.25 [Pipeline] } 16:48:25 $ docker exec --env ******** --env ******** 5f52c67a04a1ec6d6eec5f71c401b82e17bae1a67f97b847b9b004105b8ddfbb ssh-agent -k 16:48:26 unset SSH_AUTH_SOCK; 16:48:26 unset SSH_AGENT_PID; 16:48:26 echo Agent pid 38 killed; 16:48:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:48:26 + git semver [Pipeline] } 16:48:26 $ docker stop --time=1 5f52c67a04a1ec6d6eec5f71c401b82e17bae1a67f97b847b9b004105b8ddfbb 16:48:27 $ docker rm -f 5f52c67a04a1ec6d6eec5f71c401b82e17bae1a67f97b847b9b004105b8ddfbb [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:48:28 + [ -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ] 16:48:28 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:48:28 total 16 16:48:28 drwxr-xr-x 3 root root 4096 Sep 22 16:35 . 16:48:28 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:48 .. 16:48:28 drwxr-xr-x 2 root root 4096 Sep 22 16:35 cost 16:48:28 -rw-r--r-- 1 root root 84 Sep 22 16:35 cost.csv 16:48:28 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:48:28 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 16:48:28 total 16 16:48:28 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 16:35 . 16:48:28 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 16:48 .. 16:48:28 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 16:35 cost 16:48:28 -rw-r--r-- 1 jenkins jenkins 84 Sep 22 16:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:48:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:48:29 ---> package-listing.sh 16:48:29 ++ facter osfamily 16:48:29 ++ tr '[:upper:]' '[:lower:]' 16:48:29 + OS_FAMILY=debian 16:48:29 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 16:48:29 + START_PACKAGES=/tmp/packages_start.txt 16:48:29 + END_PACKAGES=/tmp/packages_end.txt 16:48:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:48:29 + PACKAGES=/tmp/packages_start.txt 16:48:29 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:48:29 + PACKAGES=/tmp/packages_end.txt 16:48:29 + case "${OS_FAMILY}" in 16:48:29 + dpkg -l 16:48:29 + grep '^ii' 16:48:29 + '[' -f /tmp/packages_start.txt ']' 16:48:29 + '[' -f /tmp/packages_end.txt ']' 16:48:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:48:29 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 16:48:29 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 16:48:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 16:48:29 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:48:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:48:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:48:30 prd-ubuntu20.04-docker-8c-8g-614 does not seem to be running inside a container 16:48:30 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:48:30 $ docker top f56aac5ee013ac53093fe4c4a33a32a38a2bc253bd0b5cfc3817baf85fd7cc69 -eo pid,comm [Pipeline] { [Pipeline] sh 16:48:31 + touch /tmp/pre-build-complete [Pipeline] sh 16:48:31 + mkdir -p /var/log/sysstat [Pipeline] sh 16:48:31 + ls /var/log/sa-host 16:48:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:32 provisioning config files... 16:48:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6254173868789585687tmp [Pipeline] { [Pipeline] echo 16:48:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:48:32 ---> create-netrc.sh [Pipeline] } 16:48:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:48:32 ---> python-tools-install.sh [Pipeline] echo 16:48:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:48:33 ---> sudo-logs.sh 16:48:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:48:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:48:33 ---> job-cost.sh 16:48:33 lf-activate-venv: SKIPPING 16:48:33 DEBUG: total: 0.2199999988079071 16:48:33 INFO: Retrieving Stack Cost... 16:48:33 INFO: Retrieving Pricing Info for: v3-standard-8 16:48:34 INFO: Archiving Costs [Pipeline] echo 16:48:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:48:34 ---> logs-deploy.sh 16:48:34 lf-activate-venv: SKIPPING 16:48:34 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/99 16:48:34 INFO: archiving workspace using pattern(s): 16:48:35 Archives upload complete. 16:48:35 INFO: archiving logs to Nexus