Pull request #1633 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 weichou1229 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 888d0147f37d1b0cb5e12db1661dbf13e1e18e03+1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 (8f78896d6264ac4c26d3aa5d544d8dbfdf6e099d) 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-ssh5927832088286659261.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-ssh14690525601969016273.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-1633/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-1633/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3236151452308105208.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-1633/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16115502852212560600.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-ssh3514602379111951960.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-1633/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-1633/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16273864604768594477.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/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-16952 in /w/workspace/gexfoundry_device-sdk-go_PR-1633 [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-1633 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1633/head:refs/remotes/origin/PR-1633 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 into PR head commit 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 Merge succeeded, producing 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 Checking out Revision 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 (PR-1633) > git config core.sparsecheckout # timeout=10 > git checkout -f 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 # 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 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 # timeout=10 Commit message: "feat: Allow reading value to be null" 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 08:15:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 08:15:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 08:15:41 ========================================================= 08:15:41 EdgeX Global Pipelines Version Info 08:15:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 08:15:42 ------------------- 08:15:42 stable info: 08:15:42 ------------------- 08:15:42 Commited By: Ginny Guan ginny@iotechsys.com 08:15:42 Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac 08:15:42 Message: update stable to v1.0.265 08:15:43 ------------------- 08:15:43 experimental info: 08:15:43 ------------------- 08:15:43 Commited By: Cherry Wang cherry@iotechsys.com 08:15:43 Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 08:15:43 Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 08:15:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 08:15:44 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 08:15:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1633 [Pipeline] echo 08:15:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1633 [Pipeline] echo 08:15:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1633 [Pipeline] echo 08:15:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [Pipeline] echo 08:15:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 888d014 [Pipeline] echo 08:15:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:15:45 provisioning config files... 08:15:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/config18411222856112031974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:15:45 ---> ****-login.sh 08:15:45 nexus3.edgexfoundry.org:10001 08:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:46 Configure a credential helper to remove this warning. See 08:15:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:46 08:15:46 Login Succeeded 08:15:46 nexus3.edgexfoundry.org:10002 08:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:46 Configure a credential helper to remove this warning. See 08:15:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:46 08:15:46 Login Succeeded 08:15:46 nexus3.edgexfoundry.org:10003 08:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:46 Configure a credential helper to remove this warning. See 08:15:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:46 08:15:46 Login Succeeded 08:15:46 nexus3.edgexfoundry.org:10004 08:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:46 Configure a credential helper to remove this warning. See 08:15:46 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:46 08:15:46 Login Succeeded 08:15:46 ****.io 08:15:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:15:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:15:47 Configure a credential helper to remove this warning. See 08:15:47 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:15:47 08:15:47 Login Succeeded 08:15:47 ---> ****-login.sh ends [Pipeline] } 08:15:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 08:15:47 + git rev-list -1 --merges 888d0147f37d1b0cb5e12db1661dbf13e1e18e03~1..888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [Pipeline] echo 08:15:47 -----------> git rev-list -1 --merges 888d0147f37d1b0cb5e12db1661dbf13e1e18e03~1..888d0147f37d1b0cb5e12db1661dbf13e1e18e03 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [false] [Pipeline] sh 08:15:48 + git log --format=format:%s -1 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [Pipeline] echo 08:15:48 ========================================================= 08:15:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 08:15:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 08:15:48 + git log --format=format:%s -1 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [Pipeline] echo 08:15:48 [semverPrep] GIT_COMMIT: 888d0147f37d1b0cb5e12db1661dbf13e1e18e03, Commit Message: feat: Allow reading value to be null [Pipeline] echo 08:15:48 [semverPrep] This is not a build commit. [Pipeline] sh 08:15:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 08:15:49 + grep -v github /etc/ssh/ssh_known_hosts 08:15:49 + [ -e /tmp/ssh_known_hosts ] 08:15:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 08:15:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 08:15:49 + sudo tee -a /etc/ssh/ssh_known_hosts 08:15:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:15:49 08:15:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:15:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:15:50 0.1.4: Pulling from edgex-devops/py-git-semver 08:15:50 b85a868b505f: Pulling fs layer 08:15:50 e2be974225ed: Pulling fs layer 08:15:50 339a4e72a1f5: Pulling fs layer 08:15:50 988bab9f4d93: Pulling fs layer 08:15:50 1469e6f7b9e6: Pulling fs layer 08:15:50 eaf3925da568: Pulling fs layer 08:15:50 bab4dde63d76: Pulling fs layer 08:15:50 1469e6f7b9e6: Waiting 08:15:50 988bab9f4d93: Waiting 08:15:50 bab4dde63d76: Waiting 08:15:50 eaf3925da568: Waiting 08:15:50 bde34c3a00c8: Pulling fs layer 08:15:50 b352a97aabf1: Pulling fs layer 08:15:50 4872d77fe225: Pulling fs layer 08:15:50 5851b861e8e6: Pulling fs layer 08:15:50 bde34c3a00c8: Waiting 08:15:50 b352a97aabf1: Waiting 08:15:50 4872d77fe225: Waiting 08:15:50 e2be974225ed: Download complete 08:15:50 988bab9f4d93: Download complete 08:15:50 1469e6f7b9e6: Verifying Checksum 08:15:50 1469e6f7b9e6: Download complete 08:15:50 339a4e72a1f5: Verifying Checksum 08:15:50 339a4e72a1f5: Download complete 08:15:50 eaf3925da568: Download complete 08:15:50 bde34c3a00c8: Verifying Checksum 08:15:50 bde34c3a00c8: Download complete 08:15:50 b352a97aabf1: Download complete 08:15:50 4872d77fe225: Verifying Checksum 08:15:50 4872d77fe225: Download complete 08:15:50 5851b861e8e6: Verifying Checksum 08:15:50 5851b861e8e6: Download complete 08:15:50 b85a868b505f: Download complete 08:15:50 bab4dde63d76: Verifying Checksum 08:15:50 bab4dde63d76: Download complete 08:15:51 b85a868b505f: Pull complete 08:15:51 e2be974225ed: Pull complete 08:15:52 339a4e72a1f5: Pull complete 08:15:52 988bab9f4d93: Pull complete 08:15:52 1469e6f7b9e6: Pull complete 08:15:52 eaf3925da568: Pull complete 08:15:54 bab4dde63d76: Pull complete 08:15:54 bde34c3a00c8: Pull complete 08:15:54 b352a97aabf1: Pull complete 08:15:54 4872d77fe225: Pull complete 08:15:54 5851b861e8e6: Pull complete 08:15:54 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 08:15:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 08:15:54 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:15:55 prd-ubuntu20.04-docker-8c-8g-16952 does not seem to be running inside a container 08:15:55 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1633 -v /w/workspace/gexfoundry_device-sdk-go_PR-1633:/w/workspace/gexfoundry_device-sdk-go_PR-1633:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1633@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 08:15:58 $ docker top 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 -eo pid,comm 08:15:58 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). 08:15:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 08:15:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:15:58 [ssh-agent] Looking for ssh-agent implementation... 08:15:59 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:15:59 $ docker exec 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 ssh-agent 08:15:59 SSH_AUTH_SOCK=/tmp/ssh-p8V2W0RW9OjY/agent.32 08:15:59 SSH_AGENT_PID=38 08:15:59 Running ssh-add (command line suppressed) 08:15:59 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/private_key_10905487573913890769.key (/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/private_key_10905487573913890769.key) 08:15:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:15:59 + git tag --points-at HEAD [Pipeline] } 08:15:59 $ docker exec --env ******** --env ******** 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 ssh-agent -k 08:15:59 unset SSH_AUTH_SOCK; 08:15:59 unset SSH_AGENT_PID; 08:15:59 echo Agent pid 38 killed; 08:15:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 08:15:59 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 08:15:59 [ssh-agent] Looking for ssh-agent implementation... 08:16:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 08:16:00 $ docker exec 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 ssh-agent 08:16:00 SSH_AUTH_SOCK=/tmp/ssh-qiiAmwTAotzO/agent.71 08:16:00 SSH_AGENT_PID=77 08:16:00 Running ssh-add (command line suppressed) 08:16:00 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/private_key_7094586498252052426.key (/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/private_key_7094586498252052426.key) 08:16:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 08:16:00 + git semver init 08:16:00 2024-10-04 08:16:00,770 [run_init] DEBUG init version:0.0.0 force:False 08:16:00 2024-10-04 08:16:00,771 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver 08:16:00 2024-10-04 08:16:00,771 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver 08:16:00 2024-10-04 08:16:00,771 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1633, universal_newlines=False, shell=None, istream=None) 08:16:03 2024-10-04 08:16:02,819 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633/.git/info/exclude 08:16:03 2024-10-04 08:16:02,819 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver/PR-1633 with force:False 08:16:03 2024-10-04 08:16:02,819 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver/PR-1633 08:16:03 2024-10-04 08:16:02,823 [execute] INFO git cat-file --batch-check 08:16:03 2024-10-04 08:16:02,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver, universal_newlines=False, shell=None, istream=) 08:16:03 2024-10-04 08:16:02,830 [execute] INFO git cat-file --batch 08:16:03 2024-10-04 08:16:02,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver, universal_newlines=False, shell=None, istream=) 08:16:03 2024-10-04 08:16:02,836 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1633/.semver/PR-1633 08:16:03 0.0.0 [Pipeline] } 08:16:03 $ docker exec --env ******** --env ******** 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 ssh-agent -k 08:16:03 unset SSH_AUTH_SOCK; 08:16:03 unset SSH_AGENT_PID; 08:16:03 echo Agent pid 77 killed; 08:16:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 08:16:04 + git semver [Pipeline] } 08:16:04 $ docker stop --time=1 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 08:16:05 $ docker rm -f --volumes 53d15f9c5574d332631d0525ae57ca35978c962537d3c2b996c6bd42868c7732 [Pipeline] // withDockerContainer [Pipeline] sh 08:16:05 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 08:16:06 Stashed 1 file(s) [Pipeline] echo 08:16: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 08:16:07 provisioning config files... 08:16:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/config5015717437464209818tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:16:07 ---> ****-login.sh 08:16:07 nexus3.edgexfoundry.org:10001 08:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:07 Configure a credential helper to remove this warning. See 08:16:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:07 08:16:07 Login Succeeded 08:16:07 nexus3.edgexfoundry.org:10002 08:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:07 Configure a credential helper to remove this warning. See 08:16:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:07 08:16:07 Login Succeeded 08:16:07 nexus3.edgexfoundry.org:10003 08:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:07 Configure a credential helper to remove this warning. See 08:16:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:07 08:16:07 Login Succeeded 08:16:07 nexus3.edgexfoundry.org:10004 08:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:07 Configure a credential helper to remove this warning. See 08:16:07 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:07 08:16:07 Login Succeeded 08:16:07 ****.io 08:16:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 08:16:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 08:16:08 Configure a credential helper to remove this warning. See 08:16:08 https://docs.****.com/engine/reference/commandline/login/#credentials-store 08:16:08 08:16:08 Login Succeeded 08:16:08 ---> ****-login.sh ends [Pipeline] } 08:16:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 08:16:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:16:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 08:16:08 ========================================================= 08:16:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] 08:16:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:16: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 . 08:16:09 Sending build context to Docker daemon 25.43MB 08:16:09 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 08:16:09 Step 2/10 : FROM ${BASE} AS builder 08:16:09 1.23-alpine: Pulling from edgex-devops/edgex-golang-base 08:16:09 43c4264eed91: Pulling fs layer 08:16:09 4cc291be95ef: Pulling fs layer 08:16:09 2ac1f1163629: Pulling fs layer 08:16:09 5c3c966382ef: Pulling fs layer 08:16:09 4f4fb700ef54: Pulling fs layer 08:16:09 5d5c8e513c77: Pulling fs layer 08:16:09 9f66e0745190: Pulling fs layer 08:16:09 f49a43e4bbc0: Pulling fs layer 08:16:09 561ebcabdf7f: Pulling fs layer 08:16:09 4f4fb700ef54: Waiting 08:16:09 5d5c8e513c77: Waiting 08:16:09 9f66e0745190: Waiting 08:16:09 f49a43e4bbc0: Waiting 08:16:09 561ebcabdf7f: Waiting 08:16:09 5c3c966382ef: Waiting 08:16:09 4cc291be95ef: Verifying Checksum 08:16:09 4cc291be95ef: Download complete 08:16:09 5c3c966382ef: Verifying Checksum 08:16:09 5c3c966382ef: Download complete 08:16:09 4f4fb700ef54: Verifying Checksum 08:16:09 4f4fb700ef54: Download complete 08:16:09 5d5c8e513c77: Download complete 08:16:09 43c4264eed91: Download complete 08:16:09 9f66e0745190: Verifying Checksum 08:16:09 9f66e0745190: Download complete 08:16:09 43c4264eed91: Pull complete 08:16:09 561ebcabdf7f: Download complete 08:16:09 4cc291be95ef: Pull complete 08:16:09 2ac1f1163629: Download complete 08:16:10 f49a43e4bbc0: Verifying Checksum 08:16:10 f49a43e4bbc0: Download complete 08:16:13 2ac1f1163629: Pull complete 08:16:13 5c3c966382ef: Pull complete 08:16:13 4f4fb700ef54: Pull complete 08:16:13 5d5c8e513c77: Pull complete 08:16:13 9f66e0745190: Pull complete 08:16:16 f49a43e4bbc0: Pull complete 08:16:16 561ebcabdf7f: Pull complete 08:16:16 Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d 08:16:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine 08:16:16 ---> 3a752c3f9dda 08:16:16 Step 3/10 : ARG MAKE=make build 08:16:21 ---> Running in b9adf830147d 08:16:21 Removing intermediate container b9adf830147d 08:16:21 ---> 74e674b111de 08:16:21 Step 4/10 : WORKDIR /device-sdk-go 08:16:21 ---> Running in 4fc1238727c4 08:16:21 Removing intermediate container 4fc1238727c4 08:16:21 ---> 6b8a39380c4f 08:16:21 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:16:21 ---> Running in 6f462d598b31 08:16:21 Removing intermediate container 6f462d598b31 08:16:21 ---> 6f7677f1d35d 08:16:21 Step 6/10 : RUN apk add --update --no-cache make git 08:16:21 ---> Running in 71d51081ab63 08:16:21 Still waiting to schedule task 08:16:21 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-16704’ 08:16:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:16:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:16:22 OK: 246 MiB in 54 packages 08:16:22 Removing intermediate container 71d51081ab63 08:16:22 ---> 76c61667adae 08:16:22 Step 7/10 : COPY go.mod vendor* ./ 08:16:22 ---> d962ab4234c2 08:16:22 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:16:22 ---> Running in 2bf02a266eec 08:17:09 Removing intermediate container 2bf02a266eec 08:17:09 ---> 036ea29fd90d 08:17:09 Step 9/10 : COPY . . 08:17:09 ---> b8311cc286ad 08:17:09 Step 10/10 : RUN ${MAKE} 08:17:09 ---> Running in 58c3f4f5383f 08:17:09 noop 08:17:09 Removing intermediate container 58c3f4f5383f 08:17:09 ---> 980ae6541fcf 08:17:09 Successfully built 980ae6541fcf 08:17:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:10 + docker inspect -f . ci-base-image-x86_64 08:17:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:10 prd-ubuntu20.04-docker-8c-8g-16952 does not seem to be running inside a container 08:17:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1633 -v /w/workspace/gexfoundry_device-sdk-go_PR-1633:/w/workspace/gexfoundry_device-sdk-go_PR-1633:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1633@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 08:17:10 $ docker top 37d15d066dcb7aa4d97c2dc7d5c6ed961cc92d3fb9a696b8a9c0325b6bde407c -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:11 + go version 08:17:11 go version go1.23.2 linux/amd64 [Pipeline] } 08:17:11 $ docker stop --time=1 37d15d066dcb7aa4d97c2dc7d5c6ed961cc92d3fb9a696b8a9c0325b6bde407c 08:17:12 $ docker rm -f --volumes 37d15d066dcb7aa4d97c2dc7d5c6ed961cc92d3fb9a696b8a9c0325b6bde407c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:17:13 + docker inspect -f . ci-base-image-x86_64 08:17:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:17:13 prd-ubuntu20.04-docker-8c-8g-16952 does not seem to be running inside a container 08:17:13 $ 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-1633 -v /w/workspace/gexfoundry_device-sdk-go_PR-1633:/w/workspace/gexfoundry_device-sdk-go_PR-1633:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1633@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 08:17:13 $ docker top e1e77f521d2f7ab2699ab00f89a4e7c6488155e947463d2c02b423cea5ed1568 -eo pid,comm [Pipeline] { [Pipeline] sh 08:17:14 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1633 [Pipeline] fileExists [Pipeline] sh 08:17:14 + make test 08:17:14 go test -race -coverprofile=coverage.out ./... 08:17:22 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 08:18:01 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 08:18:01 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 08:18:01 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 08:18:01 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 08:18:01 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 08:18:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.035s coverage: 26.0% of statements 08:18:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.030s coverage: 79.4% of statements 08:18:01 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 08:18:01 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 08:18:01 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 08:18:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.049s coverage: 86.0% of statements 08:18:01 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 08:18:01 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 08:18:01 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 08:18:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.079s coverage: 45.2% of statements 08:18:02 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 08:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.040s coverage: 14.1% of statements 08:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.133s coverage: 44.6% of statements 08:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.055s coverage: 68.3% of statements 08:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.136s coverage: 88.3% of statements 08:18:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.051s coverage: 5.3% of statements 08:18:36 GO111MODULE=on go vet ./... 08:18:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:18:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:18:39 ./bin/test-attribution-txt.sh 08:18:39 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 08:18:39 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 08:18:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 08:18:39 $ docker stop --time=1 e1e77f521d2f7ab2699ab00f89a4e7c6488155e947463d2c02b423cea5ed1568 08:18:50 $ docker rm -f --volumes e1e77f521d2f7ab2699ab00f89a4e7c6488155e947463d2c02b423cea5ed1568 [Pipeline] // withDockerContainer [Pipeline] sh 08:18:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:18:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 08:18:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:18:52 + ls -al . 08:18:52 total 712 08:18:52 drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 08:17 . 08:18:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 08:15 .. 08:18:52 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 08:15 .dockerignore 08:18:52 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 08:18 .git 08:18:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:15 .github 08:18:52 -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 08:15 .gitignore 08:18:52 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 08:15 .golangci.yml 08:18:52 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 08:16 .semver 08:18:52 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 08:15 CHANGELOG.md 08:18:52 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 08:15 GOVERNANCE.md 08:18:52 -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 08:15 Jenkinsfile 08:18:52 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 08:15 LICENSE 08:18:52 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 08:15 Makefile 08:18:52 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 08:15 OWNERS.md 08:18:52 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 08:15 README.md 08:18:52 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 08:16 VERSION 08:18:52 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 08:15 bin 08:18:52 -rw-r--r-- 1 jenkins jenkins 466603 Oct 4 08:18 coverage.out 08:18:52 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 08:15 example 08:18:52 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 08:15 go.mod 08:18:52 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 08:15 go.sum 08:18:52 drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 08:15 internal 08:18:52 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 08:15 openapi 08:18:52 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 08:15 pkg 08:18:52 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 08:15 snap 08:18:52 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 08:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:18:52 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=888d0147f37d1b0cb5e12db1661dbf13e1e18e03 --label arch=amd64 --label version=0.0.0 . 08:18:52 Sending build context to Docker daemon 25.89MB 08:18:52 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 08:18:52 Step 2/24 : FROM ${BASE} AS builder 08:18:52 ---> 980ae6541fcf 08:18:52 Step 3/24 : ARG MAKE=make build 08:18:53 ---> Running in c0dfea757d1b 08:18:53 Removing intermediate container c0dfea757d1b 08:18:53 ---> f37c423b1123 08:18:53 Step 4/24 : WORKDIR /device-sdk-go 08:18:53 ---> Running in 3bff8052b133 08:18:53 Removing intermediate container 3bff8052b133 08:18:53 ---> 907be96eadf9 08:18:53 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 08:18:53 ---> Running in 7e9bd1b10c1f 08:18:53 Removing intermediate container 7e9bd1b10c1f 08:18:53 ---> f0efdbb635af 08:18:53 Step 6/24 : RUN apk add --update --no-cache make git 08:18:53 ---> Running in f76f06d7f849 08:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:18:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:18:54 OK: 246 MiB in 54 packages 08:18:54 Removing intermediate container f76f06d7f849 08:18:54 ---> 527859896f43 08:18:54 Step 7/24 : COPY go.mod vendor* ./ 08:18:55 ---> 64b127121a21 08:18:55 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:18:55 ---> Running in cb0003a1f152 08:18:56 Removing intermediate container cb0003a1f152 08:18:56 ---> 580eccafd5bd 08:18:56 Step 9/24 : COPY . . 08:18:57 ---> 292e396fe2e2 08:18:57 Step 10/24 : RUN ${MAKE} 08:18:57 ---> Running in e28fa84b0ee6 08:18:57 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:19:44 Removing intermediate container e28fa84b0ee6 08:19:44 ---> d5dc79016e39 08:19:44 Step 11/24 : FROM alpine:3.20 08:19:44 3.20: Pulling from library/alpine 08:19:44 43c4264eed91: Already exists 08:19:44 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 08:19:44 Status: Downloaded newer image for alpine:3.20 08:19:44 ---> 91ef0af61f39 08:19:44 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 08:19:44 ---> Running in 3c3f693c1757 08:19:44 Removing intermediate container 3c3f693c1757 08:19:44 ---> d058ae7a5309 08:19:44 Step 13/24 : RUN apk add --update --no-cache dumb-init 08:19:44 ---> Running in c83f6d95e9b6 08:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:19:44 (1/1) Installing dumb-init (1.2.5-r3) 08:19:44 Executing busybox-1.36.1-r29.trigger 08:19:44 OK: 8 MiB in 15 packages 08:19:44 Removing intermediate container c83f6d95e9b6 08:19:44 ---> 3e8c37a9c3c4 08:19:44 Step 14/24 : RUN apk --no-cache upgrade 08:19:44 ---> Running in 8746e934963f 08:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:19:44 Upgrading critical system libraries and apk-tools: 08:19:44 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 08:19:44 Executing busybox-1.36.1-r29.trigger 08:19:44 Continuing the upgrade transaction with new apk-tools: 08:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz 08:19:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz 08:19:44 OK: 8 MiB in 15 packages 08:19:44 Removing intermediate container 8746e934963f 08:19:44 ---> 340fb7d5815d 08:19:44 Step 15/24 : WORKDIR / 08:19:44 ---> Running in 99c6fe3144db 08:19:44 Removing intermediate container 99c6fe3144db 08:19:44 ---> 6c1c5f59ca0c 08:19:44 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:19:44 ---> ea81ebb08133 08:19:44 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:19:44 ---> 388f4b7df34b 08:19:44 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:19:44 ---> ebe6288745ed 08:19:44 Step 19/24 : EXPOSE 59999 08:19:44 ---> Running in 5319e3c9856f 08:19:44 Removing intermediate container 5319e3c9856f 08:19:44 ---> 43c0de668a26 08:19:44 Step 20/24 : ENTRYPOINT ["/device-simple"] 08:19:44 ---> Running in d7207466cdf8 08:19:44 Removing intermediate container d7207466cdf8 08:19:44 ---> 2b3782a2c02e 08:19:44 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 08:19:44 ---> Running in 7978f07a5f32 08:19:44 Removing intermediate container 7978f07a5f32 08:19:44 ---> a8729ed138cc 08:19:44 Step 22/24 : LABEL arch=amd64 08:19:44 ---> Running in 3b19bbdebc56 08:19:44 Removing intermediate container 3b19bbdebc56 08:19:44 ---> 0a9efc69a742 08:19:44 Step 23/24 : LABEL git_sha=888d0147f37d1b0cb5e12db1661dbf13e1e18e03 08:19:44 ---> Running in 6d137d721637 08:19:44 Removing intermediate container 6d137d721637 08:19:44 ---> ad6fa8191b50 08:19:44 Step 24/24 : LABEL version=0.0.0 08:19:44 ---> Running in c56906869f90 08:19:44 Removing intermediate container c56906869f90 08:19:44 ---> f6f4e11c966b 08:19:44 [Warning] One or more build-args [ARCH] were not consumed 08:19:44 Successfully built f6f4e11c966b 08:19:44 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 08:19:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:19:45 08:19:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 08:19:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:19:45 latest: Pulling from edgex-lftools-log-publisher 08:19:45 5eb5b503b376: Pulling fs layer 08:19:45 5c69ac0246d0: Pulling fs layer 08:19:45 ec43610c2a17: Pulling fs layer 08:19:45 3a2ae6a8a46f: Pulling fs layer 08:19:45 33b1e0a273af: Pulling fs layer 08:19:45 5d3b04190fa2: Pulling fs layer 08:19:45 2f39f015ded8: Pulling fs layer 08:19:45 3a2ae6a8a46f: Waiting 08:19:45 33b1e0a273af: Waiting 08:19:45 5d3b04190fa2: Waiting 08:19:45 2f39f015ded8: Waiting 08:19:45 5c69ac0246d0: Download complete 08:19:45 3a2ae6a8a46f: Verifying Checksum 08:19:45 3a2ae6a8a46f: Download complete 08:19:45 33b1e0a273af: Verifying Checksum 08:19:45 33b1e0a273af: Download complete 08:19:45 5d3b04190fa2: Verifying Checksum 08:19:45 5d3b04190fa2: Download complete 08:19:45 ec43610c2a17: Download complete 08:19:46 5eb5b503b376: Verifying Checksum 08:19:46 5eb5b503b376: Download complete 08:19:46 2f39f015ded8: Download complete 08:19:47 5eb5b503b376: Pull complete 08:19:47 5c69ac0246d0: Pull complete 08:19:47 ec43610c2a17: Pull complete 08:19:47 3a2ae6a8a46f: Pull complete 08:19:48 33b1e0a273af: Pull complete 08:19:48 5d3b04190fa2: Pull complete 08:19:52 2f39f015ded8: Pull complete 08:19:52 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 08:19:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:19:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 08:19:52 prd-ubuntu20.04-docker-8c-8g-16952 does not seem to be running inside a container 08:19:53 $ 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-1633 -v /w/workspace/gexfoundry_device-sdk-go_PR-1633:/w/workspace/gexfoundry_device-sdk-go_PR-1633:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1633@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 08:19:58 $ docker top 75b4b1670bb59941badbe0b7948661faf218408c2e57e596c510d7a882e93c9a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:19:59 ---> job-cost.sh 08:19:59 lf-activate-venv: SKIPPING 08:19:59 INFO: No Stack... 08:19:59 INFO: Retrieving Pricing Info for: v3-standard-8 08:19:59 INFO: Archiving Costs [Pipeline] sh 08:20:00 + cut -d,+ -f6 08:20:00 cat /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives/cost.csv [Pipeline] lock 08:20:00 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] 08:20:00 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] did not exist. Created. 08:20:00 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:20:00 + echo total: 0.2199999988079071 [Pipeline] stash 08:20:00 Stashed 1 file(s) [Pipeline] } 08:20:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:20:00 $ docker stop --time=1 75b4b1670bb59941badbe0b7948661faf218408c2e57e596c510d7a882e93c9a 08:20:02 $ docker rm -f --volumes 75b4b1670bb59941badbe0b7948661faf218408c2e57e596c510d7a882e93c9a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 09:53:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20459 in /w/workspace/gexfoundry_device-sdk-go_PR-1633 [Pipeline] { [Pipeline] ws 09:53:36 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 09:53:39 The recommended git tool is: git 09:53:44 using credential edgex-jenkins-ssh 09:53:44 Cloning the remote Git repository 09:53:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 09:53:44 > git init /w/workspace/device-sdk-go/1 # timeout=10 09:53:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:53:44 > git --version # timeout=10 09:53:44 > git --version # 'git version 2.25.1' 09:53:44 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 09:53:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:53:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 09:53:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 09:53:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 09:53:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1633/head:refs/remotes/origin/PR-1633 +refs/heads/main:refs/remotes/origin/main # timeout=10 09:53:49 Merging remotes/origin/main commit 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 into PR head commit 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 09:53:50 Merge succeeded, producing 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 09:53:50 Checking out Revision 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 (PR-1633) 09:53:49 > git config core.sparsecheckout # timeout=10 09:53:49 > git checkout -f 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 # timeout=10 09:53:49 > git remote # timeout=10 09:53:49 > git config --get remote.origin.url # timeout=10 09:53:49 using GIT_SSH to set credentials SSH Credentials for GitHub 09:53:50 > git merge 1b8f5c3fc1bdd6f1c6be262479a15f7fdf116ab9 # timeout=10 09:53:50 > git rev-parse HEAD^{commit} # timeout=10 09:53:50 > git config core.sparsecheckout # timeout=10 09:53:50 > git checkout -f 888d0147f37d1b0cb5e12db1661dbf13e1e18e03 # timeout=10 09:53:53 Commit message: "feat: Allow reading value to be null" 09:53:53 > git --version # timeout=10 09:53:53 > git --version # 'git version 2.25.1' 09:53:53 fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 09:53:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 09:53:55 % Total % Received % Xferd Average Speed Time Time Time Current 09:53:55 Dload Upload Total Spent Left Speed 09:53:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 114k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh 09:53:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 09:53:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 09:53:56 + sudo tee /etc/docker/daemon.new 09:53:56 { 09:53:56 "registry-mirrors": [ 09:53:56 "https://nexus3.edgexfoundry.org:10001" 09:53:56 ], 09:53:56 "bip": "10.250.0.254/24", 09:53:56 "hosts": [ 09:53:56 "tcp://0.0.0.0:5555", 09:53:56 "unix:///var/run/docker.sock" 09:53:56 ], 09:53:56 "mtu": 1458, 09:53:56 "selinux-enabled": true, 09:53:56 "seccomp-profile": "/etc/docker/seccomp.json" 09:53:56 } [Pipeline] sh 09:53:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 09:53:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 09:54:15 provisioning config files... 09:54:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5107264427485563079tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 09:54:16 ---> ****-login.sh 09:54:16 nexus3.edgexfoundry.org:10001 09:54:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:54:16 Configure a credential helper to remove this warning. See 09:54:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:54:16 09:54:16 Login Succeeded 09:54:16 nexus3.edgexfoundry.org:10002 09:54:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:54:16 Configure a credential helper to remove this warning. See 09:54:16 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:54:16 09:54:16 Login Succeeded 09:54:16 nexus3.edgexfoundry.org:10003 09:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:54:17 Configure a credential helper to remove this warning. See 09:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:54:17 09:54:17 Login Succeeded 09:54:17 nexus3.edgexfoundry.org:10004 09:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:54:17 Configure a credential helper to remove this warning. See 09:54:17 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:54:17 09:54:17 Login Succeeded 09:54:17 ****.io 09:54:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 09:54:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 09:54:18 Configure a credential helper to remove this warning. See 09:54:18 https://docs.****.com/engine/reference/commandline/login/#credentials-store 09:54:18 09:54:18 Login Succeeded 09:54:18 ---> ****-login.sh ends [Pipeline] } 09:54:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 09:54:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:54:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 09:54:18 ========================================================= 09:54:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] 09:54:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:54:19 + 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:54:19 Sending build context to Docker daemon 13.18MB 09:54:19 Step 1/10 : ARG BASE=golang:1.23-alpine3.20 09:54:19 Step 2/10 : FROM ${BASE} AS builder 09:54:19 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 09:54:19 cf04c63912e1: Pulling fs layer 09:54:19 55b35a11ae5e: Pulling fs layer 09:54:19 a37a00ec5f00: Pulling fs layer 09:54:19 50b3750afda1: Pulling fs layer 09:54:19 4f4fb700ef54: Pulling fs layer 09:54:19 80978eb59214: Pulling fs layer 09:54:19 c9f46d7d2bd2: Pulling fs layer 09:54:19 c5a475d317c9: Pulling fs layer 09:54:19 4f4fb700ef54: Waiting 09:54:19 80978eb59214: Waiting 09:54:19 c9f46d7d2bd2: Waiting 09:54:19 c5a475d317c9: Waiting 09:54:20 55b35a11ae5e: Verifying Checksum 09:54:20 55b35a11ae5e: Download complete 09:54:20 50b3750afda1: Verifying Checksum 09:54:20 50b3750afda1: Download complete 09:54:20 4f4fb700ef54: Verifying Checksum 09:54:20 4f4fb700ef54: Download complete 09:54:20 80978eb59214: Verifying Checksum 09:54:20 80978eb59214: Download complete 09:54:20 cf04c63912e1: Verifying Checksum 09:54:20 cf04c63912e1: Download complete 09:54:20 c5a475d317c9: Verifying Checksum 09:54:20 c5a475d317c9: Download complete 09:54:21 cf04c63912e1: Pull complete 09:54:21 55b35a11ae5e: Pull complete 09:54:21 a37a00ec5f00: Verifying Checksum 09:54:21 a37a00ec5f00: Download complete 09:54:22 c9f46d7d2bd2: Verifying Checksum 09:54:22 c9f46d7d2bd2: Download complete 09:54:35 a37a00ec5f00: Pull complete 09:54:35 50b3750afda1: Pull complete 09:54:36 4f4fb700ef54: Pull complete 09:54:37 80978eb59214: Pull complete 09:54:45 c9f46d7d2bd2: Pull complete 09:54:46 c5a475d317c9: Pull complete 09:54:46 Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b 09:54:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine 09:54:46 ---> be29e6b0f0d4 09:54:46 Step 3/10 : ARG MAKE=make build 09:54:46 ---> Running in 82fb10ba189c 09:54:47 Removing intermediate container 82fb10ba189c 09:54:47 ---> fb8199c99ba2 09:54:47 Step 4/10 : WORKDIR /device-sdk-go 09:54:47 ---> Running in 08dae232b958 09:54:47 Removing intermediate container 08dae232b958 09:54:47 ---> e57f39922eca 09:54:47 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 09:54:47 ---> Running in e3d7ec2e69c0 09:54:47 Removing intermediate container e3d7ec2e69c0 09:54:47 ---> 9acf23c71514 09:54:47 Step 6/10 : RUN apk add --update --no-cache make git 09:54:47 ---> Running in 9391e3104139 09:54:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 09:54:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 09:54:50 OK: 238 MiB in 54 packages 09:54:51 Removing intermediate container 9391e3104139 09:54:51 ---> f50d0c55bfa2 09:54:51 Step 7/10 : COPY go.mod vendor* ./ 09:54:52 ---> 6be01a98072d 09:54:52 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 09:54:52 ---> Running in 76769dfb3a41 09:56:58 Removing intermediate container 76769dfb3a41 09:56:58 ---> 19d9759dc140 09:56:58 Step 9/10 : COPY . . 09:56:58 ---> 0b3d567071d7 09:56:58 Step 10/10 : RUN ${MAKE} 09:56:58 ---> Running in d885e88f62cd 09:56:58 noop 09:56:58 Removing intermediate container d885e88f62cd 09:56:58 ---> f514b2144fe1 09:56:58 Successfully built f514b2144fe1 09:56:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:56:59 + docker inspect -f . ci-base-image-arm64 09:56:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:56:59 prd-ubuntu20.04-docker-arm64-4c-16g-20459 does not seem to be running inside a container 09:56:59 $ 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:57:00 $ docker top d7c9b574666e0dd22130dba93e7845158d5784e3d51e89f3efabc6d4d7913c46 -eo pid,comm [Pipeline] { [Pipeline] sh 09:57:01 + go version 09:57:01 go version go1.23.2 linux/arm64 [Pipeline] } 09:57:01 $ docker stop --time=1 d7c9b574666e0dd22130dba93e7845158d5784e3d51e89f3efabc6d4d7913c46 09:57:03 $ docker rm -f --volumes d7c9b574666e0dd22130dba93e7845158d5784e3d51e89f3efabc6d4d7913c46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 09:57:04 + docker inspect -f . ci-base-image-arm64 09:57:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 09:57:04 prd-ubuntu20.04-docker-arm64-4c-16g-20459 does not seem to be running inside a container 09:57:04 $ 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:57:05 $ docker top 0d4001d23b0e238884d3649e3bf0bd1346f89d1502eefdb4a78b77f5210e946e -eo pid,comm [Pipeline] { [Pipeline] sh 09:57:06 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 09:57:07 + make test 09:57:07 go test -race -coverprofile=coverage.out ./... 09:57:54 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 10:01:15 github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements 10:01:15 github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements 10:01:15 github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements 10:01:15 github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements 10:01:15 github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements 10:01:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.156s coverage: 26.0% of statements 10:01:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.182s coverage: 79.4% of statements 10:01:35 github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements 10:01:35 github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements 10:01:36 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.273s coverage: 86.0% of statements 10:01:49 github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements 10:01:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.559s coverage: 45.2% of statements 10:01:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.267s coverage: 14.1% of statements 10:01:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.358s coverage: 44.6% of statements 10:01:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 10:01:56 github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements 10:01:56 github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements 10:01:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.371s coverage: 68.3% of statements 10:02:02 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.339s coverage: 88.3% of statements 10:02:07 github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements 10:02:09 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.289s coverage: 5.3% of statements 10:02:10 WARNING: Linting skipped (not on x86_64 or linter not installed) 10:02:10 GO111MODULE=on go vet ./... 10:05:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:05:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:05:31 ./bin/test-attribution-txt.sh 10:05:31 An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add 10:05:31 An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo 10:05:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 10:05:32 $ docker stop --time=1 0d4001d23b0e238884d3649e3bf0bd1346f89d1502eefdb4a78b77f5210e946e 10:05:33 $ docker rm -f --volumes 0d4001d23b0e238884d3649e3bf0bd1346f89d1502eefdb4a78b77f5210e946e [Pipeline] // withDockerContainer [Pipeline] sh 10:05:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:05:36 Warning: overwriting stash ‘coverage-report’ 10:05:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 10:05:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:05:38 + ls -al . 10:05:38 total 708 10:05:38 drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 09:57 . 10:05:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 09:53 .. 10:05:38 -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 09:53 .dockerignore 10:05:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 09:53 .git 10:05:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 09:53 .github 10:05:38 -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 09:53 .gitignore 10:05:38 -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 09:53 .golangci.yml 10:05:38 -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 09:53 CHANGELOG.md 10:05:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 09:53 GOVERNANCE.md 10:05:38 -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 09:53 Jenkinsfile 10:05:38 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 09:53 LICENSE 10:05:38 -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 09:53 Makefile 10:05:38 -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 09:53 OWNERS.md 10:05:38 -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 09:53 README.md 10:05:38 -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 08:16 VERSION 10:05:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 09:53 bin 10:05:38 -rw-r--r-- 1 jenkins jenkins 466603 Oct 4 10:02 coverage.out 10:05:38 drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 09:53 example 10:05:38 -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 09:53 go.mod 10:05:38 -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 09:53 go.sum 10:05:38 drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 09:53 internal 10:05:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 09:53 openapi 10:05:38 drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 09:53 pkg 10:05:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 09:53 snap 10:05:38 -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 09:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:05:38 + 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=888d0147f37d1b0cb5e12db1661dbf13e1e18e03 --label arch=arm64 --label version=0.0.0 . 10:05:39 Sending build context to Docker daemon 13.65MB 10:05:39 Step 1/24 : ARG BASE=golang:1.23-alpine3.20 10:05:39 Step 2/24 : FROM ${BASE} AS builder 10:05:39 ---> f514b2144fe1 10:05:39 Step 3/24 : ARG MAKE=make build 10:05:39 ---> Running in 92f867d3ab6a 10:05:39 Removing intermediate container 92f867d3ab6a 10:05:39 ---> 5b9f2c8ba5a3 10:05:39 Step 4/24 : WORKDIR /device-sdk-go 10:05:39 ---> Running in 7159c9cc5eb2 10:05:39 Removing intermediate container 7159c9cc5eb2 10:05:39 ---> 00f217b9d112 10:05:39 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 10:05:39 ---> Running in 378c3dc5d863 10:05:40 Removing intermediate container 378c3dc5d863 10:05:40 ---> 91e74c0b4f18 10:05:40 Step 6/24 : RUN apk add --update --no-cache make git 10:05:40 ---> Running in b2a21e4f1ca8 10:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:05:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:05:42 OK: 238 MiB in 54 packages 10:05:43 Removing intermediate container b2a21e4f1ca8 10:05:43 ---> 64a06a003e28 10:05:43 Step 7/24 : COPY go.mod vendor* ./ 10:05:44 ---> 1d873133af69 10:05:44 Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:05:44 ---> Running in 50fdb8070a2a 10:05:45 Removing intermediate container 50fdb8070a2a 10:05:45 ---> ecf9d4b29f36 10:05:45 Step 9/24 : COPY . . 10:05:47 ---> a4ffeb461b47 10:05:47 Step 10/24 : RUN ${MAKE} 10:05:47 ---> Running in 0fa98f1c2712 10:05:48 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 10:09:26 Removing intermediate container 0fa98f1c2712 10:09:26 ---> 846cef83c440 10:09:26 Step 11/24 : FROM alpine:3.20 10:09:26 3.20: Pulling from library/alpine 10:09:26 cf04c63912e1: Already exists 10:09:26 Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d 10:09:26 Status: Downloaded newer image for alpine:3.20 10:09:26 ---> c157a85ed455 10:09:26 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 10:09:26 ---> Running in c962173a7171 10:09:26 Removing intermediate container c962173a7171 10:09:26 ---> a4d5bf4bd7e5 10:09:26 Step 13/24 : RUN apk add --update --no-cache dumb-init 10:09:26 ---> Running in 170d4e52e047 10:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:09:26 (1/1) Installing dumb-init (1.2.5-r3) 10:09:26 Executing busybox-1.36.1-r29.trigger 10:09:26 OK: 9 MiB in 15 packages 10:09:26 Removing intermediate container 170d4e52e047 10:09:26 ---> a42e22f7cce2 10:09:26 Step 14/24 : RUN apk --no-cache upgrade 10:09:26 ---> Running in d7259d5e1639 10:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:09:26 Upgrading critical system libraries and apk-tools: 10:09:26 (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) 10:09:26 Executing busybox-1.36.1-r29.trigger 10:09:26 Continuing the upgrade transaction with new apk-tools: 10:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz 10:09:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz 10:09:26 OK: 9 MiB in 15 packages 10:09:26 Removing intermediate container d7259d5e1639 10:09:26 ---> 95e424afa285 10:09:26 Step 15/24 : WORKDIR / 10:09:26 ---> Running in 74d7a20b14e5 10:09:26 Removing intermediate container 74d7a20b14e5 10:09:26 ---> a78f0e26ef74 10:09:26 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 10:09:26 ---> a81de5c4191e 10:09:26 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 10:09:26 ---> d486fbaf6fed 10:09:26 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 10:09:26 ---> 540eeb6463f8 10:09:26 Step 19/24 : EXPOSE 59999 10:09:26 ---> Running in f464e84c0e0a 10:09:26 Removing intermediate container f464e84c0e0a 10:09:26 ---> 7f52edf54f78 10:09:26 Step 20/24 : ENTRYPOINT ["/device-simple"] 10:09:26 ---> Running in 0e5c16f3e5d9 10:09:26 Removing intermediate container 0e5c16f3e5d9 10:09:26 ---> 7bea2ece44c8 10:09:26 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 10:09:26 ---> Running in 919a3cfdd93a 10:09:26 Removing intermediate container 919a3cfdd93a 10:09:26 ---> 2feed2dfe282 10:09:26 Step 22/24 : LABEL arch=arm64 10:09:26 ---> Running in 359d1ae46568 10:09:26 Removing intermediate container 359d1ae46568 10:09:26 ---> 69bd6efc9369 10:09:26 Step 23/24 : LABEL git_sha=888d0147f37d1b0cb5e12db1661dbf13e1e18e03 10:09:26 ---> Running in 2323c98e3a1a 10:09:27 Removing intermediate container 2323c98e3a1a 10:09:27 ---> 0ec45af86561 10:09:27 Step 24/24 : LABEL version=0.0.0 10:09:27 ---> Running in b980cc762106 10:09:27 Removing intermediate container b980cc762106 10:09:27 ---> 76ef864471fc 10:09:27 [Warning] One or more build-args [ARCH] were not consumed 10:09:27 Successfully built 76ef864471fc 10:09:27 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 10:09:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:09:28 10:09:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:09:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:09:28 arm64: Pulling from edgex-lftools-log-publisher 10:09:28 8998bd30e6a1: Pulling fs layer 10:09:28 04944245beec: Pulling fs layer 10:09:28 699f458cf7ca: Pulling fs layer 10:09:28 765212b225bb: Pulling fs layer 10:09:28 f23df028b6ca: Pulling fs layer 10:09:28 d65c8cfc05b1: Pulling fs layer 10:09:28 2437ff75d9bd: Pulling fs layer 10:09:28 765212b225bb: Waiting 10:09:28 f23df028b6ca: Waiting 10:09:28 d65c8cfc05b1: Waiting 10:09:28 2437ff75d9bd: Waiting 10:09:29 04944245beec: Verifying Checksum 10:09:29 04944245beec: Download complete 10:09:29 765212b225bb: Verifying Checksum 10:09:29 765212b225bb: Download complete 10:09:29 f23df028b6ca: Verifying Checksum 10:09:29 f23df028b6ca: Download complete 10:09:29 d65c8cfc05b1: Download complete 10:09:29 699f458cf7ca: Verifying Checksum 10:09:29 699f458cf7ca: Download complete 10:09:29 8998bd30e6a1: Verifying Checksum 10:09:29 8998bd30e6a1: Download complete 10:09:32 2437ff75d9bd: Verifying Checksum 10:09:32 2437ff75d9bd: Download complete 10:09:34 8998bd30e6a1: Pull complete 10:09:34 04944245beec: Pull complete 10:09:36 699f458cf7ca: Pull complete 10:09:36 765212b225bb: Pull complete 10:09:37 f23df028b6ca: Pull complete 10:09:37 d65c8cfc05b1: Pull complete 10:09:52 2437ff75d9bd: Pull complete 10:09:52 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 10:09:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 10:09:52 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:09:52 prd-ubuntu20.04-docker-arm64-4c-16g-20459 does not seem to be running inside a container 10:09:52 $ 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 10:09:55 $ docker top e7a052dedf728b1e95c990d30db025420b74ef0f448494d3b2dfe2c4660ba543 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:09:56 ---> job-cost.sh 10:09:56 lf-activate-venv: SKIPPING 10:09:56 INFO: No Stack... 10:09:57 INFO: Retrieving Pricing Info for: v3-standard-4 10:09:57 INFO: Archiving Costs [Pipeline] sh 10:09:58 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 10:09:58 + cut -d, -f6 [Pipeline] lock 10:09:58 Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] 10:09:58 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] did not exist. Created. 10:09:58 Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:09:59 /w/workspace/device-sdk-go/1@tmp/durable-459a5465/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh 10:10:00 + echo total: 0.10999999940395355 [Pipeline] stash 10:10:00 Warning: overwriting stash ‘stack-cost’ 10:10:00 Stashed 1 file(s) [Pipeline] } 10:10:00 Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1633-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:10:00 $ docker stop --time=1 e7a052dedf728b1e95c990d30db025420b74ef0f448494d3b2dfe2c4660ba543 10:10:01 $ docker rm -f --volumes e7a052dedf728b1e95c990d30db025420b74ef0f448494d3b2dfe2c4660ba543 [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 10:10:03 provisioning config files... 10:10:03 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/config14724900244070400827tmp [Pipeline] { [Pipeline] sh 10:10:03 + set +x 10:10:03 + bash -s -- 10:10:03 + curl -s https://codecov.io/bash 10:10:03 10:10:03 _____ _ 10:10:03 / ____| | | 10:10:03 | | ___ __| | ___ ___ _____ __ 10:10:03 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 10:10:03 | |___| (_) | (_| | __/ (_| (_) \ V / 10:10:03 \_____\___/ \__,_|\___|\___\___/ \_/ 10:10:03 Bash-1.0.6 10:10:03 10:10:03 10:10:03 ==> git version 2.25.1 found 10:10:03 ==> 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 10:10:03 Release-Date: 2020-01-08 10:10:03 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 10:10:03 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 10:10:03 ==> Jenkins CI detected. 10:10:03 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1633 10:10:03 project root: . 10:10:03 --> token set from env 10:10:03 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 10:10:03 ==> Running gcov in . (disable via -X gcov) 10:10:03 ==> Python coveragepy not found 10:10:03 ==> Searching for coverage reports in: 10:10:03 + . 10:10:03 -> Found 1 reports 10:10:03 ==> Detecting git/mercurial file structure 10:10:03 ==> Reading reports 10:10:03 + ./coverage.out bytes=466603 10:10:03 ==> Appending adjustments 10:10:03 https://docs.codecov.io/docs/fixing-reports 10:10:03 + Found adjustments 10:10:03 ==> Gzipping contents 10:10:03 44K /tmp/codecov.y6tw3T.gz 10:10:03 ==> Uploading reports 10:10:03 url: https://codecov.io 10:10:03 query: branch=PR-1633&commit=888d0147f37d1b0cb5e12db1661dbf13e1e18e03&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1633%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1633&job=&cmd_args= 10:10:03 -> Pinging Codecov 10:10:03 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1633&commit=888d0147f37d1b0cb5e12db1661dbf13e1e18e03&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1633%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1633&job=&cmd_args= 10:10:03 -> Uploading to 10:10:03 https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/888d0147f37d1b0cb5e12db1661dbf13e1e18e03/c8f93b44-0f20-4373-991e-3a3088617ea4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T101003Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=6a48b0cbba5db2acea6302ed9e4f5deceeefd71f1845d7b88f77bc23b8268668 10:10:03 % Total % Received % Xferd Average Speed Time Time Time Current 10:10:03 Dload Upload Total Spent Left Speed 10:10:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44659 0 0 100 44659 0 172k --:--:-- --:--:-- --:--:-- 173k 10:10:04 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/888d0147f37d1b0cb5e12db1661dbf13e1e18e03 [Pipeline] } 10:10:04 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 10:10:06 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives ] 10:10:06 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives 10:10:06 total 16 10:10:06 drwxr-xr-x 3 root root 4096 Oct 4 08:19 . 10:10:06 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 08:20 .. 10:10:06 drwxr-xr-x 2 root root 4096 Oct 4 08:19 cost 10:10:06 -rw-r--r-- 1 root root 86 Oct 4 08:19 cost.csv 10:10:06 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives 10:10:06 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives 10:10:06 total 16 10:10:06 drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 08:19 . 10:10:06 drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 08:20 .. 10:10:06 drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 08:19 cost 10:10:06 -rw-r--r-- 1 jenkins jenkins 86 Oct 4 08:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 10:10:07 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 10:10:07 ---> package-listing.sh 10:10:07 ++ facter osfamily 10:10:07 ++ tr '[:upper:]' '[:lower:]' 10:10:08 + OS_FAMILY=debian 10:10:08 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1633 10:10:08 + START_PACKAGES=/tmp/packages_start.txt 10:10:08 + END_PACKAGES=/tmp/packages_end.txt 10:10:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 10:10:08 + PACKAGES=/tmp/packages_start.txt 10:10:08 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1633 ']' 10:10:08 + PACKAGES=/tmp/packages_end.txt 10:10:08 + case "${OS_FAMILY}" in 10:10:08 + dpkg -l 10:10:08 + grep '^ii' 10:10:08 + '[' -f /tmp/packages_start.txt ']' 10:10:08 + '[' -f /tmp/packages_end.txt ']' 10:10:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 10:10:08 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1633 ']' 10:10:08 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives/ 10:10:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1633/archives/ [Pipeline] echo 10:10:08 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-1633/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 10:10:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 10:10:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:10:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 10:10:09 prd-ubuntu20.04-docker-8c-8g-16952 does not seem to be running inside a container 10:10:09 $ 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-1633/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-1633 -v /w/workspace/gexfoundry_device-sdk-go_PR-1633:/w/workspace/gexfoundry_device-sdk-go_PR-1633:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1633@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 10:10:09 $ docker top a14436af42807b4f05137e46373bcabe793caf2cb9cac84dcde3c9ceaa3b6446 -eo pid,comm [Pipeline] { [Pipeline] sh 10:10:09 + touch /tmp/pre-build-complete [Pipeline] sh 10:10:10 + mkdir -p /var/log/sysstat [Pipeline] sh 10:10:10 + ls /var/log/sa-host 10:10:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:10:10 provisioning config files... 10:10:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1633@tmp/config5521660568284163900tmp [Pipeline] { [Pipeline] echo 10:10:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 10:10:11 ---> create-netrc.sh [Pipeline] } 10:10:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 10:10:11 ---> python-tools-install.sh [Pipeline] echo 10:10:11 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 10:10:12 ---> sudo-logs.sh 10:10:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 10:10:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 10:10:12 ---> job-cost.sh 10:10:12 lf-activate-venv: SKIPPING 10:10:12 DEBUG: total: 0.2199999988079071 10:10:12 INFO: Retrieving Stack Cost... 10:10:12 INFO: Retrieving Pricing Info for: v3-standard-8 10:10:13 INFO: Archiving Costs [Pipeline] echo 10:10:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 10:10:13 ---> logs-deploy.sh 10:10:13 lf-activate-venv: SKIPPING 10:10:13 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1633/1 10:10:13 INFO: archiving workspace using pattern(s): 10:10:14 Archives upload complete. 10:10:14 INFO: archiving logs to Nexus