Pull request #1620 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 bbccac45e796a95e0126349a1e5980b980a572b6+6fbfd523e75a65f7b52cf25b753a535ead5785c5 (2ffcd854b0fa753a42f8a2af70e03474f361d305) 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-ssh11337924399076073734.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f3350a1713306dce7682ed7e37d5774890d03277 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-ssh1674824391088718483.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 f3350a1713306dce7682ed7e37d5774890d03277 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-1620/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-1620/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10897488135709355885.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f3350a1713306dce7682ed7e37d5774890d03277 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f3350a1713306dce7682ed7e37d5774890d03277 # timeout=10 Commit message: "Merge pull request #455 from cherrycl/issue-452-3" > 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-ssh3305177472988113824.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-1620/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-1620/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2739455326616589952.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9252 in /w/workspace/gexfoundry_device-sdk-go_PR-1620 [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-1620 # 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/1620/head:refs/remotes/origin/PR-1620 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6fbfd523e75a65f7b52cf25b753a535ead5785c5 into PR head commit bbccac45e796a95e0126349a1e5980b980a572b6 Merge succeeded, producing bbccac45e796a95e0126349a1e5980b980a572b6 Checking out Revision bbccac45e796a95e0126349a1e5980b980a572b6 (PR-1620) > git config core.sparsecheckout # timeout=10 > git checkout -f bbccac45e796a95e0126349a1e5980b980a572b6 # 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 6fbfd523e75a65f7b52cf25b753a535ead5785c5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bbccac45e796a95e0126349a1e5980b980a572b6 # timeout=10 Commit message: "feat: Add new APIs to stop the device discovery/profile scan" First time build. Skipping changelog. > git rev-list --no-walk a714b48757c517d54332fd659dfbe749d230d672 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-09-03T05:39:30.470Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-09-03T05:39:30.565Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-09-03T05:39:30.600Z] ========================================================= [2024-09-03T05:39:30.600Z] EdgeX Global Pipelines Version Info [2024-09-03T05:39:30.600Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:39:31.338Z] ------------------- [2024-09-03T05:39:31.338Z] stable info: [2024-09-03T05:39:31.338Z] ------------------- [2024-09-03T05:39:31.338Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-03T05:39:31.338Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-03T05:39:31.338Z] Message: update stable to v1.0.263 [2024-09-03T05:39:31.909Z] ------------------- [2024-09-03T05:39:31.909Z] experimental info: [2024-09-03T05:39:31.909Z] ------------------- [2024-09-03T05:39:31.909Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-09-03T05:39:31.909Z] Commit SHA: f3350a1713306dce7682ed7e37d5774890d03277 [2024-09-03T05:39:31.909Z] Message: update experimental to v1.0.263 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-09-03T05:39:32.007Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-09-03T05:39:32.035Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-09-03T05:39:32.064Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-09-03T05:39:32.085Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-09-03T05:39:32.109Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-09-03T05:39:32.134Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-09-03T05:39:32.158Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-09-03T05:39:32.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-09-03T05:39:32.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-09-03T05:39:32.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-09-03T05:39:32.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-09-03T05:39:32.284Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-09-03T05:39:32.305Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-09-03T05:39:32.331Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-09-03T05:39:32.357Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-09-03T05:39:32.380Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-09-03T05:39:32.406Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-09-03T05:39:32.428Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-09-03T05:39:32.453Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-09-03T05:39:32.477Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-09-03T05:39:32.501Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-09-03T05:39:32.521Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-09-03T05:39:32.544Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-09-03T05:39:32.570Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-09-03T05:39:32.594Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-09-03T05:39:32.616Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-09-03T05:39:32.637Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-09-03T05:39:32.661Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1620 [Pipeline] echo [2024-09-03T05:39:32.688Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1620 [Pipeline] echo [2024-09-03T05:39:32.714Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1620 [Pipeline] echo [2024-09-03T05:39:32.736Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bbccac45e796a95e0126349a1e5980b980a572b6 [Pipeline] echo [2024-09-03T05:39:32.759Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bbccac4 [Pipeline] echo [2024-09-03T05:39:32.780Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T05:39:32.856Z] provisioning config files... [2024-09-03T05:39:32.870Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/config3039708237642742233tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:39:33.207Z] ---> ****-login.sh [2024-09-03T05:39:33.207Z] nexus3.edgexfoundry.org:10001 [2024-09-03T05:39:33.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:39:33.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:39:33.468Z] Configure a credential helper to remove this warning. See [2024-09-03T05:39:33.468Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:39:33.468Z] [2024-09-03T05:39:33.468Z] Login Succeeded [2024-09-03T05:39:33.468Z] nexus3.edgexfoundry.org:10002 [2024-09-03T05:39:33.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:39:33.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:39:33.469Z] Configure a credential helper to remove this warning. See [2024-09-03T05:39:33.469Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:39:33.469Z] [2024-09-03T05:39:33.469Z] Login Succeeded [2024-09-03T05:39:33.469Z] nexus3.edgexfoundry.org:10003 [2024-09-03T05:39:33.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:39:33.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:39:33.731Z] Configure a credential helper to remove this warning. See [2024-09-03T05:39:33.731Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:39:33.731Z] [2024-09-03T05:39:33.731Z] Login Succeeded [2024-09-03T05:39:33.731Z] nexus3.edgexfoundry.org:10004 [2024-09-03T05:39:33.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:39:33.732Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:39:33.732Z] Configure a credential helper to remove this warning. See [2024-09-03T05:39:33.732Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:39:33.732Z] [2024-09-03T05:39:33.732Z] Login Succeeded [2024-09-03T05:39:33.732Z] ****.io [2024-09-03T05:39:33.732Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:39:33.992Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:39:33.992Z] Configure a credential helper to remove this warning. See [2024-09-03T05:39:33.992Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:39:33.992Z] [2024-09-03T05:39:33.992Z] Login Succeeded [2024-09-03T05:39:33.992Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T05:39:34.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-09-03T05:39:34.434Z] + git rev-list -1 --merges bbccac45e796a95e0126349a1e5980b980a572b6~1..bbccac45e796a95e0126349a1e5980b980a572b6 [Pipeline] echo [2024-09-03T05:39:34.460Z] -----------> git rev-list -1 --merges bbccac45e796a95e0126349a1e5980b980a572b6~1..bbccac45e796a95e0126349a1e5980b980a572b6 bbccac45e796a95e0126349a1e5980b980a572b6 [false] [Pipeline] sh [2024-09-03T05:39:34.757Z] + git log --format=format:%s -1 bbccac45e796a95e0126349a1e5980b980a572b6 [Pipeline] echo [2024-09-03T05:39:34.774Z] ========================================================= [2024-09-03T05:39:34.774Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-09-03T05:39:34.774Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T05:39:35.120Z] + git log --format=format:%s -1 bbccac45e796a95e0126349a1e5980b980a572b6 [Pipeline] echo [2024-09-03T05:39:35.131Z] [semverPrep] GIT_COMMIT: bbccac45e796a95e0126349a1e5980b980a572b6, Commit Message: feat: Add new APIs to stop the device discovery/profile scan [Pipeline] echo [2024-09-03T05:39:35.146Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-09-03T05:39:35.536Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-09-03T05:39:35.537Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-09-03T05:39:35.537Z] + [ -e /tmp/ssh_known_hosts ] [2024-09-03T05:39:35.537Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-09-03T05:39:35.537Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-09-03T05:39:35.537Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-09-03T05:39:35.537Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:39:35.902Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T05:39:35.902Z] [2024-09-03T05:39:35.902Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:39:36.210Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T05:39:36.210Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-09-03T05:39:36.210Z] b85a868b505f: Pulling fs layer [2024-09-03T05:39:36.210Z] e2be974225ed: Pulling fs layer [2024-09-03T05:39:36.210Z] 339a4e72a1f5: Pulling fs layer [2024-09-03T05:39:36.210Z] 988bab9f4d93: Pulling fs layer [2024-09-03T05:39:36.210Z] 1469e6f7b9e6: Pulling fs layer [2024-09-03T05:39:36.210Z] eaf3925da568: Pulling fs layer [2024-09-03T05:39:36.210Z] bab4dde63d76: Pulling fs layer [2024-09-03T05:39:36.210Z] 988bab9f4d93: Waiting [2024-09-03T05:39:36.210Z] 1469e6f7b9e6: Waiting [2024-09-03T05:39:36.210Z] eaf3925da568: Waiting [2024-09-03T05:39:36.210Z] bde34c3a00c8: Pulling fs layer [2024-09-03T05:39:36.210Z] bab4dde63d76: Waiting [2024-09-03T05:39:36.210Z] b352a97aabf1: Pulling fs layer [2024-09-03T05:39:36.210Z] 4872d77fe225: Pulling fs layer [2024-09-03T05:39:36.210Z] b352a97aabf1: Waiting [2024-09-03T05:39:36.210Z] bde34c3a00c8: Waiting [2024-09-03T05:39:36.210Z] 4872d77fe225: Waiting [2024-09-03T05:39:36.210Z] 5851b861e8e6: Pulling fs layer [2024-09-03T05:39:36.210Z] 5851b861e8e6: Waiting [2024-09-03T05:39:36.210Z] e2be974225ed: Download complete [2024-09-03T05:39:36.210Z] 988bab9f4d93: Download complete [2024-09-03T05:39:36.469Z] 339a4e72a1f5: Verifying Checksum [2024-09-03T05:39:36.469Z] 339a4e72a1f5: Download complete [2024-09-03T05:39:36.469Z] 1469e6f7b9e6: Verifying Checksum [2024-09-03T05:39:36.469Z] 1469e6f7b9e6: Download complete [2024-09-03T05:39:36.469Z] eaf3925da568: Verifying Checksum [2024-09-03T05:39:36.469Z] eaf3925da568: Download complete [2024-09-03T05:39:36.469Z] bde34c3a00c8: Verifying Checksum [2024-09-03T05:39:36.469Z] bde34c3a00c8: Download complete [2024-09-03T05:39:36.469Z] b352a97aabf1: Download complete [2024-09-03T05:39:36.469Z] 4872d77fe225: Verifying Checksum [2024-09-03T05:39:36.469Z] 4872d77fe225: Download complete [2024-09-03T05:39:36.469Z] 5851b861e8e6: Download complete [2024-09-03T05:39:36.469Z] b85a868b505f: Verifying Checksum [2024-09-03T05:39:36.469Z] b85a868b505f: Download complete [2024-09-03T05:39:36.733Z] bab4dde63d76: Verifying Checksum [2024-09-03T05:39:36.733Z] bab4dde63d76: Download complete [2024-09-03T05:39:37.667Z] b85a868b505f: Pull complete [2024-09-03T05:39:37.667Z] e2be974225ed: Pull complete [2024-09-03T05:39:38.235Z] 339a4e72a1f5: Pull complete [2024-09-03T05:39:38.235Z] 988bab9f4d93: Pull complete [2024-09-03T05:39:38.495Z] 1469e6f7b9e6: Pull complete [2024-09-03T05:39:38.759Z] eaf3925da568: Pull complete [2024-09-03T05:39:40.671Z] bab4dde63d76: Pull complete [2024-09-03T05:39:40.671Z] bde34c3a00c8: Pull complete [2024-09-03T05:39:40.671Z] b352a97aabf1: Pull complete [2024-09-03T05:39:40.671Z] 4872d77fe225: Pull complete [2024-09-03T05:39:40.671Z] 5851b861e8e6: Pull complete [2024-09-03T05:39:40.671Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-09-03T05:39:40.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-09-03T05:39:40.671Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T05:39:40.811Z] prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container [2024-09-03T05:39:40.839Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1620 -v /w/workspace/gexfoundry_device-sdk-go_PR-1620:/w/workspace/gexfoundry_device-sdk-go_PR-1620:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1620@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-devops/py-git-semver:0.1.4 cat [2024-09-03T05:39:43.664Z] $ docker top cb8d3a54e99da5dfabd9dcf9982a0badc26b80f6e4aee1925631b878126ccdc4 -eo pid,comm [2024-09-03T05:39:43.719Z] 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). [2024-09-03T05:39:43.719Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-09-03T05:39:43.785Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-03T05:39:43.785Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-03T05:39:43.903Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-03T05:39:43.905Z] $ docker exec cb8d3a54e99da5dfabd9dcf9982a0badc26b80f6e4aee1925631b878126ccdc4 ssh-agent [2024-09-03T05:39:44.007Z] SSH_AUTH_SOCK=/tmp/ssh-gw6Sbv4uWH2i/agent.32 [2024-09-03T05:39:44.007Z] SSH_AGENT_PID=38 [2024-09-03T05:39:44.016Z] Running ssh-add (command line suppressed) [2024-09-03T05:39:44.117Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/private_key_12937022265494602973.key (/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/private_key_12937022265494602973.key) [2024-09-03T05:39:44.131Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-03T05:39:44.437Z] + git tag --points-at HEAD [Pipeline] } [2024-09-03T05:39:44.447Z] $ docker exec --env ******** --env ******** cb8d3a54e99da5dfabd9dcf9982a0badc26b80f6e4aee1925631b878126ccdc4 ssh-agent -k [2024-09-03T05:39:44.550Z] unset SSH_AUTH_SOCK; [2024-09-03T05:39:44.550Z] unset SSH_AGENT_PID; [2024-09-03T05:39:44.550Z] echo Agent pid 38 killed; [2024-09-03T05:39:44.559Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-09-03T05:39:44.606Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-09-03T05:39:44.606Z] [ssh-agent] Looking for ssh-agent implementation... [2024-09-03T05:39:44.722Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-09-03T05:39:44.724Z] $ docker exec cb8d3a54e99da5dfabd9dcf9982a0badc26b80f6e4aee1925631b878126ccdc4 ssh-agent [2024-09-03T05:39:44.829Z] SSH_AUTH_SOCK=/tmp/ssh-LjEiJ7GuKkZB/agent.71 [2024-09-03T05:39:44.829Z] SSH_AGENT_PID=77 [2024-09-03T05:39:44.833Z] Running ssh-add (command line suppressed) [2024-09-03T05:39:44.941Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/private_key_653493734468513242.key (/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/private_key_653493734468513242.key) [2024-09-03T05:39:44.956Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-09-03T05:39:45.252Z] + git semver init [2024-09-03T05:39:45.518Z] 2024-09-03 05:39:45,442 [run_init] DEBUG init version:0.0.0 force:False [2024-09-03T05:39:45.518Z] 2024-09-03 05:39:45,443 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver [2024-09-03T05:39:45.518Z] 2024-09-03 05:39:45,443 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver [2024-09-03T05:39:45.518Z] 2024-09-03 05:39:45,444 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1620, universal_newlines=False, shell=None, istream=None) [2024-09-03T05:39:47.431Z] 2024-09-03 05:39:47,326 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620/.git/info/exclude [2024-09-03T05:39:47.431Z] 2024-09-03 05:39:47,326 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver/PR-1620 with force:False [2024-09-03T05:39:47.431Z] 2024-09-03 05:39:47,327 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver/PR-1620 [2024-09-03T05:39:47.431Z] 2024-09-03 05:39:47,331 [execute] INFO git cat-file --batch-check [2024-09-03T05:39:47.431Z] 2024-09-03 05:39:47,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver, universal_newlines=False, shell=None, istream=) [2024-09-03T05:39:47.431Z] 2024-09-03 05:39:47,343 [execute] INFO git cat-file --batch [2024-09-03T05:39:47.431Z] 2024-09-03 05:39:47,344 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver, universal_newlines=False, shell=None, istream=) [2024-09-03T05:39:47.431Z] 2024-09-03 05:39:47,350 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1620/.semver/PR-1620 [2024-09-03T05:39:47.431Z] 0.0.0 [Pipeline] } [2024-09-03T05:39:47.439Z] $ docker exec --env ******** --env ******** cb8d3a54e99da5dfabd9dcf9982a0badc26b80f6e4aee1925631b878126ccdc4 ssh-agent -k [2024-09-03T05:39:47.536Z] unset SSH_AUTH_SOCK; [2024-09-03T05:39:47.536Z] unset SSH_AGENT_PID; [2024-09-03T05:39:47.536Z] echo Agent pid 77 killed; [2024-09-03T05:39:47.552Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-09-03T05:39:47.882Z] + git semver [Pipeline] } [2024-09-03T05:39:48.158Z] $ docker stop --time=1 cb8d3a54e99da5dfabd9dcf9982a0badc26b80f6e4aee1925631b878126ccdc4 [2024-09-03T05:39:49.458Z] $ docker rm -f --volumes cb8d3a54e99da5dfabd9dcf9982a0badc26b80f6e4aee1925631b878126ccdc4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T05:39:49.808Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-09-03T05:39:50.033Z] Stashed 1 file(s) [Pipeline] echo [2024-09-03T05:39:50.038Z] [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 [2024-09-03T05:39:50.211Z] provisioning config files... [2024-09-03T05:39:50.222Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/config9800940194722244614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:39:50.612Z] ---> ****-login.sh [2024-09-03T05:39:50.612Z] nexus3.edgexfoundry.org:10001 [2024-09-03T05:39:50.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:39:50.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:39:50.612Z] Configure a credential helper to remove this warning. See [2024-09-03T05:39:50.612Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:39:50.612Z] [2024-09-03T05:39:50.612Z] Login Succeeded [2024-09-03T05:39:50.612Z] nexus3.edgexfoundry.org:10002 [2024-09-03T05:39:50.612Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:39:50.612Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:39:50.612Z] Configure a credential helper to remove this warning. See [2024-09-03T05:39:50.612Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:39:50.612Z] [2024-09-03T05:39:50.612Z] Login Succeeded [2024-09-03T05:39:50.612Z] nexus3.edgexfoundry.org:10003 [2024-09-03T05:39:50.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:39:50.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:39:50.872Z] Configure a credential helper to remove this warning. See [2024-09-03T05:39:50.873Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:39:50.873Z] [2024-09-03T05:39:50.873Z] Login Succeeded [2024-09-03T05:39:50.873Z] nexus3.edgexfoundry.org:10004 [2024-09-03T05:39:50.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:39:50.873Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:39:50.873Z] Configure a credential helper to remove this warning. See [2024-09-03T05:39:50.873Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:39:50.873Z] [2024-09-03T05:39:50.873Z] Login Succeeded [2024-09-03T05:39:50.873Z] ****.io [2024-09-03T05:39:50.873Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:39:51.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:39:51.133Z] Configure a credential helper to remove this warning. See [2024-09-03T05:39:51.133Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:39:51.133Z] [2024-09-03T05:39:51.133Z] Login Succeeded [2024-09-03T05:39:51.133Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T05:39:51.141Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-03T05:39:51.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T05:39:51.258Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T05:39:51.287Z] ========================================================= [2024-09-03T05:39:51.287Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-09-03T05:39:51.287Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:39:51.628Z] + 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 . [2024-09-03T05:39:51.628Z] Sending build context to Docker daemon 25.39MB [2024-09-03T05:39:51.628Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T05:39:51.628Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-03T05:39:51.888Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-09-03T05:39:51.888Z] 619be1103602: Pulling fs layer [2024-09-03T05:39:51.888Z] 7862e08f4a3e: Pulling fs layer [2024-09-03T05:39:51.888Z] 5df492c9dc93: Pulling fs layer [2024-09-03T05:39:51.888Z] 7629e6793208: Pulling fs layer [2024-09-03T05:39:51.888Z] 4f4fb700ef54: Pulling fs layer [2024-09-03T05:39:51.888Z] fb5054dd5b73: Pulling fs layer [2024-09-03T05:39:51.888Z] eeca6798cff9: Pulling fs layer [2024-09-03T05:39:51.888Z] aa269ceb94a6: Pulling fs layer [2024-09-03T05:39:51.888Z] ada007ff1a6a: Pulling fs layer [2024-09-03T05:39:51.888Z] 4f4fb700ef54: Waiting [2024-09-03T05:39:51.888Z] fb5054dd5b73: Waiting [2024-09-03T05:39:51.888Z] eeca6798cff9: Waiting [2024-09-03T05:39:51.888Z] aa269ceb94a6: Waiting [2024-09-03T05:39:51.888Z] ada007ff1a6a: Waiting [2024-09-03T05:39:51.888Z] 7629e6793208: Waiting [2024-09-03T05:39:51.888Z] 7862e08f4a3e: Verifying Checksum [2024-09-03T05:39:51.888Z] 7862e08f4a3e: Download complete [2024-09-03T05:39:51.888Z] 7629e6793208: Download complete [2024-09-03T05:39:51.888Z] 4f4fb700ef54: Verifying Checksum [2024-09-03T05:39:51.888Z] 4f4fb700ef54: Download complete [2024-09-03T05:39:51.888Z] 619be1103602: Verifying Checksum [2024-09-03T05:39:51.888Z] 619be1103602: Download complete [2024-09-03T05:39:51.888Z] fb5054dd5b73: Verifying Checksum [2024-09-03T05:39:51.888Z] fb5054dd5b73: Download complete [2024-09-03T05:39:51.888Z] eeca6798cff9: Verifying Checksum [2024-09-03T05:39:51.888Z] eeca6798cff9: Download complete [2024-09-03T05:39:52.149Z] 619be1103602: Pull complete [2024-09-03T05:39:52.149Z] ada007ff1a6a: Verifying Checksum [2024-09-03T05:39:52.149Z] ada007ff1a6a: Download complete [2024-09-03T05:39:52.149Z] 7862e08f4a3e: Pull complete [2024-09-03T05:39:52.409Z] 5df492c9dc93: Verifying Checksum [2024-09-03T05:39:52.409Z] 5df492c9dc93: Download complete [2024-09-03T05:39:52.668Z] aa269ceb94a6: Verifying Checksum [2024-09-03T05:39:52.668Z] aa269ceb94a6: Download complete [2024-09-03T05:39:55.201Z] 5df492c9dc93: Pull complete [2024-09-03T05:39:55.201Z] 7629e6793208: Pull complete [2024-09-03T05:39:55.201Z] 4f4fb700ef54: Pull complete [2024-09-03T05:39:55.201Z] fb5054dd5b73: Pull complete [2024-09-03T05:39:55.460Z] eeca6798cff9: Pull complete [2024-09-03T05:39:57.995Z] aa269ceb94a6: Pull complete [2024-09-03T05:39:57.995Z] ada007ff1a6a: Pull complete [2024-09-03T05:39:57.995Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-09-03T05:39:57.995Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-09-03T05:39:57.995Z] ---> f489d0715acc [2024-09-03T05:39:57.995Z] Step 3/10 : ARG MAKE=make build [2024-09-03T05:39:59.373Z] ---> Running in ee151c3b6b1f [2024-09-03T05:39:59.373Z] Removing intermediate container ee151c3b6b1f [2024-09-03T05:39:59.373Z] ---> 3379c086f080 [2024-09-03T05:39:59.373Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-03T05:39:59.373Z] ---> Running in 77b745967086 [2024-09-03T05:39:59.629Z] Removing intermediate container 77b745967086 [2024-09-03T05:39:59.629Z] ---> faa0e8877607 [2024-09-03T05:39:59.629Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T05:39:59.629Z] ---> Running in d98d293e3310 [2024-09-03T05:39:59.629Z] Removing intermediate container d98d293e3310 [2024-09-03T05:39:59.629Z] ---> 02bc88b66671 [2024-09-03T05:39:59.629Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-03T05:39:59.629Z] ---> Running in 6b69768f5dec [2024-09-03T05:39:59.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T05:40:00.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T05:40:00.411Z] OK: 264 MiB in 52 packages [2024-09-03T05:40:00.670Z] Removing intermediate container 6b69768f5dec [2024-09-03T05:40:00.670Z] ---> e540dd843011 [2024-09-03T05:40:00.670Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-03T05:40:00.928Z] ---> c9224e58ea3d [2024-09-03T05:40:00.928Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T05:40:00.928Z] ---> Running in 4c0311e7bb60 [2024-09-03T05:40:05.167Z] Still waiting to schedule task [2024-09-03T05:40:05.167Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-09-03T05:41:22.455Z] Removing intermediate container 4c0311e7bb60 [2024-09-03T05:41:22.455Z] ---> bc1d23cf1a1c [2024-09-03T05:41:22.455Z] Step 9/10 : COPY . . [2024-09-03T05:41:22.455Z] ---> 5f1630bfd8c2 [2024-09-03T05:41:22.455Z] Step 10/10 : RUN ${MAKE} [2024-09-03T05:41:22.455Z] ---> Running in 0de216ee540e [2024-09-03T05:41:22.455Z] noop [2024-09-03T05:41:22.455Z] Removing intermediate container 0de216ee540e [2024-09-03T05:41:22.455Z] ---> 35c180fe01d2 [2024-09-03T05:41:22.455Z] Successfully built 35c180fe01d2 [2024-09-03T05:41:22.455Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:41:22.794Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-03T05:41:22.794Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T05:41:22.884Z] prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container [2024-09-03T05:41:22.912Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1620 -v /w/workspace/gexfoundry_device-sdk-go_PR-1620:/w/workspace/gexfoundry_device-sdk-go_PR-1620:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1620@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 ******** -e ******** ci-base-image-x86_64 cat [2024-09-03T05:41:23.259Z] $ docker top b19a49c848c3e96b5c01a2264fa0f35384ea95ae86ee667cf71af84814c57a53 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T05:41:23.625Z] + go version [2024-09-03T05:41:23.625Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-09-03T05:41:23.634Z] $ docker stop --time=1 b19a49c848c3e96b5c01a2264fa0f35384ea95ae86ee667cf71af84814c57a53 [2024-09-03T05:41:24.921Z] $ docker rm -f --volumes b19a49c848c3e96b5c01a2264fa0f35384ea95ae86ee667cf71af84814c57a53 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:41:25.349Z] + docker inspect -f . ci-base-image-x86_64 [2024-09-03T05:41:25.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T05:41:25.435Z] prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container [2024-09-03T05:41:25.459Z] $ 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-1620 -v /w/workspace/gexfoundry_device-sdk-go_PR-1620:/w/workspace/gexfoundry_device-sdk-go_PR-1620:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1620@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 ******** -e ******** ci-base-image-x86_64 cat [2024-09-03T05:41:25.809Z] $ docker top 48ccc5cc715d44fda0286ef3c65a2f734c109d2ceb1a4a84108b51eef2c0b366 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T05:41:26.171Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1620 [Pipeline] fileExists [Pipeline] sh [2024-09-03T05:41:26.471Z] + make test [2024-09-03T05:41:26.471Z] go test -race -coverprofile=coverage.out ./... [2024-09-03T05:41:34.589Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-03T05:41:40.133Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9253 in /w/workspace/gexfoundry_device-sdk-go_PR-1620 [Pipeline] { [Pipeline] ws [2024-09-03T05:41:40.155Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-09-03T05:41:43.213Z] The recommended git tool is: git [2024-09-03T05:41:50.467Z] using credential edgex-jenkins-ssh [2024-09-03T05:41:50.489Z] Cloning the remote Git repository [2024-09-03T05:41:50.529Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-09-03T05:41:50.636Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-09-03T05:41:50.824Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-03T05:41:50.825Z] > git --version # timeout=10 [2024-09-03T05:41:50.855Z] > git --version # 'git version 2.25.1' [2024-09-03T05:41:50.857Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T05:41:51.060Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-03T05:41:54.682Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-03T05:41:54.748Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-09-03T05:41:56.700Z] Merging remotes/origin/main commit 6fbfd523e75a65f7b52cf25b753a535ead5785c5 into PR head commit bbccac45e796a95e0126349a1e5980b980a572b6 [2024-09-03T05:41:55.945Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-09-03T05:41:55.995Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-09-03T05:41:55.995Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T05:41:56.037Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1620/head:refs/remotes/origin/PR-1620 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-09-03T05:41:56.718Z] > git config core.sparsecheckout # timeout=10 [2024-09-03T05:41:57.002Z] Merge succeeded, producing bbccac45e796a95e0126349a1e5980b980a572b6 [2024-09-03T05:41:57.003Z] Checking out Revision bbccac45e796a95e0126349a1e5980b980a572b6 (PR-1620) [2024-09-03T05:41:56.783Z] > git checkout -f bbccac45e796a95e0126349a1e5980b980a572b6 # timeout=10 [2024-09-03T05:41:56.899Z] > git remote # timeout=10 [2024-09-03T05:41:56.919Z] > git config --get remote.origin.url # timeout=10 [2024-09-03T05:41:56.938Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-09-03T05:41:56.957Z] > git merge 6fbfd523e75a65f7b52cf25b753a535ead5785c5 # timeout=10 [2024-09-03T05:41:56.981Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-09-03T05:41:57.005Z] > git config core.sparsecheckout # timeout=10 [2024-09-03T05:41:57.024Z] > git checkout -f bbccac45e796a95e0126349a1e5980b980a572b6 # timeout=10 [2024-09-03T05:42:00.670Z] Commit message: "feat: Add new APIs to stop the device discovery/profile scan" [2024-09-03T05:42:01.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-03T05:42:01.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-03T05:42:01.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-03T05:42:01.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-03T05:42:01.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-03T05:42:01.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-03T05:42:01.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-03T05:42:01.234Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.028s coverage: 26.0% of statements [2024-09-03T05:42:01.234Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.032s coverage: 79.4% of statements [2024-09-03T05:42:01.234Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.045s coverage: 86.0% of statements [2024-09-03T05:42:01.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-03T05:42:01.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-03T05:42:01.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-03T05:42:01.234Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-03T05:42:01.492Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.074s coverage: 45.2% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T05:42:02.247Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-09-03T05:42:02.247Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-03T05:42:02.247Z] Dload Upload Total Spent Left Speed [2024-09-03T05:42:02.247Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh [2024-09-03T05:42:02.437Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-03T05:42:02.606Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-09-03T05:42:02.932Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-09-03T05:42:02.932Z] + sudo tee /etc/docker/daemon.new [2024-09-03T05:42:02.932Z] { [2024-09-03T05:42:02.932Z] "registry-mirrors": [ [2024-09-03T05:42:02.932Z] "https://nexus3.edgexfoundry.org:10001" [2024-09-03T05:42:02.932Z] ], [2024-09-03T05:42:02.932Z] "bip": "10.250.0.254/24", [2024-09-03T05:42:02.932Z] "hosts": [ [2024-09-03T05:42:02.932Z] "tcp://0.0.0.0:5555", [2024-09-03T05:42:02.932Z] "unix:///var/run/docker.sock" [2024-09-03T05:42:02.932Z] ], [2024-09-03T05:42:02.932Z] "mtu": 1458, [2024-09-03T05:42:02.932Z] "selinux-enabled": true, [2024-09-03T05:42:02.932Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-09-03T05:42:02.932Z] } [Pipeline] sh [2024-09-03T05:42:03.259Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-09-03T05:42:03.590Z] + sudo service docker restart [2024-09-03T05:42:04.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.031s coverage: 14.4% of statements [2024-09-03T05:42:04.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.356s coverage: 44.6% of statements [2024-09-03T05:42:04.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.043s coverage: 68.5% of statements [2024-09-03T05:42:04.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.108s coverage: 89.2% of statements [2024-09-03T05:42:04.360Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.060s coverage: 5.3% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T05:42:21.827Z] provisioning config files... [2024-09-03T05:42:21.858Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6998553408896166706tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:42:22.292Z] ---> ****-login.sh [2024-09-03T05:42:22.292Z] nexus3.edgexfoundry.org:10001 [2024-09-03T05:42:22.562Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:42:22.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:42:22.832Z] Configure a credential helper to remove this warning. See [2024-09-03T05:42:22.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:42:22.832Z] [2024-09-03T05:42:22.832Z] Login Succeeded [2024-09-03T05:42:22.832Z] nexus3.edgexfoundry.org:10002 [2024-09-03T05:42:23.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:42:23.374Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:42:23.374Z] Configure a credential helper to remove this warning. See [2024-09-03T05:42:23.374Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:42:23.374Z] [2024-09-03T05:42:23.374Z] Login Succeeded [2024-09-03T05:42:23.374Z] nexus3.edgexfoundry.org:10003 [2024-09-03T05:42:23.374Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:42:23.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:42:23.644Z] Configure a credential helper to remove this warning. See [2024-09-03T05:42:23.644Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:42:23.644Z] [2024-09-03T05:42:23.644Z] Login Succeeded [2024-09-03T05:42:23.644Z] nexus3.edgexfoundry.org:10004 [2024-09-03T05:42:23.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:42:23.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:42:23.916Z] Configure a credential helper to remove this warning. See [2024-09-03T05:42:23.916Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:42:23.916Z] [2024-09-03T05:42:23.916Z] Login Succeeded [2024-09-03T05:42:23.916Z] ****.io [2024-09-03T05:42:24.193Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-09-03T05:42:24.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-09-03T05:42:24.459Z] Configure a credential helper to remove this warning. See [2024-09-03T05:42:24.459Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-09-03T05:42:24.459Z] [2024-09-03T05:42:24.459Z] Login Succeeded [2024-09-03T05:42:24.459Z] ---> ****-login.sh ends [Pipeline] } [2024-09-03T05:42:24.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-09-03T05:42:24.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T05:42:24.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-09-03T05:42:24.824Z] ========================================================= [2024-09-03T05:42:24.824Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-09-03T05:42:24.824Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:42:25.186Z] + 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 . [2024-09-03T05:42:25.777Z] Sending build context to Docker daemon 13.21MB [2024-09-03T05:42:25.777Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T05:42:25.777Z] Step 2/10 : FROM ${BASE} AS builder [2024-09-03T05:42:25.777Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-09-03T05:42:25.777Z] c6b39de5b339: Pulling fs layer [2024-09-03T05:42:25.777Z] a69c41024577: Pulling fs layer [2024-09-03T05:42:25.777Z] d6de4b400683: Pulling fs layer [2024-09-03T05:42:25.777Z] 35cb2a7552d0: Pulling fs layer [2024-09-03T05:42:25.777Z] 4f4fb700ef54: Pulling fs layer [2024-09-03T05:42:25.777Z] 464afbd9ba4c: Pulling fs layer [2024-09-03T05:42:25.777Z] 00f215d4a9da: Pulling fs layer [2024-09-03T05:42:25.777Z] d496ad576159: Pulling fs layer [2024-09-03T05:42:25.777Z] 4f4fb700ef54: Waiting [2024-09-03T05:42:25.777Z] 464afbd9ba4c: Waiting [2024-09-03T05:42:25.777Z] 00f215d4a9da: Waiting [2024-09-03T05:42:25.777Z] d496ad576159: Waiting [2024-09-03T05:42:25.777Z] 35cb2a7552d0: Waiting [2024-09-03T05:42:26.048Z] a69c41024577: Download complete [2024-09-03T05:42:26.048Z] 35cb2a7552d0: Verifying Checksum [2024-09-03T05:42:26.048Z] 35cb2a7552d0: Download complete [2024-09-03T05:42:26.048Z] 4f4fb700ef54: Verifying Checksum [2024-09-03T05:42:26.048Z] 4f4fb700ef54: Download complete [2024-09-03T05:42:26.048Z] 464afbd9ba4c: Verifying Checksum [2024-09-03T05:42:26.048Z] 464afbd9ba4c: Download complete [2024-09-03T05:42:26.048Z] c6b39de5b339: Download complete [2024-09-03T05:42:26.649Z] d496ad576159: Verifying Checksum [2024-09-03T05:42:26.649Z] d496ad576159: Download complete [2024-09-03T05:42:26.919Z] c6b39de5b339: Pull complete [2024-09-03T05:42:27.508Z] a69c41024577: Pull complete [2024-09-03T05:42:27.776Z] d6de4b400683: Verifying Checksum [2024-09-03T05:42:27.776Z] d6de4b400683: Download complete [2024-09-03T05:42:29.190Z] 00f215d4a9da: Verifying Checksum [2024-09-03T05:42:29.190Z] 00f215d4a9da: Download complete [2024-09-03T05:42:36.444Z] GO111MODULE=on go vet ./... [2024-09-03T05:42:36.705Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-03T05:42:36.705Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-03T05:42:36.705Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-03T05:42:36.980Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-03T05:42:36.997Z] $ docker stop --time=1 48ccc5cc715d44fda0286ef3c65a2f734c109d2ceb1a4a84108b51eef2c0b366 [2024-09-03T05:42:41.510Z] d6de4b400683: Pull complete [2024-09-03T05:42:41.510Z] 35cb2a7552d0: Pull complete [2024-09-03T05:42:41.510Z] 4f4fb700ef54: Pull complete [2024-09-03T05:42:41.510Z] 464afbd9ba4c: Pull complete [2024-09-03T05:42:43.773Z] $ docker rm -f --volumes 48ccc5cc715d44fda0286ef3c65a2f734c109d2ceb1a4a84108b51eef2c0b366 [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T05:42:44.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-03T05:42:44.477Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-09-03T05:42:45.032Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-03T05:42:45.322Z] + ls -al . [2024-09-03T05:42:45.323Z] total 384 [2024-09-03T05:42:45.323Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 3 05:41 . [2024-09-03T05:42:45.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 05:39 .. [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 3 05:39 .dockerignore [2024-09-03T05:42:45.323Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 05:42 .git [2024-09-03T05:42:45.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 05:39 .github [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 3 05:39 .gitignore [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 3 05:39 .golangci.yml [2024-09-03T05:42:45.323Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 05:39 .semver [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 3 05:39 CHANGELOG.md [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 05:39 GOVERNANCE.md [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 3 05:39 Jenkinsfile [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 3 05:39 LICENSE [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 3 05:39 Makefile [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 3 05:39 OWNERS.md [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 3 05:39 README.md [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 3 05:39 VERSION [2024-09-03T05:42:45.323Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 05:39 bin [2024-09-03T05:42:45.323Z] -rw-r--r-- 1 jenkins jenkins 127941 Sep 3 05:42 coverage.out [2024-09-03T05:42:45.323Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 3 05:39 example [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 3 05:39 go.mod [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 101460 Sep 3 05:39 go.sum [2024-09-03T05:42:45.323Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 3 05:39 internal [2024-09-03T05:42:45.323Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 05:39 openapi [2024-09-03T05:42:45.323Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 3 05:39 pkg [2024-09-03T05:42:45.323Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 05:39 snap [2024-09-03T05:42:45.323Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 3 05:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:42:45.731Z] + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=bbccac45e796a95e0126349a1e5980b980a572b6 --label arch=amd64 --label version=0.0.0 . [2024-09-03T05:42:45.731Z] Sending build context to Docker daemon 25.52MB [2024-09-03T05:42:45.731Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T05:42:45.731Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-03T05:42:45.731Z] ---> 35c180fe01d2 [2024-09-03T05:42:45.731Z] Step 3/24 : ARG MAKE=make build [2024-09-03T05:42:46.314Z] ---> Running in cec1926ed2df [2024-09-03T05:42:46.314Z] Removing intermediate container cec1926ed2df [2024-09-03T05:42:46.314Z] ---> d1262f0d982a [2024-09-03T05:42:46.314Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-03T05:42:46.314Z] ---> Running in 0f28167c0e28 [2024-09-03T05:42:46.573Z] Removing intermediate container 0f28167c0e28 [2024-09-03T05:42:46.573Z] ---> 326bc15e3883 [2024-09-03T05:42:46.573Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T05:42:46.573Z] ---> Running in 261b11511b09 [2024-09-03T05:42:46.573Z] Removing intermediate container 261b11511b09 [2024-09-03T05:42:46.573Z] ---> 1be7fd13e895 [2024-09-03T05:42:46.573Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-03T05:42:46.573Z] ---> Running in a37b35bd1661 [2024-09-03T05:42:46.832Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T05:42:47.092Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T05:42:47.092Z] OK: 264 MiB in 52 packages [2024-09-03T05:42:47.352Z] Removing intermediate container a37b35bd1661 [2024-09-03T05:42:47.352Z] ---> 6cd9928b5ee6 [2024-09-03T05:42:47.352Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-03T05:42:47.610Z] ---> ef17c72f2c41 [2024-09-03T05:42:47.610Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T05:42:47.610Z] ---> Running in 79fa9c3a9142 [2024-09-03T05:42:48.176Z] Removing intermediate container 79fa9c3a9142 [2024-09-03T05:42:48.176Z] ---> fcc3de826ade [2024-09-03T05:42:48.176Z] Step 9/24 : COPY . . [2024-09-03T05:42:49.111Z] ---> e9938cb095a2 [2024-09-03T05:42:49.111Z] Step 10/24 : RUN ${MAKE} [2024-09-03T05:42:49.111Z] ---> Running in b525f853d6be [2024-09-03T05:42:49.370Z] 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 [2024-09-03T05:42:49.735Z] 00f215d4a9da: Pull complete [2024-09-03T05:42:51.147Z] d496ad576159: Pull complete [2024-09-03T05:42:51.147Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-09-03T05:42:51.147Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-09-03T05:42:51.147Z] ---> f246e2811388 [2024-09-03T05:42:51.147Z] Step 3/10 : ARG MAKE=make build [2024-09-03T05:42:53.094Z] ---> Running in 04d53bd1a460 [2024-09-03T05:42:53.094Z] Removing intermediate container 04d53bd1a460 [2024-09-03T05:42:53.094Z] ---> 759234034896 [2024-09-03T05:42:53.094Z] Step 4/10 : WORKDIR /device-sdk-go [2024-09-03T05:42:53.094Z] ---> Running in 8a3ca6334123 [2024-09-03T05:42:53.363Z] Removing intermediate container 8a3ca6334123 [2024-09-03T05:42:53.363Z] ---> 98fcb761b00e [2024-09-03T05:42:53.363Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T05:42:53.634Z] ---> Running in 56ba9c403ffe [2024-09-03T05:42:53.900Z] Removing intermediate container 56ba9c403ffe [2024-09-03T05:42:53.900Z] ---> 999ef8f78699 [2024-09-03T05:42:53.900Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-09-03T05:42:53.900Z] ---> Running in ec7764718d05 [2024-09-03T05:42:54.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T05:42:55.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T05:42:56.513Z] OK: 266 MiB in 52 packages [2024-09-03T05:42:57.485Z] Removing intermediate container ec7764718d05 [2024-09-03T05:42:57.485Z] ---> c54a32ed4edf [2024-09-03T05:42:57.485Z] Step 7/10 : COPY go.mod vendor* ./ [2024-09-03T05:42:58.901Z] ---> b28958de0f95 [2024-09-03T05:42:58.901Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T05:42:59.184Z] ---> Running in 18d109283878 [2024-09-03T05:43:21.442Z] Removing intermediate container b525f853d6be [2024-09-03T05:43:21.442Z] ---> b1095b4a23e0 [2024-09-03T05:43:21.442Z] Step 11/24 : FROM alpine:3.18 [2024-09-03T05:43:21.442Z] 3.18: Pulling from library/alpine [2024-09-03T05:43:21.442Z] 930bdd4d222e: Pulling fs layer [2024-09-03T05:43:21.442Z] 930bdd4d222e: Verifying Checksum [2024-09-03T05:43:21.442Z] 930bdd4d222e: Download complete [2024-09-03T05:43:21.442Z] 930bdd4d222e: Pull complete [2024-09-03T05:43:21.442Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-03T05:43:21.442Z] Status: Downloaded newer image for alpine:3.18 [2024-09-03T05:43:21.442Z] ---> 18f865063206 [2024-09-03T05:43:21.442Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-03T05:43:21.442Z] ---> Running in 9c63161da65e [2024-09-03T05:43:21.442Z] Removing intermediate container 9c63161da65e [2024-09-03T05:43:21.442Z] ---> a69da1014a9b [2024-09-03T05:43:21.442Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-03T05:43:21.442Z] ---> Running in dba6a30e8353 [2024-09-03T05:43:21.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T05:43:21.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T05:43:21.701Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-03T05:43:21.701Z] Executing busybox-1.36.1-r7.trigger [2024-09-03T05:43:21.701Z] OK: 7 MiB in 16 packages [2024-09-03T05:43:21.959Z] Removing intermediate container dba6a30e8353 [2024-09-03T05:43:21.959Z] ---> 867a9ed52fa3 [2024-09-03T05:43:21.959Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-03T05:43:21.959Z] ---> Running in acac778985ce [2024-09-03T05:43:22.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-09-03T05:43:22.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-09-03T05:43:22.496Z] OK: 7 MiB in 16 packages [2024-09-03T05:43:22.756Z] Removing intermediate container acac778985ce [2024-09-03T05:43:22.756Z] ---> ffe1836875e8 [2024-09-03T05:43:22.756Z] Step 15/24 : WORKDIR / [2024-09-03T05:43:22.756Z] ---> Running in 75a1d9bcde49 [2024-09-03T05:43:22.756Z] Removing intermediate container 75a1d9bcde49 [2024-09-03T05:43:22.756Z] ---> a2c4ba5a9039 [2024-09-03T05:43:22.756Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-03T05:43:23.013Z] ---> 5cf2fd095300 [2024-09-03T05:43:23.013Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-03T05:43:23.950Z] ---> cc68e693c5c1 [2024-09-03T05:43:23.951Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-03T05:43:23.951Z] ---> 68997c38e0ae [2024-09-03T05:43:23.951Z] Step 19/24 : EXPOSE 59999 [2024-09-03T05:43:23.951Z] ---> Running in 28c22e3bad3f [2024-09-03T05:43:23.951Z] Removing intermediate container 28c22e3bad3f [2024-09-03T05:43:23.951Z] ---> 60af0635d02e [2024-09-03T05:43:23.951Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-03T05:43:23.951Z] ---> Running in fa062a4894b5 [2024-09-03T05:43:23.951Z] Removing intermediate container fa062a4894b5 [2024-09-03T05:43:23.951Z] ---> fce946f545ee [2024-09-03T05:43:23.951Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-03T05:43:24.211Z] ---> Running in 6816d72e4ab0 [2024-09-03T05:43:24.211Z] Removing intermediate container 6816d72e4ab0 [2024-09-03T05:43:24.211Z] ---> b1e8687d6d32 [2024-09-03T05:43:24.211Z] Step 22/24 : LABEL arch=amd64 [2024-09-03T05:43:24.211Z] ---> Running in c804d671d559 [2024-09-03T05:43:24.211Z] Removing intermediate container c804d671d559 [2024-09-03T05:43:24.211Z] ---> 66ff7795e968 [2024-09-03T05:43:24.211Z] Step 23/24 : LABEL git_sha=bbccac45e796a95e0126349a1e5980b980a572b6 [2024-09-03T05:43:24.211Z] ---> Running in 77017f604246 [2024-09-03T05:43:24.470Z] Removing intermediate container 77017f604246 [2024-09-03T05:43:24.470Z] ---> b4a15bb3e0e6 [2024-09-03T05:43:24.470Z] Step 24/24 : LABEL version=0.0.0 [2024-09-03T05:43:24.470Z] ---> Running in 6eb2ac80abc7 [2024-09-03T05:43:24.470Z] Removing intermediate container 6eb2ac80abc7 [2024-09-03T05:43:24.470Z] ---> 728e1015014d [2024-09-03T05:43:24.470Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-03T05:43:24.470Z] Successfully built 728e1015014d [2024-09-03T05:43:24.470Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:43:24.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T05:43:24.963Z] [2024-09-03T05:43:24.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:43:25.275Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T05:43:25.275Z] latest: Pulling from edgex-lftools-log-publisher [2024-09-03T05:43:25.275Z] 5eb5b503b376: Pulling fs layer [2024-09-03T05:43:25.275Z] 5c69ac0246d0: Pulling fs layer [2024-09-03T05:43:25.275Z] ec43610c2a17: Pulling fs layer [2024-09-03T05:43:25.275Z] 3a2ae6a8a46f: Pulling fs layer [2024-09-03T05:43:25.275Z] 33b1e0a273af: Pulling fs layer [2024-09-03T05:43:25.275Z] 5d3b04190fa2: Pulling fs layer [2024-09-03T05:43:25.275Z] 2f39f015ded8: Pulling fs layer [2024-09-03T05:43:25.275Z] 3a2ae6a8a46f: Waiting [2024-09-03T05:43:25.275Z] 33b1e0a273af: Waiting [2024-09-03T05:43:25.275Z] 5d3b04190fa2: Waiting [2024-09-03T05:43:25.275Z] 2f39f015ded8: Waiting [2024-09-03T05:43:25.275Z] 5c69ac0246d0: Verifying Checksum [2024-09-03T05:43:25.275Z] 5c69ac0246d0: Download complete [2024-09-03T05:43:25.275Z] 3a2ae6a8a46f: Verifying Checksum [2024-09-03T05:43:25.275Z] 3a2ae6a8a46f: Download complete [2024-09-03T05:43:25.275Z] 33b1e0a273af: Verifying Checksum [2024-09-03T05:43:25.275Z] 33b1e0a273af: Download complete [2024-09-03T05:43:25.275Z] ec43610c2a17: Verifying Checksum [2024-09-03T05:43:25.275Z] ec43610c2a17: Download complete [2024-09-03T05:43:25.275Z] 5d3b04190fa2: Download complete [2024-09-03T05:43:25.533Z] 5eb5b503b376: Verifying Checksum [2024-09-03T05:43:25.533Z] 5eb5b503b376: Download complete [2024-09-03T05:43:26.104Z] 2f39f015ded8: Download complete [2024-09-03T05:43:26.670Z] 5eb5b503b376: Pull complete [2024-09-03T05:43:26.670Z] 5c69ac0246d0: Pull complete [2024-09-03T05:43:26.930Z] ec43610c2a17: Pull complete [2024-09-03T05:43:27.189Z] 3a2ae6a8a46f: Pull complete [2024-09-03T05:43:27.189Z] 33b1e0a273af: Pull complete [2024-09-03T05:43:27.189Z] 5d3b04190fa2: Pull complete [2024-09-03T05:43:31.382Z] 2f39f015ded8: Pull complete [2024-09-03T05:43:31.383Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-09-03T05:43:31.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T05:43:31.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T05:43:31.483Z] prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container [2024-09-03T05:43:31.512Z] $ 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-1620 -v /w/workspace/gexfoundry_device-sdk-go_PR-1620:/w/workspace/gexfoundry_device-sdk-go_PR-1620:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1620@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-03T05:43:32.550Z] $ docker top 20d285331d994cba70059706ec41dbf46e7187c3b29f035ee260427cdde15905 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:43:32.957Z] ---> job-cost.sh [2024-09-03T05:43:32.957Z] lf-activate-venv: SKIPPING [2024-09-03T05:43:32.957Z] INFO: No Stack... [2024-09-03T05:43:33.217Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-03T05:43:33.788Z] INFO: Archiving Costs [Pipeline] sh [2024-09-03T05:43:34.082Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives/cost.csv [2024-09-03T05:43:34.082Z] + cut -d, -f6 [Pipeline] lock [2024-09-03T05:43:34.100Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-2-stack-cost] [2024-09-03T05:43:34.108Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1620-2-stack-cost] did not exist. Created. [2024-09-03T05:43:34.115Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-03T05:43:34.429Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-09-03T05:43:34.472Z] Stashed 1 file(s) [Pipeline] } [2024-09-03T05:43:34.482Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-03T05:43:34.508Z] $ docker stop --time=1 20d285331d994cba70059706ec41dbf46e7187c3b29f035ee260427cdde15905 [2024-09-03T05:43:35.645Z] $ docker rm -f --volumes 20d285331d994cba70059706ec41dbf46e7187c3b29f035ee260427cdde15905 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-09-03T05:44:50.865Z] Removing intermediate container 18d109283878 [2024-09-03T05:44:50.865Z] ---> faaa9fba12b6 [2024-09-03T05:44:50.865Z] Step 9/10 : COPY . . [2024-09-03T05:44:50.865Z] ---> 9c1b3a304a9d [2024-09-03T05:44:50.865Z] Step 10/10 : RUN ${MAKE} [2024-09-03T05:44:50.865Z] ---> Running in be64b342a4ac [2024-09-03T05:44:50.865Z] noop [2024-09-03T05:44:50.865Z] Removing intermediate container be64b342a4ac [2024-09-03T05:44:50.865Z] ---> 66b7ea1c71b0 [2024-09-03T05:44:50.865Z] Successfully built 66b7ea1c71b0 [2024-09-03T05:44:50.865Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:44:51.222Z] + docker inspect -f . ci-base-image-arm64 [2024-09-03T05:44:51.222Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T05:44:51.440Z] prd-ubuntu20.04-docker-arm64-4c-16g-9253 does not seem to be running inside a container [2024-09-03T05:44:51.495Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-03T05:44:52.675Z] $ docker top 2a7cd88f06f5cdca8dc26dd0d4c4c99aa328f1e454a74ba09c54bf47a0cc9367 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T05:44:53.516Z] + go version [2024-09-03T05:44:53.516Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-09-03T05:44:53.530Z] $ docker stop --time=1 2a7cd88f06f5cdca8dc26dd0d4c4c99aa328f1e454a74ba09c54bf47a0cc9367 [2024-09-03T05:44:55.148Z] $ docker rm -f --volumes 2a7cd88f06f5cdca8dc26dd0d4c4c99aa328f1e454a74ba09c54bf47a0cc9367 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:44:55.742Z] + docker inspect -f . ci-base-image-arm64 [2024-09-03T05:44:55.742Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T05:44:55.919Z] prd-ubuntu20.04-docker-arm64-4c-16g-9253 does not seem to be running inside a container [2024-09-03T05:44:55.978Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-09-03T05:44:57.326Z] $ docker top ff9260740623d142d309aecc6f97993ff24008ed05f54dd18271f5aa346a40bf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T05:44:57.828Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-09-03T05:44:58.432Z] + make test [2024-09-03T05:44:58.432Z] go test -race -coverprofile=coverage.out ./... [2024-09-03T05:45:37.308Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-09-03T05:48:59.088Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-09-03T05:48:59.088Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-09-03T05:48:59.088Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-09-03T05:48:59.088Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-09-03T05:48:59.088Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-09-03T05:49:00.050Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.130s coverage: 26.0% of statements [2024-09-03T05:49:04.305Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.157s coverage: 79.4% of statements [2024-09-03T05:49:12.510Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-09-03T05:49:12.510Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-09-03T05:49:12.510Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.262s coverage: 86.0% of statements [2024-09-03T05:49:20.724Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-09-03T05:49:20.989Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.438s coverage: 45.2% of statements [2024-09-03T05:49:24.334Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.186s coverage: 14.4% of statements [2024-09-03T05:49:24.334Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.082s coverage: 44.6% of statements [2024-09-03T05:49:25.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/utils [no test files] [2024-09-03T05:49:25.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-09-03T05:49:25.294Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-09-03T05:49:26.528Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.302s coverage: 68.5% of statements [2024-09-03T05:49:30.786Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.353s coverage: 89.2% of statements [2024-09-03T05:49:32.723Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-09-03T05:49:34.124Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.236s coverage: 5.3% of statements [2024-09-03T05:49:35.532Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-09-03T05:49:35.532Z] GO111MODULE=on go vet ./... [2024-09-03T05:53:15.128Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-09-03T05:53:15.128Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-09-03T05:53:15.128Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-09-03T05:53:15.151Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-09-03T05:53:15.167Z] $ docker stop --time=1 ff9260740623d142d309aecc6f97993ff24008ed05f54dd18271f5aa346a40bf [2024-09-03T05:53:17.204Z] $ docker rm -f --volumes ff9260740623d142d309aecc6f97993ff24008ed05f54dd18271f5aa346a40bf [Pipeline] // withDockerContainer [Pipeline] sh [2024-09-03T05:53:19.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-09-03T05:53:19.434Z] Warning: overwriting stash ‘coverage-report’ [2024-09-03T05:53:20.067Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-09-03T05:53:20.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-09-03T05:53:20.807Z] + ls -al . [2024-09-03T05:53:20.807Z] total 380 [2024-09-03T05:53:20.808Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 3 05:45 . [2024-09-03T05:53:20.808Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 05:41 .. [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 3 05:41 .dockerignore [2024-09-03T05:53:20.808Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 3 05:41 .git [2024-09-03T05:53:20.808Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 05:41 .github [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 3 05:41 .gitignore [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 3 05:41 .golangci.yml [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 48109 Sep 3 05:41 CHANGELOG.md [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 3 05:41 GOVERNANCE.md [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 3 05:41 Jenkinsfile [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 3 05:41 LICENSE [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 3 05:41 Makefile [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 3 05:41 OWNERS.md [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 4937 Sep 3 05:41 README.md [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 3 05:39 VERSION [2024-09-03T05:53:20.808Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 3 05:41 bin [2024-09-03T05:53:20.808Z] -rw-r--r-- 1 jenkins jenkins 127940 Sep 3 05:49 coverage.out [2024-09-03T05:53:20.808Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 3 05:41 example [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 6984 Sep 3 05:41 go.mod [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 101460 Sep 3 05:41 go.sum [2024-09-03T05:53:20.808Z] drwxrwxr-x 13 jenkins jenkins 4096 Sep 3 05:41 internal [2024-09-03T05:53:20.808Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 3 05:41 openapi [2024-09-03T05:53:20.808Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 3 05:41 pkg [2024-09-03T05:53:20.808Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 3 05:41 snap [2024-09-03T05:53:20.808Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 3 05:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:53:21.157Z] + 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=bbccac45e796a95e0126349a1e5980b980a572b6 --label arch=arm64 --label version=0.0.0 . [2024-09-03T05:53:21.749Z] Sending build context to Docker daemon 13.33MB [2024-09-03T05:53:21.749Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-09-03T05:53:21.749Z] Step 2/24 : FROM ${BASE} AS builder [2024-09-03T05:53:21.749Z] ---> 66b7ea1c71b0 [2024-09-03T05:53:21.749Z] Step 3/24 : ARG MAKE=make build [2024-09-03T05:53:22.016Z] ---> Running in 5d4ee88e7a4a [2024-09-03T05:53:22.284Z] Removing intermediate container 5d4ee88e7a4a [2024-09-03T05:53:22.284Z] ---> 41e74b7de78c [2024-09-03T05:53:22.284Z] Step 4/24 : WORKDIR /device-sdk-go [2024-09-03T05:53:22.284Z] ---> Running in d095f6537273 [2024-09-03T05:53:22.551Z] Removing intermediate container d095f6537273 [2024-09-03T05:53:22.551Z] ---> 502d88b8b5ff [2024-09-03T05:53:22.551Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-09-03T05:53:22.830Z] ---> Running in a5a6314a1610 [2024-09-03T05:53:23.097Z] Removing intermediate container a5a6314a1610 [2024-09-03T05:53:23.097Z] ---> 5d160385cfd0 [2024-09-03T05:53:23.097Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-09-03T05:53:23.097Z] ---> Running in 0cbc5fd8f4f0 [2024-09-03T05:53:24.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T05:53:24.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T05:53:25.602Z] OK: 266 MiB in 52 packages [2024-09-03T05:53:26.188Z] Removing intermediate container 0cbc5fd8f4f0 [2024-09-03T05:53:26.188Z] ---> bd03f176a708 [2024-09-03T05:53:26.188Z] Step 7/24 : COPY go.mod vendor* ./ [2024-09-03T05:53:27.151Z] ---> 17e0f1538cef [2024-09-03T05:53:27.151Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-09-03T05:53:27.419Z] ---> Running in ac77dfcae94a [2024-09-03T05:53:29.364Z] Removing intermediate container ac77dfcae94a [2024-09-03T05:53:29.364Z] ---> 210cb493d932 [2024-09-03T05:53:29.364Z] Step 9/24 : COPY . . [2024-09-03T05:53:31.310Z] ---> 07cfe6e371fc [2024-09-03T05:53:31.310Z] Step 10/24 : RUN ${MAKE} [2024-09-03T05:53:31.310Z] ---> Running in d05feddfaab1 [2024-09-03T05:53:32.270Z] 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 [2024-09-03T05:56:54.028Z] Removing intermediate container d05feddfaab1 [2024-09-03T05:56:54.028Z] ---> e91e01e98b71 [2024-09-03T05:56:54.028Z] Step 11/24 : FROM alpine:3.18 [2024-09-03T05:56:54.028Z] 3.18: Pulling from library/alpine [2024-09-03T05:56:54.028Z] 4983c3fe2029: Pulling fs layer [2024-09-03T05:56:54.028Z] 4983c3fe2029: Verifying Checksum [2024-09-03T05:56:54.028Z] 4983c3fe2029: Download complete [2024-09-03T05:56:54.028Z] 4983c3fe2029: Pull complete [2024-09-03T05:56:54.028Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-09-03T05:56:54.028Z] Status: Downloaded newer image for alpine:3.18 [2024-09-03T05:56:54.028Z] ---> a0237000ae83 [2024-09-03T05:56:54.028Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-09-03T05:56:54.028Z] ---> Running in a8c6369bc5eb [2024-09-03T05:56:54.028Z] Removing intermediate container a8c6369bc5eb [2024-09-03T05:56:54.028Z] ---> fb0cca6625fa [2024-09-03T05:56:54.028Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-09-03T05:56:54.028Z] ---> Running in 2ba955ed9352 [2024-09-03T05:56:54.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T05:56:54.028Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T05:56:54.609Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-09-03T05:56:54.609Z] Executing busybox-1.36.1-r7.trigger [2024-09-03T05:56:54.609Z] OK: 8 MiB in 16 packages [2024-09-03T05:56:55.579Z] Removing intermediate container 2ba955ed9352 [2024-09-03T05:56:55.579Z] ---> a351b48ba7c3 [2024-09-03T05:56:55.579Z] Step 14/24 : RUN apk --no-cache upgrade [2024-09-03T05:56:55.579Z] ---> Running in 21f82d6ff390 [2024-09-03T05:56:56.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-09-03T05:56:56.807Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-09-03T05:56:57.767Z] OK: 8 MiB in 16 packages [2024-09-03T05:56:58.734Z] Removing intermediate container 21f82d6ff390 [2024-09-03T05:56:58.734Z] ---> 3e212843188e [2024-09-03T05:56:58.734Z] Step 15/24 : WORKDIR / [2024-09-03T05:56:58.734Z] ---> Running in 2acd80912840 [2024-09-03T05:56:59.003Z] Removing intermediate container 2acd80912840 [2024-09-03T05:56:59.003Z] ---> 45527bebc86a [2024-09-03T05:56:59.003Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-09-03T05:56:59.586Z] ---> 677cc0a08622 [2024-09-03T05:56:59.586Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-09-03T05:57:01.532Z] ---> f23b454d7934 [2024-09-03T05:57:01.532Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-09-03T05:57:02.118Z] ---> b11712a3010b [2024-09-03T05:57:02.118Z] Step 19/24 : EXPOSE 59999 [2024-09-03T05:57:02.384Z] ---> Running in f422de4296d3 [2024-09-03T05:57:02.651Z] Removing intermediate container f422de4296d3 [2024-09-03T05:57:02.651Z] ---> 3c85a5811e57 [2024-09-03T05:57:02.651Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-09-03T05:57:02.651Z] ---> Running in 5855f6d7139f [2024-09-03T05:57:02.915Z] Removing intermediate container 5855f6d7139f [2024-09-03T05:57:02.915Z] ---> 2e6498a4f807 [2024-09-03T05:57:02.915Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-09-03T05:57:02.915Z] ---> Running in a7c1ef38dacd [2024-09-03T05:57:03.183Z] Removing intermediate container a7c1ef38dacd [2024-09-03T05:57:03.183Z] ---> d0c3999fbe13 [2024-09-03T05:57:03.183Z] Step 22/24 : LABEL arch=arm64 [2024-09-03T05:57:03.447Z] ---> Running in 2610200c12ac [2024-09-03T05:57:03.712Z] Removing intermediate container 2610200c12ac [2024-09-03T05:57:03.712Z] ---> 34f427abba6a [2024-09-03T05:57:03.712Z] Step 23/24 : LABEL git_sha=bbccac45e796a95e0126349a1e5980b980a572b6 [2024-09-03T05:57:03.712Z] ---> Running in 8cf42bf5ded0 [2024-09-03T05:57:03.983Z] Removing intermediate container 8cf42bf5ded0 [2024-09-03T05:57:03.983Z] ---> eacdd6451b30 [2024-09-03T05:57:03.983Z] Step 24/24 : LABEL version=0.0.0 [2024-09-03T05:57:03.983Z] ---> Running in 6db03572a079 [2024-09-03T05:57:04.560Z] Removing intermediate container 6db03572a079 [2024-09-03T05:57:04.560Z] ---> c18d0d98f7d8 [2024-09-03T05:57:04.560Z] [Warning] One or more build-args [ARCH] were not consumed [2024-09-03T05:57:04.560Z] Successfully built c18d0d98f7d8 [2024-09-03T05:57:04.560Z] 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 [2024-09-03T05:57:05.021Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T05:57:05.021Z] [2024-09-03T05:57:05.021Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:57:05.351Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T05:57:05.351Z] arm64: Pulling from edgex-lftools-log-publisher [2024-09-03T05:57:05.351Z] 8998bd30e6a1: Pulling fs layer [2024-09-03T05:57:05.351Z] 04944245beec: Pulling fs layer [2024-09-03T05:57:05.351Z] 699f458cf7ca: Pulling fs layer [2024-09-03T05:57:05.351Z] 765212b225bb: Pulling fs layer [2024-09-03T05:57:05.351Z] f23df028b6ca: Pulling fs layer [2024-09-03T05:57:05.351Z] d65c8cfc05b1: Pulling fs layer [2024-09-03T05:57:05.351Z] 2437ff75d9bd: Pulling fs layer [2024-09-03T05:57:05.351Z] f23df028b6ca: Waiting [2024-09-03T05:57:05.351Z] d65c8cfc05b1: Waiting [2024-09-03T05:57:05.351Z] 2437ff75d9bd: Waiting [2024-09-03T05:57:05.351Z] 765212b225bb: Waiting [2024-09-03T05:57:05.618Z] 04944245beec: Verifying Checksum [2024-09-03T05:57:05.618Z] 04944245beec: Download complete [2024-09-03T05:57:05.618Z] 765212b225bb: Verifying Checksum [2024-09-03T05:57:05.618Z] 765212b225bb: Download complete [2024-09-03T05:57:05.618Z] f23df028b6ca: Verifying Checksum [2024-09-03T05:57:05.618Z] f23df028b6ca: Download complete [2024-09-03T05:57:05.618Z] d65c8cfc05b1: Verifying Checksum [2024-09-03T05:57:05.618Z] d65c8cfc05b1: Download complete [2024-09-03T05:57:05.618Z] 699f458cf7ca: Verifying Checksum [2024-09-03T05:57:05.618Z] 699f458cf7ca: Download complete [2024-09-03T05:57:06.200Z] 8998bd30e6a1: Verifying Checksum [2024-09-03T05:57:06.200Z] 8998bd30e6a1: Download complete [2024-09-03T05:57:08.776Z] 2437ff75d9bd: Verifying Checksum [2024-09-03T05:57:08.776Z] 2437ff75d9bd: Download complete [2024-09-03T05:57:10.718Z] 8998bd30e6a1: Pull complete [2024-09-03T05:57:11.302Z] 04944245beec: Pull complete [2024-09-03T05:57:12.702Z] 699f458cf7ca: Pull complete [2024-09-03T05:57:12.967Z] 765212b225bb: Pull complete [2024-09-03T05:57:13.924Z] f23df028b6ca: Pull complete [2024-09-03T05:57:14.189Z] d65c8cfc05b1: Pull complete [2024-09-03T05:57:32.370Z] 2437ff75d9bd: Pull complete [2024-09-03T05:57:32.370Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-09-03T05:57:32.370Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-09-03T05:57:32.370Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T05:57:32.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-9253 does not seem to be running inside a container [2024-09-03T05:57:32.629Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-09-03T05:57:35.335Z] $ docker top a8e1e5abc1246dcbc4a75febaa2a8ca6576c68c7ea47803a12d77f8c1f46200c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:57:36.171Z] ---> job-cost.sh [2024-09-03T05:57:36.171Z] lf-activate-venv: SKIPPING [2024-09-03T05:57:36.171Z] INFO: No Stack... [2024-09-03T05:57:36.434Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-09-03T05:57:37.384Z] INFO: Archiving Costs [Pipeline] sh [2024-09-03T05:57:38.001Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2024-09-03T05:57:38.001Z] + cut -d, -f6 [Pipeline] lock [2024-09-03T05:57:38.156Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-2-stack-cost] [2024-09-03T05:57:38.166Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1620-2-stack-cost] did not exist. Created. [2024-09-03T05:57:38.175Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-09-03T05:57:38.978Z] /w/workspace/device-sdk-go/2@tmp/durable-89327d2d/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-09-03T05:57:39.628Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-09-03T05:57:39.660Z] Warning: overwriting stash ‘stack-cost’ [2024-09-03T05:57:39.741Z] Stashed 1 file(s) [Pipeline] } [2024-09-03T05:57:39.753Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1620-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-09-03T05:57:39.770Z] $ docker stop --time=1 a8e1e5abc1246dcbc4a75febaa2a8ca6576c68c7ea47803a12d77f8c1f46200c [2024-09-03T05:57:41.267Z] $ docker rm -f --volumes a8e1e5abc1246dcbc4a75febaa2a8ca6576c68c7ea47803a12d77f8c1f46200c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-09-03T05:57:41.783Z] provisioning config files... [2024-09-03T05:57:41.791Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/config5011436998745125297tmp [Pipeline] { [Pipeline] sh [2024-09-03T05:57:42.086Z] + set +x [2024-09-03T05:57:42.086Z] + curl -s https://codecov.io/bash [2024-09-03T05:57:42.086Z] + bash -s -- [2024-09-03T05:57:42.086Z] [2024-09-03T05:57:42.086Z] _____ _ [2024-09-03T05:57:42.086Z] / ____| | | [2024-09-03T05:57:42.086Z] | | ___ __| | ___ ___ _____ __ [2024-09-03T05:57:42.086Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-09-03T05:57:42.086Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-09-03T05:57:42.086Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-09-03T05:57:42.086Z] Bash-1.0.6 [2024-09-03T05:57:42.086Z] [2024-09-03T05:57:42.086Z] [2024-09-03T05:57:42.086Z] ==> git version 2.25.1 found [2024-09-03T05:57:42.086Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-09-03T05:57:42.086Z] Release-Date: 2020-01-08 [2024-09-03T05:57:42.086Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-09-03T05:57:42.086Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-09-03T05:57:42.086Z] ==> Jenkins CI detected. [2024-09-03T05:57:42.086Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1620 [2024-09-03T05:57:42.086Z] project root: . [2024-09-03T05:57:42.086Z] --> token set from env [2024-09-03T05:57:42.086Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-09-03T05:57:42.086Z] ==> Running gcov in . (disable via -X gcov) [2024-09-03T05:57:42.086Z] ==> Python coveragepy not found [2024-09-03T05:57:42.086Z] ==> Searching for coverage reports in: [2024-09-03T05:57:42.086Z] + . [2024-09-03T05:57:42.347Z] -> Found 1 reports [2024-09-03T05:57:42.347Z] ==> Detecting git/mercurial file structure [2024-09-03T05:57:42.347Z] ==> Reading reports [2024-09-03T05:57:42.347Z] + ./coverage.out bytes=127940 [2024-09-03T05:57:42.347Z] ==> Appending adjustments [2024-09-03T05:57:42.347Z] https://docs.codecov.io/docs/fixing-reports [2024-09-03T05:57:42.607Z] + Found adjustments [2024-09-03T05:57:42.607Z] ==> Gzipping contents [2024-09-03T05:57:42.607Z] 20K /tmp/codecov.khs86r.gz [2024-09-03T05:57:42.607Z] ==> Uploading reports [2024-09-03T05:57:42.607Z] url: https://codecov.io [2024-09-03T05:57:42.607Z] query: branch=PR-1620&commit=bbccac45e796a95e0126349a1e5980b980a572b6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1620%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1620&job=&cmd_args= [2024-09-03T05:57:42.607Z] -> Pinging Codecov [2024-09-03T05:57:42.607Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1620&commit=bbccac45e796a95e0126349a1e5980b980a572b6&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1620%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1620&job=&cmd_args= [2024-09-03T05:57:42.607Z] -> Uploading to [2024-09-03T05:57:42.607Z] https://storage.googleapis.com/codecov/v4/raw/2024-09-03/7E55EF52A471D76F132DFD9A03CDDE97/bbccac45e796a95e0126349a1e5980b980a572b6/ba8f3279-e969-4e11-a0e6-e0752c13648f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240903%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240903T055742Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa9c8d1678be6de68e219cfa28e0da321c60a68cb6afeb93cff60b3b5c3180b8 [2024-09-03T05:57:42.607Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-09-03T05:57:42.607Z] Dload Upload Total Spent Left Speed [2024-09-03T05:57:42.867Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 17667 0 0 100 17667 0 67950 --:--:-- --:--:-- --:--:-- 67950 [2024-09-03T05:57:42.867Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/bbccac45e796a95e0126349a1e5980b980a572b6 [Pipeline] } [2024-09-03T05:57:42.874Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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 [2024-09-03T05:57:43.774Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives ] [2024-09-03T05:57:43.774Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives [2024-09-03T05:57:43.774Z] total 16 [2024-09-03T05:57:43.774Z] drwxr-xr-x 3 root root 4096 Sep 3 05:43 . [2024-09-03T05:57:43.774Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 3 05:43 .. [2024-09-03T05:57:43.774Z] drwxr-xr-x 2 root root 4096 Sep 3 05:43 cost [2024-09-03T05:57:43.774Z] -rw-r--r-- 1 root root 86 Sep 3 05:43 cost.csv [2024-09-03T05:57:43.774Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives [2024-09-03T05:57:43.774Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives [2024-09-03T05:57:43.774Z] total 16 [2024-09-03T05:57:43.774Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 3 05:43 . [2024-09-03T05:57:43.774Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 3 05:43 .. [2024-09-03T05:57:43.774Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 3 05:43 cost [2024-09-03T05:57:43.774Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 3 05:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:57:44.071Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:57:44.928Z] ---> package-listing.sh [2024-09-03T05:57:44.928Z] ++ facter osfamily [2024-09-03T05:57:44.928Z] ++ tr '[:upper:]' '[:lower:]' [2024-09-03T05:57:45.187Z] + OS_FAMILY=debian [2024-09-03T05:57:45.187Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1620 [2024-09-03T05:57:45.187Z] + START_PACKAGES=/tmp/packages_start.txt [2024-09-03T05:57:45.187Z] + END_PACKAGES=/tmp/packages_end.txt [2024-09-03T05:57:45.187Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-09-03T05:57:45.187Z] + PACKAGES=/tmp/packages_start.txt [2024-09-03T05:57:45.187Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1620 ']' [2024-09-03T05:57:45.187Z] + PACKAGES=/tmp/packages_end.txt [2024-09-03T05:57:45.187Z] + case "${OS_FAMILY}" in [2024-09-03T05:57:45.187Z] + dpkg -l [2024-09-03T05:57:45.187Z] + grep '^ii' [2024-09-03T05:57:45.187Z] + '[' -f /tmp/packages_start.txt ']' [2024-09-03T05:57:45.187Z] + '[' -f /tmp/packages_end.txt ']' [2024-09-03T05:57:45.187Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-09-03T05:57:45.187Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1620 ']' [2024-09-03T05:57:45.187Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives/ [2024-09-03T05:57:45.187Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1620/archives/ [Pipeline] echo [2024-09-03T05:57:45.200Z] 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-1620/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-09-03T05:57:45.478Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-09-03T05:57:45.782Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-09-03T05:57:45.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-09-03T05:57:45.866Z] prd-ubuntu20.04-docker-8c-8g-9252 does not seem to be running inside a container [2024-09-03T05:57:45.880Z] $ 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-1620/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-1620 -v /w/workspace/gexfoundry_device-sdk-go_PR-1620:/w/workspace/gexfoundry_device-sdk-go_PR-1620:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-09-03T05:57:46.080Z] $ docker top e3b3677ff1d3e5b5b92efb721fa8e63459216f92c0d442a4e8f7ab91ca535133 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-09-03T05:57:46.442Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-09-03T05:57:46.726Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-09-03T05:57:47.011Z] + ls /var/log/sa-host [2024-09-03T05:57:47.011Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-09-03T05:57:47.217Z] provisioning config files... [2024-09-03T05:57:47.234Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1620@tmp/config18004673621809139041tmp [Pipeline] { [Pipeline] echo [2024-09-03T05:57:47.255Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:57:47.579Z] ---> create-netrc.sh [Pipeline] } [2024-09-03T05:57:47.587Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:57:47.993Z] ---> python-tools-install.sh [Pipeline] echo [2024-09-03T05:57:48.001Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:57:48.284Z] ---> sudo-logs.sh [2024-09-03T05:57:48.284Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-09-03T05:57:48.323Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:57:48.607Z] ---> job-cost.sh [2024-09-03T05:57:48.608Z] lf-activate-venv: SKIPPING [2024-09-03T05:57:48.608Z] DEBUG: total: 0.2199999988079071 [2024-09-03T05:57:48.608Z] INFO: Retrieving Stack Cost... [2024-09-03T05:57:49.175Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-09-03T05:57:49.436Z] INFO: Archiving Costs [Pipeline] echo [2024-09-03T05:57:49.450Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-09-03T05:57:49.732Z] ---> logs-deploy.sh [2024-09-03T05:57:49.732Z] lf-activate-venv: SKIPPING [2024-09-03T05:57:49.732Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1620/2 [2024-09-03T05:57:49.732Z] INFO: archiving workspace using pattern(s): [2024-09-03T05:57:50.671Z] Archives upload complete. [2024-09-03T05:57:50.671Z] INFO: archiving logs to Nexus