Pull request #1639 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 32ec9c0590e36fbe6ba2b3912b25027f4a245719+63928f2973ca38a899cb41cf0d65ddd086cb79a5 (7e3de80f434ca9c6a0bee08279de3bc05edffd47) 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-ssh11933265258912207492.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-ssh16316640589073190768.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1639/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1639/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4374121166377812383.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3286970355712563084.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1639/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1639/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3653433716493857463.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 ‘prd-ubuntu20.04-docker-8c-8g-22963’ Running on prd-ubuntu20.04-docker-8c-8g-22964 in /w/workspace/gexfoundry_device-sdk-go_PR-1639 [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-1639 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 63928f2973ca38a899cb41cf0d65ddd086cb79a5 into PR head commit 32ec9c0590e36fbe6ba2b3912b25027f4a245719 Merge succeeded, producing 32ec9c0590e36fbe6ba2b3912b25027f4a245719 Checking out Revision 32ec9c0590e36fbe6ba2b3912b25027f4a245719 (PR-1639) > 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/1639/head:refs/remotes/origin/PR-1639 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32ec9c0590e36fbe6ba2b3912b25027f4a245719 # 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 63928f2973ca38a899cb41cf0d65ddd086cb79a5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32ec9c0590e36fbe6ba2b3912b25027f4a245719 # timeout=10 Commit message: "feat: upgrade core-contracts" > git rev-list --no-walk 1356e5933c5efa778c3bba5bfaf1528eefa7adbd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-17T04:04:53.650Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-17T04:04:53.723Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-17T04:04:53.754Z] ========================================================= [2024-10-17T04:04:53.754Z] EdgeX Global Pipelines Version Info [2024-10-17T04:04:53.754Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:04:54.862Z] ------------------- [2024-10-17T04:04:54.862Z] stable info: [2024-10-17T04:04:54.862Z] ------------------- [2024-10-17T04:04:54.862Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-17T04:04:54.862Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-17T04:04:54.862Z] Message: update stable to v1.0.265 [2024-10-17T04:04:55.123Z] ------------------- [2024-10-17T04:04:55.123Z] experimental info: [2024-10-17T04:04:55.123Z] ------------------- [2024-10-17T04:04:55.123Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-17T04:04:55.123Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-17T04:04:55.123Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-17T04:04:55.205Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-17T04:04:55.230Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-17T04:04:55.246Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-17T04:04:55.265Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-17T04:04:55.285Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-17T04:04:55.311Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-17T04:04:55.331Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-17T04:04:55.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-17T04:04:55.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-17T04:04:55.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-17T04:04:55.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-17T04:04:55.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-17T04:04:55.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-17T04:04:55.539Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-17T04:04:55.564Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-17T04:04:55.586Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-17T04:04:55.610Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-17T04:04:55.633Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-17T04:04:55.658Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-17T04:04:55.680Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-17T04:04:55.702Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-17T04:04:55.725Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-17T04:04:55.750Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-17T04:04:55.776Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-17T04:04:55.797Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-17T04:04:55.820Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-17T04:04:55.849Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-17T04:04:55.874Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1639 [Pipeline] echo [2024-10-17T04:04:55.899Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1639 [Pipeline] echo [2024-10-17T04:04:55.932Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1639 [Pipeline] echo [2024-10-17T04:04:55.951Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32ec9c0590e36fbe6ba2b3912b25027f4a245719 [Pipeline] echo [2024-10-17T04:04:55.976Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32ec9c0 [Pipeline] echo [2024-10-17T04:04:56.002Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T04:04:56.069Z] provisioning config files... [2024-10-17T04:04:56.081Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/config2595537040854742325tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:04:56.420Z] ---> ****-login.sh [2024-10-17T04:04:56.420Z] nexus3.edgexfoundry.org:10001 [2024-10-17T04:04:56.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:04:56.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:04:56.682Z] Configure a credential helper to remove this warning. See [2024-10-17T04:04:56.682Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:04:56.682Z] [2024-10-17T04:04:56.682Z] Login Succeeded [2024-10-17T04:04:56.682Z] nexus3.edgexfoundry.org:10002 [2024-10-17T04:04:56.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:04:56.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:04:56.943Z] Configure a credential helper to remove this warning. See [2024-10-17T04:04:56.943Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:04:56.943Z] [2024-10-17T04:04:56.943Z] Login Succeeded [2024-10-17T04:04:56.943Z] nexus3.edgexfoundry.org:10003 [2024-10-17T04:04:56.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:04:56.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:04:56.944Z] Configure a credential helper to remove this warning. See [2024-10-17T04:04:56.944Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:04:56.944Z] [2024-10-17T04:04:56.944Z] Login Succeeded [2024-10-17T04:04:56.944Z] nexus3.edgexfoundry.org:10004 [2024-10-17T04:04:57.210Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:04:57.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:04:57.210Z] Configure a credential helper to remove this warning. See [2024-10-17T04:04:57.210Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:04:57.210Z] [2024-10-17T04:04:57.210Z] Login Succeeded [2024-10-17T04:04:57.211Z] ****.io [2024-10-17T04:04:57.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:04:57.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:04:57.471Z] Configure a credential helper to remove this warning. See [2024-10-17T04:04:57.471Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:04:57.471Z] [2024-10-17T04:04:57.471Z] Login Succeeded [2024-10-17T04:04:57.471Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T04:04:57.479Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-17T04:04:57.902Z] + git rev-list -1 --merges 32ec9c0590e36fbe6ba2b3912b25027f4a245719~1..32ec9c0590e36fbe6ba2b3912b25027f4a245719 [Pipeline] echo [2024-10-17T04:04:57.933Z] -----------> git rev-list -1 --merges 32ec9c0590e36fbe6ba2b3912b25027f4a245719~1..32ec9c0590e36fbe6ba2b3912b25027f4a245719 32ec9c0590e36fbe6ba2b3912b25027f4a245719 [false] [Pipeline] sh [2024-10-17T04:04:58.233Z] + git log --format=format:%s -1 32ec9c0590e36fbe6ba2b3912b25027f4a245719 [Pipeline] echo [2024-10-17T04:04:58.247Z] ========================================================= [2024-10-17T04:04:58.247Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-17T04:04:58.247Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T04:04:58.585Z] + git log --format=format:%s -1 32ec9c0590e36fbe6ba2b3912b25027f4a245719 [Pipeline] echo [2024-10-17T04:04:58.599Z] [semverPrep] GIT_COMMIT: 32ec9c0590e36fbe6ba2b3912b25027f4a245719, Commit Message: feat: upgrade core-contracts [Pipeline] echo [2024-10-17T04:04:58.615Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-17T04:04:58.975Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-17T04:04:58.975Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-17T04:04:58.975Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-17T04:04:58.975Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-17T04:04:58.975Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-17T04:04:58.975Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-17T04:04:58.975Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:04:59.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T04:04:59.335Z] [2024-10-17T04:04:59.335Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:04:59.645Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T04:04:59.645Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-17T04:04:59.645Z] b85a868b505f: Pulling fs layer [2024-10-17T04:04:59.645Z] e2be974225ed: Pulling fs layer [2024-10-17T04:04:59.645Z] 339a4e72a1f5: Pulling fs layer [2024-10-17T04:04:59.645Z] 988bab9f4d93: Pulling fs layer [2024-10-17T04:04:59.645Z] 1469e6f7b9e6: Pulling fs layer [2024-10-17T04:04:59.645Z] eaf3925da568: Pulling fs layer [2024-10-17T04:04:59.645Z] bab4dde63d76: Pulling fs layer [2024-10-17T04:04:59.645Z] bde34c3a00c8: Pulling fs layer [2024-10-17T04:04:59.645Z] b352a97aabf1: Pulling fs layer [2024-10-17T04:04:59.645Z] 4872d77fe225: Pulling fs layer [2024-10-17T04:04:59.645Z] 5851b861e8e6: Pulling fs layer [2024-10-17T04:04:59.645Z] bab4dde63d76: Waiting [2024-10-17T04:04:59.645Z] bde34c3a00c8: Waiting [2024-10-17T04:04:59.645Z] b352a97aabf1: Waiting [2024-10-17T04:04:59.645Z] 4872d77fe225: Waiting [2024-10-17T04:04:59.645Z] 5851b861e8e6: Waiting [2024-10-17T04:04:59.645Z] 988bab9f4d93: Waiting [2024-10-17T04:04:59.645Z] eaf3925da568: Waiting [2024-10-17T04:04:59.645Z] 1469e6f7b9e6: Waiting [2024-10-17T04:04:59.645Z] e2be974225ed: Verifying Checksum [2024-10-17T04:04:59.645Z] e2be974225ed: Download complete [2024-10-17T04:04:59.645Z] 988bab9f4d93: Verifying Checksum [2024-10-17T04:04:59.645Z] 988bab9f4d93: Download complete [2024-10-17T04:04:59.905Z] 339a4e72a1f5: Download complete [2024-10-17T04:04:59.905Z] 1469e6f7b9e6: Verifying Checksum [2024-10-17T04:04:59.905Z] 1469e6f7b9e6: Download complete [2024-10-17T04:04:59.905Z] eaf3925da568: Verifying Checksum [2024-10-17T04:04:59.905Z] eaf3925da568: Download complete [2024-10-17T04:04:59.905Z] bde34c3a00c8: Verifying Checksum [2024-10-17T04:04:59.905Z] bde34c3a00c8: Download complete [2024-10-17T04:04:59.905Z] b352a97aabf1: Download complete [2024-10-17T04:04:59.905Z] 4872d77fe225: Download complete [2024-10-17T04:04:59.905Z] 5851b861e8e6: Verifying Checksum [2024-10-17T04:04:59.905Z] 5851b861e8e6: Download complete [2024-10-17T04:04:59.905Z] b85a868b505f: Download complete [2024-10-17T04:05:00.163Z] bab4dde63d76: Verifying Checksum [2024-10-17T04:05:00.163Z] bab4dde63d76: Download complete [2024-10-17T04:05:01.099Z] b85a868b505f: Pull complete [2024-10-17T04:05:01.357Z] e2be974225ed: Pull complete [2024-10-17T04:05:01.927Z] 339a4e72a1f5: Pull complete [2024-10-17T04:05:01.927Z] 988bab9f4d93: Pull complete [2024-10-17T04:05:02.188Z] 1469e6f7b9e6: Pull complete [2024-10-17T04:05:02.188Z] eaf3925da568: Pull complete [2024-10-17T04:05:04.102Z] bab4dde63d76: Pull complete [2024-10-17T04:05:04.102Z] bde34c3a00c8: Pull complete [2024-10-17T04:05:04.102Z] b352a97aabf1: Pull complete [2024-10-17T04:05:04.102Z] 4872d77fe225: Pull complete [2024-10-17T04:05:04.102Z] 5851b861e8e6: Pull complete [2024-10-17T04:05:04.102Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-17T04:05:04.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-17T04:05:04.102Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T04:05:04.242Z] prd-ubuntu20.04-docker-8c-8g-22964 does not seem to be running inside a container [2024-10-17T04:05:04.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1639 -v /w/workspace/gexfoundry_device-sdk-go_PR-1639:/w/workspace/gexfoundry_device-sdk-go_PR-1639:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-17T04:05:07.875Z] $ docker top d8855de4e708179db7232a42025e342e745bc7e1f9c7cd31427e2977d44b1beb -eo pid,comm [2024-10-17T04:05:07.930Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-17T04:05:07.930Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-17T04:05:07.985Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-17T04:05:07.985Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-17T04:05:08.094Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-17T04:05:08.097Z] $ docker exec d8855de4e708179db7232a42025e342e745bc7e1f9c7cd31427e2977d44b1beb ssh-agent [2024-10-17T04:05:08.193Z] SSH_AUTH_SOCK=/tmp/ssh-3a3KiMnXPM0s/agent.33 [2024-10-17T04:05:08.193Z] SSH_AGENT_PID=39 [2024-10-17T04:05:08.199Z] Running ssh-add (command line suppressed) [2024-10-17T04:05:08.299Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/private_key_9767404928334702636.key (/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/private_key_9767404928334702636.key) [2024-10-17T04:05:08.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-17T04:05:08.605Z] + git tag --points-at HEAD [Pipeline] } [2024-10-17T04:05:08.618Z] $ docker exec --env ******** --env ******** d8855de4e708179db7232a42025e342e745bc7e1f9c7cd31427e2977d44b1beb ssh-agent -k [2024-10-17T04:05:08.703Z] unset SSH_AUTH_SOCK; [2024-10-17T04:05:08.703Z] unset SSH_AGENT_PID; [2024-10-17T04:05:08.704Z] echo Agent pid 39 killed; [2024-10-17T04:05:08.712Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-17T04:05:08.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-17T04:05:08.756Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-17T04:05:08.866Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-17T04:05:08.869Z] $ docker exec d8855de4e708179db7232a42025e342e745bc7e1f9c7cd31427e2977d44b1beb ssh-agent [2024-10-17T04:05:08.968Z] SSH_AUTH_SOCK=/tmp/ssh-ntcQb2d0PRk8/agent.73 [2024-10-17T04:05:08.968Z] SSH_AGENT_PID=79 [2024-10-17T04:05:08.972Z] Running ssh-add (command line suppressed) [2024-10-17T04:05:09.083Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/private_key_6366837090504381318.key (/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/private_key_6366837090504381318.key) [2024-10-17T04:05:09.095Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-17T04:05:09.392Z] + git semver init [2024-10-17T04:05:09.652Z] 2024-10-17 04:05:09,567 [run_init] DEBUG init version:0.0.0 force:False [2024-10-17T04:05:09.652Z] 2024-10-17 04:05:09,568 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver [2024-10-17T04:05:09.652Z] 2024-10-17 04:05:09,568 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver [2024-10-17T04:05:09.652Z] 2024-10-17 04:05:09,569 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1639, universal_newlines=False, shell=None, istream=None) [2024-10-17T04:05:12.192Z] 2024-10-17 04:05:11,735 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1639/.git/info/exclude [2024-10-17T04:05:12.192Z] 2024-10-17 04:05:11,736 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver/PR-1639 with force:False [2024-10-17T04:05:12.192Z] 2024-10-17 04:05:11,736 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver/PR-1639 [2024-10-17T04:05:12.192Z] 2024-10-17 04:05:11,740 [execute] INFO git cat-file --batch-check [2024-10-17T04:05:12.192Z] 2024-10-17 04:05:11,740 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver, universal_newlines=False, shell=None, istream=) [2024-10-17T04:05:12.192Z] 2024-10-17 04:05:11,746 [execute] INFO git cat-file --batch [2024-10-17T04:05:12.192Z] 2024-10-17 04:05:11,747 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver, universal_newlines=False, shell=None, istream=) [2024-10-17T04:05:12.192Z] 2024-10-17 04:05:11,751 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1639/.semver/PR-1639 [2024-10-17T04:05:12.192Z] 0.0.0 [Pipeline] } [2024-10-17T04:05:12.203Z] $ docker exec --env ******** --env ******** d8855de4e708179db7232a42025e342e745bc7e1f9c7cd31427e2977d44b1beb ssh-agent -k [2024-10-17T04:05:12.300Z] unset SSH_AUTH_SOCK; [2024-10-17T04:05:12.301Z] unset SSH_AGENT_PID; [2024-10-17T04:05:12.301Z] echo Agent pid 79 killed; [2024-10-17T04:05:12.310Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-17T04:05:12.640Z] + git semver [Pipeline] } [2024-10-17T04:05:12.912Z] $ docker stop --time=1 d8855de4e708179db7232a42025e342e745bc7e1f9c7cd31427e2977d44b1beb [2024-10-17T04:05:14.172Z] $ docker rm -f --volumes d8855de4e708179db7232a42025e342e745bc7e1f9c7cd31427e2977d44b1beb [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T04:05:14.518Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-17T04:05:14.790Z] Stashed 1 file(s) [Pipeline] echo [2024-10-17T04:05:14.803Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T04:05:14.995Z] provisioning config files... [2024-10-17T04:05:15.004Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/config9062721366791135989tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:05:15.307Z] ---> ****-login.sh [2024-10-17T04:05:15.307Z] nexus3.edgexfoundry.org:10001 [2024-10-17T04:05:15.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:05:15.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:05:15.308Z] Configure a credential helper to remove this warning. See [2024-10-17T04:05:15.308Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:05:15.308Z] [2024-10-17T04:05:15.308Z] Login Succeeded [2024-10-17T04:05:15.308Z] nexus3.edgexfoundry.org:10002 [2024-10-17T04:05:15.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:05:15.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:05:15.308Z] Configure a credential helper to remove this warning. See [2024-10-17T04:05:15.308Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:05:15.308Z] [2024-10-17T04:05:15.308Z] Login Succeeded [2024-10-17T04:05:15.308Z] nexus3.edgexfoundry.org:10003 [2024-10-17T04:05:15.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:05:15.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:05:15.569Z] Configure a credential helper to remove this warning. See [2024-10-17T04:05:15.569Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:05:15.569Z] [2024-10-17T04:05:15.569Z] Login Succeeded [2024-10-17T04:05:15.569Z] nexus3.edgexfoundry.org:10004 [2024-10-17T04:05:15.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:05:15.569Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:05:15.569Z] Configure a credential helper to remove this warning. See [2024-10-17T04:05:15.569Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:05:15.569Z] [2024-10-17T04:05:15.569Z] Login Succeeded [2024-10-17T04:05:15.569Z] ****.io [2024-10-17T04:05:15.569Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:05:15.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:05:15.829Z] Configure a credential helper to remove this warning. See [2024-10-17T04:05:15.829Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:05:15.829Z] [2024-10-17T04:05:15.829Z] Login Succeeded [2024-10-17T04:05:15.829Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T04:05:15.836Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-17T04:05:16.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T04:05:16.831Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T04:05:16.847Z] ========================================================= [2024-10-17T04:05:16.847Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-17T04:05:16.847Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:05:17.184Z] + 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 . [2024-10-17T04:05:17.184Z] Sending build context to Docker daemon 25.46MB [2024-10-17T04:05:17.184Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T04:05:17.184Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-17T04:05:17.444Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-17T04:05:17.444Z] 43c4264eed91: Pulling fs layer [2024-10-17T04:05:17.444Z] 4cc291be95ef: Pulling fs layer [2024-10-17T04:05:17.444Z] 2ac1f1163629: Pulling fs layer [2024-10-17T04:05:17.444Z] 5c3c966382ef: Pulling fs layer [2024-10-17T04:05:17.444Z] 4f4fb700ef54: Pulling fs layer [2024-10-17T04:05:17.444Z] 5d5c8e513c77: Pulling fs layer [2024-10-17T04:05:17.444Z] 9f66e0745190: Pulling fs layer [2024-10-17T04:05:17.444Z] f49a43e4bbc0: Pulling fs layer [2024-10-17T04:05:17.444Z] 561ebcabdf7f: Pulling fs layer [2024-10-17T04:05:17.444Z] 5c3c966382ef: Waiting [2024-10-17T04:05:17.444Z] 4f4fb700ef54: Waiting [2024-10-17T04:05:17.444Z] f49a43e4bbc0: Waiting [2024-10-17T04:05:17.444Z] 5d5c8e513c77: Waiting [2024-10-17T04:05:17.444Z] 9f66e0745190: Waiting [2024-10-17T04:05:17.444Z] 561ebcabdf7f: Waiting [2024-10-17T04:05:17.444Z] 4cc291be95ef: Verifying Checksum [2024-10-17T04:05:17.444Z] 4cc291be95ef: Download complete [2024-10-17T04:05:17.444Z] 5c3c966382ef: Verifying Checksum [2024-10-17T04:05:17.444Z] 5c3c966382ef: Download complete [2024-10-17T04:05:17.444Z] 4f4fb700ef54: Verifying Checksum [2024-10-17T04:05:17.444Z] 4f4fb700ef54: Download complete [2024-10-17T04:05:17.444Z] 5d5c8e513c77: Verifying Checksum [2024-10-17T04:05:17.444Z] 43c4264eed91: Download complete [2024-10-17T04:05:17.444Z] 9f66e0745190: Verifying Checksum [2024-10-17T04:05:17.444Z] 9f66e0745190: Download complete [2024-10-17T04:05:17.702Z] 43c4264eed91: Pull complete [2024-10-17T04:05:17.702Z] 561ebcabdf7f: Verifying Checksum [2024-10-17T04:05:17.702Z] 561ebcabdf7f: Download complete [2024-10-17T04:05:17.702Z] 4cc291be95ef: Pull complete [2024-10-17T04:05:17.961Z] 2ac1f1163629: Verifying Checksum [2024-10-17T04:05:17.962Z] 2ac1f1163629: Download complete [2024-10-17T04:05:18.221Z] f49a43e4bbc0: Verifying Checksum [2024-10-17T04:05:18.221Z] f49a43e4bbc0: Download complete [2024-10-17T04:05:23.232Z] 2ac1f1163629: Pull complete [2024-10-17T04:05:23.232Z] 5c3c966382ef: Pull complete [2024-10-17T04:05:23.232Z] 4f4fb700ef54: Pull complete [2024-10-17T04:05:23.232Z] 5d5c8e513c77: Pull complete [2024-10-17T04:05:23.232Z] 9f66e0745190: Pull complete [2024-10-17T04:05:25.761Z] f49a43e4bbc0: Pull complete [2024-10-17T04:05:26.338Z] 561ebcabdf7f: Pull complete [2024-10-17T04:05:26.338Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-17T04:05:26.338Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-17T04:05:26.338Z] ---> 3a752c3f9dda [2024-10-17T04:05:26.338Z] Step 3/10 : ARG MAKE=make build [2024-10-17T04:05:29.940Z] Still waiting to schedule task [2024-10-17T04:05:29.940Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-10-17T04:05:31.421Z] ---> Running in ffac6f66a8af [2024-10-17T04:05:31.422Z] Removing intermediate container ffac6f66a8af [2024-10-17T04:05:31.422Z] ---> b6980b5dbc42 [2024-10-17T04:05:31.422Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-17T04:05:31.422Z] ---> Running in 3b061a60e661 [2024-10-17T04:05:31.422Z] Removing intermediate container 3b061a60e661 [2024-10-17T04:05:31.422Z] ---> 44f83b804ae0 [2024-10-17T04:05:31.422Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-17T04:05:31.422Z] ---> Running in 9673fd090d83 [2024-10-17T04:05:31.422Z] Removing intermediate container 9673fd090d83 [2024-10-17T04:05:31.422Z] ---> d08e9420d82b [2024-10-17T04:05:31.422Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-17T04:05:31.422Z] ---> Running in 7b9f69265110 [2024-10-17T04:05:31.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T04:05:31.991Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T04:05:32.250Z] OK: 246 MiB in 54 packages [2024-10-17T04:05:32.511Z] Removing intermediate container 7b9f69265110 [2024-10-17T04:05:32.511Z] ---> 5132500183a7 [2024-10-17T04:05:32.511Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-17T04:05:32.511Z] ---> 55ef0a461e75 [2024-10-17T04:05:32.511Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T04:05:32.511Z] ---> Running in 90ad23286691 [2024-10-17T04:06:33.044Z] Removing intermediate container 90ad23286691 [2024-10-17T04:06:33.044Z] ---> 22e44679fd91 [2024-10-17T04:06:33.044Z] Step 9/10 : COPY . . [2024-10-17T04:06:33.044Z] ---> 3704bd5a8648 [2024-10-17T04:06:33.044Z] Step 10/10 : RUN ${MAKE} [2024-10-17T04:06:33.044Z] ---> Running in 5e3796ace521 [2024-10-17T04:06:33.044Z] noop [2024-10-17T04:06:33.044Z] Removing intermediate container 5e3796ace521 [2024-10-17T04:06:33.044Z] ---> bba9d68a7169 [2024-10-17T04:06:33.044Z] Successfully built bba9d68a7169 [2024-10-17T04:06:33.044Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:06:33.390Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-17T04:06:33.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T04:06:33.473Z] prd-ubuntu20.04-docker-8c-8g-22964 does not seem to be running inside a container [2024-10-17T04:06:33.497Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1639 -v /w/workspace/gexfoundry_device-sdk-go_PR-1639:/w/workspace/gexfoundry_device-sdk-go_PR-1639:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-17T04:06:33.820Z] $ docker top 170cf91805e8fed75386e4580ccfa02ee09d21b3c525fce32ca24415899efa00 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T04:06:34.180Z] + go version [2024-10-17T04:06:34.180Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-17T04:06:34.186Z] $ docker stop --time=1 170cf91805e8fed75386e4580ccfa02ee09d21b3c525fce32ca24415899efa00 [2024-10-17T04:06:35.440Z] $ docker rm -f --volumes 170cf91805e8fed75386e4580ccfa02ee09d21b3c525fce32ca24415899efa00 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:06:35.906Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-17T04:06:35.906Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T04:06:35.992Z] prd-ubuntu20.04-docker-8c-8g-22964 does not seem to be running inside a container [2024-10-17T04:06:36.019Z] $ 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-1639 -v /w/workspace/gexfoundry_device-sdk-go_PR-1639:/w/workspace/gexfoundry_device-sdk-go_PR-1639:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-17T04:06:36.346Z] $ docker top 27c50cdef8de6aa9e74cc69937af69860a74cd41cf90887de78358aaefc0a1ce -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T04:06:36.700Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1639 [Pipeline] fileExists [Pipeline] sh [2024-10-17T04:06:37.009Z] + make test [2024-10-17T04:06:37.009Z] go test -race -coverprofile=coverage.out ./... [2024-10-17T04:06:45.123Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-17T04:07:00.617Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22966 in /w/workspace/gexfoundry_device-sdk-go_PR-1639 [Pipeline] { [Pipeline] ws [2024-10-17T04:07:00.639Z] Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout [2024-10-17T04:07:03.741Z] The recommended git tool is: git [2024-10-17T04:07:08.534Z] using credential edgex-jenkins-ssh [2024-10-17T04:07:08.557Z] Cloning the remote Git repository [2024-10-17T04:07:08.604Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-17T04:07:08.712Z] > git init /w/workspace/device-sdk-go/3 # timeout=10 [2024-10-17T04:07:08.880Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-17T04:07:08.883Z] > git --version # timeout=10 [2024-10-17T04:07:08.913Z] > git --version # 'git version 2.25.1' [2024-10-17T04:07:08.916Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T04:07:09.071Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-17T04:07:13.130Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-17T04:07:13.156Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-17T04:07:14.898Z] Merging remotes/origin/main commit 63928f2973ca38a899cb41cf0d65ddd086cb79a5 into PR head commit 32ec9c0590e36fbe6ba2b3912b25027f4a245719 [2024-10-17T04:07:15.231Z] Merge succeeded, producing 32ec9c0590e36fbe6ba2b3912b25027f4a245719 [2024-10-17T04:07:15.232Z] Checking out Revision 32ec9c0590e36fbe6ba2b3912b25027f4a245719 (PR-1639) [2024-10-17T04:07:14.056Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-17T04:07:14.105Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-17T04:07:14.106Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T04:07:14.132Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1639/head:refs/remotes/origin/PR-1639 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-17T04:07:14.921Z] > git config core.sparsecheckout # timeout=10 [2024-10-17T04:07:15.009Z] > git checkout -f 32ec9c0590e36fbe6ba2b3912b25027f4a245719 # timeout=10 [2024-10-17T04:07:15.130Z] > git remote # timeout=10 [2024-10-17T04:07:15.149Z] > git config --get remote.origin.url # timeout=10 [2024-10-17T04:07:15.163Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-17T04:07:15.186Z] > git merge 63928f2973ca38a899cb41cf0d65ddd086cb79a5 # timeout=10 [2024-10-17T04:07:15.213Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-17T04:07:15.239Z] > git config core.sparsecheckout # timeout=10 [2024-10-17T04:07:15.252Z] > git checkout -f 32ec9c0590e36fbe6ba2b3912b25027f4a245719 # timeout=10 [2024-10-17T04:07:17.184Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-17T04:07:17.184Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-17T04:07:17.184Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-17T04:07:17.184Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-17T04:07:17.184Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-17T04:07:17.184Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.031s coverage: 26.0% of statements [2024-10-17T04:07:17.184Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.040s coverage: 79.4% of statements [2024-10-17T04:07:18.118Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-17T04:07:18.118Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-17T04:07:19.035Z] Commit message: "feat: upgrade core-contracts" [2024-10-17T04:07:19.066Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-17T04:07:19.066Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.055s coverage: 86.0% of statements [2024-10-17T04:07:19.637Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-17T04:07:19.637Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-17T04:07:19.637Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T04:07:20.203Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.090s coverage: 45.2% of statements [2024-10-17T04:07:20.547Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-17T04:07:20.547Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-17T04:07:20.547Z] Dload Upload Total Spent Left Speed [2024-10-17T04:07:20.547Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 78699 0 --:--:-- --:--:-- --:--:-- 78699 [Pipeline] sh [2024-10-17T04:07:20.884Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-17T04:07:21.138Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-17T04:07:21.216Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-17T04:07:21.216Z] + sudo tee /etc/docker/daemon.new [2024-10-17T04:07:21.216Z] { [2024-10-17T04:07:21.216Z] "registry-mirrors": [ [2024-10-17T04:07:21.216Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-17T04:07:21.216Z] ], [2024-10-17T04:07:21.216Z] "bip": "10.250.0.254/24", [2024-10-17T04:07:21.216Z] "hosts": [ [2024-10-17T04:07:21.216Z] "tcp://0.0.0.0:5555", [2024-10-17T04:07:21.216Z] "unix:///var/run/docker.sock" [2024-10-17T04:07:21.216Z] ], [2024-10-17T04:07:21.216Z] "mtu": 1458, [2024-10-17T04:07:21.216Z] "selinux-enabled": true, [2024-10-17T04:07:21.216Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-17T04:07:21.216Z] } [Pipeline] sh [2024-10-17T04:07:21.542Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-17T04:07:21.886Z] + sudo service docker restart [2024-10-17T04:07:23.041Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.051s coverage: 14.1% of statements [2024-10-17T04:07:23.042Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.173s coverage: 44.6% of statements [2024-10-17T04:07:23.042Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.061s coverage: 68.4% of statements [2024-10-17T04:07:23.042Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.087s coverage: 88.3% of statements [2024-10-17T04:07:23.042Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.060s coverage: 5.3% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T04:07:40.162Z] provisioning config files... [2024-10-17T04:07:40.197Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config882685549478035980tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:07:40.635Z] ---> ****-login.sh [2024-10-17T04:07:40.635Z] nexus3.edgexfoundry.org:10001 [2024-10-17T04:07:40.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:07:41.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:07:41.169Z] Configure a credential helper to remove this warning. See [2024-10-17T04:07:41.169Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:07:41.169Z] [2024-10-17T04:07:41.169Z] Login Succeeded [2024-10-17T04:07:41.169Z] nexus3.edgexfoundry.org:10002 [2024-10-17T04:07:41.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:07:41.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:07:41.437Z] Configure a credential helper to remove this warning. See [2024-10-17T04:07:41.437Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:07:41.437Z] [2024-10-17T04:07:41.437Z] Login Succeeded [2024-10-17T04:07:41.437Z] nexus3.edgexfoundry.org:10003 [2024-10-17T04:07:41.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:07:41.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:07:41.703Z] Configure a credential helper to remove this warning. See [2024-10-17T04:07:41.704Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:07:41.704Z] [2024-10-17T04:07:41.704Z] Login Succeeded [2024-10-17T04:07:41.704Z] nexus3.edgexfoundry.org:10004 [2024-10-17T04:07:41.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:07:42.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:07:42.255Z] Configure a credential helper to remove this warning. See [2024-10-17T04:07:42.255Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:07:42.255Z] [2024-10-17T04:07:42.255Z] Login Succeeded [2024-10-17T04:07:42.255Z] ****.io [2024-10-17T04:07:42.255Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-17T04:07:42.842Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-17T04:07:42.843Z] Configure a credential helper to remove this warning. See [2024-10-17T04:07:42.843Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-17T04:07:42.843Z] [2024-10-17T04:07:42.843Z] Login Succeeded [2024-10-17T04:07:42.843Z] ---> ****-login.sh ends [Pipeline] } [2024-10-17T04:07:42.855Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-17T04:07:43.169Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T04:07:43.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-17T04:07:43.212Z] ========================================================= [2024-10-17T04:07:43.212Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-17T04:07:43.212Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:07:43.575Z] + 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 . [2024-10-17T04:07:44.162Z] Sending build context to Docker daemon 13.22MB [2024-10-17T04:07:44.162Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T04:07:44.162Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-17T04:07:44.162Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-17T04:07:44.162Z] cf04c63912e1: Pulling fs layer [2024-10-17T04:07:44.162Z] 55b35a11ae5e: Pulling fs layer [2024-10-17T04:07:44.162Z] a37a00ec5f00: Pulling fs layer [2024-10-17T04:07:44.162Z] 50b3750afda1: Pulling fs layer [2024-10-17T04:07:44.162Z] 4f4fb700ef54: Pulling fs layer [2024-10-17T04:07:44.162Z] 80978eb59214: Pulling fs layer [2024-10-17T04:07:44.162Z] c9f46d7d2bd2: Pulling fs layer [2024-10-17T04:07:44.162Z] c5a475d317c9: Pulling fs layer [2024-10-17T04:07:44.162Z] 50b3750afda1: Waiting [2024-10-17T04:07:44.162Z] 4f4fb700ef54: Waiting [2024-10-17T04:07:44.162Z] 80978eb59214: Waiting [2024-10-17T04:07:44.162Z] c9f46d7d2bd2: Waiting [2024-10-17T04:07:44.162Z] c5a475d317c9: Waiting [2024-10-17T04:07:44.162Z] 55b35a11ae5e: Verifying Checksum [2024-10-17T04:07:44.162Z] 55b35a11ae5e: Download complete [2024-10-17T04:07:44.162Z] 50b3750afda1: Verifying Checksum [2024-10-17T04:07:44.162Z] 50b3750afda1: Download complete [2024-10-17T04:07:44.431Z] 4f4fb700ef54: Verifying Checksum [2024-10-17T04:07:44.431Z] 4f4fb700ef54: Download complete [2024-10-17T04:07:44.431Z] 80978eb59214: Verifying Checksum [2024-10-17T04:07:44.431Z] 80978eb59214: Download complete [2024-10-17T04:07:44.431Z] cf04c63912e1: Verifying Checksum [2024-10-17T04:07:44.431Z] cf04c63912e1: Download complete [2024-10-17T04:07:44.712Z] c5a475d317c9: Verifying Checksum [2024-10-17T04:07:44.712Z] c5a475d317c9: Download complete [2024-10-17T04:07:45.306Z] cf04c63912e1: Pull complete [2024-10-17T04:07:45.891Z] 55b35a11ae5e: Pull complete [2024-10-17T04:07:46.159Z] a37a00ec5f00: Verifying Checksum [2024-10-17T04:07:46.159Z] a37a00ec5f00: Download complete [2024-10-17T04:07:46.740Z] c9f46d7d2bd2: Verifying Checksum [2024-10-17T04:07:46.740Z] c9f46d7d2bd2: Download complete [2024-10-17T04:07:59.052Z] a37a00ec5f00: Pull complete [2024-10-17T04:07:59.052Z] 50b3750afda1: Pull complete [2024-10-17T04:07:59.317Z] 4f4fb700ef54: Pull complete [2024-10-17T04:07:59.582Z] 80978eb59214: Pull complete [2024-10-17T04:08:01.878Z] GO111MODULE=on go vet ./... [2024-10-17T04:08:05.165Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-17T04:08:05.425Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-17T04:08:05.425Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-17T04:08:05.706Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-17T04:08:05.720Z] $ docker stop --time=1 27c50cdef8de6aa9e74cc69937af69860a74cd41cf90887de78358aaefc0a1ce [2024-10-17T04:08:06.216Z] c9f46d7d2bd2: Pull complete [2024-10-17T04:08:08.170Z] c5a475d317c9: Pull complete [2024-10-17T04:08:08.170Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-17T04:08:08.170Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-17T04:08:08.170Z] ---> be29e6b0f0d4 [2024-10-17T04:08:08.170Z] Step 3/10 : ARG MAKE=make build [2024-10-17T04:08:10.115Z] ---> Running in de897dbcbc24 [2024-10-17T04:08:10.115Z] Removing intermediate container de897dbcbc24 [2024-10-17T04:08:10.115Z] ---> 63e299aeb4f9 [2024-10-17T04:08:10.115Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-17T04:08:10.115Z] ---> Running in a7dea1e298bb [2024-10-17T04:08:10.383Z] Removing intermediate container a7dea1e298bb [2024-10-17T04:08:10.383Z] ---> aed039936d65 [2024-10-17T04:08:10.383Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-17T04:08:10.657Z] ---> Running in 2305af5cab6f [2024-10-17T04:08:10.657Z] Removing intermediate container 2305af5cab6f [2024-10-17T04:08:10.657Z] ---> 6d8289932533 [2024-10-17T04:08:10.657Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-17T04:08:10.674Z] $ docker rm -f --volumes 27c50cdef8de6aa9e74cc69937af69860a74cd41cf90887de78358aaefc0a1ce [2024-10-17T04:08:10.926Z] ---> Running in dc8f35bd93b7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T04:08:11.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-17T04:08:11.498Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-17T04:08:11.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T04:08:11.953Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-17T04:08:12.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T04:08:12.244Z] + ls -al . [2024-10-17T04:08:12.244Z] total 716 [2024-10-17T04:08:12.244Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 17 04:06 . [2024-10-17T04:08:12.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 04:04 .. [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 04:04 .dockerignore [2024-10-17T04:08:12.244Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 04:07 .git [2024-10-17T04:08:12.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 04:04 .github [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 17 04:04 .gitignore [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 17 04:04 .golangci.yml [2024-10-17T04:08:12.244Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 04:05 .semver [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 17 04:04 CHANGELOG.md [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 04:04 GOVERNANCE.md [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 17 04:04 Jenkinsfile [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 17 04:04 LICENSE [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 2379 Oct 17 04:04 Makefile [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 17 04:04 OWNERS.md [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 17 04:04 README.md [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 04:05 VERSION [2024-10-17T04:08:12.244Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 04:04 bin [2024-10-17T04:08:12.244Z] -rw-r--r-- 1 jenkins jenkins 467900 Oct 17 04:07 coverage.out [2024-10-17T04:08:12.244Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 17 04:04 example [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 17 04:04 go.mod [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 17 04:04 go.sum [2024-10-17T04:08:12.244Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 17 04:04 internal [2024-10-17T04:08:12.244Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 04:04 openapi [2024-10-17T04:08:12.244Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 04:04 pkg [2024-10-17T04:08:12.244Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 04:04 snap [2024-10-17T04:08:12.244Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 17 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:08:12.562Z] + 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=32ec9c0590e36fbe6ba2b3912b25027f4a245719 --label arch=amd64 --label version=0.0.0 . [2024-10-17T04:08:12.562Z] Sending build context to Docker daemon 25.92MB [2024-10-17T04:08:12.562Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T04:08:12.562Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-17T04:08:12.562Z] ---> bba9d68a7169 [2024-10-17T04:08:12.562Z] Step 3/24 : ARG MAKE=make build [2024-10-17T04:08:13.131Z] ---> Running in 0a40797d6ff8 [2024-10-17T04:08:13.391Z] Removing intermediate container 0a40797d6ff8 [2024-10-17T04:08:13.391Z] ---> b51bc61ebd42 [2024-10-17T04:08:13.391Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-17T04:08:13.391Z] ---> Running in 43e44c02314d [2024-10-17T04:08:13.391Z] Removing intermediate container 43e44c02314d [2024-10-17T04:08:13.391Z] ---> d0ed0fbd3bb1 [2024-10-17T04:08:13.391Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-17T04:08:13.391Z] ---> Running in 14502377e7b2 [2024-10-17T04:08:13.391Z] Removing intermediate container 14502377e7b2 [2024-10-17T04:08:13.391Z] ---> 5c7b45977720 [2024-10-17T04:08:13.391Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-17T04:08:13.391Z] ---> Running in eb076ea0f607 [2024-10-17T04:08:13.549Z] OK: 238 MiB in 54 packages [2024-10-17T04:08:13.650Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T04:08:13.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T04:08:14.170Z] OK: 246 MiB in 54 packages [2024-10-17T04:08:14.506Z] Removing intermediate container dc8f35bd93b7 [2024-10-17T04:08:14.506Z] ---> fe791f08ba15 [2024-10-17T04:08:14.506Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-17T04:08:14.737Z] Removing intermediate container eb076ea0f607 [2024-10-17T04:08:14.737Z] ---> b00dc8540eed [2024-10-17T04:08:14.737Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-17T04:08:14.737Z] ---> 1e1ae54e86bd [2024-10-17T04:08:14.737Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T04:08:14.737Z] ---> Running in 5e883422459e [2024-10-17T04:08:14.779Z] ---> 47f5b6a7a061 [2024-10-17T04:08:14.779Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T04:08:14.779Z] ---> Running in 98cce3e31890 [2024-10-17T04:08:15.304Z] Removing intermediate container 5e883422459e [2024-10-17T04:08:15.304Z] ---> 238703baf9f4 [2024-10-17T04:08:15.304Z] Step 9/24 : COPY . . [2024-10-17T04:08:16.684Z] ---> 911c21b4a871 [2024-10-17T04:08:16.684Z] Step 10/24 : RUN ${MAKE} [2024-10-17T04:08:16.684Z] ---> Running in ee1d4095bf25 [2024-10-17T04:08:16.684Z] 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 -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-17T04:09:03.542Z] Removing intermediate container ee1d4095bf25 [2024-10-17T04:09:03.542Z] ---> 26ffdb33f8e2 [2024-10-17T04:09:03.542Z] Step 11/24 : FROM alpine:3.20 [2024-10-17T04:09:03.542Z] 3.20: Pulling from library/alpine [2024-10-17T04:09:03.542Z] 43c4264eed91: Already exists [2024-10-17T04:09:03.542Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-17T04:09:03.542Z] Status: Downloaded newer image for alpine:3.20 [2024-10-17T04:09:03.542Z] ---> 91ef0af61f39 [2024-10-17T04:09:03.542Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-17T04:09:03.542Z] ---> Running in f5077b4c5834 [2024-10-17T04:09:03.542Z] Removing intermediate container f5077b4c5834 [2024-10-17T04:09:03.542Z] ---> e30054408377 [2024-10-17T04:09:03.542Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-17T04:09:04.939Z] ---> Running in a3a36509f4c6 [2024-10-17T04:09:06.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T04:09:06.852Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T04:09:07.425Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-17T04:09:07.425Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T04:09:07.425Z] OK: 8 MiB in 15 packages [2024-10-17T04:09:12.705Z] Removing intermediate container a3a36509f4c6 [2024-10-17T04:09:12.705Z] ---> 5eadcbc1ea47 [2024-10-17T04:09:12.705Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-17T04:09:12.965Z] ---> Running in 795894333d50 [2024-10-17T04:09:13.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T04:09:13.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T04:09:14.130Z] Upgrading critical system libraries and apk-tools: [2024-10-17T04:09:14.130Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-17T04:09:14.130Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T04:09:14.130Z] Continuing the upgrade transaction with new apk-tools: [2024-10-17T04:09:14.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-17T04:09:14.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-17T04:09:14.391Z] OK: 8 MiB in 15 packages [2024-10-17T04:09:15.774Z] Removing intermediate container 795894333d50 [2024-10-17T04:09:15.774Z] ---> 76215ccb0cec [2024-10-17T04:09:15.774Z] Step 15/24 : WORKDIR / [2024-10-17T04:09:15.774Z] ---> Running in 70d501c8effa [2024-10-17T04:09:16.035Z] Removing intermediate container 70d501c8effa [2024-10-17T04:09:16.035Z] ---> fd1b67c90249 [2024-10-17T04:09:16.035Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-17T04:09:16.295Z] ---> 8a701327796d [2024-10-17T04:09:16.295Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-17T04:09:19.627Z] ---> 47696be68a43 [2024-10-17T04:09:19.627Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-17T04:09:19.627Z] ---> 1774971ee45b [2024-10-17T04:09:19.627Z] Step 19/24 : EXPOSE 59999 [2024-10-17T04:09:19.627Z] ---> Running in 1989d6ad8ca0 [2024-10-17T04:09:21.037Z] Removing intermediate container 1989d6ad8ca0 [2024-10-17T04:09:21.037Z] ---> b70dc07be8d1 [2024-10-17T04:09:21.037Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-17T04:09:21.980Z] ---> Running in df67049348ea [2024-10-17T04:09:23.385Z] Removing intermediate container df67049348ea [2024-10-17T04:09:23.385Z] ---> d730495d446b [2024-10-17T04:09:23.385Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-17T04:09:24.004Z] ---> Running in f163d4673307 [2024-10-17T04:09:24.948Z] Removing intermediate container f163d4673307 [2024-10-17T04:09:24.948Z] ---> 2957c4d3c8ea [2024-10-17T04:09:24.948Z] Step 22/24 : LABEL arch=amd64 [2024-10-17T04:09:25.209Z] ---> Running in 9aa825eeaebf [2024-10-17T04:09:25.470Z] Removing intermediate container 9aa825eeaebf [2024-10-17T04:09:25.470Z] ---> c88925f7db17 [2024-10-17T04:09:25.470Z] Step 23/24 : LABEL git_sha=32ec9c0590e36fbe6ba2b3912b25027f4a245719 [2024-10-17T04:09:25.470Z] ---> Running in ba33e4076477 [2024-10-17T04:09:26.859Z] Removing intermediate container ba33e4076477 [2024-10-17T04:09:26.859Z] ---> 426f32221c63 [2024-10-17T04:09:26.859Z] Step 24/24 : LABEL version=0.0.0 [2024-10-17T04:09:27.133Z] ---> Running in 314f08b46176 [2024-10-17T04:09:27.133Z] Removing intermediate container 314f08b46176 [2024-10-17T04:09:27.133Z] ---> b49a82ba31e0 [2024-10-17T04:09:27.133Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-17T04:09:27.133Z] Successfully built b49a82ba31e0 [2024-10-17T04:09:27.133Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:09:27.632Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T04:09:27.632Z] [2024-10-17T04:09:27.632Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:09:27.945Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T04:09:27.945Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-17T04:09:27.945Z] 5eb5b503b376: Pulling fs layer [2024-10-17T04:09:27.945Z] 5c69ac0246d0: Pulling fs layer [2024-10-17T04:09:27.945Z] ec43610c2a17: Pulling fs layer [2024-10-17T04:09:27.945Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-17T04:09:27.945Z] 33b1e0a273af: Pulling fs layer [2024-10-17T04:09:27.945Z] 5d3b04190fa2: Pulling fs layer [2024-10-17T04:09:27.945Z] 2f39f015ded8: Pulling fs layer [2024-10-17T04:09:27.945Z] 3a2ae6a8a46f: Waiting [2024-10-17T04:09:27.945Z] 33b1e0a273af: Waiting [2024-10-17T04:09:27.945Z] 5d3b04190fa2: Waiting [2024-10-17T04:09:27.945Z] 2f39f015ded8: Waiting [2024-10-17T04:09:27.945Z] 5c69ac0246d0: Verifying Checksum [2024-10-17T04:09:27.945Z] 5c69ac0246d0: Download complete [2024-10-17T04:09:27.945Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-17T04:09:27.945Z] 3a2ae6a8a46f: Download complete [2024-10-17T04:09:27.945Z] 33b1e0a273af: Verifying Checksum [2024-10-17T04:09:27.945Z] 33b1e0a273af: Download complete [2024-10-17T04:09:27.945Z] 5d3b04190fa2: Verifying Checksum [2024-10-17T04:09:27.945Z] 5d3b04190fa2: Download complete [2024-10-17T04:09:27.945Z] ec43610c2a17: Verifying Checksum [2024-10-17T04:09:27.945Z] ec43610c2a17: Download complete [2024-10-17T04:09:28.205Z] 5eb5b503b376: Verifying Checksum [2024-10-17T04:09:28.205Z] 5eb5b503b376: Download complete [2024-10-17T04:09:28.771Z] 2f39f015ded8: Verifying Checksum [2024-10-17T04:09:28.771Z] 2f39f015ded8: Download complete [2024-10-17T04:09:29.708Z] 5eb5b503b376: Pull complete [2024-10-17T04:09:29.966Z] 5c69ac0246d0: Pull complete [2024-10-17T04:09:30.534Z] ec43610c2a17: Pull complete [2024-10-17T04:09:30.534Z] 3a2ae6a8a46f: Pull complete [2024-10-17T04:09:30.793Z] 33b1e0a273af: Pull complete [2024-10-17T04:09:30.793Z] 5d3b04190fa2: Pull complete [2024-10-17T04:09:40.789Z] 2f39f015ded8: Pull complete [2024-10-17T04:09:40.789Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-17T04:09:40.789Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T04:09:40.789Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T04:09:40.911Z] prd-ubuntu20.04-docker-8c-8g-22964 does not seem to be running inside a container [2024-10-17T04:09:40.941Z] $ 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-1639 -v /w/workspace/gexfoundry_device-sdk-go_PR-1639:/w/workspace/gexfoundry_device-sdk-go_PR-1639:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-17T04:09:41.250Z] $ docker top e4af31b4de6e318448ac713576c831cff179cec27db8b3a5e33c8e67f7cd2b6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:09:41.668Z] ---> job-cost.sh [2024-10-17T04:09:41.668Z] lf-activate-venv: SKIPPING [2024-10-17T04:09:41.668Z] INFO: No Stack... [2024-10-17T04:09:41.928Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-17T04:09:42.187Z] INFO: Archiving Costs [Pipeline] sh [2024-10-17T04:09:42.482Z] + cut -d, -f6 [2024-10-17T04:09:42.482Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives/cost.csv [Pipeline] lock [2024-10-17T04:09:42.498Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-3-stack-cost] [2024-10-17T04:09:42.510Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1639-3-stack-cost] did not exist. Created. [2024-10-17T04:09:42.516Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-17T04:09:42.833Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-17T04:09:42.912Z] Stashed 1 file(s) [Pipeline] } [2024-10-17T04:09:42.923Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-17T04:09:42.938Z] $ docker stop --time=1 e4af31b4de6e318448ac713576c831cff179cec27db8b3a5e33c8e67f7cd2b6f [2024-10-17T04:09:44.106Z] $ docker rm -f --volumes e4af31b4de6e318448ac713576c831cff179cec27db8b3a5e33c8e67f7cd2b6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-17T04:10:06.429Z] Removing intermediate container 98cce3e31890 [2024-10-17T04:10:06.429Z] ---> 4ddaf277c20c [2024-10-17T04:10:06.429Z] Step 9/10 : COPY . . [2024-10-17T04:10:06.429Z] ---> 2c93d9edc7d7 [2024-10-17T04:10:06.429Z] Step 10/10 : RUN ${MAKE} [2024-10-17T04:10:06.429Z] ---> Running in 681c7bff4258 [2024-10-17T04:10:06.429Z] noop [2024-10-17T04:10:06.429Z] Removing intermediate container 681c7bff4258 [2024-10-17T04:10:06.429Z] ---> fa5fe5517b9c [2024-10-17T04:10:06.429Z] Successfully built fa5fe5517b9c [2024-10-17T04:10:06.429Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:10:06.800Z] + docker inspect -f . ci-base-image-arm64 [2024-10-17T04:10:06.800Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T04:10:07.023Z] prd-ubuntu20.04-docker-arm64-4c-16g-22966 does not seem to be running inside a container [2024-10-17T04:10:07.082Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-17T04:10:08.301Z] $ docker top 2bfeaec0b5cf82e0a1bda54e3ef83a149ce0fb21957117966fe863e99fa2a3b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T04:10:09.128Z] + go version [2024-10-17T04:10:09.128Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-17T04:10:09.141Z] $ docker stop --time=1 2bfeaec0b5cf82e0a1bda54e3ef83a149ce0fb21957117966fe863e99fa2a3b2 [2024-10-17T04:10:10.736Z] $ docker rm -f --volumes 2bfeaec0b5cf82e0a1bda54e3ef83a149ce0fb21957117966fe863e99fa2a3b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:10:11.331Z] + docker inspect -f . ci-base-image-arm64 [2024-10-17T04:10:11.332Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T04:10:11.509Z] prd-ubuntu20.04-docker-arm64-4c-16g-22966 does not seem to be running inside a container [2024-10-17T04:10:11.575Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-17T04:10:13.289Z] $ docker top 19d588edae410f2e1e758e7d7b750ccb4011ae04d5cf984867b43be8c3a031bb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T04:10:14.137Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh [2024-10-17T04:10:14.807Z] + make test [2024-10-17T04:10:14.807Z] go test -race -coverprofile=coverage.out ./... [2024-10-17T04:10:58.996Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-17T04:14:35.815Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-17T04:14:35.815Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-17T04:14:35.815Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-17T04:14:35.815Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-17T04:14:35.815Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-17T04:14:40.073Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.169s coverage: 26.0% of statements [2024-10-17T04:14:44.526Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.218s coverage: 79.4% of statements [2024-10-17T04:14:54.662Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-17T04:14:54.662Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-17T04:14:56.101Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.282s coverage: 86.0% of statements [2024-10-17T04:15:08.462Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-17T04:15:08.731Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.557s coverage: 45.2% of statements [2024-10-17T04:15:11.309Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.256s coverage: 14.1% of statements [2024-10-17T04:15:11.309Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.930s coverage: 44.6% of statements [2024-10-17T04:15:14.640Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-17T04:15:14.640Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-17T04:15:14.640Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-17T04:15:16.057Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.371s coverage: 68.4% of statements [2024-10-17T04:15:21.402Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.341s coverage: 88.3% of statements [2024-10-17T04:15:25.646Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-17T04:15:26.606Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.279s coverage: 5.3% of statements [2024-10-17T04:15:28.007Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-17T04:15:28.007Z] GO111MODULE=on go vet ./... [2024-10-17T04:19:19.808Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-17T04:19:19.808Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-17T04:19:19.808Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-17T04:19:19.827Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-17T04:19:19.847Z] $ docker stop --time=1 19d588edae410f2e1e758e7d7b750ccb4011ae04d5cf984867b43be8c3a031bb [2024-10-17T04:19:21.777Z] $ docker rm -f --volumes 19d588edae410f2e1e758e7d7b750ccb4011ae04d5cf984867b43be8c3a031bb [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-17T04:19:24.292Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-17T04:19:24.310Z] Warning: overwriting stash ‘coverage-report’ [2024-10-17T04:19:25.172Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-17T04:19:25.594Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-17T04:19:25.913Z] + ls -al . [2024-10-17T04:19:25.913Z] total 712 [2024-10-17T04:19:25.913Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 04:10 . [2024-10-17T04:19:25.913Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 04:07 .. [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 17 04:07 .dockerignore [2024-10-17T04:19:25.913Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 04:07 .git [2024-10-17T04:19:25.913Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 04:07 .github [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 17 04:07 .gitignore [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 17 04:07 .golangci.yml [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 17 04:07 CHANGELOG.md [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 04:07 GOVERNANCE.md [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 17 04:07 Jenkinsfile [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 17 04:07 LICENSE [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 2379 Oct 17 04:07 Makefile [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 17 04:07 OWNERS.md [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 17 04:07 README.md [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 17 04:05 VERSION [2024-10-17T04:19:25.913Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 04:07 bin [2024-10-17T04:19:25.913Z] -rw-r--r-- 1 jenkins jenkins 467898 Oct 17 04:15 coverage.out [2024-10-17T04:19:25.913Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 17 04:07 example [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 17 04:07 go.mod [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 17 04:07 go.sum [2024-10-17T04:19:25.913Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 17 04:07 internal [2024-10-17T04:19:25.913Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 04:07 openapi [2024-10-17T04:19:25.913Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 17 04:07 pkg [2024-10-17T04:19:25.913Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 04:07 snap [2024-10-17T04:19:25.913Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 17 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:19:26.266Z] + 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=32ec9c0590e36fbe6ba2b3912b25027f4a245719 --label arch=arm64 --label version=0.0.0 . [2024-10-17T04:19:26.850Z] Sending build context to Docker daemon 13.69MB [2024-10-17T04:19:26.850Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-17T04:19:26.850Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-17T04:19:26.850Z] ---> fa5fe5517b9c [2024-10-17T04:19:26.850Z] Step 3/24 : ARG MAKE=make build [2024-10-17T04:19:27.117Z] ---> Running in e4d979e8b586 [2024-10-17T04:19:27.385Z] Removing intermediate container e4d979e8b586 [2024-10-17T04:19:27.385Z] ---> e4a3d40e2cf4 [2024-10-17T04:19:27.385Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-17T04:19:27.652Z] ---> Running in d2dedaaf83d2 [2024-10-17T04:19:27.919Z] Removing intermediate container d2dedaaf83d2 [2024-10-17T04:19:27.919Z] ---> 849c4fed5dd4 [2024-10-17T04:19:27.919Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-17T04:19:27.919Z] ---> Running in 241fb56de010 [2024-10-17T04:19:28.506Z] Removing intermediate container 241fb56de010 [2024-10-17T04:19:28.506Z] ---> adf822a56174 [2024-10-17T04:19:28.506Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-17T04:19:28.506Z] ---> Running in 4a6bfee46a39 [2024-10-17T04:19:29.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T04:19:30.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T04:19:31.473Z] OK: 238 MiB in 54 packages [2024-10-17T04:19:32.429Z] Removing intermediate container 4a6bfee46a39 [2024-10-17T04:19:32.429Z] ---> 77b1bd290446 [2024-10-17T04:19:32.429Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-17T04:19:33.009Z] ---> 34716891b303 [2024-10-17T04:19:33.009Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-17T04:19:33.009Z] ---> Running in 732c27f8e7e2 [2024-10-17T04:19:34.948Z] Removing intermediate container 732c27f8e7e2 [2024-10-17T04:19:34.948Z] ---> 3b5388ca1ef1 [2024-10-17T04:19:34.948Z] Step 9/24 : COPY . . [2024-10-17T04:19:36.883Z] ---> 9c1ab6caf57c [2024-10-17T04:19:36.883Z] Step 10/24 : RUN ${MAKE} [2024-10-17T04:19:36.883Z] ---> Running in 49e8be949203 [2024-10-17T04:19:37.463Z] 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 -ldflags "-bindnow" -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-17T04:23:14.227Z] Removing intermediate container 49e8be949203 [2024-10-17T04:23:14.227Z] ---> e531a040cb0c [2024-10-17T04:23:14.227Z] Step 11/24 : FROM alpine:3.20 [2024-10-17T04:23:14.227Z] 3.20: Pulling from library/alpine [2024-10-17T04:23:14.227Z] cf04c63912e1: Already exists [2024-10-17T04:23:14.227Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-17T04:23:14.227Z] Status: Downloaded newer image for alpine:3.20 [2024-10-17T04:23:14.227Z] ---> c157a85ed455 [2024-10-17T04:23:14.227Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-17T04:23:14.227Z] ---> Running in 11b5e75d38a7 [2024-10-17T04:23:14.227Z] Removing intermediate container 11b5e75d38a7 [2024-10-17T04:23:14.227Z] ---> 8b5a3cb443ed [2024-10-17T04:23:14.227Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-17T04:23:14.227Z] ---> Running in 6ccbab8fd370 [2024-10-17T04:23:14.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T04:23:14.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T04:23:14.227Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-17T04:23:14.227Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T04:23:14.227Z] OK: 9 MiB in 15 packages [2024-10-17T04:23:14.227Z] Removing intermediate container 6ccbab8fd370 [2024-10-17T04:23:14.227Z] ---> 5dfebb0d5e29 [2024-10-17T04:23:14.227Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-17T04:23:14.227Z] ---> Running in 7bc717294cb8 [2024-10-17T04:23:14.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T04:23:14.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T04:23:15.661Z] Upgrading critical system libraries and apk-tools: [2024-10-17T04:23:15.661Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-17T04:23:15.661Z] Executing busybox-1.36.1-r29.trigger [2024-10-17T04:23:15.927Z] Continuing the upgrade transaction with new apk-tools: [2024-10-17T04:23:15.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-17T04:23:16.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-17T04:23:17.614Z] OK: 9 MiB in 15 packages [2024-10-17T04:23:18.578Z] Removing intermediate container 7bc717294cb8 [2024-10-17T04:23:18.578Z] ---> 6f3e1d57c118 [2024-10-17T04:23:18.578Z] Step 15/24 : WORKDIR / [2024-10-17T04:23:18.578Z] ---> Running in 9cd2b389ead3 [2024-10-17T04:23:19.163Z] Removing intermediate container 9cd2b389ead3 [2024-10-17T04:23:19.163Z] ---> 3f5f3f23d1ef [2024-10-17T04:23:19.163Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-17T04:23:19.430Z] ---> fcbc8ad71889 [2024-10-17T04:23:19.430Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-17T04:23:22.015Z] ---> d364ef3780dd [2024-10-17T04:23:22.015Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-17T04:23:22.283Z] ---> 985299d12388 [2024-10-17T04:23:22.283Z] Step 19/24 : EXPOSE 59999 [2024-10-17T04:23:22.557Z] ---> Running in 14427c471bed [2024-10-17T04:23:22.826Z] Removing intermediate container 14427c471bed [2024-10-17T04:23:22.826Z] ---> 813c134981cb [2024-10-17T04:23:22.826Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-17T04:23:22.826Z] ---> Running in fb71537197a6 [2024-10-17T04:23:23.096Z] Removing intermediate container fb71537197a6 [2024-10-17T04:23:23.096Z] ---> c1798b02eb68 [2024-10-17T04:23:23.096Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-17T04:23:23.365Z] ---> Running in ddf6adc0464c [2024-10-17T04:23:23.653Z] Removing intermediate container ddf6adc0464c [2024-10-17T04:23:23.653Z] ---> df2272592070 [2024-10-17T04:23:23.653Z] Step 22/24 : LABEL arch=arm64 [2024-10-17T04:23:23.653Z] ---> Running in 9e41f11b4320 [2024-10-17T04:23:23.922Z] Removing intermediate container 9e41f11b4320 [2024-10-17T04:23:23.923Z] ---> 63769dbbdf77 [2024-10-17T04:23:23.923Z] Step 23/24 : LABEL git_sha=32ec9c0590e36fbe6ba2b3912b25027f4a245719 [2024-10-17T04:23:23.923Z] ---> Running in 3bb0ecccc770 [2024-10-17T04:23:24.507Z] Removing intermediate container 3bb0ecccc770 [2024-10-17T04:23:24.507Z] ---> 3accde9cdce1 [2024-10-17T04:23:24.507Z] Step 24/24 : LABEL version=0.0.0 [2024-10-17T04:23:24.507Z] ---> Running in f9fdb4b45795 [2024-10-17T04:23:24.775Z] Removing intermediate container f9fdb4b45795 [2024-10-17T04:23:24.775Z] ---> 24d0898e447f [2024-10-17T04:23:24.775Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-17T04:23:24.775Z] Successfully built 24d0898e447f [2024-10-17T04:23:24.775Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:23:25.302Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T04:23:25.302Z] [2024-10-17T04:23:25.302Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:23:25.647Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T04:23:25.647Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-17T04:23:25.647Z] 8998bd30e6a1: Pulling fs layer [2024-10-17T04:23:25.647Z] 04944245beec: Pulling fs layer [2024-10-17T04:23:25.647Z] 699f458cf7ca: Pulling fs layer [2024-10-17T04:23:25.647Z] 765212b225bb: Pulling fs layer [2024-10-17T04:23:25.647Z] f23df028b6ca: Pulling fs layer [2024-10-17T04:23:25.647Z] d65c8cfc05b1: Pulling fs layer [2024-10-17T04:23:25.647Z] 2437ff75d9bd: Pulling fs layer [2024-10-17T04:23:25.647Z] f23df028b6ca: Waiting [2024-10-17T04:23:25.647Z] d65c8cfc05b1: Waiting [2024-10-17T04:23:25.647Z] 765212b225bb: Waiting [2024-10-17T04:23:25.647Z] 2437ff75d9bd: Waiting [2024-10-17T04:23:25.915Z] 04944245beec: Verifying Checksum [2024-10-17T04:23:25.915Z] 04944245beec: Download complete [2024-10-17T04:23:25.915Z] 765212b225bb: Verifying Checksum [2024-10-17T04:23:25.915Z] 765212b225bb: Download complete [2024-10-17T04:23:25.915Z] f23df028b6ca: Download complete [2024-10-17T04:23:26.183Z] d65c8cfc05b1: Verifying Checksum [2024-10-17T04:23:26.183Z] d65c8cfc05b1: Download complete [2024-10-17T04:23:26.183Z] 699f458cf7ca: Verifying Checksum [2024-10-17T04:23:26.183Z] 699f458cf7ca: Download complete [2024-10-17T04:23:26.451Z] 8998bd30e6a1: Verifying Checksum [2024-10-17T04:23:26.451Z] 8998bd30e6a1: Download complete [2024-10-17T04:23:29.036Z] 2437ff75d9bd: Verifying Checksum [2024-10-17T04:23:29.036Z] 2437ff75d9bd: Download complete [2024-10-17T04:23:30.977Z] 8998bd30e6a1: Pull complete [2024-10-17T04:23:31.243Z] 04944245beec: Pull complete [2024-10-17T04:23:33.178Z] 699f458cf7ca: Pull complete [2024-10-17T04:23:33.178Z] 765212b225bb: Pull complete [2024-10-17T04:23:34.140Z] f23df028b6ca: Pull complete [2024-10-17T04:23:34.140Z] d65c8cfc05b1: Pull complete [2024-10-17T04:23:52.354Z] 2437ff75d9bd: Pull complete [2024-10-17T04:23:52.355Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-17T04:23:52.355Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-17T04:23:52.355Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T04:23:52.581Z] prd-ubuntu20.04-docker-arm64-4c-16g-22966 does not seem to be running inside a container [2024-10-17T04:23:52.747Z] $ 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/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-17T04:23:55.860Z] $ docker top a462c9ecb01f15c870b049f7711dc508bf52a60cc21eeb0965441f7c9548123b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:23:56.739Z] ---> job-cost.sh [2024-10-17T04:23:56.739Z] lf-activate-venv: SKIPPING [2024-10-17T04:23:56.739Z] INFO: No Stack... [2024-10-17T04:23:58.159Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-17T04:23:58.750Z] INFO: Archiving Costs [Pipeline] sh [2024-10-17T04:23:59.402Z] + cat /w/workspace/device-sdk-go/3/archives/cost.csv [2024-10-17T04:23:59.402Z] + cut -d, -f6 [Pipeline] lock [2024-10-17T04:23:59.442Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-3-stack-cost] [2024-10-17T04:23:59.450Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1639-3-stack-cost] did not exist. Created. [2024-10-17T04:23:59.456Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-17T04:24:00.135Z] /w/workspace/device-sdk-go/3@tmp/durable-354d8bd3/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-17T04:24:00.781Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-17T04:24:00.800Z] Warning: overwriting stash ‘stack-cost’ [2024-10-17T04:24:00.909Z] Stashed 1 file(s) [Pipeline] } [2024-10-17T04:24:00.919Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1639-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-17T04:24:00.947Z] $ docker stop --time=1 a462c9ecb01f15c870b049f7711dc508bf52a60cc21eeb0965441f7c9548123b [2024-10-17T04:24:02.498Z] $ docker rm -f --volumes a462c9ecb01f15c870b049f7711dc508bf52a60cc21eeb0965441f7c9548123b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-17T04:24:02.991Z] provisioning config files... [2024-10-17T04:24:03.002Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/config1583818434582070268tmp [Pipeline] { [Pipeline] sh [2024-10-17T04:24:03.328Z] + set +x [2024-10-17T04:24:03.329Z] + curl -s https://codecov.io/bash [2024-10-17T04:24:03.329Z] + bash -s -- [2024-10-17T04:24:03.329Z] [2024-10-17T04:24:03.329Z] _____ _ [2024-10-17T04:24:03.329Z] / ____| | | [2024-10-17T04:24:03.329Z] | | ___ __| | ___ ___ _____ __ [2024-10-17T04:24:03.329Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-17T04:24:03.329Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-17T04:24:03.329Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-17T04:24:03.329Z] Bash-1.0.6 [2024-10-17T04:24:03.329Z] [2024-10-17T04:24:03.329Z] [2024-10-17T04:24:03.329Z] ==> git version 2.25.1 found [2024-10-17T04:24:03.329Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-17T04:24:03.329Z] Release-Date: 2020-01-08 [2024-10-17T04:24:03.329Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-17T04:24:03.329Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-17T04:24:03.329Z] ==> Jenkins CI detected. [2024-10-17T04:24:03.329Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1639 [2024-10-17T04:24:03.329Z] project root: . [2024-10-17T04:24:03.329Z] --> token set from env [2024-10-17T04:24:03.329Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-17T04:24:03.329Z] ==> Running gcov in . (disable via -X gcov) [2024-10-17T04:24:03.329Z] ==> Python coveragepy not found [2024-10-17T04:24:03.329Z] ==> Searching for coverage reports in: [2024-10-17T04:24:03.329Z] + . [2024-10-17T04:24:03.329Z] -> Found 1 reports [2024-10-17T04:24:03.329Z] ==> Detecting git/mercurial file structure [2024-10-17T04:24:03.592Z] ==> Reading reports [2024-10-17T04:24:03.593Z] + ./coverage.out bytes=467898 [2024-10-17T04:24:03.593Z] ==> Appending adjustments [2024-10-17T04:24:03.593Z] https://docs.codecov.io/docs/fixing-reports [2024-10-17T04:24:03.857Z] + Found adjustments [2024-10-17T04:24:03.857Z] ==> Gzipping contents [2024-10-17T04:24:03.857Z] 44K /tmp/codecov.thA9zG.gz [2024-10-17T04:24:03.857Z] ==> Uploading reports [2024-10-17T04:24:03.857Z] url: https://codecov.io [2024-10-17T04:24:03.857Z] query: branch=PR-1639&commit=32ec9c0590e36fbe6ba2b3912b25027f4a245719&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1639%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1639&job=&cmd_args= [2024-10-17T04:24:03.857Z] -> Pinging Codecov [2024-10-17T04:24:03.857Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1639&commit=32ec9c0590e36fbe6ba2b3912b25027f4a245719&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1639%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1639&job=&cmd_args= [2024-10-17T04:24:04.129Z] -> Uploading to [2024-10-17T04:24:04.129Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/32ec9c0590e36fbe6ba2b3912b25027f4a245719/1b4ed18c-2c77-4ffa-a617-24d3d7684f3e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241017%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241017T042403Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=5b84bcaa6ec09e61874ceae2956c4a7f13ff56c48b4c218e6a7b170dd37da6b0 [2024-10-17T04:24:04.129Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-17T04:24:04.129Z] Dload Upload Total Spent Left Speed [2024-10-17T04:24:04.395Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44722 0 0 100 44722 0 171k --:--:-- --:--:-- --:--:-- 171k [2024-10-17T04:24:04.395Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/32ec9c0590e36fbe6ba2b3912b25027f4a245719 [Pipeline] } [2024-10-17T04:24:04.405Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-17T04:24:05.285Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives ] [2024-10-17T04:24:05.285Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives [2024-10-17T04:24:05.285Z] total 16 [2024-10-17T04:24:05.285Z] drwxr-xr-x 3 root root 4096 Oct 17 04:09 . [2024-10-17T04:24:05.285Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 17 04:09 .. [2024-10-17T04:24:05.285Z] drwxr-xr-x 2 root root 4096 Oct 17 04:09 cost [2024-10-17T04:24:05.285Z] -rw-r--r-- 1 root root 86 Oct 17 04:09 cost.csv [2024-10-17T04:24:05.285Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives [2024-10-17T04:24:05.285Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives [2024-10-17T04:24:05.285Z] total 16 [2024-10-17T04:24:05.285Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 04:09 . [2024-10-17T04:24:05.285Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 17 04:09 .. [2024-10-17T04:24:05.285Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 04:09 cost [2024-10-17T04:24:05.285Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 17 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:24:05.591Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:24:06.485Z] ---> package-listing.sh [2024-10-17T04:24:06.486Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-17T04:24:06.486Z] ++ facter osfamily [2024-10-17T04:24:06.745Z] + OS_FAMILY=debian [2024-10-17T04:24:06.745Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1639 [2024-10-17T04:24:06.745Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-17T04:24:06.745Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-17T04:24:06.745Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-17T04:24:06.745Z] + PACKAGES=/tmp/packages_start.txt [2024-10-17T04:24:06.745Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1639 ']' [2024-10-17T04:24:06.745Z] + PACKAGES=/tmp/packages_end.txt [2024-10-17T04:24:06.745Z] + case "${OS_FAMILY}" in [2024-10-17T04:24:06.745Z] + dpkg -l [2024-10-17T04:24:06.745Z] + grep '^ii' [2024-10-17T04:24:06.745Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-17T04:24:06.745Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-17T04:24:06.745Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-17T04:24:06.745Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1639 ']' [2024-10-17T04:24:06.745Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives/ [2024-10-17T04:24:06.745Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1639/archives/ [Pipeline] echo [2024-10-17T04:24:06.758Z] 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-1639/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-17T04:24:07.042Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-17T04:24:07.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-17T04:24:07.622Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-17T04:24:07.724Z] prd-ubuntu20.04-docker-8c-8g-22964 does not seem to be running inside a container [2024-10-17T04:24:07.742Z] $ 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-1639/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-1639 -v /w/workspace/gexfoundry_device-sdk-go_PR-1639:/w/workspace/gexfoundry_device-sdk-go_PR-1639:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-17T04:24:07.937Z] $ docker top 9fc33dd01ee07b5aa56f4e7d6263a135fed565abce545987e79746d4f2ba91e5 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-17T04:24:08.353Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-17T04:24:08.656Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-17T04:24:08.979Z] + ls /var/log/sa-host [2024-10-17T04:24:08.979Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-17T04:24:09.143Z] provisioning config files... [2024-10-17T04:24:09.155Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1639@tmp/config8755112041997559209tmp [Pipeline] { [Pipeline] echo [2024-10-17T04:24:09.176Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:24:09.465Z] ---> create-netrc.sh [Pipeline] } [2024-10-17T04:24:09.472Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:24:09.986Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-17T04:24:10.002Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:24:10.291Z] ---> sudo-logs.sh [2024-10-17T04:24:10.291Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-17T04:24:10.323Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:24:10.618Z] ---> job-cost.sh [2024-10-17T04:24:10.618Z] lf-activate-venv: SKIPPING [2024-10-17T04:24:10.618Z] DEBUG: total: 0.2199999988079071 [2024-10-17T04:24:10.618Z] INFO: Retrieving Stack Cost... [2024-10-17T04:24:11.200Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-17T04:24:11.462Z] INFO: Archiving Costs [Pipeline] echo [2024-10-17T04:24:11.476Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-17T04:24:11.823Z] ---> logs-deploy.sh [2024-10-17T04:24:11.823Z] lf-activate-venv: SKIPPING [2024-10-17T04:24:11.823Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1639/3 [2024-10-17T04:24:11.823Z] INFO: archiving workspace using pattern(s): [2024-10-17T04:24:12.763Z] Archives upload complete. [2024-10-17T04:24:12.763Z] INFO: archiving logs to Nexus