Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb3b780b49bdb40d95a497fa6cff623f428380a1+fdea4761bbcb74cab7badbb069f6efddd7703878 (28a79bdffba772dd4b02fb6a14f2366ac442cf1b) 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-ssh2407102277616612336.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh15037098013541643345.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1540/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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15647248995608791903.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh9345223306185361471.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-1540/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-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1055850883010315607.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.21 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 ‘prd-ubuntu20.04-docker-8c-8g-88’ is offline Running on prd-ubuntu20.04-docker-8c-8g-90 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [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-1540 # 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/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fdea4761bbcb74cab7badbb069f6efddd7703878 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 Checking out Revision b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 (PR-1540) > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # 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 fdea4761bbcb74cab7badbb069f6efddd7703878 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 # timeout=10 Commit message: "Merge commit 'fdea4761bbcb74cab7badbb069f6efddd7703878' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 4c12de403e9af8da1f4c3acc8c9fc40b6c047593 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-15T18:41:34.087Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-15T18:41:34.162Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-15T18:41:34.184Z] ========================================================= [2024-03-15T18:41:34.184Z] EdgeX Global Pipelines Version Info [2024-03-15T18:41:34.184Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:41:35.279Z] ------------------- [2024-03-15T18:41:35.280Z] stable info: [2024-03-15T18:41:35.280Z] ------------------- [2024-03-15T18:41:35.280Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-15T18:41:35.280Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-15T18:41:35.280Z] Message: update stable to v1.0.258 [2024-03-15T18:41:35.850Z] ------------------- [2024-03-15T18:41:35.850Z] experimental info: [2024-03-15T18:41:35.850Z] ------------------- [2024-03-15T18:41:35.850Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-15T18:41:35.850Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-15T18:41:35.850Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-15T18:41:35.949Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-03-15T18:41:35.969Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-03-15T18:41:35.992Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-15T18:41:36.014Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-15T18:41:36.038Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-15T18:41:36.058Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-15T18:41:36.078Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-15T18:41:36.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-03-15T18:41:36.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-15T18:41:36.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-15T18:41:36.163Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-15T18:41:36.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-03-15T18:41:36.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-15T18:41:36.233Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-15T18:41:36.253Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-15T18:41:36.275Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-03-15T18:41:36.297Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-15T18:41:36.316Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-15T18:41:36.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-15T18:41:36.352Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-15T18:41:36.371Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-03-15T18:41:36.394Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-03-15T18:41:36.420Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-15T18:41:36.438Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-15T18:41:36.462Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-15T18:41:36.489Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-15T18:41:36.510Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-15T18:41:36.531Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo [2024-03-15T18:41:46.274Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo [2024-03-15T18:41:46.299Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo [2024-03-15T18:41:46.322Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 [Pipeline] echo [2024-03-15T18:41:46.347Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b708f7e [Pipeline] echo [2024-03-15T18:41:46.369Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-15T18:41:46.436Z] provisioning config files... [2024-03-15T18:41:46.450Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config9986730243523351968tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:41:46.786Z] ---> ****-login.sh [2024-03-15T18:41:46.786Z] nexus3.edgexfoundry.org:10001 [2024-03-15T18:41:47.049Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:41:47.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:41:47.311Z] Configure a credential helper to remove this warning. See [2024-03-15T18:41:47.311Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:41:47.311Z] [2024-03-15T18:41:47.311Z] Login Succeeded [2024-03-15T18:41:47.311Z] nexus3.edgexfoundry.org:10002 [2024-03-15T18:41:47.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:41:47.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:41:47.311Z] Configure a credential helper to remove this warning. See [2024-03-15T18:41:47.311Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:41:47.311Z] [2024-03-15T18:41:47.311Z] Login Succeeded [2024-03-15T18:41:47.311Z] nexus3.edgexfoundry.org:10003 [2024-03-15T18:41:47.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:41:47.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:41:47.573Z] Configure a credential helper to remove this warning. See [2024-03-15T18:41:47.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:41:47.573Z] [2024-03-15T18:41:47.573Z] Login Succeeded [2024-03-15T18:41:47.573Z] nexus3.edgexfoundry.org:10004 [2024-03-15T18:41:47.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:41:47.573Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:41:47.573Z] Configure a credential helper to remove this warning. See [2024-03-15T18:41:47.573Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:41:47.573Z] [2024-03-15T18:41:47.573Z] Login Succeeded [2024-03-15T18:41:47.573Z] ****.io [2024-03-15T18:41:47.834Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:41:47.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:41:47.835Z] Configure a credential helper to remove this warning. See [2024-03-15T18:41:47.835Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:41:47.835Z] [2024-03-15T18:41:47.835Z] Login Succeeded [2024-03-15T18:41:47.835Z] ---> ****-login.sh ends [Pipeline] } [2024-03-15T18:41:47.843Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-15T18:41:48.252Z] + git rev-list -1 --merges b708f7ee76ab783c63ddb9e0a3578ba1d1559b20~1..b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 [Pipeline] echo [2024-03-15T18:41:48.278Z] -----------> git rev-list -1 --merges b708f7ee76ab783c63ddb9e0a3578ba1d1559b20~1..b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 [2024-03-15T18:41:48.278Z] b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 [false] [Pipeline] sh [2024-03-15T18:41:48.572Z] + git log --format=format:%s -1 b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 [Pipeline] echo [2024-03-15T18:41:48.589Z] ========================================================= [2024-03-15T18:41:48.589Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-15T18:41:48.589Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-15T18:41:48.923Z] + git log --format=format:%s -1 b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 [Pipeline] echo [2024-03-15T18:41:48.934Z] [semverPrep] GIT_COMMIT: b708f7ee76ab783c63ddb9e0a3578ba1d1559b20, Commit Message: Merge commit 'fdea4761bbcb74cab7badbb069f6efddd7703878' into HEAD [Pipeline] echo [2024-03-15T18:41:48.951Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-15T18:41:49.380Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-15T18:41:49.380Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-15T18:41:49.380Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-15T18:41:49.380Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-15T18:41:49.380Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-15T18:41:49.380Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-15T18:41:49.380Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:41:49.738Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-15T18:41:49.738Z] [2024-03-15T18:41:49.738Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:41:50.044Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-15T18:41:50.044Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-15T18:41:50.044Z] b85a868b505f: Pulling fs layer [2024-03-15T18:41:50.044Z] e2be974225ed: Pulling fs layer [2024-03-15T18:41:50.044Z] 339a4e72a1f5: Pulling fs layer [2024-03-15T18:41:50.044Z] 988bab9f4d93: Pulling fs layer [2024-03-15T18:41:50.044Z] 1469e6f7b9e6: Pulling fs layer [2024-03-15T18:41:50.044Z] eaf3925da568: Pulling fs layer [2024-03-15T18:41:50.044Z] bab4dde63d76: Pulling fs layer [2024-03-15T18:41:50.044Z] bde34c3a00c8: Pulling fs layer [2024-03-15T18:41:50.044Z] b352a97aabf1: Pulling fs layer [2024-03-15T18:41:50.044Z] 4872d77fe225: Pulling fs layer [2024-03-15T18:41:50.044Z] 5851b861e8e6: Pulling fs layer [2024-03-15T18:41:50.044Z] 1469e6f7b9e6: Waiting [2024-03-15T18:41:50.044Z] eaf3925da568: Waiting [2024-03-15T18:41:50.044Z] bab4dde63d76: Waiting [2024-03-15T18:41:50.044Z] 988bab9f4d93: Waiting [2024-03-15T18:41:50.044Z] bde34c3a00c8: Waiting [2024-03-15T18:41:50.044Z] b352a97aabf1: Waiting [2024-03-15T18:41:50.044Z] 4872d77fe225: Waiting [2024-03-15T18:41:50.044Z] e2be974225ed: Verifying Checksum [2024-03-15T18:41:50.044Z] e2be974225ed: Download complete [2024-03-15T18:41:50.044Z] 988bab9f4d93: Verifying Checksum [2024-03-15T18:41:50.044Z] 988bab9f4d93: Download complete [2024-03-15T18:41:50.044Z] 1469e6f7b9e6: Verifying Checksum [2024-03-15T18:41:50.044Z] 1469e6f7b9e6: Download complete [2024-03-15T18:41:50.303Z] eaf3925da568: Verifying Checksum [2024-03-15T18:41:50.303Z] eaf3925da568: Download complete [2024-03-15T18:41:50.303Z] 339a4e72a1f5: Verifying Checksum [2024-03-15T18:41:50.303Z] 339a4e72a1f5: Download complete [2024-03-15T18:41:50.303Z] bde34c3a00c8: Download complete [2024-03-15T18:41:50.303Z] b352a97aabf1: Verifying Checksum [2024-03-15T18:41:50.303Z] b352a97aabf1: Download complete [2024-03-15T18:41:50.303Z] 4872d77fe225: Download complete [2024-03-15T18:41:50.303Z] 5851b861e8e6: Verifying Checksum [2024-03-15T18:41:50.303Z] 5851b861e8e6: Download complete [2024-03-15T18:41:50.303Z] b85a868b505f: Verifying Checksum [2024-03-15T18:41:50.303Z] b85a868b505f: Download complete [2024-03-15T18:41:50.561Z] bab4dde63d76: Verifying Checksum [2024-03-15T18:41:50.561Z] bab4dde63d76: Download complete [2024-03-15T18:41:51.498Z] b85a868b505f: Pull complete [2024-03-15T18:41:51.770Z] e2be974225ed: Pull complete [2024-03-15T18:41:52.030Z] 339a4e72a1f5: Pull complete [2024-03-15T18:41:52.291Z] 988bab9f4d93: Pull complete [2024-03-15T18:41:52.550Z] 1469e6f7b9e6: Pull complete [2024-03-15T18:41:52.550Z] eaf3925da568: Pull complete [2024-03-15T18:41:54.451Z] bab4dde63d76: Pull complete [2024-03-15T18:41:54.451Z] bde34c3a00c8: Pull complete [2024-03-15T18:41:54.712Z] b352a97aabf1: Pull complete [2024-03-15T18:41:54.712Z] 4872d77fe225: Pull complete [2024-03-15T18:41:54.712Z] 5851b861e8e6: Pull complete [2024-03-15T18:41:54.712Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-15T18:41:54.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-15T18:41:54.712Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T18:41:54.856Z] prd-ubuntu20.04-docker-8c-8g-90 does not seem to be running inside a container [2024-03-15T18:41:54.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-03-15T18:42:00.466Z] $ docker top f2d1244178774ec537aeb8b82e10978e03adeb6eb86e877902e771f714de2d01 -eo pid,comm [2024-03-15T18:42:00.526Z] 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-03-15T18:42:00.526Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-15T18:42:00.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-15T18:42:00.579Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-15T18:42:00.691Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-15T18:42:00.692Z] $ docker exec f2d1244178774ec537aeb8b82e10978e03adeb6eb86e877902e771f714de2d01 ssh-agent [2024-03-15T18:42:00.822Z] SSH_AUTH_SOCK=/tmp/ssh-tkbhrrGTxWnW/agent.34 [2024-03-15T18:42:00.822Z] SSH_AGENT_PID=40 [2024-03-15T18:42:00.828Z] Running ssh-add (command line suppressed) [2024-03-15T18:42:00.939Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_10696519327106656512.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_10696519327106656512.key) [2024-03-15T18:42:00.957Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-15T18:42:01.245Z] + git tag --points-at HEAD [Pipeline] } [2024-03-15T18:42:01.253Z] $ docker exec --env ******** --env ******** f2d1244178774ec537aeb8b82e10978e03adeb6eb86e877902e771f714de2d01 ssh-agent -k [2024-03-15T18:42:01.360Z] unset SSH_AUTH_SOCK; [2024-03-15T18:42:01.361Z] unset SSH_AGENT_PID; [2024-03-15T18:42:01.361Z] echo Agent pid 40 killed; [2024-03-15T18:42:01.373Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-15T18:42:01.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-15T18:42:01.408Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-15T18:42:01.535Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-15T18:42:01.535Z] $ docker exec f2d1244178774ec537aeb8b82e10978e03adeb6eb86e877902e771f714de2d01 ssh-agent [2024-03-15T18:42:01.654Z] SSH_AUTH_SOCK=/tmp/ssh-NDca0mvkY73c/agent.73 [2024-03-15T18:42:01.654Z] SSH_AGENT_PID=79 [2024-03-15T18:42:01.659Z] Running ssh-add (command line suppressed) [2024-03-15T18:42:01.758Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_1950352683255378876.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_1950352683255378876.key) [2024-03-15T18:42:01.777Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-15T18:42:02.068Z] + git semver init [2024-03-15T18:42:02.327Z] 2024-03-15 18:42:02,244 [run_init] DEBUG init version:0.0.0 force:False [2024-03-15T18:42:02.327Z] 2024-03-15 18:42:02,244 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2024-03-15T18:42:02.327Z] 2024-03-15 18:42:02,245 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2024-03-15T18:42:02.327Z] 2024-03-15 18:42:02,245 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) [2024-03-15T18:42:03.705Z] 2024-03-15 18:42:03,548 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude [2024-03-15T18:42:03.705Z] 2024-03-15 18:42:03,548 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False [2024-03-15T18:42:03.705Z] 2024-03-15 18:42:03,548 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2024-03-15T18:42:03.705Z] 2024-03-15 18:42:03,552 [execute] INFO git cat-file --batch-check [2024-03-15T18:42:03.705Z] 2024-03-15 18:42:03,553 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2024-03-15T18:42:03.705Z] 2024-03-15 18:42:03,560 [execute] INFO git cat-file --batch [2024-03-15T18:42:03.705Z] 2024-03-15 18:42:03,561 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2024-03-15T18:42:03.705Z] 2024-03-15 18:42:03,566 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2024-03-15T18:42:03.705Z] 0.0.0 [Pipeline] } [2024-03-15T18:42:03.711Z] $ docker exec --env ******** --env ******** f2d1244178774ec537aeb8b82e10978e03adeb6eb86e877902e771f714de2d01 ssh-agent -k [2024-03-15T18:42:03.820Z] unset SSH_AUTH_SOCK; [2024-03-15T18:42:03.821Z] unset SSH_AGENT_PID; [2024-03-15T18:42:03.821Z] echo Agent pid 79 killed; [2024-03-15T18:42:03.833Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-15T18:42:04.161Z] + git semver [Pipeline] } [2024-03-15T18:42:04.430Z] $ docker stop --time=1 f2d1244178774ec537aeb8b82e10978e03adeb6eb86e877902e771f714de2d01 [2024-03-15T18:42:05.758Z] $ docker rm -f --volumes f2d1244178774ec537aeb8b82e10978e03adeb6eb86e877902e771f714de2d01 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-15T18:42:06.162Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-15T18:42:06.374Z] Stashed 1 file(s) [Pipeline] echo [2024-03-15T18:42:06.377Z] [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-03-15T18:42:06.558Z] provisioning config files... [2024-03-15T18:42:06.569Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config5814766255527076117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:42:06.869Z] ---> ****-login.sh [2024-03-15T18:42:06.869Z] nexus3.edgexfoundry.org:10001 [2024-03-15T18:42:06.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:42:06.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:42:06.869Z] Configure a credential helper to remove this warning. See [2024-03-15T18:42:06.869Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:42:06.869Z] [2024-03-15T18:42:06.869Z] Login Succeeded [2024-03-15T18:42:06.869Z] nexus3.edgexfoundry.org:10002 [2024-03-15T18:42:06.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:42:06.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:42:06.869Z] Configure a credential helper to remove this warning. See [2024-03-15T18:42:06.869Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:42:06.869Z] [2024-03-15T18:42:06.869Z] Login Succeeded [2024-03-15T18:42:06.869Z] nexus3.edgexfoundry.org:10003 [2024-03-15T18:42:07.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:42:07.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:42:07.129Z] Configure a credential helper to remove this warning. See [2024-03-15T18:42:07.129Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:42:07.129Z] [2024-03-15T18:42:07.129Z] Login Succeeded [2024-03-15T18:42:07.129Z] nexus3.edgexfoundry.org:10004 [2024-03-15T18:42:07.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:42:07.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:42:07.129Z] Configure a credential helper to remove this warning. See [2024-03-15T18:42:07.129Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:42:07.129Z] [2024-03-15T18:42:07.129Z] Login Succeeded [2024-03-15T18:42:07.129Z] ****.io [2024-03-15T18:42:07.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:42:07.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:42:07.390Z] Configure a credential helper to remove this warning. See [2024-03-15T18:42:07.390Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:42:07.390Z] [2024-03-15T18:42:07.390Z] Login Succeeded [2024-03-15T18:42:07.390Z] ---> ****-login.sh ends [Pipeline] } [2024-03-15T18:42:07.397Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-15T18:42:07.482Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T18:42:07.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T18:42:07.512Z] ========================================================= [2024-03-15T18:42:07.512Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-15T18:42:07.512Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:42:07.849Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-15T18:42:07.849Z] Sending build context to Docker daemon 21.98MB [2024-03-15T18:42:07.849Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T18:42:07.849Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-15T18:42:08.135Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-15T18:42:08.135Z] 7264a8db6415: Pulling fs layer [2024-03-15T18:42:08.135Z] c4d48a809fc2: Pulling fs layer [2024-03-15T18:42:08.135Z] 4f1c88b9dad5: Pulling fs layer [2024-03-15T18:42:08.135Z] ad3a456e5733: Pulling fs layer [2024-03-15T18:42:08.135Z] 69c7f0334f64: Pulling fs layer [2024-03-15T18:42:08.135Z] 1f1c1a5573a3: Pulling fs layer [2024-03-15T18:42:08.135Z] ce7588e14bc9: Pulling fs layer [2024-03-15T18:42:08.135Z] b5e4710f87ac: Pulling fs layer [2024-03-15T18:42:08.135Z] ad3a456e5733: Waiting [2024-03-15T18:42:08.135Z] 69c7f0334f64: Waiting [2024-03-15T18:42:08.135Z] 1f1c1a5573a3: Waiting [2024-03-15T18:42:08.135Z] ce7588e14bc9: Waiting [2024-03-15T18:42:08.135Z] b5e4710f87ac: Waiting [2024-03-15T18:42:08.135Z] c4d48a809fc2: Download complete [2024-03-15T18:42:08.135Z] ad3a456e5733: Verifying Checksum [2024-03-15T18:42:08.135Z] ad3a456e5733: Download complete [2024-03-15T18:42:08.135Z] 69c7f0334f64: Download complete [2024-03-15T18:42:08.135Z] 7264a8db6415: Verifying Checksum [2024-03-15T18:42:08.135Z] 7264a8db6415: Download complete [2024-03-15T18:42:08.135Z] 1f1c1a5573a3: Verifying Checksum [2024-03-15T18:42:08.135Z] 1f1c1a5573a3: Download complete [2024-03-15T18:42:08.393Z] b5e4710f87ac: Verifying Checksum [2024-03-15T18:42:08.393Z] b5e4710f87ac: Download complete [2024-03-15T18:42:08.393Z] 7264a8db6415: Pull complete [2024-03-15T18:42:08.393Z] c4d48a809fc2: Pull complete [2024-03-15T18:42:08.650Z] 4f1c88b9dad5: Verifying Checksum [2024-03-15T18:42:08.650Z] 4f1c88b9dad5: Download complete [2024-03-15T18:42:08.907Z] ce7588e14bc9: Verifying Checksum [2024-03-15T18:42:08.907Z] ce7588e14bc9: Download complete [2024-03-15T18:42:12.188Z] 4f1c88b9dad5: Pull complete [2024-03-15T18:42:12.189Z] ad3a456e5733: Pull complete [2024-03-15T18:42:12.189Z] 69c7f0334f64: Pull complete [2024-03-15T18:42:12.189Z] 1f1c1a5573a3: Pull complete [2024-03-15T18:42:14.717Z] ce7588e14bc9: Pull complete [2024-03-15T18:42:14.717Z] b5e4710f87ac: Pull complete [2024-03-15T18:42:14.717Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-15T18:42:14.717Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-15T18:42:14.717Z] ---> 88b5674ff536 [2024-03-15T18:42:14.717Z] Step 3/10 : ARG MAKE=make build [2024-03-15T18:42:21.504Z] Still waiting to schedule task [2024-03-15T18:42:21.504Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-89’ is offline [2024-03-15T18:42:24.793Z] ---> Running in cd9796d74718 [2024-03-15T18:42:24.793Z] Removing intermediate container cd9796d74718 [2024-03-15T18:42:24.793Z] ---> 350c3173ab21 [2024-03-15T18:42:24.793Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-15T18:42:24.793Z] ---> Running in 8be47ee60021 [2024-03-15T18:42:24.793Z] Removing intermediate container 8be47ee60021 [2024-03-15T18:42:24.793Z] ---> d99e3e244189 [2024-03-15T18:42:24.793Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-15T18:42:24.793Z] ---> Running in 7a9b5d9bc07f [2024-03-15T18:42:24.793Z] Removing intermediate container 7a9b5d9bc07f [2024-03-15T18:42:24.793Z] ---> 93ba5c5a63a3 [2024-03-15T18:42:24.793Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-15T18:42:24.793Z] ---> Running in 44155914301a [2024-03-15T18:42:24.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T18:42:24.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-15T18:42:25.361Z] OK: 264 MiB in 52 packages [2024-03-15T18:42:25.620Z] Removing intermediate container 44155914301a [2024-03-15T18:42:25.620Z] ---> 922b2a1611ba [2024-03-15T18:42:25.620Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-15T18:42:25.620Z] ---> 74bce1b77c8d [2024-03-15T18:42:25.620Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T18:42:25.879Z] ---> Running in 174fd30aec09 [2024-03-15T18:43:04.619Z] Removing intermediate container 174fd30aec09 [2024-03-15T18:43:04.619Z] ---> 95914cf3e992 [2024-03-15T18:43:04.619Z] Step 9/10 : COPY . . [2024-03-15T18:43:04.619Z] ---> ce7eaf406399 [2024-03-15T18:43:04.619Z] Step 10/10 : RUN ${MAKE} [2024-03-15T18:43:04.619Z] ---> Running in ea2c84ada2f2 [2024-03-15T18:43:04.619Z] noop [2024-03-15T18:43:04.619Z] Removing intermediate container ea2c84ada2f2 [2024-03-15T18:43:04.619Z] ---> 2207481d07a6 [2024-03-15T18:43:04.619Z] Successfully built 2207481d07a6 [2024-03-15T18:43:04.619Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:43:04.944Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-15T18:43:04.944Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T18:43:05.022Z] prd-ubuntu20.04-docker-8c-8g-90 does not seem to be running inside a container [2024-03-15T18:43:05.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-15T18:43:05.454Z] $ docker top 6ee5353f169d881c251dc73c5569ee2b8f88de4733d606787a3cd2198e4afbac -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T18:43:05.799Z] + go version [2024-03-15T18:43:05.799Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-15T18:43:05.807Z] $ docker stop --time=1 6ee5353f169d881c251dc73c5569ee2b8f88de4733d606787a3cd2198e4afbac [2024-03-15T18:43:07.064Z] $ docker rm -f --volumes 6ee5353f169d881c251dc73c5569ee2b8f88de4733d606787a3cd2198e4afbac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:43:07.518Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-15T18:43:07.518Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T18:43:07.604Z] prd-ubuntu20.04-docker-8c-8g-90 does not seem to be running inside a container [2024-03-15T18:43:07.632Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-03-15T18:43:07.977Z] $ docker top bbe11bdcbddca710e2f84bf24250469604ebdbef78b4c898ce8747cb6a31e60a -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T18:43:08.330Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh [2024-03-15T18:43:08.635Z] + make test [2024-03-15T18:43:08.635Z] go test -race -coverprofile=coverage.out ./... [2024-03-15T18:43:14.969Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-15T18:43:27.164Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-15T18:43:27.164Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-15T18:43:27.164Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-15T18:43:27.164Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-15T18:43:27.164Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-15T18:43:27.421Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-15T18:43:27.421Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-15T18:43:27.987Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-15T18:43:28.553Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.073s coverage: 27.6% of statements [2024-03-15T18:43:28.553Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.050s coverage: 81.5% of statements [2024-03-15T18:43:28.553Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.061s coverage: 86.0% of statements [2024-03-15T18:43:29.119Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.076s coverage: 71.8% of statements [2024-03-15T18:43:29.119Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-15T18:43:29.119Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-15T18:43:29.685Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-15T18:43:32.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.054s coverage: 14.4% of statements [2024-03-15T18:43:32.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.776s coverage: 45.9% of statements [2024-03-15T18:43:32.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements [2024-03-15T18:43:32.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.104s coverage: 89.2% of statements [2024-03-15T18:43:32.972Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2024-03-15T18:43:51.043Z] GO111MODULE=on go vet ./... [2024-03-15T18:43:52.155Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-91 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws [2024-03-15T18:43:52.174Z] Running in /w/workspace/device-sdk-go/13 [Pipeline] { [Pipeline] checkout [2024-03-15T18:43:52.229Z] The recommended git tool is: git [2024-03-15T18:43:54.320Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-15T18:43:54.579Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-15T18:43:54.579Z] ./bin/test-attribution-txt.sh [2024-03-15T18:43:54.579Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-15T18:43:54.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-15T18:43:54.610Z] $ docker stop --time=1 bbe11bdcbddca710e2f84bf24250469604ebdbef78b4c898ce8747cb6a31e60a [2024-03-15T18:43:57.127Z] using credential edgex-jenkins-ssh [2024-03-15T18:43:57.143Z] Cloning the remote Git repository [2024-03-15T18:43:57.180Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-03-15T18:43:57.265Z] > git init /w/workspace/device-sdk-go/13 # timeout=10 [2024-03-15T18:43:57.396Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-15T18:43:57.397Z] > git --version # timeout=10 [2024-03-15T18:43:57.418Z] > git --version # 'git version 2.25.1' [2024-03-15T18:43:57.421Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-15T18:43:57.570Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-15T18:43:59.826Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-15T18:43:59.853Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-15T18:44:00.664Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-03-15T18:44:00.699Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-03-15T18:44:00.699Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-15T18:44:00.720Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-15T18:44:01.382Z] Merging remotes/origin/main commit fdea4761bbcb74cab7badbb069f6efddd7703878 into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 [2024-03-15T18:44:01.680Z] $ docker rm -f --volumes bbe11bdcbddca710e2f84bf24250469604ebdbef78b4c898ce8747cb6a31e60a [2024-03-15T18:44:01.727Z] Merge succeeded, producing 560b543060106dc818bb536252f2bc4c9dab5e1d [2024-03-15T18:44:01.727Z] Checking out Revision 560b543060106dc818bb536252f2bc4c9dab5e1d (PR-1540) [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-15T18:44:02.223Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-15T18:44:02.291Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [2024-03-15T18:44:01.388Z] > git config core.sparsecheckout # timeout=10 [2024-03-15T18:44:01.455Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2024-03-15T18:44:01.559Z] > git remote # timeout=10 [2024-03-15T18:44:01.578Z] > git config --get remote.origin.url # timeout=10 [2024-03-15T18:44:01.594Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-15T18:44:01.613Z] > git merge fdea4761bbcb74cab7badbb069f6efddd7703878 # timeout=10 [2024-03-15T18:44:01.703Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-15T18:44:01.723Z] > git config core.sparsecheckout # timeout=10 [2024-03-15T18:44:01.734Z] > git checkout -f 560b543060106dc818bb536252f2bc4c9dab5e1d # timeout=10 [Pipeline] sh [2024-03-15T18:44:02.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-15T18:44:03.172Z] + ls -al . [2024-03-15T18:44:03.172Z] total 308 [2024-03-15T18:44:03.172Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 18:43 . [2024-03-15T18:44:03.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 18:41 .. [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 18:41 .dockerignore [2024-03-15T18:44:03.172Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 18:43 .git [2024-03-15T18:44:03.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 18:41 .github [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 15 18:41 .gitignore [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 18:41 .golangci.yml [2024-03-15T18:44:03.172Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 18:42 .semver [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 15 18:41 CHANGELOG.md [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 18:41 GOVERNANCE.md [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 15 18:41 Jenkinsfile [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 18:41 LICENSE [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 15 18:41 Makefile [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 18:41 OWNERS.md [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 15 18:41 README.md [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 18:42 VERSION [2024-03-15T18:44:03.172Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 18:41 bin [2024-03-15T18:44:03.172Z] -rw-r--r-- 1 jenkins jenkins 122153 Mar 15 18:43 coverage.out [2024-03-15T18:44:03.172Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 18:41 example [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 15 18:41 go.mod [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 35399 Mar 15 18:41 go.sum [2024-03-15T18:44:03.172Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 18:41 internal [2024-03-15T18:44:03.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 18:41 openapi [2024-03-15T18:44:03.172Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 18:41 pkg [2024-03-15T18:44:03.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 18:41 snap [2024-03-15T18:44:03.172Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 18:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:44:03.484Z] + 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=b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 --label arch=amd64 --label version=0.0.0 . [2024-03-15T18:44:03.484Z] Sending build context to Docker daemon 22.1MB [2024-03-15T18:44:03.484Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T18:44:03.484Z] Step 2/24 : FROM ${BASE} AS builder [2024-03-15T18:44:03.484Z] ---> 2207481d07a6 [2024-03-15T18:44:03.484Z] Step 3/24 : ARG MAKE=make build [2024-03-15T18:44:04.417Z] ---> Running in 1bbec865d227 [2024-03-15T18:44:04.981Z] Removing intermediate container 1bbec865d227 [2024-03-15T18:44:04.981Z] ---> 22ce982a86de [2024-03-15T18:44:04.981Z] Step 4/24 : WORKDIR /device-sdk-go [2024-03-15T18:44:04.981Z] ---> Running in d014ef352088 [2024-03-15T18:44:05.243Z] Removing intermediate container d014ef352088 [2024-03-15T18:44:05.243Z] ---> 791aa4314500 [2024-03-15T18:44:05.243Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-15T18:44:05.352Z] Commit message: "Merge commit 'fdea4761bbcb74cab7badbb069f6efddd7703878' into HEAD" [2024-03-15T18:44:05.380Z] First time build. Skipping changelog. [2024-03-15T18:44:05.349Z] > git rev-list --no-walk 4c12de403e9af8da1f4c3acc8c9fc40b6c047593 # timeout=10 [2024-03-15T18:44:05.501Z] ---> Running in 8294f9870336 [2024-03-15T18:44:05.760Z] Removing intermediate container 8294f9870336 [2024-03-15T18:44:05.760Z] ---> 8912e057fcc9 [2024-03-15T18:44:05.760Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-03-15T18:44:05.760Z] ---> Running in ca09f7ce3ac7 [2024-03-15T18:44:06.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T18:44:06.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-15T18:44:06.587Z] OK: 264 MiB in 52 packages [2024-03-15T18:44:06.846Z] Removing intermediate container ca09f7ce3ac7 [2024-03-15T18:44:06.846Z] ---> 49290dd1dcb8 [2024-03-15T18:44:06.846Z] Step 7/24 : COPY go.mod vendor* ./ [2024-03-15T18:44:06.846Z] ---> ed87d0f2c12b [2024-03-15T18:44:06.846Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T18:44:06.935Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-15T18:44:06.935Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-15T18:44:06.935Z] Dload Upload Total Spent Left Speed [2024-03-15T18:44:06.935Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 97k 0 --:--:-- --:--:-- --:--:-- 98k [Pipeline] sh [2024-03-15T18:44:07.105Z] ---> Running in b625ffa6c864 [2024-03-15T18:44:07.274Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-15T18:44:07.593Z] + sudo tee /etc/docker/daemon.new [2024-03-15T18:44:07.593Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-15T18:44:07.593Z] { [2024-03-15T18:44:07.593Z] "registry-mirrors": [ [2024-03-15T18:44:07.593Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-15T18:44:07.593Z] ], [2024-03-15T18:44:07.593Z] "bip": "10.250.0.254/24", [2024-03-15T18:44:07.593Z] "hosts": [ [2024-03-15T18:44:07.593Z] "tcp://0.0.0.0:5555", [2024-03-15T18:44:07.593Z] "unix:///var/run/docker.sock" [2024-03-15T18:44:07.593Z] ], [2024-03-15T18:44:07.593Z] "mtu": 1458, [2024-03-15T18:44:07.593Z] "selinux-enabled": true, [2024-03-15T18:44:07.593Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-15T18:44:07.593Z] } [Pipeline] sh [2024-03-15T18:44:07.671Z] Removing intermediate container b625ffa6c864 [2024-03-15T18:44:07.671Z] ---> 315bb9626cdb [2024-03-15T18:44:07.671Z] Step 9/24 : COPY . . [2024-03-15T18:44:07.913Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-03-15T18:44:08.244Z] + sudo service docker restart [2024-03-15T18:44:08.605Z] ---> 6fe190f86ecf [2024-03-15T18:44:08.605Z] Step 10/24 : RUN ${MAKE} [2024-03-15T18:44:08.605Z] ---> Running in 10202988bd5c [2024-03-15T18:44:08.605Z] 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 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-15T18:44:26.476Z] provisioning config files... [2024-03-15T18:44:26.499Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/13@tmp/config4508407346001375134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:44:26.907Z] ---> ****-login.sh [2024-03-15T18:44:26.907Z] nexus3.edgexfoundry.org:10001 [2024-03-15T18:44:27.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:44:27.453Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:44:27.453Z] Configure a credential helper to remove this warning. See [2024-03-15T18:44:27.453Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:44:27.453Z] [2024-03-15T18:44:27.453Z] Login Succeeded [2024-03-15T18:44:27.453Z] nexus3.edgexfoundry.org:10002 [2024-03-15T18:44:27.720Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:44:27.720Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:44:27.720Z] Configure a credential helper to remove this warning. See [2024-03-15T18:44:27.720Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:44:27.720Z] [2024-03-15T18:44:27.720Z] Login Succeeded [2024-03-15T18:44:27.720Z] nexus3.edgexfoundry.org:10003 [2024-03-15T18:44:27.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:44:28.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:44:28.257Z] Configure a credential helper to remove this warning. See [2024-03-15T18:44:28.257Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:44:28.257Z] [2024-03-15T18:44:28.257Z] Login Succeeded [2024-03-15T18:44:28.257Z] nexus3.edgexfoundry.org:10004 [2024-03-15T18:44:28.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:44:28.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:44:28.531Z] Configure a credential helper to remove this warning. See [2024-03-15T18:44:28.531Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:44:28.531Z] [2024-03-15T18:44:28.531Z] Login Succeeded [2024-03-15T18:44:28.531Z] ****.io [2024-03-15T18:44:28.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-15T18:44:29.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-15T18:44:29.062Z] Configure a credential helper to remove this warning. See [2024-03-15T18:44:29.062Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-15T18:44:29.062Z] [2024-03-15T18:44:29.062Z] Login Succeeded [2024-03-15T18:44:29.062Z] ---> ****-login.sh ends [Pipeline] } [2024-03-15T18:44:29.076Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-15T18:44:29.521Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T18:44:29.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-15T18:44:29.565Z] ========================================================= [2024-03-15T18:44:29.565Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-15T18:44:29.565Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:44:29.927Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-15T18:44:30.512Z] Sending build context to Docker daemon 11.4MB [2024-03-15T18:44:30.512Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T18:44:30.512Z] Step 2/10 : FROM ${BASE} AS builder [2024-03-15T18:44:30.512Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-15T18:44:30.512Z] 9fda8d8052c6: Pulling fs layer [2024-03-15T18:44:30.512Z] 5d54e960e981: Pulling fs layer [2024-03-15T18:44:30.512Z] c4a7e357bf2a: Pulling fs layer [2024-03-15T18:44:30.512Z] f0e02332f6b5: Pulling fs layer [2024-03-15T18:44:30.512Z] 872ee5b61b7b: Pulling fs layer [2024-03-15T18:44:30.512Z] 0c6a40ed1a82: Pulling fs layer [2024-03-15T18:44:30.512Z] 94ae7d8d031c: Pulling fs layer [2024-03-15T18:44:30.512Z] 872ee5b61b7b: Waiting [2024-03-15T18:44:30.512Z] 0c6a40ed1a82: Waiting [2024-03-15T18:44:30.512Z] f0e02332f6b5: Waiting [2024-03-15T18:44:30.512Z] 94ae7d8d031c: Waiting [2024-03-15T18:44:30.512Z] 5d54e960e981: Verifying Checksum [2024-03-15T18:44:30.512Z] 5d54e960e981: Download complete [2024-03-15T18:44:30.512Z] f0e02332f6b5: Verifying Checksum [2024-03-15T18:44:30.512Z] f0e02332f6b5: Download complete [2024-03-15T18:44:30.512Z] 872ee5b61b7b: Verifying Checksum [2024-03-15T18:44:30.512Z] 872ee5b61b7b: Download complete [2024-03-15T18:44:30.546Z] Removing intermediate container 10202988bd5c [2024-03-15T18:44:30.546Z] ---> 2669b9e42d48 [2024-03-15T18:44:30.546Z] Step 11/24 : FROM alpine:3.18 [2024-03-15T18:44:30.546Z] 3.18: Pulling from library/alpine [2024-03-15T18:44:30.546Z] 619be1103602: Pulling fs layer [2024-03-15T18:44:30.546Z] 619be1103602: Verifying Checksum [2024-03-15T18:44:30.546Z] 619be1103602: Download complete [2024-03-15T18:44:30.546Z] 619be1103602: Pull complete [2024-03-15T18:44:30.546Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-15T18:44:30.546Z] Status: Downloaded newer image for alpine:3.18 [2024-03-15T18:44:30.546Z] ---> d3782b16ccc9 [2024-03-15T18:44:30.546Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-15T18:44:30.546Z] ---> Running in 908628fdc459 [2024-03-15T18:44:30.546Z] Removing intermediate container 908628fdc459 [2024-03-15T18:44:30.546Z] ---> c7dfed9d28c4 [2024-03-15T18:44:30.546Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-03-15T18:44:30.546Z] ---> Running in e55dc2bcd00e [2024-03-15T18:44:30.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T18:44:30.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-15T18:44:30.546Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-15T18:44:30.546Z] Executing busybox-1.36.1-r5.trigger [2024-03-15T18:44:30.546Z] OK: 7 MiB in 16 packages [2024-03-15T18:44:30.546Z] Removing intermediate container e55dc2bcd00e [2024-03-15T18:44:30.546Z] ---> 45fce28872e9 [2024-03-15T18:44:30.546Z] Step 14/24 : RUN apk --no-cache upgrade [2024-03-15T18:44:30.546Z] ---> Running in 5476edd69a98 [2024-03-15T18:44:30.781Z] 9fda8d8052c6: Download complete [2024-03-15T18:44:30.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-15T18:44:31.049Z] 94ae7d8d031c: Verifying Checksum [2024-03-15T18:44:31.049Z] 94ae7d8d031c: Download complete [2024-03-15T18:44:31.062Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-15T18:44:31.062Z] OK: 7 MiB in 16 packages [2024-03-15T18:44:31.629Z] Removing intermediate container 5476edd69a98 [2024-03-15T18:44:31.629Z] ---> 4ea50a8c02f6 [2024-03-15T18:44:31.629Z] Step 15/24 : WORKDIR / [2024-03-15T18:44:31.629Z] ---> Running in 9630714a8e74 [2024-03-15T18:44:31.629Z] Removing intermediate container 9630714a8e74 [2024-03-15T18:44:31.629Z] ---> f99afecfa245 [2024-03-15T18:44:31.629Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-15T18:44:31.629Z] ---> 171b06ba721a [2024-03-15T18:44:31.629Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-15T18:44:31.644Z] 9fda8d8052c6: Pull complete [2024-03-15T18:44:31.913Z] 5d54e960e981: Pull complete [2024-03-15T18:44:32.493Z] c4a7e357bf2a: Verifying Checksum [2024-03-15T18:44:32.493Z] c4a7e357bf2a: Download complete [2024-03-15T18:44:32.565Z] ---> ee004cb292cc [2024-03-15T18:44:32.565Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-15T18:44:32.565Z] ---> c03127c85883 [2024-03-15T18:44:32.565Z] Step 19/24 : EXPOSE 59999 [2024-03-15T18:44:32.565Z] ---> Running in ecd123525eae [2024-03-15T18:44:32.565Z] Removing intermediate container ecd123525eae [2024-03-15T18:44:32.565Z] ---> 653f6e036ff3 [2024-03-15T18:44:32.565Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-03-15T18:44:32.565Z] ---> Running in 48ab2510fc8a [2024-03-15T18:44:32.565Z] Removing intermediate container 48ab2510fc8a [2024-03-15T18:44:32.565Z] ---> e9559eeea85b [2024-03-15T18:44:32.565Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-15T18:44:32.825Z] ---> Running in 3c514f5f47bf [2024-03-15T18:44:32.825Z] Removing intermediate container 3c514f5f47bf [2024-03-15T18:44:32.825Z] ---> 787198dbd1bc [2024-03-15T18:44:32.825Z] Step 22/24 : LABEL arch=amd64 [2024-03-15T18:44:32.825Z] ---> Running in f215e777c065 [2024-03-15T18:44:32.825Z] Removing intermediate container f215e777c065 [2024-03-15T18:44:32.825Z] ---> 6045ecb61366 [2024-03-15T18:44:32.825Z] Step 23/24 : LABEL git_sha=b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 [2024-03-15T18:44:32.825Z] ---> Running in 38c6d6dfd56d [2024-03-15T18:44:33.083Z] Removing intermediate container 38c6d6dfd56d [2024-03-15T18:44:33.083Z] ---> 624789e69690 [2024-03-15T18:44:33.083Z] Step 24/24 : LABEL version=0.0.0 [2024-03-15T18:44:33.083Z] ---> Running in 0d5a331abdbe [2024-03-15T18:44:33.083Z] Removing intermediate container 0d5a331abdbe [2024-03-15T18:44:33.083Z] ---> bcbea53c7774 [2024-03-15T18:44:33.083Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-15T18:44:33.083Z] Successfully built bcbea53c7774 [2024-03-15T18:44:33.083Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:44:33.451Z] 0c6a40ed1a82: Verifying Checksum [2024-03-15T18:44:33.451Z] 0c6a40ed1a82: Download complete [2024-03-15T18:44:33.525Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T18:44:33.525Z] [2024-03-15T18:44:33.525Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:44:33.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T18:44:33.829Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-15T18:44:33.829Z] 5eb5b503b376: Pulling fs layer [2024-03-15T18:44:33.829Z] 5c69ac0246d0: Pulling fs layer [2024-03-15T18:44:33.829Z] ec43610c2a17: Pulling fs layer [2024-03-15T18:44:33.829Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-15T18:44:33.829Z] 33b1e0a273af: Pulling fs layer [2024-03-15T18:44:33.829Z] 5d3b04190fa2: Pulling fs layer [2024-03-15T18:44:33.829Z] 2f39f015ded8: Pulling fs layer [2024-03-15T18:44:33.829Z] 5d3b04190fa2: Waiting [2024-03-15T18:44:33.829Z] 3a2ae6a8a46f: Waiting [2024-03-15T18:44:33.829Z] 33b1e0a273af: Waiting [2024-03-15T18:44:33.829Z] 2f39f015ded8: Waiting [2024-03-15T18:44:33.829Z] 5c69ac0246d0: Download complete [2024-03-15T18:44:33.829Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-15T18:44:33.829Z] 3a2ae6a8a46f: Download complete [2024-03-15T18:44:33.829Z] 33b1e0a273af: Download complete [2024-03-15T18:44:34.087Z] 5d3b04190fa2: Verifying Checksum [2024-03-15T18:44:34.087Z] 5d3b04190fa2: Download complete [2024-03-15T18:44:34.087Z] ec43610c2a17: Verifying Checksum [2024-03-15T18:44:34.087Z] ec43610c2a17: Download complete [2024-03-15T18:44:34.087Z] 5eb5b503b376: Verifying Checksum [2024-03-15T18:44:34.087Z] 5eb5b503b376: Download complete [2024-03-15T18:44:34.652Z] 2f39f015ded8: Download complete [2024-03-15T18:44:35.218Z] 5eb5b503b376: Pull complete [2024-03-15T18:44:35.218Z] 5c69ac0246d0: Pull complete [2024-03-15T18:44:35.784Z] ec43610c2a17: Pull complete [2024-03-15T18:44:35.784Z] 3a2ae6a8a46f: Pull complete [2024-03-15T18:44:36.041Z] 33b1e0a273af: Pull complete [2024-03-15T18:44:36.042Z] 5d3b04190fa2: Pull complete [2024-03-15T18:44:40.224Z] 2f39f015ded8: Pull complete [2024-03-15T18:44:40.224Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-15T18:44:40.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T18:44:40.224Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T18:44:40.321Z] prd-ubuntu20.04-docker-8c-8g-90 does not seem to be running inside a container [2024-03-15T18:44:40.355Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-15T18:44:45.371Z] $ docker top dcd3d43c81c07c5a3d1c9383249515a0f4f3062be86a00416a67333064dfc763 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:44:45.748Z] ---> job-cost.sh [2024-03-15T18:44:45.748Z] lf-activate-venv: SKIPPING [2024-03-15T18:44:45.748Z] INFO: No Stack... [2024-03-15T18:44:45.764Z] c4a7e357bf2a: Pull complete [2024-03-15T18:44:45.764Z] f0e02332f6b5: Pull complete [2024-03-15T18:44:45.764Z] 872ee5b61b7b: Pull complete [2024-03-15T18:44:46.007Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-15T18:44:46.575Z] INFO: Archiving Costs [Pipeline] sh [2024-03-15T18:44:46.862Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv [2024-03-15T18:44:46.862Z] + cut -d, -f6 [Pipeline] lock [2024-03-15T18:44:46.874Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-13-stack-cost] [2024-03-15T18:44:46.881Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-13-stack-cost] did not exist. Created. [2024-03-15T18:44:46.887Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-15T18:44:47.188Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-15T18:44:47.229Z] Stashed 1 file(s) [Pipeline] } [2024-03-15T18:44:47.238Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-13-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-15T18:44:47.265Z] $ docker stop --time=1 dcd3d43c81c07c5a3d1c9383249515a0f4f3062be86a00416a67333064dfc763 [2024-03-15T18:44:48.418Z] $ docker rm -f --volumes dcd3d43c81c07c5a3d1c9383249515a0f4f3062be86a00416a67333064dfc763 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-03-15T18:44:53.986Z] 0c6a40ed1a82: Pull complete [2024-03-15T18:44:55.946Z] 94ae7d8d031c: Pull complete [2024-03-15T18:44:55.946Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-15T18:44:55.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-15T18:44:55.946Z] ---> 86de565de09d [2024-03-15T18:44:55.946Z] Step 3/10 : ARG MAKE=make build [2024-03-15T18:44:57.354Z] ---> Running in 5839452010ac [2024-03-15T18:44:57.622Z] Removing intermediate container 5839452010ac [2024-03-15T18:44:57.622Z] ---> 6fedfe147eeb [2024-03-15T18:44:57.622Z] Step 4/10 : WORKDIR /device-sdk-go [2024-03-15T18:44:57.622Z] ---> Running in 828b84c40bfa [2024-03-15T18:44:58.207Z] Removing intermediate container 828b84c40bfa [2024-03-15T18:44:58.207Z] ---> 104e5581147f [2024-03-15T18:44:58.207Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-15T18:44:58.207Z] ---> Running in 023c80eb8daa [2024-03-15T18:44:58.475Z] Removing intermediate container 023c80eb8daa [2024-03-15T18:44:58.475Z] ---> 8a47a6e240f6 [2024-03-15T18:44:58.475Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-03-15T18:44:58.475Z] ---> Running in f71a8001c9c8 [2024-03-15T18:44:59.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T18:44:59.892Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T18:45:00.856Z] OK: 266 MiB in 52 packages [2024-03-15T18:45:01.817Z] Removing intermediate container f71a8001c9c8 [2024-03-15T18:45:01.817Z] ---> 9df4dc0e4953 [2024-03-15T18:45:01.817Z] Step 7/10 : COPY go.mod vendor* ./ [2024-03-15T18:45:02.414Z] ---> db514488c0c2 [2024-03-15T18:45:02.414Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T18:45:02.414Z] ---> Running in 7bade96b4c0a [2024-03-15T18:45:58.798Z] Removing intermediate container 7bade96b4c0a [2024-03-15T18:45:58.798Z] ---> 94e8dd4a2377 [2024-03-15T18:45:58.798Z] Step 9/10 : COPY . . [2024-03-15T18:45:59.759Z] ---> 8065c97d1f75 [2024-03-15T18:45:59.759Z] Step 10/10 : RUN ${MAKE} [2024-03-15T18:45:59.759Z] ---> Running in 3d8648c4370d [2024-03-15T18:46:00.741Z] noop [2024-03-15T18:46:01.321Z] Removing intermediate container 3d8648c4370d [2024-03-15T18:46:01.321Z] ---> 0ab3c71f57c5 [2024-03-15T18:46:01.321Z] Successfully built 0ab3c71f57c5 [2024-03-15T18:46:01.321Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:46:01.945Z] + docker inspect -f . ci-base-image-arm64 [2024-03-15T18:46:01.945Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T18:46:02.168Z] prd-ubuntu20.04-docker-arm64-4c-16g-91 does not seem to be running inside a container [2024-03-15T18:46:02.234Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-15T18:46:03.415Z] $ docker top 4c4a608e3128b4e7d3117a3445a26eb3c43cbe3da2a9024eb7a68be602c0dbc6 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T18:46:04.241Z] + go version [2024-03-15T18:46:04.241Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-15T18:46:04.259Z] $ docker stop --time=1 4c4a608e3128b4e7d3117a3445a26eb3c43cbe3da2a9024eb7a68be602c0dbc6 [2024-03-15T18:46:05.870Z] $ docker rm -f --volumes 4c4a608e3128b4e7d3117a3445a26eb3c43cbe3da2a9024eb7a68be602c0dbc6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:46:06.434Z] + docker inspect -f . ci-base-image-arm64 [2024-03-15T18:46:06.434Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T18:46:06.617Z] prd-ubuntu20.04-docker-arm64-4c-16g-91 does not seem to be running inside a container [2024-03-15T18:46:06.682Z] $ 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/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-03-15T18:46:07.837Z] $ docker top 9fddfc0dfa1f25ad2b58e1439a3d42348960eeb39bb56ffb91d63506902729de -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T18:46:08.348Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/13 [Pipeline] fileExists [Pipeline] sh [2024-03-15T18:46:08.952Z] + make test [2024-03-15T18:46:09.308Z] go test -race -coverprofile=coverage.out ./... [2024-03-15T18:46:41.614Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-03-15T18:48:18.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-03-15T18:48:18.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-03-15T18:48:18.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-03-15T18:48:18.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-03-15T18:48:18.271Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-03-15T18:48:18.271Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.248s coverage: 27.6% of statements [2024-03-15T18:48:24.922Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.242s coverage: 81.5% of statements [2024-03-15T18:48:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-03-15T18:48:34.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-03-15T18:48:35.563Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.427s coverage: 86.0% of statements [2024-03-15T18:48:40.890Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-03-15T18:48:41.847Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.397s coverage: 71.8% of statements [2024-03-15T18:48:45.203Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.286s coverage: 14.4% of statements [2024-03-15T18:48:45.203Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.658s coverage: 45.6% of statements [2024-03-15T18:48:46.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-03-15T18:48:46.161Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-03-15T18:48:47.559Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.515s coverage: 68.5% of statements [2024-03-15T18:48:50.128Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.429s coverage: 89.2% of statements [2024-03-15T18:48:51.531Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-03-15T18:48:52.484Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.235s coverage: 5.5% of statements [2024-03-15T18:48:53.438Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-15T18:48:53.438Z] GO111MODULE=on go vet ./... [2024-03-15T18:50:45.082Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-15T18:50:45.082Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-15T18:50:45.082Z] ./bin/test-attribution-txt.sh [2024-03-15T18:50:45.083Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-15T18:50:45.101Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-15T18:50:45.126Z] $ docker stop --time=1 9fddfc0dfa1f25ad2b58e1439a3d42348960eeb39bb56ffb91d63506902729de [2024-03-15T18:50:46.975Z] $ docker rm -f --volumes 9fddfc0dfa1f25ad2b58e1439a3d42348960eeb39bb56ffb91d63506902729de [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-15T18:50:48.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-15T18:50:48.611Z] Warning: overwriting stash ‘coverage-report’ [2024-03-15T18:50:49.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-15T18:50:49.489Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-15T18:50:49.800Z] + ls -al . [2024-03-15T18:50:49.800Z] total 304 [2024-03-15T18:50:49.800Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 18:46 . [2024-03-15T18:50:49.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 18:43 .. [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 18:44 .dockerignore [2024-03-15T18:50:49.800Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 18:44 .git [2024-03-15T18:50:49.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 18:44 .github [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 137 Mar 15 18:44 .gitignore [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 18:44 .golangci.yml [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 48109 Mar 15 18:44 CHANGELOG.md [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 18:44 GOVERNANCE.md [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 15 18:44 Jenkinsfile [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 18:44 LICENSE [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 1842 Mar 15 18:44 Makefile [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 18:44 OWNERS.md [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 4933 Mar 15 18:44 README.md [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 18:42 VERSION [2024-03-15T18:50:49.800Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 18:44 bin [2024-03-15T18:50:49.800Z] -rw-r--r-- 1 jenkins jenkins 122155 Mar 15 18:48 coverage.out [2024-03-15T18:50:49.800Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 18:44 example [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 3768 Mar 15 18:44 go.mod [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 35399 Mar 15 18:44 go.sum [2024-03-15T18:50:49.800Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 18:44 internal [2024-03-15T18:50:49.800Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 18:44 openapi [2024-03-15T18:50:49.800Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 18:44 pkg [2024-03-15T18:50:49.800Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 18:44 snap [2024-03-15T18:50:49.800Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:50:50.140Z] + 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=560b543060106dc818bb536252f2bc4c9dab5e1d --label arch=arm64 --label version=0.0.0 . [2024-03-15T18:50:50.729Z] Sending build context to Docker daemon 11.52MB [2024-03-15T18:50:50.729Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2024-03-15T18:50:50.729Z] Step 2/24 : FROM ${BASE} AS builder [2024-03-15T18:50:50.729Z] ---> 0ab3c71f57c5 [2024-03-15T18:50:50.729Z] Step 3/24 : ARG MAKE=make build [2024-03-15T18:50:50.729Z] ---> Running in 0174494df932 [2024-03-15T18:50:51.311Z] Removing intermediate container 0174494df932 [2024-03-15T18:50:51.311Z] ---> c26617dd96fb [2024-03-15T18:50:51.311Z] Step 4/24 : WORKDIR /device-sdk-go [2024-03-15T18:50:51.311Z] ---> Running in 5168a5e65fc2 [2024-03-15T18:50:51.579Z] Removing intermediate container 5168a5e65fc2 [2024-03-15T18:50:51.579Z] ---> b9cc0dfab35e [2024-03-15T18:50:51.579Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-03-15T18:50:51.579Z] ---> Running in bf98ec543d1c [2024-03-15T18:50:51.844Z] Removing intermediate container bf98ec543d1c [2024-03-15T18:50:51.844Z] ---> 28fc8b20cd53 [2024-03-15T18:50:51.844Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-03-15T18:50:52.114Z] ---> Running in 556d130045cc [2024-03-15T18:50:53.067Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T18:50:53.331Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T18:50:54.731Z] OK: 266 MiB in 52 packages [2024-03-15T18:50:55.311Z] Removing intermediate container 556d130045cc [2024-03-15T18:50:55.311Z] ---> 1de055869eec [2024-03-15T18:50:55.311Z] Step 7/24 : COPY go.mod vendor* ./ [2024-03-15T18:50:55.891Z] ---> 4bca97f06c80 [2024-03-15T18:50:55.891Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-15T18:50:55.891Z] ---> Running in f0365e6bffb2 [2024-03-15T18:50:57.832Z] Removing intermediate container f0365e6bffb2 [2024-03-15T18:50:57.832Z] ---> 5ae52e7f35cc [2024-03-15T18:50:57.832Z] Step 9/24 : COPY . . [2024-03-15T18:50:59.236Z] ---> ba3507f6ac91 [2024-03-15T18:50:59.236Z] Step 10/24 : RUN ${MAKE} [2024-03-15T18:50:59.236Z] ---> Running in 09fdb93fa21a [2024-03-15T18:51:00.192Z] 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-03-15T18:52:51.793Z] Removing intermediate container 09fdb93fa21a [2024-03-15T18:52:51.793Z] ---> 44d9af582561 [2024-03-15T18:52:51.793Z] Step 11/24 : FROM alpine:3.18 [2024-03-15T18:52:51.793Z] 3.18: Pulling from library/alpine [2024-03-15T18:52:51.793Z] c6b39de5b339: Pulling fs layer [2024-03-15T18:52:51.793Z] c6b39de5b339: Verifying Checksum [2024-03-15T18:52:51.793Z] c6b39de5b339: Download complete [2024-03-15T18:52:51.793Z] c6b39de5b339: Pull complete [2024-03-15T18:52:51.793Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-15T18:52:51.793Z] Status: Downloaded newer image for alpine:3.18 [2024-03-15T18:52:51.793Z] ---> 33abbf032149 [2024-03-15T18:52:51.793Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-03-15T18:52:51.793Z] ---> Running in 5af92bed4648 [2024-03-15T18:52:51.793Z] Removing intermediate container 5af92bed4648 [2024-03-15T18:52:51.793Z] ---> dfb556907f20 [2024-03-15T18:52:51.793Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-03-15T18:52:51.793Z] ---> Running in 988d213b48b5 [2024-03-15T18:52:51.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T18:52:51.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T18:52:51.793Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-15T18:52:51.793Z] Executing busybox-1.36.1-r5.trigger [2024-03-15T18:52:51.793Z] OK: 8 MiB in 16 packages [2024-03-15T18:52:51.793Z] Removing intermediate container 988d213b48b5 [2024-03-15T18:52:51.793Z] ---> a699f99c0184 [2024-03-15T18:52:51.793Z] Step 14/24 : RUN apk --no-cache upgrade [2024-03-15T18:52:51.793Z] ---> Running in 09e1d5c6a63c [2024-03-15T18:52:51.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-15T18:52:51.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-15T18:52:51.793Z] OK: 8 MiB in 16 packages [2024-03-15T18:52:51.793Z] Removing intermediate container 09e1d5c6a63c [2024-03-15T18:52:51.793Z] ---> 4ccbe1b1deb6 [2024-03-15T18:52:51.793Z] Step 15/24 : WORKDIR / [2024-03-15T18:52:51.793Z] ---> Running in c8d014019a8b [2024-03-15T18:52:51.793Z] Removing intermediate container c8d014019a8b [2024-03-15T18:52:51.793Z] ---> 940fe137073c [2024-03-15T18:52:51.793Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-03-15T18:52:51.793Z] ---> e207610338d5 [2024-03-15T18:52:51.793Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-03-15T18:52:51.793Z] ---> cca7792052ca [2024-03-15T18:52:51.793Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-03-15T18:52:51.793Z] ---> 7882c744fdf3 [2024-03-15T18:52:51.793Z] Step 19/24 : EXPOSE 59999 [2024-03-15T18:52:51.793Z] ---> Running in 7fdd43cd8a2b [2024-03-15T18:52:51.793Z] Removing intermediate container 7fdd43cd8a2b [2024-03-15T18:52:51.793Z] ---> f93422871b52 [2024-03-15T18:52:51.793Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-03-15T18:52:51.793Z] ---> Running in b5d870121942 [2024-03-15T18:52:51.793Z] Removing intermediate container b5d870121942 [2024-03-15T18:52:51.793Z] ---> d9650d4f7597 [2024-03-15T18:52:51.793Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-15T18:52:51.793Z] ---> Running in dfab48a62c32 [2024-03-15T18:52:51.793Z] Removing intermediate container dfab48a62c32 [2024-03-15T18:52:51.793Z] ---> 1e6310146e36 [2024-03-15T18:52:51.793Z] Step 22/24 : LABEL arch=arm64 [2024-03-15T18:52:51.793Z] ---> Running in c16a2bc4b622 [2024-03-15T18:52:51.793Z] Removing intermediate container c16a2bc4b622 [2024-03-15T18:52:51.793Z] ---> fb898db78d4b [2024-03-15T18:52:51.793Z] Step 23/24 : LABEL git_sha=560b543060106dc818bb536252f2bc4c9dab5e1d [2024-03-15T18:52:51.793Z] ---> Running in 9e2c7ed52e59 [2024-03-15T18:52:51.793Z] Removing intermediate container 9e2c7ed52e59 [2024-03-15T18:52:51.793Z] ---> 8d96ce00c2dc [2024-03-15T18:52:51.793Z] Step 24/24 : LABEL version=0.0.0 [2024-03-15T18:52:51.793Z] ---> Running in 00f17a3baee8 [2024-03-15T18:52:51.793Z] Removing intermediate container 00f17a3baee8 [2024-03-15T18:52:51.793Z] ---> 48a344798058 [2024-03-15T18:52:51.793Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-15T18:52:51.793Z] Successfully built 48a344798058 [2024-03-15T18:52:51.793Z] 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] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:52:52.287Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-15T18:52:52.287Z] [2024-03-15T18:52:52.287Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:52:52.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-15T18:52:52.617Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-15T18:52:52.617Z] 8998bd30e6a1: Pulling fs layer [2024-03-15T18:52:52.617Z] 04944245beec: Pulling fs layer [2024-03-15T18:52:52.617Z] 699f458cf7ca: Pulling fs layer [2024-03-15T18:52:52.617Z] 765212b225bb: Pulling fs layer [2024-03-15T18:52:52.617Z] f23df028b6ca: Pulling fs layer [2024-03-15T18:52:52.617Z] d65c8cfc05b1: Pulling fs layer [2024-03-15T18:52:52.617Z] 2437ff75d9bd: Pulling fs layer [2024-03-15T18:52:52.617Z] 765212b225bb: Waiting [2024-03-15T18:52:52.617Z] f23df028b6ca: Waiting [2024-03-15T18:52:52.617Z] d65c8cfc05b1: Waiting [2024-03-15T18:52:52.884Z] 04944245beec: Verifying Checksum [2024-03-15T18:52:52.884Z] 04944245beec: Download complete [2024-03-15T18:52:52.884Z] 765212b225bb: Verifying Checksum [2024-03-15T18:52:52.884Z] 765212b225bb: Download complete [2024-03-15T18:52:52.884Z] f23df028b6ca: Download complete [2024-03-15T18:52:52.884Z] d65c8cfc05b1: Verifying Checksum [2024-03-15T18:52:52.884Z] d65c8cfc05b1: Download complete [2024-03-15T18:52:52.884Z] 699f458cf7ca: Verifying Checksum [2024-03-15T18:52:52.884Z] 699f458cf7ca: Download complete [2024-03-15T18:52:53.466Z] 8998bd30e6a1: Verifying Checksum [2024-03-15T18:52:53.466Z] 8998bd30e6a1: Download complete [2024-03-15T18:52:56.042Z] 2437ff75d9bd: Verifying Checksum [2024-03-15T18:52:56.042Z] 2437ff75d9bd: Download complete [2024-03-15T18:52:57.978Z] 8998bd30e6a1: Pull complete [2024-03-15T18:52:58.559Z] 04944245beec: Pull complete [2024-03-15T18:52:59.962Z] 699f458cf7ca: Pull complete [2024-03-15T18:53:00.230Z] 765212b225bb: Pull complete [2024-03-15T18:53:01.186Z] f23df028b6ca: Pull complete [2024-03-15T18:53:01.186Z] d65c8cfc05b1: Pull complete [2024-03-15T18:53:19.372Z] 2437ff75d9bd: Pull complete [2024-03-15T18:53:19.372Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-15T18:53:19.372Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-15T18:53:19.372Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T18:53:19.576Z] prd-ubuntu20.04-docker-arm64-4c-16g-91 does not seem to be running inside a container [2024-03-15T18:53:19.631Z] $ 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/13 -v /w/workspace/device-sdk-go/13:/w/workspace/device-sdk-go/13:rw,z -v /w/workspace/device-sdk-go/13@tmp:/w/workspace/device-sdk-go/13@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-03-15T18:53:22.224Z] $ docker top 9848a803b70547659dd33a25065d31869c11ab9351797ad267ed18dde9489c94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:53:23.057Z] ---> job-cost.sh [2024-03-15T18:53:23.057Z] lf-activate-venv: SKIPPING [2024-03-15T18:53:23.057Z] INFO: No Stack... [2024-03-15T18:53:23.320Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-15T18:53:24.269Z] INFO: Archiving Costs [Pipeline] sh [2024-03-15T18:53:24.893Z] + + cat /w/workspace/device-sdk-go/13/archives/cost.csvcut [2024-03-15T18:53:24.893Z] -d, -f6 [Pipeline] lock [2024-03-15T18:53:24.939Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-13-stack-cost] [2024-03-15T18:53:24.945Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-13-stack-cost] did not exist. Created. [2024-03-15T18:53:24.950Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-13-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-15T18:53:25.592Z] /w/workspace/device-sdk-go/13@tmp/durable-cc05095c/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-15T18:53:26.218Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-15T18:53:26.243Z] Warning: overwriting stash ‘stack-cost’ [2024-03-15T18:53:26.312Z] Stashed 1 file(s) [Pipeline] } [2024-03-15T18:53:26.318Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-13-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-15T18:53:26.349Z] $ docker stop --time=1 9848a803b70547659dd33a25065d31869c11ab9351797ad267ed18dde9489c94 [2024-03-15T18:53:27.831Z] $ docker rm -f --volumes 9848a803b70547659dd33a25065d31869c11ab9351797ad267ed18dde9489c94 [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-03-15T18:53:28.299Z] provisioning config files... [2024-03-15T18:53:28.308Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config15373271425828903840tmp [Pipeline] { [Pipeline] sh [2024-03-15T18:53:28.613Z] + set +x [2024-03-15T18:53:28.613Z] + curl -s+ https://codecov.io/bash [2024-03-15T18:53:28.613Z] bash -s -- [2024-03-15T18:53:28.613Z] [2024-03-15T18:53:28.613Z] _____ _ [2024-03-15T18:53:28.613Z] / ____| | | [2024-03-15T18:53:28.613Z] | | ___ __| | ___ ___ _____ __ [2024-03-15T18:53:28.613Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-15T18:53:28.613Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-15T18:53:28.613Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-15T18:53:28.613Z] Bash-1.0.6 [2024-03-15T18:53:28.613Z] [2024-03-15T18:53:28.613Z] [2024-03-15T18:53:28.613Z] ==> git version 2.25.1 found [2024-03-15T18:53:28.613Z] ==> 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-03-15T18:53:28.613Z] Release-Date: 2020-01-08 [2024-03-15T18:53:28.613Z] 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-03-15T18:53:28.613Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-15T18:53:28.613Z] ==> Jenkins CI detected. [2024-03-15T18:53:28.613Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 [2024-03-15T18:53:28.613Z] project root: . [2024-03-15T18:53:28.613Z] --> token set from env [2024-03-15T18:53:28.613Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-15T18:53:28.872Z] ==> Running gcov in . (disable via -X gcov) [2024-03-15T18:53:28.872Z] ==> Python coveragepy not found [2024-03-15T18:53:28.872Z] ==> Searching for coverage reports in: [2024-03-15T18:53:28.872Z] + . [2024-03-15T18:53:28.872Z] -> Found 1 reports [2024-03-15T18:53:28.872Z] ==> Detecting git/mercurial file structure [2024-03-15T18:53:28.872Z] ==> Reading reports [2024-03-15T18:53:28.872Z] + ./coverage.out bytes=122155 [2024-03-15T18:53:28.872Z] ==> Appending adjustments [2024-03-15T18:53:28.872Z] https://docs.codecov.io/docs/fixing-reports [2024-03-15T18:53:29.132Z] + Found adjustments [2024-03-15T18:53:29.132Z] ==> Gzipping contents [2024-03-15T18:53:29.132Z] 20K /tmp/codecov.oZUevs.gz [2024-03-15T18:53:29.132Z] ==> Uploading reports [2024-03-15T18:53:29.132Z] url: https://codecov.io [2024-03-15T18:53:29.132Z] query: branch=PR-1540&commit=b708f7ee76ab783c63ddb9e0a3578ba1d1559b20&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2024-03-15T18:53:29.132Z] -> Pinging Codecov [2024-03-15T18:53:29.132Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=b708f7ee76ab783c63ddb9e0a3578ba1d1559b20&build=13&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F13%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2024-03-15T18:53:29.393Z] -> Uploading to [2024-03-15T18:53:29.394Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-15/7E55EF52A471D76F132DFD9A03CDDE97/b708f7ee76ab783c63ddb9e0a3578ba1d1559b20/7a516af4-5a44-4a76-a5bf-dd414d09e981.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240315T185329Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae4ac03347197bb4fdcfe3760e3b694303c68d37dbb32955826e0ee4e6ce9d77 [2024-03-15T18:53:29.394Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-15T18:53:29.394Z] Dload Upload Total Spent Left Speed [2024-03-15T18:53:29.654Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16749 0 0 100 16749 0 74772 --:--:-- --:--:-- --:--:-- 74440 100 16749 0 0 100 16749 0 51377 --:--:-- --:--:-- --:--:-- 51220 [2024-03-15T18:53:29.654Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/b708f7ee76ab783c63ddb9e0a3578ba1d1559b20 [Pipeline] } [2024-03-15T18:53:29.661Z] 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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [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-03-15T18:53:30.442Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] [2024-03-15T18:53:30.442Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-03-15T18:53:30.442Z] total 16 [2024-03-15T18:53:30.442Z] drwxr-xr-x 3 root root 4096 Mar 15 18:44 . [2024-03-15T18:53:30.442Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 18:44 .. [2024-03-15T18:53:30.442Z] drwxr-xr-x 2 root root 4096 Mar 15 18:44 cost [2024-03-15T18:53:30.442Z] -rw-r--r-- 1 root root 87 Mar 15 18:44 cost.csv [2024-03-15T18:53:30.442Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-03-15T18:53:30.442Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2024-03-15T18:53:30.442Z] total 16 [2024-03-15T18:53:30.442Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 18:44 . [2024-03-15T18:53:30.442Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 18:44 .. [2024-03-15T18:53:30.442Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 18:44 cost [2024-03-15T18:53:30.442Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 15 18:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:53:30.732Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:53:31.587Z] ---> package-listing.sh [2024-03-15T18:53:31.587Z] ++ facter osfamily [2024-03-15T18:53:31.587Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-15T18:53:31.845Z] + OS_FAMILY=debian [2024-03-15T18:53:31.845Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 [2024-03-15T18:53:31.845Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-15T18:53:31.845Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-15T18:53:31.845Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-15T18:53:31.845Z] + PACKAGES=/tmp/packages_start.txt [2024-03-15T18:53:31.845Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2024-03-15T18:53:31.845Z] + PACKAGES=/tmp/packages_end.txt [2024-03-15T18:53:31.845Z] + case "${OS_FAMILY}" in [2024-03-15T18:53:31.845Z] + dpkg -l [2024-03-15T18:53:31.845Z] + grep '^ii' [2024-03-15T18:53:31.845Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-15T18:53:31.845Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-15T18:53:31.845Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-15T18:53:31.845Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2024-03-15T18:53:31.845Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [2024-03-15T18:53:31.845Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo [2024-03-15T18:53:31.856Z] 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-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-15T18:53:32.133Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-15T18:53:32.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-15T18:53:32.697Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-15T18:53:32.771Z] prd-ubuntu20.04-docker-8c-8g-90 does not seem to be running inside a container [2024-03-15T18:53:32.799Z] $ 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-1540/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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-03-15T18:53:33.003Z] $ docker top 1019ee779ee2cecc3dcbd2da3745d5f0e75bf67a76b796cd05877b68f9bf8137 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-15T18:53:33.400Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-15T18:53:33.699Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-15T18:53:34.013Z] + ls /var/log/sa-host [2024-03-15T18:53:34.013Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-15T18:53:34.157Z] provisioning config files... [2024-03-15T18:53:34.165Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config3853758313767975697tmp [Pipeline] { [Pipeline] echo [2024-03-15T18:53:34.180Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:53:34.462Z] ---> create-netrc.sh [Pipeline] } [2024-03-15T18:53:34.469Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:53:34.809Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-15T18:53:34.818Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:53:35.100Z] ---> sudo-logs.sh [2024-03-15T18:53:35.100Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-15T18:53:35.134Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:53:35.417Z] ---> job-cost.sh [2024-03-15T18:53:35.417Z] lf-activate-venv: SKIPPING [2024-03-15T18:53:35.417Z] DEBUG: total: 0.2199999988079071 [2024-03-15T18:53:35.417Z] INFO: Retrieving Stack Cost... [2024-03-15T18:53:36.797Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-15T18:53:37.057Z] INFO: Archiving Costs [Pipeline] echo [2024-03-15T18:53:37.069Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-15T18:53:37.351Z] ---> logs-deploy.sh [2024-03-15T18:53:37.351Z] lf-activate-venv: SKIPPING [2024-03-15T18:53:37.351Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/13 [2024-03-15T18:53:37.351Z] INFO: archiving workspace using pattern(s): [2024-03-15T18:53:38.288Z] Archives upload complete. [2024-03-15T18:53:38.288Z] INFO: archiving logs to Nexus