Pull request #1646 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 jackchenjc for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 2b424e540a2c3b8f091c6d5734c04c5071b69322+a2adfdc09e477498866130aea83da6ea448c3108 (6f79ea398258de9e50156a565e859de8715c4b27) 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-ssh13923196530653524035.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh3397171568097688829.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-1646/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-1646/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12610499227375947149.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh15971697226262373993.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-1646/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-1646/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14708556634753194167.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]] ========================================================= [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.23 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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-24977 in /w/workspace/gexfoundry_device-sdk-go_PR-1646 [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-1646 # 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 Merging remotes/origin/main commit a2adfdc09e477498866130aea83da6ea448c3108 into PR head commit 2b424e540a2c3b8f091c6d5734c04c5071b69322 Merge succeeded, producing 2b424e540a2c3b8f091c6d5734c04c5071b69322 Checking out Revision 2b424e540a2c3b8f091c6d5734c04c5071b69322 (PR-1646) > 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/1646/head:refs/remotes/origin/PR-1646 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b424e540a2c3b8f091c6d5734c04c5071b69322 # 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 a2adfdc09e477498866130aea83da6ea448c3108 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2b424e540a2c3b8f091c6d5734c04c5071b69322 # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:03:04 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:03:04 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:03:04 ========================================================= 03:03:04 EdgeX Global Pipelines Version Info 03:03:04 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk dc59e9afc29978e7eceeb0d9af4d105f7aafa06c # timeout=10 03:03:05 ------------------- 03:03:05 stable info: 03:03:05 ------------------- 03:03:05 Commited By: Ginny Guan ginny@iotechsys.com 03:03:05 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 03:03:05 Message: update stable to v1.0.265 03:03:05 ------------------- 03:03:05 experimental info: 03:03:05 ------------------- 03:03:05 Commited By: Cherry Wang cherry@iotechsys.com 03:03:05 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 03:03:05 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:03:05 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1646 [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1646 [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1646 [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2b424e540a2c3b8f091c6d5734c04c5071b69322 [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2b424e5 [Pipeline] echo 03:03:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:03:06 provisioning config files... 03:03:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config1743514333981863139tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:03:07 ---> ****-login.sh 03:03:07 nexus3.edgexfoundry.org:10001 03:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:07 Configure a credential helper to remove this warning. See 03:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:07 03:03:07 Login Succeeded 03:03:07 nexus3.edgexfoundry.org:10002 03:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:07 Configure a credential helper to remove this warning. See 03:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:07 03:03:07 Login Succeeded 03:03:07 nexus3.edgexfoundry.org:10003 03:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:07 Configure a credential helper to remove this warning. See 03:03:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:07 03:03:07 Login Succeeded 03:03:07 nexus3.edgexfoundry.org:10004 03:03:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:08 Configure a credential helper to remove this warning. See 03:03:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:08 03:03:08 Login Succeeded 03:03:08 ****.io 03:03:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:08 Configure a credential helper to remove this warning. See 03:03:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:08 03:03:08 Login Succeeded 03:03:08 ---> ****-login.sh ends [Pipeline] } 03:03:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:03:08 + git rev-list -1 --merges 2b424e540a2c3b8f091c6d5734c04c5071b69322~1..2b424e540a2c3b8f091c6d5734c04c5071b69322 [Pipeline] echo 03:03:08 -----------> git rev-list -1 --merges 2b424e540a2c3b8f091c6d5734c04c5071b69322~1..2b424e540a2c3b8f091c6d5734c04c5071b69322 2b424e540a2c3b8f091c6d5734c04c5071b69322 [false] [Pipeline] sh 03:03:09 + git log --format=format:%s -1 2b424e540a2c3b8f091c6d5734c04c5071b69322 [Pipeline] echo 03:03:09 ========================================================= 03:03:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:03:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:03:09 + git log --format=format:%s -1 2b424e540a2c3b8f091c6d5734c04c5071b69322 [Pipeline] echo 03:03:09 [semverPrep] GIT_COMMIT: 2b424e540a2c3b8f091c6d5734c04c5071b69322, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo 03:03:09 [semverPrep] This is not a build commit. [Pipeline] sh 03:03:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:03:09 + grep -v github /etc/ssh/ssh_known_hosts 03:03:09 + [ -e /tmp/ssh_known_hosts ] 03:03:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:03:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:03:09 + sudo tee -a /etc/ssh/ssh_known_hosts 03:03:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:03:10 03:03:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:03:10 0.1.4: Pulling from edgex-devops/py-git-semver 03:03:10 b85a868b505f: Pulling fs layer 03:03:10 e2be974225ed: Pulling fs layer 03:03:10 339a4e72a1f5: Pulling fs layer 03:03:10 988bab9f4d93: Pulling fs layer 03:03:10 1469e6f7b9e6: Pulling fs layer 03:03:10 eaf3925da568: Pulling fs layer 03:03:10 bab4dde63d76: Pulling fs layer 03:03:10 bde34c3a00c8: Pulling fs layer 03:03:10 b352a97aabf1: Pulling fs layer 03:03:10 4872d77fe225: Pulling fs layer 03:03:10 5851b861e8e6: Pulling fs layer 03:03:10 bab4dde63d76: Waiting 03:03:10 1469e6f7b9e6: Waiting 03:03:10 988bab9f4d93: Waiting 03:03:10 eaf3925da568: Waiting 03:03:10 bde34c3a00c8: Waiting 03:03:10 5851b861e8e6: Waiting 03:03:10 b352a97aabf1: Waiting 03:03:10 4872d77fe225: Waiting 03:03:10 e2be974225ed: Download complete 03:03:10 988bab9f4d93: Verifying Checksum 03:03:10 988bab9f4d93: Download complete 03:03:10 1469e6f7b9e6: Verifying Checksum 03:03:10 1469e6f7b9e6: Download complete 03:03:10 339a4e72a1f5: Verifying Checksum 03:03:10 339a4e72a1f5: Download complete 03:03:10 eaf3925da568: Verifying Checksum 03:03:10 eaf3925da568: Download complete 03:03:10 bde34c3a00c8: Download complete 03:03:10 b352a97aabf1: Download complete 03:03:10 4872d77fe225: Verifying Checksum 03:03:10 4872d77fe225: Download complete 03:03:10 5851b861e8e6: Verifying Checksum 03:03:10 5851b861e8e6: Download complete 03:03:10 b85a868b505f: Verifying Checksum 03:03:10 b85a868b505f: Download complete 03:03:11 bab4dde63d76: Verifying Checksum 03:03:11 bab4dde63d76: Download complete 03:03:11 b85a868b505f: Pull complete 03:03:12 e2be974225ed: Pull complete 03:03:12 339a4e72a1f5: Pull complete 03:03:12 988bab9f4d93: Pull complete 03:03:13 1469e6f7b9e6: Pull complete 03:03:13 eaf3925da568: Pull complete 03:03:15 bab4dde63d76: Pull complete 03:03:15 bde34c3a00c8: Pull complete 03:03:15 b352a97aabf1: Pull complete 03:03:15 4872d77fe225: Pull complete 03:03:15 5851b861e8e6: Pull complete 03:03:15 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:03:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:03:15 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:03:15 prd-ubuntu20.04-docker-8c-8g-24977 does not seem to be running inside a container 03:03:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1646 -v /w/workspace/gexfoundry_device-sdk-go_PR-1646:/w/workspace/gexfoundry_device-sdk-go_PR-1646:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:03:21 $ docker top 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 -eo pid,comm 03:03:21 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). 03:03:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:03:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:03:21 [ssh-agent] Looking for ssh-agent implementation... 03:03:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:03:21 $ docker exec 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 ssh-agent 03:03:21 SSH_AUTH_SOCK=/tmp/ssh-9dS3KeYmWSA7/agent.33 03:03:21 SSH_AGENT_PID=39 03:03:21 Running ssh-add (command line suppressed) 03:03:21 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_2580753446388132961.key (/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_2580753446388132961.key) 03:03:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:03:22 + git tag --points-at HEAD [Pipeline] } 03:03:22 $ docker exec --env ******** --env ******** 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 ssh-agent -k 03:03:22 unset SSH_AUTH_SOCK; 03:03:22 unset SSH_AGENT_PID; 03:03:22 echo Agent pid 39 killed; 03:03:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:03:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:03:22 [ssh-agent] Looking for ssh-agent implementation... 03:03:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:03:22 $ docker exec 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 ssh-agent 03:03:22 SSH_AUTH_SOCK=/tmp/ssh-8kb2B8g9EIW6/agent.72 03:03:22 SSH_AGENT_PID=78 03:03:22 Running ssh-add (command line suppressed) 03:03:22 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_15451538964671322409.key (/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_15451538964671322409.key) 03:03:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:03:22 + git semver init 03:03:23 2024-11-08 03:03:23,193 [run_init] DEBUG init version:0.0.0 force:False 03:03:23 2024-11-08 03:03:23,194 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver 03:03:23 2024-11-08 03:03:23,195 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver 03:03:23 2024-11-08 03:03:23,195 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1646, universal_newlines=False, shell=None, istream=None) 03:03:25 2024-11-08 03:03:25,487 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.git/info/exclude 03:03:25 2024-11-08 03:03:25,488 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver/PR-1646 with force:False 03:03:25 2024-11-08 03:03:25,488 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver/PR-1646 03:03:25 2024-11-08 03:03:25,492 [execute] INFO git cat-file --batch-check 03:03:25 2024-11-08 03:03:25,492 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver, universal_newlines=False, shell=None, istream=) 03:03:25 2024-11-08 03:03:25,499 [execute] INFO git cat-file --batch 03:03:25 2024-11-08 03:03:25,499 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver, universal_newlines=False, shell=None, istream=) 03:03:25 2024-11-08 03:03:25,505 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver/PR-1646 03:03:25 0.0.0 [Pipeline] } 03:03:25 $ docker exec --env ******** --env ******** 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 ssh-agent -k 03:03:25 unset SSH_AUTH_SOCK; 03:03:25 unset SSH_AGENT_PID; 03:03:25 echo Agent pid 78 killed; 03:03:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:03:26 + git semver [Pipeline] } 03:03:26 $ docker stop --time=1 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 03:03:27 $ docker rm -f --volumes 10416565120aef4d59c2789dccec482afbcf9f8cf72ac8f68b0a570f77da09f3 [Pipeline] // withDockerContainer [Pipeline] sh 03:03:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:03:28 Stashed 1 file(s) [Pipeline] echo 03:03:28 [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 03:03:28 provisioning config files... 03:03:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config439985775321783863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:03:28 ---> ****-login.sh 03:03:28 nexus3.edgexfoundry.org:10001 03:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:28 Configure a credential helper to remove this warning. See 03:03:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:28 03:03:28 Login Succeeded 03:03:28 nexus3.edgexfoundry.org:10002 03:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:29 Configure a credential helper to remove this warning. See 03:03:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:29 03:03:29 Login Succeeded 03:03:29 nexus3.edgexfoundry.org:10003 03:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:29 Configure a credential helper to remove this warning. See 03:03:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:29 03:03:29 Login Succeeded 03:03:29 nexus3.edgexfoundry.org:10004 03:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:29 Configure a credential helper to remove this warning. See 03:03:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:29 03:03:29 Login Succeeded 03:03:29 ****.io 03:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:03:29 Configure a credential helper to remove this warning. See 03:03:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:03:29 03:03:29 Login Succeeded 03:03:29 ---> ****-login.sh ends [Pipeline] } 03:03:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:03:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:03:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:03:29 ========================================================= 03:03:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 03:03:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:03:29 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 03:03:29 Sending build context to Docker daemon 25.6MB 03:03:29 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 03:03:29 Step 2/10 : FROM ${BASE} AS builder 03:03:30 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 03:03:30 43c4264eed91: Pulling fs layer 03:03:30 4cc291be95ef: Pulling fs layer 03:03:30 2ac1f1163629: Pulling fs layer 03:03:30 5c3c966382ef: Pulling fs layer 03:03:30 4f4fb700ef54: Pulling fs layer 03:03:30 5d5c8e513c77: Pulling fs layer 03:03:30 9f66e0745190: Pulling fs layer 03:03:30 f49a43e4bbc0: Pulling fs layer 03:03:30 561ebcabdf7f: Pulling fs layer 03:03:30 5c3c966382ef: Waiting 03:03:30 5d5c8e513c77: Waiting 03:03:30 9f66e0745190: Waiting 03:03:30 f49a43e4bbc0: Waiting 03:03:30 4f4fb700ef54: Waiting 03:03:30 561ebcabdf7f: Waiting 03:03:30 4cc291be95ef: Download complete 03:03:30 5c3c966382ef: Verifying Checksum 03:03:30 5c3c966382ef: Download complete 03:03:30 4f4fb700ef54: Verifying Checksum 03:03:30 4f4fb700ef54: Download complete 03:03:30 43c4264eed91: Download complete 03:03:30 5d5c8e513c77: Verifying Checksum 03:03:30 5d5c8e513c77: Download complete 03:03:30 9f66e0745190: Verifying Checksum 03:03:30 9f66e0745190: Download complete 03:03:30 561ebcabdf7f: Download complete 03:03:30 43c4264eed91: Pull complete 03:03:31 2ac1f1163629: Verifying Checksum 03:03:31 2ac1f1163629: Download complete 03:03:31 4cc291be95ef: Pull complete 03:03:31 f49a43e4bbc0: Verifying Checksum 03:03:31 f49a43e4bbc0: Download complete 03:03:35 2ac1f1163629: Pull complete 03:03:35 5c3c966382ef: Pull complete 03:03:36 4f4fb700ef54: Pull complete 03:03:37 5d5c8e513c77: Pull complete 03:03:37 9f66e0745190: Pull complete 03:03:41 f49a43e4bbc0: Pull complete 03:03:42 561ebcabdf7f: Pull complete 03:03:42 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 03:03:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 03:03:42 ---> 3a752c3f9dda 03:03:42 Step 3/10 : ARG MAKE=make build 03:03:43 Still waiting to schedule task 03:03:43 ‘prd-centos7-blackbox-4c-2g-24386’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:03:43 ‘prd-centos7-blackbox-4c-2g-24387’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:03:43 ‘prd-ubuntu20.04-docker-8c-8g-24952’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:03:43 ‘prd-ubuntu20.04-docker-8c-8g-24956’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 03:03:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24953’ is offline 03:03:43 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24978’ is offline 03:03:52 ---> Running in 619a5ccd7d4a 03:03:52 Removing intermediate container 619a5ccd7d4a 03:03:52 ---> 24a02a6d714d 03:03:52 Step 4/10 : WORKDIR /device-sdk-go 03:03:52 ---> Running in 2de92c991b95 03:03:52 Removing intermediate container 2de92c991b95 03:03:52 ---> 837f650baec8 03:03:52 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:03:52 ---> Running in 92c47f72ae6a 03:03:52 Removing intermediate container 92c47f72ae6a 03:03:52 ---> 00d28d67210d 03:03:52 Step 6/10 : RUN apk add --update --no-cache make git 03:03:52 ---> Running in f2d5b155179b 03:03:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:03:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:03:53 OK: 246 MiB in 54 packages 03:03:54 Removing intermediate container f2d5b155179b 03:03:54 ---> 0672ca6057f7 03:03:54 Step 7/10 : COPY go.mod vendor* ./ 03:03:54 ---> 2e1b81072929 03:03:54 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:03:54 ---> Running in 16c3923553a5 03:05:16 Removing intermediate container 16c3923553a5 03:05:16 ---> e0148c33f2fc 03:05:16 Step 9/10 : COPY . . 03:05:16 ---> bd076d240cf1 03:05:16 Step 10/10 : RUN ${MAKE} 03:05:16 ---> Running in 1d0bd6118d64 03:05:16 noop 03:05:16 Removing intermediate container 1d0bd6118d64 03:05:16 ---> 7c563644317f 03:05:16 Successfully built 7c563644317f 03:05:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:16 + docker inspect -f . ci-base-image-x86_64 03:05:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:16 prd-ubuntu20.04-docker-8c-8g-24977 does not seem to be running inside a container 03:05:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1646 -v /w/workspace/gexfoundry_device-sdk-go_PR-1646:/w/workspace/gexfoundry_device-sdk-go_PR-1646:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1646@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 ******** -e ******** ci-base-image-x86_64 cat 03:05:17 $ docker top 176a6b7aac06c3297dd9bc86933f21b011e89f1759d2c0f2e55ddbeb6f0096c4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:05:17 + go version 03:05:17 go version go1.23.2 linux/amd64 [Pipeline] } 03:05:17 $ docker stop --time=1 176a6b7aac06c3297dd9bc86933f21b011e89f1759d2c0f2e55ddbeb6f0096c4 03:05:19 $ docker rm -f --volumes 176a6b7aac06c3297dd9bc86933f21b011e89f1759d2c0f2e55ddbeb6f0096c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:05:19 + docker inspect -f . ci-base-image-x86_64 03:05:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:05:19 prd-ubuntu20.04-docker-8c-8g-24977 does not seem to be running inside a container 03:05:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1646 -v /w/workspace/gexfoundry_device-sdk-go_PR-1646:/w/workspace/gexfoundry_device-sdk-go_PR-1646:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1646@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 ******** -e ******** ci-base-image-x86_64 cat 03:05:20 $ docker top 204009c09bef9b445105afd0c07eb2e0b2c7940c934c233c80e7baa736834355 -eo pid,comm [Pipeline] { [Pipeline] sh 03:05:21 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1646 [Pipeline] fileExists [Pipeline] sh 03:05:21 + make test 03:05:21 go test -race -coverprofile=coverage.out ./... 03:05:29 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 03:06:01 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 03:06:01 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 03:06:01 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 03:06:01 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 03:06:01 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 03:06:01 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 03:06:01 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 03:06:01 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.031s coverage: 28.7% of statements 03:06:01 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.030s coverage: 79.4% of statements 03:06:01 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.052s coverage: 86.0% of statements 03:06:01 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 03:06:01 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 03:06:01 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 03:06:01 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 03:06:01 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.092s coverage: 45.2% of statements 03:06:02 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 03:06:05 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.053s coverage: 14.1% of statements 03:06:05 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.272s coverage: 44.6% of statements 03:06:05 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.066s coverage: 68.4% of statements 03:06:05 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.078s coverage: 88.3% of statements 03:06:05 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.053s coverage: 5.3% of statements 03:06:37 GO111MODULE=on go vet ./... 03:06:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:06:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:06:41 ./bin/test-attribution-txt.sh [Pipeline] echo 03:06:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:06:41 $ docker stop --time=1 204009c09bef9b445105afd0c07eb2e0b2c7940c934c233c80e7baa736834355 03:06:50 $ docker rm -f --volumes 204009c09bef9b445105afd0c07eb2e0b2c7940c934c233c80e7baa736834355 [Pipeline] // withDockerContainer [Pipeline] sh 03:06:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:06:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:06:52 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:06:52 + ls -al . 03:06:52 total 704 03:06:52 drwxrwxr-x 11 jenkins jenkins 4096 Nov 8 03:05 . 03:06:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:02 .. 03:06:52 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 03:03 .dockerignore 03:06:52 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:06 .git 03:06:52 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:03 .github 03:06:52 -rw-rw-r-- 1 jenkins jenkins 137 Nov 8 03:03 .gitignore 03:06:52 -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 03:03 .golangci.yml 03:06:52 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:03 .semver 03:06:52 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 8 03:03 CHANGELOG.md 03:06:52 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:03 GOVERNANCE.md 03:06:52 -rw-rw-r-- 1 jenkins jenkins 882 Nov 8 03:03 Jenkinsfile 03:06:52 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 03:03 LICENSE 03:06:52 -rw-rw-r-- 1 jenkins jenkins 2424 Nov 8 03:03 Makefile 03:06:52 -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 03:03 OWNERS.md 03:06:52 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 8 03:03 README.md 03:06:52 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 03:03 VERSION 03:06:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:03 bin 03:06:52 -rw-r--r-- 1 jenkins jenkins 468089 Nov 8 03:06 coverage.out 03:06:52 drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 03:03 example 03:06:52 -rw-rw-r-- 1 jenkins jenkins 6278 Nov 8 03:03 go.mod 03:06:52 -rw-rw-r-- 1 jenkins jenkins 87873 Nov 8 03:03 go.sum 03:06:52 drwxrwxr-x 13 jenkins jenkins 4096 Nov 8 03:03 internal 03:06:52 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:03 openapi 03:06:52 drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 03:03 pkg 03:06:52 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:03 snap 03:06:52 -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 03:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:06:52 + 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=2b424e540a2c3b8f091c6d5734c04c5071b69322 --label arch=amd64 --label version=0.0.0 . 03:06:52 Sending build context to Docker daemon 26.07MB 03:06:52 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 03:06:52 Step 2/24 : FROM ${BASE} AS builder 03:06:52 ---> 7c563644317f 03:06:52 Step 3/24 : ARG MAKE=make build 03:06:53 ---> Running in ad2b79a3b05d 03:06:54 Removing intermediate container ad2b79a3b05d 03:06:54 ---> 11831643e2a9 03:06:54 Step 4/24 : WORKDIR /device-sdk-go 03:06:54 ---> Running in e2d6c00e7298 03:06:54 Removing intermediate container e2d6c00e7298 03:06:54 ---> 3c569041e10f 03:06:54 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:06:54 ---> Running in 4097d818f6d6 03:06:54 Removing intermediate container 4097d818f6d6 03:06:54 ---> b31cd51319b0 03:06:54 Step 6/24 : RUN apk add --update --no-cache make git 03:06:54 ---> Running in 36f1aa7bbdf7 03:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:06:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:06:54 OK: 246 MiB in 54 packages 03:06:55 Removing intermediate container 36f1aa7bbdf7 03:06:55 ---> 011c3d6a5b2a 03:06:55 Step 7/24 : COPY go.mod vendor* ./ 03:06:55 ---> e97bc37ce6b9 03:06:55 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:06:55 ---> Running in 2c999563fa9a 03:06:55 Removing intermediate container 2c999563fa9a 03:06:55 ---> 3667af448ec8 03:06:55 Step 9/24 : COPY . . 03:06:57 ---> 3ef5391e43df 03:06:57 Step 10/24 : RUN ${MAKE} 03:06:57 ---> Running in 8c52ea26d65a 03:06:57 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:07:44 Removing intermediate container 8c52ea26d65a 03:07:44 ---> 214a29786374 03:07:44 Step 11/24 : FROM alpine:3.20 03:07:44 3.20: Pulling from library/alpine 03:07:44 43c4264eed91: Already exists 03:07:44 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 03:07:44 Status: Downloaded newer image for alpine:3.20 03:07:44 ---> 91ef0af61f39 03:07:44 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:07:44 ---> Running in c596c79ffc61 03:07:44 Removing intermediate container c596c79ffc61 03:07:44 ---> 826e11e5339c 03:07:44 Step 13/24 : RUN apk add --update --no-cache dumb-init 03:07:44 ---> Running in 14988f40b169 03:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:07:44 (1/1) Installing dumb-init (1.2.5-r3) 03:07:44 Executing busybox-1.36.1-r29.trigger 03:07:44 OK: 8 MiB in 15 packages 03:07:44 Removing intermediate container 14988f40b169 03:07:44 ---> 16f4d15a257e 03:07:44 Step 14/24 : RUN apk --no-cache upgrade 03:07:44 ---> Running in 5f6854605209 03:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:07:44 Upgrading critical system libraries and apk-tools: 03:07:44 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:07:44 Executing busybox-1.36.1-r29.trigger 03:07:44 Continuing the upgrade transaction with new apk-tools: 03:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 03:07:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 03:07:45 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 03:07:45 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 03:07:45 OK: 8 MiB in 15 packages 03:07:47 Removing intermediate container 5f6854605209 03:07:47 ---> 2540c1faf1f4 03:07:47 Step 15/24 : WORKDIR / 03:07:47 ---> Running in 35fcba56ff00 03:07:47 Removing intermediate container 35fcba56ff00 03:07:47 ---> 9a2e37fb180e 03:07:47 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:07:48 ---> 9fc4962a2261 03:07:48 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:07:51 ---> 8bfe2b15378a 03:07:51 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:07:51 ---> d61115ce86d3 03:07:51 Step 19/24 : EXPOSE 59999 03:07:51 ---> Running in cbfae364c98f 03:07:51 Removing intermediate container cbfae364c98f 03:07:51 ---> 1a2c01769512 03:07:51 Step 20/24 : ENTRYPOINT ["/device-simple"] 03:07:51 ---> Running in 215837d974cb 03:07:51 Removing intermediate container 215837d974cb 03:07:51 ---> 748e3b590cb2 03:07:51 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:07:51 ---> Running in 9221373ed158 03:07:51 Removing intermediate container 9221373ed158 03:07:51 ---> 9693ccc2575e 03:07:51 Step 22/24 : LABEL arch=amd64 03:07:51 ---> Running in ebfacc52488f 03:07:51 Removing intermediate container ebfacc52488f 03:07:51 ---> 9b6a82463b22 03:07:51 Step 23/24 : LABEL git_sha=2b424e540a2c3b8f091c6d5734c04c5071b69322 03:07:51 ---> Running in 8b326b26abc1 03:07:51 Removing intermediate container 8b326b26abc1 03:07:51 ---> 872555bfcebb 03:07:51 Step 24/24 : LABEL version=0.0.0 03:07:51 ---> Running in 96c9277e3a81 03:07:51 Removing intermediate container 96c9277e3a81 03:07:51 ---> 2f7e851068cd 03:07:51 [Warning] One or more build-args [ARCH] were not consumed 03:07:51 Successfully built 2f7e851068cd 03:07:51 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 03:07:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:07:52 03:07:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:07:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:07:52 latest: Pulling from edgex-lftools-log-publisher 03:07:52 5eb5b503b376: Pulling fs layer 03:07:52 5c69ac0246d0: Pulling fs layer 03:07:52 ec43610c2a17: Pulling fs layer 03:07:52 3a2ae6a8a46f: Pulling fs layer 03:07:52 33b1e0a273af: Pulling fs layer 03:07:52 5d3b04190fa2: Pulling fs layer 03:07:52 2f39f015ded8: Pulling fs layer 03:07:52 33b1e0a273af: Waiting 03:07:52 3a2ae6a8a46f: Waiting 03:07:52 5d3b04190fa2: Waiting 03:07:52 2f39f015ded8: Waiting 03:07:52 5c69ac0246d0: Verifying Checksum 03:07:52 5c69ac0246d0: Download complete 03:07:52 3a2ae6a8a46f: Verifying Checksum 03:07:52 3a2ae6a8a46f: Download complete 03:07:52 33b1e0a273af: Verifying Checksum 03:07:52 33b1e0a273af: Download complete 03:07:52 5d3b04190fa2: Verifying Checksum 03:07:52 5d3b04190fa2: Download complete 03:07:52 ec43610c2a17: Download complete 03:07:53 5eb5b503b376: Verifying Checksum 03:07:53 5eb5b503b376: Download complete 03:07:53 2f39f015ded8: Verifying Checksum 03:07:53 2f39f015ded8: Download complete 03:07:54 5eb5b503b376: Pull complete 03:07:54 5c69ac0246d0: Pull complete 03:07:55 ec43610c2a17: Pull complete 03:07:55 3a2ae6a8a46f: Pull complete 03:07:55 33b1e0a273af: Pull complete 03:07:56 5d3b04190fa2: Pull complete 03:08:01 2f39f015ded8: Pull complete 03:08:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:08:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:08:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:08:01 prd-ubuntu20.04-docker-8c-8g-24977 does not seem to be running inside a container 03:08:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1646 -v /w/workspace/gexfoundry_device-sdk-go_PR-1646:/w/workspace/gexfoundry_device-sdk-go_PR-1646:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1646@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:08:14 $ docker top df8ce12df83b0cfa3488baad8a0d1e73c5422afba6b656fb1c4cb46efe2eff10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:08:15 ---> job-cost.sh 03:08:15 lf-activate-venv: SKIPPING 03:08:15 INFO: No Stack... 03:08:15 INFO: Retrieving Pricing Info for: v3-standard-8 03:08:15 INFO: Archiving Costs [Pipeline] sh 03:08:16 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives/cost.csv 03:08:16 + cut -d, -f6 [Pipeline] lock 03:08:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] 03:08:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] did not exist. Created. 03:08:16 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:08:16 + echo total: 0.2199999988079071 [Pipeline] stash 03:08:16 Stashed 1 file(s) [Pipeline] } 03:08:16 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:08:16 $ docker stop --time=1 df8ce12df83b0cfa3488baad8a0d1e73c5422afba6b656fb1c4cb46efe2eff10 03:08:17 $ docker rm -f --volumes df8ce12df83b0cfa3488baad8a0d1e73c5422afba6b656fb1c4cb46efe2eff10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:23:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-25689 in /w/workspace/gexfoundry_device-sdk-go_PR-1646 [Pipeline] { [Pipeline] ws 03:23:58 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 03:24:01 The recommended git tool is: git 03:24:09 using credential edgex-jenkins-ssh 03:24:09 Cloning the remote Git repository 03:24:09 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:24:09 > git init /w/workspace/device-sdk-go/2 # timeout=10 03:24:09 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:24:09 > git --version # timeout=10 03:24:09 > git --version # 'git version 2.25.1' 03:24:09 using GIT_SSH to set credentials SSH Credentials for GitHub 03:24:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:24:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:24:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:24:16 Merging remotes/origin/main commit a2adfdc09e477498866130aea83da6ea448c3108 into PR head commit 2b424e540a2c3b8f091c6d5734c04c5071b69322 03:24:15 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:24:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:24:15 using GIT_SSH to set credentials SSH Credentials for GitHub 03:24:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1646/head:refs/remotes/origin/PR-1646 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:24:16 > git config core.sparsecheckout # timeout=10 03:24:16 > git checkout -f 2b424e540a2c3b8f091c6d5734c04c5071b69322 # timeout=10 03:24:16 > git remote # timeout=10 03:24:16 > git config --get remote.origin.url # timeout=10 03:24:16 using GIT_SSH to set credentials SSH Credentials for GitHub 03:24:16 Merge succeeded, producing 2b424e540a2c3b8f091c6d5734c04c5071b69322 03:24:16 Checking out Revision 2b424e540a2c3b8f091c6d5734c04c5071b69322 (PR-1646) 03:24:16 > git merge a2adfdc09e477498866130aea83da6ea448c3108 # timeout=10 03:24:16 > git rev-parse HEAD^{commit} # timeout=10 03:24:16 > git config core.sparsecheckout # timeout=10 03:24:16 > git checkout -f 2b424e540a2c3b8f091c6d5734c04c5071b69322 # timeout=10 03:24:20 Commit message: "fix: Only one ldflags flag is allowed" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:24:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:24:22 % Total % Received % Xferd Average Speed Time Time Time Current 03:24:22 Dload Upload Total Spent Left Speed 03:24:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 189k 0 --:--:-- --:--:-- --:--:-- 189k [Pipeline] sh 03:24:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:24:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:24:23 + sudo tee /etc/docker/daemon.new 03:24:23 { 03:24:23 "registry-mirrors": [ 03:24:23 "https://nexus3.edgexfoundry.org:10001" 03:24:23 ], 03:24:23 "bip": "10.250.0.254/24", 03:24:23 "hosts": [ 03:24:23 "tcp://0.0.0.0:5555", 03:24:23 "unix:///var/run/docker.sock" 03:24:23 ], 03:24:23 "mtu": 1458, 03:24:23 "selinux-enabled": true, 03:24:23 "seccomp-profile": "/etc/docker/seccomp.json" 03:24:23 } [Pipeline] sh 03:24:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:24:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:24:42 provisioning config files... 03:24:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config18272873935687534258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:24:43 ---> ****-login.sh 03:24:43 nexus3.edgexfoundry.org:10001 03:24:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:43 Configure a credential helper to remove this warning. See 03:24:43 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:43 03:24:43 Login Succeeded 03:24:43 nexus3.edgexfoundry.org:10002 03:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:44 Configure a credential helper to remove this warning. See 03:24:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:44 03:24:44 Login Succeeded 03:24:44 nexus3.edgexfoundry.org:10003 03:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:44 Configure a credential helper to remove this warning. See 03:24:44 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:44 03:24:44 Login Succeeded 03:24:44 nexus3.edgexfoundry.org:10004 03:24:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:45 Configure a credential helper to remove this warning. See 03:24:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:45 03:24:45 Login Succeeded 03:24:45 ****.io 03:24:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:24:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:24:45 Configure a credential helper to remove this warning. See 03:24:45 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:24:45 03:24:45 Login Succeeded 03:24:45 ---> ****-login.sh ends [Pipeline] } 03:24:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:24:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:24:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:24:46 ========================================================= 03:24:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 03:24:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:46 + 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.23-alpine --build-arg MAKE=echo noop --target=builder . 03:24:47 Sending build context to Docker daemon 13.26MB 03:24:47 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 03:24:47 Step 2/10 : FROM ${BASE} AS builder 03:24:47 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:24:47 cf04c63912e1: Pulling fs layer 03:24:47 55b35a11ae5e: Pulling fs layer 03:24:47 a37a00ec5f00: Pulling fs layer 03:24:47 50b3750afda1: Pulling fs layer 03:24:47 4f4fb700ef54: Pulling fs layer 03:24:47 80978eb59214: Pulling fs layer 03:24:47 c9f46d7d2bd2: Pulling fs layer 03:24:47 c5a475d317c9: Pulling fs layer 03:24:47 c9f46d7d2bd2: Waiting 03:24:47 80978eb59214: Waiting 03:24:47 4f4fb700ef54: Waiting 03:24:47 c5a475d317c9: Waiting 03:24:47 55b35a11ae5e: Verifying Checksum 03:24:47 55b35a11ae5e: Download complete 03:24:47 50b3750afda1: Verifying Checksum 03:24:47 50b3750afda1: Download complete 03:24:47 4f4fb700ef54: Verifying Checksum 03:24:47 4f4fb700ef54: Download complete 03:24:47 80978eb59214: Download complete 03:24:47 cf04c63912e1: Verifying Checksum 03:24:47 cf04c63912e1: Download complete 03:24:47 c5a475d317c9: Verifying Checksum 03:24:47 c5a475d317c9: Download complete 03:24:48 cf04c63912e1: Pull complete 03:24:49 55b35a11ae5e: Pull complete 03:24:49 a37a00ec5f00: Verifying Checksum 03:24:49 a37a00ec5f00: Download complete 03:24:50 c9f46d7d2bd2: Verifying Checksum 03:24:50 c9f46d7d2bd2: Download complete 03:25:05 a37a00ec5f00: Pull complete 03:25:05 50b3750afda1: Pull complete 03:25:05 4f4fb700ef54: Pull complete 03:25:05 80978eb59214: Pull complete 03:25:13 c9f46d7d2bd2: Pull complete 03:25:15 c5a475d317c9: Pull complete 03:25:15 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 03:25:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 03:25:15 ---> be29e6b0f0d4 03:25:15 Step 3/10 : ARG MAKE=make build 03:25:16 ---> Running in a317a30cf5ee 03:25:17 Removing intermediate container a317a30cf5ee 03:25:17 ---> 640efa2e9f6a 03:25:17 Step 4/10 : WORKDIR /device-sdk-go 03:25:17 ---> Running in cddff5cba832 03:25:17 Removing intermediate container cddff5cba832 03:25:17 ---> 4c8f1420765f 03:25:17 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:25:17 ---> Running in 12600c5bd59c 03:25:18 Removing intermediate container 12600c5bd59c 03:25:18 ---> e4e33ae14c9b 03:25:18 Step 6/10 : RUN apk add --update --no-cache make git 03:25:18 ---> Running in 0747f5dcda85 03:25:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:25:22 OK: 238 MiB in 54 packages 03:25:23 Removing intermediate container 0747f5dcda85 03:25:23 ---> 02cd55b1f0e4 03:25:23 Step 7/10 : COPY go.mod vendor* ./ 03:25:23 ---> 946a99779f87 03:25:23 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:25:24 ---> Running in 270edfb629dd 03:27:31 Removing intermediate container 270edfb629dd 03:27:31 ---> 6724c7885284 03:27:31 Step 9/10 : COPY . . 03:27:31 ---> a1efffa4fc1c 03:27:31 Step 10/10 : RUN ${MAKE} 03:27:31 ---> Running in 9414579b5db6 03:27:31 noop 03:27:31 Removing intermediate container 9414579b5db6 03:27:31 ---> 854f3ac53740 03:27:31 Successfully built 854f3ac53740 03:27:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:31 + docker inspect -f . ci-base-image-arm64 03:27:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:31 prd-ubuntu20.04-docker-arm64-4c-16g-25689 does not seem to be running inside a container 03:27:31 $ 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 ******** -e ******** ci-base-image-arm64 cat 03:27:33 $ docker top 24f956b059d20bb5ccbc7dc60333c640c331079476587aa75fc30ee46696dac7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:34 + go version 03:27:34 go version go1.23.2 linux/arm64 [Pipeline] } 03:27:34 $ docker stop --time=1 24f956b059d20bb5ccbc7dc60333c640c331079476587aa75fc30ee46696dac7 03:27:35 $ docker rm -f --volumes 24f956b059d20bb5ccbc7dc60333c640c331079476587aa75fc30ee46696dac7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:27:36 + docker inspect -f . ci-base-image-arm64 03:27:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:27:36 prd-ubuntu20.04-docker-arm64-4c-16g-25689 does not seem to be running inside a container 03:27:36 $ 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 ******** -e ******** ci-base-image-arm64 cat 03:27:38 $ docker top b956f6839065efb34020e7a2172b911c8143cc411c87138ac93cb5446c253419 -eo pid,comm [Pipeline] { [Pipeline] sh 03:27:39 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 03:27:39 + make test 03:27:39 go test -race -coverprofile=coverage.out ./... 03:28:36 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 03:32:43 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 03:32:43 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 03:32:43 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 03:32:43 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 03:32:43 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 03:33:03 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.205s coverage: 28.7% of statements 03:33:05 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.203s coverage: 79.4% of statements 03:33:17 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 03:33:17 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 03:33:18 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.333s coverage: 86.0% of statements 03:33:31 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 03:33:32 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.620s coverage: 45.2% of statements 03:33:35 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.307s coverage: 14.1% of statements 03:33:35 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 4.307s coverage: 44.6% of statements 03:33:39 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 03:33:39 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 03:33:39 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 03:33:41 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.434s coverage: 68.4% of statements 03:33:47 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.407s coverage: 88.3% of statements 03:33:53 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 03:33:53 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.330s coverage: 5.3% of statements 03:33:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:33:55 GO111MODULE=on go vet ./... 03:38:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:38:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:38:47 ./bin/test-attribution-txt.sh [Pipeline] echo 03:38:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:38:47 $ docker stop --time=1 b956f6839065efb34020e7a2172b911c8143cc411c87138ac93cb5446c253419 03:38:50 $ docker rm -f --volumes b956f6839065efb34020e7a2172b911c8143cc411c87138ac93cb5446c253419 [Pipeline] // withDockerContainer [Pipeline] sh 03:38:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:38:53 Warning: overwriting stash ‘coverage-report’ 03:38:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:38:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:38:55 + ls -al . 03:38:55 total 700 03:38:55 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 03:27 . 03:38:55 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:24 .. 03:38:55 -rw-rw-r-- 1 jenkins jenkins 140 Nov 8 03:24 .dockerignore 03:38:55 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 03:24 .git 03:38:55 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 03:24 .github 03:38:55 -rw-rw-r-- 1 jenkins jenkins 137 Nov 8 03:24 .gitignore 03:38:55 -rw-rw-r-- 1 jenkins jenkins 199 Nov 8 03:24 .golangci.yml 03:38:55 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 8 03:24 CHANGELOG.md 03:38:55 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 03:24 GOVERNANCE.md 03:38:55 -rw-rw-r-- 1 jenkins jenkins 882 Nov 8 03:24 Jenkinsfile 03:38:55 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 8 03:24 LICENSE 03:38:55 -rw-rw-r-- 1 jenkins jenkins 2424 Nov 8 03:24 Makefile 03:38:55 -rw-rw-r-- 1 jenkins jenkins 619 Nov 8 03:24 OWNERS.md 03:38:55 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 8 03:24 README.md 03:38:55 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 03:03 VERSION 03:38:55 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:24 bin 03:38:55 -rw-r--r-- 1 jenkins jenkins 468087 Nov 8 03:33 coverage.out 03:38:55 drwxrwxr-x 5 jenkins jenkins 4096 Nov 8 03:24 example 03:38:55 -rw-rw-r-- 1 jenkins jenkins 6278 Nov 8 03:24 go.mod 03:38:55 -rw-rw-r-- 1 jenkins jenkins 87873 Nov 8 03:24 go.sum 03:38:55 drwxrwxr-x 13 jenkins jenkins 4096 Nov 8 03:24 internal 03:38:55 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 03:24 openapi 03:38:55 drwxrwxr-x 6 jenkins jenkins 4096 Nov 8 03:24 pkg 03:38:55 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 03:24 snap 03:38:55 -rw-rw-r-- 1 jenkins jenkins 222 Nov 8 03:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:38:55 + 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=2b424e540a2c3b8f091c6d5734c04c5071b69322 --label arch=arm64 --label version=0.0.0 . 03:38:56 Sending build context to Docker daemon 13.73MB 03:38:56 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 03:38:56 Step 2/24 : FROM ${BASE} AS builder 03:38:56 ---> 854f3ac53740 03:38:56 Step 3/24 : ARG MAKE=make build 03:38:56 ---> Running in dacd2b859c2f 03:38:56 Removing intermediate container dacd2b859c2f 03:38:56 ---> 44be8a9b75bd 03:38:56 Step 4/24 : WORKDIR /device-sdk-go 03:38:56 ---> Running in 5cade49a3c00 03:38:57 Removing intermediate container 5cade49a3c00 03:38:57 ---> 660c2ecbadba 03:38:57 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:38:57 ---> Running in e1735b01ee03 03:38:57 Removing intermediate container e1735b01ee03 03:38:57 ---> f76389aa5675 03:38:57 Step 6/24 : RUN apk add --update --no-cache make git 03:38:57 ---> Running in 6db91e50f2e4 03:38:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:38:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:39:00 OK: 238 MiB in 54 packages 03:39:02 Removing intermediate container 6db91e50f2e4 03:39:02 ---> 11386a7fbf8c 03:39:02 Step 7/24 : COPY go.mod vendor* ./ 03:39:02 ---> 2663e7e07549 03:39:02 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:39:02 ---> Running in b858aae7cee8 03:39:06 Removing intermediate container b858aae7cee8 03:39:06 ---> b8263925fe58 03:39:06 Step 9/24 : COPY . . 03:39:07 ---> 589763a1156a 03:39:07 Step 10/24 : RUN ${MAKE} 03:39:07 ---> Running in 175034f385dd 03:39:09 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:43:33 Removing intermediate container 175034f385dd 03:43:33 ---> a163d5148f7a 03:43:33 Step 11/24 : FROM alpine:3.20 03:43:33 3.20: Pulling from library/alpine 03:43:33 cf04c63912e1: Already exists 03:43:33 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 03:43:33 Status: Downloaded newer image for alpine:3.20 03:43:33 ---> c157a85ed455 03:43:33 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 03:43:33 ---> Running in 9bf6af9c185d 03:43:33 Removing intermediate container 9bf6af9c185d 03:43:33 ---> 584ffa67d910 03:43:33 Step 13/24 : RUN apk add --update --no-cache dumb-init 03:43:33 ---> Running in 2d5c8340ce27 03:43:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:43:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:43:33 (1/1) Installing dumb-init (1.2.5-r3) 03:43:33 Executing busybox-1.36.1-r29.trigger 03:43:33 OK: 9 MiB in 15 packages 03:43:35 Removing intermediate container 2d5c8340ce27 03:43:35 ---> 4691c4e324c6 03:43:35 Step 14/24 : RUN apk --no-cache upgrade 03:43:35 ---> Running in df493079cfc7 03:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:43:39 Upgrading critical system libraries and apk-tools: 03:43:39 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 03:43:39 Executing busybox-1.36.1-r29.trigger 03:43:39 Continuing the upgrade transaction with new apk-tools: 03:43:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 03:43:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 03:43:42 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 03:43:42 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 03:43:42 OK: 9 MiB in 15 packages 03:43:43 Removing intermediate container df493079cfc7 03:43:43 ---> c8433e5a4e17 03:43:43 Step 15/24 : WORKDIR / 03:43:43 ---> Running in 7e3f7daa7f57 03:43:44 Removing intermediate container 7e3f7daa7f57 03:43:44 ---> b9c793bc252c 03:43:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:43:45 ---> d30a8355b904 03:43:45 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:43:47 ---> f769e8158943 03:43:47 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:43:48 ---> bb1958ab4703 03:43:48 Step 19/24 : EXPOSE 59999 03:43:48 ---> Running in 2b797b92631c 03:43:48 Removing intermediate container 2b797b92631c 03:43:48 ---> 13fb31eb08d7 03:43:48 Step 20/24 : ENTRYPOINT ["/device-simple"] 03:43:48 ---> Running in 09c34b038394 03:43:49 Removing intermediate container 09c34b038394 03:43:49 ---> 3364dd8a3a21 03:43:49 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 03:43:49 ---> Running in db3bd9b10a69 03:43:49 Removing intermediate container db3bd9b10a69 03:43:49 ---> 9b71c49bc022 03:43:49 Step 22/24 : LABEL arch=arm64 03:43:49 ---> Running in c6ca542a5d70 03:43:50 Removing intermediate container c6ca542a5d70 03:43:50 ---> aa4eee6b74a3 03:43:50 Step 23/24 : LABEL git_sha=2b424e540a2c3b8f091c6d5734c04c5071b69322 03:43:50 ---> Running in 7d80da12d1d4 03:43:50 Removing intermediate container 7d80da12d1d4 03:43:50 ---> 2310888d97d2 03:43:50 Step 24/24 : LABEL version=0.0.0 03:43:50 ---> Running in 9e026bedf801 03:43:51 Removing intermediate container 9e026bedf801 03:43:51 ---> 1f611fe59685 03:43:51 [Warning] One or more build-args [ARCH] were not consumed 03:43:51 Successfully built 1f611fe59685 03:43:51 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 03:43:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:43:51 03:43:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:43:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:43:52 arm64: Pulling from edgex-lftools-log-publisher 03:43:52 8998bd30e6a1: Pulling fs layer 03:43:52 04944245beec: Pulling fs layer 03:43:52 699f458cf7ca: Pulling fs layer 03:43:52 765212b225bb: Pulling fs layer 03:43:52 f23df028b6ca: Pulling fs layer 03:43:52 d65c8cfc05b1: Pulling fs layer 03:43:52 2437ff75d9bd: Pulling fs layer 03:43:52 f23df028b6ca: Waiting 03:43:52 d65c8cfc05b1: Waiting 03:43:52 2437ff75d9bd: Waiting 03:43:52 765212b225bb: Waiting 03:43:52 04944245beec: Verifying Checksum 03:43:52 04944245beec: Download complete 03:43:52 765212b225bb: Verifying Checksum 03:43:52 765212b225bb: Download complete 03:43:52 f23df028b6ca: Verifying Checksum 03:43:52 f23df028b6ca: Download complete 03:43:52 d65c8cfc05b1: Verifying Checksum 03:43:52 d65c8cfc05b1: Download complete 03:43:52 699f458cf7ca: Verifying Checksum 03:43:52 699f458cf7ca: Download complete 03:43:53 8998bd30e6a1: Verifying Checksum 03:43:53 8998bd30e6a1: Download complete 03:43:56 2437ff75d9bd: Verifying Checksum 03:43:58 8998bd30e6a1: Pull complete 03:43:59 04944245beec: Pull complete 03:44:01 699f458cf7ca: Pull complete 03:44:01 765212b225bb: Pull complete 03:44:02 f23df028b6ca: Pull complete 03:44:02 d65c8cfc05b1: Pull complete 03:44:20 2437ff75d9bd: Pull complete 03:44:20 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:44:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:44:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:21 prd-ubuntu20.04-docker-arm64-4c-16g-25689 does not seem to be running inside a container 03:44:21 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:44:24 $ docker top d0eae28251138c047e069c0db4c93dd48f77b8ae7cfa93181aa24ea45473cf21 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:44:25 ---> job-cost.sh 03:44:25 lf-activate-venv: SKIPPING 03:44:25 INFO: No Stack... 03:44:26 INFO: Retrieving Pricing Info for: v3-standard-4 03:44:26 INFO: Archiving Costs [Pipeline] sh 03:44:27 + cut+ -d, -f6 03:44:27 cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock 03:44:27 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] 03:44:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] did not exist. Created. 03:44:27 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:44:28 /w/workspace/device-sdk-go/2@tmp/durable-8a12e2bc/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:44:28 + echo total: 0.10999999940395355 [Pipeline] stash 03:44:28 Warning: overwriting stash ‘stack-cost’ 03:44:28 Stashed 1 file(s) [Pipeline] } 03:44:28 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-2-stack-cost] [Pipeline] // lock [Pipeline] } 03:44:28 $ docker stop --time=1 d0eae28251138c047e069c0db4c93dd48f77b8ae7cfa93181aa24ea45473cf21 03:44:30 $ docker rm -f --volumes d0eae28251138c047e069c0db4c93dd48f77b8ae7cfa93181aa24ea45473cf21 [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 03:44:31 provisioning config files... 03:44:31 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config10750095156892754989tmp [Pipeline] { [Pipeline] sh 03:44:31 + set +x 03:44:31 + bash -s -- 03:44:31 + curl -s https://codecov.io/bash 03:44:31 03:44:31 _____ _ 03:44:31 / ____| | | 03:44:31 | | ___ __| | ___ ___ _____ __ 03:44:31 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:44:31 | |___| (_) | (_| | __/ (_| (_) \ V / 03:44:31 \_____\___/ \__,_|\___|\___\___/ \_/ 03:44:31 Bash-1.0.6 03:44:31 03:44:31 03:44:31 ==> git version 2.25.1 found 03:44:31 ==> 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 03:44:31 Release-Date: 2020-01-08 03:44:31 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:44:31 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:44:31 ==> Jenkins CI detected. 03:44:31 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1646 03:44:31 project root: . 03:44:31 --> token set from env 03:44:31 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:44:31 ==> Running gcov in . (disable via -X gcov) 03:44:31 ==> Python coveragepy not found 03:44:31 ==> Searching for coverage reports in: 03:44:31 + . 03:44:31 -> Found 1 reports 03:44:31 ==> Detecting git/mercurial file structure 03:44:31 ==> Reading reports 03:44:31 + ./coverage.out bytes=468087 03:44:31 ==> Appending adjustments 03:44:31 https://docs.codecov.io/docs/fixing-reports 03:44:31 + Found adjustments 03:44:31 ==> Gzipping contents 03:44:31 44K /tmp/codecov.R6He5x.gz 03:44:31 ==> Uploading reports 03:44:31 url: https://codecov.io 03:44:31 query: branch=PR-1646&commit=2b424e540a2c3b8f091c6d5734c04c5071b69322&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1646%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1646&job=&cmd_args= 03:44:31 -> Pinging Codecov 03:44:31 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1646&commit=2b424e540a2c3b8f091c6d5734c04c5071b69322&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1646%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1646&job=&cmd_args= 03:44:32 -> Uploading to 03:44:32 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/2b424e540a2c3b8f091c6d5734c04c5071b69322/77dc3f71-950c-489c-beb2-dec35f4a54b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T034431Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5981aa1046fa086a8f22df2a3de040bb113c5be3990a7b1ec024295bdad8f630 03:44:32 % Total % Received % Xferd Average Speed Time Time Time Current 03:44:32 Dload Upload Total Spent Left Speed 03:44:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44819 0 0 100 44819 0 184k --:--:-- --:--:-- --:--:-- 184k 03:44:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/2b424e540a2c3b8f091c6d5734c04c5071b69322 [Pipeline] } 03:44:32 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 03:44:33 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives ] 03:44:33 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives 03:44:33 total 16 03:44:33 drwxr-xr-x 3 root root 4096 Nov 8 03:08 . 03:44:33 drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 03:08 .. 03:44:33 drwxr-xr-x 2 root root 4096 Nov 8 03:08 cost 03:44:33 -rw-r--r-- 1 root root 86 Nov 8 03:08 cost.csv 03:44:33 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives 03:44:33 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives 03:44:33 total 16 03:44:33 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 03:08 . 03:44:33 drwxrwxr-x 12 jenkins jenkins 4096 Nov 8 03:08 .. 03:44:33 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 03:08 cost 03:44:33 -rw-r--r-- 1 jenkins jenkins 86 Nov 8 03:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:44:33 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:44:34 ---> package-listing.sh 03:44:34 ++ facter osfamily 03:44:34 ++ tr '[:upper:]' '[:lower:]' 03:44:34 + OS_FAMILY=debian 03:44:34 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1646 03:44:34 + START_PACKAGES=/tmp/packages_start.txt 03:44:34 + END_PACKAGES=/tmp/packages_end.txt 03:44:34 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:44:34 + PACKAGES=/tmp/packages_start.txt 03:44:34 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1646 ']' 03:44:34 + PACKAGES=/tmp/packages_end.txt 03:44:34 + case "${OS_FAMILY}" in 03:44:34 + dpkg -l 03:44:34 + grep '^ii' 03:44:34 + '[' -f /tmp/packages_start.txt ']' 03:44:34 + '[' -f /tmp/packages_end.txt ']' 03:44:34 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:44:34 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1646 ']' 03:44:34 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives/ 03:44:34 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives/ [Pipeline] echo 03:44:34 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-1646/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:44:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:44:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:44:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:44:35 prd-ubuntu20.04-docker-8c-8g-24977 does not seem to be running inside a container 03:44:35 $ 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-1646/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-1646 -v /w/workspace/gexfoundry_device-sdk-go_PR-1646:/w/workspace/gexfoundry_device-sdk-go_PR-1646:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1646@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 03:44:35 $ docker top 2fe84fc88c7533f4d802d23a365c59d2cb5fc5aedaf0cfbc5efdd19ccbef4085 -eo pid,comm [Pipeline] { [Pipeline] sh 03:44:36 + touch /tmp/pre-build-complete [Pipeline] sh 03:44:36 + mkdir -p /var/log/sysstat [Pipeline] sh 03:44:36 + ls /var/log/sa-host 03:44:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:44:36 provisioning config files... 03:44:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config169366590983772072tmp [Pipeline] { [Pipeline] echo 03:44:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:44:37 ---> create-netrc.sh [Pipeline] } 03:44:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:44:37 ---> python-tools-install.sh [Pipeline] echo 03:44:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:44:37 ---> sudo-logs.sh 03:44:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:44:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:44:38 ---> job-cost.sh 03:44:38 lf-activate-venv: SKIPPING 03:44:38 DEBUG: total: 0.2199999988079071 03:44:38 INFO: Retrieving Stack Cost... 03:44:38 INFO: Retrieving Pricing Info for: v3-standard-8 03:44:38 INFO: Archiving Costs [Pipeline] echo 03:44:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:44:38 ---> logs-deploy.sh 03:44:38 lf-activate-venv: SKIPPING 03:44:38 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1646/2 03:44:38 INFO: archiving workspace using pattern(s): 03:44:39 Archives upload complete. 03:44:40 INFO: archiving logs to Nexus