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 d8a40c0890ccea5e20f95572cd1093eff0cfc096+50e812dd0fc65b097297637d35e073c818e89983 (3c20d2dbedf8fff65f0664b68320b6acc1fb3195) 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-ssh15043824552679384342.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-ssh13610687545755161309.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-ssh5926085842319219324.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-ssh5086602459260364793.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-ssh1344597572729906730.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-5582 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 50e812dd0fc65b097297637d35e073c818e89983 into PR head commit d8a40c0890ccea5e20f95572cd1093eff0cfc096 Merge succeeded, producing d8a40c0890ccea5e20f95572cd1093eff0cfc096 Checking out Revision d8a40c0890ccea5e20f95572cd1093eff0cfc096 (PR-1594) > git config core.sparsecheckout # timeout=10 > git checkout -f d8a40c0890ccea5e20f95572cd1093eff0cfc096 # 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 50e812dd0fc65b097297637d35e073c818e89983 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d8a40c0890ccea5e20f95572cd1093eff0cfc096 # timeout=10 Commit message: "feat: Add /profilescan API" First time build. Skipping changelog. > git rev-list --no-walk 1ed37a69e8b276466ddbede54cacb54d1ac0c712 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:23:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:23:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:23:57 ========================================================= 01:23:57 EdgeX Global Pipelines Version Info 01:23:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:23:58 ------------------- 01:23:58 stable info: 01:23:58 ------------------- 01:23:58 Commited By: Ginny Guan ginny@iotechsys.com 01:23:58 Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc 01:23:58 Message: update stable to v1.0.260 01:23:58 ------------------- 01:23:58 experimental info: 01:23:58 ------------------- 01:23:58 Commited By: Ginny Guan ginny@iotechsys.com 01:23:58 Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 01:23:58 Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:23:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1594 [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1594 [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1594 [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d8a40c0890ccea5e20f95572cd1093eff0cfc096 [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d8a40c0 [Pipeline] echo 01:23:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:23:59 provisioning config files... 01:23:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config14583724840305422024tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:23:59 ---> ****-login.sh 01:23:59 nexus3.edgexfoundry.org:10001 01:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:00 Configure a credential helper to remove this warning. See 01:24:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:00 01:24:00 Login Succeeded 01:24:00 nexus3.edgexfoundry.org:10002 01:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:00 Configure a credential helper to remove this warning. See 01:24:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:00 01:24:00 Login Succeeded 01:24:00 nexus3.edgexfoundry.org:10003 01:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:00 Configure a credential helper to remove this warning. See 01:24:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:00 01:24:00 Login Succeeded 01:24:00 nexus3.edgexfoundry.org:10004 01:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:00 Configure a credential helper to remove this warning. See 01:24:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:00 01:24:00 Login Succeeded 01:24:00 ****.io 01:24:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:00 Configure a credential helper to remove this warning. See 01:24:00 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:00 01:24:00 Login Succeeded 01:24:00 ---> ****-login.sh ends [Pipeline] } 01:24:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 01:24:01 + git rev-list -1 --merges d8a40c0890ccea5e20f95572cd1093eff0cfc096~1..d8a40c0890ccea5e20f95572cd1093eff0cfc096 [Pipeline] echo 01:24:01 -----------> git rev-list -1 --merges d8a40c0890ccea5e20f95572cd1093eff0cfc096~1..d8a40c0890ccea5e20f95572cd1093eff0cfc096 d8a40c0890ccea5e20f95572cd1093eff0cfc096 [false] [Pipeline] sh 01:24:01 + git log --format=format:%s -1 d8a40c0890ccea5e20f95572cd1093eff0cfc096 [Pipeline] echo 01:24:01 ========================================================= 01:24:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 01:24:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:24:01 + git log --format=format:%s -1 d8a40c0890ccea5e20f95572cd1093eff0cfc096 [Pipeline] echo 01:24:01 [semverPrep] GIT_COMMIT: d8a40c0890ccea5e20f95572cd1093eff0cfc096, Commit Message: feat: Add /profilescan API [Pipeline] echo 01:24:01 [semverPrep] This is not a build commit. [Pipeline] sh 01:24:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 01:24:02 + grep -v github /etc/ssh/ssh_known_hosts 01:24:02 + [ -e /tmp/ssh_known_hosts ] 01:24:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 01:24:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 01:24:02 + sudo tee -a /etc/ssh/ssh_known_hosts 01:24:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:02 01:24:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:03 0.1.4: Pulling from edgex-devops/py-git-semver 01:24:03 b85a868b505f: Pulling fs layer 01:24:03 e2be974225ed: Pulling fs layer 01:24:03 339a4e72a1f5: Pulling fs layer 01:24:03 988bab9f4d93: Pulling fs layer 01:24:03 1469e6f7b9e6: Pulling fs layer 01:24:03 eaf3925da568: Pulling fs layer 01:24:03 bab4dde63d76: Pulling fs layer 01:24:03 bde34c3a00c8: Pulling fs layer 01:24:03 b352a97aabf1: Pulling fs layer 01:24:03 4872d77fe225: Pulling fs layer 01:24:03 5851b861e8e6: Pulling fs layer 01:24:03 bde34c3a00c8: Waiting 01:24:03 bab4dde63d76: Waiting 01:24:03 988bab9f4d93: Waiting 01:24:03 5851b861e8e6: Waiting 01:24:03 eaf3925da568: Waiting 01:24:03 1469e6f7b9e6: Waiting 01:24:03 4872d77fe225: Waiting 01:24:03 b352a97aabf1: Waiting 01:24:03 e2be974225ed: Download complete 01:24:03 988bab9f4d93: Verifying Checksum 01:24:03 988bab9f4d93: Download complete 01:24:03 1469e6f7b9e6: Verifying Checksum 01:24:03 1469e6f7b9e6: Download complete 01:24:03 339a4e72a1f5: Verifying Checksum 01:24:03 339a4e72a1f5: Download complete 01:24:03 eaf3925da568: Verifying Checksum 01:24:03 eaf3925da568: Download complete 01:24:03 bde34c3a00c8: Download complete 01:24:03 b352a97aabf1: Verifying Checksum 01:24:03 b352a97aabf1: Download complete 01:24:03 4872d77fe225: Verifying Checksum 01:24:03 4872d77fe225: Download complete 01:24:03 5851b861e8e6: Verifying Checksum 01:24:03 5851b861e8e6: Download complete 01:24:03 b85a868b505f: Download complete 01:24:03 bab4dde63d76: Verifying Checksum 01:24:03 bab4dde63d76: Download complete 01:24:04 b85a868b505f: Pull complete 01:24:04 e2be974225ed: Pull complete 01:24:05 339a4e72a1f5: Pull complete 01:24:05 988bab9f4d93: Pull complete 01:24:05 1469e6f7b9e6: Pull complete 01:24:05 eaf3925da568: Pull complete 01:24:07 bab4dde63d76: Pull complete 01:24:07 bde34c3a00c8: Pull complete 01:24:07 b352a97aabf1: Pull complete 01:24:07 4872d77fe225: Pull complete 01:24:07 5851b861e8e6: Pull complete 01:24:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 01:24:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 01:24:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:24:07 prd-ubuntu20.04-docker-8c-8g-5582 does not seem to be running inside a container 01:24:08 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 01:24:10 $ docker top 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff -eo pid,comm 01:24:10 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:24:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:24:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:10 [ssh-agent] Looking for ssh-agent implementation... 01:24:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:10 $ docker exec 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff ssh-agent 01:24:10 SSH_AUTH_SOCK=/tmp/ssh-uHq8lgvL3DFc/agent.32 01:24:10 SSH_AGENT_PID=38 01:24:10 Running ssh-add (command line suppressed) 01:24:10 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_14490279307771164790.key (/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_14490279307771164790.key) 01:24:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:11 + git tag --points-at HEAD [Pipeline] } 01:24:11 $ docker exec --env ******** --env ******** 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff ssh-agent -k 01:24:11 unset SSH_AUTH_SOCK; 01:24:11 unset SSH_AGENT_PID; 01:24:11 echo Agent pid 38 killed; 01:24:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:24:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:24:11 [ssh-agent] Looking for ssh-agent implementation... 01:24:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:24:11 $ docker exec 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff ssh-agent 01:24:11 SSH_AUTH_SOCK=/tmp/ssh-O7T62r25qHXg/agent.71 01:24:11 SSH_AGENT_PID=77 01:24:11 Running ssh-add (command line suppressed) 01:24:11 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_16241624299320239339.key (/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/private_key_16241624299320239339.key) 01:24:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:24:11 + git semver init 01:24:12 2024-07-15 01:24:12,131 [run_init] DEBUG init version:0.0.0 force:False 01:24:12 2024-07-15 01:24:12,132 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver 01:24:12 2024-07-15 01:24:12,132 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver 01:24:12 2024-07-15 01:24:12,132 [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:24:14 2024-07-15 01:24:14,074 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.git/info/exclude 01:24:14 2024-07-15 01:24:14,075 [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:24:14 2024-07-15 01:24:14,075 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 01:24:14 2024-07-15 01:24:14,080 [execute] INFO git cat-file --batch-check 01:24:14 2024-07-15 01:24:14,080 [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:24:14 2024-07-15 01:24:14,087 [execute] INFO git cat-file --batch 01:24:14 2024-07-15 01:24:14,087 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver, universal_newlines=False, shell=None, istream=) 01:24:14 2024-07-15 01:24:14,091 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1594/.semver/PR-1594 01:24:14 0.0.0 [Pipeline] } 01:24:14 $ docker exec --env ******** --env ******** 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff ssh-agent -k 01:24:14 unset SSH_AUTH_SOCK; 01:24:14 unset SSH_AGENT_PID; 01:24:14 echo Agent pid 77 killed; 01:24:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:24:14 + git semver [Pipeline] } 01:24:14 $ docker stop --time=1 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff 01:24:16 $ docker rm -f --volumes 2b56a3a0c12fd5271205ad18a3c6621c61a66214b5752237669be5636e70f6ff [Pipeline] // withDockerContainer [Pipeline] sh 01:24:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:24:16 Stashed 1 file(s) [Pipeline] echo 01:24:16 [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:24:16 provisioning config files... 01:24:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config7461546192738834455tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:24:17 ---> ****-login.sh 01:24:17 nexus3.edgexfoundry.org:10001 01:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:17 Configure a credential helper to remove this warning. See 01:24:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:17 01:24:17 Login Succeeded 01:24:17 nexus3.edgexfoundry.org:10002 01:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:17 Configure a credential helper to remove this warning. See 01:24:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:17 01:24:17 Login Succeeded 01:24:17 nexus3.edgexfoundry.org:10003 01:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:17 Configure a credential helper to remove this warning. See 01:24:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:17 01:24:17 Login Succeeded 01:24:17 nexus3.edgexfoundry.org:10004 01:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:17 Configure a credential helper to remove this warning. See 01:24:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:17 01:24:17 Login Succeeded 01:24:17 ****.io 01:24:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:24:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:24:17 Configure a credential helper to remove this warning. See 01:24:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:24:17 01:24:17 Login Succeeded 01:24:17 ---> ****-login.sh ends [Pipeline] } 01:24:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:24:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:24:17 ========================================================= 01:24:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 01:24:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:24:18 + 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:24:18 Sending build context to Docker daemon 25.1MB 01:24:18 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 01:24:18 Step 2/10 : FROM ${BASE} AS builder 01:24:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 01:24:18 619be1103602: Pulling fs layer 01:24:18 7862e08f4a3e: Pulling fs layer 01:24:18 5df492c9dc93: Pulling fs layer 01:24:18 7629e6793208: Pulling fs layer 01:24:18 4f4fb700ef54: Pulling fs layer 01:24:18 fb5054dd5b73: Pulling fs layer 01:24:18 eeca6798cff9: Pulling fs layer 01:24:18 aa269ceb94a6: Pulling fs layer 01:24:18 ada007ff1a6a: Pulling fs layer 01:24:18 7629e6793208: Waiting 01:24:18 eeca6798cff9: Waiting 01:24:18 4f4fb700ef54: Waiting 01:24:18 fb5054dd5b73: Waiting 01:24:18 aa269ceb94a6: Waiting 01:24:18 ada007ff1a6a: Waiting 01:24:18 7862e08f4a3e: Download complete 01:24:18 7629e6793208: Verifying Checksum 01:24:18 7629e6793208: Download complete 01:24:18 fb5054dd5b73: Verifying Checksum 01:24:18 fb5054dd5b73: Download complete 01:24:18 619be1103602: Verifying Checksum 01:24:18 619be1103602: Download complete 01:24:18 eeca6798cff9: Verifying Checksum 01:24:18 eeca6798cff9: Download complete 01:24:18 619be1103602: Pull complete 01:24:18 ada007ff1a6a: Verifying Checksum 01:24:18 ada007ff1a6a: Download complete 01:24:18 7862e08f4a3e: Pull complete 01:24:18 5df492c9dc93: Verifying Checksum 01:24:18 5df492c9dc93: Download complete 01:24:19 aa269ceb94a6: Verifying Checksum 01:24:19 aa269ceb94a6: Download complete 01:24:22 5df492c9dc93: Pull complete 01:24:22 7629e6793208: Pull complete 01:24:22 4f4fb700ef54: Pull complete 01:24:22 fb5054dd5b73: Pull complete 01:24:22 eeca6798cff9: Pull complete 01:24:25 aa269ceb94a6: Pull complete 01:24:25 ada007ff1a6a: Pull complete 01:24:25 Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 01:24:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 01:24:25 ---> f489d0715acc 01:24:25 Step 3/10 : ARG MAKE=make build 01:24:29 ---> Running in c7bf69a58890 01:24:29 Removing intermediate container c7bf69a58890 01:24:29 ---> c10a9a061fca 01:24:29 Step 4/10 : WORKDIR /device-sdk-go 01:24:29 ---> Running in d0ab8f338278 01:24:29 Removing intermediate container d0ab8f338278 01:24:29 ---> c6c6236e1991 01:24:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:24:29 ---> Running in db92830477f7 01:24:29 Removing intermediate container db92830477f7 01:24:29 ---> 7e73607d97e3 01:24:29 Step 6/10 : RUN apk add --update --no-cache make git 01:24:29 ---> Running in dc2a580817ba 01:24:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 01:24:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 01:24:29 OK: 264 MiB in 52 packages 01:24:30 Removing intermediate container dc2a580817ba 01:24:30 ---> b2730c4c0753 01:24:30 Step 7/10 : COPY go.mod vendor* ./ 01:24:30 ---> e1d043fa7ad6 01:24:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:24:30 ---> Running in 0b1ccbad1b5a 01:24:31 Still waiting to schedule task 01:24:31 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5580’ is offline 01:25:16 Removing intermediate container 0b1ccbad1b5a 01:25:16 ---> da7eb1fc4a99 01:25:16 Step 9/10 : COPY . . 01:25:16 ---> 22b1b47761ba 01:25:16 Step 10/10 : RUN ${MAKE} 01:25:16 ---> Running in 0b420eeda767 01:25:16 noop 01:25:16 Removing intermediate container 0b420eeda767 01:25:16 ---> 5a34e1044f50 01:25:16 Successfully built 5a34e1044f50 01:25:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:17 + docker inspect -f . ci-base-image-x86_64 01:25:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:17 prd-ubuntu20.04-docker-8c-8g-5582 does not seem to be running inside a container 01:25:17 $ 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 ******** ci-base-image-x86_64 cat 01:25:17 $ docker top 64d70db3c180d454a6ae70415dff58add08d296dded4443ccab9d17bd30ecf2c -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:17 + go version 01:25:17 go version go1.21.9 linux/amd64 [Pipeline] } 01:25:17 $ docker stop --time=1 64d70db3c180d454a6ae70415dff58add08d296dded4443ccab9d17bd30ecf2c 01:25:19 $ docker rm -f --volumes 64d70db3c180d454a6ae70415dff58add08d296dded4443ccab9d17bd30ecf2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:25:19 + docker inspect -f . ci-base-image-x86_64 01:25:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:25:19 prd-ubuntu20.04-docker-8c-8g-5582 does not seem to be running inside a container 01:25:19 $ 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 ******** ci-base-image-x86_64 cat 01:25:20 $ docker top ce7f2c72bceeca93d6312797c9f432ddebdd5107ee2b914a3db1afb10711e0be -eo pid,comm [Pipeline] { [Pipeline] sh 01:25:20 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1594 [Pipeline] fileExists [Pipeline] sh 01:25:20 + make test 01:25:20 go test -race -coverprofile=coverage.out ./... 01:25:28 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:26:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:26:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:26:07 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:26:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:26:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:26:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.025s coverage: 27.0% of statements 01:26:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.032s coverage: 80.0% of statements 01:26:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:26:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:26:07 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:26:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.041s coverage: 86.0% of statements 01:26:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:26:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:26:08 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.092s coverage: 54.9% of statements 01:26:09 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:26:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.036s coverage: 14.4% of statements 01:26:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.002s coverage: 44.6% of statements 01:26:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.053s coverage: 68.5% of statements 01:26:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.126s coverage: 89.2% of statements 01:26:10 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.059s coverage: 5.4% of statements 01:26:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5584 in /w/workspace/gexfoundry_device-sdk-go_PR-1594 [Pipeline] { [Pipeline] ws 01:26:14 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 01:26:17 The recommended git tool is: git 01:26:25 using credential edgex-jenkins-ssh 01:26:25 Cloning the remote Git repository 01:26:25 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:26:26 > git init /w/workspace/device-sdk-go/4 # timeout=10 01:26:26 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:26:26 > git --version # timeout=10 01:26:26 > git --version # 'git version 2.25.1' 01:26:26 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:26:29 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:26:29 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:26:31 Merging remotes/origin/main commit 50e812dd0fc65b097297637d35e073c818e89983 into PR head commit d8a40c0890ccea5e20f95572cd1093eff0cfc096 01:26:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:26:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:26:30 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:30 > 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 01:26:31 > git config core.sparsecheckout # timeout=10 01:26:31 > git checkout -f d8a40c0890ccea5e20f95572cd1093eff0cfc096 # timeout=10 01:26:31 Merge succeeded, producing d8a40c0890ccea5e20f95572cd1093eff0cfc096 01:26:31 Checking out Revision d8a40c0890ccea5e20f95572cd1093eff0cfc096 (PR-1594) 01:26:31 > git remote # timeout=10 01:26:31 > git config --get remote.origin.url # timeout=10 01:26:31 using GIT_SSH to set credentials SSH Credentials for GitHub 01:26:31 > git merge 50e812dd0fc65b097297637d35e073c818e89983 # timeout=10 01:26:31 > git rev-parse HEAD^{commit} # timeout=10 01:26:31 > git config core.sparsecheckout # timeout=10 01:26:31 > git checkout -f d8a40c0890ccea5e20f95572cd1093eff0cfc096 # timeout=10 01:26:35 Commit message: "feat: Add /profilescan API" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:26:37 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:26:37 % Total % Received % Xferd Average Speed Time Time Time Current 01:26:37 Dload Upload Total Spent Left Speed 01:26:37 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh 01:26:37 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:26:37 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:26:37 + sudo tee /etc/docker/daemon.new 01:26:37 { 01:26:37 "registry-mirrors": [ 01:26:37 "https://nexus3.edgexfoundry.org:10001" 01:26:37 ], 01:26:37 "bip": "10.250.0.254/24", 01:26:37 "hosts": [ 01:26:37 "tcp://0.0.0.0:5555", 01:26:37 "unix:///var/run/docker.sock" 01:26:37 ], 01:26:37 "mtu": 1458, 01:26:37 "selinux-enabled": true, 01:26:37 "seccomp-profile": "/etc/docker/seccomp.json" 01:26:37 } [Pipeline] sh 01:26:38 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:26:38 + sudo service docker restart 01:26:49 internal/controller/http/discovery.go:101:92: S1039: unnecessary use of fmt.Sprintf (gosimple) 01:26:49 return sdkModels.ProfileScanRequest{}, errors.NewCommonEdgeX(errors.KindContractInvalid, fmt.Sprintf("request body validation failed"), err) 01:26:49 ^ 01:26:49 make: *** [Makefile:42: lint] Error 1 [Pipeline] } 01:26:49 $ docker stop --time=1 ce7f2c72bceeca93d6312797c9f432ddebdd5107ee2b914a3db1afb10711e0be 01:26:53 $ docker rm -f --volumes ce7f2c72bceeca93d6312797c9f432ddebdd5107ee2b914a3db1afb10711e0be [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:26:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:54 01:26:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:26:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:26:54 latest: Pulling from edgex-lftools-log-publisher 01:26:54 5eb5b503b376: Pulling fs layer 01:26:54 5c69ac0246d0: Pulling fs layer 01:26:54 ec43610c2a17: Pulling fs layer 01:26:54 3a2ae6a8a46f: Pulling fs layer 01:26:54 33b1e0a273af: Pulling fs layer 01:26:54 5d3b04190fa2: Pulling fs layer 01:26:54 2f39f015ded8: Pulling fs layer 01:26:54 33b1e0a273af: Waiting 01:26:54 5d3b04190fa2: Waiting 01:26:54 2f39f015ded8: Waiting 01:26:54 3a2ae6a8a46f: Waiting 01:26:54 5c69ac0246d0: Download complete 01:26:54 3a2ae6a8a46f: Verifying Checksum 01:26:54 3a2ae6a8a46f: Download complete 01:26:54 33b1e0a273af: Verifying Checksum 01:26:54 33b1e0a273af: Download complete 01:26:54 5d3b04190fa2: Verifying Checksum 01:26:54 5d3b04190fa2: Download complete 01:26:54 ec43610c2a17: Verifying Checksum 01:26:54 ec43610c2a17: Download complete 01:26:55 5eb5b503b376: Verifying Checksum 01:26:55 5eb5b503b376: Download complete 01:26:55 2f39f015ded8: Download complete 01:26:56 5eb5b503b376: Pull complete 01:26:56 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:26:56 provisioning config files... 01:26:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7985072190494578783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:26:57 ec43610c2a17: Pull complete 01:26:57 3a2ae6a8a46f: Pull complete 01:26:57 33b1e0a273af: Pull complete 01:26:57 ---> ****-login.sh 01:26:57 nexus3.edgexfoundry.org:10001 01:26:57 5d3b04190fa2: Pull complete 01:26:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:57 Configure a credential helper to remove this warning. See 01:26:57 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:57 01:26:57 Login Succeeded 01:26:57 nexus3.edgexfoundry.org:10002 01:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:58 Configure a credential helper to remove this warning. See 01:26:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:58 01:26:58 Login Succeeded 01:26:58 nexus3.edgexfoundry.org:10003 01:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:58 Configure a credential helper to remove this warning. See 01:26:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:58 01:26:58 Login Succeeded 01:26:58 nexus3.edgexfoundry.org:10004 01:26:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:58 Configure a credential helper to remove this warning. See 01:26:58 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:58 01:26:58 Login Succeeded 01:26:58 ****.io 01:26:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:26:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 01:26:59 Configure a credential helper to remove this warning. See 01:26:59 https://docs.****.com/engine/reference/commandline/login/#credentials-store 01:26:59 01:26:59 Login Succeeded 01:26:59 ---> ****-login.sh ends [Pipeline] } 01:26:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:26:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:26:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 01:26:59 ========================================================= 01:26:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 01:26:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:27:00 + 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 . 01:27:00 Sending build context to Docker daemon 13.02MB 01:27:00 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 01:27:00 Step 2/10 : FROM ${BASE} AS builder 01:27:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:27:01 c6b39de5b339: Pulling fs layer 01:27:01 a69c41024577: Pulling fs layer 01:27:01 d6de4b400683: Pulling fs layer 01:27:01 35cb2a7552d0: Pulling fs layer 01:27:01 4f4fb700ef54: Pulling fs layer 01:27:01 464afbd9ba4c: Pulling fs layer 01:27:01 00f215d4a9da: Pulling fs layer 01:27:01 d496ad576159: Pulling fs layer 01:27:01 4f4fb700ef54: Waiting 01:27:01 464afbd9ba4c: Waiting 01:27:01 00f215d4a9da: Waiting 01:27:01 d496ad576159: Waiting 01:27:01 35cb2a7552d0: Waiting 01:27:01 a69c41024577: Verifying Checksum 01:27:01 a69c41024577: Download complete 01:27:01 35cb2a7552d0: Verifying Checksum 01:27:01 35cb2a7552d0: Download complete 01:27:01 4f4fb700ef54: Verifying Checksum 01:27:01 4f4fb700ef54: Download complete 01:27:01 464afbd9ba4c: Verifying Checksum 01:27:01 464afbd9ba4c: Download complete 01:27:01 c6b39de5b339: Verifying Checksum 01:27:01 c6b39de5b339: Download complete 01:27:01 2f39f015ded8: Pull complete 01:27:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:27:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:27:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:27:01 prd-ubuntu20.04-docker-8c-8g-5582 does not seem to be running inside a container 01:27:01 d496ad576159: Verifying Checksum 01:27:01 d496ad576159: Download complete 01:27: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/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 01:27:01 c6b39de5b339: Pull complete 01:27:02 a69c41024577: Pull complete 01:27:02 d6de4b400683: Verifying Checksum 01:27:02 d6de4b400683: Download complete 01:27:03 $ docker top 3a7be20cc921f1c7c4e418a9c6e3b66579add8902bea2f12058e95543491b0f2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:27:04 00f215d4a9da: Verifying Checksum 01:27:04 00f215d4a9da: Download complete 01:27:04 ---> job-cost.sh 01:27:04 lf-activate-venv: SKIPPING 01:27:04 INFO: No Stack... 01:27:04 INFO: Retrieving Pricing Info for: v3-standard-8 01:27:04 INFO: Archiving Costs [Pipeline] sh 01:27:05 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/cost.csv 01:27:05 + cut -d, -f6 [Pipeline] lock 01:27:05 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] 01:27:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] did not exist. Created. 01:27:05 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:27:05 + echo total: 0.2199999988079071 [Pipeline] stash 01:27:05 Stashed 1 file(s) [Pipeline] } 01:27:05 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:27:05 $ docker stop --time=1 3a7be20cc921f1c7c4e418a9c6e3b66579add8902bea2f12058e95543491b0f2 01:27:06 $ docker rm -f --volumes 3a7be20cc921f1c7c4e418a9c6e3b66579add8902bea2f12058e95543491b0f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:27:06 Failed in branch amd64 01:27:16 d6de4b400683: Pull complete 01:27:16 35cb2a7552d0: Pull complete 01:27:16 4f4fb700ef54: Pull complete 01:27:16 464afbd9ba4c: Pull complete 01:27:26 00f215d4a9da: Pull complete 01:27:26 d496ad576159: Pull complete 01:27:26 Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 01:27:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 01:27:26 ---> f246e2811388 01:27:26 Step 3/10 : ARG MAKE=make build 01:27:29 ---> Running in 38f4a099021c 01:27:29 Removing intermediate container 38f4a099021c 01:27:29 ---> 8da442b10acd 01:27:29 Step 4/10 : WORKDIR /device-sdk-go 01:27:29 ---> Running in e1b022b132b5 01:27:30 Removing intermediate container e1b022b132b5 01:27:30 ---> 9f6188051bb4 01:27:30 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:27:30 ---> Running in 874150f2dae3 01:27:30 Removing intermediate container 874150f2dae3 01:27:30 ---> b050e1af7b0c 01:27:30 Step 6/10 : RUN apk add --update --no-cache make git 01:27:30 ---> Running in 41bb590b9cce 01:27:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:27:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:27:33 OK: 266 MiB in 52 packages 01:27:33 Removing intermediate container 41bb590b9cce 01:27:33 ---> e4543ad14d6b 01:27:33 Step 7/10 : COPY go.mod vendor* ./ 01:27:34 ---> 3d9488412337 01:27:34 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:27:34 ---> Running in 12cd879d14f1 01:29:41 Removing intermediate container 12cd879d14f1 01:29:41 ---> 475e23e8ff6f 01:29:41 Step 9/10 : COPY . . 01:29:41 ---> 23d2cfa892b3 01:29:41 Step 10/10 : RUN ${MAKE} 01:29:41 ---> Running in 61d0e81fc918 01:29:41 noop 01:29:41 Removing intermediate container 61d0e81fc918 01:29:41 ---> 62bf4b5d9870 01:29:41 Successfully built 62bf4b5d9870 01:29:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:41 + docker inspect -f . ci-base-image-arm64 01:29:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:41 prd-ubuntu20.04-docker-arm64-4c-16g-5584 does not seem to be running inside a container 01:29:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 01:29:42 $ docker top 3397c1a4765ea16d63c30d7401d9526a5ecd01c85fea15bbd03a9c1365fc35bd -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:43 + go version 01:29:43 go version go1.21.9 linux/arm64 [Pipeline] } 01:29:43 $ docker stop --time=1 3397c1a4765ea16d63c30d7401d9526a5ecd01c85fea15bbd03a9c1365fc35bd 01:29:45 $ docker rm -f --volumes 3397c1a4765ea16d63c30d7401d9526a5ecd01c85fea15bbd03a9c1365fc35bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:29:45 + docker inspect -f . ci-base-image-arm64 01:29:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:29:46 prd-ubuntu20.04-docker-arm64-4c-16g-5584 does not seem to be running inside a container 01:29:46 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 01:29:47 $ docker top 132c5a6e9a5b33f59dbc6b10b88f6f4e580e87971aef57d08a2653984af1de25 -eo pid,comm [Pipeline] { [Pipeline] sh 01:29:47 + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh 01:29:48 + make test 01:29:48 go test -race -coverprofile=coverage.out ./... 01:30:35 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:33:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:33:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:33:57 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:33:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:33:57 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:34:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.124s coverage: 27.0% of statements 01:34:10 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.168s coverage: 80.0% of statements 01:34:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:34:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:34:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.290s coverage: 86.0% of statements 01:34:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:34:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.528s coverage: 54.9% of statements 01:34:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.153s coverage: 14.4% of statements 01:34:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.681s coverage: 44.6% of statements 01:34:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:34:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:34:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.299s coverage: 68.5% of statements 01:34:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.400s coverage: 89.2% of statements 01:34:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:34:37 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.250s coverage: 5.4% of statements 01:34:38 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:34:38 GO111MODULE=on go vet ./... 01:38:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:38:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:38:30 ./bin/test-attribution-txt.sh 01:38:30 An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/josharian/intern is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/openziti/identity is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/pkg/errors is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/spf13/cast is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add 01:38:30 An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add 01:38:30 An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add 01:38:30 An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add 01:38:30 An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add 01:38:30 An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add 01:38:30 An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add 01:38:30 An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add 01:38:30 An attribution for golang.org/x/term is missing from Attribution.txt, please add 01:38:30 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add 01:38:30 An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo 01:38:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 01:38:30 $ docker stop --time=1 132c5a6e9a5b33f59dbc6b10b88f6f4e580e87971aef57d08a2653984af1de25 01:38:32 $ docker rm -f --volumes 132c5a6e9a5b33f59dbc6b10b88f6f4e580e87971aef57d08a2653984af1de25 [Pipeline] // withDockerContainer [Pipeline] sh 01:38:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:38:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:38:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:38:36 + ls -al . 01:38:36 total 376 01:38:36 drwxrwxr-x 10 jenkins jenkins 4096 Jul 15 01:29 . 01:38:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 01:26 .. 01:38:36 -rw-rw-r-- 1 jenkins jenkins 140 Jul 15 01:26 .dockerignore 01:38:36 drwxrwxr-x 8 jenkins jenkins 4096 Jul 15 01:26 .git 01:38:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 01:26 .github 01:38:36 -rw-rw-r-- 1 jenkins jenkins 137 Jul 15 01:26 .gitignore 01:38:36 -rw-rw-r-- 1 jenkins jenkins 42 Jul 15 01:26 .golangci.yml 01:38:36 -rw-rw-r-- 1 jenkins jenkins 48109 Jul 15 01:26 CHANGELOG.md 01:38:36 -rw-rw-r-- 1 jenkins jenkins 677 Jul 15 01:26 GOVERNANCE.md 01:38:36 -rw-rw-r-- 1 jenkins jenkins 885 Jul 15 01:26 Jenkinsfile 01:38:36 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 15 01:26 LICENSE 01:38:36 -rw-rw-r-- 1 jenkins jenkins 1842 Jul 15 01:26 Makefile 01:38:36 -rw-rw-r-- 1 jenkins jenkins 619 Jul 15 01:26 OWNERS.md 01:38:36 -rw-rw-r-- 1 jenkins jenkins 4937 Jul 15 01:26 README.md 01:38:36 -rw-rw-r-- 1 jenkins jenkins 5 Jul 15 01:24 VERSION 01:38:36 drwxrwxr-x 2 jenkins jenkins 4096 Jul 15 01:26 bin 01:38:36 -rw-r--r-- 1 jenkins jenkins 125353 Jul 15 01:34 coverage.out 01:38:36 drwxrwxr-x 5 jenkins jenkins 4096 Jul 15 01:26 example 01:38:36 -rw-rw-r-- 1 jenkins jenkins 7102 Jul 15 01:26 go.mod 01:38:36 -rw-rw-r-- 1 jenkins jenkins 102003 Jul 15 01:26 go.sum 01:38:36 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 01:26 internal 01:38:36 drwxrwxr-x 3 jenkins jenkins 4096 Jul 15 01:26 openapi 01:38:36 drwxrwxr-x 6 jenkins jenkins 4096 Jul 15 01:26 pkg 01:38:36 drwxrwxr-x 4 jenkins jenkins 4096 Jul 15 01:26 snap 01:38:36 -rw-rw-r-- 1 jenkins jenkins 222 Jul 15 01:26 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:38:36 + 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=d8a40c0890ccea5e20f95572cd1093eff0cfc096 --label arch=arm64 --label version=0.0.0 . 01:38:38 Sending build context to Docker daemon 13.14MB 01:38:38 Step 1/24 : ARG BASE=golang:1.21-alpine3.18 01:38:38 Step 2/24 : FROM ${BASE} AS builder 01:38:38 ---> 62bf4b5d9870 01:38:38 Step 3/24 : ARG MAKE=make build 01:38:38 ---> Running in b39d5b6e6961 01:38:38 Removing intermediate container b39d5b6e6961 01:38:38 ---> 7f56d29374b8 01:38:38 Step 4/24 : WORKDIR /device-sdk-go 01:38:38 ---> Running in 7bf694aaa6d9 01:38:38 Removing intermediate container 7bf694aaa6d9 01:38:38 ---> e3f0acdf09f0 01:38:38 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:38:38 ---> Running in 938c6e316841 01:38:38 Removing intermediate container 938c6e316841 01:38:38 ---> 4a61f5487c37 01:38:38 Step 6/24 : RUN apk add --update --no-cache make git 01:38:38 ---> Running in 761c76e5df41 01:38:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:38:40 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:38:40 OK: 266 MiB in 52 packages 01:38:41 Removing intermediate container 761c76e5df41 01:38:41 ---> f8e36c8585d7 01:38:41 Step 7/24 : COPY go.mod vendor* ./ 01:38:42 ---> 9e2881fd3c01 01:38:42 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:38:42 ---> Running in b7ec6ed532c4 01:38:45 Removing intermediate container b7ec6ed532c4 01:38:45 ---> 52f80fd84298 01:38:45 Step 9/24 : COPY . . 01:38:46 ---> 853dd0d049c4 01:38:46 Step 10/24 : RUN ${MAKE} 01:38:46 ---> Running in aa2ea76a7918 01:38:47 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 01:42:24 Removing intermediate container aa2ea76a7918 01:42:24 ---> 98ac9c0ea13b 01:42:24 Step 11/24 : FROM alpine:3.18 01:42:24 3.18: Pulling from library/alpine 01:42:24 5c905c7ebe2f: Pulling fs layer 01:42:24 5c905c7ebe2f: Download complete 01:42:24 5c905c7ebe2f: Pull complete 01:42:24 Digest: sha256:1875c923b73448b558132e7d4a44b815d078779ed7a73f76209c6372de95ea8d 01:42:24 Status: Downloaded newer image for alpine:3.18 01:42:24 ---> dec292d02e07 01:42:24 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:42:24 ---> Running in 2705e898ec6d 01:42:24 Removing intermediate container 2705e898ec6d 01:42:24 ---> 595d09b17408 01:42:24 Step 13/24 : RUN apk add --update --no-cache dumb-init 01:42:24 ---> Running in 1149f691bba7 01:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:42:24 (1/1) Installing dumb-init (1.2.5-r2) 01:42:24 Executing busybox-1.36.1-r7.trigger 01:42:24 OK: 8 MiB in 16 packages 01:42:24 Removing intermediate container 1149f691bba7 01:42:24 ---> 4caf8dbd88db 01:42:24 Step 14/24 : RUN apk --no-cache upgrade 01:42:24 ---> Running in 9e1a990e66bf 01:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 01:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 01:42:24 (1/2) Upgrading libcrypto3 (3.1.5-r0 -> 3.1.6-r0) 01:42:24 (2/2) Upgrading libssl3 (3.1.5-r0 -> 3.1.6-r0) 01:42:24 OK: 8 MiB in 16 packages 01:42:24 Removing intermediate container 9e1a990e66bf 01:42:24 ---> 3f15ee249784 01:42:24 Step 15/24 : WORKDIR / 01:42:24 ---> Running in d6f642535dc6 01:42:24 Removing intermediate container d6f642535dc6 01:42:24 ---> a5c0cc85fb19 01:42:24 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:42:24 ---> 6ff710d103e2 01:42:24 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:42:24 ---> 88178f1325bd 01:42:24 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:42:24 ---> e9ca49778f58 01:42:24 Step 19/24 : EXPOSE 59999 01:42:24 ---> Running in 9c2149c97a26 01:42:24 Removing intermediate container 9c2149c97a26 01:42:24 ---> 2e98a73bffbe 01:42:24 Step 20/24 : ENTRYPOINT ["/device-simple"] 01:42:24 ---> Running in fb4a509413ce 01:42:25 Removing intermediate container fb4a509413ce 01:42:25 ---> 5625cef612e8 01:42:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:42:25 ---> Running in 122b01d8f71a 01:42:25 Removing intermediate container 122b01d8f71a 01:42:25 ---> 22aaae528ebb 01:42:25 Step 22/24 : LABEL arch=arm64 01:42:25 ---> Running in 614eb9c6c9d7 01:42:25 Removing intermediate container 614eb9c6c9d7 01:42:25 ---> 4abc70ccce24 01:42:25 Step 23/24 : LABEL git_sha=d8a40c0890ccea5e20f95572cd1093eff0cfc096 01:42:25 ---> Running in d134824c87ff 01:42:26 Removing intermediate container d134824c87ff 01:42:26 ---> c6b6392c5acf 01:42:26 Step 24/24 : LABEL version=0.0.0 01:42:26 ---> Running in 2b0455ba65a2 01:42:26 Removing intermediate container 2b0455ba65a2 01:42:26 ---> 92a13b2120ff 01:42:26 [Warning] One or more build-args [ARCH] were not consumed 01:42:26 Successfully built 92a13b2120ff 01:42:26 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 01:42:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:26 01:42:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:42:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:27 arm64: Pulling from edgex-lftools-log-publisher 01:42:27 8998bd30e6a1: Pulling fs layer 01:42:27 04944245beec: Pulling fs layer 01:42:27 699f458cf7ca: Pulling fs layer 01:42:27 765212b225bb: Pulling fs layer 01:42:27 f23df028b6ca: Pulling fs layer 01:42:27 d65c8cfc05b1: Pulling fs layer 01:42:27 2437ff75d9bd: Pulling fs layer 01:42:27 765212b225bb: Waiting 01:42:27 d65c8cfc05b1: Waiting 01:42:27 f23df028b6ca: Waiting 01:42:27 2437ff75d9bd: Waiting 01:42:27 04944245beec: Verifying Checksum 01:42:27 04944245beec: Download complete 01:42:27 765212b225bb: Verifying Checksum 01:42:27 765212b225bb: Download complete 01:42:27 f23df028b6ca: Download complete 01:42:27 d65c8cfc05b1: Verifying Checksum 01:42:27 d65c8cfc05b1: Download complete 01:42:27 699f458cf7ca: Verifying Checksum 01:42:27 699f458cf7ca: Download complete 01:42:27 8998bd30e6a1: Download complete 01:42:30 2437ff75d9bd: Verifying Checksum 01:42:30 2437ff75d9bd: Download complete 01:42:33 8998bd30e6a1: Pull complete 01:42:33 04944245beec: Pull complete 01:42:35 699f458cf7ca: Pull complete 01:42:35 765212b225bb: Pull complete 01:42:36 f23df028b6ca: Pull complete 01:42:36 d65c8cfc05b1: Pull complete 01:42:54 2437ff75d9bd: Pull complete 01:42:54 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:42:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:42:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:42:54 prd-ubuntu20.04-docker-arm64-4c-16g-5584 does not seem to be running inside a container 01:42:54 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 01:42:57 $ docker top c91b7512b90e35c45ddbb5bb64b4a9e1368703a8c72913035e4745dd0a49da73 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:42:58 ---> job-cost.sh 01:42:58 lf-activate-venv: SKIPPING 01:42:58 INFO: No Stack... 01:42:58 INFO: Retrieving Pricing Info for: v3-standard-4 01:42:59 INFO: Archiving Costs [Pipeline] sh 01:43:00 + cut -d, -f6 01:43:00 + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock 01:43:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] 01:43:00 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] did not exist. Created. 01:43:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:43:00 /w/workspace/device-sdk-go/4@tmp/durable-4ed93fe8/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:43:01 + echo total: 0.10999999940395355 [Pipeline] stash 01:43:01 Warning: overwriting stash ‘stack-cost’ 01:43:01 Stashed 1 file(s) [Pipeline] } 01:43:01 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1594-4-stack-cost] [Pipeline] // lock [Pipeline] } 01:43:01 $ docker stop --time=1 c91b7512b90e35c45ddbb5bb64b4a9e1368703a8c72913035e4745dd0a49da73 01:43:03 $ docker rm -f --volumes c91b7512b90e35c45ddbb5bb64b4a9e1368703a8c72913035e4745dd0a49da73 [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 01:43:04 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives ] 01:43:04 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives 01:43:04 total 16 01:43:04 drwxr-xr-x 3 root root 4096 Jul 15 01:27 . 01:43:04 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 01:27 .. 01:43:04 drwxr-xr-x 2 root root 4096 Jul 15 01:27 cost 01:43:04 -rw-r--r-- 1 root root 86 Jul 15 01:27 cost.csv 01:43:04 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives 01:43:04 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives 01:43:04 total 16 01:43:04 drwxr-xr-x 3 jenkins jenkins 4096 Jul 15 01:27 . 01:43:04 drwxrwxr-x 12 jenkins jenkins 4096 Jul 15 01:27 .. 01:43:04 drwxr-xr-x 2 jenkins jenkins 4096 Jul 15 01:27 cost 01:43:04 -rw-r--r-- 1 jenkins jenkins 86 Jul 15 01:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:43:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:43:05 ---> package-listing.sh 01:43:05 ++ facter osfamily 01:43:05 ++ tr '[:upper:]' '[:lower:]' 01:43:05 + OS_FAMILY=debian 01:43:05 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1594 01:43:05 + START_PACKAGES=/tmp/packages_start.txt 01:43:05 + END_PACKAGES=/tmp/packages_end.txt 01:43:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:43:05 + PACKAGES=/tmp/packages_start.txt 01:43:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1594 ']' 01:43:05 + PACKAGES=/tmp/packages_end.txt 01:43:05 + case "${OS_FAMILY}" in 01:43:05 + dpkg -l 01:43:05 + grep '^ii' 01:43:05 + '[' -f /tmp/packages_start.txt ']' 01:43:05 + '[' -f /tmp/packages_end.txt ']' 01:43:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:43:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1594 ']' 01:43:05 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1594/archives/ 01:43:05 + 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 01:43:05 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 01:43:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:43:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:43:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:43:06 prd-ubuntu20.04-docker-8c-8g-5582 does not seem to be running inside a container 01:43:06 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:43:07 $ docker top de428e94ae8f9e5faa7c55eb2ad93d6d29826ffd03a426ffb4286f127dec893e -eo pid,comm [Pipeline] { [Pipeline] sh 01:43:07 + touch /tmp/pre-build-complete [Pipeline] sh 01:43:07 + mkdir -p /var/log/sysstat [Pipeline] sh 01:43:08 + ls /var/log/sa-host 01:43:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:43:08 provisioning config files... 01:43:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1594@tmp/config16104546488807848198tmp [Pipeline] { [Pipeline] echo 01:43:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:43:08 ---> create-netrc.sh [Pipeline] } 01:43:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:43:08 ---> python-tools-install.sh [Pipeline] echo 01:43:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:43:09 ---> sudo-logs.sh 01:43:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:43:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:43:09 ---> job-cost.sh 01:43:09 lf-activate-venv: SKIPPING 01:43:09 DEBUG: total: 0.2199999988079071 01:43:09 INFO: Retrieving Stack Cost... 01:43:09 INFO: Retrieving Pricing Info for: v3-standard-8 01:43:10 INFO: Archiving Costs [Pipeline] echo 01:43:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:43:10 ---> logs-deploy.sh 01:43:10 lf-activate-venv: SKIPPING 01:43:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1594/4 01:43:10 INFO: archiving workspace using pattern(s): 01:43:11 Archives upload complete. 01:43:11 INFO: archiving logs to Nexus