Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 8257fd91468d3a13c9b08aa2e5cf32be113d097a 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-ssh13080621789825430423.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-ssh11486961726128132874.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2917847968707966272.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh12307673108022431322.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3232654515813962334.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-25890 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 Avoid second fetch Checking out Revision 8257fd91468d3a13c9b08aa2e5cf32be113d097a (main) Commit message: "Merge pull request #425 from jackchenjc/edgex-go-issue-4916-2" > 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 > git config core.sparsecheckout # timeout=10 > git checkout -f 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 > git rev-list --no-walk d405a4f26b456a8be44145d93bfbd9a91d93e9fc # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-08T07:44:34.314Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-08T07:44:34.394Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-08T07:44:34.424Z] ========================================================= [2024-11-08T07:44:34.424Z] EdgeX Global Pipelines Version Info [2024-11-08T07:44:34.424Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-08T07:44:35.530Z] ------------------- [2024-11-08T07:44:35.530Z] stable info: [2024-11-08T07:44:35.530Z] ------------------- [2024-11-08T07:44:35.530Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-08T07:44:35.530Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-08T07:44:35.530Z] Message: update stable to v1.0.265 [2024-11-08T07:44:35.790Z] ------------------- [2024-11-08T07:44:35.790Z] experimental info: [2024-11-08T07:44:35.790Z] ------------------- [2024-11-08T07:44:35.790Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-08T07:44:35.790Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-08T07:44:35.790Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-08T07:44:35.873Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-11-08T07:44:35.896Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-11-08T07:44:35.924Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-08T07:44:35.951Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-08T07:44:35.974Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-08T07:44:35.994Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-08T07:44:36.016Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-08T07:44:36.036Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-11-08T07:44:36.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-08T07:44:36.086Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-08T07:44:36.109Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-08T07:44:36.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-11-08T07:44:36.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-08T07:44:36.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-08T07:44:36.207Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T07:44:36.235Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-11-08T07:44:36.258Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T07:44:36.279Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-08T07:44:36.303Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-08T07:44:36.328Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-08T07:44:36.351Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-11-08T07:44:36.371Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-11-08T07:44:36.394Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-08T07:44:36.412Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-08T07:44:36.436Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-08T07:44:36.466Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-08T07:44:36.492Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-08T07:44:36.519Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-11-08T07:44:36.546Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-11-08T07:44:36.566Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-11-08T07:44:36.588Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] echo [2024-11-08T07:44:36.616Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 8257fd9 [Pipeline] echo [2024-11-08T07:44:36.644Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T07:44:36.708Z] provisioning config files... [2024-11-08T07:44:36.720Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12035689680505176837tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T07:44:37.057Z] ---> ****-login.sh [2024-11-08T07:44:37.057Z] nexus3.edgexfoundry.org:10001 [2024-11-08T07:44:37.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:44:37.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:44:37.320Z] Configure a credential helper to remove this warning. See [2024-11-08T07:44:37.320Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:44:37.320Z] [2024-11-08T07:44:37.320Z] Login Succeeded [2024-11-08T07:44:37.320Z] nexus3.edgexfoundry.org:10002 [2024-11-08T07:44:37.320Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:44:37.320Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:44:37.320Z] Configure a credential helper to remove this warning. See [2024-11-08T07:44:37.320Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:44:37.320Z] [2024-11-08T07:44:37.320Z] Login Succeeded [2024-11-08T07:44:37.320Z] nexus3.edgexfoundry.org:10003 [2024-11-08T07:44:37.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:44:37.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:44:37.586Z] Configure a credential helper to remove this warning. See [2024-11-08T07:44:37.586Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:44:37.586Z] [2024-11-08T07:44:37.586Z] Login Succeeded [2024-11-08T07:44:37.586Z] nexus3.edgexfoundry.org:10004 [2024-11-08T07:44:37.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:44:37.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:44:37.586Z] Configure a credential helper to remove this warning. See [2024-11-08T07:44:37.586Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:44:37.586Z] [2024-11-08T07:44:37.586Z] Login Succeeded [2024-11-08T07:44:37.586Z] ****.io [2024-11-08T07:44:37.847Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:44:37.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:44:37.847Z] Configure a credential helper to remove this warning. See [2024-11-08T07:44:37.847Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:44:37.847Z] [2024-11-08T07:44:37.847Z] Login Succeeded [2024-11-08T07:44:37.847Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T07:44:37.854Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-08T07:44:38.288Z] + git rev-list -1 --merges 8257fd91468d3a13c9b08aa2e5cf32be113d097a~1..8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] echo [2024-11-08T07:44:38.324Z] -----------> git rev-list -1 --merges 8257fd91468d3a13c9b08aa2e5cf32be113d097a~1..8257fd91468d3a13c9b08aa2e5cf32be113d097a 8257fd91468d3a13c9b08aa2e5cf32be113d097a [2024-11-08T07:44:38.324Z] 8257fd91468d3a13c9b08aa2e5cf32be113d097a [false] [Pipeline] sh [2024-11-08T07:44:38.626Z] + git log --format=format:%s -1 8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] echo [2024-11-08T07:44:38.648Z] ========================================================= [2024-11-08T07:44:38.648Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-08T07:44:38.648Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T07:44:38.998Z] + git log --format=format:%s -1 8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] echo [2024-11-08T07:44:39.011Z] [semverPrep] GIT_COMMIT: 8257fd91468d3a13c9b08aa2e5cf32be113d097a, Commit Message: Merge pull request #425 from jackchenjc/edgex-go-issue-4916-2 [Pipeline] echo [2024-11-08T07:44:39.029Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-08T07:44:39.388Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T07:44:39.388Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-08T07:44:39.388Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-08T07:44:39.388Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-08T07:44:39.388Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2024-11-08T07:44:39.388Z] -a /etc/ssh/ssh_known_hosts [2024-11-08T07:44:39.388Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:44:39.753Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T07:44:39.753Z] [2024-11-08T07:44:39.753Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:44:40.056Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T07:44:40.056Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-08T07:44:40.056Z] b85a868b505f: Pulling fs layer [2024-11-08T07:44:40.056Z] e2be974225ed: Pulling fs layer [2024-11-08T07:44:40.056Z] 339a4e72a1f5: Pulling fs layer [2024-11-08T07:44:40.056Z] 988bab9f4d93: Pulling fs layer [2024-11-08T07:44:40.056Z] 1469e6f7b9e6: Pulling fs layer [2024-11-08T07:44:40.056Z] eaf3925da568: Pulling fs layer [2024-11-08T07:44:40.056Z] bab4dde63d76: Pulling fs layer [2024-11-08T07:44:40.056Z] bde34c3a00c8: Pulling fs layer [2024-11-08T07:44:40.056Z] b352a97aabf1: Pulling fs layer [2024-11-08T07:44:40.056Z] 4872d77fe225: Pulling fs layer [2024-11-08T07:44:40.056Z] 5851b861e8e6: Pulling fs layer [2024-11-08T07:44:40.056Z] 1469e6f7b9e6: Waiting [2024-11-08T07:44:40.057Z] eaf3925da568: Waiting [2024-11-08T07:44:40.057Z] bab4dde63d76: Waiting [2024-11-08T07:44:40.057Z] bde34c3a00c8: Waiting [2024-11-08T07:44:40.057Z] b352a97aabf1: Waiting [2024-11-08T07:44:40.057Z] 4872d77fe225: Waiting [2024-11-08T07:44:40.057Z] 5851b861e8e6: Waiting [2024-11-08T07:44:40.057Z] 988bab9f4d93: Waiting [2024-11-08T07:44:40.057Z] e2be974225ed: Download complete [2024-11-08T07:44:40.057Z] 988bab9f4d93: Verifying Checksum [2024-11-08T07:44:40.057Z] 988bab9f4d93: Download complete [2024-11-08T07:44:40.057Z] 1469e6f7b9e6: Verifying Checksum [2024-11-08T07:44:40.057Z] 1469e6f7b9e6: Download complete [2024-11-08T07:44:40.057Z] eaf3925da568: Verifying Checksum [2024-11-08T07:44:40.057Z] eaf3925da568: Download complete [2024-11-08T07:44:40.057Z] 339a4e72a1f5: Verifying Checksum [2024-11-08T07:44:40.057Z] 339a4e72a1f5: Download complete [2024-11-08T07:44:40.057Z] bde34c3a00c8: Verifying Checksum [2024-11-08T07:44:40.057Z] bde34c3a00c8: Download complete [2024-11-08T07:44:40.316Z] b352a97aabf1: Verifying Checksum [2024-11-08T07:44:40.316Z] b352a97aabf1: Download complete [2024-11-08T07:44:40.316Z] 4872d77fe225: Verifying Checksum [2024-11-08T07:44:40.316Z] 4872d77fe225: Download complete [2024-11-08T07:44:40.316Z] 5851b861e8e6: Download complete [2024-11-08T07:44:40.316Z] b85a868b505f: Verifying Checksum [2024-11-08T07:44:40.316Z] b85a868b505f: Download complete [2024-11-08T07:44:40.574Z] bab4dde63d76: Verifying Checksum [2024-11-08T07:44:40.574Z] bab4dde63d76: Download complete [2024-11-08T07:44:41.509Z] b85a868b505f: Pull complete [2024-11-08T07:44:41.769Z] e2be974225ed: Pull complete [2024-11-08T07:44:42.027Z] 339a4e72a1f5: Pull complete [2024-11-08T07:44:42.287Z] 988bab9f4d93: Pull complete [2024-11-08T07:44:42.550Z] 1469e6f7b9e6: Pull complete [2024-11-08T07:44:42.550Z] eaf3925da568: Pull complete [2024-11-08T07:44:44.456Z] bab4dde63d76: Pull complete [2024-11-08T07:44:44.456Z] bde34c3a00c8: Pull complete [2024-11-08T07:44:44.456Z] b352a97aabf1: Pull complete [2024-11-08T07:44:44.456Z] 4872d77fe225: Pull complete [2024-11-08T07:44:44.456Z] 5851b861e8e6: Pull complete [2024-11-08T07:44:44.719Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-08T07:44:44.719Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T07:44:44.719Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T07:44:44.867Z] prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container [2024-11-08T07:44:44.891Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T07:44:47.460Z] $ docker top 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c -eo pid,comm [2024-11-08T07:44:47.523Z] 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-11-08T07:44:47.523Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T07:44:47.583Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T07:44:47.583Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T07:44:47.707Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T07:44:47.705Z] $ docker exec 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c ssh-agent [2024-11-08T07:44:47.811Z] SSH_AUTH_SOCK=/tmp/ssh-07WPhKJ2014z/agent.32 [2024-11-08T07:44:47.811Z] SSH_AGENT_PID=38 [2024-11-08T07:44:47.819Z] Running ssh-add (command line suppressed) [2024-11-08T07:44:47.910Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17080911938733264841.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17080911938733264841.key) [2024-11-08T07:44:47.929Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T07:44:48.228Z] + git tag --points-at HEAD [Pipeline] } [2024-11-08T07:44:48.234Z] $ docker exec --env ******** --env ******** 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c ssh-agent -k [2024-11-08T07:44:48.337Z] unset SSH_AUTH_SOCK; [2024-11-08T07:44:48.337Z] unset SSH_AGENT_PID; [2024-11-08T07:44:48.337Z] echo Agent pid 38 killed; [2024-11-08T07:44:48.352Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-08T07:44:48.395Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T07:44:48.395Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T07:44:48.505Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T07:44:48.502Z] $ docker exec 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c ssh-agent [2024-11-08T07:44:48.621Z] SSH_AUTH_SOCK=/tmp/ssh-iacE5l9f5dZx/agent.71 [2024-11-08T07:44:48.621Z] SSH_AGENT_PID=77 [2024-11-08T07:44:48.626Z] Running ssh-add (command line suppressed) [2024-11-08T07:44:48.712Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2995806343017886014.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2995806343017886014.key) [2024-11-08T07:44:48.729Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T07:44:49.024Z] + git semver init [2024-11-08T07:44:49.283Z] 2024-11-08 07:44:49,185 [run_init] DEBUG init version:0.0.0 force:False [2024-11-08T07:44:49.283Z] 2024-11-08 07:44:49,186 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-11-08T07:44:49.283Z] 2024-11-08 07:44:49,186 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-11-08T07:44:49.283Z] 2024-11-08 07:44:49,186 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-11-08T07:44:50.660Z] 2024-11-08 07:44:50,439 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2024-11-08T07:44:50.660Z] 2024-11-08 07:44:50,440 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2024-11-08T07:44:50.660Z] 2024-11-08 07:44:50,440 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-11-08T07:44:50.660Z] 2024-11-08 07:44:50,440 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-11-08T07:44:50.660Z] 4.0.0-dev.3 [Pipeline] } [2024-11-08T07:44:50.665Z] $ docker exec --env ******** --env ******** 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c ssh-agent -k [2024-11-08T07:44:50.776Z] unset SSH_AUTH_SOCK; [2024-11-08T07:44:50.777Z] unset SSH_AGENT_PID; [2024-11-08T07:44:50.777Z] echo Agent pid 77 killed; [2024-11-08T07:44:50.793Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T07:44:51.128Z] + git semver [Pipeline] } [2024-11-08T07:44:51.394Z] $ docker stop --time=1 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c [2024-11-08T07:44:52.678Z] $ docker rm -f --volumes 3fb5b6208a4dccd4348a4ab3af4b3ed5f7caf2072a3fef6a47bed08fd6acec3c [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T07:44:53.034Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-08T07:44:53.263Z] Stashed 1 file(s) [Pipeline] echo [2024-11-08T07:44:53.268Z] [edgeXSemver]: initialized semver on version 4.0.0-dev.3 [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-11-08T07:44:53.456Z] provisioning config files... [2024-11-08T07:44:53.464Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6131069860158072290tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T07:44:53.769Z] ---> ****-login.sh [2024-11-08T07:44:53.769Z] nexus3.edgexfoundry.org:10001 [2024-11-08T07:44:53.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:44:53.769Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:44:53.769Z] Configure a credential helper to remove this warning. See [2024-11-08T07:44:53.769Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:44:53.769Z] [2024-11-08T07:44:53.769Z] Login Succeeded [2024-11-08T07:44:53.769Z] nexus3.edgexfoundry.org:10002 [2024-11-08T07:44:53.770Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:44:53.770Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:44:53.770Z] Configure a credential helper to remove this warning. See [2024-11-08T07:44:53.770Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:44:53.770Z] [2024-11-08T07:44:53.770Z] Login Succeeded [2024-11-08T07:44:53.770Z] nexus3.edgexfoundry.org:10003 [2024-11-08T07:44:54.030Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:44:54.030Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:44:54.030Z] Configure a credential helper to remove this warning. See [2024-11-08T07:44:54.030Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:44:54.030Z] [2024-11-08T07:44:54.030Z] Login Succeeded [2024-11-08T07:44:54.030Z] nexus3.edgexfoundry.org:10004 [2024-11-08T07:44:54.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:44:54.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:44:54.031Z] Configure a credential helper to remove this warning. See [2024-11-08T07:44:54.031Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:44:54.031Z] [2024-11-08T07:44:54.031Z] Login Succeeded [2024-11-08T07:44:54.031Z] ****.io [2024-11-08T07:44:54.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:44:54.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:44:54.291Z] Configure a credential helper to remove this warning. See [2024-11-08T07:44:54.291Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:44:54.291Z] [2024-11-08T07:44:54.291Z] Login Succeeded [2024-11-08T07:44:54.291Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T07:44:54.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T07:44:54.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T07:44:54.420Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T07:44:54.438Z] ========================================================= [2024-11-08T07:44:54.438Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-08T07:44:54.438Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:44:54.779Z] + 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-11-08T07:44:54.779Z] Sending build context to Docker daemon 16.64MB [2024-11-08T07:44:54.779Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T07:44:54.779Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T07:44:54.779Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-08T07:44:54.779Z] 43c4264eed91: Pulling fs layer [2024-11-08T07:44:54.779Z] 4cc291be95ef: Pulling fs layer [2024-11-08T07:44:54.779Z] 2ac1f1163629: Pulling fs layer [2024-11-08T07:44:54.779Z] 5c3c966382ef: Pulling fs layer [2024-11-08T07:44:54.779Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T07:44:54.779Z] 5d5c8e513c77: Pulling fs layer [2024-11-08T07:44:54.779Z] 9f66e0745190: Pulling fs layer [2024-11-08T07:44:54.779Z] f49a43e4bbc0: Pulling fs layer [2024-11-08T07:44:54.779Z] 561ebcabdf7f: Pulling fs layer [2024-11-08T07:44:54.779Z] 9f66e0745190: Waiting [2024-11-08T07:44:54.779Z] f49a43e4bbc0: Waiting [2024-11-08T07:44:54.779Z] 5c3c966382ef: Waiting [2024-11-08T07:44:54.779Z] 4f4fb700ef54: Waiting [2024-11-08T07:44:54.779Z] 5d5c8e513c77: Waiting [2024-11-08T07:44:54.779Z] 4cc291be95ef: Verifying Checksum [2024-11-08T07:44:54.779Z] 4cc291be95ef: Download complete [2024-11-08T07:44:55.037Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T07:44:55.037Z] 4f4fb700ef54: Download complete [2024-11-08T07:44:55.037Z] 5d5c8e513c77: Verifying Checksum [2024-11-08T07:44:55.037Z] 5d5c8e513c77: Download complete [2024-11-08T07:44:55.037Z] 43c4264eed91: Download complete [2024-11-08T07:44:55.037Z] 9f66e0745190: Verifying Checksum [2024-11-08T07:44:55.037Z] 9f66e0745190: Download complete [2024-11-08T07:44:55.037Z] 43c4264eed91: Pull complete [2024-11-08T07:44:55.296Z] 4cc291be95ef: Pull complete [2024-11-08T07:44:55.296Z] 561ebcabdf7f: Verifying Checksum [2024-11-08T07:44:55.555Z] 2ac1f1163629: Verifying Checksum [2024-11-08T07:44:55.555Z] 2ac1f1163629: Download complete [2024-11-08T07:44:55.812Z] f49a43e4bbc0: Verifying Checksum [2024-11-08T07:44:55.813Z] f49a43e4bbc0: Download complete [2024-11-08T07:44:59.196Z] 2ac1f1163629: Pull complete [2024-11-08T07:44:59.196Z] 5c3c966382ef: Pull complete [2024-11-08T07:44:59.196Z] 4f4fb700ef54: Pull complete [2024-11-08T07:44:59.196Z] 5d5c8e513c77: Pull complete [2024-11-08T07:44:59.196Z] 9f66e0745190: Pull complete [2024-11-08T07:45:01.726Z] f49a43e4bbc0: Pull complete [2024-11-08T07:45:01.726Z] 561ebcabdf7f: Pull complete [2024-11-08T07:45:01.726Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-08T07:45:01.726Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-08T07:45:01.726Z] ---> 3a752c3f9dda [2024-11-08T07:45:01.726Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T07:45:06.166Z] ---> Running in 36d5e806e74b [2024-11-08T07:45:06.166Z] Removing intermediate container 36d5e806e74b [2024-11-08T07:45:06.166Z] ---> 128d96bfa972 [2024-11-08T07:45:06.166Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T07:45:06.166Z] ---> Running in b916f1060e5e [2024-11-08T07:45:06.166Z] Removing intermediate container b916f1060e5e [2024-11-08T07:45:06.166Z] ---> 67f468cc3a41 [2024-11-08T07:45:06.166Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T07:45:06.166Z] ---> Running in c3a9f02832de [2024-11-08T07:45:06.166Z] Removing intermediate container c3a9f02832de [2024-11-08T07:45:06.166Z] ---> 99069300a26a [2024-11-08T07:45:06.166Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T07:45:06.166Z] ---> Running in 7cbf0a8818f8 [2024-11-08T07:45:06.425Z] Removing intermediate container 7cbf0a8818f8 [2024-11-08T07:45:06.425Z] ---> a03446d96d73 [2024-11-08T07:45:06.425Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T07:45:06.425Z] ---> Running in d2e5eb9a5f56 [2024-11-08T07:45:06.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T07:45:06.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T07:45:07.248Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T07:45:07.248Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T07:45:07.248Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T07:45:07.248Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T07:45:07.248Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T07:45:07.248Z] OK: 250 MiB in 58 packages [2024-11-08T07:45:08.202Z] Removing intermediate container d2e5eb9a5f56 [2024-11-08T07:45:08.202Z] ---> d448d292b9b9 [2024-11-08T07:45:08.202Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-08T07:45:08.202Z] ---> Running in ba60e2aad78f [2024-11-08T07:45:08.202Z] Removing intermediate container ba60e2aad78f [2024-11-08T07:45:08.202Z] ---> 0bfaa0bc4a5f [2024-11-08T07:45:08.202Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-08T07:45:08.202Z] ---> c68f14110b8e [2024-11-08T07:45:08.202Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T07:45:08.202Z] ---> Running in d9619c09631c [2024-11-08T07:45:08.406Z] Still waiting to schedule task [2024-11-08T07:45:08.407Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-25891’ is offline [2024-11-08T07:45:56.188Z] Removing intermediate container d9619c09631c [2024-11-08T07:45:56.188Z] ---> be2eab83ff72 [2024-11-08T07:45:56.188Z] Step 11/12 : COPY . . [2024-11-08T07:45:56.188Z] ---> e5dfe0d48bc7 [2024-11-08T07:45:56.188Z] Step 12/12 : RUN $MAKE [2024-11-08T07:45:56.188Z] ---> Running in 6ff7b77d7240 [2024-11-08T07:45:56.188Z] noop [2024-11-08T07:45:56.188Z] Removing intermediate container 6ff7b77d7240 [2024-11-08T07:45:56.188Z] ---> c43003e267f7 [2024-11-08T07:45:56.188Z] Successfully built c43003e267f7 [2024-11-08T07:45:56.188Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:45:56.514Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T07:45:56.514Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T07:45:56.604Z] prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container [2024-11-08T07:45:56.637Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat [2024-11-08T07:45:56.988Z] $ docker top 0c821cbdddf5bc9ae959c995b904130a81538699cedc44d4a3f5693a987d3f94 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T07:45:57.356Z] + go version [2024-11-08T07:45:57.356Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-08T07:45:57.360Z] $ docker stop --time=1 0c821cbdddf5bc9ae959c995b904130a81538699cedc44d4a3f5693a987d3f94 [2024-11-08T07:45:58.641Z] $ docker rm -f --volumes 0c821cbdddf5bc9ae959c995b904130a81538699cedc44d4a3f5693a987d3f94 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:45:59.084Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-08T07:45:59.084Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T07:46:01.035Z] prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container [2024-11-08T07:46:01.060Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat [2024-11-08T07:46:04.110Z] $ docker top 27adfcc10cda49c3e216133d144f2a706a98a494516559b3a9a987125115c447 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T07:46:05.938Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2024-11-08T07:46:06.244Z] + make test [2024-11-08T07:46:06.244Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T07:46:08.144Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-08T07:46:30.063Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-08T07:46:30.063Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2024-11-08T07:46:40.030Z] go vet ./... [2024-11-08T07:46:45.293Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T07:46:45.293Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T07:46:45.293Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T07:46:45.306Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T07:46:45.317Z] $ docker stop --time=1 27adfcc10cda49c3e216133d144f2a706a98a494516559b3a9a987125115c447 [2024-11-08T07:46:48.460Z] $ docker rm -f --volumes 27adfcc10cda49c3e216133d144f2a706a98a494516559b3a9a987125115c447 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T07:46:49.041Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T07:46:49.080Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-08T07:46:49.529Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T07:46:49.818Z] + ls -al . [2024-11-08T07:46:49.818Z] total 244 [2024-11-08T07:46:49.818Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 07:46 . [2024-11-08T07:46:49.818Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 07:44 .. [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 07:44 .dockerignore [2024-11-08T07:46:49.818Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 07:46 .git [2024-11-08T07:46:49.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:44 .github [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 07:44 .gitignore [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 07:44 .golangci.yml [2024-11-08T07:46:49.818Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 07:44 .semver [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 8 07:44 Attribution.txt [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 8 07:44 CHANGELOG.md [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 8 07:44 Dockerfile [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 07:44 GOVERNANCE.md [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 07:44 Jenkinsfile [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 07:44 LICENSE [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 2598 Nov 8 07:44 Makefile [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 07:44 OWNERS.md [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 07:44 README.md [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 8 07:44 VERSION [2024-11-08T07:46:49.818Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 07:44 bin [2024-11-08T07:46:49.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:44 cmd [2024-11-08T07:46:49.818Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 8 07:46 coverage.out [2024-11-08T07:46:49.818Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 07:44 driver [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 6439 Nov 8 07:44 go.mod [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 07:44 go.sum [2024-11-08T07:46:49.818Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:44 openapi [2024-11-08T07:46:49.818Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 07:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:46:50.142Z] + 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=8257fd91468d3a13c9b08aa2e5cf32be113d097a --label arch=amd64 --label version=4.0.0-dev.3 . [2024-11-08T07:46:50.142Z] Sending build context to Docker daemon 16.66MB [2024-11-08T07:46:50.142Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T07:46:50.142Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-08T07:46:50.142Z] ---> c43003e267f7 [2024-11-08T07:46:50.142Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-11-08T07:46:50.400Z] ---> Running in 1d96f05bc6e7 [2024-11-08T07:46:50.400Z] Removing intermediate container 1d96f05bc6e7 [2024-11-08T07:46:50.400Z] ---> 6faf3bd12894 [2024-11-08T07:46:50.400Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T07:46:50.400Z] ---> Running in 78c4109c396a [2024-11-08T07:46:50.663Z] Removing intermediate container 78c4109c396a [2024-11-08T07:46:50.663Z] ---> 7d4d8a2baacb [2024-11-08T07:46:50.663Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T07:46:50.663Z] ---> Running in 5a7899c3535d [2024-11-08T07:46:50.663Z] Removing intermediate container 5a7899c3535d [2024-11-08T07:46:50.663Z] ---> ce05206307f7 [2024-11-08T07:46:50.663Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T07:46:50.663Z] ---> Running in 41b284d5c345 [2024-11-08T07:46:50.922Z] Removing intermediate container 41b284d5c345 [2024-11-08T07:46:50.922Z] ---> 6c66b09fe263 [2024-11-08T07:46:50.922Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T07:46:50.922Z] ---> Running in 156673c736f3 [2024-11-08T07:46:51.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T07:46:51.180Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T07:46:51.439Z] OK: 250 MiB in 58 packages [2024-11-08T07:46:51.698Z] Removing intermediate container 156673c736f3 [2024-11-08T07:46:51.698Z] ---> 08a2b0167979 [2024-11-08T07:46:51.698Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-08T07:46:51.698Z] ---> Running in 0b2d31a97ba5 [2024-11-08T07:46:51.957Z] Removing intermediate container 0b2d31a97ba5 [2024-11-08T07:46:51.957Z] ---> 5b8ff327580a [2024-11-08T07:46:51.957Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-08T07:46:51.957Z] ---> 83f5266e7d4e [2024-11-08T07:46:51.957Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T07:46:51.957Z] ---> Running in 76578f0c89b6 [2024-11-08T07:46:53.083Z] Removing intermediate container 76578f0c89b6 [2024-11-08T07:46:53.083Z] ---> 862426eeeaa1 [2024-11-08T07:46:53.083Z] Step 11/26 : COPY . . [2024-11-08T07:46:53.365Z] ---> c7efc207abf6 [2024-11-08T07:46:53.365Z] Step 12/26 : RUN $MAKE [2024-11-08T07:46:53.365Z] ---> Running in 176875760aab [2024-11-08T07:46:53.628Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2024-11-08T07:47:25.705Z] Removing intermediate container 176875760aab [2024-11-08T07:47:25.705Z] ---> f12c995697c3 [2024-11-08T07:47:25.705Z] Step 13/26 : FROM alpine:3.20 [2024-11-08T07:47:25.705Z] 3.20: Pulling from library/alpine [2024-11-08T07:47:25.705Z] 43c4264eed91: Already exists [2024-11-08T07:47:25.705Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T07:47:25.705Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T07:47:25.705Z] ---> 91ef0af61f39 [2024-11-08T07:47:25.705Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T07:47:25.705Z] ---> Running in 173d37e6f246 [2024-11-08T07:47:25.705Z] Removing intermediate container 173d37e6f246 [2024-11-08T07:47:25.705Z] ---> c8a47df02f24 [2024-11-08T07:47:25.705Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-08T07:47:25.705Z] ---> Running in bae25b3e0e89 [2024-11-08T07:47:25.705Z] Removing intermediate container bae25b3e0e89 [2024-11-08T07:47:25.705Z] ---> fd07881eafec [2024-11-08T07:47:25.705Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-08T07:47:25.705Z] ---> Running in 3c9a325a4655 [2024-11-08T07:47:25.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T07:47:25.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T07:47:25.705Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T07:47:25.705Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T07:47:25.705Z] OK: 8 MiB in 15 packages [2024-11-08T07:47:25.705Z] Removing intermediate container 3c9a325a4655 [2024-11-08T07:47:25.705Z] ---> 08d047863f9b [2024-11-08T07:47:25.705Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-08T07:47:25.966Z] ---> Running in 6f24e78ff473 [2024-11-08T07:47:26.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T07:47:26.226Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T07:47:26.486Z] Upgrading critical system libraries and apk-tools: [2024-11-08T07:47:26.486Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T07:47:26.486Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T07:47:26.486Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T07:47:26.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-08T07:47:26.746Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-08T07:47:27.005Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T07:47:27.005Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T07:47:27.005Z] OK: 8 MiB in 15 packages [2024-11-08T07:47:27.593Z] Removing intermediate container 6f24e78ff473 [2024-11-08T07:47:27.593Z] ---> ad3cf37c7e1c [2024-11-08T07:47:27.593Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-08T07:47:28.531Z] ---> e8f929e760e6 [2024-11-08T07:47:28.531Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-08T07:47:28.531Z] ---> c2f8e9067266 [2024-11-08T07:47:28.531Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-08T07:47:28.792Z] ---> 2c6aea43f1b6 [2024-11-08T07:47:28.793Z] Step 21/26 : EXPOSE 59986 [2024-11-08T07:47:28.793Z] ---> Running in 42ada60559b5 [2024-11-08T07:47:28.793Z] Removing intermediate container 42ada60559b5 [2024-11-08T07:47:28.793Z] ---> 23fb224055de [2024-11-08T07:47:28.793Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-08T07:47:28.793Z] ---> Running in 58ce3e26ed9f [2024-11-08T07:47:29.050Z] Removing intermediate container 58ce3e26ed9f [2024-11-08T07:47:29.050Z] ---> cd1f3c64605c [2024-11-08T07:47:29.050Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T07:47:29.050Z] ---> Running in d41e8258f5a6 [2024-11-08T07:47:29.050Z] Removing intermediate container d41e8258f5a6 [2024-11-08T07:47:29.050Z] ---> b2bb47fd2dbc [2024-11-08T07:47:29.050Z] Step 24/26 : LABEL arch=amd64 [2024-11-08T07:47:29.050Z] ---> Running in 725826cb484c [2024-11-08T07:47:29.050Z] Removing intermediate container 725826cb484c [2024-11-08T07:47:29.050Z] ---> 9ddbd9f25812 [2024-11-08T07:47:29.050Z] Step 25/26 : LABEL git_sha=8257fd91468d3a13c9b08aa2e5cf32be113d097a [2024-11-08T07:47:29.051Z] ---> Running in 79c97634dd30 [2024-11-08T07:47:29.311Z] Removing intermediate container 79c97634dd30 [2024-11-08T07:47:29.311Z] ---> 70420b1ff27b [2024-11-08T07:47:29.311Z] Step 26/26 : LABEL version=4.0.0-dev.3 [2024-11-08T07:47:29.311Z] ---> Running in 5c43da821574 [2024-11-08T07:47:29.311Z] Removing intermediate container 5c43da821574 [2024-11-08T07:47:29.311Z] ---> c7212d72950c [2024-11-08T07:47:29.311Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T07:47:29.311Z] Successfully built c7212d72950c [2024-11-08T07:47:29.311Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T07:47:29.461Z] provisioning config files... [2024-11-08T07:47:29.470Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15585338153595944621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T07:47:29.781Z] ---> ****-login.sh [2024-11-08T07:47:29.781Z] nexus3.edgexfoundry.org:10001 [2024-11-08T07:47:29.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:47:29.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:47:29.781Z] Configure a credential helper to remove this warning. See [2024-11-08T07:47:29.781Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:47:29.781Z] [2024-11-08T07:47:29.781Z] Login Succeeded [2024-11-08T07:47:29.781Z] nexus3.edgexfoundry.org:10002 [2024-11-08T07:47:29.781Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:47:29.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:47:29.781Z] Configure a credential helper to remove this warning. See [2024-11-08T07:47:29.781Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:47:29.781Z] [2024-11-08T07:47:29.781Z] Login Succeeded [2024-11-08T07:47:29.781Z] nexus3.edgexfoundry.org:10003 [2024-11-08T07:47:30.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:47:30.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:47:30.041Z] Configure a credential helper to remove this warning. See [2024-11-08T07:47:30.041Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:47:30.041Z] [2024-11-08T07:47:30.041Z] Login Succeeded [2024-11-08T07:47:30.041Z] nexus3.edgexfoundry.org:10004 [2024-11-08T07:47:30.041Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:47:30.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:47:30.041Z] Configure a credential helper to remove this warning. See [2024-11-08T07:47:30.041Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:47:30.041Z] [2024-11-08T07:47:30.041Z] Login Succeeded [2024-11-08T07:47:30.041Z] ****.io [2024-11-08T07:47:30.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:47:30.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:47:30.302Z] Configure a credential helper to remove this warning. See [2024-11-08T07:47:30.302Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:47:30.302Z] [2024-11-08T07:47:30.302Z] Login Succeeded [2024-11-08T07:47:30.302Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T07:47:30.309Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-11-08T07:47:30.362Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T07:47:30.394Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-11-08T07:47:30.394Z] 8257fd91468d3a13c9b08aa2e5cf32be113d097a [2024-11-08T07:47:30.394Z] latest [2024-11-08T07:47:30.394Z] 4.0.0-dev.3 [2024-11-08T07:47:30.394Z] 8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 [2024-11-08T07:47:30.394Z] main [2024-11-08T07:47:30.394Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:47:30.750Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:47:31.080Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a [2024-11-08T07:47:31.080Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-11-08T07:47:31.080Z] 26ca4d7c0dd4: Preparing [2024-11-08T07:47:31.080Z] 3ffcfcfc870b: Preparing [2024-11-08T07:47:31.080Z] 4750adb8d33e: Preparing [2024-11-08T07:47:31.080Z] 1e455e05eab1: Preparing [2024-11-08T07:47:31.080Z] 367b6b769faf: Preparing [2024-11-08T07:47:31.080Z] 63ca1fbb43ae: Preparing [2024-11-08T07:47:31.080Z] 63ca1fbb43ae: Waiting [2024-11-08T07:47:31.080Z] 367b6b769faf: Pushed [2024-11-08T07:47:31.080Z] 26ca4d7c0dd4: Pushed [2024-11-08T07:47:31.080Z] 3ffcfcfc870b: Pushed [2024-11-08T07:47:31.080Z] 63ca1fbb43ae: Layer already exists [2024-11-08T07:47:31.648Z] 1e455e05eab1: Pushed [2024-11-08T07:47:34.940Z] 4750adb8d33e: Pushed [2024-11-08T07:47:34.940Z] 8257fd91468d3a13c9b08aa2e5cf32be113d097a: digest: sha256:e9c7999c945d9896c76ade160d599986269618a765cf60a97cbdc4395619d9a9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:47:35.273Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:47:35.608Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2024-11-08T07:47:35.608Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-11-08T07:47:35.608Z] 26ca4d7c0dd4: Preparing [2024-11-08T07:47:35.608Z] 3ffcfcfc870b: Preparing [2024-11-08T07:47:35.608Z] 4750adb8d33e: Preparing [2024-11-08T07:47:35.608Z] 1e455e05eab1: Preparing [2024-11-08T07:47:35.608Z] 367b6b769faf: Preparing [2024-11-08T07:47:35.608Z] 63ca1fbb43ae: Preparing [2024-11-08T07:47:35.608Z] 367b6b769faf: Layer already exists [2024-11-08T07:47:35.608Z] 26ca4d7c0dd4: Layer already exists [2024-11-08T07:47:35.608Z] 3ffcfcfc870b: Layer already exists [2024-11-08T07:47:35.608Z] 1e455e05eab1: Layer already exists [2024-11-08T07:47:35.608Z] 4750adb8d33e: Layer already exists [2024-11-08T07:47:35.608Z] 63ca1fbb43ae: Layer already exists [2024-11-08T07:47:35.608Z] latest: digest: sha256:e9c7999c945d9896c76ade160d599986269618a765cf60a97cbdc4395619d9a9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:47:35.910Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-25893 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2024-11-08T07:47:35.927Z] Running in /w/workspace/device-rest-go/180 [Pipeline] { [2024-11-08T07:47:35.937Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.3 [Pipeline] checkout [Pipeline] } [2024-11-08T07:47:38.990Z] The recommended git tool is: git [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:47:39.305Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.3 [2024-11-08T07:47:39.306Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-11-08T07:47:39.306Z] 26ca4d7c0dd4: Preparing [2024-11-08T07:47:39.306Z] 3ffcfcfc870b: Preparing [2024-11-08T07:47:39.306Z] 4750adb8d33e: Preparing [2024-11-08T07:47:39.306Z] 1e455e05eab1: Preparing [2024-11-08T07:47:39.306Z] 367b6b769faf: Preparing [2024-11-08T07:47:39.306Z] 63ca1fbb43ae: Preparing [2024-11-08T07:47:39.306Z] 63ca1fbb43ae: Waiting [2024-11-08T07:47:39.306Z] 367b6b769faf: Layer already exists [2024-11-08T07:47:39.306Z] 3ffcfcfc870b: Layer already exists [2024-11-08T07:47:39.306Z] 1e455e05eab1: Layer already exists [2024-11-08T07:47:39.306Z] 4750adb8d33e: Layer already exists [2024-11-08T07:47:39.306Z] 26ca4d7c0dd4: Layer already exists [2024-11-08T07:47:39.306Z] 63ca1fbb43ae: Layer already exists [2024-11-08T07:47:39.306Z] 4.0.0-dev.3: digest: sha256:e9c7999c945d9896c76ade160d599986269618a765cf60a97cbdc4395619d9a9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:47:39.644Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:47:39.973Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 [2024-11-08T07:47:39.973Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-11-08T07:47:39.973Z] 26ca4d7c0dd4: Preparing [2024-11-08T07:47:39.973Z] 3ffcfcfc870b: Preparing [2024-11-08T07:47:39.973Z] 4750adb8d33e: Preparing [2024-11-08T07:47:39.973Z] 1e455e05eab1: Preparing [2024-11-08T07:47:39.973Z] 367b6b769faf: Preparing [2024-11-08T07:47:39.973Z] 63ca1fbb43ae: Preparing [2024-11-08T07:47:39.973Z] 63ca1fbb43ae: Waiting [2024-11-08T07:47:39.973Z] 26ca4d7c0dd4: Layer already exists [2024-11-08T07:47:39.973Z] 4750adb8d33e: Layer already exists [2024-11-08T07:47:39.974Z] 367b6b769faf: Layer already exists [2024-11-08T07:47:39.974Z] 3ffcfcfc870b: Layer already exists [2024-11-08T07:47:39.974Z] 1e455e05eab1: Layer already exists [2024-11-08T07:47:39.974Z] 63ca1fbb43ae: Layer already exists [2024-11-08T07:47:39.974Z] 8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3: digest: sha256:e9c7999c945d9896c76ade160d599986269618a765cf60a97cbdc4395619d9a9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:47:40.308Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:47:40.634Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2024-11-08T07:47:40.634Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-11-08T07:47:40.634Z] 26ca4d7c0dd4: Preparing [2024-11-08T07:47:40.634Z] 3ffcfcfc870b: Preparing [2024-11-08T07:47:40.634Z] 4750adb8d33e: Preparing [2024-11-08T07:47:40.634Z] 1e455e05eab1: Preparing [2024-11-08T07:47:40.634Z] 367b6b769faf: Preparing [2024-11-08T07:47:40.634Z] 63ca1fbb43ae: Preparing [2024-11-08T07:47:40.634Z] 63ca1fbb43ae: Waiting [2024-11-08T07:47:40.634Z] 26ca4d7c0dd4: Layer already exists [2024-11-08T07:47:40.634Z] 3ffcfcfc870b: Layer already exists [2024-11-08T07:47:40.634Z] 367b6b769faf: Layer already exists [2024-11-08T07:47:40.634Z] 4750adb8d33e: Layer already exists [2024-11-08T07:47:40.634Z] 1e455e05eab1: Layer already exists [2024-11-08T07:47:40.634Z] 63ca1fbb43ae: Layer already exists [2024-11-08T07:47:40.634Z] main: digest: sha256:e9c7999c945d9896c76ade160d599986269618a765cf60a97cbdc4395619d9a9 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-11-08T07:47:40.723Z] ===================================================== [Pipeline] echo [2024-11-08T07:47:40.744Z] taggedImages: [2024-11-08T07:47:40.744Z] - nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a [2024-11-08T07:47:40.744Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2024-11-08T07:47:40.744Z] - nexus3.edgexfoundry.org:10004/device-rest:4.0.0-dev.3 [2024-11-08T07:47:40.744Z] - nexus3.edgexfoundry.org:10004/device-rest:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 [2024-11-08T07:47:40.744Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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-11-08T07:47:41.174Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T07:47:41.174Z] [2024-11-08T07:47:41.174Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:47:41.483Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T07:47:41.483Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-08T07:47:41.483Z] 5eb5b503b376: Pulling fs layer [2024-11-08T07:47:41.483Z] 5c69ac0246d0: Pulling fs layer [2024-11-08T07:47:41.483Z] ec43610c2a17: Pulling fs layer [2024-11-08T07:47:41.483Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-08T07:47:41.483Z] 33b1e0a273af: Pulling fs layer [2024-11-08T07:47:41.483Z] 5d3b04190fa2: Pulling fs layer [2024-11-08T07:47:41.483Z] 2f39f015ded8: Pulling fs layer [2024-11-08T07:47:41.483Z] 3a2ae6a8a46f: Waiting [2024-11-08T07:47:41.483Z] 33b1e0a273af: Waiting [2024-11-08T07:47:41.483Z] 5d3b04190fa2: Waiting [2024-11-08T07:47:41.483Z] 2f39f015ded8: Waiting [2024-11-08T07:47:41.483Z] 5c69ac0246d0: Verifying Checksum [2024-11-08T07:47:41.483Z] 5c69ac0246d0: Download complete [2024-11-08T07:47:41.483Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-08T07:47:41.483Z] 3a2ae6a8a46f: Download complete [2024-11-08T07:47:41.483Z] 33b1e0a273af: Verifying Checksum [2024-11-08T07:47:41.483Z] 33b1e0a273af: Download complete [2024-11-08T07:47:41.483Z] 5d3b04190fa2: Verifying Checksum [2024-11-08T07:47:41.483Z] 5d3b04190fa2: Download complete [2024-11-08T07:47:41.483Z] ec43610c2a17: Verifying Checksum [2024-11-08T07:47:41.483Z] ec43610c2a17: Download complete [2024-11-08T07:47:41.740Z] 5eb5b503b376: Verifying Checksum [2024-11-08T07:47:41.740Z] 5eb5b503b376: Download complete [2024-11-08T07:47:42.308Z] 2f39f015ded8: Download complete [2024-11-08T07:47:43.248Z] 5eb5b503b376: Pull complete [2024-11-08T07:47:43.248Z] 5c69ac0246d0: Pull complete [2024-11-08T07:47:43.507Z] ec43610c2a17: Pull complete [2024-11-08T07:47:43.767Z] 3a2ae6a8a46f: Pull complete [2024-11-08T07:47:44.025Z] 33b1e0a273af: Pull complete [2024-11-08T07:47:44.025Z] 5d3b04190fa2: Pull complete [2024-11-08T07:47:45.301Z] using credential edgex-jenkins-ssh [2024-11-08T07:47:45.331Z] Cloning the remote Git repository [2024-11-08T07:47:45.397Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-11-08T07:47:45.550Z] > git init /w/workspace/device-rest-go/180 # timeout=10 [2024-11-08T07:47:45.790Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-11-08T07:47:45.792Z] > git --version # timeout=10 [2024-11-08T07:47:45.818Z] > git --version # 'git version 2.25.1' [2024-11-08T07:47:45.822Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-08T07:47:46.035Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T07:47:48.221Z] 2f39f015ded8: Pull complete [2024-11-08T07:47:48.221Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-08T07:47:48.221Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T07:47:48.221Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T07:47:48.341Z] prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container [2024-11-08T07:47:48.368Z] $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T07:47:49.107Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-11-08T07:47:49.139Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-08T07:47:50.377Z] Avoid second fetch [2024-11-08T07:47:50.378Z] Checking out Revision 8257fd91468d3a13c9b08aa2e5cf32be113d097a (main) [2024-11-08T07:47:50.402Z] > git config core.sparsecheckout # timeout=10 [2024-11-08T07:47:50.493Z] > git checkout -f 8257fd91468d3a13c9b08aa2e5cf32be113d097a # timeout=10 [2024-11-08T07:47:51.270Z] Commit message: "Merge pull request #425 from jackchenjc/edgex-go-issue-4916-2" [2024-11-08T07:47:51.762Z] $ docker top fcbd21e4deea33358fe219a1985fa7ab68f6ce913b89293cf6bcc878a6ea74ef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T07:47:52.161Z] ---> job-cost.sh [2024-11-08T07:47:52.161Z] lf-activate-venv: SKIPPING [2024-11-08T07:47:52.161Z] INFO: No Stack... [2024-11-08T07:47:52.420Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T07:47:52.988Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T07:47:53.276Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2024-11-08T07:47:53.276Z] + cut -d, -f6 [Pipeline] lock [2024-11-08T07:47:53.291Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] [2024-11-08T07:47:53.302Z] Resource [jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] did not exist. Created. [2024-11-08T07:47:53.310Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T07:47:53.636Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-08T07:47:53.659Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T07:47:53.669Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T07:47:53.689Z] $ docker stop --time=1 fcbd21e4deea33358fe219a1985fa7ab68f6ce913b89293cf6bcc878a6ea74ef [2024-11-08T07:47:54.840Z] $ docker rm -f --volumes fcbd21e4deea33358fe219a1985fa7ab68f6ce913b89293cf6bcc878a6ea74ef [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T07:47:56.606Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-08T07:47:56.606Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T07:47:56.606Z] Dload Upload Total Spent Left Speed [2024-11-08T07:47:56.606Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 231k 0 --:--:-- --:--:-- --:--:-- 231k [Pipeline] sh [2024-11-08T07:47:56.998Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-08T07:47:58.440Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-11-08T07:47:58.441Z] + sudo tee /etc/docker/daemon.new [2024-11-08T07:47:58.441Z] { [2024-11-08T07:47:58.441Z] "registry-mirrors": [ [2024-11-08T07:47:58.441Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-08T07:47:58.441Z] ], [2024-11-08T07:47:58.441Z] "bip": "10.250.0.254/24", [2024-11-08T07:47:58.441Z] "hosts": [ [2024-11-08T07:47:58.441Z] "tcp://0.0.0.0:5555", [2024-11-08T07:47:58.441Z] "unix:///var/run/docker.sock" [2024-11-08T07:47:58.441Z] ], [2024-11-08T07:47:58.441Z] "mtu": 1458, [2024-11-08T07:47:58.441Z] "selinux-enabled": true, [2024-11-08T07:47:58.441Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-08T07:47:58.441Z] } [Pipeline] sh [2024-11-08T07:47:58.784Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-08T07:47:59.134Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T07:48:17.579Z] provisioning config files... [2024-11-08T07:48:17.618Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/180@tmp/config8327963639528657954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T07:48:18.129Z] ---> ****-login.sh [2024-11-08T07:48:18.129Z] nexus3.edgexfoundry.org:10001 [2024-11-08T07:48:18.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:48:18.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:48:18.725Z] Configure a credential helper to remove this warning. See [2024-11-08T07:48:18.725Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:48:18.725Z] [2024-11-08T07:48:18.725Z] Login Succeeded [2024-11-08T07:48:18.725Z] nexus3.edgexfoundry.org:10002 [2024-11-08T07:48:19.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:48:19.277Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:48:19.277Z] Configure a credential helper to remove this warning. See [2024-11-08T07:48:19.277Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:48:19.277Z] [2024-11-08T07:48:19.277Z] Login Succeeded [2024-11-08T07:48:19.277Z] nexus3.edgexfoundry.org:10003 [2024-11-08T07:48:19.551Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:48:19.551Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:48:19.551Z] Configure a credential helper to remove this warning. See [2024-11-08T07:48:19.551Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:48:19.551Z] [2024-11-08T07:48:19.551Z] Login Succeeded [2024-11-08T07:48:19.551Z] nexus3.edgexfoundry.org:10004 [2024-11-08T07:48:19.825Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:48:20.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:48:20.100Z] Configure a credential helper to remove this warning. See [2024-11-08T07:48:20.100Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:48:20.100Z] [2024-11-08T07:48:20.100Z] Login Succeeded [2024-11-08T07:48:20.100Z] ****.io [2024-11-08T07:48:20.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T07:48:20.644Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T07:48:20.644Z] Configure a credential helper to remove this warning. See [2024-11-08T07:48:20.644Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T07:48:20.644Z] [2024-11-08T07:48:20.644Z] Login Succeeded [2024-11-08T07:48:20.644Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T07:48:20.660Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-08T07:48:21.096Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T07:48:21.114Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T07:48:21.137Z] ========================================================= [2024-11-08T07:48:21.137Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-08T07:48:21.137Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:48:21.519Z] + 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-11-08T07:48:21.519Z] Sending build context to Docker daemon 140.8kB [2024-11-08T07:48:21.801Z] Step 1/12 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T07:48:21.801Z] Step 2/12 : FROM ${BASE} AS builder [2024-11-08T07:48:22.079Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-08T07:48:22.079Z] cf04c63912e1: Pulling fs layer [2024-11-08T07:48:22.079Z] 55b35a11ae5e: Pulling fs layer [2024-11-08T07:48:22.079Z] a37a00ec5f00: Pulling fs layer [2024-11-08T07:48:22.079Z] 50b3750afda1: Pulling fs layer [2024-11-08T07:48:22.079Z] 4f4fb700ef54: Pulling fs layer [2024-11-08T07:48:22.079Z] 50b3750afda1: Waiting [2024-11-08T07:48:22.079Z] 80978eb59214: Pulling fs layer [2024-11-08T07:48:22.079Z] 4f4fb700ef54: Waiting [2024-11-08T07:48:22.079Z] c9f46d7d2bd2: Pulling fs layer [2024-11-08T07:48:22.079Z] 80978eb59214: Waiting [2024-11-08T07:48:22.079Z] c5a475d317c9: Pulling fs layer [2024-11-08T07:48:22.079Z] c9f46d7d2bd2: Waiting [2024-11-08T07:48:22.079Z] c5a475d317c9: Waiting [2024-11-08T07:48:22.079Z] 55b35a11ae5e: Verifying Checksum [2024-11-08T07:48:22.079Z] 55b35a11ae5e: Download complete [2024-11-08T07:48:22.079Z] 50b3750afda1: Verifying Checksum [2024-11-08T07:48:22.079Z] 50b3750afda1: Download complete [2024-11-08T07:48:22.079Z] 4f4fb700ef54: Verifying Checksum [2024-11-08T07:48:22.079Z] 4f4fb700ef54: Download complete [2024-11-08T07:48:22.079Z] 80978eb59214: Verifying Checksum [2024-11-08T07:48:22.079Z] 80978eb59214: Download complete [2024-11-08T07:48:22.079Z] cf04c63912e1: Verifying Checksum [2024-11-08T07:48:22.079Z] cf04c63912e1: Download complete [2024-11-08T07:48:23.063Z] c5a475d317c9: Verifying Checksum [2024-11-08T07:48:23.063Z] c5a475d317c9: Download complete [2024-11-08T07:48:25.065Z] cf04c63912e1: Pull complete [2024-11-08T07:48:25.673Z] a37a00ec5f00: Download complete [2024-11-08T07:48:25.673Z] 55b35a11ae5e: Pull complete [2024-11-08T07:48:26.654Z] c9f46d7d2bd2: Verifying Checksum [2024-11-08T07:48:26.654Z] c9f46d7d2bd2: Download complete [2024-11-08T07:48:41.739Z] a37a00ec5f00: Pull complete [2024-11-08T07:48:41.740Z] 50b3750afda1: Pull complete [2024-11-08T07:48:41.740Z] 4f4fb700ef54: Pull complete [2024-11-08T07:48:41.740Z] 80978eb59214: Pull complete [2024-11-08T07:48:50.043Z] c9f46d7d2bd2: Pull complete [2024-11-08T07:48:51.017Z] c5a475d317c9: Pull complete [2024-11-08T07:48:51.017Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-08T07:48:51.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-08T07:48:51.017Z] ---> be29e6b0f0d4 [2024-11-08T07:48:51.017Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-11-08T07:48:52.450Z] ---> Running in 68dd1fd286ea [2024-11-08T07:48:52.450Z] Removing intermediate container 68dd1fd286ea [2024-11-08T07:48:52.450Z] ---> 17a01eebfcb2 [2024-11-08T07:48:52.450Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T07:48:52.722Z] ---> Running in ab5371d049b8 [2024-11-08T07:48:52.995Z] Removing intermediate container ab5371d049b8 [2024-11-08T07:48:52.995Z] ---> 42105bfc1bf1 [2024-11-08T07:48:52.995Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T07:48:53.264Z] ---> Running in 1cf671caba30 [2024-11-08T07:48:53.539Z] Removing intermediate container 1cf671caba30 [2024-11-08T07:48:53.539Z] ---> 4430966eb099 [2024-11-08T07:48:53.539Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T07:48:53.813Z] ---> Running in 22f3eb1c5728 [2024-11-08T07:48:54.084Z] Removing intermediate container 22f3eb1c5728 [2024-11-08T07:48:54.084Z] ---> 5444942784b2 [2024-11-08T07:48:54.084Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T07:48:54.353Z] ---> Running in 5c59819f873c [2024-11-08T07:48:55.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T07:48:56.066Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T07:48:58.037Z] (1/4) Installing openssh-keygen (9.7_p1-r4) [2024-11-08T07:48:58.037Z] (2/4) Installing libedit (20240517.3.1-r0) [2024-11-08T07:48:58.037Z] (3/4) Installing openssh-client-common (9.7_p1-r4) [2024-11-08T07:48:58.037Z] (4/4) Installing openssh-client-default (9.7_p1-r4) [2024-11-08T07:48:58.037Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T07:48:58.037Z] OK: 242 MiB in 58 packages [2024-11-08T07:48:59.468Z] Removing intermediate container 5c59819f873c [2024-11-08T07:48:59.468Z] ---> 129e7aed5d0a [2024-11-08T07:48:59.468Z] Step 8/12 : WORKDIR /device-rest-go [2024-11-08T07:48:59.468Z] ---> Running in 9d42f4692ae5 [2024-11-08T07:48:59.738Z] Removing intermediate container 9d42f4692ae5 [2024-11-08T07:48:59.738Z] ---> 1999d21de68d [2024-11-08T07:48:59.738Z] Step 9/12 : COPY go.mod vendor* ./ [2024-11-08T07:49:00.331Z] ---> 1073232498e1 [2024-11-08T07:49:00.331Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T07:49:00.625Z] ---> Running in e7ffdef0a1f1 [2024-11-08T07:50:52.381Z] Removing intermediate container e7ffdef0a1f1 [2024-11-08T07:50:52.381Z] ---> f43e9d98a04d [2024-11-08T07:50:52.381Z] Step 11/12 : COPY . . [2024-11-08T07:50:52.381Z] ---> a71ef257337e [2024-11-08T07:50:52.381Z] Step 12/12 : RUN $MAKE [2024-11-08T07:50:52.381Z] ---> Running in 9178a5506aa2 [2024-11-08T07:50:52.381Z] noop [2024-11-08T07:50:53.350Z] Removing intermediate container 9178a5506aa2 [2024-11-08T07:50:53.350Z] ---> 2ed480b2f06c [2024-11-08T07:50:53.350Z] Successfully built 2ed480b2f06c [2024-11-08T07:50:53.350Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:50:53.748Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T07:50:53.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T07:50:54.046Z] prd-ubuntu20.04-docker-arm64-4c-16g-25893 does not seem to be running inside a container [2024-11-08T07:50:54.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/180 -v /w/workspace/device-rest-go/180:/w/workspace/device-rest-go/180:rw,z -v /w/workspace/device-rest-go/180@tmp:/w/workspace/device-rest-go/180@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 ******** ci-base-image-arm64 cat [2024-11-08T07:50:55.523Z] $ docker top 96689d2083855bd95193f52b69c4cb46760055ad110084408ccbbccba0ff1922 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T07:50:56.399Z] + go version [2024-11-08T07:50:56.399Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-08T07:50:56.418Z] $ docker stop --time=1 96689d2083855bd95193f52b69c4cb46760055ad110084408ccbbccba0ff1922 [2024-11-08T07:50:58.098Z] $ docker rm -f --volumes 96689d2083855bd95193f52b69c4cb46760055ad110084408ccbbccba0ff1922 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:50:58.700Z] + docker inspect -f . ci-base-image-arm64 [2024-11-08T07:50:58.700Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T07:50:58.910Z] prd-ubuntu20.04-docker-arm64-4c-16g-25893 does not seem to be running inside a container [2024-11-08T07:50:58.980Z] $ 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/180 -v /w/workspace/device-rest-go/180:/w/workspace/device-rest-go/180:rw,z -v /w/workspace/device-rest-go/180@tmp:/w/workspace/device-rest-go/180@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 ******** ci-base-image-arm64 cat [2024-11-08T07:51:00.279Z] $ docker top 8b4d230da730c1a52c8d0f320b86213f4b1c9fe4ccf45cee8c248dfbc0ebf6b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T07:51:01.135Z] + git config --global --add safe.directory /w/workspace/device-rest-go/180 [Pipeline] fileExists [Pipeline] sh [2024-11-08T07:51:01.812Z] + make test [2024-11-08T07:51:01.812Z] go test ./... -coverprofile=coverage.out ./... [2024-11-08T07:51:08.501Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-11-08T07:55:00.402Z] github.com/edgexfoundry/device-rest-go/cmd coverage: 0.0% of statements [2024-11-08T07:55:03.000Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements [2024-11-08T07:55:03.969Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-08T07:55:03.969Z] go vet ./... [2024-11-08T07:56:00.497Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-08T07:56:00.497Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-08T07:56:00.497Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-08T07:56:00.520Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-08T07:56:00.547Z] $ docker stop --time=1 8b4d230da730c1a52c8d0f320b86213f4b1c9fe4ccf45cee8c248dfbc0ebf6b8 [2024-11-08T07:56:02.720Z] $ docker rm -f --volumes 8b4d230da730c1a52c8d0f320b86213f4b1c9fe4ccf45cee8c248dfbc0ebf6b8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T07:56:04.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-08T07:56:04.632Z] Warning: overwriting stash ‘coverage-report’ [2024-11-08T07:56:05.403Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-08T07:56:05.829Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-08T07:56:06.188Z] + ls -al . [2024-11-08T07:56:06.188Z] total 240 [2024-11-08T07:56:06.188Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 07:51 . [2024-11-08T07:56:06.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 07:47 .. [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 07:47 .dockerignore [2024-11-08T07:56:06.188Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 07:47 .git [2024-11-08T07:56:06.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:47 .github [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 264 Nov 8 07:47 .gitignore [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 07:47 .golangci.yml [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 20138 Nov 8 07:47 Attribution.txt [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 17685 Nov 8 07:47 CHANGELOG.md [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 1697 Nov 8 07:47 Dockerfile [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 07:47 GOVERNANCE.md [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 07:47 Jenkinsfile [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 07:47 LICENSE [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 2598 Nov 8 07:47 Makefile [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 07:47 OWNERS.md [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 3989 Nov 8 07:47 README.md [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 11 Nov 8 07:44 VERSION [2024-11-08T07:56:06.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 07:47 bin [2024-11-08T07:56:06.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:47 cmd [2024-11-08T07:56:06.188Z] -rw-r--r-- 1 jenkins jenkins 14565 Nov 8 07:55 coverage.out [2024-11-08T07:56:06.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 07:47 driver [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 6439 Nov 8 07:47 go.mod [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 88084 Nov 8 07:47 go.sum [2024-11-08T07:56:06.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 07:47 openapi [2024-11-08T07:56:06.188Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 07:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T07:56:06.649Z] + 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=8257fd91468d3a13c9b08aa2e5cf32be113d097a --label arch=arm64 --label version=4.0.0-dev.3 . [2024-11-08T07:56:06.649Z] Sending build context to Docker daemon 156.2kB [2024-11-08T07:56:06.924Z] Step 1/26 : ARG BASE=golang:1.23-alpine3.20 [2024-11-08T07:56:06.924Z] Step 2/26 : FROM ${BASE} AS builder [2024-11-08T07:56:06.924Z] ---> 2ed480b2f06c [2024-11-08T07:56:06.924Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-11-08T07:56:07.199Z] ---> Running in f6f8c5816cbc [2024-11-08T07:56:07.475Z] Removing intermediate container f6f8c5816cbc [2024-11-08T07:56:07.475Z] ---> 1d8e820a3404 [2024-11-08T07:56:07.475Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-11-08T07:56:07.475Z] ---> Running in 1cb90ea4dbc5 [2024-11-08T07:56:08.081Z] Removing intermediate container 1cb90ea4dbc5 [2024-11-08T07:56:08.081Z] ---> 961b9182e6a9 [2024-11-08T07:56:08.081Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-11-08T07:56:08.081Z] ---> Running in b5461eb5cbba [2024-11-08T07:56:08.353Z] Removing intermediate container b5461eb5cbba [2024-11-08T07:56:08.353Z] ---> 8d16a11c6a8e [2024-11-08T07:56:08.353Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-11-08T07:56:08.631Z] ---> Running in d1be3b718d02 [2024-11-08T07:56:08.903Z] Removing intermediate container d1be3b718d02 [2024-11-08T07:56:08.903Z] ---> d1b2004c9ec3 [2024-11-08T07:56:08.903Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-11-08T07:56:08.903Z] ---> Running in 935516c8e68b [2024-11-08T07:56:10.344Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T07:56:10.615Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T07:56:12.593Z] OK: 242 MiB in 58 packages [2024-11-08T07:56:13.582Z] Removing intermediate container 935516c8e68b [2024-11-08T07:56:13.582Z] ---> 3e59c36e8da1 [2024-11-08T07:56:13.582Z] Step 8/26 : WORKDIR /device-rest-go [2024-11-08T07:56:13.582Z] ---> Running in 73e2606ff459 [2024-11-08T07:56:14.179Z] Removing intermediate container 73e2606ff459 [2024-11-08T07:56:14.179Z] ---> 4faa7f1e1a53 [2024-11-08T07:56:14.179Z] Step 9/26 : COPY go.mod vendor* ./ [2024-11-08T07:56:14.449Z] ---> 0775054822e1 [2024-11-08T07:56:14.449Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-08T07:56:14.720Z] ---> Running in 7652227a4e3c [2024-11-08T07:56:17.322Z] Removing intermediate container 7652227a4e3c [2024-11-08T07:56:17.322Z] ---> 96fffaf362e5 [2024-11-08T07:56:17.322Z] Step 11/26 : COPY . . [2024-11-08T07:56:17.914Z] ---> 637a9ab9668e [2024-11-08T07:56:17.914Z] Step 12/26 : RUN $MAKE [2024-11-08T07:56:17.914Z] ---> Running in 1879b52a71e2 [2024-11-08T07:56:19.330Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=4.0.0-dev.3 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=v4.0.0-dev.2 -bindnow" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2024-11-08T08:00:11.230Z] Removing intermediate container 1879b52a71e2 [2024-11-08T08:00:11.230Z] ---> 1ec95d435bd5 [2024-11-08T08:00:11.230Z] Step 13/26 : FROM alpine:3.20 [2024-11-08T08:00:11.230Z] 3.20: Pulling from library/alpine [2024-11-08T08:00:11.230Z] cf04c63912e1: Already exists [2024-11-08T08:00:11.230Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-08T08:00:11.230Z] Status: Downloaded newer image for alpine:3.20 [2024-11-08T08:00:11.230Z] ---> c157a85ed455 [2024-11-08T08:00:11.230Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-08T08:00:11.230Z] ---> Running in 2bd8f702211f [2024-11-08T08:00:11.230Z] Removing intermediate container 2bd8f702211f [2024-11-08T08:00:11.230Z] ---> be38cefc6585 [2024-11-08T08:00:11.230Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-11-08T08:00:11.230Z] ---> Running in 6d4ffd8c9634 [2024-11-08T08:00:11.230Z] Removing intermediate container 6d4ffd8c9634 [2024-11-08T08:00:11.230Z] ---> d4977d7c75bb [2024-11-08T08:00:11.230Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-11-08T08:00:11.230Z] ---> Running in 9b047659dbde [2024-11-08T08:00:11.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T08:00:11.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T08:00:11.230Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-08T08:00:11.230Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T08:00:11.230Z] OK: 9 MiB in 15 packages [2024-11-08T08:00:12.193Z] Removing intermediate container 9b047659dbde [2024-11-08T08:00:12.193Z] ---> 3ae66f23a9c0 [2024-11-08T08:00:12.193Z] Step 17/26 : RUN apk --no-cache upgrade [2024-11-08T08:00:12.193Z] ---> Running in e07c6978c5ba [2024-11-08T08:00:13.150Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T08:00:16.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T08:00:16.414Z] Upgrading critical system libraries and apk-tools: [2024-11-08T08:00:16.414Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-08T08:00:16.414Z] Executing busybox-1.36.1-r29.trigger [2024-11-08T08:00:16.414Z] Continuing the upgrade transaction with new apk-tools: [2024-11-08T08:00:16.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-08T08:00:16.683Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-08T08:00:18.627Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T08:00:18.627Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-08T08:00:18.627Z] OK: 9 MiB in 15 packages [2024-11-08T08:00:20.038Z] Removing intermediate container e07c6978c5ba [2024-11-08T08:00:20.038Z] ---> 14552b5667a7 [2024-11-08T08:00:20.038Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-11-08T08:00:21.986Z] ---> 91e54b85cc65 [2024-11-08T08:00:21.986Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-11-08T08:00:22.253Z] ---> 3122423b66fb [2024-11-08T08:00:22.253Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-11-08T08:00:22.839Z] ---> e1c09491a6fd [2024-11-08T08:00:22.839Z] Step 21/26 : EXPOSE 59986 [2024-11-08T08:00:22.839Z] ---> Running in 1f41022aa825 [2024-11-08T08:00:23.109Z] Removing intermediate container 1f41022aa825 [2024-11-08T08:00:23.109Z] ---> 2dfcd3dccebd [2024-11-08T08:00:23.109Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-11-08T08:00:23.109Z] ---> Running in 25d50bdfd74c [2024-11-08T08:00:23.693Z] Removing intermediate container 25d50bdfd74c [2024-11-08T08:00:23.693Z] ---> 4a1fc685668c [2024-11-08T08:00:23.693Z] Step 23/26 : CMD ["-cp=keeper.http://edgex-core-keeper:59890", "--registry"] [2024-11-08T08:00:23.693Z] ---> Running in b748ef19b95d [2024-11-08T08:00:23.963Z] Removing intermediate container b748ef19b95d [2024-11-08T08:00:23.963Z] ---> 9a3ef76cbbd3 [2024-11-08T08:00:23.963Z] Step 24/26 : LABEL arch=arm64 [2024-11-08T08:00:23.963Z] ---> Running in 39b004aa06e5 [2024-11-08T08:00:24.548Z] Removing intermediate container 39b004aa06e5 [2024-11-08T08:00:24.548Z] ---> 45775cfeb66a [2024-11-08T08:00:24.548Z] Step 25/26 : LABEL git_sha=8257fd91468d3a13c9b08aa2e5cf32be113d097a [2024-11-08T08:00:24.548Z] ---> Running in e098307ce1f5 [2024-11-08T08:00:24.817Z] Removing intermediate container e098307ce1f5 [2024-11-08T08:00:24.817Z] ---> d5d003512963 [2024-11-08T08:00:24.817Z] Step 26/26 : LABEL version=4.0.0-dev.3 [2024-11-08T08:00:24.817Z] ---> Running in 73844b50c321 [2024-11-08T08:00:25.405Z] Removing intermediate container 73844b50c321 [2024-11-08T08:00:25.405Z] ---> f785c80ba728 [2024-11-08T08:00:25.405Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-08T08:00:25.405Z] Successfully built f785c80ba728 [2024-11-08T08:00:25.405Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T08:00:25.563Z] provisioning config files... [2024-11-08T08:00:25.580Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/180@tmp/config8021898959020703668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:00:25.937Z] ---> ****-login.sh [2024-11-08T08:00:25.937Z] nexus3.edgexfoundry.org:10001 [2024-11-08T08:00:26.208Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:00:26.208Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:00:26.208Z] Configure a credential helper to remove this warning. See [2024-11-08T08:00:26.208Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:00:26.208Z] [2024-11-08T08:00:26.208Z] Login Succeeded [2024-11-08T08:00:26.208Z] nexus3.edgexfoundry.org:10002 [2024-11-08T08:00:26.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:00:26.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:00:26.746Z] Configure a credential helper to remove this warning. See [2024-11-08T08:00:26.746Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:00:26.746Z] [2024-11-08T08:00:26.746Z] Login Succeeded [2024-11-08T08:00:26.746Z] nexus3.edgexfoundry.org:10003 [2024-11-08T08:00:27.017Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:00:27.017Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:00:27.017Z] Configure a credential helper to remove this warning. See [2024-11-08T08:00:27.017Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:00:27.017Z] [2024-11-08T08:00:27.017Z] Login Succeeded [2024-11-08T08:00:27.017Z] nexus3.edgexfoundry.org:10004 [2024-11-08T08:00:27.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:00:27.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:00:27.564Z] Configure a credential helper to remove this warning. See [2024-11-08T08:00:27.564Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:00:27.564Z] [2024-11-08T08:00:27.564Z] Login Succeeded [2024-11-08T08:00:27.564Z] ****.io [2024-11-08T08:00:27.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-08T08:00:28.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-08T08:00:28.100Z] Configure a credential helper to remove this warning. See [2024-11-08T08:00:28.100Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-08T08:00:28.100Z] [2024-11-08T08:00:28.100Z] Login Succeeded [2024-11-08T08:00:28.100Z] ---> ****-login.sh ends [Pipeline] } [2024-11-08T08:00:28.113Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-11-08T08:00:28.171Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-08T08:00:28.201Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-11-08T08:00:28.202Z] 8257fd91468d3a13c9b08aa2e5cf32be113d097a [2024-11-08T08:00:28.202Z] latest [2024-11-08T08:00:28.202Z] 4.0.0-dev.3 [2024-11-08T08:00:28.202Z] 8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 [2024-11-08T08:00:28.202Z] main [2024-11-08T08:00:28.202Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:28.573Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:28.947Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a [2024-11-08T08:00:28.947Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-11-08T08:00:28.947Z] 1c9782a008d8: Preparing [2024-11-08T08:00:28.947Z] 936a02ebbd85: Preparing [2024-11-08T08:00:28.947Z] b3ed039e97db: Preparing [2024-11-08T08:00:28.947Z] 53a6f4593dca: Preparing [2024-11-08T08:00:28.947Z] 89fb0c8b2bfd: Preparing [2024-11-08T08:00:28.947Z] 16113d51b718: Preparing [2024-11-08T08:00:28.947Z] 16113d51b718: Waiting [2024-11-08T08:00:29.215Z] 936a02ebbd85: Pushed [2024-11-08T08:00:29.215Z] 1c9782a008d8: Pushed [2024-11-08T08:00:29.215Z] 89fb0c8b2bfd: Pushed [2024-11-08T08:00:29.215Z] 16113d51b718: Layer already exists [2024-11-08T08:00:30.630Z] 53a6f4593dca: Pushed [2024-11-08T08:00:37.291Z] b3ed039e97db: Pushed [2024-11-08T08:00:37.291Z] 8257fd91468d3a13c9b08aa2e5cf32be113d097a: digest: sha256:98247163bb85d57e4773883c530888c3760b401386f4fcd05d226830e29bad68 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:37.669Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:38.031Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-11-08T08:00:38.031Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-11-08T08:00:38.031Z] 1c9782a008d8: Preparing [2024-11-08T08:00:38.031Z] 936a02ebbd85: Preparing [2024-11-08T08:00:38.031Z] b3ed039e97db: Preparing [2024-11-08T08:00:38.031Z] 53a6f4593dca: Preparing [2024-11-08T08:00:38.031Z] 89fb0c8b2bfd: Preparing [2024-11-08T08:00:38.031Z] 16113d51b718: Preparing [2024-11-08T08:00:38.031Z] 16113d51b718: Waiting [2024-11-08T08:00:38.031Z] 936a02ebbd85: Layer already exists [2024-11-08T08:00:38.031Z] b3ed039e97db: Layer already exists [2024-11-08T08:00:38.031Z] 53a6f4593dca: Layer already exists [2024-11-08T08:00:38.031Z] 1c9782a008d8: Layer already exists [2024-11-08T08:00:38.031Z] 89fb0c8b2bfd: Layer already exists [2024-11-08T08:00:38.031Z] 16113d51b718: Layer already exists [2024-11-08T08:00:38.298Z] latest: digest: sha256:98247163bb85d57e4773883c530888c3760b401386f4fcd05d226830e29bad68 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:38.671Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:39.027Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.3 [2024-11-08T08:00:39.027Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-11-08T08:00:39.027Z] 1c9782a008d8: Preparing [2024-11-08T08:00:39.027Z] 936a02ebbd85: Preparing [2024-11-08T08:00:39.027Z] b3ed039e97db: Preparing [2024-11-08T08:00:39.027Z] 53a6f4593dca: Preparing [2024-11-08T08:00:39.027Z] 89fb0c8b2bfd: Preparing [2024-11-08T08:00:39.027Z] 16113d51b718: Preparing [2024-11-08T08:00:39.027Z] 16113d51b718: Waiting [2024-11-08T08:00:39.027Z] 53a6f4593dca: Layer already exists [2024-11-08T08:00:39.027Z] b3ed039e97db: Layer already exists [2024-11-08T08:00:39.027Z] 89fb0c8b2bfd: Layer already exists [2024-11-08T08:00:39.027Z] 1c9782a008d8: Layer already exists [2024-11-08T08:00:39.027Z] 936a02ebbd85: Layer already exists [2024-11-08T08:00:39.027Z] 16113d51b718: Layer already exists [2024-11-08T08:00:39.293Z] 4.0.0-dev.3: digest: sha256:98247163bb85d57e4773883c530888c3760b401386f4fcd05d226830e29bad68 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:39.661Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:40.024Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 [2024-11-08T08:00:40.024Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-11-08T08:00:40.024Z] 1c9782a008d8: Preparing [2024-11-08T08:00:40.024Z] 936a02ebbd85: Preparing [2024-11-08T08:00:40.024Z] b3ed039e97db: Preparing [2024-11-08T08:00:40.024Z] 53a6f4593dca: Preparing [2024-11-08T08:00:40.024Z] 89fb0c8b2bfd: Preparing [2024-11-08T08:00:40.024Z] 16113d51b718: Preparing [2024-11-08T08:00:40.024Z] 16113d51b718: Waiting [2024-11-08T08:00:40.024Z] 1c9782a008d8: Layer already exists [2024-11-08T08:00:40.024Z] 936a02ebbd85: Layer already exists [2024-11-08T08:00:40.024Z] b3ed039e97db: Layer already exists [2024-11-08T08:00:40.024Z] 53a6f4593dca: Layer already exists [2024-11-08T08:00:40.024Z] 89fb0c8b2bfd: Layer already exists [2024-11-08T08:00:40.024Z] 16113d51b718: Layer already exists [2024-11-08T08:00:40.291Z] 8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3: digest: sha256:98247163bb85d57e4773883c530888c3760b401386f4fcd05d226830e29bad68 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:40.653Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:41.024Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2024-11-08T08:00:41.024Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-11-08T08:00:41.024Z] 1c9782a008d8: Preparing [2024-11-08T08:00:41.024Z] 936a02ebbd85: Preparing [2024-11-08T08:00:41.024Z] b3ed039e97db: Preparing [2024-11-08T08:00:41.024Z] 53a6f4593dca: Preparing [2024-11-08T08:00:41.024Z] 89fb0c8b2bfd: Preparing [2024-11-08T08:00:41.024Z] 16113d51b718: Preparing [2024-11-08T08:00:41.024Z] 16113d51b718: Waiting [2024-11-08T08:00:41.024Z] b3ed039e97db: Layer already exists [2024-11-08T08:00:41.024Z] 1c9782a008d8: Layer already exists [2024-11-08T08:00:41.024Z] 936a02ebbd85: Layer already exists [2024-11-08T08:00:41.024Z] 89fb0c8b2bfd: Layer already exists [2024-11-08T08:00:41.024Z] 53a6f4593dca: Layer already exists [2024-11-08T08:00:41.024Z] 16113d51b718: Layer already exists [2024-11-08T08:00:41.291Z] main: digest: sha256:98247163bb85d57e4773883c530888c3760b401386f4fcd05d226830e29bad68 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-11-08T08:00:41.380Z] ===================================================== [Pipeline] echo [2024-11-08T08:00:41.394Z] taggedImages: [2024-11-08T08:00:41.394Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a [2024-11-08T08:00:41.394Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-11-08T08:00:41.394Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:4.0.0-dev.3 [2024-11-08T08:00:41.394Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:8257fd91468d3a13c9b08aa2e5cf32be113d097a-4.0.0-dev.3 [2024-11-08T08:00:41.394Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:41.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T08:00:41.791Z] [2024-11-08T08:00:41.791Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:00:42.132Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T08:00:42.402Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-08T08:00:42.402Z] 8998bd30e6a1: Pulling fs layer [2024-11-08T08:00:42.402Z] 04944245beec: Pulling fs layer [2024-11-08T08:00:42.402Z] 699f458cf7ca: Pulling fs layer [2024-11-08T08:00:42.402Z] 765212b225bb: Pulling fs layer [2024-11-08T08:00:42.402Z] f23df028b6ca: Pulling fs layer [2024-11-08T08:00:42.402Z] d65c8cfc05b1: Pulling fs layer [2024-11-08T08:00:42.402Z] 2437ff75d9bd: Pulling fs layer [2024-11-08T08:00:42.402Z] 765212b225bb: Waiting [2024-11-08T08:00:42.402Z] f23df028b6ca: Waiting [2024-11-08T08:00:42.402Z] d65c8cfc05b1: Waiting [2024-11-08T08:00:42.402Z] 2437ff75d9bd: Waiting [2024-11-08T08:00:42.402Z] 04944245beec: Verifying Checksum [2024-11-08T08:00:42.402Z] 04944245beec: Download complete [2024-11-08T08:00:42.402Z] 765212b225bb: Verifying Checksum [2024-11-08T08:00:42.402Z] 765212b225bb: Download complete [2024-11-08T08:00:42.402Z] f23df028b6ca: Download complete [2024-11-08T08:00:42.402Z] d65c8cfc05b1: Verifying Checksum [2024-11-08T08:00:42.402Z] d65c8cfc05b1: Download complete [2024-11-08T08:00:42.671Z] 699f458cf7ca: Verifying Checksum [2024-11-08T08:00:42.671Z] 699f458cf7ca: Download complete [2024-11-08T08:00:42.940Z] 8998bd30e6a1: Verifying Checksum [2024-11-08T08:00:45.535Z] 2437ff75d9bd: Verifying Checksum [2024-11-08T08:00:45.535Z] 2437ff75d9bd: Download complete [2024-11-08T08:00:47.480Z] 8998bd30e6a1: Pull complete [2024-11-08T08:00:48.064Z] 04944245beec: Pull complete [2024-11-08T08:00:49.472Z] 699f458cf7ca: Pull complete [2024-11-08T08:00:49.740Z] 765212b225bb: Pull complete [2024-11-08T08:00:50.711Z] f23df028b6ca: Pull complete [2024-11-08T08:00:50.979Z] d65c8cfc05b1: Pull complete [2024-11-08T08:01:09.193Z] 2437ff75d9bd: Pull complete [2024-11-08T08:01:09.193Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-08T08:01:09.193Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-08T08:01:09.193Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:01:09.413Z] prd-ubuntu20.04-docker-arm64-4c-16g-25893 does not seem to be running inside a container [2024-11-08T08:01:09.492Z] $ 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/180 -v /w/workspace/device-rest-go/180:/w/workspace/device-rest-go/180:rw,z -v /w/workspace/device-rest-go/180@tmp:/w/workspace/device-rest-go/180@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-08T08:01:12.545Z] $ docker top 6a03a7465e5849ea3b0821d444a32858f4514161b64b1152297d570df74a7733 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:01:13.409Z] ---> job-cost.sh [2024-11-08T08:01:13.409Z] lf-activate-venv: SKIPPING [2024-11-08T08:01:13.409Z] INFO: No Stack... [2024-11-08T08:01:13.677Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-08T08:01:14.636Z] INFO: Archiving Costs [Pipeline] sh [2024-11-08T08:01:14.957Z] + cut -d, -f6 [2024-11-08T08:01:15.226Z] + cat /w/workspace/device-rest-go/180/archives/cost.csv [Pipeline] lock [2024-11-08T08:01:15.286Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] [2024-11-08T08:01:15.298Z] Resource [jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] did not exist. Created. [2024-11-08T08:01:15.305Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T08:01:15.978Z] /w/workspace/device-rest-go/180@tmp/durable-a146dc6e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-08T08:01:16.632Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-08T08:01:16.661Z] Warning: overwriting stash ‘stack-cost’ [2024-11-08T08:01:16.701Z] Stashed 1 file(s) [Pipeline] } [2024-11-08T08:01:16.717Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-180-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-08T08:01:16.745Z] $ docker stop --time=1 6a03a7465e5849ea3b0821d444a32858f4514161b64b1152297d570df74a7733 [2024-11-08T08:01:18.595Z] $ docker rm -f --volumes 6a03a7465e5849ea3b0821d444a32858f4514161b64b1152297d570df74a7733 [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-11-08T08:01:19.102Z] provisioning config files... [2024-11-08T08:01:19.112Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4291077653207960725tmp [Pipeline] { [Pipeline] sh [2024-11-08T08:01:19.415Z] + set +x [2024-11-08T08:01:19.415Z] + bash -s -- [2024-11-08T08:01:19.415Z] + curl -s https://codecov.io/bash [2024-11-08T08:01:19.675Z] [2024-11-08T08:01:19.675Z] _____ _ [2024-11-08T08:01:19.675Z] / ____| | | [2024-11-08T08:01:19.675Z] | | ___ __| | ___ ___ _____ __ [2024-11-08T08:01:19.675Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-08T08:01:19.675Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-08T08:01:19.675Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-08T08:01:19.675Z] Bash-1.0.6 [2024-11-08T08:01:19.675Z] [2024-11-08T08:01:19.675Z] [2024-11-08T08:01:19.675Z] ==> git version 2.25.1 found [2024-11-08T08:01:19.675Z] ==> 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-11-08T08:01:19.675Z] Release-Date: 2020-01-08 [2024-11-08T08:01:19.675Z] 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-11-08T08:01:19.675Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-08T08:01:19.675Z] ==> Jenkins CI detected. [2024-11-08T08:01:19.675Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2024-11-08T08:01:19.675Z] project root: . [2024-11-08T08:01:19.675Z] --> token set from env [2024-11-08T08:01:19.676Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-08T08:01:19.676Z] ==> Running gcov in . (disable via -X gcov) [2024-11-08T08:01:19.676Z] ==> Python coveragepy not found [2024-11-08T08:01:19.676Z] ==> Searching for coverage reports in: [2024-11-08T08:01:19.676Z] + . [2024-11-08T08:01:19.676Z] -> Found 1 reports [2024-11-08T08:01:19.676Z] ==> Detecting git/mercurial file structure [2024-11-08T08:01:19.676Z] ==> Reading reports [2024-11-08T08:01:19.676Z] + ./coverage.out bytes=14565 [2024-11-08T08:01:19.676Z] ==> Appending adjustments [2024-11-08T08:01:19.676Z] https://docs.codecov.io/docs/fixing-reports [2024-11-08T08:01:19.676Z] + Found adjustments [2024-11-08T08:01:19.936Z] ==> Gzipping contents [2024-11-08T08:01:19.936Z] 4.0K /tmp/codecov.o6qBUU.gz [2024-11-08T08:01:19.936Z] ==> Uploading reports [2024-11-08T08:01:19.936Z] url: https://codecov.io [2024-11-08T08:01:19.936Z] query: branch=main&commit=8257fd91468d3a13c9b08aa2e5cf32be113d097a&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-11-08T08:01:19.936Z] -> Pinging Codecov [2024-11-08T08:01:19.936Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=8257fd91468d3a13c9b08aa2e5cf32be113d097a&build=180&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F180%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-11-08T08:01:20.195Z] -> Uploading to [2024-11-08T08:01:20.195Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-rest-go/8257fd91468d3a13c9b08aa2e5cf32be113d097a/be3fa0e4-c253-4a99-8524-de572ebd319a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241108%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241108T080119Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=e3c000542a418a0c75a74a885488ccdb443fbe60eb9d0ea4b379c6e0cdb19191 [2024-11-08T08:01:20.195Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-08T08:01:20.195Z] Dload Upload Total Spent Left Speed [2024-11-08T08:01:20.196Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2327 0 0 100 2327 0 11187 --:--:-- --:--:-- --:--:-- 11133 100 2327 0 0 100 2327 0 10674 --:--:-- --:--:-- --:--:-- 10625 [2024-11-08T08:01:20.196Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] } [2024-11-08T08:01:20.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-11-08T08:01:20.444Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-11-08T08:01:20.466Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:01:20.771Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-11-08T08:01:20.771Z] [2024-11-08T08:01:20.771Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:01:21.085Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-11-08T08:01:21.085Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-11-08T08:01:21.085Z] 43c4264eed91: Already exists [2024-11-08T08:01:21.085Z] 4cc291be95ef: Already exists [2024-11-08T08:01:21.085Z] 2ac1f1163629: Already exists [2024-11-08T08:01:21.085Z] 5c3c966382ef: Already exists [2024-11-08T08:01:21.085Z] 4f4fb700ef54: Already exists [2024-11-08T08:01:21.085Z] d9c7d2e4e75e: Pulling fs layer [2024-11-08T08:01:21.085Z] 9c3e1370e548: Pulling fs layer [2024-11-08T08:01:21.345Z] d9c7d2e4e75e: Verifying Checksum [2024-11-08T08:01:21.345Z] d9c7d2e4e75e: Download complete [2024-11-08T08:01:21.607Z] d9c7d2e4e75e: Pull complete [2024-11-08T08:01:22.183Z] 9c3e1370e548: Verifying Checksum [2024-11-08T08:01:22.183Z] 9c3e1370e548: Download complete [2024-11-08T08:01:24.715Z] 9c3e1370e548: Pull complete [2024-11-08T08:01:24.715Z] Digest: sha256:2575774333c8f892fd046fcd820a1cbff9b068506fa87433bb127c6d9b243e5b [2024-11-08T08:01:24.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-11-08T08:01:24.716Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:01:24.825Z] prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container [2024-11-08T08:01:24.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-11-08T08:01:26.848Z] $ docker top 14b7350daa13cdaea897acd405aed4775d2a1afd1d70030e1efec54300956fe7 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T08:01:27.199Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo [2024-11-08T08:01:27.208Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2024-11-08T08:01:27.490Z] + set -o pipefail [2024-11-08T08:01:27.490Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2024-11-08T08:01:35.616Z] [2024-11-08T08:01:35.616Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2024-11-08T08:01:35.616Z] [2024-11-08T08:01:35.616Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/d3c38ba2-354c-4b6c-b08e-07b317eead52 [2024-11-08T08:01:35.616Z] [2024-11-08T08:01:35.616Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-11-08T08:01:35.616Z] [2024-11-08T08:01:35.616Z] [2024-11-08T08:01:35.616Z] You have reached your monthly limit of 200 private tests for your edgex-jenkins org. [2024-11-08T08:01:35.616Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-11-08T08:01:35.619Z] $ docker stop --time=1 14b7350daa13cdaea897acd405aed4775d2a1afd1d70030e1efec54300956fe7 [2024-11-08T08:01:39.957Z] $ docker rm -f --volumes 14b7350daa13cdaea897acd405aed4775d2a1afd1d70030e1efec54300956fe7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-08T08:01:40.886Z] + git log --format=format:%s -1 8257fd91468d3a13c9b08aa2e5cf32be113d097a [Pipeline] sh [2024-11-08T08:01:41.182Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T08:01:41.183Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:01:41.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T08:01:41.578Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:01:41.706Z] prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container [2024-11-08T08:01:41.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T08:01:42.286Z] $ docker top 5c4e1e4fd14c9a3f79bcd45a1e8d1aa3fa6cfd4be6919c5cc08a0ab4e7148d8e -eo pid,comm [2024-11-08T08:01:42.347Z] 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-11-08T08:01:42.347Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T08:01:42.410Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T08:01:42.410Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T08:01:42.520Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T08:01:42.515Z] $ docker exec 5c4e1e4fd14c9a3f79bcd45a1e8d1aa3fa6cfd4be6919c5cc08a0ab4e7148d8e ssh-agent [2024-11-08T08:01:42.635Z] SSH_AUTH_SOCK=/tmp/ssh-qbZX4PiBxQRH/agent.32 [2024-11-08T08:01:42.635Z] SSH_AGENT_PID=38 [2024-11-08T08:01:42.640Z] Running ssh-add (command line suppressed) [2024-11-08T08:01:42.731Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16328998515796371181.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16328998515796371181.key) [2024-11-08T08:01:42.752Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T08:01:43.046Z] + git semver tag [2024-11-08T08:01:43.305Z] 2024-11-08 08:01:43,198 [run_tag] DEBUG tag force:False [2024-11-08T08:01:43.305Z] 2024-11-08 08:01:43,198 [check_head_tag] DEBUG check head tag [2024-11-08T08:01:43.305Z] 2024-11-08 08:01:43,199 [execute] INFO git cat-file --batch-check [2024-11-08T08:01:43.305Z] 2024-11-08 08:01:43,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-11-08T08:01:43.305Z] 2024-11-08 08:01:43,203 [execute] INFO git cat-file --batch [2024-11-08T08:01:43.305Z] 2024-11-08 08:01:43,203 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-11-08T08:01:43.305Z] 2024-11-08 08:01:43,226 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-11-08T08:01:43.305Z] 2024-11-08 08:01:43,226 [execute] INFO git tag -a v4.0.0-dev.3 -m v4.0.0-dev.3 [2024-11-08T08:01:43.305Z] 2024-11-08 08:01:43,227 [execute] DEBUG Popen(['git', 'tag', '-a', 'v4.0.0-dev.3', '-m', 'v4.0.0-dev.3'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-11-08T08:01:43.305Z] 2024-11-08 08:01:43,232 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-11-08T08:01:43.305Z] 4.0.0-dev.3 [Pipeline] } [2024-11-08T08:01:43.307Z] $ docker exec --env ******** --env ******** 5c4e1e4fd14c9a3f79bcd45a1e8d1aa3fa6cfd4be6919c5cc08a0ab4e7148d8e ssh-agent -k [2024-11-08T08:01:43.404Z] unset SSH_AUTH_SOCK; [2024-11-08T08:01:43.404Z] unset SSH_AGENT_PID; [2024-11-08T08:01:43.404Z] echo Agent pid 38 killed; [2024-11-08T08:01:43.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T08:01:43.753Z] + git semver [Pipeline] } [2024-11-08T08:01:44.017Z] $ docker stop --time=1 5c4e1e4fd14c9a3f79bcd45a1e8d1aa3fa6cfd4be6919c5cc08a0ab4e7148d8e [2024-11-08T08:01:45.272Z] $ docker rm -f --volumes 5c4e1e4fd14c9a3f79bcd45a1e8d1aa3fa6cfd4be6919c5cc08a0ab4e7148d8e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:01:45.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-11-08T08:01:45.700Z] [2024-11-08T08:01:45.700Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:01:46.002Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-11-08T08:01:46.003Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-11-08T08:01:46.003Z] ab5ef0e58194: Pulling fs layer [2024-11-08T08:01:46.003Z] 9712f1f96733: Pulling fs layer [2024-11-08T08:01:46.003Z] 63f879dbbcfc: Pulling fs layer [2024-11-08T08:01:46.003Z] 0d9ebad4ef96: Pulling fs layer [2024-11-08T08:01:46.003Z] e9a5061849ea: Pulling fs layer [2024-11-08T08:01:46.003Z] d747dcd14b5f: Pulling fs layer [2024-11-08T08:01:46.003Z] 2de7ff778b66: Pulling fs layer [2024-11-08T08:01:46.003Z] 0d9ebad4ef96: Waiting [2024-11-08T08:01:46.003Z] d747dcd14b5f: Waiting [2024-11-08T08:01:46.003Z] 2de7ff778b66: Waiting [2024-11-08T08:01:46.003Z] e9a5061849ea: Waiting [2024-11-08T08:01:46.003Z] 9712f1f96733: Verifying Checksum [2024-11-08T08:01:46.003Z] 9712f1f96733: Download complete [2024-11-08T08:01:46.262Z] 63f879dbbcfc: Verifying Checksum [2024-11-08T08:01:46.262Z] 63f879dbbcfc: Download complete [2024-11-08T08:01:46.520Z] 0d9ebad4ef96: Verifying Checksum [2024-11-08T08:01:46.520Z] 0d9ebad4ef96: Download complete [2024-11-08T08:01:46.520Z] d747dcd14b5f: Verifying Checksum [2024-11-08T08:01:46.520Z] d747dcd14b5f: Download complete [2024-11-08T08:01:46.520Z] e9a5061849ea: Verifying Checksum [2024-11-08T08:01:46.520Z] e9a5061849ea: Download complete [2024-11-08T08:01:46.520Z] ab5ef0e58194: Verifying Checksum [2024-11-08T08:01:46.520Z] ab5ef0e58194: Download complete [2024-11-08T08:01:46.520Z] 2de7ff778b66: Verifying Checksum [2024-11-08T08:01:46.520Z] 2de7ff778b66: Download complete [2024-11-08T08:01:49.825Z] ab5ef0e58194: Pull complete [2024-11-08T08:01:49.825Z] 9712f1f96733: Pull complete [2024-11-08T08:01:49.825Z] 63f879dbbcfc: Pull complete [2024-11-08T08:01:54.009Z] 0d9ebad4ef96: Pull complete [2024-11-08T08:01:54.009Z] e9a5061849ea: Pull complete [2024-11-08T08:01:54.009Z] d747dcd14b5f: Pull complete [2024-11-08T08:01:54.574Z] 2de7ff778b66: Pull complete [2024-11-08T08:01:54.574Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-11-08T08:01:54.574Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-11-08T08:01:54.574Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:01:54.672Z] prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container [2024-11-08T08:01:54.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2024-11-08T08:01:59.078Z] $ docker top 624da828efe8f3e86477c3b2efc39805482a6e675d49415bc07207bab8274ce5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-11-08T08:01:59.169Z] provisioning config files... [2024-11-08T08:01:59.175Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13821410076611869241tmp [2024-11-08T08:01:59.183Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12895390293170012976tmp [2024-11-08T08:01:59.191Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12217513504644997381tmp [Pipeline] { [Pipeline] echo [2024-11-08T08:01:59.299Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:01:59.605Z] ---> sigul-configuration.sh [2024-11-08T08:01:59.605Z] gpg: directory `/root/.gnupg' created [2024-11-08T08:01:59.605Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-11-08T08:01:59.605Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-11-08T08:01:59.605Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-11-08T08:01:59.605Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-11-08T08:01:59.605Z] gpg: CAST5 encrypted data [2024-11-08T08:01:59.605Z] gpg: encrypted with 1 passphrase [2024-11-08T08:01:59.605Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-11-08T08:01:59.911Z] + mkdir /home/jenkins [2024-11-08T08:01:59.912Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-11-08T08:02:00.225Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2024-11-08T08:02:00.240Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:02:00.536Z] ---> sigul-install.sh [2024-11-08T08:02:00.537Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-11-08T08:02:00.834Z] + git tag --list [2024-11-08T08:02:00.834Z] v1.0.0 [2024-11-08T08:02:00.834Z] v1.1.0 [2024-11-08T08:02:00.834Z] v1.1.1 [2024-11-08T08:02:00.834Z] v1.1.2 [2024-11-08T08:02:00.834Z] v1.2.0 [2024-11-08T08:02:00.834Z] v1.2.1 [2024-11-08T08:02:00.834Z] v2.0.0 [2024-11-08T08:02:00.834Z] v2.1.0 [2024-11-08T08:02:00.834Z] v2.1.1 [2024-11-08T08:02:00.834Z] v2.2.0 [2024-11-08T08:02:00.834Z] v2.3.0 [2024-11-08T08:02:00.834Z] v3.0 [2024-11-08T08:02:00.834Z] v3.0.0 [2024-11-08T08:02:00.834Z] v3.1 [2024-11-08T08:02:00.834Z] v3.1.0 [2024-11-08T08:02:00.834Z] v3.1.0-dev.1 [2024-11-08T08:02:00.834Z] v3.1.0-dev.10 [2024-11-08T08:02:00.834Z] v3.1.0-dev.11 [2024-11-08T08:02:00.834Z] v3.1.0-dev.12 [2024-11-08T08:02:00.834Z] v3.1.0-dev.13 [2024-11-08T08:02:00.834Z] v3.1.0-dev.14 [2024-11-08T08:02:00.834Z] v3.1.0-dev.15 [2024-11-08T08:02:00.834Z] v3.1.0-dev.16 [2024-11-08T08:02:00.834Z] v3.1.0-dev.17 [2024-11-08T08:02:00.834Z] v3.1.0-dev.18 [2024-11-08T08:02:00.834Z] v3.1.0-dev.19 [2024-11-08T08:02:00.834Z] v3.1.0-dev.2 [2024-11-08T08:02:00.834Z] v3.1.0-dev.20 [2024-11-08T08:02:00.834Z] v3.1.0-dev.21 [2024-11-08T08:02:00.834Z] v3.1.0-dev.22 [2024-11-08T08:02:00.834Z] v3.1.0-dev.23 [2024-11-08T08:02:00.834Z] v3.1.0-dev.24 [2024-11-08T08:02:00.834Z] v3.1.0-dev.25 [2024-11-08T08:02:00.834Z] v3.1.0-dev.26 [2024-11-08T08:02:00.834Z] v3.1.0-dev.27 [2024-11-08T08:02:00.834Z] v3.1.0-dev.28 [2024-11-08T08:02:00.834Z] v3.1.0-dev.29 [2024-11-08T08:02:00.834Z] v3.1.0-dev.3 [2024-11-08T08:02:00.834Z] v3.1.0-dev.30 [2024-11-08T08:02:00.834Z] v3.1.0-dev.31 [2024-11-08T08:02:00.834Z] v3.1.0-dev.32 [2024-11-08T08:02:00.834Z] v3.1.0-dev.4 [2024-11-08T08:02:00.834Z] v3.1.0-dev.5 [2024-11-08T08:02:00.834Z] v3.1.0-dev.6 [2024-11-08T08:02:00.834Z] v3.1.0-dev.7 [2024-11-08T08:02:00.834Z] v3.1.0-dev.8 [2024-11-08T08:02:00.834Z] v3.1.0-dev.9 [2024-11-08T08:02:00.834Z] v3.1.1 [2024-11-08T08:02:00.834Z] v3.2.0-dev.1 [2024-11-08T08:02:00.834Z] v3.2.0-dev.10 [2024-11-08T08:02:00.834Z] v3.2.0-dev.11 [2024-11-08T08:02:00.834Z] v3.2.0-dev.12 [2024-11-08T08:02:00.834Z] v3.2.0-dev.13 [2024-11-08T08:02:00.834Z] v3.2.0-dev.14 [2024-11-08T08:02:00.834Z] v3.2.0-dev.15 [2024-11-08T08:02:00.834Z] v3.2.0-dev.16 [2024-11-08T08:02:00.834Z] v3.2.0-dev.17 [2024-11-08T08:02:00.834Z] v3.2.0-dev.18 [2024-11-08T08:02:00.834Z] v3.2.0-dev.19 [2024-11-08T08:02:00.834Z] v3.2.0-dev.2 [2024-11-08T08:02:00.834Z] v3.2.0-dev.20 [2024-11-08T08:02:00.834Z] v3.2.0-dev.21 [2024-11-08T08:02:00.834Z] v3.2.0-dev.22 [2024-11-08T08:02:00.834Z] v3.2.0-dev.23 [2024-11-08T08:02:00.834Z] v3.2.0-dev.24 [2024-11-08T08:02:00.834Z] v3.2.0-dev.25 [2024-11-08T08:02:00.834Z] v3.2.0-dev.3 [2024-11-08T08:02:00.834Z] v3.2.0-dev.4 [2024-11-08T08:02:00.834Z] v3.2.0-dev.5 [2024-11-08T08:02:00.834Z] v3.2.0-dev.6 [2024-11-08T08:02:00.834Z] v3.2.0-dev.7 [2024-11-08T08:02:00.834Z] v3.2.0-dev.8 [2024-11-08T08:02:00.834Z] v3.2.0-dev.9 [2024-11-08T08:02:00.834Z] v4.0.0-dev.1 [2024-11-08T08:02:00.834Z] v4.0.0-dev.2 [2024-11-08T08:02:00.834Z] v4.0.0-dev.3 [Pipeline] sh [2024-11-08T08:02:01.129Z] + lftools sign git-tag v4.0.0-dev.3 [2024-11-08T08:02:01.695Z] Signing Git tag with Sigul... [2024-11-08T08:02:01.695Z] Signing v4.0.0-dev.3 [Pipeline] echo [2024-11-08T08:02:01.966Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:02:02.259Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-11-08T08:02:02.267Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-11-08T08:02:02.286Z] $ docker stop --time=1 624da828efe8f3e86477c3b2efc39805482a6e675d49415bc07207bab8274ce5 [2024-11-08T08:02:03.590Z] $ docker rm -f --volumes 624da828efe8f3e86477c3b2efc39805482a6e675d49415bc07207bab8274ce5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-11-08T08:02:04.050Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T08:02:04.050Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:02:04.360Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T08:02:04.360Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:02:04.525Z] prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container [2024-11-08T08:02:04.543Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T08:02:04.884Z] $ docker top 58a9bf7f2f4b0f3511acc29083bdce6b39d8e3172814c8a6b0d87b25154ab909 -eo pid,comm [2024-11-08T08:02:04.940Z] 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-11-08T08:02:04.940Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T08:02:05.000Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T08:02:05.000Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T08:02:05.109Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T08:02:05.104Z] $ docker exec 58a9bf7f2f4b0f3511acc29083bdce6b39d8e3172814c8a6b0d87b25154ab909 ssh-agent [2024-11-08T08:02:05.216Z] SSH_AUTH_SOCK=/tmp/ssh-dktxUq8br6jK/agent.32 [2024-11-08T08:02:05.216Z] SSH_AGENT_PID=38 [2024-11-08T08:02:05.220Z] Running ssh-add (command line suppressed) [2024-11-08T08:02:05.317Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14188422673487479066.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14188422673487479066.key) [2024-11-08T08:02:05.339Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T08:02:05.632Z] + git semver bump pre [2024-11-08T08:02:05.892Z] 2024-11-08 08:02:05,804 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-11-08T08:02:05.893Z] 2024-11-08 08:02:05,805 [bump_version] DEBUG bumping version:4.0.0-dev.3 on axis:pre with prefix:dev [2024-11-08T08:02:05.893Z] 2024-11-08 08:02:05,805 [bump_version] DEBUG bumped version:4.0.0-dev.4 [2024-11-08T08:02:05.893Z] 2024-11-08 08:02:05,805 [write_version] DEBUG write version:4.0.0-dev.4 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2024-11-08T08:02:05.893Z] 2024-11-08 08:02:05,805 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-11-08T08:02:05.893Z] 2024-11-08 08:02:05,805 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-11-08T08:02:05.893Z] 2024-11-08 08:02:05,807 [execute] INFO git cat-file --batch-check [2024-11-08T08:02:05.893Z] 2024-11-08 08:02:05,807 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T08:02:05.893Z] 2024-11-08 08:02:05,812 [execute] INFO git cat-file --batch [2024-11-08T08:02:05.893Z] 2024-11-08 08:02:05,813 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T08:02:05.893Z] 2024-11-08 08:02:05,818 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-11-08T08:02:05.893Z] 4.0.0-dev.4 [Pipeline] } [2024-11-08T08:02:05.896Z] $ docker exec --env ******** --env ******** 58a9bf7f2f4b0f3511acc29083bdce6b39d8e3172814c8a6b0d87b25154ab909 ssh-agent -k [2024-11-08T08:02:05.993Z] unset SSH_AUTH_SOCK; [2024-11-08T08:02:05.993Z] unset SSH_AGENT_PID; [2024-11-08T08:02:05.993Z] echo Agent pid 38 killed; [2024-11-08T08:02:06.087Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T08:02:06.415Z] + git semver [Pipeline] } [2024-11-08T08:02:06.684Z] $ docker stop --time=1 58a9bf7f2f4b0f3511acc29083bdce6b39d8e3172814c8a6b0d87b25154ab909 [2024-11-08T08:02:07.991Z] $ docker rm -f --volumes 58a9bf7f2f4b0f3511acc29083bdce6b39d8e3172814c8a6b0d87b25154ab909 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-08T08:02:08.368Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-08T08:02:08.368Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:02:08.685Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-08T08:02:08.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:02:08.789Z] prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container [2024-11-08T08:02:08.833Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-08T08:02:09.184Z] $ docker top ff68ed03d52d169dbdd5bed8b26d67742d16f160f8894de00054ea0b419ef706 -eo pid,comm [2024-11-08T08:02:09.236Z] 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-11-08T08:02:09.236Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-08T08:02:09.294Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-08T08:02:09.294Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-08T08:02:09.385Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-08T08:02:09.380Z] $ docker exec ff68ed03d52d169dbdd5bed8b26d67742d16f160f8894de00054ea0b419ef706 ssh-agent [2024-11-08T08:02:09.543Z] SSH_AUTH_SOCK=/tmp/ssh-1mCSxvwHkUWd/agent.32 [2024-11-08T08:02:09.543Z] SSH_AGENT_PID=38 [2024-11-08T08:02:09.547Z] Running ssh-add (command line suppressed) [2024-11-08T08:02:09.643Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16999102812100759634.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16999102812100759634.key) [2024-11-08T08:02:09.663Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-08T08:02:09.958Z] + git semver push [2024-11-08T08:02:10.216Z] 2024-11-08 08:02:10,124 [run_push] DEBUG push [2024-11-08T08:02:10.216Z] 2024-11-08 08:02:10,124 [execute] INFO git cat-file --batch-check [2024-11-08T08:02:10.216Z] 2024-11-08 08:02:10,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-11-08T08:02:10.216Z] 2024-11-08 08:02:10,129 [execute] INFO git rev-list cfce092dec13fa9964428400713c8468aa6288d3 -- [2024-11-08T08:02:10.216Z] 2024-11-08 08:02:10,129 [execute] DEBUG Popen(['git', 'rev-list', 'cfce092dec13fa9964428400713c8468aa6288d3', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-11-08T08:02:10.216Z] 2024-11-08 08:02:10,140 [execute] INFO git fetch -v origin [2024-11-08T08:02:10.216Z] 2024-11-08 08:02:10,141 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-11-08T08:02:10.784Z] 2024-11-08 08:02:10,585 [run_push] DEBUG no remote changes detected [2024-11-08T08:02:10.784Z] 2024-11-08 08:02:10,586 [execute] INFO git push origin semver [2024-11-08T08:02:10.784Z] 2024-11-08 08:02:10,586 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-11-08T08:02:11.351Z] 2024-11-08 08:02:11,285 [run_push] DEBUG push all version tags [2024-11-08T08:02:11.351Z] 2024-11-08 08:02:11,285 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-11-08T08:02:11.351Z] 2024-11-08 08:02:11,286 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-11-08T08:02:11.919Z] 2024-11-08 08:02:11,878 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-11-08T08:02:11.919Z] 4.0.0-dev.4 [Pipeline] } [2024-11-08T08:02:11.921Z] $ docker exec --env ******** --env ******** ff68ed03d52d169dbdd5bed8b26d67742d16f160f8894de00054ea0b419ef706 ssh-agent -k [2024-11-08T08:02:12.020Z] unset SSH_AUTH_SOCK; [2024-11-08T08:02:12.022Z] unset SSH_AGENT_PID; [2024-11-08T08:02:12.022Z] echo Agent pid 38 killed; [2024-11-08T08:02:12.037Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-08T08:02:12.360Z] + git semver [Pipeline] } [2024-11-08T08:02:12.626Z] $ docker stop --time=1 ff68ed03d52d169dbdd5bed8b26d67742d16f160f8894de00054ea0b419ef706 [2024-11-08T08:02:13.899Z] $ docker rm -f --volumes ff68ed03d52d169dbdd5bed8b26d67742d16f160f8894de00054ea0b419ef706 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" 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-11-08T08:02:14.550Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2024-11-08T08:02:14.550Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-11-08T08:02:14.550Z] total 16 [2024-11-08T08:02:14.550Z] drwxr-xr-x 3 root root 4096 Nov 8 07:47 . [2024-11-08T08:02:14.550Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 08:02 .. [2024-11-08T08:02:14.550Z] drwxr-xr-x 2 root root 4096 Nov 8 07:47 cost [2024-11-08T08:02:14.550Z] -rw-r--r-- 1 root root 86 Nov 8 07:47 cost.csv [2024-11-08T08:02:14.550Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-11-08T08:02:14.550Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-11-08T08:02:14.550Z] total 16 [2024-11-08T08:02:14.550Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 07:47 . [2024-11-08T08:02:14.550Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 08:02 .. [2024-11-08T08:02:14.550Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 07:47 cost [2024-11-08T08:02:14.550Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 8 07:47 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:02:14.841Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:02:15.703Z] ---> package-listing.sh [2024-11-08T08:02:15.703Z] ++ facter osfamily [2024-11-08T08:02:15.703Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-08T08:02:15.962Z] + OS_FAMILY=debian [2024-11-08T08:02:15.962Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2024-11-08T08:02:15.962Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-08T08:02:15.962Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-08T08:02:15.962Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-08T08:02:15.962Z] + PACKAGES=/tmp/packages_start.txt [2024-11-08T08:02:15.962Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-11-08T08:02:15.962Z] + PACKAGES=/tmp/packages_end.txt [2024-11-08T08:02:15.962Z] + case "${OS_FAMILY}" in [2024-11-08T08:02:15.962Z] + dpkg -l [2024-11-08T08:02:15.962Z] + grep '^ii' [2024-11-08T08:02:15.962Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-08T08:02:15.962Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-08T08:02:15.962Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-08T08:02:15.962Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-11-08T08:02:15.962Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2024-11-08T08:02:15.962Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2024-11-08T08:02:15.974Z] 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-08T08:02:16.250Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-08T08:02:16.812Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-08T08:02:16.812Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-08T08:02:16.898Z] prd-ubuntu20.04-docker-8c-8g-25890 does not seem to be running inside a container [2024-11-08T08:02:16.923Z] $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-08T08:02:17.114Z] $ docker top 3931891312de264e1fa2f0038a8a1ad003ed9dfa6468bfa7cf256fc5a2f3fe4d -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-08T08:02:17.479Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-08T08:02:17.779Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-08T08:02:18.070Z] + ls /var/log/sa-host [2024-11-08T08:02:18.070Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-08T08:02:18.247Z] provisioning config files... [2024-11-08T08:02:18.261Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16217594892678889987tmp [Pipeline] { [Pipeline] echo [2024-11-08T08:02:18.282Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:02:18.571Z] ---> create-netrc.sh [Pipeline] } [2024-11-08T08:02:18.579Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:02:18.932Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-08T08:02:18.941Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:02:19.226Z] ---> sudo-logs.sh [2024-11-08T08:02:19.226Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-08T08:02:19.265Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:02:19.551Z] ---> job-cost.sh [2024-11-08T08:02:19.551Z] lf-activate-venv: SKIPPING [2024-11-08T08:02:19.551Z] DEBUG: total: 0.2199999988079071 [2024-11-08T08:02:19.551Z] INFO: Retrieving Stack Cost... [2024-11-08T08:02:20.119Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-08T08:02:20.378Z] INFO: Archiving Costs [Pipeline] echo [2024-11-08T08:02:20.393Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-08T08:02:20.680Z] ---> logs-deploy.sh [2024-11-08T08:02:20.680Z] lf-activate-venv: SKIPPING [2024-11-08T08:02:20.680Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/180 [2024-11-08T08:02:20.680Z] INFO: archiving workspace using pattern(s): [2024-11-08T08:02:21.617Z] Archives upload complete. [2024-11-08T08:02:21.617Z] INFO: archiving logs to Nexus