Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 3f79d91e42934c0c8204e64f9535ff278efb44e2+9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf (b2f1a21884c8310dbb9efa23fb624cd9d65a2603) 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-ssh9525450860125545353.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-ssh5936666737592085189.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-1632/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-1632/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16409985950787538097.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-ssh18250512849779231230.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-1632/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-1632/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1684779774998254593.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-21842’ Running on prd-ubuntu20.04-docker-8c-8g-21844 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [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-1632 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf into PR head commit 3f79d91e42934c0c8204e64f9535ff278efb44e2 Merge succeeded, producing 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 Checking out Revision 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 (PR-1632) > git config core.sparsecheckout # timeout=10 > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # 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 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 # timeout=10 Commit message: "Merge commit '9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf' into HEAD" > git rev-list --no-walk 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-04T18:43:27.406Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-04T18:43:27.474Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-04T18:43:27.501Z] ========================================================= [2024-10-04T18:43:27.501Z] EdgeX Global Pipelines Version Info [2024-10-04T18:43:27.501Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:43:28.219Z] ------------------- [2024-10-04T18:43:28.219Z] stable info: [2024-10-04T18:43:28.219Z] ------------------- [2024-10-04T18:43:28.219Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-04T18:43:28.219Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-04T18:43:28.219Z] Message: update stable to v1.0.265 [2024-10-04T18:43:28.790Z] ------------------- [2024-10-04T18:43:28.790Z] experimental info: [2024-10-04T18:43:28.790Z] ------------------- [2024-10-04T18:43:28.790Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-04T18:43:28.790Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-04T18:43:28.790Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-04T18:43:28.867Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-10-04T18:43:28.892Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-10-04T18:43:28.920Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-04T18:43:28.947Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-04T18:43:28.973Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-04T18:43:29.007Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-04T18:43:29.035Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-04T18:43:29.056Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-10-04T18:43:29.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-04T18:43:29.096Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-04T18:43:29.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-04T18:43:29.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-10-04T18:43:29.159Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-04T18:43:29.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-04T18:43:29.198Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-04T18:43:29.219Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T18:43:29.239Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T18:43:29.260Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-04T18:43:29.286Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-04T18:43:29.307Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-04T18:43:29.332Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-10-04T18:43:29.355Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-10-04T18:43:29.379Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-04T18:43:29.402Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-04T18:43:29.426Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-04T18:43:29.448Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-04T18:43:29.466Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-04T18:43:29.489Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1632 [Pipeline] echo [2024-10-04T18:43:29.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1632 [Pipeline] echo [2024-10-04T18:43:29.534Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1632 [Pipeline] echo [2024-10-04T18:43:29.557Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [Pipeline] echo [2024-10-04T18:43:29.582Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8e04c2d [Pipeline] echo [2024-10-04T18:43:29.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T18:43:29.665Z] provisioning config files... [2024-10-04T18:43:29.680Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config11399224093342913436tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:43:30.009Z] ---> ****-login.sh [2024-10-04T18:43:30.009Z] nexus3.edgexfoundry.org:10001 [2024-10-04T18:43:30.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:43:30.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:43:30.272Z] Configure a credential helper to remove this warning. See [2024-10-04T18:43:30.272Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:43:30.272Z] [2024-10-04T18:43:30.272Z] Login Succeeded [2024-10-04T18:43:30.272Z] nexus3.edgexfoundry.org:10002 [2024-10-04T18:43:30.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:43:30.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:43:30.534Z] Configure a credential helper to remove this warning. See [2024-10-04T18:43:30.534Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:43:30.534Z] [2024-10-04T18:43:30.534Z] Login Succeeded [2024-10-04T18:43:30.534Z] nexus3.edgexfoundry.org:10003 [2024-10-04T18:43:30.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:43:30.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:43:30.534Z] Configure a credential helper to remove this warning. See [2024-10-04T18:43:30.535Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:43:30.535Z] [2024-10-04T18:43:30.535Z] Login Succeeded [2024-10-04T18:43:30.535Z] nexus3.edgexfoundry.org:10004 [2024-10-04T18:43:30.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:43:30.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:43:30.797Z] Configure a credential helper to remove this warning. See [2024-10-04T18:43:30.797Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:43:30.797Z] [2024-10-04T18:43:30.797Z] Login Succeeded [2024-10-04T18:43:30.797Z] ****.io [2024-10-04T18:43:30.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:43:31.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:43:31.057Z] Configure a credential helper to remove this warning. See [2024-10-04T18:43:31.057Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:43:31.057Z] [2024-10-04T18:43:31.058Z] Login Succeeded [2024-10-04T18:43:31.058Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T18:43:31.065Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-04T18:43:31.472Z] + git rev-list -1 --merges 8e04c2da464319b2a4b21d4a1fd729fe8412ba48~1..8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [Pipeline] echo [2024-10-04T18:43:31.500Z] -----------> git rev-list -1 --merges 8e04c2da464319b2a4b21d4a1fd729fe8412ba48~1..8e04c2da464319b2a4b21d4a1fd729fe8412ba48 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [2024-10-04T18:43:31.500Z] 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [false] [Pipeline] sh [2024-10-04T18:43:31.793Z] + git log --format=format:%s -1 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [Pipeline] echo [2024-10-04T18:43:31.809Z] ========================================================= [2024-10-04T18:43:31.809Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-04T18:43:31.809Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T18:43:32.142Z] + git log --format=format:%s -1 8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [Pipeline] echo [2024-10-04T18:43:32.153Z] [semverPrep] GIT_COMMIT: 8e04c2da464319b2a4b21d4a1fd729fe8412ba48, Commit Message: Merge commit '9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf' into HEAD [Pipeline] echo [2024-10-04T18:43:32.170Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-04T18:43:32.542Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-04T18:43:32.542Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-04T18:43:32.542Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-04T18:43:32.542Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-04T18:43:32.542Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-04T18:43:32.542Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-04T18:43:32.542Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:43:32.888Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T18:43:32.888Z] [2024-10-04T18:43:32.888Z] 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-04T18:43:33.206Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T18:43:33.206Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-04T18:43:33.206Z] b85a868b505f: Pulling fs layer [2024-10-04T18:43:33.206Z] e2be974225ed: Pulling fs layer [2024-10-04T18:43:33.206Z] 339a4e72a1f5: Pulling fs layer [2024-10-04T18:43:33.206Z] 988bab9f4d93: Pulling fs layer [2024-10-04T18:43:33.206Z] 1469e6f7b9e6: Pulling fs layer [2024-10-04T18:43:33.206Z] eaf3925da568: Pulling fs layer [2024-10-04T18:43:33.206Z] bab4dde63d76: Pulling fs layer [2024-10-04T18:43:33.206Z] bde34c3a00c8: Pulling fs layer [2024-10-04T18:43:33.206Z] b352a97aabf1: Pulling fs layer [2024-10-04T18:43:33.206Z] 4872d77fe225: Pulling fs layer [2024-10-04T18:43:33.206Z] 5851b861e8e6: Pulling fs layer [2024-10-04T18:43:33.206Z] 4872d77fe225: Waiting [2024-10-04T18:43:33.206Z] 1469e6f7b9e6: Waiting [2024-10-04T18:43:33.206Z] bab4dde63d76: Waiting [2024-10-04T18:43:33.206Z] bde34c3a00c8: Waiting [2024-10-04T18:43:33.206Z] b352a97aabf1: Waiting [2024-10-04T18:43:33.206Z] 988bab9f4d93: Waiting [2024-10-04T18:43:33.206Z] 5851b861e8e6: Waiting [2024-10-04T18:43:33.206Z] e2be974225ed: Download complete [2024-10-04T18:43:33.206Z] 988bab9f4d93: Verifying Checksum [2024-10-04T18:43:33.206Z] 988bab9f4d93: Download complete [2024-10-04T18:43:33.206Z] 1469e6f7b9e6: Verifying Checksum [2024-10-04T18:43:33.206Z] 1469e6f7b9e6: Download complete [2024-10-04T18:43:33.206Z] eaf3925da568: Verifying Checksum [2024-10-04T18:43:33.206Z] eaf3925da568: Download complete [2024-10-04T18:43:33.206Z] 339a4e72a1f5: Verifying Checksum [2024-10-04T18:43:33.206Z] 339a4e72a1f5: Download complete [2024-10-04T18:43:33.206Z] bde34c3a00c8: Download complete [2024-10-04T18:43:33.479Z] b352a97aabf1: Download complete [2024-10-04T18:43:33.479Z] 4872d77fe225: Verifying Checksum [2024-10-04T18:43:33.479Z] 4872d77fe225: Download complete [2024-10-04T18:43:33.479Z] 5851b861e8e6: Verifying Checksum [2024-10-04T18:43:33.479Z] 5851b861e8e6: Download complete [2024-10-04T18:43:33.479Z] b85a868b505f: Verifying Checksum [2024-10-04T18:43:33.479Z] b85a868b505f: Download complete [2024-10-04T18:43:33.739Z] bab4dde63d76: Verifying Checksum [2024-10-04T18:43:33.739Z] bab4dde63d76: Download complete [2024-10-04T18:43:34.678Z] b85a868b505f: Pull complete [2024-10-04T18:43:34.937Z] e2be974225ed: Pull complete [2024-10-04T18:43:35.508Z] 339a4e72a1f5: Pull complete [2024-10-04T18:43:35.508Z] 988bab9f4d93: Pull complete [2024-10-04T18:43:35.767Z] 1469e6f7b9e6: Pull complete [2024-10-04T18:43:35.767Z] eaf3925da568: Pull complete [2024-10-04T18:43:37.671Z] bab4dde63d76: Pull complete [2024-10-04T18:43:37.671Z] bde34c3a00c8: Pull complete [2024-10-04T18:43:37.671Z] b352a97aabf1: Pull complete [2024-10-04T18:43:37.671Z] 4872d77fe225: Pull complete [2024-10-04T18:43:37.931Z] 5851b861e8e6: Pull complete [2024-10-04T18:43:37.931Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-04T18:43:37.931Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-04T18:43:37.931Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:43:38.070Z] prd-ubuntu20.04-docker-8c-8g-21844 does not seem to be running inside a container [2024-10-04T18:43:38.097Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-04T18:43:41.012Z] $ docker top 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d -eo pid,comm [2024-10-04T18:43:41.070Z] 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-04T18:43:41.070Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-04T18:43:41.125Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T18:43:41.126Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T18:43:41.243Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T18:43:41.244Z] $ docker exec 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d ssh-agent [2024-10-04T18:43:41.355Z] SSH_AUTH_SOCK=/tmp/ssh-Wpg3euWqi2bV/agent.33 [2024-10-04T18:43:41.355Z] SSH_AGENT_PID=39 [2024-10-04T18:43:41.363Z] Running ssh-add (command line suppressed) [2024-10-04T18:43:41.475Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_7823248389870608897.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_7823248389870608897.key) [2024-10-04T18:43:41.493Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T18:43:41.788Z] + git tag --points-at HEAD [Pipeline] } [2024-10-04T18:43:41.797Z] $ docker exec --env ******** --env ******** 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d ssh-agent -k [2024-10-04T18:43:41.891Z] unset SSH_AUTH_SOCK; [2024-10-04T18:43:41.891Z] unset SSH_AGENT_PID; [2024-10-04T18:43:41.891Z] echo Agent pid 39 killed; [2024-10-04T18:43:41.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-04T18:43:41.945Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-04T18:43:41.945Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-04T18:43:42.046Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-04T18:43:42.047Z] $ docker exec 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d ssh-agent [2024-10-04T18:43:42.161Z] SSH_AUTH_SOCK=/tmp/ssh-Qbn1UspFGaHu/agent.72 [2024-10-04T18:43:42.161Z] SSH_AGENT_PID=78 [2024-10-04T18:43:42.166Z] Running ssh-add (command line suppressed) [2024-10-04T18:43:42.270Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_9884721980737691259.key (/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/private_key_9884721980737691259.key) [2024-10-04T18:43:42.286Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-04T18:43:42.581Z] + git semver init [2024-10-04T18:43:42.842Z] 2024-10-04 18:43:42,744 [run_init] DEBUG init version:0.0.0 force:False [2024-10-04T18:43:42.842Z] 2024-10-04 18:43:42,745 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver [2024-10-04T18:43:42.842Z] 2024-10-04 18:43:42,745 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver [2024-10-04T18:43:42.842Z] 2024-10-04 18:43:42,745 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632, universal_newlines=False, shell=None, istream=None) [2024-10-04T18:43:45.382Z] 2024-10-04 18:43:44,801 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.git/info/exclude [2024-10-04T18:43:45.382Z] 2024-10-04 18:43:44,801 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 with force:False [2024-10-04T18:43:45.382Z] 2024-10-04 18:43:44,801 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 [2024-10-04T18:43:45.382Z] 2024-10-04 18:43:44,806 [execute] INFO git cat-file --batch-check [2024-10-04T18:43:45.382Z] 2024-10-04 18:43:44,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T18:43:45.382Z] 2024-10-04 18:43:44,813 [execute] INFO git cat-file --batch [2024-10-04T18:43:45.382Z] 2024-10-04 18:43:44,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver, universal_newlines=False, shell=None, istream=) [2024-10-04T18:43:45.382Z] 2024-10-04 18:43:44,819 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1632/.semver/PR-1632 [2024-10-04T18:43:45.382Z] 0.0.0 [Pipeline] } [2024-10-04T18:43:45.391Z] $ docker exec --env ******** --env ******** 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d ssh-agent -k [2024-10-04T18:43:45.505Z] unset SSH_AUTH_SOCK; [2024-10-04T18:43:45.505Z] unset SSH_AGENT_PID; [2024-10-04T18:43:45.506Z] echo Agent pid 78 killed; [2024-10-04T18:43:45.515Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-04T18:43:45.844Z] + git semver [Pipeline] } [2024-10-04T18:43:46.114Z] $ docker stop --time=1 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d [2024-10-04T18:43:47.393Z] $ docker rm -f --volumes 07e076ad91760cdfca57b6f1cb95c5439fb7ab3c96f9bf76fa9414585710f99d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T18:43:47.738Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-04T18:43:47.987Z] Stashed 1 file(s) [Pipeline] echo [2024-10-04T18:43:47.991Z] [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-04T18:43:48.173Z] provisioning config files... [2024-10-04T18:43:48.184Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config4386836879732529182tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:43:48.490Z] ---> ****-login.sh [2024-10-04T18:43:48.491Z] nexus3.edgexfoundry.org:10001 [2024-10-04T18:43:48.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:43:48.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:43:48.491Z] Configure a credential helper to remove this warning. See [2024-10-04T18:43:48.491Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:43:48.491Z] [2024-10-04T18:43:48.491Z] Login Succeeded [2024-10-04T18:43:48.491Z] nexus3.edgexfoundry.org:10002 [2024-10-04T18:43:48.491Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:43:48.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:43:48.491Z] Configure a credential helper to remove this warning. See [2024-10-04T18:43:48.491Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:43:48.491Z] [2024-10-04T18:43:48.491Z] Login Succeeded [2024-10-04T18:43:48.491Z] nexus3.edgexfoundry.org:10003 [2024-10-04T18:43:48.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:43:48.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:43:48.753Z] Configure a credential helper to remove this warning. See [2024-10-04T18:43:48.753Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:43:48.753Z] [2024-10-04T18:43:48.753Z] Login Succeeded [2024-10-04T18:43:48.753Z] nexus3.edgexfoundry.org:10004 [2024-10-04T18:43:48.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:43:48.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:43:48.754Z] Configure a credential helper to remove this warning. See [2024-10-04T18:43:48.754Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:43:48.754Z] [2024-10-04T18:43:48.754Z] Login Succeeded [2024-10-04T18:43:48.754Z] ****.io [2024-10-04T18:43:48.754Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:43:49.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:43:49.015Z] Configure a credential helper to remove this warning. See [2024-10-04T18:43:49.015Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:43:49.015Z] [2024-10-04T18:43:49.015Z] Login Succeeded [2024-10-04T18:43:49.015Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T18:43:49.021Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T18:43:49.116Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T18:43:49.131Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T18:43:49.145Z] ========================================================= [2024-10-04T18:43:49.145Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-04T18:43:49.145Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:43:49.488Z] + 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-04T18:43:49.488Z] Sending build context to Docker daemon 25.42MB [2024-10-04T18:43:49.488Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T18:43:49.488Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-04T18:43:49.747Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-04T18:43:49.747Z] 43c4264eed91: Pulling fs layer [2024-10-04T18:43:49.747Z] 4cc291be95ef: Pulling fs layer [2024-10-04T18:43:49.747Z] 2ac1f1163629: Pulling fs layer [2024-10-04T18:43:49.747Z] 5c3c966382ef: Pulling fs layer [2024-10-04T18:43:49.747Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T18:43:49.747Z] 5d5c8e513c77: Pulling fs layer [2024-10-04T18:43:49.747Z] 9f66e0745190: Pulling fs layer [2024-10-04T18:43:49.747Z] f49a43e4bbc0: Pulling fs layer [2024-10-04T18:43:49.747Z] 561ebcabdf7f: Pulling fs layer [2024-10-04T18:43:49.747Z] 9f66e0745190: Waiting [2024-10-04T18:43:49.747Z] f49a43e4bbc0: Waiting [2024-10-04T18:43:49.747Z] 561ebcabdf7f: Waiting [2024-10-04T18:43:49.747Z] 4f4fb700ef54: Waiting [2024-10-04T18:43:49.747Z] 5d5c8e513c77: Waiting [2024-10-04T18:43:49.747Z] 4cc291be95ef: Verifying Checksum [2024-10-04T18:43:49.747Z] 4cc291be95ef: Download complete [2024-10-04T18:43:49.747Z] 5c3c966382ef: Verifying Checksum [2024-10-04T18:43:49.747Z] 5c3c966382ef: Download complete [2024-10-04T18:43:49.747Z] 4f4fb700ef54: Download complete [2024-10-04T18:43:49.747Z] 5d5c8e513c77: Download complete [2024-10-04T18:43:49.747Z] 43c4264eed91: Download complete [2024-10-04T18:43:49.747Z] 9f66e0745190: Verifying Checksum [2024-10-04T18:43:49.747Z] 9f66e0745190: Download complete [2024-10-04T18:43:50.005Z] 561ebcabdf7f: Download complete [2024-10-04T18:43:50.005Z] 43c4264eed91: Pull complete [2024-10-04T18:43:50.005Z] 4cc291be95ef: Pull complete [2024-10-04T18:43:50.263Z] 2ac1f1163629: Verifying Checksum [2024-10-04T18:43:50.263Z] 2ac1f1163629: Download complete [2024-10-04T18:43:50.522Z] f49a43e4bbc0: Verifying Checksum [2024-10-04T18:43:50.522Z] f49a43e4bbc0: Download complete [2024-10-04T18:43:53.832Z] 2ac1f1163629: Pull complete [2024-10-04T18:43:54.100Z] 5c3c966382ef: Pull complete [2024-10-04T18:43:54.100Z] 4f4fb700ef54: Pull complete [2024-10-04T18:43:54.100Z] 5d5c8e513c77: Pull complete [2024-10-04T18:43:54.361Z] 9f66e0745190: Pull complete [2024-10-04T18:43:56.897Z] f49a43e4bbc0: Pull complete [2024-10-04T18:43:57.157Z] 561ebcabdf7f: Pull complete [2024-10-04T18:43:57.157Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-04T18:43:57.157Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-04T18:43:57.157Z] ---> 3a752c3f9dda [2024-10-04T18:43:57.157Z] Step 3/10 : ARG MAKE=make build [2024-10-04T18:44:02.459Z] ---> Running in 53600433d1b9 [2024-10-04T18:44:02.459Z] Removing intermediate container 53600433d1b9 [2024-10-04T18:44:02.459Z] ---> 27bac02478f2 [2024-10-04T18:44:02.459Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-04T18:44:02.459Z] ---> Running in 3c859edd4604 [2024-10-04T18:44:02.459Z] Removing intermediate container 3c859edd4604 [2024-10-04T18:44:02.459Z] ---> f021fbebc0c2 [2024-10-04T18:44:02.459Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T18:44:02.459Z] ---> Running in ed12834a0beb [2024-10-04T18:44:02.459Z] Removing intermediate container ed12834a0beb [2024-10-04T18:44:02.459Z] ---> 807443e90e09 [2024-10-04T18:44:02.459Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-04T18:44:02.459Z] ---> Running in 8c959bb75b4e [2024-10-04T18:44:02.719Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T18:44:02.986Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T18:44:03.117Z] Still waiting to schedule task [2024-10-04T18:44:03.118Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21843’ [2024-10-04T18:44:03.254Z] OK: 246 MiB in 54 packages [2024-10-04T18:44:03.521Z] Removing intermediate container 8c959bb75b4e [2024-10-04T18:44:03.521Z] ---> 49e31fd64dfe [2024-10-04T18:44:03.521Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-04T18:44:03.782Z] ---> bf77b68f079a [2024-10-04T18:44:03.782Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T18:44:03.782Z] ---> Running in 3f87e600d5c4 [2024-10-04T18:45:00.046Z] Removing intermediate container 3f87e600d5c4 [2024-10-04T18:45:00.046Z] ---> d75ad585669a [2024-10-04T18:45:00.046Z] Step 9/10 : COPY . . [2024-10-04T18:45:00.046Z] ---> 70f8df21e24b [2024-10-04T18:45:00.046Z] Step 10/10 : RUN ${MAKE} [2024-10-04T18:45:00.046Z] ---> Running in 154f3c2c2e09 [2024-10-04T18:45:00.046Z] noop [2024-10-04T18:45:00.046Z] Removing intermediate container 154f3c2c2e09 [2024-10-04T18:45:00.046Z] ---> 36598faadc1c [2024-10-04T18:45:00.046Z] Successfully built 36598faadc1c [2024-10-04T18:45:00.046Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:45:00.390Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T18:45:00.390Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:45:00.480Z] prd-ubuntu20.04-docker-8c-8g-21844 does not seem to be running inside a container [2024-10-04T18:45:00.510Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T18:45:00.829Z] $ docker top cbabbf215f497bccc26a6e327663b18a5bedf5b55873d5986daedf152de61df4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T18:45:01.176Z] + go version [2024-10-04T18:45:01.176Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-04T18:45:01.185Z] $ docker stop --time=1 cbabbf215f497bccc26a6e327663b18a5bedf5b55873d5986daedf152de61df4 [2024-10-04T18:45:02.468Z] $ docker rm -f --volumes cbabbf215f497bccc26a6e327663b18a5bedf5b55873d5986daedf152de61df4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:45:02.915Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-04T18:45:02.915Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:45:02.999Z] prd-ubuntu20.04-docker-8c-8g-21844 does not seem to be running inside a container [2024-10-04T18:45:03.030Z] $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-10-04T18:45:03.360Z] $ docker top 4e0560fc49b0e8b61354ae8e4428472ea408565b53385259a00854a853c90ffb -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T18:45:03.718Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] fileExists [Pipeline] sh [2024-10-04T18:45:04.024Z] + make test [2024-10-04T18:45:04.024Z] go test -race -coverprofile=coverage.out ./... [2024-10-04T18:45:12.139Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-04T18:45:50.893Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-04T18:45:50.893Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-04T18:45:50.893Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-04T18:45:50.893Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-04T18:45:50.893Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-04T18:45:50.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.043s coverage: 26.0% of statements [2024-10-04T18:45:50.893Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.039s coverage: 79.4% of statements [2024-10-04T18:45:50.893Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-04T18:45:50.893Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-04T18:45:51.463Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-04T18:45:51.723Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.054s coverage: 86.0% of statements [2024-10-04T18:45:51.981Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-04T18:45:51.981Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-04T18:45:51.981Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-04T18:45:52.546Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.095s coverage: 45.2% of statements [2024-10-04T18:45:54.449Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-04T18:45:55.825Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.059s coverage: 14.1% of statements [2024-10-04T18:45:55.825Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.255s coverage: 44.6% of statements [2024-10-04T18:45:55.825Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.067s coverage: 68.3% of statements [2024-10-04T18:45:55.825Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.088s coverage: 88.3% of statements [2024-10-04T18:45:55.826Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.060s coverage: 5.3% of statements [2024-10-04T18:46:27.909Z] GO111MODULE=on go vet ./... [2024-10-04T18:46:33.186Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T18:46:33.186Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T18:46:33.186Z] ./bin/test-attribution-txt.sh [2024-10-04T18:46:33.454Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-04T18:46:33.454Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-04T18:46:33.492Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T18:46:33.516Z] $ docker stop --time=1 4e0560fc49b0e8b61354ae8e4428472ea408565b53385259a00854a853c90ffb [2024-10-04T18:46:37.300Z] $ docker rm -f --volumes 4e0560fc49b0e8b61354ae8e4428472ea408565b53385259a00854a853c90ffb [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T18:46:37.953Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T18:46:38.062Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-04T18:46:38.694Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T18:46:38.988Z] + ls -al . [2024-10-04T18:46:38.988Z] total 712 [2024-10-04T18:46:38.988Z] drwxrwxr-x 11 jenkins jenkins 4096 Oct 4 18:45 . [2024-10-04T18:46:38.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 18:43 .. [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 18:43 .dockerignore [2024-10-04T18:46:38.988Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 18:45 .git [2024-10-04T18:46:38.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:43 .github [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 18:43 .gitignore [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 18:43 .golangci.yml [2024-10-04T18:46:38.988Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 18:43 .semver [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 18:43 CHANGELOG.md [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 18:43 GOVERNANCE.md [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 18:43 Jenkinsfile [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 18:43 LICENSE [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 18:43 Makefile [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 18:43 OWNERS.md [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 18:43 README.md [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 18:43 VERSION [2024-10-04T18:46:38.988Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 18:43 bin [2024-10-04T18:46:38.988Z] -rw-r--r-- 1 jenkins jenkins 466603 Oct 4 18:45 coverage.out [2024-10-04T18:46:38.988Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 18:43 example [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 18:43 go.mod [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 18:43 go.sum [2024-10-04T18:46:38.988Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 18:43 internal [2024-10-04T18:46:38.988Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:43 openapi [2024-10-04T18:46:38.988Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 18:43 pkg [2024-10-04T18:46:38.988Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 18:43 snap [2024-10-04T18:46:38.988Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 18:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:46:39.309Z] + 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=8e04c2da464319b2a4b21d4a1fd729fe8412ba48 --label arch=amd64 --label version=0.0.0 . [2024-10-04T18:46:39.309Z] Sending build context to Docker daemon 25.89MB [2024-10-04T18:46:39.309Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T18:46:39.309Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-04T18:46:39.309Z] ---> 36598faadc1c [2024-10-04T18:46:39.309Z] Step 3/24 : ARG MAKE=make build [2024-10-04T18:46:39.879Z] ---> Running in e29252f1a50b [2024-10-04T18:46:39.879Z] Removing intermediate container e29252f1a50b [2024-10-04T18:46:39.879Z] ---> 68d895a5696f [2024-10-04T18:46:39.879Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-04T18:46:39.879Z] ---> Running in f0d877d5be48 [2024-10-04T18:46:39.879Z] Removing intermediate container f0d877d5be48 [2024-10-04T18:46:39.879Z] ---> 6b9d58c2cb72 [2024-10-04T18:46:39.879Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T18:46:39.879Z] ---> Running in 63309d5cece1 [2024-10-04T18:46:39.879Z] Removing intermediate container 63309d5cece1 [2024-10-04T18:46:39.879Z] ---> bb804b2a2629 [2024-10-04T18:46:39.879Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-04T18:46:40.138Z] ---> Running in fb1b779522df [2024-10-04T18:46:40.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T18:46:40.397Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T18:46:40.967Z] OK: 246 MiB in 54 packages [2024-10-04T18:46:41.227Z] Removing intermediate container fb1b779522df [2024-10-04T18:46:41.227Z] ---> c646b3472877 [2024-10-04T18:46:41.227Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-04T18:46:41.227Z] ---> 11e90c8c2ae6 [2024-10-04T18:46:41.227Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T18:46:41.227Z] ---> Running in d9997ecc2dee [2024-10-04T18:46:42.164Z] Removing intermediate container d9997ecc2dee [2024-10-04T18:46:42.164Z] ---> 4c8e8a7c927c [2024-10-04T18:46:42.164Z] Step 9/24 : COPY . . [2024-10-04T18:46:43.102Z] ---> 0a6f8e877011 [2024-10-04T18:46:43.102Z] Step 10/24 : RUN ${MAKE} [2024-10-04T18:46:43.102Z] ---> Running in 0d1ef377846f [2024-10-04T18:46:43.102Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-04T18:47:16.979Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21845 in /w/workspace/gexfoundry_device-sdk-go_PR-1632 [Pipeline] { [Pipeline] ws [2024-10-04T18:47:16.996Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2024-10-04T18:47:20.054Z] The recommended git tool is: git [2024-10-04T18:47:21.841Z] Removing intermediate container 0d1ef377846f [2024-10-04T18:47:21.841Z] ---> 6abd229ac23b [2024-10-04T18:47:21.841Z] Step 11/24 : FROM alpine:3.20 [2024-10-04T18:47:21.841Z] 3.20: Pulling from library/alpine [2024-10-04T18:47:21.841Z] 43c4264eed91: Already exists [2024-10-04T18:47:21.841Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T18:47:21.841Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T18:47:21.841Z] ---> 91ef0af61f39 [2024-10-04T18:47:21.841Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-04T18:47:21.841Z] ---> Running in 5ade6382f2bc [2024-10-04T18:47:21.841Z] Removing intermediate container 5ade6382f2bc [2024-10-04T18:47:21.841Z] ---> 3a5783306703 [2024-10-04T18:47:21.841Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-04T18:47:21.841Z] ---> Running in 2989d8b052fd [2024-10-04T18:47:21.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T18:47:21.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T18:47:21.841Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T18:47:21.841Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T18:47:21.841Z] OK: 8 MiB in 15 packages [2024-10-04T18:47:21.841Z] Removing intermediate container 2989d8b052fd [2024-10-04T18:47:21.841Z] ---> 1ba210bc7581 [2024-10-04T18:47:21.841Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-04T18:47:21.841Z] ---> Running in c92fa876763e [2024-10-04T18:47:21.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T18:47:21.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T18:47:21.841Z] Upgrading critical system libraries and apk-tools: [2024-10-04T18:47:21.841Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T18:47:21.841Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T18:47:21.841Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T18:47:21.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-04T18:47:21.841Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-04T18:47:21.841Z] OK: 8 MiB in 15 packages [2024-10-04T18:47:21.841Z] Removing intermediate container c92fa876763e [2024-10-04T18:47:21.841Z] ---> af68e9c0c91c [2024-10-04T18:47:21.841Z] Step 15/24 : WORKDIR / [2024-10-04T18:47:21.841Z] ---> Running in de40b44c9224 [2024-10-04T18:47:21.841Z] Removing intermediate container de40b44c9224 [2024-10-04T18:47:21.841Z] ---> 7ac9f20387a1 [2024-10-04T18:47:21.841Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-04T18:47:21.841Z] ---> e315c2f2cb72 [2024-10-04T18:47:21.841Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-04T18:47:22.408Z] ---> 5d5a23ba0625 [2024-10-04T18:47:22.408Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-04T18:47:22.408Z] ---> e36540997f8f [2024-10-04T18:47:22.408Z] Step 19/24 : EXPOSE 59999 [2024-10-04T18:47:22.408Z] ---> Running in 8f68007549ec [2024-10-04T18:47:22.408Z] Removing intermediate container 8f68007549ec [2024-10-04T18:47:22.408Z] ---> e53e67bd9b70 [2024-10-04T18:47:22.408Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-04T18:47:22.408Z] ---> Running in 3715a2ef1903 [2024-10-04T18:47:22.665Z] Removing intermediate container 3715a2ef1903 [2024-10-04T18:47:22.665Z] ---> 2223b26bbfba [2024-10-04T18:47:22.665Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T18:47:22.665Z] ---> Running in 242ad0c2b315 [2024-10-04T18:47:22.665Z] Removing intermediate container 242ad0c2b315 [2024-10-04T18:47:22.665Z] ---> ff1f48cf55dc [2024-10-04T18:47:22.666Z] Step 22/24 : LABEL arch=amd64 [2024-10-04T18:47:22.666Z] ---> Running in ce92680006f9 [2024-10-04T18:47:22.666Z] Removing intermediate container ce92680006f9 [2024-10-04T18:47:22.666Z] ---> 0e7ff9fc52b0 [2024-10-04T18:47:22.666Z] Step 23/24 : LABEL git_sha=8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [2024-10-04T18:47:22.666Z] ---> Running in 443ccef0f147 [2024-10-04T18:47:22.925Z] Removing intermediate container 443ccef0f147 [2024-10-04T18:47:22.925Z] ---> 2892b1d8fc14 [2024-10-04T18:47:22.925Z] Step 24/24 : LABEL version=0.0.0 [2024-10-04T18:47:22.925Z] ---> Running in 4fd85c43d41d [2024-10-04T18:47:22.925Z] Removing intermediate container 4fd85c43d41d [2024-10-04T18:47:22.925Z] ---> 7d4ef9cd1913 [2024-10-04T18:47:22.925Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T18:47:22.925Z] Successfully built 7d4ef9cd1913 [2024-10-04T18:47:22.925Z] 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-04T18:47:23.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T18:47:23.411Z] [2024-10-04T18:47:23.411Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:47:23.723Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T18:47:23.723Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-04T18:47:23.723Z] 5eb5b503b376: Pulling fs layer [2024-10-04T18:47:23.723Z] 5c69ac0246d0: Pulling fs layer [2024-10-04T18:47:23.723Z] ec43610c2a17: Pulling fs layer [2024-10-04T18:47:23.723Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-04T18:47:23.723Z] 33b1e0a273af: Pulling fs layer [2024-10-04T18:47:23.723Z] 5d3b04190fa2: Pulling fs layer [2024-10-04T18:47:23.723Z] 2f39f015ded8: Pulling fs layer [2024-10-04T18:47:23.723Z] 5d3b04190fa2: Waiting [2024-10-04T18:47:23.723Z] 3a2ae6a8a46f: Waiting [2024-10-04T18:47:23.723Z] 33b1e0a273af: Waiting [2024-10-04T18:47:23.723Z] 2f39f015ded8: Waiting [2024-10-04T18:47:23.723Z] 5c69ac0246d0: Verifying Checksum [2024-10-04T18:47:23.723Z] 5c69ac0246d0: Download complete [2024-10-04T18:47:23.723Z] 3a2ae6a8a46f: Verifying Checksum [2024-10-04T18:47:23.723Z] 3a2ae6a8a46f: Download complete [2024-10-04T18:47:23.723Z] 33b1e0a273af: Verifying Checksum [2024-10-04T18:47:23.723Z] 33b1e0a273af: Download complete [2024-10-04T18:47:23.723Z] 5d3b04190fa2: Verifying Checksum [2024-10-04T18:47:23.723Z] 5d3b04190fa2: Download complete [2024-10-04T18:47:23.723Z] ec43610c2a17: Verifying Checksum [2024-10-04T18:47:23.723Z] ec43610c2a17: Download complete [2024-10-04T18:47:23.981Z] 5eb5b503b376: Verifying Checksum [2024-10-04T18:47:23.981Z] 5eb5b503b376: Download complete [2024-10-04T18:47:24.546Z] 2f39f015ded8: Download complete [2024-10-04T18:47:25.493Z] 5eb5b503b376: Pull complete [2024-10-04T18:47:25.493Z] 5c69ac0246d0: Pull complete [2024-10-04T18:47:26.059Z] ec43610c2a17: Pull complete [2024-10-04T18:47:26.059Z] 3a2ae6a8a46f: Pull complete [2024-10-04T18:47:26.316Z] 33b1e0a273af: Pull complete [2024-10-04T18:47:26.316Z] 5d3b04190fa2: Pull complete [2024-10-04T18:47:28.361Z] using credential edgex-jenkins-ssh [2024-10-04T18:47:28.386Z] Cloning the remote Git repository [2024-10-04T18:47:28.457Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-10-04T18:47:28.641Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2024-10-04T18:47:29.007Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-04T18:47:29.009Z] > git --version # timeout=10 [2024-10-04T18:47:29.046Z] > git --version # 'git version 2.25.1' [2024-10-04T18:47:29.048Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T18:47:29.266Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T18:47:31.582Z] 2f39f015ded8: Pull complete [2024-10-04T18:47:31.582Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-04T18:47:31.582Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T18:47:31.582Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:47:31.689Z] prd-ubuntu20.04-docker-8c-8g-21844 does not seem to be running inside a container [2024-10-04T18:47:31.722Z] $ 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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T18:47:32.919Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-04T18:47:32.954Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-04T18:47:35.076Z] Merging remotes/origin/main commit 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf into PR head commit 3f79d91e42934c0c8204e64f9535ff278efb44e2 [2024-10-04T18:47:34.402Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-10-04T18:47:34.459Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-10-04T18:47:34.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T18:47:34.505Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1632/head:refs/remotes/origin/PR-1632 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-10-04T18:47:35.097Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T18:47:35.205Z] > git checkout -f 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 [2024-10-04T18:47:35.640Z] Merge succeeded, producing e4887391fc191a9e394a9397e2a296fee6df83d9 [2024-10-04T18:47:35.641Z] Checking out Revision e4887391fc191a9e394a9397e2a296fee6df83d9 (PR-1632) [2024-10-04T18:47:35.732Z] $ docker top dc1105af075adb07db4eb1b9973c97b7c2948db07bb7b59a2ca57d81bf44b1bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:47:36.124Z] ---> job-cost.sh [2024-10-04T18:47:36.124Z] lf-activate-venv: SKIPPING [2024-10-04T18:47:36.124Z] INFO: No Stack... [2024-10-04T18:47:36.383Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T18:47:36.641Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T18:47:36.931Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/cost.csv [2024-10-04T18:47:36.931Z] + cut -d, -f6 [Pipeline] lock [2024-10-04T18:47:36.947Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] [2024-10-04T18:47:36.954Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] did not exist. Created. [2024-10-04T18:47:36.961Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T18:47:35.375Z] > git remote # timeout=10 [2024-10-04T18:47:35.411Z] > git config --get remote.origin.url # timeout=10 [2024-10-04T18:47:35.436Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-04T18:47:35.470Z] > git merge 9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf # timeout=10 [2024-10-04T18:47:35.614Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-04T18:47:35.647Z] > git config core.sparsecheckout # timeout=10 [2024-10-04T18:47:35.668Z] > git checkout -f e4887391fc191a9e394a9397e2a296fee6df83d9 # timeout=10 [2024-10-04T18:47:37.275Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-04T18:47:37.318Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T18:47:37.326Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T18:47:37.352Z] $ docker stop --time=1 dc1105af075adb07db4eb1b9973c97b7c2948db07bb7b59a2ca57d81bf44b1bf [2024-10-04T18:47:38.510Z] $ docker rm -f --volumes dc1105af075adb07db4eb1b9973c97b7c2948db07bb7b59a2ca57d81bf44b1bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-04T18:47:39.403Z] Commit message: "Merge commit '9dc1e0eae8f50dc165e5cd4a9f3d9305c6986faf' into HEAD" [2024-10-04T18:47:39.410Z] > git rev-list --no-walk 3f79d91e42934c0c8204e64f9535ff278efb44e2 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T18:47:41.409Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-04T18:47:41.409Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T18:47:41.409Z] Dload Upload Total Spent Left Speed [2024-10-04T18:47:41.409Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97923 0 --:--:-- --:--:-- --:--:-- 97923 [Pipeline] sh [2024-10-04T18:47:41.750Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-04T18:47:42.083Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-10-04T18:47:42.083Z] + sudo tee /etc/docker/daemon.new [2024-10-04T18:47:42.083Z] { [2024-10-04T18:47:42.083Z] "registry-mirrors": [ [2024-10-04T18:47:42.083Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-04T18:47:42.083Z] ], [2024-10-04T18:47:42.083Z] "bip": "10.250.0.254/24", [2024-10-04T18:47:42.083Z] "hosts": [ [2024-10-04T18:47:42.083Z] "tcp://0.0.0.0:5555", [2024-10-04T18:47:42.083Z] "unix:///var/run/docker.sock" [2024-10-04T18:47:42.083Z] ], [2024-10-04T18:47:42.083Z] "mtu": 1458, [2024-10-04T18:47:42.083Z] "selinux-enabled": true, [2024-10-04T18:47:42.083Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-04T18:47:42.083Z] } [Pipeline] sh [2024-10-04T18:47:42.417Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-04T18:47:42.756Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T18:48:01.063Z] provisioning config files... [2024-10-04T18:48:01.091Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config10471306681037296684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T18:48:01.549Z] ---> ****-login.sh [2024-10-04T18:48:01.549Z] nexus3.edgexfoundry.org:10001 [2024-10-04T18:48:01.839Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:48:02.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:48:02.110Z] Configure a credential helper to remove this warning. See [2024-10-04T18:48:02.110Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:48:02.110Z] [2024-10-04T18:48:02.110Z] Login Succeeded [2024-10-04T18:48:02.382Z] nexus3.edgexfoundry.org:10002 [2024-10-04T18:48:02.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:48:02.652Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:48:02.652Z] Configure a credential helper to remove this warning. See [2024-10-04T18:48:02.653Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:48:02.653Z] [2024-10-04T18:48:02.653Z] Login Succeeded [2024-10-04T18:48:02.653Z] nexus3.edgexfoundry.org:10003 [2024-10-04T18:48:02.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:48:02.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:48:02.921Z] Configure a credential helper to remove this warning. See [2024-10-04T18:48:02.921Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:48:02.921Z] [2024-10-04T18:48:02.921Z] Login Succeeded [2024-10-04T18:48:02.921Z] nexus3.edgexfoundry.org:10004 [2024-10-04T18:48:03.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:48:03.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:48:03.197Z] Configure a credential helper to remove this warning. See [2024-10-04T18:48:03.197Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:48:03.197Z] [2024-10-04T18:48:03.197Z] Login Succeeded [2024-10-04T18:48:03.197Z] ****.io [2024-10-04T18:48:03.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-04T18:48:03.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-04T18:48:03.729Z] Configure a credential helper to remove this warning. See [2024-10-04T18:48:03.729Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-04T18:48:03.729Z] [2024-10-04T18:48:03.729Z] Login Succeeded [2024-10-04T18:48:03.729Z] ---> ****-login.sh ends [Pipeline] } [2024-10-04T18:48:03.742Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-04T18:48:04.043Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T18:48:04.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-04T18:48:04.080Z] ========================================================= [2024-10-04T18:48:04.080Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-04T18:48:04.080Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:48:04.456Z] + 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-04T18:48:05.045Z] Sending build context to Docker daemon 13.17MB [2024-10-04T18:48:05.045Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T18:48:05.045Z] Step 2/10 : FROM ${BASE} AS builder [2024-10-04T18:48:05.045Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-04T18:48:05.045Z] cf04c63912e1: Pulling fs layer [2024-10-04T18:48:05.045Z] 55b35a11ae5e: Pulling fs layer [2024-10-04T18:48:05.045Z] a37a00ec5f00: Pulling fs layer [2024-10-04T18:48:05.045Z] 50b3750afda1: Pulling fs layer [2024-10-04T18:48:05.045Z] 4f4fb700ef54: Pulling fs layer [2024-10-04T18:48:05.045Z] 80978eb59214: Pulling fs layer [2024-10-04T18:48:05.045Z] c9f46d7d2bd2: Pulling fs layer [2024-10-04T18:48:05.045Z] c5a475d317c9: Pulling fs layer [2024-10-04T18:48:05.045Z] c5a475d317c9: Waiting [2024-10-04T18:48:05.045Z] 80978eb59214: Waiting [2024-10-04T18:48:05.045Z] 4f4fb700ef54: Waiting [2024-10-04T18:48:05.045Z] 50b3750afda1: Waiting [2024-10-04T18:48:05.045Z] c9f46d7d2bd2: Waiting [2024-10-04T18:48:05.318Z] 55b35a11ae5e: Verifying Checksum [2024-10-04T18:48:05.318Z] 55b35a11ae5e: Download complete [2024-10-04T18:48:05.318Z] 50b3750afda1: Verifying Checksum [2024-10-04T18:48:05.318Z] 50b3750afda1: Download complete [2024-10-04T18:48:05.318Z] 4f4fb700ef54: Verifying Checksum [2024-10-04T18:48:05.318Z] 4f4fb700ef54: Download complete [2024-10-04T18:48:05.318Z] 80978eb59214: Verifying Checksum [2024-10-04T18:48:05.318Z] 80978eb59214: Download complete [2024-10-04T18:48:05.318Z] cf04c63912e1: Verifying Checksum [2024-10-04T18:48:05.318Z] cf04c63912e1: Download complete [2024-10-04T18:48:05.911Z] c5a475d317c9: Download complete [2024-10-04T18:48:06.183Z] cf04c63912e1: Pull complete [2024-10-04T18:48:06.772Z] 55b35a11ae5e: Pull complete [2024-10-04T18:48:07.360Z] a37a00ec5f00: Verifying Checksum [2024-10-04T18:48:07.360Z] a37a00ec5f00: Download complete [2024-10-04T18:48:07.946Z] c9f46d7d2bd2: Verifying Checksum [2024-10-04T18:48:07.946Z] c9f46d7d2bd2: Download complete [2024-10-04T18:48:22.970Z] a37a00ec5f00: Pull complete [2024-10-04T18:48:22.970Z] 50b3750afda1: Pull complete [2024-10-04T18:48:22.970Z] 4f4fb700ef54: Pull complete [2024-10-04T18:48:22.970Z] 80978eb59214: Pull complete [2024-10-04T18:48:29.625Z] c9f46d7d2bd2: Pull complete [2024-10-04T18:48:31.031Z] c5a475d317c9: Pull complete [2024-10-04T18:48:31.031Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-04T18:48:31.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-04T18:48:31.031Z] ---> be29e6b0f0d4 [2024-10-04T18:48:31.031Z] Step 3/10 : ARG MAKE=make build [2024-10-04T18:48:31.994Z] ---> Running in 66bb6ea374b8 [2024-10-04T18:48:31.994Z] Removing intermediate container 66bb6ea374b8 [2024-10-04T18:48:31.994Z] ---> 15c1c1a45663 [2024-10-04T18:48:31.994Z] Step 4/10 : WORKDIR /device-sdk-go [2024-10-04T18:48:32.261Z] ---> Running in 8627e4b3423c [2024-10-04T18:48:32.528Z] Removing intermediate container 8627e4b3423c [2024-10-04T18:48:32.528Z] ---> eb240193b2d6 [2024-10-04T18:48:32.528Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T18:48:32.528Z] ---> Running in 797a62df957d [2024-10-04T18:48:32.795Z] Removing intermediate container 797a62df957d [2024-10-04T18:48:32.795Z] ---> b5ad93d6c92c [2024-10-04T18:48:32.795Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-10-04T18:48:32.795Z] ---> Running in dd90f807af84 [2024-10-04T18:48:34.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T18:48:34.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T18:48:35.619Z] OK: 238 MiB in 54 packages [2024-10-04T18:48:36.584Z] Removing intermediate container dd90f807af84 [2024-10-04T18:48:36.584Z] ---> 7fd5b244bb5a [2024-10-04T18:48:36.584Z] Step 7/10 : COPY go.mod vendor* ./ [2024-10-04T18:48:38.536Z] ---> d7bda119342b [2024-10-04T18:48:38.536Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T18:48:38.536Z] ---> Running in 5a9c047d3a8e [2024-10-04T18:50:45.240Z] Removing intermediate container 5a9c047d3a8e [2024-10-04T18:50:45.240Z] ---> 6303094233c8 [2024-10-04T18:50:45.240Z] Step 9/10 : COPY . . [2024-10-04T18:50:45.240Z] ---> f54c7b3f0d98 [2024-10-04T18:50:45.240Z] Step 10/10 : RUN ${MAKE} [2024-10-04T18:50:45.240Z] ---> Running in e35c977ed8ce [2024-10-04T18:50:45.240Z] noop [2024-10-04T18:50:45.240Z] Removing intermediate container e35c977ed8ce [2024-10-04T18:50:45.240Z] ---> b4cfeeb959dc [2024-10-04T18:50:45.240Z] Successfully built b4cfeeb959dc [2024-10-04T18:50:45.240Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:50:45.614Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T18:50:45.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:50:45.833Z] prd-ubuntu20.04-docker-arm64-4c-16g-21845 does not seem to be running inside a container [2024-10-04T18:50:45.892Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T18:50:47.115Z] $ docker top 3cff8b51a5f7c840e7b29efa26deb138796c52a6a3c4f07930595cb2c9a05720 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T18:50:47.944Z] + go version [2024-10-04T18:50:47.944Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-04T18:50:47.960Z] $ docker stop --time=1 3cff8b51a5f7c840e7b29efa26deb138796c52a6a3c4f07930595cb2c9a05720 [2024-10-04T18:50:49.558Z] $ docker rm -f --volumes 3cff8b51a5f7c840e7b29efa26deb138796c52a6a3c4f07930595cb2c9a05720 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:50:50.133Z] + docker inspect -f . ci-base-image-arm64 [2024-10-04T18:50:50.133Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T18:50:50.304Z] prd-ubuntu20.04-docker-arm64-4c-16g-21845 does not seem to be running inside a container [2024-10-04T18:50:50.367Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-04T18:50:51.553Z] $ docker top d5a51093e072ee0077906b16622237fb30b5d9180b2db6e004d28432b6807616 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T18:50:52.063Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2024-10-04T18:50:52.728Z] + make test [2024-10-04T18:50:52.728Z] go test -race -coverprofile=coverage.out ./... [2024-10-04T18:51:39.542Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-10-04T18:55:01.356Z] github.com/edgexfoundry/device-sdk-go/v3/example/driver coverage: 0.0% of statements [2024-10-04T18:55:01.356Z] github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple coverage: 0.0% of statements [2024-10-04T18:55:01.356Z] github.com/edgexfoundry/device-sdk-go/v3/internal/application coverage: 0.0% of statements [2024-10-04T18:55:01.356Z] github.com/edgexfoundry/device-sdk-go/v3/example/config coverage: 0.0% of statements [2024-10-04T18:55:01.356Z] github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery coverage: 0.0% of statements [2024-10-04T18:55:06.696Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.171s coverage: 26.0% of statements [2024-10-04T18:55:10.946Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.175s coverage: 79.4% of statements [2024-10-04T18:55:19.161Z] github.com/edgexfoundry/device-sdk-go/v3/internal/config coverage: 0.0% of statements [2024-10-04T18:55:19.162Z] github.com/edgexfoundry/device-sdk-go/v3/internal/container coverage: 0.0% of statements [2024-10-04T18:55:20.573Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.261s coverage: 86.0% of statements [2024-10-04T18:55:24.832Z] github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation coverage: 0.0% of statements [2024-10-04T18:55:26.879Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.549s coverage: 45.2% of statements [2024-10-04T18:55:32.330Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.243s coverage: 14.1% of statements [2024-10-04T18:55:32.330Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.604s coverage: 44.6% of statements [2024-10-04T18:55:33.736Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-10-04T18:55:33.736Z] github.com/edgexfoundry/device-sdk-go/v3/internal/utils coverage: 0.0% of statements [2024-10-04T18:55:33.736Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks coverage: 0.0% of statements [2024-10-04T18:55:34.693Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.365s coverage: 68.3% of statements [2024-10-04T18:55:40.034Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.460s coverage: 88.3% of statements [2024-10-04T18:55:44.281Z] github.com/edgexfoundry/device-sdk-go/v3/pkg/startup coverage: 0.0% of statements [2024-10-04T18:55:45.238Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.290s coverage: 5.3% of statements [2024-10-04T18:55:46.638Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-04T18:55:46.638Z] GO111MODULE=on go vet ./... [2024-10-04T18:59:08.405Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-04T18:59:08.405Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-04T18:59:08.405Z] ./bin/test-attribution-txt.sh [2024-10-04T18:59:08.405Z] An attribution for github.com/openziti/channel/v3 is missing from Attribution.txt, please add [2024-10-04T18:59:08.405Z] An attribution for gopkg.in/go-jose/go-jose.v2 is missing from Attribution.txt, please add [Pipeline] echo [2024-10-04T18:59:08.426Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-04T18:59:08.447Z] $ docker stop --time=1 d5a51093e072ee0077906b16622237fb30b5d9180b2db6e004d28432b6807616 [2024-10-04T18:59:10.334Z] $ docker rm -f --volumes d5a51093e072ee0077906b16622237fb30b5d9180b2db6e004d28432b6807616 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-04T18:59:12.549Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-04T18:59:12.578Z] Warning: overwriting stash ‘coverage-report’ [2024-10-04T18:59:13.210Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-04T18:59:13.621Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-04T18:59:13.928Z] + ls -al . [2024-10-04T18:59:13.928Z] total 708 [2024-10-04T18:59:13.928Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 4 18:50 . [2024-10-04T18:59:13.928Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 18:47 .. [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 4 18:47 .dockerignore [2024-10-04T18:59:13.928Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 4 18:47 .git [2024-10-04T18:59:13.928Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:47 .github [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 137 Oct 4 18:47 .gitignore [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 199 Oct 4 18:47 .golangci.yml [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 48109 Oct 4 18:47 CHANGELOG.md [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 4 18:47 GOVERNANCE.md [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 885 Oct 4 18:47 Jenkinsfile [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 4 18:47 LICENSE [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 1842 Oct 4 18:47 Makefile [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 4 18:47 OWNERS.md [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 4937 Oct 4 18:47 README.md [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 4 18:43 VERSION [2024-10-04T18:59:13.928Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 4 18:47 bin [2024-10-04T18:59:13.928Z] -rw-r--r-- 1 jenkins jenkins 466603 Oct 4 18:55 coverage.out [2024-10-04T18:59:13.928Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 4 18:47 example [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 6956 Oct 4 18:47 go.mod [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 99963 Oct 4 18:47 go.sum [2024-10-04T18:59:13.928Z] drwxrwxr-x 13 jenkins jenkins 4096 Oct 4 18:47 internal [2024-10-04T18:59:13.928Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 4 18:47 openapi [2024-10-04T18:59:13.928Z] drwxrwxr-x 6 jenkins jenkins 4096 Oct 4 18:47 pkg [2024-10-04T18:59:13.928Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 4 18:47 snap [2024-10-04T18:59:13.928Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 4 18:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T18:59:14.273Z] + 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=e4887391fc191a9e394a9397e2a296fee6df83d9 --label arch=arm64 --label version=0.0.0 . [2024-10-04T18:59:14.864Z] Sending build context to Docker daemon 13.64MB [2024-10-04T18:59:14.864Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-10-04T18:59:14.864Z] Step 2/24 : FROM ${BASE} AS builder [2024-10-04T18:59:14.864Z] ---> b4cfeeb959dc [2024-10-04T18:59:14.864Z] Step 3/24 : ARG MAKE=make build [2024-10-04T18:59:14.864Z] ---> Running in 9ffac7382f17 [2024-10-04T18:59:15.130Z] Removing intermediate container 9ffac7382f17 [2024-10-04T18:59:15.130Z] ---> 35f237236640 [2024-10-04T18:59:15.130Z] Step 4/24 : WORKDIR /device-sdk-go [2024-10-04T18:59:15.395Z] ---> Running in 708ad16615ff [2024-10-04T18:59:15.667Z] Removing intermediate container 708ad16615ff [2024-10-04T18:59:15.667Z] ---> 0e8a54da15b2 [2024-10-04T18:59:15.667Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-04T18:59:15.667Z] ---> Running in 60ac1d8854e8 [2024-10-04T18:59:15.936Z] Removing intermediate container 60ac1d8854e8 [2024-10-04T18:59:15.936Z] ---> da42bbbc32f5 [2024-10-04T18:59:15.936Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-10-04T18:59:15.936Z] ---> Running in 2695b9376d93 [2024-10-04T18:59:16.895Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T18:59:17.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T18:59:18.880Z] OK: 238 MiB in 54 packages [2024-10-04T18:59:19.459Z] Removing intermediate container 2695b9376d93 [2024-10-04T18:59:19.460Z] ---> 6b2cc331511d [2024-10-04T18:59:19.460Z] Step 7/24 : COPY go.mod vendor* ./ [2024-10-04T18:59:20.041Z] ---> 84fb12e6a9fa [2024-10-04T18:59:20.041Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-04T18:59:20.041Z] ---> Running in a578a434d716 [2024-10-04T18:59:21.980Z] Removing intermediate container a578a434d716 [2024-10-04T18:59:21.980Z] ---> 84628f89f5c6 [2024-10-04T18:59:21.980Z] Step 9/24 : COPY . . [2024-10-04T18:59:23.392Z] ---> 772aa46b1bd0 [2024-10-04T18:59:23.392Z] Step 10/24 : RUN ${MAKE} [2024-10-04T18:59:23.659Z] ---> Running in d4c5595f6de2 [2024-10-04T18:59:24.621Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-10-04T19:02:46.369Z] Removing intermediate container d4c5595f6de2 [2024-10-04T19:02:46.369Z] ---> b55f67205ba8 [2024-10-04T19:02:46.369Z] Step 11/24 : FROM alpine:3.20 [2024-10-04T19:02:46.369Z] 3.20: Pulling from library/alpine [2024-10-04T19:02:46.369Z] cf04c63912e1: Already exists [2024-10-04T19:02:46.369Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-04T19:02:46.369Z] Status: Downloaded newer image for alpine:3.20 [2024-10-04T19:02:46.369Z] ---> c157a85ed455 [2024-10-04T19:02:46.369Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-10-04T19:02:46.369Z] ---> Running in d1c091ebc327 [2024-10-04T19:02:46.369Z] Removing intermediate container d1c091ebc327 [2024-10-04T19:02:46.369Z] ---> 082720353078 [2024-10-04T19:02:46.369Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-10-04T19:02:46.369Z] ---> Running in 36a8eb94aa37 [2024-10-04T19:02:46.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T19:02:46.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T19:02:46.952Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-04T19:02:46.952Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T19:02:46.952Z] OK: 9 MiB in 15 packages [2024-10-04T19:02:47.913Z] Removing intermediate container 36a8eb94aa37 [2024-10-04T19:02:47.913Z] ---> 0226f9477a61 [2024-10-04T19:02:47.913Z] Step 14/24 : RUN apk --no-cache upgrade [2024-10-04T19:02:47.913Z] ---> Running in 5203b8ff2792 [2024-10-04T19:02:48.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T19:02:49.137Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T19:02:50.543Z] Upgrading critical system libraries and apk-tools: [2024-10-04T19:02:50.543Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-04T19:02:50.543Z] Executing busybox-1.36.1-r29.trigger [2024-10-04T19:02:50.543Z] Continuing the upgrade transaction with new apk-tools: [2024-10-04T19:02:50.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-04T19:02:50.809Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-04T19:02:52.213Z] OK: 9 MiB in 15 packages [2024-10-04T19:02:52.794Z] Removing intermediate container 5203b8ff2792 [2024-10-04T19:02:52.794Z] ---> 3b31e51d6595 [2024-10-04T19:02:52.794Z] Step 15/24 : WORKDIR / [2024-10-04T19:02:52.794Z] ---> Running in af01b8bdde56 [2024-10-04T19:02:53.059Z] Removing intermediate container af01b8bdde56 [2024-10-04T19:02:53.059Z] ---> feffc88d1be1 [2024-10-04T19:02:53.059Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-10-04T19:02:53.647Z] ---> 7bf078dfcb0e [2024-10-04T19:02:53.647Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-10-04T19:02:55.582Z] ---> 5abff425c07a [2024-10-04T19:02:55.582Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-10-04T19:02:56.161Z] ---> 88d2073bce88 [2024-10-04T19:02:56.161Z] Step 19/24 : EXPOSE 59999 [2024-10-04T19:02:56.161Z] ---> Running in 63790c0832f2 [2024-10-04T19:02:56.426Z] Removing intermediate container 63790c0832f2 [2024-10-04T19:02:56.426Z] ---> 9c0c156425a3 [2024-10-04T19:02:56.426Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-10-04T19:02:56.426Z] ---> Running in faa377f6cf42 [2024-10-04T19:02:57.008Z] Removing intermediate container faa377f6cf42 [2024-10-04T19:02:57.008Z] ---> d7fba3e37ff9 [2024-10-04T19:02:57.008Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-10-04T19:02:57.008Z] ---> Running in d3b5c0c53143 [2024-10-04T19:02:57.274Z] Removing intermediate container d3b5c0c53143 [2024-10-04T19:02:57.274Z] ---> 1c88db58b09a [2024-10-04T19:02:57.274Z] Step 22/24 : LABEL arch=arm64 [2024-10-04T19:02:57.274Z] ---> Running in 047fc0f93659 [2024-10-04T19:02:57.539Z] Removing intermediate container 047fc0f93659 [2024-10-04T19:02:57.539Z] ---> c33dc593f254 [2024-10-04T19:02:57.539Z] Step 23/24 : LABEL git_sha=e4887391fc191a9e394a9397e2a296fee6df83d9 [2024-10-04T19:02:57.539Z] ---> Running in d4af12ffb178 [2024-10-04T19:02:57.804Z] Removing intermediate container d4af12ffb178 [2024-10-04T19:02:57.804Z] ---> 5ea582626bc7 [2024-10-04T19:02:57.804Z] Step 24/24 : LABEL version=0.0.0 [2024-10-04T19:02:57.804Z] ---> Running in 88476d7a8c84 [2024-10-04T19:02:58.069Z] Removing intermediate container 88476d7a8c84 [2024-10-04T19:02:58.069Z] ---> 95f8fcbbd115 [2024-10-04T19:02:58.069Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-04T19:02:58.333Z] Successfully built 95f8fcbbd115 [2024-10-04T19:02:58.333Z] 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-04T19:02:58.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T19:02:58.822Z] [2024-10-04T19:02:58.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T19:02:59.153Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T19:02:59.153Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-04T19:02:59.153Z] 8998bd30e6a1: Pulling fs layer [2024-10-04T19:02:59.153Z] 04944245beec: Pulling fs layer [2024-10-04T19:02:59.153Z] 699f458cf7ca: Pulling fs layer [2024-10-04T19:02:59.153Z] 765212b225bb: Pulling fs layer [2024-10-04T19:02:59.153Z] f23df028b6ca: Pulling fs layer [2024-10-04T19:02:59.153Z] d65c8cfc05b1: Pulling fs layer [2024-10-04T19:02:59.153Z] 2437ff75d9bd: Pulling fs layer [2024-10-04T19:02:59.153Z] f23df028b6ca: Waiting [2024-10-04T19:02:59.153Z] 765212b225bb: Waiting [2024-10-04T19:02:59.153Z] 2437ff75d9bd: Waiting [2024-10-04T19:02:59.420Z] 04944245beec: Verifying Checksum [2024-10-04T19:02:59.420Z] 04944245beec: Download complete [2024-10-04T19:02:59.420Z] 765212b225bb: Verifying Checksum [2024-10-04T19:02:59.420Z] 765212b225bb: Download complete [2024-10-04T19:02:59.420Z] f23df028b6ca: Verifying Checksum [2024-10-04T19:02:59.420Z] f23df028b6ca: Download complete [2024-10-04T19:02:59.420Z] d65c8cfc05b1: Verifying Checksum [2024-10-04T19:02:59.420Z] d65c8cfc05b1: Download complete [2024-10-04T19:02:59.420Z] 699f458cf7ca: Verifying Checksum [2024-10-04T19:02:59.420Z] 699f458cf7ca: Download complete [2024-10-04T19:03:00.004Z] 8998bd30e6a1: Verifying Checksum [2024-10-04T19:03:00.004Z] 8998bd30e6a1: Download complete [2024-10-04T19:03:02.584Z] 2437ff75d9bd: Verifying Checksum [2024-10-04T19:03:04.522Z] 8998bd30e6a1: Pull complete [2024-10-04T19:03:05.103Z] 04944245beec: Pull complete [2024-10-04T19:03:06.508Z] 699f458cf7ca: Pull complete [2024-10-04T19:03:06.774Z] 765212b225bb: Pull complete [2024-10-04T19:03:07.740Z] f23df028b6ca: Pull complete [2024-10-04T19:03:07.740Z] d65c8cfc05b1: Pull complete [2024-10-04T19:03:25.934Z] 2437ff75d9bd: Pull complete [2024-10-04T19:03:25.934Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-04T19:03:25.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-04T19:03:25.934Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T19:03:26.136Z] prd-ubuntu20.04-docker-arm64-4c-16g-21845 does not seem to be running inside a container [2024-10-04T19:03:26.190Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-04T19:03:28.752Z] $ docker top 3909f61aa0c02d6cfaa063ff9c8cbe24de274de7533c0732a792fd4d25866640 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-04T19:03:29.583Z] ---> job-cost.sh [2024-10-04T19:03:29.583Z] lf-activate-venv: SKIPPING [2024-10-04T19:03:29.583Z] INFO: No Stack... [2024-10-04T19:03:30.160Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-04T19:03:30.737Z] INFO: Archiving Costs [Pipeline] sh [2024-10-04T19:03:31.370Z] + cut -d, -f6 [2024-10-04T19:03:31.371Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [Pipeline] lock [2024-10-04T19:03:31.421Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] [2024-10-04T19:03:31.430Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] did not exist. Created. [2024-10-04T19:03:31.436Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-04T19:03:32.113Z] /w/workspace/device-sdk-go/2@tmp/durable-8539405b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-04T19:03:32.748Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-04T19:03:32.773Z] Warning: overwriting stash ‘stack-cost’ [2024-10-04T19:03:32.856Z] Stashed 1 file(s) [Pipeline] } [2024-10-04T19:03:32.865Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1632-2-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-04T19:03:32.897Z] $ docker stop --time=1 3909f61aa0c02d6cfaa063ff9c8cbe24de274de7533c0732a792fd4d25866640 [2024-10-04T19:03:34.383Z] $ docker rm -f --volumes 3909f61aa0c02d6cfaa063ff9c8cbe24de274de7533c0732a792fd4d25866640 [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-04T19:03:34.910Z] provisioning config files... [2024-10-04T19:03:34.917Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config6134374629818700134tmp [Pipeline] { [Pipeline] sh [2024-10-04T19:03:35.223Z] + set +x [2024-10-04T19:03:35.223Z] + + curl -s https://codecov.io/bash [2024-10-04T19:03:35.223Z] bash -s -- [2024-10-04T19:03:35.223Z] [2024-10-04T19:03:35.223Z] _____ _ [2024-10-04T19:03:35.223Z] / ____| | | [2024-10-04T19:03:35.223Z] | | ___ __| | ___ ___ _____ __ [2024-10-04T19:03:35.223Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-04T19:03:35.223Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-04T19:03:35.223Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-04T19:03:35.223Z] Bash-1.0.6 [2024-10-04T19:03:35.223Z] [2024-10-04T19:03:35.223Z] [2024-10-04T19:03:35.223Z] ==> git version 2.25.1 found [2024-10-04T19:03:35.223Z] ==> 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-04T19:03:35.223Z] Release-Date: 2020-01-08 [2024-10-04T19:03:35.223Z] 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-04T19:03:35.223Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-04T19:03:35.223Z] ==> Jenkins CI detected. [2024-10-04T19:03:35.223Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1632 [2024-10-04T19:03:35.223Z] project root: . [2024-10-04T19:03:35.223Z] --> token set from env [2024-10-04T19:03:35.223Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-04T19:03:35.223Z] ==> Running gcov in . (disable via -X gcov) [2024-10-04T19:03:35.223Z] ==> Python coveragepy not found [2024-10-04T19:03:35.223Z] ==> Searching for coverage reports in: [2024-10-04T19:03:35.223Z] + . [2024-10-04T19:03:35.223Z] -> Found 1 reports [2024-10-04T19:03:35.223Z] ==> Detecting git/mercurial file structure [2024-10-04T19:03:35.483Z] ==> Reading reports [2024-10-04T19:03:35.483Z] + ./coverage.out bytes=466603 [2024-10-04T19:03:35.483Z] ==> Appending adjustments [2024-10-04T19:03:35.483Z] https://docs.codecov.io/docs/fixing-reports [2024-10-04T19:03:35.742Z] + Found adjustments [2024-10-04T19:03:35.742Z] ==> Gzipping contents [2024-10-04T19:03:35.742Z] 44K /tmp/codecov.b9pbbi.gz [2024-10-04T19:03:35.742Z] ==> Uploading reports [2024-10-04T19:03:35.742Z] url: https://codecov.io [2024-10-04T19:03:35.742Z] query: branch=PR-1632&commit=8e04c2da464319b2a4b21d4a1fd729fe8412ba48&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= [2024-10-04T19:03:35.742Z] -> Pinging Codecov [2024-10-04T19:03:35.743Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1632&commit=8e04c2da464319b2a4b21d4a1fd729fe8412ba48&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1632%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1632&job=&cmd_args= [2024-10-04T19:03:36.003Z] -> Uploading to [2024-10-04T19:03:36.003Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/8e04c2da464319b2a4b21d4a1fd729fe8412ba48/3c28f1ce-8886-4a5e-926a-6ddca174b0e9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241004%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241004T190335Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=4810779b8139fd5be39dd7b042bf825d08307e5af8c01394e156cba6e44cffc3 [2024-10-04T19:03:36.003Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-04T19:03:36.003Z] Dload Upload Total Spent Left Speed [2024-10-04T19:03:36.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44616 0 0 100 44616 0 212k --:--:-- --:--:-- --:--:-- 211k 100 44616 0 0 100 44616 0 186k --:--:-- --:--:-- --:--:-- 186k [2024-10-04T19:03:36.263Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/8e04c2da464319b2a4b21d4a1fd729fe8412ba48 [Pipeline] } [2024-10-04T19:03:36.270Z] 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-04T19:03:37.158Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives ] [2024-10-04T19:03:37.159Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives [2024-10-04T19:03:37.159Z] total 16 [2024-10-04T19:03:37.159Z] drwxr-xr-x 3 root root 4096 Oct 4 18:47 . [2024-10-04T19:03:37.159Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 18:47 .. [2024-10-04T19:03:37.159Z] drwxr-xr-x 2 root root 4096 Oct 4 18:47 cost [2024-10-04T19:03:37.159Z] -rw-r--r-- 1 root root 86 Oct 4 18:47 cost.csv [2024-10-04T19:03:37.159Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives [2024-10-04T19:03:37.159Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives [2024-10-04T19:03:37.159Z] total 16 [2024-10-04T19:03:37.159Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 4 18:47 . [2024-10-04T19:03:37.159Z] drwxrwxr-x 12 jenkins jenkins 4096 Oct 4 18:47 .. [2024-10-04T19:03:37.159Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 4 18:47 cost [2024-10-04T19:03:37.159Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 4 18:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-04T19:03:37.456Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T19:03:38.321Z] ---> package-listing.sh [2024-10-04T19:03:38.321Z] ++ facter osfamily [2024-10-04T19:03:38.321Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-04T19:03:38.580Z] + OS_FAMILY=debian [2024-10-04T19:03:38.580Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1632 [2024-10-04T19:03:38.580Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-04T19:03:38.580Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-04T19:03:38.580Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-04T19:03:38.580Z] + PACKAGES=/tmp/packages_start.txt [2024-10-04T19:03:38.580Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' [2024-10-04T19:03:38.580Z] + PACKAGES=/tmp/packages_end.txt [2024-10-04T19:03:38.580Z] + case "${OS_FAMILY}" in [2024-10-04T19:03:38.580Z] + dpkg -l [2024-10-04T19:03:38.580Z] + grep '^ii' [2024-10-04T19:03:38.580Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-04T19:03:38.580Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-04T19:03:38.580Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-04T19:03:38.580Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1632 ']' [2024-10-04T19:03:38.580Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ [2024-10-04T19:03:38.580Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1632/archives/ [Pipeline] echo [2024-10-04T19:03:38.593Z] 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-1632/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-04T19:03:38.873Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-04T19:03:39.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-04T19:03:39.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-04T19:03:39.538Z] prd-ubuntu20.04-docker-8c-8g-21844 does not seem to be running inside a container [2024-10-04T19:03:39.564Z] $ 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-1632/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-1632 -v /w/workspace/gexfoundry_device-sdk-go_PR-1632:/w/workspace/gexfoundry_device-sdk-go_PR-1632:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-04T19:03:39.767Z] $ docker top b5c3f863b69185049f0d716222cb3bee55a44b0cb80f710c9322402722cfe857 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-04T19:03:40.201Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-04T19:03:40.535Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-04T19:03:40.874Z] + ls /var/log/sa-host [2024-10-04T19:03:40.874Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-04T19:03:41.053Z] provisioning config files... [2024-10-04T19:03:41.061Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1632@tmp/config14685157015037332917tmp [Pipeline] { [Pipeline] echo [2024-10-04T19:03:41.083Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T19:03:41.364Z] ---> create-netrc.sh [Pipeline] } [2024-10-04T19:03:41.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-04T19:03:41.717Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-04T19:03:41.728Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T19:03:42.015Z] ---> sudo-logs.sh [2024-10-04T19:03:42.015Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-04T19:03:42.044Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T19:03:42.330Z] ---> job-cost.sh [2024-10-04T19:03:42.330Z] lf-activate-venv: SKIPPING [2024-10-04T19:03:42.330Z] DEBUG: total: 0.2199999988079071 [2024-10-04T19:03:42.330Z] INFO: Retrieving Stack Cost... [2024-10-04T19:03:42.590Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-04T19:03:42.849Z] INFO: Archiving Costs [Pipeline] echo [2024-10-04T19:03:43.122Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-04T19:03:43.405Z] ---> logs-deploy.sh [2024-10-04T19:03:43.405Z] lf-activate-venv: SKIPPING [2024-10-04T19:03:43.405Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1632/2 [2024-10-04T19:03:43.405Z] INFO: archiving workspace using pattern(s): [2024-10-04T19:03:44.343Z] Archives upload complete. [2024-10-04T19:03:44.343Z] INFO: archiving logs to Nexus