Pull request #418 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jackchenjc for edgexfoundry/device-rest-go Obtained Jenkinsfile from be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f+107c131f2d4d00842a0c6d2364e97dcb8ff9e476 (6183e1e0d643f730f31e36b6727a5639d2805aa5) 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-ssh1307037131713673208.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh961450499530647380.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6275502249951802706.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-418/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8076119447419877436.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3706854994789101358.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-418/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-418/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18380350558704539572.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.23 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-22692 in /w/workspace/gexfoundry_device-rest-go_PR-418 [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-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-418 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 into PR head commit be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f Merge succeeded, producing be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f Checking out Revision be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f (PR-418) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/418/head:refs/remotes/origin/PR-418 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f # 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 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f # timeout=10 Commit message: "feat: Enable PIE support for ASLR and full RELRO" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-10-14T07:42:49.046Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-10-14T07:42:49.282Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-10-14T07:42:49.423Z] ========================================================= [2024-10-14T07:42:49.423Z] EdgeX Global Pipelines Version Info [2024-10-14T07:42:49.423Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:42:50.189Z] ------------------- [2024-10-14T07:42:50.189Z] stable info: [2024-10-14T07:42:50.189Z] ------------------- [2024-10-14T07:42:50.189Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-10-14T07:42:50.189Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-10-14T07:42:50.189Z] Message: update stable to v1.0.265 [2024-10-14T07:42:50.763Z] ------------------- [2024-10-14T07:42:50.763Z] experimental info: [2024-10-14T07:42:50.763Z] ------------------- [2024-10-14T07:42:50.763Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-10-14T07:42:50.763Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-10-14T07:42:50.763Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-10-14T07:42:50.975Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-10-14T07:42:51.035Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-10-14T07:42:51.095Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-10-14T07:42:51.155Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-10-14T07:42:51.217Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-10-14T07:42:51.273Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-10-14T07:42:51.336Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-10-14T07:42:51.396Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-10-14T07:42:51.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-10-14T07:42:51.512Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-10-14T07:42:51.570Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-10-14T07:42:51.630Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-10-14T07:42:51.689Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-10-14T07:42:51.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-10-14T07:42:51.820Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T07:42:51.884Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-10-14T07:42:51.946Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T07:42:52.008Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-10-14T07:42:52.068Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-10-14T07:42:52.129Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-10-14T07:42:52.186Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-10-14T07:42:52.244Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-10-14T07:42:52.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-10-14T07:42:52.366Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-10-14T07:42:52.425Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-10-14T07:42:52.481Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-10-14T07:42:52.538Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-10-14T07:42:52.596Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-418 [Pipeline] echo [2024-10-14T07:42:52.667Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-418 [Pipeline] echo [2024-10-14T07:42:52.728Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-418 [Pipeline] echo [2024-10-14T07:42:52.788Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f [Pipeline] echo [2024-10-14T07:42:52.847Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be40ce9 [Pipeline] echo [2024-10-14T07:42:52.902Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T07:42:53.048Z] provisioning config files... [2024-10-14T07:42:53.062Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-418@tmp/config10909610437872405663tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:42:53.464Z] ---> ****-login.sh [2024-10-14T07:42:53.464Z] nexus3.edgexfoundry.org:10001 [2024-10-14T07:42:53.464Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:42:53.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:42:53.725Z] Configure a credential helper to remove this warning. See [2024-10-14T07:42:53.725Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:42:53.725Z] [2024-10-14T07:42:53.725Z] Login Succeeded [2024-10-14T07:42:53.725Z] nexus3.edgexfoundry.org:10002 [2024-10-14T07:42:53.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:42:53.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:42:53.725Z] Configure a credential helper to remove this warning. See [2024-10-14T07:42:53.725Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:42:53.725Z] [2024-10-14T07:42:53.725Z] Login Succeeded [2024-10-14T07:42:53.725Z] nexus3.edgexfoundry.org:10003 [2024-10-14T07:42:53.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:42:53.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:42:53.985Z] Configure a credential helper to remove this warning. See [2024-10-14T07:42:53.985Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:42:53.985Z] [2024-10-14T07:42:53.985Z] Login Succeeded [2024-10-14T07:42:53.985Z] nexus3.edgexfoundry.org:10004 [2024-10-14T07:42:53.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:42:53.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:42:53.986Z] Configure a credential helper to remove this warning. See [2024-10-14T07:42:53.986Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:42:53.986Z] [2024-10-14T07:42:53.986Z] Login Succeeded [2024-10-14T07:42:53.986Z] ****.io [2024-10-14T07:42:53.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:42:54.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:42:54.248Z] Configure a credential helper to remove this warning. See [2024-10-14T07:42:54.248Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:42:54.248Z] [2024-10-14T07:42:54.248Z] Login Succeeded [2024-10-14T07:42:54.248Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T07:42:54.279Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-10-14T07:42:54.956Z] + git rev-list -1 --merges be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f~1..be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f [Pipeline] echo [2024-10-14T07:42:55.023Z] -----------> git rev-list -1 --merges be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f~1..be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f [false] [Pipeline] sh [2024-10-14T07:42:55.346Z] + git log --format=format:%s -1 be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f [Pipeline] echo [2024-10-14T07:42:55.385Z] ========================================================= [2024-10-14T07:42:55.385Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-10-14T07:42:55.385Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:42:55.846Z] + git log --format=format:%s -1 be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f [Pipeline] echo [2024-10-14T07:42:55.890Z] [semverPrep] GIT_COMMIT: be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f, Commit Message: feat: Enable PIE support for ASLR and full RELRO [Pipeline] echo [2024-10-14T07:42:55.939Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-10-14T07:42:56.350Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-10-14T07:42:56.350Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-10-14T07:42:56.350Z] + [ -e /tmp/ssh_known_hosts ] [2024-10-14T07:42:56.350Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-10-14T07:42:56.350Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-10-14T07:42:56.350Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-10-14T07:42:56.350Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:42:56.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T07:42:56.831Z] [2024-10-14T07:42:56.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:42:57.247Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T07:42:57.247Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-10-14T07:42:57.247Z] b85a868b505f: Pulling fs layer [2024-10-14T07:42:57.247Z] e2be974225ed: Pulling fs layer [2024-10-14T07:42:57.247Z] 339a4e72a1f5: Pulling fs layer [2024-10-14T07:42:57.247Z] 988bab9f4d93: Pulling fs layer [2024-10-14T07:42:57.247Z] 1469e6f7b9e6: Pulling fs layer [2024-10-14T07:42:57.247Z] eaf3925da568: Pulling fs layer [2024-10-14T07:42:57.247Z] bab4dde63d76: Pulling fs layer [2024-10-14T07:42:57.247Z] bde34c3a00c8: Pulling fs layer [2024-10-14T07:42:57.247Z] b352a97aabf1: Pulling fs layer [2024-10-14T07:42:57.247Z] 4872d77fe225: Pulling fs layer [2024-10-14T07:42:57.247Z] 5851b861e8e6: Pulling fs layer [2024-10-14T07:42:57.247Z] bab4dde63d76: Waiting [2024-10-14T07:42:57.247Z] bde34c3a00c8: Waiting [2024-10-14T07:42:57.247Z] b352a97aabf1: Waiting [2024-10-14T07:42:57.247Z] 988bab9f4d93: Waiting [2024-10-14T07:42:57.247Z] 4872d77fe225: Waiting [2024-10-14T07:42:57.247Z] eaf3925da568: Waiting [2024-10-14T07:42:57.247Z] 5851b861e8e6: Waiting [2024-10-14T07:42:57.247Z] e2be974225ed: Download complete [2024-10-14T07:42:57.247Z] 988bab9f4d93: Verifying Checksum [2024-10-14T07:42:57.247Z] 988bab9f4d93: Download complete [2024-10-14T07:42:57.247Z] 1469e6f7b9e6: Verifying Checksum [2024-10-14T07:42:57.247Z] 1469e6f7b9e6: Download complete [2024-10-14T07:42:57.247Z] 339a4e72a1f5: Verifying Checksum [2024-10-14T07:42:57.247Z] 339a4e72a1f5: Download complete [2024-10-14T07:42:57.505Z] eaf3925da568: Download complete [2024-10-14T07:42:57.505Z] bde34c3a00c8: Verifying Checksum [2024-10-14T07:42:57.505Z] bde34c3a00c8: Download complete [2024-10-14T07:42:57.505Z] b352a97aabf1: Verifying Checksum [2024-10-14T07:42:57.506Z] b352a97aabf1: Download complete [2024-10-14T07:42:57.506Z] 4872d77fe225: Verifying Checksum [2024-10-14T07:42:57.506Z] 4872d77fe225: Download complete [2024-10-14T07:42:57.506Z] 5851b861e8e6: Verifying Checksum [2024-10-14T07:42:57.506Z] 5851b861e8e6: Download complete [2024-10-14T07:42:57.506Z] b85a868b505f: Verifying Checksum [2024-10-14T07:42:57.506Z] b85a868b505f: Download complete [2024-10-14T07:42:57.764Z] bab4dde63d76: Verifying Checksum [2024-10-14T07:42:57.764Z] bab4dde63d76: Download complete [2024-10-14T07:42:58.703Z] b85a868b505f: Pull complete [2024-10-14T07:42:58.963Z] e2be974225ed: Pull complete [2024-10-14T07:42:59.534Z] 339a4e72a1f5: Pull complete [2024-10-14T07:42:59.793Z] 988bab9f4d93: Pull complete [2024-10-14T07:43:00.052Z] 1469e6f7b9e6: Pull complete [2024-10-14T07:43:00.052Z] eaf3925da568: Pull complete [2024-10-14T07:43:01.961Z] bab4dde63d76: Pull complete [2024-10-14T07:43:01.962Z] bde34c3a00c8: Pull complete [2024-10-14T07:43:01.962Z] b352a97aabf1: Pull complete [2024-10-14T07:43:01.962Z] 4872d77fe225: Pull complete [2024-10-14T07:43:01.962Z] 5851b861e8e6: Pull complete [2024-10-14T07:43:01.962Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-10-14T07:43:01.962Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-10-14T07:43:01.962Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:43:02.258Z] prd-ubuntu20.04-docker-8c-8g-22692 does not seem to be running inside a container [2024-10-14T07:43:02.286Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-418 -v /w/workspace/gexfoundry_device-rest-go_PR-418:/w/workspace/gexfoundry_device-rest-go_PR-418:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-418@tmp:/w/workspace/gexfoundry_device-rest-go_PR-418@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-10-14T07:43:07.465Z] $ docker top c7003cba8749f6288aec720ae5f1590831ea6bca171d34b9cb58d84b1affd341 -eo pid,comm [2024-10-14T07:43:07.515Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-10-14T07:43:07.515Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-10-14T07:43:07.693Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T07:43:07.693Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T07:43:07.794Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T07:43:07.799Z] $ docker exec c7003cba8749f6288aec720ae5f1590831ea6bca171d34b9cb58d84b1affd341 ssh-agent [2024-10-14T07:43:07.905Z] SSH_AUTH_SOCK=/tmp/ssh-5oLDPNP944WF/agent.32 [2024-10-14T07:43:07.905Z] SSH_AGENT_PID=39 [2024-10-14T07:43:07.911Z] Running ssh-add (command line suppressed) [2024-10-14T07:43:08.007Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-418@tmp/private_key_10877478469145931518.key (/w/workspace/gexfoundry_device-rest-go_PR-418@tmp/private_key_10877478469145931518.key) [2024-10-14T07:43:08.021Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T07:43:08.364Z] + git tag --points-at HEAD [Pipeline] } [2024-10-14T07:43:08.390Z] $ docker exec --env ******** --env ******** c7003cba8749f6288aec720ae5f1590831ea6bca171d34b9cb58d84b1affd341 ssh-agent -k [2024-10-14T07:43:08.479Z] unset SSH_AUTH_SOCK; [2024-10-14T07:43:08.479Z] unset SSH_AGENT_PID; [2024-10-14T07:43:08.479Z] echo Agent pid 39 killed; [2024-10-14T07:43:08.488Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-10-14T07:43:08.601Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-10-14T07:43:08.601Z] [ssh-agent] Looking for ssh-agent implementation... [2024-10-14T07:43:08.708Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-10-14T07:43:08.710Z] $ docker exec c7003cba8749f6288aec720ae5f1590831ea6bca171d34b9cb58d84b1affd341 ssh-agent [2024-10-14T07:43:09.651Z] SSH_AUTH_SOCK=/tmp/ssh-QglzFB9VqVRz/agent.73 [2024-10-14T07:43:09.651Z] SSH_AGENT_PID=80 [2024-10-14T07:43:09.656Z] Running ssh-add (command line suppressed) [2024-10-14T07:43:09.751Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-418@tmp/private_key_11644015140615942252.key (/w/workspace/gexfoundry_device-rest-go_PR-418@tmp/private_key_11644015140615942252.key) [2024-10-14T07:43:09.763Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-10-14T07:43:10.111Z] + git semver init [2024-10-14T07:43:10.369Z] 2024-10-14 07:43:10,288 [run_init] DEBUG init version:0.0.0 force:False [2024-10-14T07:43:10.369Z] 2024-10-14 07:43:10,288 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-418/.semver [2024-10-14T07:43:10.369Z] 2024-10-14 07:43:10,289 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-418/.semver [2024-10-14T07:43:10.369Z] 2024-10-14 07:43:10,289 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-418/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-418, universal_newlines=False, shell=None, istream=None) [2024-10-14T07:43:11.749Z] 2024-10-14 07:43:11,496 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-418/.git/info/exclude [2024-10-14T07:43:11.749Z] 2024-10-14 07:43:11,496 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-418/.semver/PR-418 with force:False [2024-10-14T07:43:11.749Z] 2024-10-14 07:43:11,497 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-418/.semver/PR-418 [2024-10-14T07:43:11.749Z] 2024-10-14 07:43:11,500 [execute] INFO git cat-file --batch-check [2024-10-14T07:43:11.749Z] 2024-10-14 07:43:11,501 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-418/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T07:43:11.749Z] 2024-10-14 07:43:11,506 [execute] INFO git cat-file --batch [2024-10-14T07:43:11.749Z] 2024-10-14 07:43:11,506 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-418/.semver, universal_newlines=False, shell=None, istream=) [2024-10-14T07:43:11.749Z] 2024-10-14 07:43:11,511 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-418/.semver/PR-418 [2024-10-14T07:43:11.749Z] 0.0.0 [Pipeline] } [2024-10-14T07:43:11.774Z] $ docker exec --env ******** --env ******** c7003cba8749f6288aec720ae5f1590831ea6bca171d34b9cb58d84b1affd341 ssh-agent -k [2024-10-14T07:43:11.872Z] unset SSH_AUTH_SOCK; [2024-10-14T07:43:11.872Z] unset SSH_AGENT_PID; [2024-10-14T07:43:11.872Z] echo Agent pid 80 killed; [2024-10-14T07:43:11.882Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-10-14T07:43:12.338Z] + git semver [Pipeline] } [2024-10-14T07:43:12.935Z] $ docker stop --time=1 c7003cba8749f6288aec720ae5f1590831ea6bca171d34b9cb58d84b1affd341 [2024-10-14T07:43:14.190Z] $ docker rm -f --volumes c7003cba8749f6288aec720ae5f1590831ea6bca171d34b9cb58d84b1affd341 [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:43:14.616Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-10-14T07:43:14.924Z] Stashed 1 file(s) [Pipeline] echo [2024-10-14T07:43:14.953Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T07:43:15.699Z] provisioning config files... [2024-10-14T07:43:15.709Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-418@tmp/config5428483901501664874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:43:16.085Z] ---> ****-login.sh [2024-10-14T07:43:16.085Z] nexus3.edgexfoundry.org:10001 [2024-10-14T07:43:16.085Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:43:16.085Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:43:16.085Z] Configure a credential helper to remove this warning. See [2024-10-14T07:43:16.085Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:43:16.085Z] [2024-10-14T07:43:16.085Z] Login Succeeded [2024-10-14T07:43:16.085Z] nexus3.edgexfoundry.org:10002 [2024-10-14T07:43:16.086Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:43:16.086Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:43:16.086Z] Configure a credential helper to remove this warning. See [2024-10-14T07:43:16.086Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:43:16.086Z] [2024-10-14T07:43:16.086Z] Login Succeeded [2024-10-14T07:43:16.086Z] nexus3.edgexfoundry.org:10003 [2024-10-14T07:43:16.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:43:16.346Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:43:16.346Z] Configure a credential helper to remove this warning. See [2024-10-14T07:43:16.346Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:43:16.346Z] [2024-10-14T07:43:16.346Z] Login Succeeded [2024-10-14T07:43:16.346Z] nexus3.edgexfoundry.org:10004 [2024-10-14T07:43:16.346Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:43:16.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:43:16.347Z] Configure a credential helper to remove this warning. See [2024-10-14T07:43:16.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:43:16.347Z] [2024-10-14T07:43:16.347Z] Login Succeeded [2024-10-14T07:43:16.347Z] ****.io [2024-10-14T07:43:16.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:43:16.608Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:43:16.608Z] Configure a credential helper to remove this warning. See [2024-10-14T07:43:16.608Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:43:16.608Z] [2024-10-14T07:43:16.608Z] Login Succeeded [2024-10-14T07:43:16.608Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T07:43:16.641Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T07:43:16.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:43:16.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:43:16.990Z] ========================================================= [2024-10-14T07:43:16.990Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-10-14T07:43:16.990Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:43:17.511Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-14T07:43:17.511Z] Sending build context to Docker daemon 16.62MB [2024-10-14T07:43:17.511Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:43:17.511Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-14T07:43:17.511Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-10-14T07:43:17.511Z] 43c4264eed91: Pulling fs layer [2024-10-14T07:43:17.511Z] 4cc291be95ef: Pulling fs layer [2024-10-14T07:43:17.511Z] 2ac1f1163629: Pulling fs layer [2024-10-14T07:43:17.511Z] 5c3c966382ef: Pulling fs layer [2024-10-14T07:43:17.511Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T07:43:17.511Z] 5d5c8e513c77: Pulling fs layer [2024-10-14T07:43:17.511Z] 9f66e0745190: Pulling fs layer [2024-10-14T07:43:17.511Z] f49a43e4bbc0: Pulling fs layer [2024-10-14T07:43:17.511Z] 561ebcabdf7f: Pulling fs layer [2024-10-14T07:43:17.511Z] 9f66e0745190: Waiting [2024-10-14T07:43:17.511Z] 5c3c966382ef: Waiting [2024-10-14T07:43:17.511Z] 4f4fb700ef54: Waiting [2024-10-14T07:43:17.511Z] 561ebcabdf7f: Waiting [2024-10-14T07:43:17.511Z] f49a43e4bbc0: Waiting [2024-10-14T07:43:17.511Z] 4cc291be95ef: Verifying Checksum [2024-10-14T07:43:17.511Z] 4cc291be95ef: Download complete [2024-10-14T07:43:17.771Z] 5c3c966382ef: Verifying Checksum [2024-10-14T07:43:17.771Z] 5c3c966382ef: Download complete [2024-10-14T07:43:17.771Z] 4f4fb700ef54: Verifying Checksum [2024-10-14T07:43:17.771Z] 4f4fb700ef54: Download complete [2024-10-14T07:43:17.771Z] 5d5c8e513c77: Download complete [2024-10-14T07:43:17.771Z] 9f66e0745190: Verifying Checksum [2024-10-14T07:43:17.771Z] 9f66e0745190: Download complete [2024-10-14T07:43:17.771Z] 43c4264eed91: Pull complete [2024-10-14T07:43:18.028Z] 561ebcabdf7f: Download complete [2024-10-14T07:43:18.028Z] 4cc291be95ef: Pull complete [2024-10-14T07:43:18.286Z] 2ac1f1163629: Verifying Checksum [2024-10-14T07:43:18.286Z] 2ac1f1163629: Download complete [2024-10-14T07:43:18.545Z] f49a43e4bbc0: Verifying Checksum [2024-10-14T07:43:18.545Z] f49a43e4bbc0: Download complete [2024-10-14T07:43:21.958Z] 2ac1f1163629: Pull complete [2024-10-14T07:43:21.958Z] 5c3c966382ef: Pull complete [2024-10-14T07:43:21.958Z] 4f4fb700ef54: Pull complete [2024-10-14T07:43:21.958Z] 5d5c8e513c77: Pull complete [2024-10-14T07:43:22.217Z] 9f66e0745190: Pull complete [2024-10-14T07:43:24.751Z] f49a43e4bbc0: Pull complete [2024-10-14T07:43:25.010Z] 561ebcabdf7f: Pull complete [2024-10-14T07:43:25.010Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-10-14T07:43:25.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-10-14T07:43:25.010Z] ---> 3a752c3f9dda [2024-10-14T07:43:25.010Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:43:30.478Z] Still waiting to schedule task [2024-10-14T07:43:30.479Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-22690’ [2024-10-14T07:43:31.597Z] ---> Running in 5c4bca71bee7 [2024-10-14T07:43:31.598Z] Removing intermediate container 5c4bca71bee7 [2024-10-14T07:43:31.598Z] ---> 7fd2a1d7fa51 [2024-10-14T07:43:31.598Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:43:31.598Z] ---> Running in 7a58171d21f5 [2024-10-14T07:43:31.598Z] Removing intermediate container 7a58171d21f5 [2024-10-14T07:43:31.598Z] ---> 8b67f47af3b0 [2024-10-14T07:43:31.598Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T07:43:31.598Z] ---> Running in dca098fa954b [2024-10-14T07:43:31.598Z] Removing intermediate container dca098fa954b [2024-10-14T07:43:31.598Z] ---> a224217a199b [2024-10-14T07:43:31.598Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T07:43:31.598Z] ---> Running in c8c75939bd95 [2024-10-14T07:43:31.598Z] Removing intermediate container c8c75939bd95 [2024-10-14T07:43:31.598Z] ---> 7a1100e1a834 [2024-10-14T07:43:31.598Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:43:31.598Z] ---> Running in 02855923363a [2024-10-14T07:43:31.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:43:31.598Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:43:31.857Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T07:43:31.857Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-14T07:43:31.857Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T07:43:31.857Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T07:43:31.857Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:43:31.857Z] OK: 250 MiB in 58 packages [2024-10-14T07:43:32.427Z] Removing intermediate container 02855923363a [2024-10-14T07:43:32.427Z] ---> b8e0ecc6d285 [2024-10-14T07:43:32.427Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-14T07:43:32.427Z] ---> Running in e1c2861c1323 [2024-10-14T07:43:32.427Z] Removing intermediate container e1c2861c1323 [2024-10-14T07:43:32.427Z] ---> 581e5919b841 [2024-10-14T07:43:32.427Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-14T07:43:32.687Z] ---> 129038fa40f2 [2024-10-14T07:43:32.687Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:43:32.687Z] ---> Running in 14e7d1dd03ab [2024-10-14T07:44:28.938Z] Removing intermediate container 14e7d1dd03ab [2024-10-14T07:44:28.938Z] ---> dbe96aa5c2dc [2024-10-14T07:44:28.938Z] Step 11/12 : COPY . . [2024-10-14T07:44:28.938Z] ---> ccfa7617aebc [2024-10-14T07:44:28.938Z] Step 12/12 : RUN $MAKE [2024-10-14T07:44:28.938Z] ---> Running in 7afa01667c34 [2024-10-14T07:44:28.938Z] noop [2024-10-14T07:44:28.938Z] Removing intermediate container 7afa01667c34 [2024-10-14T07:44:28.938Z] ---> ba9b203c7823 [2024-10-14T07:44:28.938Z] Successfully built ba9b203c7823 [2024-10-14T07:44:28.938Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:44:29.417Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T07:44:29.417Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:44:29.586Z] prd-ubuntu20.04-docker-8c-8g-22692 does not seem to be running inside a container [2024-10-14T07:44:29.696Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-418 -v /w/workspace/gexfoundry_device-rest-go_PR-418:/w/workspace/gexfoundry_device-rest-go_PR-418:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-418@tmp:/w/workspace/gexfoundry_device-rest-go_PR-418@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 ******** ci-base-image-x86_64 cat [2024-10-14T07:44:30.003Z] $ docker top 203b3485669a1f52349a543d17c8bbaa53a3b44318d866b558a00c4859773ac3 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:44:30.418Z] + go version [2024-10-14T07:44:30.418Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-10-14T07:44:30.453Z] $ docker stop --time=1 203b3485669a1f52349a543d17c8bbaa53a3b44318d866b558a00c4859773ac3 [2024-10-14T07:44:31.685Z] $ docker rm -f --volumes 203b3485669a1f52349a543d17c8bbaa53a3b44318d866b558a00c4859773ac3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:44:32.470Z] + docker inspect -f . ci-base-image-x86_64 [2024-10-14T07:44:32.470Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:44:32.640Z] prd-ubuntu20.04-docker-8c-8g-22692 does not seem to be running inside a container [2024-10-14T07:44:32.672Z] $ 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-rest-go_PR-418 -v /w/workspace/gexfoundry_device-rest-go_PR-418:/w/workspace/gexfoundry_device-rest-go_PR-418:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-418@tmp:/w/workspace/gexfoundry_device-rest-go_PR-418@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 ******** ci-base-image-x86_64 cat [2024-10-14T07:44:32.995Z] $ docker top 4606096a10b9f9947c650bae7c4291d61fd635ab4bd6818abd5bbed9f8e5e66b -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:44:33.420Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-418 [Pipeline] fileExists [Pipeline] sh [2024-10-14T07:44:33.797Z] + make test [2024-10-14T07:44:33.797Z] go test ./... -coverprofile=coverage.out ./... [2024-10-14T07:44:35.701Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-14T07:44:53.774Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-14T07:44:53.774Z] ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements [2024-10-14T07:45:01.879Z] go vet ./... [2024-10-14T07:45:07.147Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T07:45:07.147Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T07:45:07.147Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T07:45:07.189Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T07:45:07.228Z] $ docker stop --time=1 4606096a10b9f9947c650bae7c4291d61fd635ab4bd6818abd5bbed9f8e5e66b [2024-10-14T07:45:12.742Z] $ docker rm -f --volumes 4606096a10b9f9947c650bae7c4291d61fd635ab4bd6818abd5bbed9f8e5e66b [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:45:13.387Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T07:45:13.462Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-10-14T07:45:14.208Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T07:45:14.533Z] + ls -al . [2024-10-14T07:45:14.533Z] total 256 [2024-10-14T07:45:14.533Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 14 07:44 . [2024-10-14T07:45:14.533Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:42 .. [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 07:42 .dockerignore [2024-10-14T07:45:14.533Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:44 .git [2024-10-14T07:45:14.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:42 .github [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 14 07:42 .gitignore [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 07:42 .golangci.yml [2024-10-14T07:45:14.533Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 07:43 .semver [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 14 07:42 Attribution.txt [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 14 07:42 CHANGELOG.md [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 1692 Oct 14 07:42 Dockerfile [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 07:42 GOVERNANCE.md [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 07:42 Jenkinsfile [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 07:42 LICENSE [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 14 07:42 Makefile [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 07:42 OWNERS.md [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 14 07:42 README.md [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 07:43 VERSION [2024-10-14T07:45:14.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:42 bin [2024-10-14T07:45:14.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:42 cmd [2024-10-14T07:45:14.533Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 14 07:44 coverage.out [2024-10-14T07:45:14.533Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:42 driver [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 14 07:42 go.mod [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 14 07:42 go.sum [2024-10-14T07:45:14.533Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:42 openapi [2024-10-14T07:45:14.533Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 07:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:45:14.954Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f --label arch=amd64 --label version=0.0.0 . [2024-10-14T07:45:14.954Z] Sending build context to Docker daemon 16.63MB [2024-10-14T07:45:14.954Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:45:14.954Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-14T07:45:14.954Z] ---> ba9b203c7823 [2024-10-14T07:45:14.954Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:45:15.212Z] ---> Running in 810ced3ae40d [2024-10-14T07:45:15.212Z] Removing intermediate container 810ced3ae40d [2024-10-14T07:45:15.212Z] ---> 01189a0e795a [2024-10-14T07:45:15.212Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:45:15.212Z] ---> Running in cb4f7b4265bf [2024-10-14T07:45:15.473Z] Removing intermediate container cb4f7b4265bf [2024-10-14T07:45:15.473Z] ---> 23e8017dec05 [2024-10-14T07:45:15.473Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T07:45:15.473Z] ---> Running in 8701437924ff [2024-10-14T07:45:15.473Z] Removing intermediate container 8701437924ff [2024-10-14T07:45:15.473Z] ---> 542b447439bc [2024-10-14T07:45:15.473Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T07:45:15.473Z] ---> Running in 93a91f81ec8c [2024-10-14T07:45:15.473Z] Removing intermediate container 93a91f81ec8c [2024-10-14T07:45:15.473Z] ---> 343fd8375566 [2024-10-14T07:45:15.473Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:45:15.473Z] ---> Running in c0cb9d3c0abc [2024-10-14T07:45:15.734Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:45:15.993Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:45:16.251Z] OK: 250 MiB in 58 packages [2024-10-14T07:45:16.510Z] Removing intermediate container c0cb9d3c0abc [2024-10-14T07:45:16.510Z] ---> 9ed5be27bd64 [2024-10-14T07:45:16.510Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-14T07:45:16.510Z] ---> Running in 8d7a346d12bf [2024-10-14T07:45:16.770Z] Removing intermediate container 8d7a346d12bf [2024-10-14T07:45:16.770Z] ---> f1a8e06c46ae [2024-10-14T07:45:16.770Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-14T07:45:16.770Z] ---> 96089edfb66a [2024-10-14T07:45:16.770Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:45:16.770Z] ---> Running in e434184e1922 [2024-10-14T07:45:17.729Z] Removing intermediate container e434184e1922 [2024-10-14T07:45:17.729Z] ---> ade47db6cd96 [2024-10-14T07:45:17.729Z] Step 11/26 : COPY . . [2024-10-14T07:45:17.986Z] ---> 0eb21b51d173 [2024-10-14T07:45:17.986Z] Step 12/26 : RUN $MAKE [2024-10-14T07:45:17.986Z] ---> Running in c25678f7fe2f [2024-10-14T07:45:18.243Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [2024-10-14T07:45:50.425Z] Removing intermediate container c25678f7fe2f [2024-10-14T07:45:50.425Z] ---> 2dfdabcfc515 [2024-10-14T07:45:50.425Z] Step 13/26 : FROM alpine:3.20 [2024-10-14T07:45:50.425Z] 3.20: Pulling from library/alpine [2024-10-14T07:45:50.425Z] 43c4264eed91: Already exists [2024-10-14T07:45:50.425Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T07:45:50.425Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T07:45:50.425Z] ---> 91ef0af61f39 [2024-10-14T07:45:50.425Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-14T07:45:50.425Z] ---> Running in b191b5c2fdeb [2024-10-14T07:45:50.425Z] Removing intermediate container b191b5c2fdeb [2024-10-14T07:45:50.425Z] ---> bbd9954fb013 [2024-10-14T07:45:50.425Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-14T07:45:50.425Z] ---> Running in 6802b1937507 [2024-10-14T07:45:50.425Z] Removing intermediate container 6802b1937507 [2024-10-14T07:45:50.425Z] ---> f3ac2c48ae39 [2024-10-14T07:45:50.425Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-14T07:45:50.425Z] ---> Running in bb05e11a1342 [2024-10-14T07:45:50.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:45:50.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:45:50.942Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T07:45:50.942Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:45:50.942Z] OK: 8 MiB in 15 packages [2024-10-14T07:45:51.205Z] Removing intermediate container bb05e11a1342 [2024-10-14T07:45:51.205Z] ---> d2b0f0a87fa1 [2024-10-14T07:45:51.205Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-14T07:45:51.205Z] ---> Running in 74520d0d19d4 [2024-10-14T07:45:51.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:45:51.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:45:52.032Z] Upgrading critical system libraries and apk-tools: [2024-10-14T07:45:52.032Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T07:45:52.032Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:45:52.032Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T07:45:52.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-10-14T07:45:52.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-10-14T07:45:52.291Z] OK: 8 MiB in 15 packages [2024-10-14T07:45:52.549Z] Removing intermediate container 74520d0d19d4 [2024-10-14T07:45:52.549Z] ---> 7555aeed5e34 [2024-10-14T07:45:52.549Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-14T07:45:53.923Z] ---> 9d05479a5d35 [2024-10-14T07:45:53.923Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-14T07:45:53.923Z] ---> 29fdead95d36 [2024-10-14T07:45:53.923Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-14T07:45:54.181Z] ---> dac093e1b195 [2024-10-14T07:45:54.181Z] Step 21/26 : EXPOSE 59986 [2024-10-14T07:45:54.181Z] ---> Running in 3425dca2feeb [2024-10-14T07:45:54.181Z] Removing intermediate container 3425dca2feeb [2024-10-14T07:45:54.181Z] ---> a28e5539d5d5 [2024-10-14T07:45:54.181Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-14T07:45:54.181Z] ---> Running in 2809b599a694 [2024-10-14T07:45:54.181Z] Removing intermediate container 2809b599a694 [2024-10-14T07:45:54.181Z] ---> 4a3f162d1b30 [2024-10-14T07:45:54.181Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-14T07:45:54.181Z] ---> Running in 9ca12d949d28 [2024-10-14T07:45:54.441Z] Removing intermediate container 9ca12d949d28 [2024-10-14T07:45:54.441Z] ---> daf17d182164 [2024-10-14T07:45:54.441Z] Step 24/26 : LABEL arch=amd64 [2024-10-14T07:45:54.441Z] ---> Running in 54c95bea72af [2024-10-14T07:45:54.441Z] Removing intermediate container 54c95bea72af [2024-10-14T07:45:54.441Z] ---> 2092364e189b [2024-10-14T07:45:54.441Z] Step 25/26 : LABEL git_sha=be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f [2024-10-14T07:45:54.441Z] ---> Running in e1748913cf46 [2024-10-14T07:45:54.441Z] Removing intermediate container e1748913cf46 [2024-10-14T07:45:54.441Z] ---> 8e657092d4e3 [2024-10-14T07:45:54.441Z] Step 26/26 : LABEL version=0.0.0 [2024-10-14T07:45:54.441Z] ---> Running in 289f3b921e25 [2024-10-14T07:45:54.704Z] Removing intermediate container 289f3b921e25 [2024-10-14T07:45:54.704Z] ---> 620d7aae891c [2024-10-14T07:45:54.704Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T07:45:54.704Z] Successfully built 620d7aae891c [2024-10-14T07:45:54.704Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:45:55.708Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:45:55.708Z] [2024-10-14T07:45:55.708Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:45:56.108Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:45:56.109Z] latest: Pulling from edgex-lftools-log-publisher [2024-10-14T07:45:56.109Z] 5eb5b503b376: Pulling fs layer [2024-10-14T07:45:56.109Z] 5c69ac0246d0: Pulling fs layer [2024-10-14T07:45:56.109Z] ec43610c2a17: Pulling fs layer [2024-10-14T07:45:56.109Z] 3a2ae6a8a46f: Pulling fs layer [2024-10-14T07:45:56.109Z] 33b1e0a273af: Pulling fs layer [2024-10-14T07:45:56.109Z] 5d3b04190fa2: Pulling fs layer [2024-10-14T07:45:56.109Z] 2f39f015ded8: Pulling fs layer [2024-10-14T07:45:56.109Z] 3a2ae6a8a46f: Waiting [2024-10-14T07:45:56.109Z] 33b1e0a273af: Waiting [2024-10-14T07:45:56.109Z] 5d3b04190fa2: Waiting [2024-10-14T07:45:56.109Z] 5c69ac0246d0: Verifying Checksum [2024-10-14T07:45:56.109Z] 5c69ac0246d0: Download complete [2024-10-14T07:45:56.109Z] 3a2ae6a8a46f: Download complete [2024-10-14T07:45:56.109Z] 33b1e0a273af: Download complete [2024-10-14T07:45:56.109Z] 5d3b04190fa2: Download complete [2024-10-14T07:45:56.109Z] ec43610c2a17: Verifying Checksum [2024-10-14T07:45:56.109Z] ec43610c2a17: Download complete [2024-10-14T07:45:56.374Z] 5eb5b503b376: Verifying Checksum [2024-10-14T07:45:56.374Z] 5eb5b503b376: Download complete [2024-10-14T07:45:56.938Z] 2f39f015ded8: Download complete [2024-10-14T07:45:57.502Z] 5eb5b503b376: Pull complete [2024-10-14T07:45:57.502Z] 5c69ac0246d0: Pull complete [2024-10-14T07:45:57.760Z] ec43610c2a17: Pull complete [2024-10-14T07:45:58.017Z] 3a2ae6a8a46f: Pull complete [2024-10-14T07:45:58.017Z] 33b1e0a273af: Pull complete [2024-10-14T07:45:58.275Z] 5d3b04190fa2: Pull complete [2024-10-14T07:46:01.754Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-22695 in /w/workspace/gexfoundry_device-rest-go_PR-418 [Pipeline] { [Pipeline] ws [2024-10-14T07:46:01.825Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2024-10-14T07:46:01.991Z] The recommended git tool is: git [2024-10-14T07:46:02.472Z] 2f39f015ded8: Pull complete [2024-10-14T07:46:02.472Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-10-14T07:46:02.472Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T07:46:02.472Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:46:02.744Z] prd-ubuntu20.04-docker-8c-8g-22692 does not seem to be running inside a container [2024-10-14T07:46:02.772Z] $ 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-rest-go_PR-418 -v /w/workspace/gexfoundry_device-rest-go_PR-418:/w/workspace/gexfoundry_device-rest-go_PR-418:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-418@tmp:/w/workspace/gexfoundry_device-rest-go_PR-418@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T07:46:07.548Z] using credential edgex-jenkins-ssh [2024-10-14T07:46:07.575Z] Cloning the remote Git repository [2024-10-14T07:46:07.619Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-10-14T07:46:07.715Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2024-10-14T07:46:07.860Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-14T07:46:07.861Z] > git --version # timeout=10 [2024-10-14T07:46:07.887Z] > git --version # 'git version 2.25.1' [2024-10-14T07:46:07.890Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:46:08.032Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T07:46:08.995Z] $ docker top 039883ab636c8d621190719b7259658009c3f84bbf8ce7e9c8db35c4737c6be8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:46:09.460Z] ---> job-cost.sh [2024-10-14T07:46:09.460Z] lf-activate-venv: SKIPPING [2024-10-14T07:46:09.460Z] INFO: No Stack... [2024-10-14T07:46:09.719Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T07:46:09.976Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T07:46:10.293Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-418/archives/cost.csv [2024-10-14T07:46:10.293Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T07:46:10.345Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-418-1-stack-cost] [2024-10-14T07:46:10.351Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-418-1-stack-cost] did not exist. Created. [2024-10-14T07:46:10.358Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-418-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T07:46:10.771Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-10-14T07:46:10.831Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T07:46:10.869Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-418-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T07:46:10.967Z] $ docker stop --time=1 039883ab636c8d621190719b7259658009c3f84bbf8ce7e9c8db35c4737c6be8 [2024-10-14T07:46:12.110Z] $ docker rm -f --volumes 039883ab636c8d621190719b7259658009c3f84bbf8ce7e9c8db35c4737c6be8 [Pipeline] // withDockerContainer [Pipeline] } [2024-10-14T07:46:10.964Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-14T07:46:11.004Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-10-14T07:46:11.993Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-10-14T07:46:12.047Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-10-14T07:46:12.049Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:46:12.075Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/418/head:refs/remotes/origin/PR-418 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-10-14T07:46:12.629Z] Merging remotes/origin/main commit 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 into PR head commit be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f [2024-10-14T07:46:12.928Z] Merge succeeded, producing be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f [2024-10-14T07:46:12.929Z] Checking out Revision be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f (PR-418) [2024-10-14T07:46:12.645Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T07:46:12.728Z] > git checkout -f be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f # timeout=10 [2024-10-14T07:46:12.816Z] > git remote # timeout=10 [2024-10-14T07:46:12.835Z] > git config --get remote.origin.url # timeout=10 [2024-10-14T07:46:12.858Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-10-14T07:46:12.878Z] > git merge 107c131f2d4d00842a0c6d2364e97dcb8ff9e476 # timeout=10 [2024-10-14T07:46:12.906Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-10-14T07:46:12.933Z] > git config core.sparsecheckout # timeout=10 [2024-10-14T07:46:12.948Z] > git checkout -f be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f # timeout=10 [2024-10-14T07:46:16.578Z] Commit message: "feat: Enable PIE support for ASLR and full RELRO" [2024-10-14T07:46:16.643Z] > git --version # timeout=10 [2024-10-14T07:46:16.656Z] > git --version # 'git version 2.25.1' [2024-10-14T07:46:16.679Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:46:18.803Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-10-14T07:46:18.803Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T07:46:18.803Z] Dload Upload Total Spent Left Speed [2024-10-14T07:46:18.803Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 212k 0 --:--:-- --:--:-- --:--:-- 215k [Pipeline] sh [2024-10-14T07:46:19.177Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-10-14T07:46:19.539Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2024-10-14T07:46:19.539Z] /etc/docker/daemon.json [2024-10-14T07:46:19.539Z] { [2024-10-14T07:46:19.539Z] "registry-mirrors": [ [2024-10-14T07:46:19.539Z] "https://nexus3.edgexfoundry.org:10001" [2024-10-14T07:46:19.539Z] ], [2024-10-14T07:46:19.539Z] "bip": "10.250.0.254/24", [2024-10-14T07:46:19.539Z] "hosts": [ [2024-10-14T07:46:19.539Z] "tcp://0.0.0.0:5555", [2024-10-14T07:46:19.539Z] "unix:///var/run/docker.sock" [2024-10-14T07:46:19.539Z] ], [2024-10-14T07:46:19.539Z] "mtu": 1458, [2024-10-14T07:46:19.539Z] "selinux-enabled": true, [2024-10-14T07:46:19.539Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-10-14T07:46:19.539Z] } [Pipeline] sh [2024-10-14T07:46:19.905Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-10-14T07:46:20.285Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T07:46:38.696Z] provisioning config files... [2024-10-14T07:46:38.730Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config7967705541342525964tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T07:46:39.256Z] ---> ****-login.sh [2024-10-14T07:46:39.256Z] nexus3.edgexfoundry.org:10001 [2024-10-14T07:46:39.855Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:39.855Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:39.855Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:39.855Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:39.855Z] [2024-10-14T07:46:39.855Z] Login Succeeded [2024-10-14T07:46:39.855Z] nexus3.edgexfoundry.org:10002 [2024-10-14T07:46:40.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:40.398Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:40.398Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:40.398Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:40.398Z] [2024-10-14T07:46:40.398Z] Login Succeeded [2024-10-14T07:46:40.398Z] nexus3.edgexfoundry.org:10003 [2024-10-14T07:46:40.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:40.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:40.672Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:40.672Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:40.672Z] [2024-10-14T07:46:40.672Z] Login Succeeded [2024-10-14T07:46:40.672Z] nexus3.edgexfoundry.org:10004 [2024-10-14T07:46:40.943Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:41.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:41.214Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:41.214Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:41.214Z] [2024-10-14T07:46:41.214Z] Login Succeeded [2024-10-14T07:46:41.214Z] ****.io [2024-10-14T07:46:41.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-10-14T07:46:41.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-10-14T07:46:41.487Z] Configure a credential helper to remove this warning. See [2024-10-14T07:46:41.487Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-10-14T07:46:41.487Z] [2024-10-14T07:46:41.487Z] Login Succeeded [2024-10-14T07:46:41.761Z] ---> ****-login.sh ends [Pipeline] } [2024-10-14T07:46:41.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-10-14T07:46:42.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:46:42.346Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-10-14T07:46:42.403Z] ========================================================= [2024-10-14T07:46:42.403Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-10-14T07:46:42.403Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:46:42.963Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-10-14T07:46:42.963Z] Sending build context to Docker daemon 140.8kB [2024-10-14T07:46:43.241Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:46:43.241Z] Step 2/12 : FROM ${BASE} AS builder [2024-10-14T07:46:43.515Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-10-14T07:46:43.515Z] cf04c63912e1: Pulling fs layer [2024-10-14T07:46:43.515Z] 55b35a11ae5e: Pulling fs layer [2024-10-14T07:46:43.515Z] a37a00ec5f00: Pulling fs layer [2024-10-14T07:46:43.515Z] 50b3750afda1: Pulling fs layer [2024-10-14T07:46:43.515Z] 4f4fb700ef54: Pulling fs layer [2024-10-14T07:46:43.515Z] 80978eb59214: Pulling fs layer [2024-10-14T07:46:43.515Z] c9f46d7d2bd2: Pulling fs layer [2024-10-14T07:46:43.515Z] c5a475d317c9: Pulling fs layer [2024-10-14T07:46:43.515Z] 50b3750afda1: Waiting [2024-10-14T07:46:43.515Z] 4f4fb700ef54: Waiting [2024-10-14T07:46:43.515Z] 80978eb59214: Waiting [2024-10-14T07:46:43.515Z] c9f46d7d2bd2: Waiting [2024-10-14T07:46:43.515Z] c5a475d317c9: Waiting [2024-10-14T07:46:43.515Z] 55b35a11ae5e: Verifying Checksum [2024-10-14T07:46:43.515Z] 55b35a11ae5e: Download complete [2024-10-14T07:46:43.515Z] 50b3750afda1: Verifying Checksum [2024-10-14T07:46:43.515Z] 50b3750afda1: Download complete [2024-10-14T07:46:43.515Z] 4f4fb700ef54: Verifying Checksum [2024-10-14T07:46:43.515Z] 4f4fb700ef54: Download complete [2024-10-14T07:46:43.515Z] 80978eb59214: Verifying Checksum [2024-10-14T07:46:43.515Z] 80978eb59214: Download complete [2024-10-14T07:46:43.515Z] cf04c63912e1: Verifying Checksum [2024-10-14T07:46:43.515Z] cf04c63912e1: Download complete [2024-10-14T07:46:44.126Z] c5a475d317c9: Verifying Checksum [2024-10-14T07:46:44.126Z] c5a475d317c9: Download complete [2024-10-14T07:46:44.398Z] cf04c63912e1: Pull complete [2024-10-14T07:46:45.372Z] 55b35a11ae5e: Pull complete [2024-10-14T07:46:45.642Z] a37a00ec5f00: Verifying Checksum [2024-10-14T07:46:45.642Z] a37a00ec5f00: Download complete [2024-10-14T07:46:46.615Z] c9f46d7d2bd2: Verifying Checksum [2024-10-14T07:46:46.615Z] c9f46d7d2bd2: Download complete [2024-10-14T07:47:01.623Z] a37a00ec5f00: Pull complete [2024-10-14T07:47:01.623Z] 50b3750afda1: Pull complete [2024-10-14T07:47:01.623Z] 4f4fb700ef54: Pull complete [2024-10-14T07:47:01.623Z] 80978eb59214: Pull complete [2024-10-14T07:47:08.321Z] c9f46d7d2bd2: Pull complete [2024-10-14T07:47:10.916Z] c5a475d317c9: Pull complete [2024-10-14T07:47:10.916Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-10-14T07:47:10.916Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-10-14T07:47:10.916Z] ---> be29e6b0f0d4 [2024-10-14T07:47:10.916Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:47:11.502Z] ---> Running in 65db8bc99ef5 [2024-10-14T07:47:11.771Z] Removing intermediate container 65db8bc99ef5 [2024-10-14T07:47:11.771Z] ---> 0c8f7f073301 [2024-10-14T07:47:11.772Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:47:11.772Z] ---> Running in 93d17fd16479 [2024-10-14T07:47:12.366Z] Removing intermediate container 93d17fd16479 [2024-10-14T07:47:12.366Z] ---> 2025b71a2f12 [2024-10-14T07:47:12.366Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T07:47:12.366Z] ---> Running in e8cf26cc5a5d [2024-10-14T07:47:12.641Z] Removing intermediate container e8cf26cc5a5d [2024-10-14T07:47:12.641Z] ---> 6107e92ac902 [2024-10-14T07:47:12.641Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T07:47:12.916Z] ---> Running in 278a49e21e68 [2024-10-14T07:47:13.207Z] Removing intermediate container 278a49e21e68 [2024-10-14T07:47:13.207Z] ---> 31b0bde0faca [2024-10-14T07:47:13.207Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:47:13.207Z] ---> Running in 7cbb76ab2106 [2024-10-14T07:47:14.674Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:47:14.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:47:16.923Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-10-14T07:47:16.923Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-10-14T07:47:16.923Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-10-14T07:47:16.923Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-10-14T07:47:16.923Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:47:16.924Z] OK: 242 MiB in 58 packages [2024-10-14T07:47:18.352Z] Removing intermediate container 7cbb76ab2106 [2024-10-14T07:47:18.352Z] ---> f39fbca7593e [2024-10-14T07:47:18.352Z] Step 8/12 : WORKDIR /device-rest-go [2024-10-14T07:47:18.352Z] ---> Running in bf517059f85b [2024-10-14T07:47:18.622Z] Removing intermediate container bf517059f85b [2024-10-14T07:47:18.622Z] ---> 378c7b7cd1b5 [2024-10-14T07:47:18.622Z] Step 9/12 : COPY go.mod vendor* ./ [2024-10-14T07:47:19.210Z] ---> 6ed9b2b1c0fe [2024-10-14T07:47:19.210Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:47:19.483Z] ---> Running in ae4fbbc02d34 [2024-10-14T07:49:26.242Z] Removing intermediate container ae4fbbc02d34 [2024-10-14T07:49:26.242Z] ---> 8a59098ea57f [2024-10-14T07:49:26.242Z] Step 11/12 : COPY . . [2024-10-14T07:49:26.242Z] ---> 767d171c4ccb [2024-10-14T07:49:26.242Z] Step 12/12 : RUN $MAKE [2024-10-14T07:49:26.242Z] ---> Running in 38cfd806ba7c [2024-10-14T07:49:26.242Z] noop [2024-10-14T07:49:26.242Z] Removing intermediate container 38cfd806ba7c [2024-10-14T07:49:26.242Z] ---> 347f9d8b09d4 [2024-10-14T07:49:26.242Z] Successfully built 347f9d8b09d4 [2024-10-14T07:49:26.242Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:49:26.781Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T07:49:26.781Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:49:27.108Z] prd-ubuntu20.04-docker-arm64-4c-16g-22695 does not seem to be running inside a container [2024-10-14T07:49:27.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T07:49:28.587Z] $ docker top be425d18d010f0880cee5c2ab68018abe2cd48d04fce4031966f8cf4d4f5af62 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:49:29.567Z] + go version [2024-10-14T07:49:29.567Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-10-14T07:49:29.608Z] $ docker stop --time=1 be425d18d010f0880cee5c2ab68018abe2cd48d04fce4031966f8cf4d4f5af62 [2024-10-14T07:49:31.365Z] $ docker rm -f --volumes be425d18d010f0880cee5c2ab68018abe2cd48d04fce4031966f8cf4d4f5af62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:49:32.401Z] + docker inspect -f . ci-base-image-arm64 [2024-10-14T07:49:32.401Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T07:49:32.742Z] prd-ubuntu20.04-docker-arm64-4c-16g-22695 does not seem to be running inside a container [2024-10-14T07:49:32.832Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-10-14T07:49:34.431Z] $ docker top db95cb51754238cfb1be573277ec103b2795b0e23100371031e0406dda98265d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T07:49:35.424Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2024-10-14T07:49:36.212Z] + make test [2024-10-14T07:49:36.212Z] go test ./... -coverprofile=coverage.out ./... [2024-10-14T07:49:44.476Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-10-14T07:53:51.354Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-10-14T07:53:53.950Z] ok github.com/edgexfoundry/device-rest-go/driver 0.047s coverage: 33.2% of statements [2024-10-14T07:53:55.377Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-10-14T07:53:55.377Z] go vet ./... [2024-10-14T07:55:03.374Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-10-14T07:55:03.374Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-10-14T07:55:03.374Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-10-14T07:55:03.433Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-10-14T07:55:03.475Z] $ docker stop --time=1 db95cb51754238cfb1be573277ec103b2795b0e23100371031e0406dda98265d [2024-10-14T07:55:05.412Z] $ docker rm -f --volumes db95cb51754238cfb1be573277ec103b2795b0e23100371031e0406dda98265d [Pipeline] // withDockerContainer [Pipeline] sh [2024-10-14T07:55:07.339Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-10-14T07:55:07.391Z] Warning: overwriting stash ‘coverage-report’ [2024-10-14T07:55:07.989Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-10-14T07:55:08.671Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-10-14T07:55:09.026Z] + ls -al . [2024-10-14T07:55:09.027Z] total 252 [2024-10-14T07:55:09.027Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:49 . [2024-10-14T07:55:09.027Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 14 07:46 .. [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 14 07:46 .dockerignore [2024-10-14T07:55:09.027Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 14 07:46 .git [2024-10-14T07:55:09.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:46 .github [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 14 07:46 .gitignore [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 14 07:46 .golangci.yml [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 20138 Oct 14 07:46 Attribution.txt [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 17685 Oct 14 07:46 CHANGELOG.md [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 1692 Oct 14 07:46 Dockerfile [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 14 07:46 GOVERNANCE.md [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 14 07:46 Jenkinsfile [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 14 07:46 LICENSE [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 2553 Oct 14 07:46 Makefile [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 14 07:46 OWNERS.md [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 3989 Oct 14 07:46 README.md [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 14 07:43 VERSION [2024-10-14T07:55:09.027Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:46 bin [2024-10-14T07:55:09.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:46 cmd [2024-10-14T07:55:09.027Z] -rw-r--r-- 1 jenkins jenkins 14565 Oct 14 07:53 coverage.out [2024-10-14T07:55:09.027Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 14 07:46 driver [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 7106 Oct 14 07:46 go.mod [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 100176 Oct 14 07:46 go.sum [2024-10-14T07:55:09.027Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 14 07:46 openapi [2024-10-14T07:55:09.027Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 14 07:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T07:55:09.549Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f --label arch=arm64 --label version=0.0.0 . [2024-10-14T07:55:09.549Z] Sending build context to Docker daemon 156.2kB [2024-10-14T07:55:09.828Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-10-14T07:55:09.828Z] Step 2/26 : FROM ${BASE} AS builder [2024-10-14T07:55:09.828Z] ---> 347f9d8b09d4 [2024-10-14T07:55:09.828Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-10-14T07:55:09.828Z] ---> Running in 289f98257f81 [2024-10-14T07:55:10.423Z] Removing intermediate container 289f98257f81 [2024-10-14T07:55:10.423Z] ---> 97b72d221299 [2024-10-14T07:55:10.423Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-10-14T07:55:10.423Z] ---> Running in 33c71be1cb7c [2024-10-14T07:55:10.694Z] Removing intermediate container 33c71be1cb7c [2024-10-14T07:55:10.695Z] ---> a3c28dddc1fa [2024-10-14T07:55:10.695Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-10-14T07:55:10.695Z] ---> Running in f83d76a88d2c [2024-10-14T07:55:10.968Z] Removing intermediate container f83d76a88d2c [2024-10-14T07:55:10.968Z] ---> c1682192a894 [2024-10-14T07:55:10.968Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-10-14T07:55:11.238Z] ---> Running in 0affe6de1393 [2024-10-14T07:55:11.507Z] Removing intermediate container 0affe6de1393 [2024-10-14T07:55:11.507Z] ---> 5846455c8f55 [2024-10-14T07:55:11.507Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-10-14T07:55:11.507Z] ---> Running in 3f600f7d47b2 [2024-10-14T07:55:12.928Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:55:12.929Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:55:14.875Z] OK: 242 MiB in 58 packages [2024-10-14T07:55:15.837Z] Removing intermediate container 3f600f7d47b2 [2024-10-14T07:55:15.837Z] ---> 22ce1188b23d [2024-10-14T07:55:15.837Z] Step 8/26 : WORKDIR /device-rest-go [2024-10-14T07:55:16.109Z] ---> Running in f23afc6adae3 [2024-10-14T07:55:16.377Z] Removing intermediate container f23afc6adae3 [2024-10-14T07:55:16.377Z] ---> f70eff121d20 [2024-10-14T07:55:16.377Z] Step 9/26 : COPY go.mod vendor* ./ [2024-10-14T07:55:16.965Z] ---> 1c3eea201372 [2024-10-14T07:55:16.965Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-10-14T07:55:16.965Z] ---> Running in ab6d52e1b45f [2024-10-14T07:55:19.551Z] Removing intermediate container ab6d52e1b45f [2024-10-14T07:55:19.551Z] ---> 59f152ec46a0 [2024-10-14T07:55:19.551Z] Step 11/26 : COPY . . [2024-10-14T07:55:20.145Z] ---> b179c85416e1 [2024-10-14T07:55:20.146Z] Step 12/26 : RUN $MAKE [2024-10-14T07:55:20.146Z] ---> Running in d1275486f883 [2024-10-14T07:55:21.570Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.45" -trimpath -mod=readonly -ldflags "-bindnow" -buildmode=pie -o cmd/device-rest ./cmd [2024-10-14T07:59:58.515Z] Removing intermediate container d1275486f883 [2024-10-14T07:59:58.515Z] ---> 48b2e8b0800f [2024-10-14T07:59:58.515Z] Step 13/26 : FROM alpine:3.20 [2024-10-14T07:59:58.515Z] 3.20: Pulling from library/alpine [2024-10-14T07:59:58.515Z] cf04c63912e1: Already exists [2024-10-14T07:59:58.515Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-10-14T07:59:58.515Z] Status: Downloaded newer image for alpine:3.20 [2024-10-14T07:59:58.515Z] ---> c157a85ed455 [2024-10-14T07:59:58.515Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-10-14T07:59:58.515Z] ---> Running in 79df7e38b4aa [2024-10-14T07:59:58.515Z] Removing intermediate container 79df7e38b4aa [2024-10-14T07:59:58.515Z] ---> dc1a8d7aa50e [2024-10-14T07:59:58.515Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-10-14T07:59:58.515Z] ---> Running in bdf91e2a6455 [2024-10-14T07:59:58.515Z] Removing intermediate container bdf91e2a6455 [2024-10-14T07:59:58.515Z] ---> fc4e676e77e9 [2024-10-14T07:59:58.515Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-10-14T07:59:58.515Z] ---> Running in 7f4cddfebed5 [2024-10-14T07:59:58.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:59:58.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:59:58.515Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-10-14T07:59:58.515Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T07:59:58.515Z] OK: 9 MiB in 15 packages [2024-10-14T07:59:58.515Z] Removing intermediate container 7f4cddfebed5 [2024-10-14T07:59:58.515Z] ---> f2fcbbfe9e9f [2024-10-14T07:59:58.515Z] Step 17/26 : RUN apk --no-cache upgrade [2024-10-14T07:59:58.515Z] ---> Running in 6bdba0b6e248 [2024-10-14T07:59:58.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T07:59:58.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T07:59:59.921Z] Upgrading critical system libraries and apk-tools: [2024-10-14T07:59:59.921Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-10-14T07:59:59.921Z] Executing busybox-1.36.1-r29.trigger [2024-10-14T08:00:00.189Z] Continuing the upgrade transaction with new apk-tools: [2024-10-14T08:00:00.189Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-10-14T08:00:00.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-10-14T08:00:02.184Z] OK: 9 MiB in 15 packages [2024-10-14T08:00:03.161Z] Removing intermediate container 6bdba0b6e248 [2024-10-14T08:00:03.161Z] ---> b6eb14fd310a [2024-10-14T08:00:03.161Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-10-14T08:00:05.764Z] ---> a0a8daef9577 [2024-10-14T08:00:05.764Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-10-14T08:00:06.351Z] ---> df36526466fd [2024-10-14T08:00:06.351Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-10-14T08:00:06.943Z] ---> e1c5f587fafd [2024-10-14T08:00:06.943Z] Step 21/26 : EXPOSE 59986 [2024-10-14T08:00:07.215Z] ---> Running in 39d68b6240c8 [2024-10-14T08:00:07.485Z] Removing intermediate container 39d68b6240c8 [2024-10-14T08:00:07.485Z] ---> 0a162706032a [2024-10-14T08:00:07.485Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-10-14T08:00:07.485Z] ---> Running in 6fd83a5be8b0 [2024-10-14T08:00:07.756Z] Removing intermediate container 6fd83a5be8b0 [2024-10-14T08:00:07.756Z] ---> 6a0d14ae6e6b [2024-10-14T08:00:07.756Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-10-14T08:00:08.044Z] ---> Running in f5a58eb724c6 [2024-10-14T08:00:08.315Z] Removing intermediate container f5a58eb724c6 [2024-10-14T08:00:08.315Z] ---> 5c8912043f0e [2024-10-14T08:00:08.315Z] Step 24/26 : LABEL arch=arm64 [2024-10-14T08:00:08.315Z] ---> Running in 8bbd33fbc58c [2024-10-14T08:00:08.912Z] Removing intermediate container 8bbd33fbc58c [2024-10-14T08:00:08.912Z] ---> 25becb457bd5 [2024-10-14T08:00:08.912Z] Step 25/26 : LABEL git_sha=be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f [2024-10-14T08:00:08.912Z] ---> Running in 61ffee1f7169 [2024-10-14T08:00:09.189Z] Removing intermediate container 61ffee1f7169 [2024-10-14T08:00:09.189Z] ---> 5e9582212497 [2024-10-14T08:00:09.189Z] Step 26/26 : LABEL version=0.0.0 [2024-10-14T08:00:09.189Z] ---> Running in 37d81b4a8075 [2024-10-14T08:00:09.461Z] Removing intermediate container 37d81b4a8075 [2024-10-14T08:00:09.461Z] ---> b5a9f36ca1e9 [2024-10-14T08:00:09.461Z] [Warning] One or more build-args [ARCH] were not consumed [2024-10-14T08:00:09.461Z] Successfully built b5a9f36ca1e9 [2024-10-14T08:00:09.735Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T08:00:15.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T08:00:15.706Z] [2024-10-14T08:00:15.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T08:00:18.076Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T08:00:18.346Z] arm64: Pulling from edgex-lftools-log-publisher [2024-10-14T08:00:18.346Z] 8998bd30e6a1: Pulling fs layer [2024-10-14T08:00:18.346Z] 04944245beec: Pulling fs layer [2024-10-14T08:00:18.346Z] 699f458cf7ca: Pulling fs layer [2024-10-14T08:00:18.346Z] 765212b225bb: Pulling fs layer [2024-10-14T08:00:18.346Z] f23df028b6ca: Pulling fs layer [2024-10-14T08:00:18.346Z] d65c8cfc05b1: Pulling fs layer [2024-10-14T08:00:18.347Z] 2437ff75d9bd: Pulling fs layer [2024-10-14T08:00:18.347Z] 765212b225bb: Waiting [2024-10-14T08:00:18.347Z] d65c8cfc05b1: Waiting [2024-10-14T08:00:18.347Z] f23df028b6ca: Waiting [2024-10-14T08:00:18.347Z] 2437ff75d9bd: Waiting [2024-10-14T08:00:18.347Z] 04944245beec: Verifying Checksum [2024-10-14T08:00:18.347Z] 04944245beec: Download complete [2024-10-14T08:00:18.347Z] 765212b225bb: Verifying Checksum [2024-10-14T08:00:18.347Z] 765212b225bb: Download complete [2024-10-14T08:00:18.347Z] f23df028b6ca: Verifying Checksum [2024-10-14T08:00:18.347Z] f23df028b6ca: Download complete [2024-10-14T08:00:18.347Z] d65c8cfc05b1: Verifying Checksum [2024-10-14T08:00:18.347Z] d65c8cfc05b1: Download complete [2024-10-14T08:00:18.623Z] 699f458cf7ca: Verifying Checksum [2024-10-14T08:00:18.623Z] 699f458cf7ca: Download complete [2024-10-14T08:00:19.216Z] 8998bd30e6a1: Verifying Checksum [2024-10-14T08:00:19.216Z] 8998bd30e6a1: Download complete [2024-10-14T08:00:24.732Z] 8998bd30e6a1: Pull complete [2024-10-14T08:00:24.732Z] 04944245beec: Pull complete [2024-10-14T08:00:24.732Z] 2437ff75d9bd: Verifying Checksum [2024-10-14T08:00:24.732Z] 2437ff75d9bd: Download complete [2024-10-14T08:00:27.065Z] 699f458cf7ca: Pull complete [2024-10-14T08:00:27.065Z] 765212b225bb: Pull complete [2024-10-14T08:00:27.661Z] f23df028b6ca: Pull complete [2024-10-14T08:00:27.934Z] d65c8cfc05b1: Pull complete [2024-10-14T08:00:48.409Z] 2437ff75d9bd: Pull complete [2024-10-14T08:00:48.409Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-10-14T08:00:48.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-10-14T08:00:48.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T08:00:48.835Z] prd-ubuntu20.04-docker-arm64-4c-16g-22695 does not seem to be running inside a container [2024-10-14T08:00:48.928Z] $ 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-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-10-14T08:00:52.596Z] $ docker top f2755216ef98a6bd40620060b7deee8ca918dc47ec93f08c5d8edef346ddd34b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:00:53.631Z] ---> job-cost.sh [2024-10-14T08:00:53.631Z] lf-activate-venv: SKIPPING [2024-10-14T08:00:53.631Z] INFO: No Stack... [2024-10-14T08:00:54.223Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-10-14T08:00:55.185Z] INFO: Archiving Costs [Pipeline] sh [2024-10-14T08:00:55.876Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2024-10-14T08:00:55.876Z] + cut -d, -f6 [Pipeline] lock [2024-10-14T08:00:55.991Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-PR-418-1-stack-cost] [2024-10-14T08:00:55.997Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-418-1-stack-cost] did not exist. Created. [2024-10-14T08:00:56.003Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-PR-418-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-10-14T08:00:56.759Z] /w/workspace/device-rest-go/1@tmp/durable-a69e4ac1/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-10-14T08:00:57.439Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-10-14T08:00:57.481Z] Warning: overwriting stash ‘stack-cost’ [2024-10-14T08:00:57.534Z] Stashed 1 file(s) [Pipeline] } [2024-10-14T08:00:57.557Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-PR-418-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-10-14T08:00:57.645Z] $ docker stop --time=1 f2755216ef98a6bd40620060b7deee8ca918dc47ec93f08c5d8edef346ddd34b [2024-10-14T08:00:59.166Z] $ docker rm -f --volumes f2755216ef98a6bd40620060b7deee8ca918dc47ec93f08c5d8edef346ddd34b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2024-10-14T08:01:00.341Z] provisioning config files... [2024-10-14T08:01:00.349Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-418@tmp/config6251964170040000019tmp [Pipeline] { [Pipeline] sh [2024-10-14T08:01:00.707Z] + set +x [2024-10-14T08:01:00.707Z] + curl -s https://codecov.io/bash [2024-10-14T08:01:00.707Z] + bash -s -- [2024-10-14T08:01:00.707Z] [2024-10-14T08:01:00.707Z] _____ _ [2024-10-14T08:01:00.707Z] / ____| | | [2024-10-14T08:01:00.707Z] | | ___ __| | ___ ___ _____ __ [2024-10-14T08:01:00.707Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-10-14T08:01:00.707Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-10-14T08:01:00.707Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-10-14T08:01:00.707Z] Bash-1.0.6 [2024-10-14T08:01:00.707Z] [2024-10-14T08:01:00.707Z] [2024-10-14T08:01:00.707Z] ==> git version 2.25.1 found [2024-10-14T08:01:00.707Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2024-10-14T08:01:00.707Z] Release-Date: 2020-01-08 [2024-10-14T08:01:00.707Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-10-14T08:01:00.707Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-10-14T08:01:00.707Z] ==> Jenkins CI detected. [2024-10-14T08:01:00.707Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-418 [2024-10-14T08:01:00.707Z] project root: . [2024-10-14T08:01:00.707Z] --> token set from env [2024-10-14T08:01:00.707Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-10-14T08:01:01.779Z] ==> Running gcov in . (disable via -X gcov) [2024-10-14T08:01:01.779Z] ==> Python coveragepy not found [2024-10-14T08:01:01.779Z] ==> Searching for coverage reports in: [2024-10-14T08:01:01.779Z] + . [2024-10-14T08:01:01.779Z] -> Found 1 reports [2024-10-14T08:01:01.779Z] ==> Detecting git/mercurial file structure [2024-10-14T08:01:01.779Z] ==> Reading reports [2024-10-14T08:01:01.779Z] + ./coverage.out bytes=14565 [2024-10-14T08:01:01.779Z] ==> Appending adjustments [2024-10-14T08:01:01.779Z] https://docs.codecov.io/docs/fixing-reports [2024-10-14T08:01:01.779Z] + Found adjustments [2024-10-14T08:01:01.779Z] ==> Gzipping contents [2024-10-14T08:01:01.779Z] 4.0K /tmp/codecov.0i0y1n.gz [2024-10-14T08:01:01.779Z] ==> Uploading reports [2024-10-14T08:01:01.779Z] url: https://codecov.io [2024-10-14T08:01:01.779Z] query: branch=PR-418&commit=be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-418%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=418&job=&cmd_args= [2024-10-14T08:01:01.779Z] -> Pinging Codecov [2024-10-14T08:01:01.780Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-418&commit=be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-418%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=418&job=&cmd_args= [2024-10-14T08:01:02.041Z] -> Uploading to [2024-10-14T08:01:02.041Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f/8d1d4a1f-896e-4234-8c0b-1dd8f40faf97.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241014%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241014T080101Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=fba04c1776cec490a930b9d59c0dd1b0e12d4a0e034368b54ecf88aa3fa4d8f3 [2024-10-14T08:01:02.041Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-10-14T08:01:02.041Z] Dload Upload Total Spent Left Speed [2024-10-14T08:01:02.304Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2333 0 0 100 2333 0 11436 --:--:-- --:--:-- --:--:-- 11380 100 2333 0 0 100 2333 0 10800 --:--:-- --:--:-- --:--:-- 10751 [2024-10-14T08:01:02.304Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/be40ce9c5fc91884215293b6bf7bbda8bd3c0d2f [Pipeline] } [2024-10-14T08:01:02.344Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-10-14T08:01:04.575Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-418/archives ] [2024-10-14T08:01:04.575Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-418/archives [2024-10-14T08:01:04.575Z] total 16 [2024-10-14T08:01:04.575Z] drwxr-xr-x 3 root root 4096 Oct 14 07:46 . [2024-10-14T08:01:04.575Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 07:46 .. [2024-10-14T08:01:04.575Z] drwxr-xr-x 2 root root 4096 Oct 14 07:46 cost [2024-10-14T08:01:04.575Z] -rw-r--r-- 1 root root 86 Oct 14 07:46 cost.csv [2024-10-14T08:01:04.575Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-418/archives [2024-10-14T08:01:04.575Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-418/archives [2024-10-14T08:01:04.575Z] total 16 [2024-10-14T08:01:04.575Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 14 07:46 . [2024-10-14T08:01:04.575Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 14 07:46 .. [2024-10-14T08:01:04.575Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 14 07:46 cost [2024-10-14T08:01:04.575Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 14 07:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:04.942Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:05.847Z] ---> package-listing.sh [2024-10-14T08:01:05.847Z] ++ facter osfamily [2024-10-14T08:01:05.847Z] ++ tr '[:upper:]' '[:lower:]' [2024-10-14T08:01:06.107Z] + OS_FAMILY=debian [2024-10-14T08:01:06.107Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-418 [2024-10-14T08:01:06.107Z] + START_PACKAGES=/tmp/packages_start.txt [2024-10-14T08:01:06.107Z] + END_PACKAGES=/tmp/packages_end.txt [2024-10-14T08:01:06.107Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-10-14T08:01:06.107Z] + PACKAGES=/tmp/packages_start.txt [2024-10-14T08:01:06.107Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-418 ']' [2024-10-14T08:01:06.107Z] + PACKAGES=/tmp/packages_end.txt [2024-10-14T08:01:06.107Z] + case "${OS_FAMILY}" in [2024-10-14T08:01:06.107Z] + dpkg -l [2024-10-14T08:01:06.107Z] + grep '^ii' [2024-10-14T08:01:06.107Z] + '[' -f /tmp/packages_start.txt ']' [2024-10-14T08:01:06.107Z] + '[' -f /tmp/packages_end.txt ']' [2024-10-14T08:01:06.107Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-10-14T08:01:06.107Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-418 ']' [2024-10-14T08:01:06.107Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-418/archives/ [2024-10-14T08:01:06.107Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-418/archives/ [Pipeline] echo [2024-10-14T08:01:06.151Z] 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-rest-go_PR-418/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-10-14T08:01:06.450Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-10-14T08:01:07.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-10-14T08:01:07.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-10-14T08:01:07.282Z] prd-ubuntu20.04-docker-8c-8g-22692 does not seem to be running inside a container [2024-10-14T08:01:07.307Z] $ 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-rest-go_PR-418/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-rest-go_PR-418 -v /w/workspace/gexfoundry_device-rest-go_PR-418:/w/workspace/gexfoundry_device-rest-go_PR-418:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-418@tmp:/w/workspace/gexfoundry_device-rest-go_PR-418@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-10-14T08:01:07.533Z] $ docker top 0ed0a5f7aa5b17e642bed7f1fb88fa750a20440fdc58a1ffd12ce4d5bd8bda88 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-10-14T08:01:07.958Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-10-14T08:01:08.270Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-10-14T08:01:08.586Z] + ls /var/log/sa-host [2024-10-14T08:01:08.586Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-10-14T08:01:08.746Z] provisioning config files... [2024-10-14T08:01:08.755Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-418@tmp/config5345754912513694299tmp [Pipeline] { [Pipeline] echo [2024-10-14T08:01:08.828Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:09.155Z] ---> create-netrc.sh [Pipeline] } [2024-10-14T08:01:09.188Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:09.610Z] ---> python-tools-install.sh [Pipeline] echo [2024-10-14T08:01:09.653Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:09.978Z] ---> sudo-logs.sh [2024-10-14T08:01:09.978Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-10-14T08:01:10.084Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:10.408Z] ---> job-cost.sh [2024-10-14T08:01:10.408Z] lf-activate-venv: SKIPPING [2024-10-14T08:01:10.408Z] DEBUG: total: 0.2199999988079071 [2024-10-14T08:01:10.408Z] INFO: Retrieving Stack Cost... [2024-10-14T08:01:10.977Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-10-14T08:01:11.237Z] INFO: Archiving Costs [Pipeline] echo [2024-10-14T08:01:11.280Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-10-14T08:01:11.605Z] ---> logs-deploy.sh [2024-10-14T08:01:11.605Z] lf-activate-venv: SKIPPING [2024-10-14T08:01:11.605Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-418/1 [2024-10-14T08:01:11.605Z] INFO: archiving workspace using pattern(s): [2024-10-14T08:01:12.545Z] Archives upload complete. [2024-10-14T08:01:12.545Z] INFO: archiving logs to Nexus