Pull request #1646 opened 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 dc59e9afc29978e7eceeb0d9af4d105f7aafa06c+a2adfdc09e477498866130aea83da6ea448c3108 (1c9de1f19ded6c4f6a2e5f8ade265ba258e9ddfa) 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-ssh14627760155873611003.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-ssh11687702383398189705.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1646/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-ssh5625675052578509651.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-ssh9023815974039641332.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh18210010351537709690.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1646/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-ssh5169818695245712782.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-24748 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 Merging remotes/origin/main commit a2adfdc09e477498866130aea83da6ea448c3108 into PR head commit dc59e9afc29978e7eceeb0d9af4d105f7aafa06c Merge succeeded, producing dc59e9afc29978e7eceeb0d9af4d105f7aafa06c Checking out Revision dc59e9afc29978e7eceeb0d9af4d105f7aafa06c (PR-1646) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/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 dc59e9afc29978e7eceeb0d9af4d105f7aafa06c # 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 dc59e9afc29978e7eceeb0d9af4d105f7aafa06c # timeout=10 Commit message: "fix: Only one ldflags flag is allowed" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 09:25:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 09:25:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 09:25:42 ========================================================= 09:25:42 EdgeX Global Pipelines Version Info 09:25:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 09:25:43 ------------------- 09:25:43 stable info: 09:25:43 ------------------- 09:25:43 Commited By: Ginny Guan ginny@iotechsys.com 09:25:43 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 09:25:43 Message: update stable to v1.0.265 09:25:43 ------------------- 09:25:43 experimental info: 09:25:43 ------------------- 09:25:43 Commited By: Cherry Wang cherry@iotechsys.com 09:25:43 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 09:25:43 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 09:25:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 09:25:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 09:25:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1646 [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1646 [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1646 [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = dc59e9a [Pipeline] echo 09:25:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:25:45 provisioning config files... 09:25:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config16967394002196797210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:25:46 ---> ****-login.sh 09:25:46 nexus3.edgexfoundry.org:10001 09:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:46 Configure a credential helper to remove this warning. See 09:25:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:46 09:25:46 Login Succeeded 09:25:46 nexus3.edgexfoundry.org:10002 09:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:46 Configure a credential helper to remove this warning. See 09:25:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:46 09:25:46 Login Succeeded 09:25:46 nexus3.edgexfoundry.org:10003 09:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:46 Configure a credential helper to remove this warning. See 09:25:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:46 09:25:46 Login Succeeded 09:25:46 nexus3.edgexfoundry.org:10004 09:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:46 Configure a credential helper to remove this warning. See 09:25:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:46 09:25:46 Login Succeeded 09:25:46 ****.io 09:25:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:25:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:25:47 Configure a credential helper to remove this warning. See 09:25:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:25:47 09:25:47 Login Succeeded 09:25:47 ---> ****-login.sh ends [Pipeline] } 09:25:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 09:25:47 + git rev-list -1 --merges dc59e9afc29978e7eceeb0d9af4d105f7aafa06c~1..dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [Pipeline] echo 09:25:47 -----------> git rev-list -1 --merges dc59e9afc29978e7eceeb0d9af4d105f7aafa06c~1..dc59e9afc29978e7eceeb0d9af4d105f7aafa06c dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [false] [Pipeline] sh 09:25:48 + git log --format=format:%s -1 dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [Pipeline] echo 09:25:48 ========================================================= 09:25:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 09:25:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:25:48 + git log --format=format:%s -1 dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [Pipeline] echo 09:25:48 [semverPrep] GIT_COMMIT: dc59e9afc29978e7eceeb0d9af4d105f7aafa06c, Commit Message: fix: Only one ldflags flag is allowed [Pipeline] echo 09:25:48 [semverPrep] This is not a build commit. [Pipeline] sh 09:25:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 09:25:49 + grep -v github /etc/ssh/ssh_known_hosts 09:25:49 + [ -e /tmp/ssh_known_hosts ] 09:25:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 09:25:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 09:25:49 + sudo tee -a /etc/ssh/ssh_known_hosts 09:25:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:25:49 09:25:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:25:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:25:50 0.1.4: Pulling from edgex-devops/py-git-semver 09:25:50 b85a868b505f: Pulling fs layer 09:25:50 e2be974225ed: Pulling fs layer 09:25:50 339a4e72a1f5: Pulling fs layer 09:25:50 988bab9f4d93: Pulling fs layer 09:25:50 1469e6f7b9e6: Pulling fs layer 09:25:50 eaf3925da568: Pulling fs layer 09:25:50 bab4dde63d76: Pulling fs layer 09:25:50 bde34c3a00c8: Pulling fs layer 09:25:50 b352a97aabf1: Pulling fs layer 09:25:50 4872d77fe225: Pulling fs layer 09:25:50 5851b861e8e6: Pulling fs layer 09:25:50 bab4dde63d76: Waiting 09:25:50 bde34c3a00c8: Waiting 09:25:50 4872d77fe225: Waiting 09:25:50 5851b861e8e6: Waiting 09:25:50 988bab9f4d93: Waiting 09:25:50 1469e6f7b9e6: Waiting 09:25:50 eaf3925da568: Waiting 09:25:50 e2be974225ed: Verifying Checksum 09:25:50 e2be974225ed: Download complete 09:25:50 988bab9f4d93: Download complete 09:25:50 1469e6f7b9e6: Verifying Checksum 09:25:50 1469e6f7b9e6: Download complete 09:25:50 339a4e72a1f5: Verifying Checksum 09:25:50 339a4e72a1f5: Download complete 09:25:50 eaf3925da568: Verifying Checksum 09:25:50 eaf3925da568: Download complete 09:25:50 bde34c3a00c8: Verifying Checksum 09:25:50 bde34c3a00c8: Download complete 09:25:50 b352a97aabf1: Verifying Checksum 09:25:50 b352a97aabf1: Download complete 09:25:50 4872d77fe225: Verifying Checksum 09:25:50 4872d77fe225: Download complete 09:25:50 5851b861e8e6: Verifying Checksum 09:25:50 5851b861e8e6: Download complete 09:25:50 b85a868b505f: Verifying Checksum 09:25:50 b85a868b505f: Download complete 09:25:50 bab4dde63d76: Verifying Checksum 09:25:50 bab4dde63d76: Download complete 09:25:51 b85a868b505f: Pull complete 09:25:51 e2be974225ed: Pull complete 09:25:51 339a4e72a1f5: Pull complete 09:25:52 988bab9f4d93: Pull complete 09:25:52 1469e6f7b9e6: Pull complete 09:25:52 eaf3925da568: Pull complete 09:25:54 bab4dde63d76: Pull complete 09:25:54 bde34c3a00c8: Pull complete 09:25:54 b352a97aabf1: Pull complete 09:25:54 4872d77fe225: Pull complete 09:25:54 5851b861e8e6: Pull complete 09:25:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 09:25:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 09:25:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:25:54 prd-ubuntu20.04-docker-8c-8g-24748 does not seem to be running inside a container 09:25:54 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 09:25:59 $ docker top 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f -eo pid,comm 09:25:59 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). 09:25:59 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 09:25:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:25:59 [ssh-agent] Looking for ssh-agent implementation... 09:25:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:25:59 $ docker exec 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f ssh-agent 09:25:59 SSH_AUTH_SOCK=/tmp/ssh-1Cu3EYbn4eR8/agent.31 09:25:59 SSH_AGENT_PID=37 09:25:59 Running ssh-add (command line suppressed) 09:25:59 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_15130926834404547817.key (/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_15130926834404547817.key) 09:25:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:26:00 + git tag --points-at HEAD [Pipeline] } 09:26:00 $ docker exec --env ******** --env ******** 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f ssh-agent -k 09:26:00 unset SSH_AUTH_SOCK; 09:26:00 unset SSH_AGENT_PID; 09:26:00 echo Agent pid 37 killed; 09:26:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 09:26:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 09:26:00 [ssh-agent] Looking for ssh-agent implementation... 09:26:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 09:26:00 $ docker exec 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f ssh-agent 09:26:00 SSH_AUTH_SOCK=/tmp/ssh-Oa4pbEiiRMUy/agent.70 09:26:00 SSH_AGENT_PID=76 09:26:00 Running ssh-add (command line suppressed) 09:26:00 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_8546097271612544058.key (/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/private_key_8546097271612544058.key) 09:26:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 09:26:01 + git semver init 09:26:01 2024-11-07 09:26:01,374 [run_init] DEBUG init version:0.0.0 force:False 09:26:01 2024-11-07 09:26:01,375 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver 09:26:01 2024-11-07 09:26:01,375 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver 09:26:01 2024-11-07 09:26:01,375 [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) 09:26:03 2024-11-07 09:26:03,388 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.git/info/exclude 09:26:03 2024-11-07 09:26:03,388 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver/PR-1646 with force:False 09:26:03 2024-11-07 09:26:03,388 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver/PR-1646 09:26:03 2024-11-07 09:26:03,393 [execute] INFO git cat-file --batch-check 09:26:03 2024-11-07 09:26:03,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver, universal_newlines=False, shell=None, istream=) 09:26:03 2024-11-07 09:26:03,400 [execute] INFO git cat-file --batch 09:26:03 2024-11-07 09:26:03,401 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver, universal_newlines=False, shell=None, istream=) 09:26:03 2024-11-07 09:26:03,406 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1646/.semver/PR-1646 09:26:03 0.0.0 [Pipeline] } 09:26:03 $ docker exec --env ******** --env ******** 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f ssh-agent -k 09:26:04 unset SSH_AUTH_SOCK; 09:26:04 unset SSH_AGENT_PID; 09:26:04 echo Agent pid 76 killed; 09:26:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 09:26:04 + git semver [Pipeline] } 09:26:04 $ docker stop --time=1 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f 09:26:06 $ docker rm -f --volumes 50a8954960a5da8da63147ae3d8ab439183a91e7199ac33045d8fd123b6a071f [Pipeline] // withDockerContainer [Pipeline] sh 09:26:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 09:26:06 Stashed 1 file(s) [Pipeline] echo 09:26:06 [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 09:26:07 provisioning config files... 09:26:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config17056623065900386694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:26:08 ---> ****-login.sh 09:26:08 nexus3.edgexfoundry.org:10001 09:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:26:08 Configure a credential helper to remove this warning. See 09:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:26:08 09:26:08 Login Succeeded 09:26:08 nexus3.edgexfoundry.org:10002 09:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:26:08 Configure a credential helper to remove this warning. See 09:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:26:08 09:26:08 Login Succeeded 09:26:08 nexus3.edgexfoundry.org:10003 09:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:26:08 Configure a credential helper to remove this warning. See 09:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:26:08 09:26:08 Login Succeeded 09:26:08 nexus3.edgexfoundry.org:10004 09:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:26:08 Configure a credential helper to remove this warning. See 09:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:26:08 09:26:08 Login Succeeded 09:26:08 ****.io 09:26:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:26:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:26:08 Configure a credential helper to remove this warning. See 09:26:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:26:08 09:26:08 Login Succeeded 09:26:08 ---> ****-login.sh ends [Pipeline] } 09:26:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:26:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:26:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:26:09 ========================================================= 09:26:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 09:26:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:26:09 + 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 . 09:26:09 Sending build context to Docker daemon 25.6MB 09:26:09 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:26:09 Step 2/10 : FROM ${BASE} AS builder 09:26:09 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 09:26:09 43c4264eed91: Pulling fs layer 09:26:09 4cc291be95ef: Pulling fs layer 09:26:09 2ac1f1163629: Pulling fs layer 09:26:09 5c3c966382ef: Pulling fs layer 09:26:09 4f4fb700ef54: Pulling fs layer 09:26:09 5d5c8e513c77: Pulling fs layer 09:26:09 9f66e0745190: Pulling fs layer 09:26:09 f49a43e4bbc0: Pulling fs layer 09:26:09 561ebcabdf7f: Pulling fs layer 09:26:09 5c3c966382ef: Waiting 09:26:09 4f4fb700ef54: Waiting 09:26:09 9f66e0745190: Waiting 09:26:09 f49a43e4bbc0: Waiting 09:26:09 561ebcabdf7f: Waiting 09:26:09 5d5c8e513c77: Waiting 09:26:09 4cc291be95ef: Verifying Checksum 09:26:09 4cc291be95ef: Download complete 09:26:09 5c3c966382ef: Download complete 09:26:09 4f4fb700ef54: Verifying Checksum 09:26:09 4f4fb700ef54: Download complete 09:26:09 43c4264eed91: Verifying Checksum 09:26:09 43c4264eed91: Download complete 09:26:09 5d5c8e513c77: Verifying Checksum 09:26:09 5d5c8e513c77: Download complete 09:26:09 9f66e0745190: Verifying Checksum 09:26:09 9f66e0745190: Download complete 09:26:09 43c4264eed91: Pull complete 09:26:10 4cc291be95ef: Pull complete 09:26:10 561ebcabdf7f: Download complete 09:26:10 2ac1f1163629: Verifying Checksum 09:26:10 2ac1f1163629: Download complete 09:26:10 f49a43e4bbc0: Verifying Checksum 09:26:10 f49a43e4bbc0: Download complete 09:26:13 2ac1f1163629: Pull complete 09:26:13 5c3c966382ef: Pull complete 09:26:13 4f4fb700ef54: Pull complete 09:26:13 5d5c8e513c77: Pull complete 09:26:13 9f66e0745190: Pull complete 09:26:16 f49a43e4bbc0: Pull complete 09:26:16 561ebcabdf7f: Pull complete 09:26:16 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 09:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 09:26:16 ---> 3a752c3f9dda 09:26:16 Step 3/10 : ARG MAKE=make build 09:26:20 ---> Running in 9b4b4fd85538 09:26:20 Removing intermediate container 9b4b4fd85538 09:26:20 ---> b14d5162261e 09:26:20 Step 4/10 : WORKDIR /device-sdk-go 09:26:20 ---> Running in 3fd59e1fe0f8 09:26:20 Removing intermediate container 3fd59e1fe0f8 09:26:20 ---> 0b7f8562b834 09:26:20 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:26:20 ---> Running in d41c33ec000a 09:26:20 Removing intermediate container d41c33ec000a 09:26:20 ---> 7821ca22f8e1 09:26:20 Step 6/10 : RUN apk add --update --no-cache make git 09:26:20 ---> Running in 6d2211d3c802 09:26:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:26:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:26:21 OK: 246 MiB in 54 packages 09:26:21 Removing intermediate container 6d2211d3c802 09:26:21 ---> 40833a4a3331 09:26:21 Step 7/10 : COPY go.mod vendor* ./ 09:26:22 ---> bddd29e237db 09:26:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:26:22 ---> Running in 032c3186bccb 09:26:22 Still waiting to schedule task 09:26:22 ‘prd-centos7-blackbox-4c-2g-24386’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:26:22 ‘prd-centos7-blackbox-4c-2g-24387’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 09:26:22 ‘prd-ubuntu20.04-docker-arm64-4c-16g-24747’ is offline 09:27:08 Removing intermediate container 032c3186bccb 09:27:08 ---> 9ab21af97024 09:27:08 Step 9/10 : COPY . . 09:27:08 ---> 25acc4fa0f97 09:27:08 Step 10/10 : RUN ${MAKE} 09:27:08 ---> Running in 1bd6c3e54a89 09:27:08 noop 09:27:08 Removing intermediate container 1bd6c3e54a89 09:27:08 ---> 3f7463a0fdb9 09:27:08 Successfully built 3f7463a0fdb9 09:27:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:09 + docker inspect -f . ci-base-image-x86_64 09:27:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:09 prd-ubuntu20.04-docker-8c-8g-24748 does not seem to be running inside a container 09:27:09 $ 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 ******** ci-base-image-x86_64 cat 09:27:09 $ docker top e292063965145d462b13e6c12923e35baeeb61fda0da874d7ae41e8a53714ac1 -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:10 + go version 09:27:10 go version go1.23.2 linux/amd64 [Pipeline] } 09:27:10 $ docker stop --time=1 e292063965145d462b13e6c12923e35baeeb61fda0da874d7ae41e8a53714ac1 09:27:11 $ docker rm -f --volumes e292063965145d462b13e6c12923e35baeeb61fda0da874d7ae41e8a53714ac1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:27:12 + docker inspect -f . ci-base-image-x86_64 09:27:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:27:12 prd-ubuntu20.04-docker-8c-8g-24748 does not seem to be running inside a container 09:27:12 $ 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 ******** ci-base-image-x86_64 cat 09:27:12 $ docker top c92d3fc519b7122ac0e1b591c4aea602cbf1e8b731475d1104bde0ac9399a70c -eo pid,comm [Pipeline] { [Pipeline] sh 09:27:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1646 [Pipeline] fileExists [Pipeline] sh 09:27:13 + make test 09:27:13 go test -race -coverprofile=coverage.out ./... 09:27:21 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 09:28:00 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 09:28:00 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 09:28:00 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 09:28:00 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 09:28:00 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 09:28:00 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.030s coverage: 28.7% of statements 09:28:00 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.034s coverage: 79.4% of statements 09:28:00 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 09:28:00 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 09:28:00 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 09:28:00 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.045s coverage: 86.0% of statements 09:28:00 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 09:28:00 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 09:28:00 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 09:28:00 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.076s coverage: 45.2% of statements 09:28:00 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 09:28:02 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.043s coverage: 14.1% of statements 09:28:02 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 3.140s coverage: 44.6% of statements 09:28:02 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.060s coverage: 68.4% of statements 09:28:02 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.083s coverage: 88.3% of statements 09:28:02 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.052s coverage: 5.3% of statements 09:28:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-24750 in /w/workspace/gexfoundry_device-sdk-go_PR-1646 [Pipeline] { [Pipeline] ws 09:28:40 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:28:41 GO111MODULE=on go vet ./... 09:28:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:28:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:28:41 ./bin/test-attribution-txt.sh 09:28:44 The recommended git tool is: git [Pipeline] echo 09:28:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:28:44 $ docker stop --time=1 c92d3fc519b7122ac0e1b591c4aea602cbf1e8b731475d1104bde0ac9399a70c 09:28:49 $ docker rm -f --volumes c92d3fc519b7122ac0e1b591c4aea602cbf1e8b731475d1104bde0ac9399a70c [Pipeline] // withDockerContainer [Pipeline] sh 09:28:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:28:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 09:28:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:28:51 + ls -al . 09:28:51 total 704 09:28:51 drwxrwxr-x 11 jenkins jenkins 4096 Nov 7 09:27 . 09:28:51 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:25 .. 09:28:51 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 09:25 .dockerignore 09:28:51 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:28 .git 09:28:51 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:25 .github 09:28:51 -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 09:25 .gitignore 09:28:51 -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:25 .golangci.yml 09:28:51 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:26 .semver 09:28:51 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 09:25 CHANGELOG.md 09:28:51 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:25 GOVERNANCE.md 09:28:51 -rw-rw-r-- 1 jenkins jenkins 882 Nov 7 09:25 Jenkinsfile 09:28:51 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 09:25 LICENSE 09:28:51 -rw-rw-r-- 1 jenkins jenkins 2432 Nov 7 09:25 Makefile 09:28:51 -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 09:25 OWNERS.md 09:28:51 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 7 09:25 README.md 09:28:51 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:26 VERSION 09:28:51 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:25 bin 09:28:51 -rw-r--r-- 1 jenkins jenkins 468087 Nov 7 09:28 coverage.out 09:28:51 drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 09:25 example 09:28:51 -rw-rw-r-- 1 jenkins jenkins 6278 Nov 7 09:25 go.mod 09:28:51 -rw-rw-r-- 1 jenkins jenkins 87873 Nov 7 09:25 go.sum 09:28:51 drwxrwxr-x 13 jenkins jenkins 4096 Nov 7 09:25 internal 09:28:51 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:25 openapi 09:28:51 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 09:25 pkg 09:28:51 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:25 snap 09:28:51 -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 09:25 version.go 09:28:51 using credential edgex-jenkins-ssh [Pipeline] isUnix 09:28:51 Cloning the remote Git repository [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:28:51 + 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=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c --label arch=amd64 --label version=0.0.0 . 09:28:51 Sending build context to Docker daemon 26.06MB 09:28:51 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 09:28:51 Step 2/24 : FROM ${BASE} AS builder 09:28:51 ---> 3f7463a0fdb9 09:28:51 Step 3/24 : ARG MAKE=make build 09:28:51 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:28:51 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:28:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:28:51 > git --version # timeout=10 09:28:51 > git --version # 'git version 2.25.1' 09:28:51 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:51 ---> Running in 0c24aa2a5500 09:28:52 Removing intermediate container 0c24aa2a5500 09:28:52 ---> 3c8de3374b1b 09:28:52 Step 4/24 : WORKDIR /device-sdk-go 09:28:52 ---> Running in ec0b5ad962d0 09:28:52 Removing intermediate container ec0b5ad962d0 09:28:52 ---> bda175a6728b 09:28:52 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:28:52 ---> Running in a5d8bb0492e1 09:28:52 Removing intermediate container a5d8bb0492e1 09:28:52 ---> a4a0e4c1930f 09:28:52 Step 6/24 : RUN apk add --update --no-cache make git 09:28:52 ---> Running in ac6e33741cbb 09:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:28:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:28:53 OK: 246 MiB in 54 packages 09:28:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:28:53 Removing intermediate container ac6e33741cbb 09:28:53 ---> d53819038844 09:28:53 Step 7/24 : COPY go.mod vendor* ./ 09:28:53 ---> 8846211b83ca 09:28:53 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:28:53 ---> Running in bdcaf5328b55 09:28:54 Removing intermediate container bdcaf5328b55 09:28:54 ---> 0a7820ec9fb4 09:28:54 Step 9/24 : COPY . . 09:28:55 ---> 2f7752fd03ec 09:28:55 Step 10/24 : RUN ${MAKE} 09:28:55 ---> Running in 965c183d1827 09:28:55 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 " -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:28:56 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:28:56 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:28:59 Merging remotes/origin/main commit a2adfdc09e477498866130aea83da6ea448c3108 into PR head commit dc59e9afc29978e7eceeb0d9af4d105f7aafa06c 09:28:58 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:28:58 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:28:58 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:58 > 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 09:28:59 > git config core.sparsecheckout # timeout=10 09:28:59 Merge succeeded, producing dc59e9afc29978e7eceeb0d9af4d105f7aafa06c 09:28:59 Checking out Revision dc59e9afc29978e7eceeb0d9af4d105f7aafa06c (PR-1646) 09:28:59 > git checkout -f dc59e9afc29978e7eceeb0d9af4d105f7aafa06c # timeout=10 09:28:59 > git remote # timeout=10 09:28:59 > git config --get remote.origin.url # timeout=10 09:28:59 using GIT_SSH to set credentials SSH Credentials for GitHub 09:28:59 > git merge a2adfdc09e477498866130aea83da6ea448c3108 # timeout=10 09:28:59 > git rev-parse HEAD^{commit} # timeout=10 09:28:59 > git config core.sparsecheckout # timeout=10 09:28:59 > git checkout -f dc59e9afc29978e7eceeb0d9af4d105f7aafa06c # timeout=10 09:29:03 Commit message: "fix: Only one ldflags flag is allowed" 09:29:03 > git --version # timeout=10 09:29:03 > git --version # 'git version 2.25.1' 09:29:03 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:29:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:29:06 % Total % Received % Xferd Average Speed Time Time Time Current 09:29:06 Dload Upload Total Spent Left Speed 09:29:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 160k 0 --:--:-- --:--:-- --:--:-- 162k [Pipeline] sh 09:29:06 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:29:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:29:07 + sudo tee /etc/docker/daemon.new 09:29:07 { 09:29:07 "registry-mirrors": [ 09:29:07 "https://nexus3.edgexfoundry.org:10001" 09:29:07 ], 09:29:07 "bip": "10.250.0.254/24", 09:29:07 "hosts": [ 09:29:07 "tcp://0.0.0.0:5555", 09:29:07 "unix:///var/run/docker.sock" 09:29:07 ], 09:29:07 "mtu": 1458, 09:29:07 "selinux-enabled": true, 09:29:07 "seccomp-profile": "/etc/docker/seccomp.json" 09:29:07 } [Pipeline] sh 09:29:07 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:29:08 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:29:26 provisioning config files... 09:29:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6252862657777045677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:29:27 ---> ****-login.sh 09:29:27 nexus3.edgexfoundry.org:10001 09:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:29:28 Configure a credential helper to remove this warning. See 09:29:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:29:28 09:29:28 Login Succeeded 09:29:28 nexus3.edgexfoundry.org:10002 09:29:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:29:28 Configure a credential helper to remove this warning. See 09:29:28 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:29:28 09:29:28 Login Succeeded 09:29:28 nexus3.edgexfoundry.org:10003 09:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:29:29 Configure a credential helper to remove this warning. See 09:29:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:29:29 09:29:29 Login Succeeded 09:29:29 nexus3.edgexfoundry.org:10004 09:29:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:29:29 Configure a credential helper to remove this warning. See 09:29:29 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:29:29 09:29:29 Login Succeeded 09:29:29 ****.io 09:29:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:29:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:29:30 Configure a credential helper to remove this warning. See 09:29:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:29:30 09:29:30 Login Succeeded 09:29:30 ---> ****-login.sh ends [Pipeline] } 09:29:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:29:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:29:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:29:31 ========================================================= 09:29:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:29:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:32 + 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 . 09:29:33 Sending build context to Docker daemon 13.26MB 09:29:33 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:29:33 Step 2/10 : FROM ${BASE} AS builder 09:29:33 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:29:33 cf04c63912e1: Pulling fs layer 09:29:33 55b35a11ae5e: Pulling fs layer 09:29:33 a37a00ec5f00: Pulling fs layer 09:29:33 50b3750afda1: Pulling fs layer 09:29:33 4f4fb700ef54: Pulling fs layer 09:29:33 80978eb59214: Pulling fs layer 09:29:33 c9f46d7d2bd2: Pulling fs layer 09:29:33 c5a475d317c9: Pulling fs layer 09:29:33 80978eb59214: Waiting 09:29:33 c9f46d7d2bd2: Waiting 09:29:33 50b3750afda1: Waiting 09:29:33 c5a475d317c9: Waiting 09:29:33 4f4fb700ef54: Waiting 09:29:33 55b35a11ae5e: Verifying Checksum 09:29:33 55b35a11ae5e: Download complete 09:29:33 50b3750afda1: Verifying Checksum 09:29:33 50b3750afda1: Download complete 09:29:33 4f4fb700ef54: Verifying Checksum 09:29:33 4f4fb700ef54: Download complete 09:29:33 80978eb59214: Verifying Checksum 09:29:33 80978eb59214: Download complete 09:29:33 cf04c63912e1: Verifying Checksum 09:29:33 cf04c63912e1: Download complete 09:29:34 c5a475d317c9: Verifying Checksum 09:29:34 c5a475d317c9: Download complete 09:29:34 Removing intermediate container 965c183d1827 09:29:34 ---> 39b3e55af8a9 09:29:34 Step 11/24 : FROM alpine:3.20 09:29:34 3.20: Pulling from library/alpine 09:29:34 43c4264eed91: Already exists 09:29:34 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:29:34 Status: Downloaded newer image for alpine:3.20 09:29:34 ---> 91ef0af61f39 09:29:34 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:29:34 ---> Running in 1ea195d9c92d 09:29:34 Removing intermediate container 1ea195d9c92d 09:29:34 ---> cc9b360e5077 09:29:34 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:29:34 ---> Running in fdfff49f4939 09:29:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:29:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:29:34 (1/1) Installing dumb-init (1.2.5-r3) 09:29:34 Executing busybox-1.36.1-r29.trigger 09:29:34 OK: 8 MiB in 15 packages 09:29:34 Removing intermediate container fdfff49f4939 09:29:34 ---> c67a7ad1c964 09:29:34 Step 14/24 : RUN apk --no-cache upgrade 09:29:34 ---> Running in bdd288e3577d 09:29:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:29:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:29:34 Upgrading critical system libraries and apk-tools: 09:29:34 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:29:34 Executing busybox-1.36.1-r29.trigger 09:29:34 Continuing the upgrade transaction with new apk-tools: 09:29:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 09:29:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 09:29:34 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:29:34 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:29:34 OK: 8 MiB in 15 packages 09:29:34 Removing intermediate container bdd288e3577d 09:29:34 ---> e8f4b538e2cd 09:29:34 Step 15/24 : WORKDIR / 09:29:34 ---> Running in 5413997174b1 09:29:34 Removing intermediate container 5413997174b1 09:29:34 ---> 64eaa36e08ae 09:29:34 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:29:34 cf04c63912e1: Pull complete 09:29:34 ---> 1e3396f429c1 09:29:34 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:29:35 a37a00ec5f00: Verifying Checksum 09:29:35 a37a00ec5f00: Download complete 09:29:35 55b35a11ae5e: Pull complete 09:29:35 ---> cc978a3517bb 09:29:35 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:29:36 ---> 5de725761d8b 09:29:36 Step 19/24 : EXPOSE 59999 09:29:36 ---> Running in a4d049f5bfef 09:29:36 Removing intermediate container a4d049f5bfef 09:29:36 ---> 63e326999e44 09:29:36 Step 20/24 : ENTRYPOINT ["/device-simple"] 09:29:36 ---> Running in c8779a45bdf1 09:29:36 Removing intermediate container c8779a45bdf1 09:29:36 ---> b00a5a95e080 09:29:36 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:29:36 ---> Running in a60cb7689d09 09:29:36 Removing intermediate container a60cb7689d09 09:29:36 ---> 1ad2c44f7c0f 09:29:36 Step 22/24 : LABEL arch=amd64 09:29:36 ---> Running in 98e5b5990864 09:29:36 Removing intermediate container 98e5b5990864 09:29:36 ---> 1c7fd0b589e1 09:29:36 Step 23/24 : LABEL git_sha=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c 09:29:36 c9f46d7d2bd2: Verifying Checksum 09:29:36 c9f46d7d2bd2: Download complete 09:29:36 ---> Running in f82cadf7f3e9 09:29:36 Removing intermediate container f82cadf7f3e9 09:29:36 ---> f6e8ee189bf1 09:29:36 Step 24/24 : LABEL version=0.0.0 09:29:36 ---> Running in 51794dbfb991 09:29:36 Removing intermediate container 51794dbfb991 09:29:36 ---> 376edf695e49 09:29:36 [Warning] One or more build-args [ARCH] were not consumed 09:29:36 Successfully built 376edf695e49 09:29:36 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 09:29:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:29:37 09:29:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:29:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:29:38 latest: Pulling from edgex-lftools-log-publisher 09:29:38 5eb5b503b376: Pulling fs layer 09:29:38 5c69ac0246d0: Pulling fs layer 09:29:38 ec43610c2a17: Pulling fs layer 09:29:38 3a2ae6a8a46f: Pulling fs layer 09:29:38 33b1e0a273af: Pulling fs layer 09:29:38 5d3b04190fa2: Pulling fs layer 09:29:38 2f39f015ded8: Pulling fs layer 09:29:38 33b1e0a273af: Waiting 09:29:38 5d3b04190fa2: Waiting 09:29:38 2f39f015ded8: Waiting 09:29:38 3a2ae6a8a46f: Waiting 09:29:38 5c69ac0246d0: Download complete 09:29:38 3a2ae6a8a46f: Verifying Checksum 09:29:38 3a2ae6a8a46f: Download complete 09:29:38 33b1e0a273af: Verifying Checksum 09:29:38 33b1e0a273af: Download complete 09:29:38 ec43610c2a17: Verifying Checksum 09:29:38 ec43610c2a17: Download complete 09:29:38 5d3b04190fa2: Verifying Checksum 09:29:38 5d3b04190fa2: Download complete 09:29:38 5eb5b503b376: Verifying Checksum 09:29:38 5eb5b503b376: Download complete 09:29:38 2f39f015ded8: Verifying Checksum 09:29:38 2f39f015ded8: Download complete 09:29:39 5eb5b503b376: Pull complete 09:29:39 5c69ac0246d0: Pull complete 09:29:40 ec43610c2a17: Pull complete 09:29:40 3a2ae6a8a46f: Pull complete 09:29:40 33b1e0a273af: Pull complete 09:29:40 5d3b04190fa2: Pull complete 09:29:44 2f39f015ded8: Pull complete 09:29:44 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 09:29:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:29:44 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:29:45 prd-ubuntu20.04-docker-8c-8g-24748 does not seem to be running inside a container 09:29:45 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:29:50 $ docker top d19b6a98adeb28cc93388767a44fb0b8abd580fd0fee03d63c9efed5fe329db3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:29:50 ---> job-cost.sh 09:29:50 lf-activate-venv: SKIPPING 09:29:50 INFO: No Stack... 09:29:50 INFO: Retrieving Pricing Info for: v3-standard-8 09:29:51 INFO: Archiving Costs 09:29:51 a37a00ec5f00: Pull complete 09:29:51 50b3750afda1: Pull complete [Pipeline] sh 09:29:51 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives/cost.csv 09:29:51 + cut -d, -f6 [Pipeline] lock 09:29:51 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] 09:29:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] did not exist. Created. 09:29:51 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:29:52 4f4fb700ef54: Pull complete 09:29:52 + echo total: 0.2199999988079071 [Pipeline] stash 09:29:52 80978eb59214: Pull complete 09:29:52 Stashed 1 file(s) [Pipeline] } 09:29:52 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:29:52 $ docker stop --time=1 d19b6a98adeb28cc93388767a44fb0b8abd580fd0fee03d63c9efed5fe329db3 09:29:53 $ docker rm -f --volumes d19b6a98adeb28cc93388767a44fb0b8abd580fd0fee03d63c9efed5fe329db3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:30:02 c9f46d7d2bd2: Pull complete 09:30:03 c5a475d317c9: Pull complete 09:30:03 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:30:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:30:03 ---> be29e6b0f0d4 09:30:03 Step 3/10 : ARG MAKE=make build 09:30:06 ---> Running in e8006394b1a2 09:30:06 Removing intermediate container e8006394b1a2 09:30:06 ---> 6aae0305a036 09:30:06 Step 4/10 : WORKDIR /device-sdk-go 09:30:07 ---> Running in 27e6ea266071 09:30:07 Removing intermediate container 27e6ea266071 09:30:07 ---> d5004757b8bf 09:30:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:30:07 ---> Running in e83229de7088 09:30:07 Removing intermediate container e83229de7088 09:30:07 ---> 5350bba42438 09:30:07 Step 6/10 : RUN apk add --update --no-cache make git 09:30:08 ---> Running in b4b001276074 09:30:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:30:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:30:12 OK: 238 MiB in 54 packages 09:30:13 Removing intermediate container b4b001276074 09:30:13 ---> 7cf487b8253d 09:30:13 Step 7/10 : COPY go.mod vendor* ./ 09:30:14 ---> 72aade183e5a 09:30:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:30:14 ---> Running in 0a1759e0783c 09:32:21 Removing intermediate container 0a1759e0783c 09:32:21 ---> ffa2c1a371ac 09:32:21 Step 9/10 : COPY . . 09:32:21 ---> 35896b3af49a 09:32:21 Step 10/10 : RUN ${MAKE} 09:32:21 ---> Running in 909435d4c36b 09:32:21 noop 09:32:21 Removing intermediate container 909435d4c36b 09:32:21 ---> 8179c519b785 09:32:21 Successfully built 8179c519b785 09:32:21 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:22 + docker inspect -f . ci-base-image-arm64 09:32:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:22 prd-ubuntu20.04-docker-arm64-4c-16g-24750 does not seem to be running inside a container 09:32:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:32:24 $ docker top d4fecb923f1f90a8ab8d1d10a396a833188729ca53f52d0a32e41ba68b1ac06b -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:25 + go version 09:32:25 go version go1.23.2 linux/arm64 [Pipeline] } 09:32:25 $ docker stop --time=1 d4fecb923f1f90a8ab8d1d10a396a833188729ca53f52d0a32e41ba68b1ac06b 09:32:27 $ docker rm -f --volumes d4fecb923f1f90a8ab8d1d10a396a833188729ca53f52d0a32e41ba68b1ac06b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:32:28 + docker inspect -f . ci-base-image-arm64 09:32:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:32:29 prd-ubuntu20.04-docker-arm64-4c-16g-24750 does not seem to be running inside a container 09:32:29 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 09:32:30 $ docker top 8edcc37791ade6a704cc74f558ff262002bf9704c9b4778da3412676591bf2cc -eo pid,comm [Pipeline] { [Pipeline] sh 09:32:32 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 09:32:32 + make test 09:32:32 go test -race -coverprofile=coverage.out ./... 09:33:40 ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] 09:38:18 github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements 09:38:18 github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements 09:38:18 github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements 09:38:18 github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements 09:38:18 github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements 09:38:21 ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.224s coverage: 28.7% of statements 09:38:26 ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.203s coverage: 79.4% of statements 09:38:39 github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements 09:38:39 github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements 09:38:39 ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.376s coverage: 86.0% of statements 09:38:54 github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements 09:38:54 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.725s coverage: 45.2% of statements 09:38:57 ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.338s coverage: 14.1% of statements 09:38:57 ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 4.132s coverage: 44.6% of statements 09:39:04 ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] 09:39:04 github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements 09:39:04 github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements 09:39:05 ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.444s coverage: 68.4% of statements 09:39:12 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.413s coverage: 88.3% of statements 09:39:20 github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements 09:39:21 ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.366s coverage: 5.3% of statements 09:39:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 09:39:23 GO111MODULE=on go vet ./... 09:44:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 09:44:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 09:44:31 ./bin/test-attribution-txt.sh [Pipeline] echo 09:44:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 09:44:31 $ docker stop --time=1 8edcc37791ade6a704cc74f558ff262002bf9704c9b4778da3412676591bf2cc 09:44:34 $ docker rm -f --volumes 8edcc37791ade6a704cc74f558ff262002bf9704c9b4778da3412676591bf2cc [Pipeline] // withDockerContainer [Pipeline] sh 09:44:37 + sudo chown -R jenkins:jenkins . [Pipeline] stash 09:44:37 Warning: overwriting stash ‘coverage-report’ 09:44:38 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 09:44:38 + sudo chown -R jenkins:jenkins . [Pipeline] sh 09:44:39 + ls -al . 09:44:39 total 700 09:44:39 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 09:32 . 09:44:39 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:28 .. 09:44:39 -rw-rw-r-- 1 jenkins jenkins 140 Nov 7 09:28 .dockerignore 09:44:39 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 09:28 .git 09:44:39 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 09:28 .github 09:44:39 -rw-rw-r-- 1 jenkins jenkins 137 Nov 7 09:28 .gitignore 09:44:39 -rw-rw-r-- 1 jenkins jenkins 199 Nov 7 09:28 .golangci.yml 09:44:39 -rw-rw-r-- 1 jenkins jenkins 48109 Nov 7 09:28 CHANGELOG.md 09:44:39 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 09:28 GOVERNANCE.md 09:44:39 -rw-rw-r-- 1 jenkins jenkins 882 Nov 7 09:28 Jenkinsfile 09:44:39 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 7 09:28 LICENSE 09:44:39 -rw-rw-r-- 1 jenkins jenkins 2432 Nov 7 09:28 Makefile 09:44:39 -rw-rw-r-- 1 jenkins jenkins 619 Nov 7 09:28 OWNERS.md 09:44:39 -rw-rw-r-- 1 jenkins jenkins 4937 Nov 7 09:28 README.md 09:44:39 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 09:26 VERSION 09:44:39 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:28 bin 09:44:39 -rw-r--r-- 1 jenkins jenkins 468088 Nov 7 09:39 coverage.out 09:44:39 drwxrwxr-x 5 jenkins jenkins 4096 Nov 7 09:28 example 09:44:39 -rw-rw-r-- 1 jenkins jenkins 6278 Nov 7 09:28 go.mod 09:44:39 -rw-rw-r-- 1 jenkins jenkins 87873 Nov 7 09:28 go.sum 09:44:39 drwxrwxr-x 13 jenkins jenkins 4096 Nov 7 09:28 internal 09:44:39 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 09:28 openapi 09:44:39 drwxrwxr-x 6 jenkins jenkins 4096 Nov 7 09:28 pkg 09:44:39 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 09:28 snap 09:44:39 -rw-rw-r-- 1 jenkins jenkins 222 Nov 7 09:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:44:39 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c --label arch=arm64 --label version=0.0.0 . 09:44:40 Sending build context to Docker daemon 13.73MB 09:44:40 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 09:44:40 Step 2/24 : FROM ${BASE} AS builder 09:44:40 ---> 8179c519b785 09:44:40 Step 3/24 : ARG MAKE=make build 09:44:40 ---> Running in 5d85e5fc1d5f 09:44:41 Removing intermediate container 5d85e5fc1d5f 09:44:41 ---> 803f3e801ae9 09:44:41 Step 4/24 : WORKDIR /device-sdk-go 09:44:41 ---> Running in 3d6c00c7a590 09:44:41 Removing intermediate container 3d6c00c7a590 09:44:41 ---> 679b20b71c37 09:44:41 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:44:41 ---> Running in 35678b4f355f 09:44:42 Removing intermediate container 35678b4f355f 09:44:42 ---> 45b53d9d64b4 09:44:42 Step 6/24 : RUN apk add --update --no-cache make git 09:44:42 ---> Running in ef2034124690 09:44:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:44:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:44:46 OK: 238 MiB in 54 packages 09:44:47 Removing intermediate container ef2034124690 09:44:47 ---> 79a4fda2c0e8 09:44:47 Step 7/24 : COPY go.mod vendor* ./ 09:44:48 ---> 2aed6c3bf26e 09:44:48 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:44:48 ---> Running in 3ff4e106ae16 09:44:51 Removing intermediate container 3ff4e106ae16 09:44:51 ---> 40ca636b000b 09:44:51 Step 9/24 : COPY . . 09:44:53 ---> 9b637171b7ca 09:44:53 Step 10/24 : RUN ${MAKE} 09:44:53 ---> Running in 41316e034ae0 09:44:53 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 " -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 09:49:17 Removing intermediate container 41316e034ae0 09:49:17 ---> e3071cdc19a3 09:49:17 Step 11/24 : FROM alpine:3.20 09:49:17 3.20: Pulling from library/alpine 09:49:17 cf04c63912e1: Already exists 09:49:17 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 09:49:17 Status: Downloaded newer image for alpine:3.20 09:49:17 ---> c157a85ed455 09:49:17 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 09:49:17 ---> Running in 3f73642bee16 09:49:17 Removing intermediate container 3f73642bee16 09:49:17 ---> c4fb30dcda52 09:49:17 Step 13/24 : RUN apk add --update --no-cache dumb-init 09:49:17 ---> Running in cb28271f01f3 09:49:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:49:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:49:17 (1/1) Installing dumb-init (1.2.5-r3) 09:49:17 Executing busybox-1.36.1-r29.trigger 09:49:17 OK: 9 MiB in 15 packages 09:49:17 Removing intermediate container cb28271f01f3 09:49:17 ---> 3ce84a3534d0 09:49:17 Step 14/24 : RUN apk --no-cache upgrade 09:49:17 ---> Running in 0fd3cff02398 09:49:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:49:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:49:20 Upgrading critical system libraries and apk-tools: 09:49:20 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 09:49:20 Executing busybox-1.36.1-r29.trigger 09:49:21 Continuing the upgrade transaction with new apk-tools: 09:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:49:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:49:24 (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) 09:49:24 (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) 09:49:24 OK: 9 MiB in 15 packages 09:49:25 Removing intermediate container 0fd3cff02398 09:49:25 ---> 7366cc08c7ef 09:49:25 Step 15/24 : WORKDIR / 09:49:25 ---> Running in c19d1aafd1d3 09:49:26 Removing intermediate container c19d1aafd1d3 09:49:26 ---> 27ac1186057b 09:49:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 09:49:27 ---> 6de669a97056 09:49:27 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 09:49:30 ---> 03d834a05e6f 09:49:30 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 09:49:31 ---> 39760030e214 09:49:31 Step 19/24 : EXPOSE 59999 09:49:31 ---> Running in f4b282d9c404 09:49:31 Removing intermediate container f4b282d9c404 09:49:31 ---> 57d7474ccd9b 09:49:31 Step 20/24 : ENTRYPOINT ["/device-simple"] 09:49:31 ---> Running in bdb6082c9795 09:49:32 Removing intermediate container bdb6082c9795 09:49:32 ---> c2a79f32a848 09:49:32 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 09:49:32 ---> Running in ed968bb2a4b3 09:49:32 Removing intermediate container ed968bb2a4b3 09:49:32 ---> 819a62cf548c 09:49:32 Step 22/24 : LABEL arch=arm64 09:49:32 ---> Running in 30c1bdf96918 09:49:33 Removing intermediate container 30c1bdf96918 09:49:33 ---> 4a15abe04e09 09:49:33 Step 23/24 : LABEL git_sha=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c 09:49:33 ---> Running in a1e90e5860c3 09:49:33 Removing intermediate container a1e90e5860c3 09:49:33 ---> 6132c9855ff1 09:49:33 Step 24/24 : LABEL version=0.0.0 09:49:33 ---> Running in afc7f316d595 09:49:34 Removing intermediate container afc7f316d595 09:49:34 ---> 6fbf10b93e8f 09:49:34 [Warning] One or more build-args [ARCH] were not consumed 09:49:34 Successfully built 6fbf10b93e8f 09:49:34 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 09:49:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:49:35 09:49:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:49:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:49:36 arm64: Pulling from edgex-lftools-log-publisher 09:49:36 8998bd30e6a1: Pulling fs layer 09:49:36 04944245beec: Pulling fs layer 09:49:36 699f458cf7ca: Pulling fs layer 09:49:36 765212b225bb: Pulling fs layer 09:49:36 f23df028b6ca: Pulling fs layer 09:49:36 d65c8cfc05b1: Pulling fs layer 09:49:36 2437ff75d9bd: Pulling fs layer 09:49:36 f23df028b6ca: Waiting 09:49:36 d65c8cfc05b1: Waiting 09:49:36 2437ff75d9bd: Waiting 09:49:36 765212b225bb: Waiting 09:49:37 04944245beec: Verifying Checksum 09:49:37 04944245beec: Download complete 09:49:37 765212b225bb: Verifying Checksum 09:49:37 765212b225bb: Download complete 09:49:37 f23df028b6ca: Verifying Checksum 09:49:37 f23df028b6ca: Download complete 09:49:37 d65c8cfc05b1: Verifying Checksum 09:49:37 d65c8cfc05b1: Download complete 09:49:37 699f458cf7ca: Verifying Checksum 09:49:37 699f458cf7ca: Download complete 09:49:40 8998bd30e6a1: Verifying Checksum 09:49:40 8998bd30e6a1: Download complete 09:49:43 2437ff75d9bd: Verifying Checksum 09:49:43 2437ff75d9bd: Download complete 09:49:45 8998bd30e6a1: Pull complete 09:49:46 04944245beec: Pull complete 09:49:48 699f458cf7ca: Pull complete 09:49:48 765212b225bb: Pull complete 09:49:49 f23df028b6ca: Pull complete 09:49:50 d65c8cfc05b1: Pull complete 09:50:09 2437ff75d9bd: Pull complete 09:50:09 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 09:50:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 09:50:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:09 prd-ubuntu20.04-docker-arm64-4c-16g-24750 does not seem to be running inside a container 09:50:09 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 09:50:13 $ docker top 1ef6fd78d065a618bcbca6f445938a1b8ae6c035737cf76acf38df82caafb090 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:50:14 ---> job-cost.sh 09:50:14 lf-activate-venv: SKIPPING 09:50:14 INFO: No Stack... 09:50:14 INFO: Retrieving Pricing Info for: v3-standard-4 09:50:15 INFO: Archiving Costs [Pipeline] sh 09:50:16 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 09:50:16 + cut -d, -f6 [Pipeline] lock 09:50:16 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] 09:50:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] did not exist. Created. 09:50:16 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 09:50:17 /w/workspace/device-sdk-go/1@tmp/durable-151b67d6/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 09:50:18 + echo total: 0.10999999940395355 [Pipeline] stash 09:50:18 Warning: overwriting stash ‘stack-cost’ 09:50:18 Stashed 1 file(s) [Pipeline] } 09:50:18 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1646-1-stack-cost] [Pipeline] // lock [Pipeline] } 09:50:18 $ docker stop --time=1 1ef6fd78d065a618bcbca6f445938a1b8ae6c035737cf76acf38df82caafb090 09:50:20 $ docker rm -f --volumes 1ef6fd78d065a618bcbca6f445938a1b8ae6c035737cf76acf38df82caafb090 [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 09:50:21 provisioning config files... 09:50:21 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config9981298589890577306tmp [Pipeline] { [Pipeline] sh 09:50:21 + set +x 09:50:21 + curl -s https://codecov.io/bash 09:50:21 + bash -s -- 09:50:21 09:50:21 _____ _ 09:50:21 / ____| | | 09:50:21 | | ___ __| | ___ ___ _____ __ 09:50:21 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 09:50:21 | |___| (_) | (_| | __/ (_| (_) \ V / 09:50:21 \_____\___/ \__,_|\___|\___\___/ \_/ 09:50:21 Bash-1.0.6 09:50:21 09:50:21 09:50:21 ==> git version 2.25.1 found 09:50:21 ==> 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 09:50:21 Release-Date: 2020-01-08 09:50:21 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 09:50:21 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 09:50:21 ==> Jenkins CI detected. 09:50:21 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1646 09:50:21 project root: . 09:50:21 --> token set from env 09:50:21 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 09:50:21 ==> Running gcov in . (disable via -X gcov) 09:50:21 ==> Python coveragepy not found 09:50:21 ==> Searching for coverage reports in: 09:50:21 + . 09:50:22 -> Found 1 reports 09:50:22 ==> Detecting git/mercurial file structure 09:50:22 ==> Reading reports 09:50:22 + ./coverage.out bytes=468088 09:50:22 ==> Appending adjustments 09:50:22 https://docs.codecov.io/docs/fixing-reports 09:50:22 + Found adjustments 09:50:22 ==> Gzipping contents 09:50:22 44K /tmp/codecov.7QCqSz.gz 09:50:22 ==> Uploading reports 09:50:22 url: https://codecov.io 09:50:22 query: branch=PR-1646&commit=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1646%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1646&job=&cmd_args= 09:50:22 -> Pinging Codecov 09:50:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1646&commit=dc59e9afc29978e7eceeb0d9af4d105f7aafa06c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1646%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1646&job=&cmd_args= 09:50:22 -> Uploading to 09:50:22 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/dc59e9afc29978e7eceeb0d9af4d105f7aafa06c/17073a5f-4a12-4c02-84b8-669fc7fa97ba.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241107%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241107T095022Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5c1a2a252f79ac9859c6ddd4b410d33d61d58e8bb3ea1f13e000fbffd0ab46bc 09:50:22 % Total % Received % Xferd Average Speed Time Time Time Current 09:50:22 Dload Upload Total Spent Left Speed 09:50:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44776 0 0 100 44776 0 215k --:--:-- --:--:-- --:--:-- 214k 100 44776 0 0 100 44776 0 179k --:--:-- --:--:-- --:--:-- 179k 09:50:22 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/dc59e9afc29978e7eceeb0d9af4d105f7aafa06c [Pipeline] } 09:50:22 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 09:50:25 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives ] 09:50:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives 09:50:25 total 16 09:50:25 drwxr-xr-x 3 root root 4096 Nov 7 09:29 . 09:50:25 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 09:29 .. 09:50:25 drwxr-xr-x 2 root root 4096 Nov 7 09:29 cost 09:50:25 -rw-r--r-- 1 root root 86 Nov 7 09:29 cost.csv 09:50:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives 09:50:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives 09:50:25 total 16 09:50:25 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 09:29 . 09:50:25 drwxrwxr-x 12 jenkins jenkins 4096 Nov 7 09:29 .. 09:50:25 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 09:29 cost 09:50:25 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 09:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 09:50:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 09:50:26 ---> package-listing.sh 09:50:26 ++ facter osfamily 09:50:26 ++ tr '[:upper:]' '[:lower:]' 09:50:26 + OS_FAMILY=debian 09:50:26 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1646 09:50:26 + START_PACKAGES=/tmp/packages_start.txt 09:50:26 + END_PACKAGES=/tmp/packages_end.txt 09:50:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 09:50:26 + PACKAGES=/tmp/packages_start.txt 09:50:26 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1646 ']' 09:50:26 + PACKAGES=/tmp/packages_end.txt 09:50:26 + case "${OS_FAMILY}" in 09:50:26 + dpkg -l 09:50:26 + grep '^ii' 09:50:26 + '[' -f /tmp/packages_start.txt ']' 09:50:26 + '[' -f /tmp/packages_end.txt ']' 09:50:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 09:50:26 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1646 ']' 09:50:26 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1646/archives/ 09:50:26 + 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 09:50:26 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 09:50:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:50:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 09:50:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:50:27 prd-ubuntu20.04-docker-8c-8g-24748 does not seem to be running inside a container 09:50:28 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 09:50:28 $ docker top 5678608e4bb6827f7225218cb8e39072f22b64688a5d2e77567c1d4f02555649 -eo pid,comm [Pipeline] { [Pipeline] sh 09:50:28 + touch /tmp/pre-build-complete [Pipeline] sh 09:50:29 + mkdir -p /var/log/sysstat [Pipeline] sh 09:50:29 + ls /var/log/sa-host 09:50:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:50:29 provisioning config files... 09:50:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1646@tmp/config10290513375900808996tmp [Pipeline] { [Pipeline] echo 09:50:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 09:50:30 ---> create-netrc.sh [Pipeline] } 09:50:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 09:50:30 ---> python-tools-install.sh [Pipeline] echo 09:50:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 09:50:30 ---> sudo-logs.sh 09:50:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 09:50:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 09:50:31 ---> job-cost.sh 09:50:31 lf-activate-venv: SKIPPING 09:50:31 DEBUG: total: 0.2199999988079071 09:50:31 INFO: Retrieving Stack Cost... 09:50:31 INFO: Retrieving Pricing Info for: v3-standard-8 09:50:32 INFO: Archiving Costs [Pipeline] echo 09:50:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 09:50:32 ---> logs-deploy.sh 09:50:32 lf-activate-venv: SKIPPING 09:50:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1646/1 09:50:32 INFO: archiving workspace using pattern(s): 09:50:33 Archives upload complete. 09:50:33 INFO: archiving logs to Nexus