Pull request #1594 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jinlinGuan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from e59f102ded9f468f6a1ef58277474402d3de2713+ffc6b2a10374aabd10876c720f3818be68dc531f (008c7505d309267c842250c46362fd241fd26405) 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-ssh17999214255277593224.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh5268826381913034841.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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/PR-1594/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/PR-1594/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8711069156336444736.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh7538497018446569144.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1594/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/PR-1594/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7890504397614870941.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5399 in /w/workspace/gexfoundry_device-sdk-go_PR-1594 [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/gexfoundry_device-sdk-go_PR-1594 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1594/head:refs/remotes/origin/PR-1594 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ffc6b2a10374aabd10876c720f3818be68dc531f into PR head commit e59f102ded9f468f6a1ef58277474402d3de2713 Merge succeeded, producing e59f102ded9f468f6a1ef58277474402d3de2713 Checking out Revision e59f102ded9f468f6a1ef58277474402d3de2713 (PR-1594) > git config core.sparsecheckout # timeout=10 > git checkout -f e59f102ded9f468f6a1ef58277474402d3de2713 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge ffc6b2a10374aabd10876c720f3818be68dc531f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e59f102ded9f468f6a1ef58277474402d3de2713 # timeout=10 Commit message: "feat: Add /profilescan API" First time build. Skipping changelog. > git rev-list --no-walk 383a35c1a39f20c2e8d3456b4a58b385194528bb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:55:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:56:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:56:19 ========================================================= 01:56:19 EdgeX Global Pipelines Version Info 01:56:19 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:56:19 ------------------- 01:56:19 stable info: 01:56:19 ------------------- 01:56:19 Commited By: Ginny Guan ginny@iotechsys.com 01:56:19 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 01:56:19 Message: update stable to v1.0.260 01:56:20 ------------------- 01:56:20 experimental info: 01:56:20 ------------------- 01:56:20 Commited By: Ginny Guan ginny@iotechsys.com 01:56:20 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 01:56:20 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:56:20 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:56:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:56:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:56:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1594 [Pipeline] echo 01:56:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1594 [Pipeline] echo 01:56:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1594 [Pipeline] echo 01:56:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e59f102ded9f468f6a1ef58277474402d3de2713 [Pipeline] echo 01:56:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e59f102 [Pipeline] echo 01:56:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:21 provisioning config files... 01:56:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config3038595268310568696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:21 ---> ****-login.sh 01:56:21 nexus3.edgexfoundry.org:10001 01:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:21 Configure a credential helper to remove this warning. See 01:56:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:21 01:56:21 Login Succeeded 01:56:21 nexus3.edgexfoundry.org:10002 01:56:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:21 Configure a credential helper to remove this warning. See 01:56:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:21 01:56:21 Login Succeeded 01:56:21 nexus3.edgexfoundry.org:10003 01:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:22 Configure a credential helper to remove this warning. See 01:56:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:22 01:56:22 Login Succeeded 01:56:22 nexus3.edgexfoundry.org:10004 01:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:22 Configure a credential helper to remove this warning. See 01:56:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:22 01:56:22 Login Succeeded 01:56:22 ****.io 01:56:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:22 Configure a credential helper to remove this warning. See 01:56:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:22 01:56:22 Login Succeeded 01:56:22 ---> ****-login.sh ends [Pipeline] } 01:56:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:56:22 + git rev-list -1 --merges e59f102ded9f468f6a1ef58277474402d3de2713~1..e59f102ded9f468f6a1ef58277474402d3de2713 [Pipeline] echo 01:56:22 -----------> git rev-list -1 --merges e59f102ded9f468f6a1ef58277474402d3de2713~1..e59f102ded9f468f6a1ef58277474402d3de2713 e59f102ded9f468f6a1ef58277474402d3de2713 [false] [Pipeline] sh 01:56:23 + git log --format=format:%s -1 e59f102ded9f468f6a1ef58277474402d3de2713 [Pipeline] echo 01:56:23 ========================================================= 01:56:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:56:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:56:23 + git log --format=format:%s -1 e59f102ded9f468f6a1ef58277474402d3de2713 [Pipeline] echo 01:56:23 [semverPrep] GIT_COMMIT: e59f102ded9f468f6a1ef58277474402d3de2713, Commit Message: feat: Add /profilescan API [Pipeline] echo 01:56:23 [semverPrep] This is not a build commit. [Pipeline] sh 01:56:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:56:23 + grep -v github /etc/ssh/ssh_known_hosts 01:56:23 + [ -e /tmp/ssh_known_hosts ] 01:56:23 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:56:23 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:56:23 sudo tee -a /etc/ssh/ssh_known_hosts 01:56:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:24 01:56:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:24 0.1.4: Pulling from edgex-devops/py-git-semver 01:56:24 b85a868b505f: Pulling fs layer 01:56:24 e2be974225ed: Pulling fs layer 01:56:24 339a4e72a1f5: Pulling fs layer 01:56:24 988bab9f4d93: Pulling fs layer 01:56:24 1469e6f7b9e6: Pulling fs layer 01:56:24 eaf3925da568: Pulling fs layer 01:56:24 bab4dde63d76: Pulling fs layer 01:56:24 bde34c3a00c8: Pulling fs layer 01:56:24 b352a97aabf1: Pulling fs layer 01:56:24 4872d77fe225: Pulling fs layer 01:56:24 5851b861e8e6: Pulling fs layer 01:56:24 bab4dde63d76: Waiting 01:56:24 4872d77fe225: Waiting 01:56:24 5851b861e8e6: Waiting 01:56:24 1469e6f7b9e6: Waiting 01:56:24 bde34c3a00c8: Waiting 01:56:24 eaf3925da568: Waiting 01:56:24 b352a97aabf1: Waiting 01:56:24 988bab9f4d93: Waiting 01:56:24 e2be974225ed: Download complete 01:56:24 988bab9f4d93: Verifying Checksum 01:56:24 988bab9f4d93: Download complete 01:56:24 1469e6f7b9e6: Verifying Checksum 01:56:24 1469e6f7b9e6: Download complete 01:56:24 eaf3925da568: Download complete 01:56:24 339a4e72a1f5: Verifying Checksum 01:56:24 339a4e72a1f5: Download complete 01:56:24 bde34c3a00c8: Verifying Checksum 01:56:24 bde34c3a00c8: Download complete 01:56:24 b352a97aabf1: Verifying Checksum 01:56:24 b352a97aabf1: Download complete 01:56:24 4872d77fe225: Verifying Checksum 01:56:24 4872d77fe225: Download complete 01:56:24 5851b861e8e6: Verifying Checksum 01:56:24 5851b861e8e6: Download complete 01:56:24 b85a868b505f: Verifying Checksum 01:56:24 b85a868b505f: Download complete 01:56:25 bab4dde63d76: Verifying Checksum 01:56:25 bab4dde63d76: Download complete 01:56:26 b85a868b505f: Pull complete 01:56:26 e2be974225ed: Pull complete 01:56:26 339a4e72a1f5: Pull complete 01:56:26 988bab9f4d93: Pull complete 01:56:27 1469e6f7b9e6: Pull complete 01:56:27 eaf3925da568: Pull complete 01:56:29 bab4dde63d76: Pull complete 01:56:29 bde34c3a00c8: Pull complete 01:56:29 b352a97aabf1: Pull complete 01:56:29 4872d77fe225: Pull complete 01:56:29 5851b861e8e6: Pull complete 01:56:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:56:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:56:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:56:29 prd-ubuntu20.04-docker-8c-8g-5399 does not seem to be running inside a container 01:56:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:56:30 $ docker top 1e29e123c4d581a07e932121403e660218c689f60db52fb36f6ca93a75a9eeff -eo pid,comm 01:56:30 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). 01:56:30 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:56:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:30 [ssh-agent] Looking for ssh-agent implementation... 01:56:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:30 $ docker exec 1e29e123c4d581a07e932121403e660218c689f60db52fb36f6ca93a75a9eeff ssh-agent 01:56:30 SSH_AUTH_SOCK=/tmp/ssh-xYFKmGdBz0St/agent.32 01:56:30 SSH_AGENT_PID=38 01:56:30 Running ssh-add (command line suppressed) 01:56:30 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_2440353023373846166.key (/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_2440353023373846166.key) 01:56:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:31 + git tag --points-at HEAD [Pipeline] } 01:56:31 $ docker exec --env ******** --env ******** 1e29e123c4d581a07e932121403e660218c689f60db52fb36f6ca93a75a9eeff ssh-agent -k 01:56:31 unset SSH_AUTH_SOCK; 01:56:31 unset SSH_AGENT_PID; 01:56:31 echo Agent pid 38 killed; 01:56:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:56:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:56:31 [ssh-agent] Looking for ssh-agent implementation... 01:56:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:56:31 $ docker exec 1e29e123c4d581a07e932121403e660218c689f60db52fb36f6ca93a75a9eeff ssh-agent 01:56:31 SSH_AUTH_SOCK=/tmp/ssh-PxQAALiXB1OW/agent.72 01:56:31 SSH_AGENT_PID=78 01:56:31 Running ssh-add (command line suppressed) 01:56:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_17224279260025400071.key (/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_17224279260025400071.key) 01:56:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:56:31 + git semver init 01:56:32 2024-07-12 01:56:32,126 [run_init] DEBUG init version:0.0.0 force:False 01:56:32 2024-07-12 01:56:32,127 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver 01:56:32 2024-07-12 01:56:32,128 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver 01:56:32 2024-07-12 01:56:32,128 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594, universal_newlines=False, shell=None, istream=None) 01:56:34 2024-07-12 01:56:33,962 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.git/info/exclude 01:56:34 2024-07-12 01:56:33,963 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 with force:False 01:56:34 2024-07-12 01:56:33,963 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 01:56:34 2024-07-12 01:56:33,967 [execute] INFO git cat-file --batch-check 01:56:34 2024-07-12 01:56:33,967 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver, universal_newlines=False, shell=None, istream=) 01:56:34 2024-07-12 01:56:33,973 [execute] INFO git cat-file --batch 01:56:34 2024-07-12 01:56:33,973 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver, universal_newlines=False, shell=None, istream=) 01:56:34 2024-07-12 01:56:33,977 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 01:56:34 0.0.0 [Pipeline] } 01:56:34 $ docker exec --env ******** --env ******** 1e29e123c4d581a07e932121403e660218c689f60db52fb36f6ca93a75a9eeff ssh-agent -k 01:56:34 unset SSH_AUTH_SOCK; 01:56:34 unset SSH_AGENT_PID; 01:56:34 echo Agent pid 78 killed; 01:56:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:56:34 + git semver [Pipeline] } 01:56:34 $ docker stop --time=1 1e29e123c4d581a07e932121403e660218c689f60db52fb36f6ca93a75a9eeff 01:56:36 $ docker rm -f --volumes 1e29e123c4d581a07e932121403e660218c689f60db52fb36f6ca93a75a9eeff [Pipeline] // withDockerContainer [Pipeline] sh 01:56:36 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:56:36 Stashed 1 file(s) [Pipeline] echo 01:56:36 [edgeXSemver]: initialized semver on version 0.0.0 [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 01:56:36 provisioning config files... 01:56:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config7485375405122675155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:37 ---> ****-login.sh 01:56:37 nexus3.edgexfoundry.org:10001 01:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:37 Configure a credential helper to remove this warning. See 01:56:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:37 01:56:37 Login Succeeded 01:56:37 nexus3.edgexfoundry.org:10002 01:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:37 Configure a credential helper to remove this warning. See 01:56:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:37 01:56:37 Login Succeeded 01:56:37 nexus3.edgexfoundry.org:10003 01:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:37 Configure a credential helper to remove this warning. See 01:56:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:37 01:56:37 Login Succeeded 01:56:37 nexus3.edgexfoundry.org:10004 01:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:37 Configure a credential helper to remove this warning. See 01:56:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:37 01:56:37 Login Succeeded 01:56:37 ****.io 01:56:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:56:37 Configure a credential helper to remove this warning. See 01:56:37 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:56:37 01:56:37 Login Succeeded 01:56:37 ---> ****-login.sh ends [Pipeline] } 01:56:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:56:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:56:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:56:37 ========================================================= 01:56:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:56:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:56:38 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 01:56:38 Sending build context to Docker daemon 25.07MB 01:56:38 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 01:56:38 Step 2/10 : FROM ${BASE} AS builder 01:56:38 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:56:38 619be1103602: Pulling fs layer 01:56:38 7862e08f4a3e: Pulling fs layer 01:56:38 5df492c9dc93: Pulling fs layer 01:56:38 7629e6793208: Pulling fs layer 01:56:38 4f4fb700ef54: Pulling fs layer 01:56:38 fb5054dd5b73: Pulling fs layer 01:56:38 eeca6798cff9: Pulling fs layer 01:56:38 aa269ceb94a6: Pulling fs layer 01:56:38 ada007ff1a6a: Pulling fs layer 01:56:38 7629e6793208: Waiting 01:56:38 4f4fb700ef54: Waiting 01:56:38 fb5054dd5b73: Waiting 01:56:38 eeca6798cff9: Waiting 01:56:38 aa269ceb94a6: Waiting 01:56:38 ada007ff1a6a: Waiting 01:56:38 7862e08f4a3e: Verifying Checksum 01:56:38 7862e08f4a3e: Download complete 01:56:38 7629e6793208: Verifying Checksum 01:56:38 7629e6793208: Download complete 01:56:38 4f4fb700ef54: Verifying Checksum 01:56:38 4f4fb700ef54: Download complete 01:56:38 fb5054dd5b73: Download complete 01:56:38 619be1103602: Verifying Checksum 01:56:38 619be1103602: Download complete 01:56:38 eeca6798cff9: Verifying Checksum 01:56:38 eeca6798cff9: Download complete 01:56:38 619be1103602: Pull complete 01:56:38 ada007ff1a6a: Verifying Checksum 01:56:38 ada007ff1a6a: Download complete 01:56:38 7862e08f4a3e: Pull complete 01:56:38 5df492c9dc93: Verifying Checksum 01:56:38 5df492c9dc93: Download complete 01:56:39 aa269ceb94a6: Verifying Checksum 01:56:39 aa269ceb94a6: Download complete 01:56:41 5df492c9dc93: Pull complete 01:56:41 7629e6793208: Pull complete 01:56:41 4f4fb700ef54: Pull complete 01:56:41 fb5054dd5b73: Pull complete 01:56:41 eeca6798cff9: Pull complete 01:56:44 aa269ceb94a6: Pull complete 01:56:44 ada007ff1a6a: Pull complete 01:56:44 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:56:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:56:44 ---> f489d0715acc 01:56:44 Step 3/10 : ARG MAKE=make build 01:56:46 ---> Running in 9c5af77d03d8 01:56:46 Removing intermediate container 9c5af77d03d8 01:56:46 ---> 5ef1469b976a 01:56:46 Step 4/10 : WORKDIR /device-sdk-go 01:56:46 ---> Running in 77df68627a70 01:56:46 Removing intermediate container 77df68627a70 01:56:46 ---> deaad4756f8d 01:56:46 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:56:46 ---> Running in 66fe5aecbe4f 01:56:46 Removing intermediate container 66fe5aecbe4f 01:56:46 ---> 18bc6bca712f 01:56:46 Step 6/10 : RUN apk add --update --no-cache make git 01:56:46 ---> Running in 2fbafba2f2fc 01:56:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:56:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:56:46 OK: 264 MiB in 52 packages 01:56:47 Removing intermediate container 2fbafba2f2fc 01:56:47 ---> 50e88b8c3cca 01:56:47 Step 7/10 : COPY go.mod vendor* ./ 01:56:47 ---> da5d669185fb 01:56:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:56:47 ---> Running in 9a195f813799 01:56:51 Still waiting to schedule task 01:56:51 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5398’ 01:57:26 Removing intermediate container 9a195f813799 01:57:26 ---> 32f674839c6a 01:57:26 Step 9/10 : COPY . . 01:57:26 ---> a3e0deebb249 01:57:26 Step 10/10 : RUN ${MAKE} 01:57:26 ---> Running in 2a8d891e0bf3 01:57:26 noop 01:57:26 Removing intermediate container 2a8d891e0bf3 01:57:26 ---> d941757f3ca0 01:57:26 Successfully built d941757f3ca0 01:57:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:26 + docker inspect -f . ci-base-image-x86_64 01:57:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:26 prd-ubuntu20.04-docker-8c-8g-5399 does not seem to be running inside a container 01:57:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:57:27 $ docker top 1e653fa158d48532f1afbcdbee442e66ba9e439604b7093a198495440fc70c81 -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:27 + go version 01:57:27 go version go1.21.9 linux/amd64 [Pipeline] } 01:57:27 $ docker stop --time=1 1e653fa158d48532f1afbcdbee442e66ba9e439604b7093a198495440fc70c81 01:57:28 $ docker rm -f --volumes 1e653fa158d48532f1afbcdbee442e66ba9e439604b7093a198495440fc70c81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:57:29 + docker inspect -f . ci-base-image-x86_64 01:57:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:57:29 prd-ubuntu20.04-docker-8c-8g-5399 does not seem to be running inside a container 01:57:29 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:57:29 $ docker top 6da5b63da9ea86277f68ce8bbb363f976244605376103ddf9893a7a82c8e71df -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1594 [Pipeline] fileExists [Pipeline] sh 01:57:30 + make test 01:57:30 go test -race -coverprofile=coverage.out ./... 01:57:36 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:58:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:58:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:58:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:58:08 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:58:08 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:58:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.033s coverage: 27.6% of statements 01:58:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.030s coverage: 80.0% of statements 01:58:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:58:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:58:10 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:58:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.053s coverage: 86.0% of statements 01:58:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:58:11 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:58:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.085s coverage: 54.9% of statements 01:58:12 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:58:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.033s coverage: 14.4% of statements 01:58:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.972s coverage: 44.6% of statements 01:58:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.048s coverage: 68.5% of statements 01:58:15 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.084s coverage: 89.2% of statements 01:58:15 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.054s coverage: 5.4% of statements 01:58:47 internal/controller/http/discovery.go:101:92: S1039: unnecessary use of fmt.Sprintf (gosimple) 01:58:47 return sdkModels.ProfileScanRequest{}, errors.NewCommonEdgeX(errors.KindContractInvalid, fmt.Sprintf("request body validation failed"), err) 01:58:47 ^ 01:58:47 make: *** [Makefile:42: lint] Error 1 [Pipeline] } 01:58:47 $ docker stop --time=1 6da5b63da9ea86277f68ce8bbb363f976244605376103ddf9893a7a82c8e71df 01:58:49 $ docker rm -f --volumes 6da5b63da9ea86277f68ce8bbb363f976244605376103ddf9893a7a82c8e71df [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:58:50 01:58:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:58:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:58:50 latest: Pulling from edgex-lftools-log-publisher 01:58:50 5eb5b503b376: Pulling fs layer 01:58:50 5c69ac0246d0: Pulling fs layer 01:58:50 ec43610c2a17: Pulling fs layer 01:58:50 3a2ae6a8a46f: Pulling fs layer 01:58:50 33b1e0a273af: Pulling fs layer 01:58:50 5d3b04190fa2: Pulling fs layer 01:58:50 2f39f015ded8: Pulling fs layer 01:58:50 3a2ae6a8a46f: Waiting 01:58:50 2f39f015ded8: Waiting 01:58:50 33b1e0a273af: Waiting 01:58:50 5d3b04190fa2: Waiting 01:58:50 5c69ac0246d0: Download complete 01:58:50 3a2ae6a8a46f: Download complete 01:58:50 33b1e0a273af: Verifying Checksum 01:58:50 33b1e0a273af: Download complete 01:58:50 5d3b04190fa2: Download complete 01:58:50 ec43610c2a17: Verifying Checksum 01:58:50 ec43610c2a17: Download complete 01:58:50 5eb5b503b376: Verifying Checksum 01:58:50 5eb5b503b376: Download complete 01:58:51 2f39f015ded8: Download complete 01:58:51 5eb5b503b376: Pull complete 01:58:51 5c69ac0246d0: Pull complete 01:58:52 ec43610c2a17: Pull complete 01:58:52 3a2ae6a8a46f: Pull complete 01:58:52 33b1e0a273af: Pull complete 01:58:52 5d3b04190fa2: Pull complete 01:58:56 2f39f015ded8: Pull complete 01:58:56 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:58:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:58:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:58:56 prd-ubuntu20.04-docker-8c-8g-5399 does not seem to be running inside a container 01:58:56 $ 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/gexfoundry_device-sdk-go_PR-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:58:57 $ docker top 43a339ab9eeccb04822c66e4007858da30a852cf83febb8a47e6677e73a36bcf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:58 ---> job-cost.sh 01:58:58 lf-activate-venv: SKIPPING 01:58:58 INFO: No Stack... 01:58:58 INFO: Retrieving Pricing Info for: v3-standard-8 01:58:58 INFO: Archiving Costs [Pipeline] sh 01:58:59 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/cost.csv 01:58:59 + cut -d, -f6 [Pipeline] lock 01:58:59 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-2-stack-cost] 01:58:59 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1594-2-stack-cost] did not exist. Created. 01:58:59 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:58:59 + echo total: 0.2199999988079071 [Pipeline] stash 01:58:59 Stashed 1 file(s) [Pipeline] } 01:58:59 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-2-stack-cost] [Pipeline] // lock [Pipeline] } 01:58:59 $ docker stop --time=1 43a339ab9eeccb04822c66e4007858da30a852cf83febb8a47e6677e73a36bcf 01:59:00 $ docker rm -f --volumes 43a339ab9eeccb04822c66e4007858da30a852cf83febb8a47e6677e73a36bcf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:59:00 Failed in branch amd64 02:00:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5400 in /w/workspace/gexfoundry_device-sdk-go_PR-1594 [Pipeline] { [Pipeline] ws 02:00:37 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:00:37 The recommended git tool is: git 02:00:46 using credential edgex-jenkins-ssh 02:00:46 Cloning the remote Git repository 02:00:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:00:46 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:00:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:00:46 > git --version # timeout=10 02:00:46 > git --version # 'git version 2.25.1' 02:00:46 using GIT_SSH to set credentials SSH Credentials for GitHub 02:00:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:00:50 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:00:50 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:00:52 Merging remotes/origin/main commit ffc6b2a10374aabd10876c720f3818be68dc531f into PR head commit e59f102ded9f468f6a1ef58277474402d3de2713 02:00:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:00:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:00:51 using GIT_SSH to set credentials SSH Credentials for GitHub 02:00:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1594/head:refs/remotes/origin/PR-1594 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:00:52 > git config core.sparsecheckout # timeout=10 02:00:52 > git checkout -f e59f102ded9f468f6a1ef58277474402d3de2713 # timeout=10 02:00:52 Merge succeeded, producing e59f102ded9f468f6a1ef58277474402d3de2713 02:00:52 Checking out Revision e59f102ded9f468f6a1ef58277474402d3de2713 (PR-1594) 02:00:52 > git remote # timeout=10 02:00:52 > git config --get remote.origin.url # timeout=10 02:00:52 using GIT_SSH to set credentials SSH Credentials for GitHub 02:00:52 > git merge ffc6b2a10374aabd10876c720f3818be68dc531f # timeout=10 02:00:52 > git rev-parse HEAD^{commit} # timeout=10 02:00:52 > git config core.sparsecheckout # timeout=10 02:00:52 > git checkout -f e59f102ded9f468f6a1ef58277474402d3de2713 # timeout=10 02:00:56 Commit message: "feat: Add /profilescan API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:00:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:00:58 % Total % Received % Xferd Average Speed Time Time Time Current 02:00:58 Dload Upload Total Spent Left Speed 02:00:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 02:00:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:00:59 + sudo tee /etc/docker/daemon.new 02:00:59 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:00:59 { 02:00:59 "registry-mirrors": [ 02:00:59 "https://nexus3.edgexfoundry.org:10001" 02:00:59 ], 02:00:59 "bip": "10.250.0.254/24", 02:00:59 "hosts": [ 02:00:59 "tcp://0.0.0.0:5555", 02:00:59 "unix:///var/run/docker.sock" 02:00:59 ], 02:00:59 "mtu": 1458, 02:00:59 "selinux-enabled": true, 02:00:59 "seccomp-profile": "/etc/docker/seccomp.json" 02:00:59 } [Pipeline] sh 02:00:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:00:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:01:18 provisioning config files... 02:01:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config12056488581085532125tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:01:18 ---> ****-login.sh 02:01:18 nexus3.edgexfoundry.org:10001 02:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:01:19 Configure a credential helper to remove this warning. See 02:01:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:01:19 02:01:19 Login Succeeded 02:01:19 nexus3.edgexfoundry.org:10002 02:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:01:19 Configure a credential helper to remove this warning. See 02:01:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:01:19 02:01:19 Login Succeeded 02:01:19 nexus3.edgexfoundry.org:10003 02:01:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:01:19 Configure a credential helper to remove this warning. See 02:01:19 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:01:19 02:01:19 Login Succeeded 02:01:19 nexus3.edgexfoundry.org:10004 02:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:01:20 Configure a credential helper to remove this warning. See 02:01:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:01:20 02:01:20 Login Succeeded 02:01:20 ****.io 02:01:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:01:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 02:01:21 Configure a credential helper to remove this warning. See 02:01:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 02:01:21 02:01:21 Login Succeeded 02:01:21 ---> ****-login.sh ends [Pipeline] } 02:01:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:01:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:01:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 02:01:21 ========================================================= 02:01:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 02:01:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:01:21 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 02:01:22 Sending build context to Docker daemon 13MB 02:01:22 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 02:01:22 Step 2/10 : FROM ${BASE} AS builder 02:01:22 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:01:22 c6b39de5b339: Pulling fs layer 02:01:22 a69c41024577: Pulling fs layer 02:01:22 d6de4b400683: Pulling fs layer 02:01:22 35cb2a7552d0: Pulling fs layer 02:01:22 4f4fb700ef54: Pulling fs layer 02:01:22 464afbd9ba4c: Pulling fs layer 02:01:22 00f215d4a9da: Pulling fs layer 02:01:22 35cb2a7552d0: Waiting 02:01:22 4f4fb700ef54: Waiting 02:01:22 464afbd9ba4c: Waiting 02:01:22 d496ad576159: Pulling fs layer 02:01:22 00f215d4a9da: Waiting 02:01:22 d496ad576159: Waiting 02:01:22 a69c41024577: Verifying Checksum 02:01:22 a69c41024577: Download complete 02:01:22 35cb2a7552d0: Verifying Checksum 02:01:22 35cb2a7552d0: Download complete 02:01:22 4f4fb700ef54: Verifying Checksum 02:01:22 4f4fb700ef54: Download complete 02:01:22 464afbd9ba4c: Verifying Checksum 02:01:22 464afbd9ba4c: Download complete 02:01:22 c6b39de5b339: Verifying Checksum 02:01:22 c6b39de5b339: Download complete 02:01:23 d496ad576159: Verifying Checksum 02:01:23 d496ad576159: Download complete 02:01:23 c6b39de5b339: Pull complete 02:01:24 a69c41024577: Pull complete 02:01:24 d6de4b400683: Verifying Checksum 02:01:24 d6de4b400683: Download complete 02:01:26 00f215d4a9da: Verifying Checksum 02:01:26 00f215d4a9da: Download complete 02:01:38 d6de4b400683: Pull complete 02:01:38 35cb2a7552d0: Pull complete 02:01:38 4f4fb700ef54: Pull complete 02:01:38 464afbd9ba4c: Pull complete 02:01:48 00f215d4a9da: Pull complete 02:01:48 d496ad576159: Pull complete 02:01:48 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 02:01:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 02:01:48 ---> f246e2811388 02:01:48 Step 3/10 : ARG MAKE=make build 02:01:49 ---> Running in c0df2a1d8647 02:01:49 Removing intermediate container c0df2a1d8647 02:01:49 ---> 2f96352300b7 02:01:49 Step 4/10 : WORKDIR /device-sdk-go 02:01:50 ---> Running in e7c22bd337de 02:01:50 Removing intermediate container e7c22bd337de 02:01:50 ---> dc0431561915 02:01:50 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:01:50 ---> Running in 42b8ad741895 02:01:50 Removing intermediate container 42b8ad741895 02:01:50 ---> 9fab1ca49eb8 02:01:50 Step 6/10 : RUN apk add --update --no-cache make git 02:01:50 ---> Running in c15891662818 02:01:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:01:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:01:55 OK: 266 MiB in 52 packages 02:01:56 Removing intermediate container c15891662818 02:01:56 ---> d7d8409b4195 02:01:56 Step 7/10 : COPY go.mod vendor* ./ 02:01:56 ---> 30e0265df524 02:01:56 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:01:57 ---> Running in 674cf4041fe1 02:03:48 Removing intermediate container 674cf4041fe1 02:03:48 ---> 0b408a9957c8 02:03:48 Step 9/10 : COPY . . 02:03:48 ---> 63f58797335d 02:03:48 Step 10/10 : RUN ${MAKE} 02:03:48 ---> Running in 6623d1d60487 02:03:48 noop 02:03:48 Removing intermediate container 6623d1d60487 02:03:48 ---> 8a66596e6146 02:03:48 Successfully built 8a66596e6146 02:03:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:49 + docker inspect -f . ci-base-image-arm64 02:03:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:49 prd-ubuntu20.04-docker-arm64-4c-16g-5400 does not seem to be running inside a container 02:03:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:03:50 $ docker top 72b0859bdb2d1c48f69223ee44659ad26153e6bab972f727f3df6c5dc776ec1e -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:51 + go version 02:03:51 go version go1.21.9 linux/arm64 [Pipeline] } 02:03:51 $ docker stop --time=1 72b0859bdb2d1c48f69223ee44659ad26153e6bab972f727f3df6c5dc776ec1e 02:03:53 $ docker rm -f --volumes 72b0859bdb2d1c48f69223ee44659ad26153e6bab972f727f3df6c5dc776ec1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:03:53 + docker inspect -f . ci-base-image-arm64 02:03:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:03:54 prd-ubuntu20.04-docker-arm64-4c-16g-5400 does not seem to be running inside a container 02:03:54 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:03:55 $ docker top 0989fb0689e6665cd935ae136cb750f67c4f2d2b2bd3bf8294325c114ccc548e -eo pid,comm [Pipeline] { [Pipeline] sh 02:03:56 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 02:03:56 + make test 02:03:56 go test -race -coverprofile=coverage.out ./... 02:04:43 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 02:08:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 02:08:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 02:08:05 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 02:08:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 02:08:05 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 02:08:09 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.119s coverage: 27.6% of statements 02:08:14 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.181s coverage: 80.0% of statements 02:08:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 02:08:20 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 02:08:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.324s coverage: 86.0% of statements 02:08:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 02:08:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.465s coverage: 54.9% of statements 02:08:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.142s coverage: 14.4% of statements 02:08:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 02:08:31 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 02:08:31 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.959s coverage: 44.6% of statements 02:08:32 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.318s coverage: 68.5% of statements 02:08:36 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.363s coverage: 89.2% of statements 02:08:38 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 02:08:39 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.255s coverage: 5.4% of statements 02:08:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:08:41 GO111MODULE=on go vet ./... 02:12:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:12:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:12:33 ./bin/test-attribution-txt.sh 02:12:33 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 02:12:33 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 02:12:33 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 02:12:33 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 02:12:33 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 02:12:33 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 02:12:33 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 02:12:33 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 02:12:33 An attribution for golang.org/x/term is missing from Attribution.txt, please add 02:12:33 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 02:12:33 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 02:12:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 02:12:33 $ docker stop --time=1 0989fb0689e6665cd935ae136cb750f67c4f2d2b2bd3bf8294325c114ccc548e 02:12:35 $ docker rm -f --volumes 0989fb0689e6665cd935ae136cb750f67c4f2d2b2bd3bf8294325c114ccc548e [Pipeline] // withDockerContainer [Pipeline] sh 02:12:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:12:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:12:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:12:39 + ls -al . 02:12:39 total 376 02:12:39 drwxrwxr-x 10 jenkins jenkins 4096 Jul 12 02:04 . 02:12:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 02:00 .. 02:12:39 -rw-rw-r-- 1 jenkins jenkins 140 Jul 12 02:00 .dockerignore 02:12:39 drwxrwxr-x 8 jenkins jenkins 4096 Jul 12 02:00 .git 02:12:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 02:00 .github 02:12:39 -rw-rw-r-- 1 jenkins jenkins 137 Jul 12 02:00 .gitignore 02:12:39 -rw-rw-r-- 1 jenkins jenkins 42 Jul 12 02:00 .golangci.yml 02:12:39 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 12 02:00 CHANGELOG.md 02:12:39 -rw-rw-r-- 1 jenkins jenkins 677 Jul 12 02:00 GOVERNANCE.md 02:12:39 -rw-rw-r-- 1 jenkins jenkins 885 Jul 12 02:00 Jenkinsfile 02:12:39 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 12 02:00 LICENSE 02:12:39 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 12 02:00 Makefile 02:12:39 -rw-rw-r-- 1 jenkins jenkins 619 Jul 12 02:00 OWNERS.md 02:12:39 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 12 02:00 README.md 02:12:39 -rw-rw-r-- 1 jenkins jenkins 5 Jul 12 01:56 VERSION 02:12:39 drwxrwxr-x 2 jenkins jenkins 4096 Jul 12 02:00 bin 02:12:39 -rw-r--r-- 1 jenkins jenkins 125169 Jul 12 02:08 coverage.out 02:12:39 drwxrwxr-x 5 jenkins jenkins 4096 Jul 12 02:00 example 02:12:39 -rw-rw-r-- 1 jenkins jenkins 7065 Jul 12 02:00 go.mod 02:12:39 -rw-rw-r-- 1 jenkins jenkins 101738 Jul 12 02:00 go.sum 02:12:39 drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 02:00 internal 02:12:39 drwxrwxr-x 3 jenkins jenkins 4096 Jul 12 02:00 openapi 02:12:39 drwxrwxr-x 6 jenkins jenkins 4096 Jul 12 02:00 pkg 02:12:39 drwxrwxr-x 4 jenkins jenkins 4096 Jul 12 02:00 snap 02:12:39 -rw-rw-r-- 1 jenkins jenkins 222 Jul 12 02:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:12:39 + 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=e59f102ded9f468f6a1ef58277474402d3de2713 --label arch=arm64 --label version=0.0.0 . 02:12:40 Sending build context to Docker daemon 13.12MB 02:12:40 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 02:12:40 Step 2/24 : FROM ${BASE} AS builder 02:12:40 ---> 8a66596e6146 02:12:40 Step 3/24 : ARG MAKE=make build 02:12:40 ---> Running in 429a3b6f9877 02:12:40 Removing intermediate container 429a3b6f9877 02:12:40 ---> e859da120e32 02:12:40 Step 4/24 : WORKDIR /device-sdk-go 02:12:40 ---> Running in a22e087ce16d 02:12:40 Removing intermediate container a22e087ce16d 02:12:40 ---> 2df4536e068d 02:12:40 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 02:12:41 ---> Running in 1f2029c13e95 02:12:41 Removing intermediate container 1f2029c13e95 02:12:41 ---> 57ebb211f3c0 02:12:41 Step 6/24 : RUN apk add --update --no-cache make git 02:12:41 ---> Running in 570bd4dbca2a 02:12:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:12:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:12:43 OK: 266 MiB in 52 packages 02:12:44 Removing intermediate container 570bd4dbca2a 02:12:44 ---> 0f931ad5bd5e 02:12:44 Step 7/24 : COPY go.mod vendor* ./ 02:12:45 ---> b2ff576864ae 02:12:45 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:12:45 ---> Running in 5cc53c5328e1 02:12:47 Removing intermediate container 5cc53c5328e1 02:12:47 ---> 4c7b9f87dc6e 02:12:47 Step 9/24 : COPY . . 02:12:49 ---> 3d7e94fe8dcd 02:12:49 Step 10/24 : RUN ${MAKE} 02:12:49 ---> Running in 8fc34267ee02 02:12:50 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:16:26 Removing intermediate container 8fc34267ee02 02:16:26 ---> 9f853f9c379b 02:16:26 Step 11/24 : FROM alpine:3.18 02:16:26 3.18: Pulling from library/alpine 02:16:26 5c905c7ebe2f: Pulling fs layer 02:16:26 5c905c7ebe2f: Verifying Checksum 02:16:26 5c905c7ebe2f: Download complete 02:16:26 5c905c7ebe2f: Pull complete 02:16:26 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 02:16:26 Status: Downloaded newer image for alpine:3.18 02:16:26 ---> dec292d02e07 02:16:26 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 02:16:26 ---> Running in 5d220efac76a 02:16:26 Removing intermediate container 5d220efac76a 02:16:26 ---> 664bd8e2a019 02:16:26 Step 13/24 : RUN apk add --update --no-cache dumb-init 02:16:26 ---> Running in b6da6b82be2b 02:16:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:16:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:16:26 (1/1) Installing dumb-init (1.2.5-r2) 02:16:26 Executing busybox-1.36.1-r7.trigger 02:16:26 OK: 8 MiB in 16 packages 02:16:26 Removing intermediate container b6da6b82be2b 02:16:26 ---> 17d84e3991b9 02:16:26 Step 14/24 : RUN apk --no-cache upgrade 02:16:26 ---> Running in 13ef971220aa 02:16:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 02:16:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 02:16:26 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 02:16:26 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 02:16:26 OK: 8 MiB in 16 packages 02:16:27 Removing intermediate container 13ef971220aa 02:16:27 ---> ba813cfa9b1f 02:16:27 Step 15/24 : WORKDIR / 02:16:27 ---> Running in bb27ca887c42 02:16:28 Removing intermediate container bb27ca887c42 02:16:28 ---> d8f0d87770ee 02:16:28 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:16:28 ---> 9715829f71f6 02:16:28 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:16:30 ---> 74e76146b1b4 02:16:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:16:31 ---> 3937dd53425e 02:16:31 Step 19/24 : EXPOSE 59999 02:16:31 ---> Running in 4e7fd5de4b17 02:16:31 Removing intermediate container 4e7fd5de4b17 02:16:31 ---> 211e0df11a5f 02:16:31 Step 20/24 : ENTRYPOINT ["/device-simple"] 02:16:31 ---> Running in e3e7245efb58 02:16:31 Removing intermediate container e3e7245efb58 02:16:31 ---> 1256dae423f6 02:16:31 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 02:16:32 ---> Running in fd001f71813b 02:16:32 Removing intermediate container fd001f71813b 02:16:32 ---> ec94f2cc2311 02:16:32 Step 22/24 : LABEL arch=arm64 02:16:32 ---> Running in c5dc57c21dee 02:16:32 Removing intermediate container c5dc57c21dee 02:16:32 ---> 0dbae5698b88 02:16:32 Step 23/24 : LABEL git_sha=e59f102ded9f468f6a1ef58277474402d3de2713 02:16:32 ---> Running in 22b6fb0d90e3 02:16:33 Removing intermediate container 22b6fb0d90e3 02:16:33 ---> fb2f0754fa52 02:16:33 Step 24/24 : LABEL version=0.0.0 02:16:33 ---> Running in bb00c7ec08be 02:16:33 Removing intermediate container bb00c7ec08be 02:16:33 ---> 42815f9bdea5 02:16:33 [Warning] One or more build-args [ARCH] were not consumed 02:16:33 Successfully built 42815f9bdea5 02:16:33 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:16:33 02:16:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:16:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:16:34 arm64: Pulling from edgex-lftools-log-publisher 02:16:34 8998bd30e6a1: Pulling fs layer 02:16:34 04944245beec: Pulling fs layer 02:16:34 699f458cf7ca: Pulling fs layer 02:16:34 765212b225bb: Pulling fs layer 02:16:34 f23df028b6ca: Pulling fs layer 02:16:34 d65c8cfc05b1: Pulling fs layer 02:16:34 2437ff75d9bd: Pulling fs layer 02:16:34 f23df028b6ca: Waiting 02:16:34 d65c8cfc05b1: Waiting 02:16:34 2437ff75d9bd: Waiting 02:16:34 765212b225bb: Waiting 02:16:34 04944245beec: Verifying Checksum 02:16:34 04944245beec: Download complete 02:16:34 765212b225bb: Download complete 02:16:34 f23df028b6ca: Verifying Checksum 02:16:34 f23df028b6ca: Download complete 02:16:34 d65c8cfc05b1: Verifying Checksum 02:16:34 d65c8cfc05b1: Download complete 02:16:34 699f458cf7ca: Verifying Checksum 02:16:34 699f458cf7ca: Download complete 02:16:35 8998bd30e6a1: Verifying Checksum 02:16:35 8998bd30e6a1: Download complete 02:16:38 2437ff75d9bd: Verifying Checksum 02:16:38 2437ff75d9bd: Download complete 02:16:40 8998bd30e6a1: Pull complete 02:16:40 04944245beec: Pull complete 02:16:42 699f458cf7ca: Pull complete 02:16:42 765212b225bb: Pull complete 02:16:43 f23df028b6ca: Pull complete 02:16:43 d65c8cfc05b1: Pull complete 02:17:01 2437ff75d9bd: Pull complete 02:17:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:17:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:17:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:01 prd-ubuntu20.04-docker-arm64-4c-16g-5400 does not seem to be running inside a container 02:17:01 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:17:04 $ docker top f46835cd646a3e92209c4446ee8e1db1e1b2558a983c02dbb49c41b71fd5c063 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:17:05 ---> job-cost.sh 02:17:05 lf-activate-venv: SKIPPING 02:17:05 INFO: No Stack... 02:17:06 INFO: Retrieving Pricing Info for: v3-standard-4 02:17:06 INFO: Archiving Costs [Pipeline] sh 02:17:07 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 02:17:07 + cut -d, -f6 [Pipeline] lock 02:17:07 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-2-stack-cost] 02:17:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1594-2-stack-cost] did not exist. Created. 02:17:07 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:17:07 /w/workspace/device-sdk-go/2@tmp/durable-0bf6f5d2/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:17:08 + echo total: 0.10999999940395355 [Pipeline] stash 02:17:08 Warning: overwriting stash ‘stack-cost’ 02:17:08 Stashed 1 file(s) [Pipeline] } 02:17:08 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:17:08 $ docker stop --time=1 f46835cd646a3e92209c4446ee8e1db1e1b2558a983c02dbb49c41b71fd5c063 02:17:10 $ docker rm -f --volumes f46835cd646a3e92209c4446ee8e1db1e1b2558a983c02dbb49c41b71fd5c063 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:17:11 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives ] 02:17:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives 02:17:11 total 16 02:17:11 drwxr-xr-x 3 root root 4096 Jul 12 01:58 . 02:17:11 drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 01:58 .. 02:17:11 drwxr-xr-x 2 root root 4096 Jul 12 01:58 cost 02:17:11 -rw-r--r-- 1 root root 86 Jul 12 01:58 cost.csv 02:17:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives 02:17:11 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives 02:17:11 total 16 02:17:11 drwxr-xr-x 3 jenkins jenkins 4096 Jul 12 01:58 . 02:17:11 drwxrwxr-x 12 jenkins jenkins 4096 Jul 12 01:58 .. 02:17:11 drwxr-xr-x 2 jenkins jenkins 4096 Jul 12 01:58 cost 02:17:11 -rw-r--r-- 1 jenkins jenkins 86 Jul 12 01:58 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:17:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:17:12 ---> package-listing.sh 02:17:12 ++ facter osfamily 02:17:12 ++ tr '[:upper:]' '[:lower:]' 02:17:13 + OS_FAMILY=debian 02:17:13 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1594 02:17:13 + START_PACKAGES=/tmp/packages_start.txt 02:17:13 + END_PACKAGES=/tmp/packages_end.txt 02:17:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:17:13 + PACKAGES=/tmp/packages_start.txt 02:17:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1594 ']' 02:17:13 + PACKAGES=/tmp/packages_end.txt 02:17:13 + case "${OS_FAMILY}" in 02:17:13 + dpkg -l 02:17:13 + grep '^ii' 02:17:13 + '[' -f /tmp/packages_start.txt ']' 02:17:13 + '[' -f /tmp/packages_end.txt ']' 02:17:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:17:13 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1594 ']' 02:17:13 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/ 02:17:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/ [Pipeline] echo 02:17:13 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/gexfoundry_device-sdk-go_PR-1594/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:17:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 02:17:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:17:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 02:17:14 prd-ubuntu20.04-docker-8c-8g-5399 does not seem to be running inside a container 02:17:14 $ 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/gexfoundry_device-sdk-go_PR-1594/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1594 -v /w/workspace/gexfoundry_device-sdk-go_PR-1594:/w/workspace/gexfoundry_device-sdk-go_PR-1594:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1594@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 ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:17:14 $ docker top b428841a427681ed0ca7fd4e94ef50d484329b2af4202669bcc5fd20cf7c8d3f -eo pid,comm [Pipeline] { [Pipeline] sh 02:17:14 + touch /tmp/pre-build-complete [Pipeline] sh 02:17:14 + mkdir -p /var/log/sysstat [Pipeline] sh 02:17:15 + ls /var/log/sa-host 02:17:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:17:15 provisioning config files... 02:17:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config6562641384428816249tmp [Pipeline] { [Pipeline] echo 02:17:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:17:15 ---> create-netrc.sh [Pipeline] } 02:17:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:17:16 ---> python-tools-install.sh [Pipeline] echo 02:17:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:17:16 ---> sudo-logs.sh 02:17:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:17:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:17:16 ---> job-cost.sh 02:17:16 lf-activate-venv: SKIPPING 02:17:16 DEBUG: total: 0.2199999988079071 02:17:16 INFO: Retrieving Stack Cost... 02:17:17 INFO: Retrieving Pricing Info for: v3-standard-8 02:17:17 INFO: Archiving Costs [Pipeline] echo 02:17:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:17:17 ---> logs-deploy.sh 02:17:17 lf-activate-venv: SKIPPING 02:17:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1594/2 02:17:17 INFO: archiving workspace using pattern(s): 02:17:18 Archives upload complete. 02:17:18 INFO: archiving logs to Nexus 02:17:19 ---> uname -a: 02:17:19 Linux prd-ubuntu20-04-docker-8c-8g-5399 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 02:17:19 02:17:19 02:17:19 ---> lscpu: 02:17:19 Architecture: x86_64 02:17:19 CPU op-mode(s): 32-bit, 64-bit 02:17:19 Byte Order: Little Endian 02:17:19 Address sizes: 40 bits physical, 48 bits virtual 02:17:19 CPU(s): 8 02:17:19 On-line CPU(s) list: 0-7 02:17:19 Thread(s) per core: 1 02:17:19 Core(s) per socket: 1 02:17:19 Socket(s): 8 02:17:19 NUMA node(s): 1 02:17:19 Vendor ID: AuthenticAMD 02:17:19 CPU family: 23 02:17:19 Model: 49 02:17:19 Model name: AMD EPYC-Rome Processor 02:17:19 Stepping: 0 02:17:19 CPU MHz: 2799.998 02:17:19 BogoMIPS: 5599.99 02:17:19 Virtualization: AMD-V 02:17:19 Hypervisor vendor: KVM 02:17:19 Virtualization type: full 02:17:19 L1d cache: 256 KiB 02:17:19 L1i cache: 256 KiB 02:17:19 L2 cache: 4 MiB 02:17:19 L3 cache: 128 MiB 02:17:19 NUMA node0 CPU(s): 0-7 02:17:19 Vulnerability Itlb multihit: Not affected 02:17:19 Vulnerability L1tf: Not affected 02:17:19 Vulnerability Mds: Not affected 02:17:19 Vulnerability Meltdown: Not affected 02:17:19 Vulnerability Mmio stale data: Not affected 02:17:19 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 02:17:19 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 02:17:19 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 02:17:19 Vulnerability Srbds: Not affected 02:17:19 Vulnerability Tsx async abort: Not affected 02:17:19 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 02:17:19 02:17:19 02:17:19 ---> nproc: 02:17:19 8 02:17:19 02:17:19