Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6d0ab58f28452a8136c6dc245895717e20b3b293 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-ssh299003770475071529.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh2006432178298287616.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 590556114a56c6d90cc8043840e039c2f74196dc 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-ssh7546578664199869502.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 590556114a56c6d90cc8043840e039c2f74196dc (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 590556114a56c6d90cc8043840e039c2f74196dc # timeout=10 Commit message: "Merge pull request #451 from jinlinGuan/fix-snyk" > 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-ssh15542038504732619382.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-ssh10021643566153668805.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-6810 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 > 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 Avoid second fetch Checking out Revision 6d0ab58f28452a8136c6dc245895717e20b3b293 (main) Commit message: "Merge pull request #403 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" > git config core.sparsecheckout # timeout=10 > git checkout -f 6d0ab58f28452a8136c6dc245895717e20b3b293 # timeout=10 > git rev-list --no-walk e4e238686b828caed34ec9ef1ec6e6067dee5a1b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-07-31T02:31:13.099Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-07-31T02:31:13.193Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-07-31T02:31:13.229Z] ========================================================= [2024-07-31T02:31:13.229Z] EdgeX Global Pipelines Version Info [2024-07-31T02:31:13.229Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:31:14.333Z] ------------------- [2024-07-31T02:31:14.333Z] stable info: [2024-07-31T02:31:14.333Z] ------------------- [2024-07-31T02:31:14.333Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-31T02:31:14.333Z] Commit SHA: 590556114a56c6d90cc8043840e039c2f74196dc [2024-07-31T02:31:14.333Z] Message: update stable to v1.0.260 [2024-07-31T02:31:14.594Z] ------------------- [2024-07-31T02:31:14.594Z] experimental info: [2024-07-31T02:31:14.594Z] ------------------- [2024-07-31T02:31:14.594Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-07-31T02:31:14.594Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-07-31T02:31:14.594Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-07-31T02:31:14.678Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-07-31T02:31:14.707Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-07-31T02:31:14.736Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-07-31T02:31:14.763Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-07-31T02:31:14.789Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-07-31T02:31:14.816Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-07-31T02:31:14.844Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-07-31T02:31:14.874Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-07-31T02:31:14.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-07-31T02:31:14.928Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-07-31T02:31:14.954Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-07-31T02:31:14.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-07-31T02:31:15.009Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-07-31T02:31:15.034Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-07-31T02:31:15.058Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-07-31T02:31:15.083Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-07-31T02:31:15.109Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-07-31T02:31:15.139Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-07-31T02:31:15.167Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-07-31T02:31:15.189Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-07-31T02:31:15.210Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-07-31T02:31:15.237Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-07-31T02:31:15.259Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-07-31T02:31:15.289Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-07-31T02:31:15.311Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-07-31T02:31:15.330Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-07-31T02:31:15.351Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-07-31T02:31:15.373Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2024-07-31T02:31:15.402Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2024-07-31T02:31:15.425Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2024-07-31T02:31:15.451Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] echo [2024-07-31T02:31:15.472Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6d0ab58 [Pipeline] echo [2024-07-31T02:31:15.497Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:31:15.657Z] provisioning config files... [2024-07-31T02:31:15.672Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3782753505746653829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:31:16.008Z] ---> ****-login.sh [2024-07-31T02:31:16.008Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:31:16.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:31:16.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:31:16.269Z] Configure a credential helper to remove this warning. See [2024-07-31T02:31:16.269Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:31:16.269Z] [2024-07-31T02:31:16.269Z] Login Succeeded [2024-07-31T02:31:16.269Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:31:16.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:31:16.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:31:16.270Z] Configure a credential helper to remove this warning. See [2024-07-31T02:31:16.270Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:31:16.270Z] [2024-07-31T02:31:16.270Z] Login Succeeded [2024-07-31T02:31:16.270Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:31:16.529Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:31:16.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:31:16.530Z] Configure a credential helper to remove this warning. See [2024-07-31T02:31:16.530Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:31:16.530Z] [2024-07-31T02:31:16.530Z] Login Succeeded [2024-07-31T02:31:16.530Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:31:16.530Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:31:16.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:31:16.530Z] Configure a credential helper to remove this warning. See [2024-07-31T02:31:16.530Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:31:16.530Z] [2024-07-31T02:31:16.530Z] Login Succeeded [2024-07-31T02:31:16.530Z] ****.io [2024-07-31T02:31:16.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:31:16.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:31:16.791Z] Configure a credential helper to remove this warning. See [2024-07-31T02:31:16.791Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:31:16.791Z] [2024-07-31T02:31:16.791Z] Login Succeeded [2024-07-31T02:31:16.791Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:31:16.798Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-07-31T02:31:17.198Z] + git rev-list -1 --merges 6d0ab58f28452a8136c6dc245895717e20b3b293~1..6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] echo [2024-07-31T02:31:17.228Z] -----------> git rev-list -1 --merges 6d0ab58f28452a8136c6dc245895717e20b3b293~1..6d0ab58f28452a8136c6dc245895717e20b3b293 6d0ab58f28452a8136c6dc245895717e20b3b293 [2024-07-31T02:31:17.228Z] 6d0ab58f28452a8136c6dc245895717e20b3b293 [false] [Pipeline] sh [2024-07-31T02:31:17.525Z] + git log --format=format:%s -1 6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] echo [2024-07-31T02:31:17.543Z] ========================================================= [2024-07-31T02:31:17.543Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-07-31T02:31:17.543Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T02:31:17.892Z] + git log --format=format:%s -1 6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] echo [2024-07-31T02:31:17.903Z] [semverPrep] GIT_COMMIT: 6d0ab58f28452a8136c6dc245895717e20b3b293, Commit Message: Merge pull request #403 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29 [Pipeline] echo [2024-07-31T02:31:17.918Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-07-31T02:31:18.280Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:31:18.280Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-07-31T02:31:18.280Z] + [ -e /tmp/ssh_known_hosts ] [2024-07-31T02:31:18.280Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-07-31T02:31:18.280Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-07-31T02:31:18.280Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-07-31T02:31:18.280Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:31:18.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:31:18.652Z] [2024-07-31T02:31:18.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:31:18.964Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:31:18.964Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-07-31T02:31:18.964Z] b85a868b505f: Pulling fs layer [2024-07-31T02:31:18.964Z] e2be974225ed: Pulling fs layer [2024-07-31T02:31:18.964Z] 339a4e72a1f5: Pulling fs layer [2024-07-31T02:31:18.964Z] 988bab9f4d93: Pulling fs layer [2024-07-31T02:31:18.964Z] 1469e6f7b9e6: Pulling fs layer [2024-07-31T02:31:18.964Z] eaf3925da568: Pulling fs layer [2024-07-31T02:31:18.964Z] bab4dde63d76: Pulling fs layer [2024-07-31T02:31:18.964Z] bde34c3a00c8: Pulling fs layer [2024-07-31T02:31:18.964Z] b352a97aabf1: Pulling fs layer [2024-07-31T02:31:18.964Z] 4872d77fe225: Pulling fs layer [2024-07-31T02:31:18.964Z] 988bab9f4d93: Waiting [2024-07-31T02:31:18.964Z] bab4dde63d76: Waiting [2024-07-31T02:31:18.964Z] 1469e6f7b9e6: Waiting [2024-07-31T02:31:18.964Z] bde34c3a00c8: Waiting [2024-07-31T02:31:18.964Z] eaf3925da568: Waiting [2024-07-31T02:31:18.964Z] b352a97aabf1: Waiting [2024-07-31T02:31:18.964Z] 4872d77fe225: Waiting [2024-07-31T02:31:18.964Z] 5851b861e8e6: Pulling fs layer [2024-07-31T02:31:18.964Z] 5851b861e8e6: Waiting [2024-07-31T02:31:18.964Z] e2be974225ed: Download complete [2024-07-31T02:31:18.964Z] 988bab9f4d93: Verifying Checksum [2024-07-31T02:31:18.964Z] 988bab9f4d93: Download complete [2024-07-31T02:31:18.964Z] 1469e6f7b9e6: Verifying Checksum [2024-07-31T02:31:18.964Z] 1469e6f7b9e6: Download complete [2024-07-31T02:31:19.224Z] eaf3925da568: Verifying Checksum [2024-07-31T02:31:19.224Z] eaf3925da568: Download complete [2024-07-31T02:31:19.224Z] 339a4e72a1f5: Verifying Checksum [2024-07-31T02:31:19.224Z] 339a4e72a1f5: Download complete [2024-07-31T02:31:19.224Z] bde34c3a00c8: Download complete [2024-07-31T02:31:19.224Z] b352a97aabf1: Verifying Checksum [2024-07-31T02:31:19.224Z] b352a97aabf1: Download complete [2024-07-31T02:31:19.224Z] 4872d77fe225: Verifying Checksum [2024-07-31T02:31:19.224Z] 4872d77fe225: Download complete [2024-07-31T02:31:19.224Z] 5851b861e8e6: Download complete [2024-07-31T02:31:19.224Z] b85a868b505f: Verifying Checksum [2024-07-31T02:31:19.224Z] b85a868b505f: Download complete [2024-07-31T02:31:19.485Z] bab4dde63d76: Verifying Checksum [2024-07-31T02:31:19.485Z] bab4dde63d76: Download complete [2024-07-31T02:31:20.862Z] b85a868b505f: Pull complete [2024-07-31T02:31:20.862Z] e2be974225ed: Pull complete [2024-07-31T02:31:21.431Z] 339a4e72a1f5: Pull complete [2024-07-31T02:31:21.431Z] 988bab9f4d93: Pull complete [2024-07-31T02:31:21.691Z] 1469e6f7b9e6: Pull complete [2024-07-31T02:31:21.691Z] eaf3925da568: Pull complete [2024-07-31T02:31:23.595Z] bab4dde63d76: Pull complete [2024-07-31T02:31:23.855Z] bde34c3a00c8: Pull complete [2024-07-31T02:31:23.855Z] b352a97aabf1: Pull complete [2024-07-31T02:31:24.115Z] 4872d77fe225: Pull complete [2024-07-31T02:31:24.115Z] 5851b861e8e6: Pull complete [2024-07-31T02:31:24.115Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-07-31T02:31:24.115Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:31:24.115Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:31:24.281Z] prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container [2024-07-31T02:31:24.316Z] $ 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-07-31T02:31:27.693Z] $ docker top fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 -eo pid,comm [2024-07-31T02:31:27.756Z] 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-07-31T02:31:27.756Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:31:27.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:31:27.821Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:31:27.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:31:27.970Z] $ docker exec fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 ssh-agent [2024-07-31T02:31:28.080Z] SSH_AUTH_SOCK=/tmp/ssh-cqGwmCtzbcKX/agent.32 [2024-07-31T02:31:28.080Z] SSH_AGENT_PID=38 [2024-07-31T02:31:28.088Z] Running ssh-add (command line suppressed) [2024-07-31T02:31:28.196Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17160885377761107638.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17160885377761107638.key) [2024-07-31T02:31:28.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:31:28.501Z] + git tag --points-at HEAD [Pipeline] } [2024-07-31T02:31:28.510Z] $ docker exec --env ******** --env ******** fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 ssh-agent -k [2024-07-31T02:31:28.606Z] unset SSH_AUTH_SOCK; [2024-07-31T02:31:28.606Z] unset SSH_AGENT_PID; [2024-07-31T02:31:28.606Z] echo Agent pid 38 killed; [2024-07-31T02:31:28.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-07-31T02:31:28.664Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:31:28.664Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:31:28.777Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:31:28.778Z] $ docker exec fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 ssh-agent [2024-07-31T02:31:28.895Z] SSH_AUTH_SOCK=/tmp/ssh-MbgcV28D44kI/agent.71 [2024-07-31T02:31:28.895Z] SSH_AGENT_PID=77 [2024-07-31T02:31:28.900Z] Running ssh-add (command line suppressed) [2024-07-31T02:31:29.006Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8214670639696819550.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8214670639696819550.key) [2024-07-31T02:31:29.021Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:31:29.316Z] + git semver init [2024-07-31T02:31:29.574Z] 2024-07-31 02:31:29,503 [run_init] DEBUG init version:0.0.0 force:False [2024-07-31T02:31:29.574Z] 2024-07-31 02:31:29,504 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-07-31T02:31:29.574Z] 2024-07-31 02:31:29,504 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2024-07-31T02:31:29.574Z] 2024-07-31 02:31:29,504 [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-07-31T02:31:30.959Z] 2024-07-31 02:31:30,814 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2024-07-31T02:31:30.959Z] 2024-07-31 02:31:30,814 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2024-07-31T02:31:30.959Z] 2024-07-31 02:31:30,814 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-31T02:31:30.959Z] 2024-07-31 02:31:30,815 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-31T02:31:30.959Z] 3.2.0-dev.19 [Pipeline] } [2024-07-31T02:31:30.967Z] $ docker exec --env ******** --env ******** fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 ssh-agent -k [2024-07-31T02:31:31.062Z] unset SSH_AUTH_SOCK; [2024-07-31T02:31:31.062Z] unset SSH_AGENT_PID; [2024-07-31T02:31:31.063Z] echo Agent pid 77 killed; [2024-07-31T02:31:31.074Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:31:31.401Z] + git semver [Pipeline] } [2024-07-31T02:31:31.670Z] $ docker stop --time=1 fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 [2024-07-31T02:31:33.082Z] $ docker rm -f --volumes fb71dd7535079a5f96e3fe5243972829d36306107c4b26cf127a9d4476371ed7 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:31:33.439Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-07-31T02:31:33.699Z] Stashed 1 file(s) [Pipeline] echo [2024-07-31T02:31:33.704Z] [edgeXSemver]: initialized semver on version 3.2.0-dev.19 [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-07-31T02:31:33.900Z] provisioning config files... [2024-07-31T02:31:33.911Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9665758804648281525tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:31:34.292Z] ---> ****-login.sh [2024-07-31T02:31:34.292Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:31:34.292Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:31:34.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:31:34.293Z] Configure a credential helper to remove this warning. See [2024-07-31T02:31:34.293Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:31:34.293Z] [2024-07-31T02:31:34.293Z] Login Succeeded [2024-07-31T02:31:34.293Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:31:34.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:31:34.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:31:34.293Z] Configure a credential helper to remove this warning. See [2024-07-31T02:31:34.293Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:31:34.293Z] [2024-07-31T02:31:34.293Z] Login Succeeded [2024-07-31T02:31:34.293Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:31:34.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:31:34.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:31:34.552Z] Configure a credential helper to remove this warning. See [2024-07-31T02:31:34.552Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:31:34.552Z] [2024-07-31T02:31:34.552Z] Login Succeeded [2024-07-31T02:31:34.552Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:31:34.552Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:31:34.552Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:31:34.553Z] Configure a credential helper to remove this warning. See [2024-07-31T02:31:34.553Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:31:34.553Z] [2024-07-31T02:31:34.553Z] Login Succeeded [2024-07-31T02:31:34.553Z] ****.io [2024-07-31T02:31:34.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:31:34.811Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:31:34.811Z] Configure a credential helper to remove this warning. See [2024-07-31T02:31:34.811Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:31:34.811Z] [2024-07-31T02:31:34.811Z] Login Succeeded [2024-07-31T02:31:34.811Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:31:34.818Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-31T02:31:34.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:31:34.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:31:34.958Z] ========================================================= [2024-07-31T02:31:34.958Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-07-31T02:31:34.958Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:31:35.303Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-31T02:31:35.303Z] Sending build context to Docker daemon 16.55MB [2024-07-31T02:31:35.303Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:31:35.303Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-31T02:31:35.303Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-07-31T02:31:35.303Z] 619be1103602: Pulling fs layer [2024-07-31T02:31:35.303Z] 7862e08f4a3e: Pulling fs layer [2024-07-31T02:31:35.303Z] 5df492c9dc93: Pulling fs layer [2024-07-31T02:31:35.303Z] 7629e6793208: Pulling fs layer [2024-07-31T02:31:35.303Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T02:31:35.303Z] fb5054dd5b73: Pulling fs layer [2024-07-31T02:31:35.303Z] eeca6798cff9: Pulling fs layer [2024-07-31T02:31:35.303Z] aa269ceb94a6: Pulling fs layer [2024-07-31T02:31:35.303Z] ada007ff1a6a: Pulling fs layer [2024-07-31T02:31:35.303Z] 4f4fb700ef54: Waiting [2024-07-31T02:31:35.303Z] aa269ceb94a6: Waiting [2024-07-31T02:31:35.303Z] ada007ff1a6a: Waiting [2024-07-31T02:31:35.303Z] fb5054dd5b73: Waiting [2024-07-31T02:31:35.303Z] eeca6798cff9: Waiting [2024-07-31T02:31:35.303Z] 7629e6793208: Waiting [2024-07-31T02:31:35.303Z] 7862e08f4a3e: Download complete [2024-07-31T02:31:35.303Z] 7629e6793208: Verifying Checksum [2024-07-31T02:31:35.303Z] 7629e6793208: Download complete [2024-07-31T02:31:35.563Z] 4f4fb700ef54: Verifying Checksum [2024-07-31T02:31:35.563Z] 4f4fb700ef54: Download complete [2024-07-31T02:31:35.563Z] fb5054dd5b73: Download complete [2024-07-31T02:31:35.563Z] 619be1103602: Verifying Checksum [2024-07-31T02:31:35.563Z] 619be1103602: Download complete [2024-07-31T02:31:35.563Z] eeca6798cff9: Verifying Checksum [2024-07-31T02:31:35.563Z] eeca6798cff9: Download complete [2024-07-31T02:31:35.563Z] 619be1103602: Pull complete [2024-07-31T02:31:35.823Z] ada007ff1a6a: Verifying Checksum [2024-07-31T02:31:35.823Z] ada007ff1a6a: Download complete [2024-07-31T02:31:35.823Z] 7862e08f4a3e: Pull complete [2024-07-31T02:31:35.823Z] 5df492c9dc93: Verifying Checksum [2024-07-31T02:31:35.823Z] 5df492c9dc93: Download complete [2024-07-31T02:31:36.390Z] aa269ceb94a6: Verifying Checksum [2024-07-31T02:31:36.390Z] aa269ceb94a6: Download complete [2024-07-31T02:31:39.673Z] 5df492c9dc93: Pull complete [2024-07-31T02:31:39.673Z] 7629e6793208: Pull complete [2024-07-31T02:31:39.673Z] 4f4fb700ef54: Pull complete [2024-07-31T02:31:39.673Z] fb5054dd5b73: Pull complete [2024-07-31T02:31:39.673Z] eeca6798cff9: Pull complete [2024-07-31T02:31:42.208Z] aa269ceb94a6: Pull complete [2024-07-31T02:31:42.468Z] ada007ff1a6a: Pull complete [2024-07-31T02:31:42.469Z] Digest: sha256:69d97b8d72889085871306873fcae42e135f8428d5f0f63f88bd56e040916423 [2024-07-31T02:31:42.469Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-07-31T02:31:42.469Z] ---> f489d0715acc [2024-07-31T02:31:42.469Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:31:47.744Z] ---> Running in 998766d6d58a [2024-07-31T02:31:47.744Z] Removing intermediate container 998766d6d58a [2024-07-31T02:31:47.744Z] ---> e362fc2aef5a [2024-07-31T02:31:47.744Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:31:47.744Z] ---> Running in d9b2a051268f [2024-07-31T02:31:47.744Z] Removing intermediate container d9b2a051268f [2024-07-31T02:31:47.744Z] ---> 2ce67febfae0 [2024-07-31T02:31:47.744Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:31:47.744Z] ---> Running in 067ef0404a2d [2024-07-31T02:31:47.744Z] Removing intermediate container 067ef0404a2d [2024-07-31T02:31:47.744Z] ---> 50435c653a33 [2024-07-31T02:31:47.744Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:31:47.744Z] ---> Running in 369d51767c02 [2024-07-31T02:31:47.744Z] Removing intermediate container 369d51767c02 [2024-07-31T02:31:47.744Z] ---> 012fab9dd3fa [2024-07-31T02:31:47.744Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:31:47.744Z] ---> Running in 607b31635200 [2024-07-31T02:31:48.004Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:31:48.263Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:31:48.263Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-31T02:31:48.263Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-31T02:31:48.263Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-31T02:31:48.522Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-31T02:31:48.522Z] Executing busybox-1.36.1-r5.trigger [2024-07-31T02:31:48.522Z] OK: 268 MiB in 56 packages [2024-07-31T02:31:48.781Z] Removing intermediate container 607b31635200 [2024-07-31T02:31:48.781Z] ---> 2b742158ceb7 [2024-07-31T02:31:48.781Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-31T02:31:48.781Z] ---> Running in 16d794917a6e [2024-07-31T02:31:48.843Z] Still waiting to schedule task [2024-07-31T02:31:48.843Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-07-31T02:31:49.038Z] Removing intermediate container 16d794917a6e [2024-07-31T02:31:49.038Z] ---> 130f7979370e [2024-07-31T02:31:49.038Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-31T02:31:49.038Z] ---> dd85a5c8dbca [2024-07-31T02:31:49.038Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:31:49.038Z] ---> Running in cfac0313ad53 [2024-07-31T02:32:35.732Z] Removing intermediate container cfac0313ad53 [2024-07-31T02:32:35.733Z] ---> f55274a02172 [2024-07-31T02:32:35.733Z] Step 11/12 : COPY . . [2024-07-31T02:32:36.677Z] ---> 077c080365a3 [2024-07-31T02:32:36.677Z] Step 12/12 : RUN $MAKE [2024-07-31T02:32:36.677Z] ---> Running in 37ffa9e2350d [2024-07-31T02:32:36.936Z] noop [2024-07-31T02:32:37.194Z] Removing intermediate container 37ffa9e2350d [2024-07-31T02:32:37.194Z] ---> 8ad781cf604d [2024-07-31T02:32:37.194Z] Successfully built 8ad781cf604d [2024-07-31T02:32:37.194Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:37.526Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-31T02:32:37.526Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:32:37.612Z] prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container [2024-07-31T02:32:37.644Z] $ 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-07-31T02:32:37.986Z] $ docker top 33e4cde1b269784d372b98746c84c6a7b15f5af9520526e811e46c2397faafd4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:32:38.339Z] + go version [2024-07-31T02:32:38.339Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-07-31T02:32:38.348Z] $ docker stop --time=1 33e4cde1b269784d372b98746c84c6a7b15f5af9520526e811e46c2397faafd4 [2024-07-31T02:32:39.905Z] $ docker rm -f --volumes 33e4cde1b269784d372b98746c84c6a7b15f5af9520526e811e46c2397faafd4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:32:40.370Z] + docker inspect -f . ci-base-image-x86_64 [2024-07-31T02:32:40.371Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:32:40.454Z] prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container [2024-07-31T02:32:40.482Z] $ 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-07-31T02:32:40.791Z] $ docker top 73ba6fdf5ab0b31972030481898c5f37ca02b74109f187df4e7633ce016b37ea -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:32:41.143Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2024-07-31T02:32:41.443Z] + make test [2024-07-31T02:32:41.444Z] go test ./... -coverprofile=coverage.out ./... [2024-07-31T02:32:43.347Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-31T02:33:01.428Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-31T02:33:01.429Z] ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements [2024-07-31T02:33:11.455Z] go vet ./... [2024-07-31T02:33:16.714Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-31T02:33:16.714Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-31T02:33:16.714Z] ./bin/test-attribution-txt.sh [2024-07-31T02:33:16.714Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-31T02:33:16.714Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-31T02:33:16.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-31T02:33:16.745Z] $ docker stop --time=1 73ba6fdf5ab0b31972030481898c5f37ca02b74109f187df4e7633ce016b37ea [2024-07-31T02:33:23.781Z] $ docker rm -f --volumes 73ba6fdf5ab0b31972030481898c5f37ca02b74109f187df4e7633ce016b37ea [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:33:24.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-31T02:33:24.448Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-07-31T02:33:24.914Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-31T02:33:25.198Z] + ls -al . [2024-07-31T02:33:25.198Z] total 248 [2024-07-31T02:33:25.198Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 31 02:32 . [2024-07-31T02:33:25.198Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:31 .. [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 31 02:31 .dockerignore [2024-07-31T02:33:25.198Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:33 .git [2024-07-31T02:33:25.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:31 .github [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 02:31 .gitignore [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:31 .golangci.yml [2024-07-31T02:33:25.198Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:31 .semver [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 31 02:31 Attribution.txt [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 31 02:31 CHANGELOG.md [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 31 02:31 Dockerfile [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:31 GOVERNANCE.md [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 31 02:31 Jenkinsfile [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:31 LICENSE [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 31 02:31 Makefile [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 02:31 OWNERS.md [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 31 02:31 README.md [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:31 VERSION [2024-07-31T02:33:25.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:31 bin [2024-07-31T02:33:25.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:31 cmd [2024-07-31T02:33:25.198Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 31 02:33 coverage.out [2024-07-31T02:33:25.198Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:31 driver [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 7134 Jul 31 02:31 go.mod [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 02:31 go.sum [2024-07-31T02:33:25.198Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:31 openapi [2024-07-31T02:33:25.198Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 31 02:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:33:25.578Z] + 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=6d0ab58f28452a8136c6dc245895717e20b3b293 --label arch=amd64 --label version=3.2.0-dev.19 . [2024-07-31T02:33:25.578Z] Sending build context to Docker daemon 16.57MB [2024-07-31T02:33:25.578Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:33:25.578Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-31T02:33:25.578Z] ---> 8ad781cf604d [2024-07-31T02:33:25.578Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:33:25.839Z] ---> Running in 14409feaf77b [2024-07-31T02:33:26.096Z] Removing intermediate container 14409feaf77b [2024-07-31T02:33:26.096Z] ---> 3165270d609f [2024-07-31T02:33:26.096Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:33:26.097Z] ---> Running in 6f15c7d26f73 [2024-07-31T02:33:26.097Z] Removing intermediate container 6f15c7d26f73 [2024-07-31T02:33:26.097Z] ---> 372735c4ed4f [2024-07-31T02:33:26.097Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:33:26.097Z] ---> Running in 28c5569db51d [2024-07-31T02:33:26.097Z] Removing intermediate container 28c5569db51d [2024-07-31T02:33:26.097Z] ---> bc210357e581 [2024-07-31T02:33:26.097Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:33:26.097Z] ---> Running in 448ef6f14fb9 [2024-07-31T02:33:26.354Z] Removing intermediate container 448ef6f14fb9 [2024-07-31T02:33:26.354Z] ---> d3b45dea7362 [2024-07-31T02:33:26.354Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:33:26.354Z] ---> Running in 2a23556a446d [2024-07-31T02:33:26.613Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:33:26.871Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:33:26.872Z] OK: 268 MiB in 56 packages [2024-07-31T02:33:27.439Z] Removing intermediate container 2a23556a446d [2024-07-31T02:33:27.439Z] ---> c9b97edc3857 [2024-07-31T02:33:27.439Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-31T02:33:27.439Z] ---> Running in 75b327921168 [2024-07-31T02:33:27.439Z] Removing intermediate container 75b327921168 [2024-07-31T02:33:27.439Z] ---> 90936f87a17e [2024-07-31T02:33:27.439Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-31T02:33:27.439Z] ---> 86f2a4292a26 [2024-07-31T02:33:27.439Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:33:27.439Z] ---> Running in dd848725859f [2024-07-31T02:33:28.006Z] Removing intermediate container dd848725859f [2024-07-31T02:33:28.006Z] ---> 80622c2b3e20 [2024-07-31T02:33:28.006Z] Step 11/26 : COPY . . [2024-07-31T02:33:28.943Z] ---> d308dda043c7 [2024-07-31T02:33:28.943Z] Step 12/26 : RUN $MAKE [2024-07-31T02:33:28.943Z] ---> Running in 4ea77b82cff0 [2024-07-31T02:33:28.943Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-31T02:34:00.999Z] Removing intermediate container 4ea77b82cff0 [2024-07-31T02:34:00.999Z] ---> 087b0a4431db [2024-07-31T02:34:00.999Z] Step 13/26 : FROM alpine:3.18 [2024-07-31T02:34:00.999Z] 3.18: Pulling from library/alpine [2024-07-31T02:34:00.999Z] 930bdd4d222e: Pulling fs layer [2024-07-31T02:34:00.999Z] 930bdd4d222e: Verifying Checksum [2024-07-31T02:34:00.999Z] 930bdd4d222e: Download complete [2024-07-31T02:34:00.999Z] 930bdd4d222e: Pull complete [2024-07-31T02:34:00.999Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-31T02:34:00.999Z] Status: Downloaded newer image for alpine:3.18 [2024-07-31T02:34:00.999Z] ---> 18f865063206 [2024-07-31T02:34:00.999Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-31T02:34:00.999Z] ---> Running in 171d7586e985 [2024-07-31T02:34:01.258Z] Removing intermediate container 171d7586e985 [2024-07-31T02:34:01.258Z] ---> 8c555769afba [2024-07-31T02:34:01.258Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-31T02:34:01.258Z] ---> Running in c6ea42e4bf8d [2024-07-31T02:34:01.258Z] Removing intermediate container c6ea42e4bf8d [2024-07-31T02:34:01.258Z] ---> 01eb38b89aac [2024-07-31T02:34:01.258Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-31T02:34:01.258Z] ---> Running in 46f2527945bd [2024-07-31T02:34:01.518Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:34:01.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:34:02.036Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-31T02:34:02.036Z] Executing busybox-1.36.1-r7.trigger [2024-07-31T02:34:02.036Z] OK: 7 MiB in 16 packages [2024-07-31T02:34:02.295Z] Removing intermediate container 46f2527945bd [2024-07-31T02:34:02.295Z] ---> 47faacdc99b8 [2024-07-31T02:34:02.295Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-31T02:34:02.553Z] ---> Running in 9ff2e661a1a7 [2024-07-31T02:34:02.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-07-31T02:34:02.812Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-07-31T02:34:03.071Z] OK: 7 MiB in 16 packages [2024-07-31T02:34:03.328Z] Removing intermediate container 9ff2e661a1a7 [2024-07-31T02:34:03.328Z] ---> 40718daa5800 [2024-07-31T02:34:03.328Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-31T02:34:04.701Z] ---> 0c0a0cb28cb8 [2024-07-31T02:34:04.701Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-31T02:34:04.701Z] ---> d1bf27929959 [2024-07-31T02:34:04.701Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-31T02:34:04.701Z] ---> ac2a8c2440f2 [2024-07-31T02:34:04.701Z] Step 21/26 : EXPOSE 59986 [2024-07-31T02:34:04.701Z] ---> Running in d61e017eb14a [2024-07-31T02:34:04.701Z] Removing intermediate container d61e017eb14a [2024-07-31T02:34:04.701Z] ---> 6f658070757f [2024-07-31T02:34:04.701Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-31T02:34:04.701Z] ---> Running in e38fe059c627 [2024-07-31T02:34:04.701Z] Removing intermediate container e38fe059c627 [2024-07-31T02:34:04.701Z] ---> 4e3e28234da6 [2024-07-31T02:34:04.701Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-31T02:34:04.961Z] ---> Running in f7755ccb06d1 [2024-07-31T02:34:04.961Z] Removing intermediate container f7755ccb06d1 [2024-07-31T02:34:04.961Z] ---> 83b8fe48791a [2024-07-31T02:34:04.961Z] Step 24/26 : LABEL arch=amd64 [2024-07-31T02:34:04.961Z] ---> Running in 9c0498e5d75d [2024-07-31T02:34:04.961Z] Removing intermediate container 9c0498e5d75d [2024-07-31T02:34:04.961Z] ---> ef13814fb916 [2024-07-31T02:34:04.961Z] Step 25/26 : LABEL git_sha=6d0ab58f28452a8136c6dc245895717e20b3b293 [2024-07-31T02:34:04.961Z] ---> Running in aebf4510a5a5 [2024-07-31T02:34:05.220Z] Removing intermediate container aebf4510a5a5 [2024-07-31T02:34:05.220Z] ---> 79b07ed5c701 [2024-07-31T02:34:05.220Z] Step 26/26 : LABEL version=3.2.0-dev.19 [2024-07-31T02:34:05.220Z] ---> Running in c9e2c8393413 [2024-07-31T02:34:05.220Z] Removing intermediate container c9e2c8393413 [2024-07-31T02:34:05.220Z] ---> c57f66e474b4 [2024-07-31T02:34:05.220Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-31T02:34:05.220Z] Successfully built c57f66e474b4 [2024-07-31T02:34:05.220Z] 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-07-31T02:34:05.344Z] provisioning config files... [2024-07-31T02:34:05.354Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3648018789404471132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:34:05.655Z] ---> ****-login.sh [2024-07-31T02:34:05.656Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:34:05.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:05.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:05.656Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:05.656Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:05.656Z] [2024-07-31T02:34:05.656Z] Login Succeeded [2024-07-31T02:34:05.656Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:34:05.656Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:05.656Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:05.656Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:05.656Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:05.656Z] [2024-07-31T02:34:05.656Z] Login Succeeded [2024-07-31T02:34:05.656Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:34:05.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:05.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:05.914Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:05.914Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:05.914Z] [2024-07-31T02:34:05.914Z] Login Succeeded [2024-07-31T02:34:05.914Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:34:05.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:05.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:05.914Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:05.914Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:05.914Z] [2024-07-31T02:34:05.914Z] Login Succeeded [2024-07-31T02:34:05.914Z] ****.io [2024-07-31T02:34:06.173Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:34:06.173Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:34:06.173Z] Configure a credential helper to remove this warning. See [2024-07-31T02:34:06.173Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:34:06.173Z] [2024-07-31T02:34:06.173Z] Login Succeeded [2024-07-31T02:34:06.173Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:34:06.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:34:06.238Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:34:06.271Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-07-31T02:34:06.271Z] 6d0ab58f28452a8136c6dc245895717e20b3b293 [2024-07-31T02:34:06.271Z] latest [2024-07-31T02:34:06.271Z] 3.2.0-dev.19 [2024-07-31T02:34:06.271Z] 6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 [2024-07-31T02:34:06.271Z] main [2024-07-31T02:34:06.271Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:06.620Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:06.944Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293 [2024-07-31T02:34:06.944Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-31T02:34:06.944Z] b838b2324ef4: Preparing [2024-07-31T02:34:06.944Z] 5c4cf6ed8f96: Preparing [2024-07-31T02:34:06.944Z] d5e16891bb33: Preparing [2024-07-31T02:34:06.944Z] 436129d5595b: Preparing [2024-07-31T02:34:06.944Z] 57c0bb2fd6c2: Preparing [2024-07-31T02:34:06.944Z] ce7f800efff9: Preparing [2024-07-31T02:34:06.944Z] ce7f800efff9: Waiting [2024-07-31T02:34:06.944Z] b838b2324ef4: Pushed [2024-07-31T02:34:06.944Z] 57c0bb2fd6c2: Pushed [2024-07-31T02:34:06.944Z] 436129d5595b: Pushed [2024-07-31T02:34:06.944Z] 5c4cf6ed8f96: Pushed [2024-07-31T02:34:06.944Z] ce7f800efff9: Layer already exists [2024-07-31T02:34:10.228Z] d5e16891bb33: Pushed [2024-07-31T02:34:10.228Z] 6d0ab58f28452a8136c6dc245895717e20b3b293: digest: sha256:3fca09afc6e8b90aa54f52df194ad812017208703e5a974011e3d24aa0ba72dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:10.563Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:10.891Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2024-07-31T02:34:10.891Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-31T02:34:10.891Z] b838b2324ef4: Preparing [2024-07-31T02:34:10.891Z] 5c4cf6ed8f96: Preparing [2024-07-31T02:34:10.891Z] d5e16891bb33: Preparing [2024-07-31T02:34:10.891Z] 436129d5595b: Preparing [2024-07-31T02:34:10.891Z] 57c0bb2fd6c2: Preparing [2024-07-31T02:34:10.891Z] ce7f800efff9: Preparing [2024-07-31T02:34:10.891Z] ce7f800efff9: Waiting [2024-07-31T02:34:10.891Z] b838b2324ef4: Layer already exists [2024-07-31T02:34:10.891Z] 57c0bb2fd6c2: Layer already exists [2024-07-31T02:34:10.891Z] d5e16891bb33: Layer already exists [2024-07-31T02:34:10.891Z] 436129d5595b: Layer already exists [2024-07-31T02:34:10.891Z] 5c4cf6ed8f96: Layer already exists [2024-07-31T02:34:10.891Z] ce7f800efff9: Layer already exists [2024-07-31T02:34:10.891Z] latest: digest: sha256:3fca09afc6e8b90aa54f52df194ad812017208703e5a974011e3d24aa0ba72dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:11.225Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:11.543Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.19 [2024-07-31T02:34:11.543Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-31T02:34:11.543Z] b838b2324ef4: Preparing [2024-07-31T02:34:11.543Z] 5c4cf6ed8f96: Preparing [2024-07-31T02:34:11.544Z] d5e16891bb33: Preparing [2024-07-31T02:34:11.544Z] 436129d5595b: Preparing [2024-07-31T02:34:11.544Z] 57c0bb2fd6c2: Preparing [2024-07-31T02:34:11.544Z] ce7f800efff9: Preparing [2024-07-31T02:34:11.544Z] ce7f800efff9: Waiting [2024-07-31T02:34:11.544Z] d5e16891bb33: Layer already exists [2024-07-31T02:34:11.544Z] 436129d5595b: Layer already exists [2024-07-31T02:34:11.544Z] b838b2324ef4: Layer already exists [2024-07-31T02:34:11.544Z] 57c0bb2fd6c2: Layer already exists [2024-07-31T02:34:11.544Z] 5c4cf6ed8f96: Layer already exists [2024-07-31T02:34:11.544Z] ce7f800efff9: Layer already exists [2024-07-31T02:34:11.544Z] 3.2.0-dev.19: digest: sha256:3fca09afc6e8b90aa54f52df194ad812017208703e5a974011e3d24aa0ba72dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:11.868Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:12.190Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 [2024-07-31T02:34:12.190Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-31T02:34:12.757Z] b838b2324ef4: Preparing [2024-07-31T02:34:12.758Z] 5c4cf6ed8f96: Preparing [2024-07-31T02:34:12.758Z] d5e16891bb33: Preparing [2024-07-31T02:34:12.758Z] 436129d5595b: Preparing [2024-07-31T02:34:12.758Z] 57c0bb2fd6c2: Preparing [2024-07-31T02:34:12.758Z] ce7f800efff9: Preparing [2024-07-31T02:34:12.758Z] ce7f800efff9: Waiting [2024-07-31T02:34:12.758Z] b838b2324ef4: Layer already exists [2024-07-31T02:34:12.758Z] 436129d5595b: Layer already exists [2024-07-31T02:34:12.758Z] 57c0bb2fd6c2: Layer already exists [2024-07-31T02:34:12.758Z] 5c4cf6ed8f96: Layer already exists [2024-07-31T02:34:12.758Z] d5e16891bb33: Layer already exists [2024-07-31T02:34:12.758Z] ce7f800efff9: Layer already exists [2024-07-31T02:34:13.021Z] 6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19: digest: sha256:3fca09afc6e8b90aa54f52df194ad812017208703e5a974011e3d24aa0ba72dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:13.347Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:13.673Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2024-07-31T02:34:13.673Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-07-31T02:34:13.673Z] b838b2324ef4: Preparing [2024-07-31T02:34:13.673Z] 5c4cf6ed8f96: Preparing [2024-07-31T02:34:13.673Z] d5e16891bb33: Preparing [2024-07-31T02:34:13.673Z] 436129d5595b: Preparing [2024-07-31T02:34:13.673Z] 57c0bb2fd6c2: Preparing [2024-07-31T02:34:13.673Z] ce7f800efff9: Preparing [2024-07-31T02:34:13.673Z] ce7f800efff9: Waiting [2024-07-31T02:34:13.673Z] b838b2324ef4: Layer already exists [2024-07-31T02:34:13.673Z] 436129d5595b: Layer already exists [2024-07-31T02:34:13.673Z] d5e16891bb33: Layer already exists [2024-07-31T02:34:13.673Z] 57c0bb2fd6c2: Layer already exists [2024-07-31T02:34:13.673Z] 5c4cf6ed8f96: Layer already exists [2024-07-31T02:34:13.673Z] ce7f800efff9: Layer already exists [2024-07-31T02:34:13.673Z] main: digest: sha256:3fca09afc6e8b90aa54f52df194ad812017208703e5a974011e3d24aa0ba72dc size: 1573 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:34:13.764Z] ===================================================== [Pipeline] echo [2024-07-31T02:34:13.779Z] taggedImages: [2024-07-31T02:34:13.779Z] - nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293 [2024-07-31T02:34:13.779Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2024-07-31T02:34:13.779Z] - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.19 [2024-07-31T02:34:13.779Z] - nexus3.edgexfoundry.org:10004/device-rest:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 [2024-07-31T02:34:13.779Z] - 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-07-31T02:34:14.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:34:14.202Z] [2024-07-31T02:34:14.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:34:14.509Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:34:14.510Z] latest: Pulling from edgex-lftools-log-publisher [2024-07-31T02:34:14.510Z] 5eb5b503b376: Pulling fs layer [2024-07-31T02:34:14.510Z] 5c69ac0246d0: Pulling fs layer [2024-07-31T02:34:14.510Z] ec43610c2a17: Pulling fs layer [2024-07-31T02:34:14.510Z] 3a2ae6a8a46f: Pulling fs layer [2024-07-31T02:34:14.510Z] 33b1e0a273af: Pulling fs layer [2024-07-31T02:34:14.510Z] 5d3b04190fa2: Pulling fs layer [2024-07-31T02:34:14.510Z] 2f39f015ded8: Pulling fs layer [2024-07-31T02:34:14.510Z] 33b1e0a273af: Waiting [2024-07-31T02:34:14.510Z] 5d3b04190fa2: Waiting [2024-07-31T02:34:14.510Z] 2f39f015ded8: Waiting [2024-07-31T02:34:14.510Z] 3a2ae6a8a46f: Waiting [2024-07-31T02:34:14.510Z] 5c69ac0246d0: Verifying Checksum [2024-07-31T02:34:14.510Z] 3a2ae6a8a46f: Verifying Checksum [2024-07-31T02:34:14.510Z] 3a2ae6a8a46f: Download complete [2024-07-31T02:34:14.768Z] 33b1e0a273af: Verifying Checksum [2024-07-31T02:34:14.768Z] 33b1e0a273af: Download complete [2024-07-31T02:34:14.768Z] 5d3b04190fa2: Download complete [2024-07-31T02:34:14.768Z] ec43610c2a17: Verifying Checksum [2024-07-31T02:34:14.768Z] ec43610c2a17: Download complete [2024-07-31T02:34:14.768Z] 5eb5b503b376: Download complete [2024-07-31T02:34:15.704Z] 2f39f015ded8: Download complete [2024-07-31T02:34:16.271Z] 5eb5b503b376: Pull complete [2024-07-31T02:34:16.271Z] 5c69ac0246d0: Pull complete [2024-07-31T02:34:17.235Z] ec43610c2a17: Pull complete [2024-07-31T02:34:17.235Z] 3a2ae6a8a46f: Pull complete [2024-07-31T02:34:17.235Z] 33b1e0a273af: Pull complete [2024-07-31T02:34:17.235Z] 5d3b04190fa2: Pull complete [2024-07-31T02:34:21.419Z] 2f39f015ded8: Pull complete [2024-07-31T02:34:21.419Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-07-31T02:34:21.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:34:21.419Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:34:21.528Z] prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container [2024-07-31T02:34:21.561Z] $ 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-07-31T02:34:26.949Z] $ docker top 0311707fb1e9aa0b0092d1a185bccc7333db0d84ea7c5c9c9edccbdac20304e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:34:27.354Z] ---> job-cost.sh [2024-07-31T02:34:27.355Z] lf-activate-venv: SKIPPING [2024-07-31T02:34:27.355Z] INFO: No Stack... [2024-07-31T02:34:27.612Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-31T02:34:27.871Z] INFO: Archiving Costs [Pipeline] sh [2024-07-31T02:34:28.156Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2024-07-31T02:34:28.157Z] + cut -d, -f6 [Pipeline] lock [2024-07-31T02:34:28.174Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] [2024-07-31T02:34:28.184Z] Resource [jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] did not exist. Created. [2024-07-31T02:34:28.189Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-31T02:34:28.494Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-07-31T02:34:28.513Z] Stashed 1 file(s) [Pipeline] } [2024-07-31T02:34:28.522Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-31T02:34:28.549Z] $ docker stop --time=1 0311707fb1e9aa0b0092d1a185bccc7333db0d84ea7c5c9c9edccbdac20304e8 [2024-07-31T02:34:29.709Z] $ docker rm -f --volumes 0311707fb1e9aa0b0092d1a185bccc7333db0d84ea7c5c9c9edccbdac20304e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-07-31T02:34:47.259Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6830 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2024-07-31T02:34:47.273Z] Running in /w/workspace/device-rest-go/171 [Pipeline] { [Pipeline] checkout [2024-07-31T02:34:50.329Z] The recommended git tool is: git [2024-07-31T02:34:56.056Z] using credential edgex-jenkins-ssh [2024-07-31T02:34:56.083Z] Cloning the remote Git repository [2024-07-31T02:34:56.137Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-07-31T02:34:56.260Z] > git init /w/workspace/device-rest-go/171 # timeout=10 [2024-07-31T02:34:56.437Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-07-31T02:34:56.438Z] > git --version # timeout=10 [2024-07-31T02:34:56.467Z] > git --version # 'git version 2.25.1' [2024-07-31T02:34:56.470Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-07-31T02:34:56.637Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-31T02:34:59.828Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-07-31T02:34:59.861Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-07-31T02:35:00.977Z] Avoid second fetch [2024-07-31T02:35:00.978Z] Checking out Revision 6d0ab58f28452a8136c6dc245895717e20b3b293 (main) [2024-07-31T02:35:01.755Z] Commit message: "Merge pull request #403 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.29" [2024-07-31T02:35:00.996Z] > git config core.sparsecheckout # timeout=10 [2024-07-31T02:35:01.080Z] > git checkout -f 6d0ab58f28452a8136c6dc245895717e20b3b293 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T02:35:06.505Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-07-31T02:35:06.505Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-31T02:35:06.505Z] Dload Upload Total Spent Left Speed [2024-07-31T02:35:06.505Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2024-07-31T02:35:07.099Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-07-31T02:35:07.442Z] + + sudo teesudo /etc/docker/daemon.new jq [2024-07-31T02:35:07.442Z] . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-07-31T02:35:07.442Z] { [2024-07-31T02:35:07.442Z] "registry-mirrors": [ [2024-07-31T02:35:07.442Z] "https://nexus3.edgexfoundry.org:10001" [2024-07-31T02:35:07.442Z] ], [2024-07-31T02:35:07.442Z] "bip": "10.250.0.254/24", [2024-07-31T02:35:07.442Z] "hosts": [ [2024-07-31T02:35:07.442Z] "tcp://0.0.0.0:5555", [2024-07-31T02:35:07.442Z] "unix:///var/run/docker.sock" [2024-07-31T02:35:07.442Z] ], [2024-07-31T02:35:07.442Z] "mtu": 1458, [2024-07-31T02:35:07.442Z] "selinux-enabled": true, [2024-07-31T02:35:07.442Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-07-31T02:35:07.442Z] } [Pipeline] sh [2024-07-31T02:35:07.789Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-07-31T02:35:08.156Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:35:26.489Z] provisioning config files... [2024-07-31T02:35:26.516Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/171@tmp/config2091500277934566542tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:35:26.982Z] ---> ****-login.sh [2024-07-31T02:35:26.982Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:35:27.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:35:27.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:35:27.572Z] Configure a credential helper to remove this warning. See [2024-07-31T02:35:27.572Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:35:27.572Z] [2024-07-31T02:35:27.572Z] Login Succeeded [2024-07-31T02:35:27.572Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:35:27.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:35:27.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:35:27.841Z] Configure a credential helper to remove this warning. See [2024-07-31T02:35:27.841Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:35:27.841Z] [2024-07-31T02:35:27.841Z] Login Succeeded [2024-07-31T02:35:27.841Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:35:28.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:35:28.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:35:28.378Z] Configure a credential helper to remove this warning. See [2024-07-31T02:35:28.378Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:35:28.378Z] [2024-07-31T02:35:28.378Z] Login Succeeded [2024-07-31T02:35:28.378Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:35:28.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:35:28.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:35:28.650Z] Configure a credential helper to remove this warning. See [2024-07-31T02:35:28.650Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:35:28.650Z] [2024-07-31T02:35:28.650Z] Login Succeeded [2024-07-31T02:35:28.650Z] ****.io [2024-07-31T02:35:28.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:35:29.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:35:29.191Z] Configure a credential helper to remove this warning. See [2024-07-31T02:35:29.191Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:35:29.191Z] [2024-07-31T02:35:29.191Z] Login Succeeded [2024-07-31T02:35:29.191Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:35:29.207Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-07-31T02:35:29.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:35:29.601Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:35:29.624Z] ========================================================= [2024-07-31T02:35:29.625Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-07-31T02:35:29.625Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:35:30.013Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-07-31T02:35:30.013Z] Sending build context to Docker daemon 130.6kB [2024-07-31T02:35:30.291Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:35:30.291Z] Step 2/12 : FROM ${BASE} AS builder [2024-07-31T02:35:30.565Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-07-31T02:35:30.565Z] c6b39de5b339: Pulling fs layer [2024-07-31T02:35:30.565Z] a69c41024577: Pulling fs layer [2024-07-31T02:35:30.565Z] d6de4b400683: Pulling fs layer [2024-07-31T02:35:30.565Z] 35cb2a7552d0: Pulling fs layer [2024-07-31T02:35:30.565Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T02:35:30.565Z] 464afbd9ba4c: Pulling fs layer [2024-07-31T02:35:30.565Z] 00f215d4a9da: Pulling fs layer [2024-07-31T02:35:30.565Z] d496ad576159: Pulling fs layer [2024-07-31T02:35:30.565Z] 35cb2a7552d0: Waiting [2024-07-31T02:35:30.565Z] 4f4fb700ef54: Waiting [2024-07-31T02:35:30.565Z] 464afbd9ba4c: Waiting [2024-07-31T02:35:30.565Z] 00f215d4a9da: Waiting [2024-07-31T02:35:30.565Z] d496ad576159: Waiting [2024-07-31T02:35:30.565Z] a69c41024577: Verifying Checksum [2024-07-31T02:35:30.565Z] a69c41024577: Download complete [2024-07-31T02:35:30.565Z] 35cb2a7552d0: Verifying Checksum [2024-07-31T02:35:30.565Z] 35cb2a7552d0: Download complete [2024-07-31T02:35:30.565Z] 4f4fb700ef54: Verifying Checksum [2024-07-31T02:35:30.565Z] 4f4fb700ef54: Download complete [2024-07-31T02:35:30.565Z] 464afbd9ba4c: Verifying Checksum [2024-07-31T02:35:30.565Z] 464afbd9ba4c: Download complete [2024-07-31T02:35:30.565Z] c6b39de5b339: Download complete [2024-07-31T02:35:31.167Z] d496ad576159: Verifying Checksum [2024-07-31T02:35:31.167Z] d496ad576159: Download complete [2024-07-31T02:35:31.438Z] c6b39de5b339: Pull complete [2024-07-31T02:35:32.029Z] a69c41024577: Pull complete [2024-07-31T02:35:32.627Z] d6de4b400683: Verifying Checksum [2024-07-31T02:35:32.627Z] d6de4b400683: Download complete [2024-07-31T02:35:34.047Z] 00f215d4a9da: Verifying Checksum [2024-07-31T02:35:34.047Z] 00f215d4a9da: Download complete [2024-07-31T02:35:46.385Z] d6de4b400683: Pull complete [2024-07-31T02:35:46.385Z] 35cb2a7552d0: Pull complete [2024-07-31T02:35:46.385Z] 4f4fb700ef54: Pull complete [2024-07-31T02:35:46.385Z] 464afbd9ba4c: Pull complete [2024-07-31T02:35:56.488Z] 00f215d4a9da: Pull complete [2024-07-31T02:35:57.463Z] d496ad576159: Pull complete [2024-07-31T02:35:57.742Z] Digest: sha256:94db8a0955b4c8a8fb4ef40f1d66dd6a37c55842a5f6085bb7a69a85e2cfc316 [2024-07-31T02:35:57.742Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-07-31T02:35:57.742Z] ---> f246e2811388 [2024-07-31T02:35:57.742Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:36:00.328Z] ---> Running in 720eadbdd58c [2024-07-31T02:36:00.328Z] Removing intermediate container 720eadbdd58c [2024-07-31T02:36:00.328Z] ---> 02d028e9dcd6 [2024-07-31T02:36:00.328Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:36:00.328Z] ---> Running in 0801e4101373 [2024-07-31T02:36:00.596Z] Removing intermediate container 0801e4101373 [2024-07-31T02:36:00.596Z] ---> 4c1434bdec1e [2024-07-31T02:36:00.596Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:36:00.864Z] ---> Running in 3995ab6c88d3 [2024-07-31T02:36:01.146Z] Removing intermediate container 3995ab6c88d3 [2024-07-31T02:36:01.146Z] ---> 307da36004d7 [2024-07-31T02:36:01.146Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:36:01.416Z] ---> Running in 2a7cb38f0d36 [2024-07-31T02:36:01.688Z] Removing intermediate container 2a7cb38f0d36 [2024-07-31T02:36:01.688Z] ---> 119f65c9f8b9 [2024-07-31T02:36:01.688Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:36:01.962Z] ---> Running in f2f49e71de0c [2024-07-31T02:36:03.386Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:36:03.668Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:36:04.657Z] (1/4) Installing openssh-keygen (9.3_p2-r2) [2024-07-31T02:36:04.943Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-07-31T02:36:04.943Z] (3/4) Installing openssh-client-common (9.3_p2-r2) [2024-07-31T02:36:04.943Z] (4/4) Installing openssh-client-default (9.3_p2-r2) [2024-07-31T02:36:04.943Z] Executing busybox-1.36.1-r5.trigger [2024-07-31T02:36:04.943Z] OK: 271 MiB in 56 packages [2024-07-31T02:36:06.380Z] Removing intermediate container f2f49e71de0c [2024-07-31T02:36:06.380Z] ---> 4877aaad4726 [2024-07-31T02:36:06.380Z] Step 8/12 : WORKDIR /device-rest-go [2024-07-31T02:36:06.380Z] ---> Running in 10ee6215df7f [2024-07-31T02:36:06.666Z] Removing intermediate container 10ee6215df7f [2024-07-31T02:36:06.666Z] ---> edbce418c54a [2024-07-31T02:36:06.666Z] Step 9/12 : COPY go.mod vendor* ./ [2024-07-31T02:36:07.267Z] ---> 2a3bc4b6bd14 [2024-07-31T02:36:07.267Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:36:07.543Z] ---> Running in 983cc8736f29 [2024-07-31T02:38:14.347Z] Removing intermediate container 983cc8736f29 [2024-07-31T02:38:14.347Z] ---> 71f53663f162 [2024-07-31T02:38:14.347Z] Step 11/12 : COPY . . [2024-07-31T02:38:14.347Z] ---> 79f66500e564 [2024-07-31T02:38:14.347Z] Step 12/12 : RUN $MAKE [2024-07-31T02:38:14.347Z] ---> Running in 5226b9ec68fc [2024-07-31T02:38:14.347Z] noop [2024-07-31T02:38:14.347Z] Removing intermediate container 5226b9ec68fc [2024-07-31T02:38:14.348Z] ---> 297a2b72d437 [2024-07-31T02:38:14.348Z] Successfully built 297a2b72d437 [2024-07-31T02:38:14.348Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:38:14.727Z] + docker inspect -f . ci-base-image-arm64 [2024-07-31T02:38:14.728Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:38:14.968Z] prd-ubuntu20.04-docker-arm64-4c-16g-6830 does not seem to be running inside a container [2024-07-31T02:38:15.065Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/171 -v /w/workspace/device-rest-go/171:/w/workspace/device-rest-go/171:rw,z -v /w/workspace/device-rest-go/171@tmp:/w/workspace/device-rest-go/171@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-07-31T02:38:16.520Z] $ docker top 43ea65da600a900a0c8daaa5c5493f4db5b33b8c85cc4aac3c1786ffdd973725 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:38:17.419Z] + go version [2024-07-31T02:38:17.419Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-07-31T02:38:17.434Z] $ docker stop --time=1 43ea65da600a900a0c8daaa5c5493f4db5b33b8c85cc4aac3c1786ffdd973725 [2024-07-31T02:38:19.167Z] $ docker rm -f --volumes 43ea65da600a900a0c8daaa5c5493f4db5b33b8c85cc4aac3c1786ffdd973725 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:38:19.799Z] + docker inspect -f . ci-base-image-arm64 [2024-07-31T02:38:19.799Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:38:20.033Z] prd-ubuntu20.04-docker-arm64-4c-16g-6830 does not seem to be running inside a container [2024-07-31T02:38:20.114Z] $ 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/171 -v /w/workspace/device-rest-go/171:/w/workspace/device-rest-go/171:rw,z -v /w/workspace/device-rest-go/171@tmp:/w/workspace/device-rest-go/171@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-07-31T02:38:21.548Z] $ docker top 76acde9f1d4f847e82c214245c88164507508ad36a79b7f1965cab370b5c8a47 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:38:22.461Z] + git config --global --add safe.directory /w/workspace/device-rest-go/171 [Pipeline] fileExists [Pipeline] sh [2024-07-31T02:38:23.135Z] + make test [2024-07-31T02:38:23.135Z] go test ./... -coverprofile=coverage.out ./... [2024-07-31T02:38:29.795Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-07-31T02:43:06.925Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-07-31T02:43:06.925Z] ok github.com/edgexfoundry/device-rest-go/driver 0.041s coverage: 33.2% of statements [2024-07-31T02:43:07.196Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-07-31T02:43:07.196Z] go vet ./... [2024-07-31T02:44:03.719Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-07-31T02:44:03.719Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-07-31T02:44:03.719Z] ./bin/test-attribution-txt.sh [2024-07-31T02:44:03.719Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-jose/go-jose/v4 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/panjf2000/ants/v2 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-07-31T02:44:03.719Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-07-31T02:44:03.720Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-07-31T02:44:03.720Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-07-31T02:44:03.720Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-07-31T02:44:03.741Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-07-31T02:44:03.759Z] $ docker stop --time=1 76acde9f1d4f847e82c214245c88164507508ad36a79b7f1965cab370b5c8a47 [2024-07-31T02:44:05.926Z] $ docker rm -f --volumes 76acde9f1d4f847e82c214245c88164507508ad36a79b7f1965cab370b5c8a47 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:44:07.718Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-07-31T02:44:07.749Z] Warning: overwriting stash ‘coverage-report’ [2024-07-31T02:44:08.396Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-07-31T02:44:08.823Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-07-31T02:44:09.163Z] + ls -al . [2024-07-31T02:44:09.163Z] total 244 [2024-07-31T02:44:09.163Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:38 . [2024-07-31T02:44:09.163Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 31 02:34 .. [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 151 Jul 31 02:35 .dockerignore [2024-07-31T02:44:09.163Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 31 02:35 .git [2024-07-31T02:44:09.163Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:35 .github [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 264 Jul 31 02:35 .gitignore [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 41 Jul 31 02:35 .golangci.yml [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 10300 Jul 31 02:35 Attribution.txt [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 17685 Jul 31 02:35 CHANGELOG.md [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 1687 Jul 31 02:35 Dockerfile [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 677 Jul 31 02:35 GOVERNANCE.md [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 680 Jul 31 02:35 Jenkinsfile [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jul 31 02:35 LICENSE [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 2016 Jul 31 02:35 Makefile [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 620 Jul 31 02:35 OWNERS.md [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 3989 Jul 31 02:35 README.md [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 12 Jul 31 02:31 VERSION [2024-07-31T02:44:09.163Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:35 bin [2024-07-31T02:44:09.163Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:35 cmd [2024-07-31T02:44:09.163Z] -rw-r--r-- 1 jenkins jenkins 14499 Jul 31 02:43 coverage.out [2024-07-31T02:44:09.163Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 31 02:35 driver [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 7134 Jul 31 02:35 go.mod [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 101673 Jul 31 02:35 go.sum [2024-07-31T02:44:09.163Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 31 02:35 openapi [2024-07-31T02:44:09.163Z] -rw-rw-r-- 1 jenkins jenkins 713 Jul 31 02:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:44:09.525Z] + 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=6d0ab58f28452a8136c6dc245895717e20b3b293 --label arch=arm64 --label version=3.2.0-dev.19 . [2024-07-31T02:44:09.525Z] Sending build context to Docker daemon 145.9kB [2024-07-31T02:44:09.794Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-07-31T02:44:09.794Z] Step 2/26 : FROM ${BASE} AS builder [2024-07-31T02:44:09.794Z] ---> 297a2b72d437 [2024-07-31T02:44:09.794Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-07-31T02:44:10.063Z] ---> Running in 57b9cb507e23 [2024-07-31T02:44:10.331Z] Removing intermediate container 57b9cb507e23 [2024-07-31T02:44:10.331Z] ---> 61ccad02534d [2024-07-31T02:44:10.331Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-07-31T02:44:10.331Z] ---> Running in 6a9115f5d95d [2024-07-31T02:44:10.922Z] Removing intermediate container 6a9115f5d95d [2024-07-31T02:44:10.922Z] ---> 578103c9b4de [2024-07-31T02:44:10.922Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-07-31T02:44:10.922Z] ---> Running in dd9e8126fdfa [2024-07-31T02:44:11.190Z] Removing intermediate container dd9e8126fdfa [2024-07-31T02:44:11.190Z] ---> b4f47517cf1a [2024-07-31T02:44:11.190Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-07-31T02:44:11.190Z] ---> Running in e21b660614ad [2024-07-31T02:44:11.777Z] Removing intermediate container e21b660614ad [2024-07-31T02:44:11.777Z] ---> 31219cbbf070 [2024-07-31T02:44:11.777Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-07-31T02:44:11.777Z] ---> Running in f749103414c4 [2024-07-31T02:44:13.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:44:13.458Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:44:14.416Z] OK: 271 MiB in 56 packages [2024-07-31T02:44:15.378Z] Removing intermediate container f749103414c4 [2024-07-31T02:44:15.378Z] ---> d24bcd582b59 [2024-07-31T02:44:15.378Z] Step 8/26 : WORKDIR /device-rest-go [2024-07-31T02:44:15.378Z] ---> Running in b5bbf661740f [2024-07-31T02:44:15.960Z] Removing intermediate container b5bbf661740f [2024-07-31T02:44:15.960Z] ---> 04ca617ad953 [2024-07-31T02:44:15.960Z] Step 9/26 : COPY go.mod vendor* ./ [2024-07-31T02:44:16.227Z] ---> 7b10916c3a1e [2024-07-31T02:44:16.227Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-07-31T02:44:16.495Z] ---> Running in bdb78b8ac316 [2024-07-31T02:44:19.089Z] Removing intermediate container bdb78b8ac316 [2024-07-31T02:44:19.089Z] ---> a3ecfcf3b226 [2024-07-31T02:44:19.089Z] Step 11/26 : COPY . . [2024-07-31T02:44:19.359Z] ---> ae984ef627df [2024-07-31T02:44:19.359Z] Step 12/26 : RUN $MAKE [2024-07-31T02:44:19.629Z] ---> Running in e73671b6b741 [2024-07-31T02:44:20.615Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.29" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-07-31T02:48:27.486Z] Removing intermediate container e73671b6b741 [2024-07-31T02:48:27.486Z] ---> 38693ac00812 [2024-07-31T02:48:27.486Z] Step 13/26 : FROM alpine:3.18 [2024-07-31T02:48:27.486Z] 3.18: Pulling from library/alpine [2024-07-31T02:48:27.486Z] 4983c3fe2029: Pulling fs layer [2024-07-31T02:48:27.486Z] 4983c3fe2029: Verifying Checksum [2024-07-31T02:48:27.486Z] 4983c3fe2029: Download complete [2024-07-31T02:48:27.486Z] 4983c3fe2029: Pull complete [2024-07-31T02:48:27.486Z] Digest: sha256:5292533eb4efd4b5cf35e93b5a2b7d0e07ea193224c49446c7802c19ee4f2da5 [2024-07-31T02:48:27.486Z] Status: Downloaded newer image for alpine:3.18 [2024-07-31T02:48:27.486Z] ---> a0237000ae83 [2024-07-31T02:48:27.486Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-07-31T02:48:27.486Z] ---> Running in 6e3cc575db22 [2024-07-31T02:48:27.486Z] Removing intermediate container 6e3cc575db22 [2024-07-31T02:48:27.486Z] ---> 8e678cb30b61 [2024-07-31T02:48:27.486Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-07-31T02:48:27.486Z] ---> Running in 2e38e5743738 [2024-07-31T02:48:27.486Z] Removing intermediate container 2e38e5743738 [2024-07-31T02:48:27.486Z] ---> b31925db092f [2024-07-31T02:48:27.486Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-07-31T02:48:27.486Z] ---> Running in 94b5b62040ab [2024-07-31T02:48:27.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:48:27.753Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:48:29.174Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-07-31T02:48:29.174Z] Executing busybox-1.36.1-r7.trigger [2024-07-31T02:48:29.174Z] OK: 8 MiB in 16 packages [2024-07-31T02:48:30.146Z] Removing intermediate container 94b5b62040ab [2024-07-31T02:48:30.146Z] ---> ff511acffcc5 [2024-07-31T02:48:30.146Z] Step 17/26 : RUN apk --no-cache upgrade [2024-07-31T02:48:30.416Z] ---> Running in f4eb77297d41 [2024-07-31T02:48:31.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-07-31T02:48:31.962Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-07-31T02:48:32.925Z] OK: 8 MiB in 16 packages [2024-07-31T02:48:33.891Z] Removing intermediate container f4eb77297d41 [2024-07-31T02:48:33.891Z] ---> 0261113de9f0 [2024-07-31T02:48:33.891Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-07-31T02:48:35.842Z] ---> 6ee2a7213c18 [2024-07-31T02:48:35.842Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-07-31T02:48:36.513Z] ---> a2e3aa95bcab [2024-07-31T02:48:36.513Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-07-31T02:48:37.099Z] ---> 1ca98297ffbe [2024-07-31T02:48:37.099Z] Step 21/26 : EXPOSE 59986 [2024-07-31T02:48:37.099Z] ---> Running in 7127a5cce552 [2024-07-31T02:48:37.371Z] Removing intermediate container 7127a5cce552 [2024-07-31T02:48:37.371Z] ---> 35daf31cedfc [2024-07-31T02:48:37.371Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-07-31T02:48:37.644Z] ---> Running in 6f88890680d4 [2024-07-31T02:48:37.908Z] Removing intermediate container 6f88890680d4 [2024-07-31T02:48:37.908Z] ---> 96c34b8d37fd [2024-07-31T02:48:37.908Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-07-31T02:48:37.908Z] ---> Running in 4180532754c9 [2024-07-31T02:48:38.288Z] Removing intermediate container 4180532754c9 [2024-07-31T02:48:38.288Z] ---> b3f1afc72102 [2024-07-31T02:48:38.288Z] Step 24/26 : LABEL arch=arm64 [2024-07-31T02:48:38.288Z] ---> Running in 5c814b1feaaf [2024-07-31T02:48:38.556Z] Removing intermediate container 5c814b1feaaf [2024-07-31T02:48:38.556Z] ---> aff3986bcada [2024-07-31T02:48:38.556Z] Step 25/26 : LABEL git_sha=6d0ab58f28452a8136c6dc245895717e20b3b293 [2024-07-31T02:48:38.827Z] ---> Running in 7a940c2ccb53 [2024-07-31T02:48:39.104Z] Removing intermediate container 7a940c2ccb53 [2024-07-31T02:48:39.104Z] ---> b5e027d94d8a [2024-07-31T02:48:39.104Z] Step 26/26 : LABEL version=3.2.0-dev.19 [2024-07-31T02:48:39.104Z] ---> Running in 0b181da0bd31 [2024-07-31T02:48:39.372Z] Removing intermediate container 0b181da0bd31 [2024-07-31T02:48:39.372Z] ---> 3b8cadc9701a [2024-07-31T02:48:39.372Z] [Warning] One or more build-args [ARCH] were not consumed [2024-07-31T02:48:39.372Z] Successfully built 3b8cadc9701a [2024-07-31T02:48:39.372Z] 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-07-31T02:48:39.542Z] provisioning config files... [2024-07-31T02:48:39.564Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/171@tmp/config11228747751317722684tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:48:39.911Z] ---> ****-login.sh [2024-07-31T02:48:39.912Z] nexus3.edgexfoundry.org:10001 [2024-07-31T02:48:40.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:48:40.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:48:40.181Z] Configure a credential helper to remove this warning. See [2024-07-31T02:48:40.181Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:48:40.181Z] [2024-07-31T02:48:40.181Z] Login Succeeded [2024-07-31T02:48:40.181Z] nexus3.edgexfoundry.org:10002 [2024-07-31T02:48:40.449Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:48:40.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:48:40.717Z] Configure a credential helper to remove this warning. See [2024-07-31T02:48:40.717Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:48:40.717Z] [2024-07-31T02:48:40.717Z] Login Succeeded [2024-07-31T02:48:40.717Z] nexus3.edgexfoundry.org:10003 [2024-07-31T02:48:40.985Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:48:40.985Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:48:40.985Z] Configure a credential helper to remove this warning. See [2024-07-31T02:48:40.985Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:48:40.985Z] [2024-07-31T02:48:40.985Z] Login Succeeded [2024-07-31T02:48:40.985Z] nexus3.edgexfoundry.org:10004 [2024-07-31T02:48:41.252Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:48:41.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:48:41.522Z] Configure a credential helper to remove this warning. See [2024-07-31T02:48:41.522Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:48:41.522Z] [2024-07-31T02:48:41.522Z] Login Succeeded [2024-07-31T02:48:41.522Z] ****.io [2024-07-31T02:48:41.790Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-31T02:48:42.059Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-07-31T02:48:42.059Z] Configure a credential helper to remove this warning. See [2024-07-31T02:48:42.059Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-07-31T02:48:42.059Z] [2024-07-31T02:48:42.059Z] Login Succeeded [2024-07-31T02:48:42.059Z] ---> ****-login.sh ends [Pipeline] } [2024-07-31T02:48:42.072Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:48:42.134Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-07-31T02:48:42.175Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-07-31T02:48:42.175Z] 6d0ab58f28452a8136c6dc245895717e20b3b293 [2024-07-31T02:48:42.175Z] latest [2024-07-31T02:48:42.175Z] 3.2.0-dev.19 [2024-07-31T02:48:42.175Z] 6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 [2024-07-31T02:48:42.175Z] main [2024-07-31T02:48:42.175Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:42.585Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:42.980Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293 [2024-07-31T02:48:42.980Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-31T02:48:42.980Z] 0a832e5f595f: Preparing [2024-07-31T02:48:42.980Z] c12068551894: Preparing [2024-07-31T02:48:42.980Z] 02e76b0bfd91: Preparing [2024-07-31T02:48:42.980Z] 406e1a841531: Preparing [2024-07-31T02:48:42.980Z] a4d83702afcd: Preparing [2024-07-31T02:48:42.980Z] 3c20671a5817: Preparing [2024-07-31T02:48:42.980Z] 3c20671a5817: Waiting [2024-07-31T02:48:43.264Z] c12068551894: Pushed [2024-07-31T02:48:43.264Z] 0a832e5f595f: Pushed [2024-07-31T02:48:43.264Z] 3c20671a5817: Layer already exists [2024-07-31T02:48:43.264Z] 406e1a841531: Pushed [2024-07-31T02:48:43.264Z] a4d83702afcd: Pushed [2024-07-31T02:48:49.931Z] 02e76b0bfd91: Pushed [2024-07-31T02:48:49.931Z] 6d0ab58f28452a8136c6dc245895717e20b3b293: digest: sha256:6d3537571e3e08e1946c23c7901f214ac53e6292fdb745d3f1a4a4c244135f36 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:50.303Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:50.670Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-07-31T02:48:50.670Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-31T02:48:50.670Z] 0a832e5f595f: Preparing [2024-07-31T02:48:50.670Z] c12068551894: Preparing [2024-07-31T02:48:50.670Z] 02e76b0bfd91: Preparing [2024-07-31T02:48:50.670Z] 406e1a841531: Preparing [2024-07-31T02:48:50.670Z] a4d83702afcd: Preparing [2024-07-31T02:48:50.670Z] 3c20671a5817: Preparing [2024-07-31T02:48:50.670Z] 3c20671a5817: Waiting [2024-07-31T02:48:50.670Z] c12068551894: Layer already exists [2024-07-31T02:48:50.670Z] 406e1a841531: Layer already exists [2024-07-31T02:48:50.670Z] 0a832e5f595f: Layer already exists [2024-07-31T02:48:50.670Z] 02e76b0bfd91: Layer already exists [2024-07-31T02:48:50.670Z] a4d83702afcd: Layer already exists [2024-07-31T02:48:50.670Z] 3c20671a5817: Layer already exists [2024-07-31T02:48:50.940Z] latest: digest: sha256:6d3537571e3e08e1946c23c7901f214ac53e6292fdb745d3f1a4a4c244135f36 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:51.302Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:51.681Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.19 [2024-07-31T02:48:51.681Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-31T02:48:51.681Z] 0a832e5f595f: Preparing [2024-07-31T02:48:51.681Z] c12068551894: Preparing [2024-07-31T02:48:51.681Z] 02e76b0bfd91: Preparing [2024-07-31T02:48:51.681Z] 406e1a841531: Preparing [2024-07-31T02:48:51.681Z] a4d83702afcd: Preparing [2024-07-31T02:48:51.681Z] 3c20671a5817: Preparing [2024-07-31T02:48:51.681Z] 3c20671a5817: Waiting [2024-07-31T02:48:51.681Z] 0a832e5f595f: Layer already exists [2024-07-31T02:48:51.681Z] a4d83702afcd: Layer already exists [2024-07-31T02:48:51.681Z] c12068551894: Layer already exists [2024-07-31T02:48:51.681Z] 02e76b0bfd91: Layer already exists [2024-07-31T02:48:51.681Z] 406e1a841531: Layer already exists [2024-07-31T02:48:51.681Z] 3c20671a5817: Layer already exists [2024-07-31T02:48:51.949Z] 3.2.0-dev.19: digest: sha256:6d3537571e3e08e1946c23c7901f214ac53e6292fdb745d3f1a4a4c244135f36 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:52.429Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:52.795Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 [2024-07-31T02:48:52.795Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-31T02:48:52.795Z] 0a832e5f595f: Preparing [2024-07-31T02:48:52.795Z] c12068551894: Preparing [2024-07-31T02:48:52.795Z] 02e76b0bfd91: Preparing [2024-07-31T02:48:52.795Z] 406e1a841531: Preparing [2024-07-31T02:48:52.795Z] a4d83702afcd: Preparing [2024-07-31T02:48:52.795Z] 3c20671a5817: Preparing [2024-07-31T02:48:52.795Z] 3c20671a5817: Waiting [2024-07-31T02:48:52.795Z] 02e76b0bfd91: Layer already exists [2024-07-31T02:48:52.795Z] a4d83702afcd: Layer already exists [2024-07-31T02:48:52.795Z] c12068551894: Layer already exists [2024-07-31T02:48:52.795Z] 406e1a841531: Layer already exists [2024-07-31T02:48:52.795Z] 0a832e5f595f: Layer already exists [2024-07-31T02:48:52.795Z] 3c20671a5817: Layer already exists [2024-07-31T02:48:53.062Z] 6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19: digest: sha256:6d3537571e3e08e1946c23c7901f214ac53e6292fdb745d3f1a4a4c244135f36 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:53.441Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:53.803Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2024-07-31T02:48:53.803Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-07-31T02:48:53.803Z] 0a832e5f595f: Preparing [2024-07-31T02:48:53.803Z] c12068551894: Preparing [2024-07-31T02:48:53.803Z] 02e76b0bfd91: Preparing [2024-07-31T02:48:53.803Z] 406e1a841531: Preparing [2024-07-31T02:48:53.803Z] a4d83702afcd: Preparing [2024-07-31T02:48:53.803Z] 3c20671a5817: Preparing [2024-07-31T02:48:53.803Z] 3c20671a5817: Waiting [2024-07-31T02:48:53.803Z] c12068551894: Layer already exists [2024-07-31T02:48:53.803Z] 0a832e5f595f: Layer already exists [2024-07-31T02:48:53.803Z] 406e1a841531: Layer already exists [2024-07-31T02:48:53.803Z] 02e76b0bfd91: Layer already exists [2024-07-31T02:48:53.803Z] a4d83702afcd: Layer already exists [2024-07-31T02:48:54.070Z] 3c20671a5817: Layer already exists [2024-07-31T02:48:54.070Z] main: digest: sha256:6d3537571e3e08e1946c23c7901f214ac53e6292fdb745d3f1a4a4c244135f36 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-07-31T02:48:54.154Z] ===================================================== [Pipeline] echo [2024-07-31T02:48:54.169Z] taggedImages: [2024-07-31T02:48:54.169Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293 [2024-07-31T02:48:54.169Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2024-07-31T02:48:54.169Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.19 [2024-07-31T02:48:54.169Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:6d0ab58f28452a8136c6dc245895717e20b3b293-3.2.0-dev.19 [2024-07-31T02:48:54.169Z] - 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-07-31T02:48:54.574Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:48:54.574Z] [2024-07-31T02:48:54.574Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:48:54.910Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:48:55.181Z] arm64: Pulling from edgex-lftools-log-publisher [2024-07-31T02:48:55.181Z] 8998bd30e6a1: Pulling fs layer [2024-07-31T02:48:55.181Z] 04944245beec: Pulling fs layer [2024-07-31T02:48:55.181Z] 699f458cf7ca: Pulling fs layer [2024-07-31T02:48:55.181Z] 765212b225bb: Pulling fs layer [2024-07-31T02:48:55.181Z] f23df028b6ca: Pulling fs layer [2024-07-31T02:48:55.181Z] d65c8cfc05b1: Pulling fs layer [2024-07-31T02:48:55.181Z] 765212b225bb: Waiting [2024-07-31T02:48:55.181Z] f23df028b6ca: Waiting [2024-07-31T02:48:55.181Z] 2437ff75d9bd: Pulling fs layer [2024-07-31T02:48:55.181Z] d65c8cfc05b1: Waiting [2024-07-31T02:48:55.181Z] 2437ff75d9bd: Waiting [2024-07-31T02:48:55.181Z] 04944245beec: Verifying Checksum [2024-07-31T02:48:55.181Z] 04944245beec: Download complete [2024-07-31T02:48:55.181Z] 765212b225bb: Verifying Checksum [2024-07-31T02:48:55.181Z] 765212b225bb: Download complete [2024-07-31T02:48:55.181Z] f23df028b6ca: Verifying Checksum [2024-07-31T02:48:55.181Z] f23df028b6ca: Download complete [2024-07-31T02:48:55.181Z] d65c8cfc05b1: Verifying Checksum [2024-07-31T02:48:55.181Z] d65c8cfc05b1: Download complete [2024-07-31T02:48:55.449Z] 699f458cf7ca: Verifying Checksum [2024-07-31T02:48:55.449Z] 699f458cf7ca: Download complete [2024-07-31T02:48:55.717Z] 8998bd30e6a1: Verifying Checksum [2024-07-31T02:48:55.717Z] 8998bd30e6a1: Download complete [2024-07-31T02:48:58.308Z] 2437ff75d9bd: Verifying Checksum [2024-07-31T02:48:58.308Z] 2437ff75d9bd: Download complete [2024-07-31T02:49:00.887Z] 8998bd30e6a1: Pull complete [2024-07-31T02:49:01.152Z] 04944245beec: Pull complete [2024-07-31T02:49:02.558Z] 699f458cf7ca: Pull complete [2024-07-31T02:49:02.824Z] 765212b225bb: Pull complete [2024-07-31T02:49:03.781Z] f23df028b6ca: Pull complete [2024-07-31T02:49:04.044Z] d65c8cfc05b1: Pull complete [2024-07-31T02:49:22.237Z] 2437ff75d9bd: Pull complete [2024-07-31T02:49:22.237Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-07-31T02:49:22.237Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-07-31T02:49:22.237Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:49:22.468Z] prd-ubuntu20.04-docker-arm64-4c-16g-6830 does not seem to be running inside a container [2024-07-31T02:49:22.533Z] $ 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/171 -v /w/workspace/device-rest-go/171:/w/workspace/device-rest-go/171:rw,z -v /w/workspace/device-rest-go/171@tmp:/w/workspace/device-rest-go/171@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-07-31T02:49:25.581Z] $ docker top 6d11683125ed2698e453e54727cfe7c3817785abfd1fa774ca6a2ffbad86dc0c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:49:26.450Z] ---> job-cost.sh [2024-07-31T02:49:26.450Z] lf-activate-venv: SKIPPING [2024-07-31T02:49:26.450Z] INFO: No Stack... [2024-07-31T02:49:26.717Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-07-31T02:49:27.676Z] INFO: Archiving Costs [Pipeline] sh [2024-07-31T02:49:28.309Z] + cat /w/workspace/device-rest-go/171/archives/cost.csv [2024-07-31T02:49:28.309Z] + cut -d, -f6 [Pipeline] lock [2024-07-31T02:49:28.343Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] [2024-07-31T02:49:28.358Z] Resource [jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] did not exist. Created. [2024-07-31T02:49:28.366Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-07-31T02:49:29.023Z] /w/workspace/device-rest-go/171@tmp/durable-8bf52315/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-07-31T02:49:29.673Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-07-31T02:49:29.702Z] Warning: overwriting stash ‘stack-cost’ [2024-07-31T02:49:29.756Z] Stashed 1 file(s) [Pipeline] } [2024-07-31T02:49:29.765Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-main-171-stack-cost] [Pipeline] // lock [Pipeline] } [2024-07-31T02:49:29.786Z] $ docker stop --time=1 6d11683125ed2698e453e54727cfe7c3817785abfd1fa774ca6a2ffbad86dc0c [2024-07-31T02:49:31.413Z] $ docker rm -f --volumes 6d11683125ed2698e453e54727cfe7c3817785abfd1fa774ca6a2ffbad86dc0c [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-07-31T02:49:31.916Z] provisioning config files... [2024-07-31T02:49:31.932Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7355686583983265718tmp [Pipeline] { [Pipeline] sh [2024-07-31T02:49:32.272Z] + set +x [2024-07-31T02:49:32.272Z] + curl -s https://codecov.io/bash [2024-07-31T02:49:32.272Z] + bash -s -- [2024-07-31T02:49:32.272Z] [2024-07-31T02:49:32.272Z] _____ _ [2024-07-31T02:49:32.272Z] / ____| | | [2024-07-31T02:49:32.272Z] | | ___ __| | ___ ___ _____ __ [2024-07-31T02:49:32.272Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-07-31T02:49:32.272Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-07-31T02:49:32.272Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-07-31T02:49:32.272Z] Bash-1.0.6 [2024-07-31T02:49:32.272Z] [2024-07-31T02:49:32.272Z] [2024-07-31T02:49:32.272Z] ==> git version 2.25.1 found [2024-07-31T02:49:32.272Z] ==> 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-07-31T02:49:32.272Z] Release-Date: 2020-01-08 [2024-07-31T02:49:32.272Z] 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-07-31T02:49:32.272Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-07-31T02:49:32.272Z] ==> Jenkins CI detected. [2024-07-31T02:49:32.272Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2024-07-31T02:49:32.272Z] project root: . [2024-07-31T02:49:32.272Z] --> token set from env [2024-07-31T02:49:32.272Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-07-31T02:49:32.272Z] ==> Running gcov in . (disable via -X gcov) [2024-07-31T02:49:32.272Z] ==> Python coveragepy not found [2024-07-31T02:49:32.272Z] ==> Searching for coverage reports in: [2024-07-31T02:49:32.272Z] + . [2024-07-31T02:49:32.272Z] -> Found 1 reports [2024-07-31T02:49:32.272Z] ==> Detecting git/mercurial file structure [2024-07-31T02:49:32.272Z] ==> Reading reports [2024-07-31T02:49:32.272Z] + ./coverage.out bytes=14499 [2024-07-31T02:49:32.272Z] ==> Appending adjustments [2024-07-31T02:49:32.272Z] https://docs.codecov.io/docs/fixing-reports [2024-07-31T02:49:32.540Z] + Found adjustments [2024-07-31T02:49:32.540Z] ==> Gzipping contents [2024-07-31T02:49:32.540Z] 4.0K /tmp/codecov.1vU7Yi.gz [2024-07-31T02:49:32.540Z] ==> Uploading reports [2024-07-31T02:49:32.540Z] url: https://codecov.io [2024-07-31T02:49:32.540Z] query: branch=main&commit=6d0ab58f28452a8136c6dc245895717e20b3b293&build=171&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F171%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-31T02:49:32.540Z] -> Pinging Codecov [2024-07-31T02:49:32.541Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=6d0ab58f28452a8136c6dc245895717e20b3b293&build=171&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F171%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-07-31T02:49:32.541Z] -> Uploading to [2024-07-31T02:49:32.541Z] https://storage.googleapis.com/codecov/v4/raw/2024-07-31/4E5D53B4F1F92C436F7061BF334D961C/6d0ab58f28452a8136c6dc245895717e20b3b293/8bd92fe8-a74f-4d65-86ba-28ea23042f85.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1E5YTIQF4NUDJHIPRXCW6SWPNHIWXR6YCTGFLBKZTWXKPGHK3U3FMCQWA%2F20240731%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240731T024932Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8086c2e7ccfef329a616f3b47bd96f62fbbb7d651e7767df7003222527646aeb [2024-07-31T02:49:32.541Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-07-31T02:49:32.541Z] Dload Upload Total Spent Left Speed [2024-07-31T02:49:32.818Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 11321 --:--:-- --:--:-- --:--:-- 11266 100 2321 0 0 100 2321 0 9173 --:--:-- --:--:-- --:--:-- 9137 [2024-07-31T02:49:32.818Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] } [2024-07-31T02:49:32.834Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-07-31T02:49:32.992Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-07-31T02:49:33.007Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:49:33.358Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-31T02:49:33.358Z] [2024-07-31T02:49:33.358Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:49:33.663Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-31T02:49:33.664Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-07-31T02:49:33.664Z] 619be1103602: Already exists [2024-07-31T02:49:33.664Z] f8ea3408117e: Pulling fs layer [2024-07-31T02:49:33.664Z] 91320369b822: Pulling fs layer [2024-07-31T02:49:33.664Z] 0406650e8295: Pulling fs layer [2024-07-31T02:49:33.664Z] 4f4fb700ef54: Pulling fs layer [2024-07-31T02:49:33.664Z] 96d80e3f36e1: Pulling fs layer [2024-07-31T02:49:33.664Z] bcf3aedb951c: Pulling fs layer [2024-07-31T02:49:33.664Z] 96d80e3f36e1: Waiting [2024-07-31T02:49:33.664Z] bcf3aedb951c: Waiting [2024-07-31T02:49:33.664Z] 4f4fb700ef54: Waiting [2024-07-31T02:49:33.664Z] 0406650e8295: Verifying Checksum [2024-07-31T02:49:33.664Z] 0406650e8295: Download complete [2024-07-31T02:49:33.664Z] f8ea3408117e: Verifying Checksum [2024-07-31T02:49:33.664Z] f8ea3408117e: Download complete [2024-07-31T02:49:33.664Z] 4f4fb700ef54: Verifying Checksum [2024-07-31T02:49:33.664Z] 4f4fb700ef54: Download complete [2024-07-31T02:49:33.924Z] f8ea3408117e: Pull complete [2024-07-31T02:49:33.924Z] 96d80e3f36e1: Verifying Checksum [2024-07-31T02:49:33.924Z] 96d80e3f36e1: Download complete [2024-07-31T02:49:34.185Z] 91320369b822: Verifying Checksum [2024-07-31T02:49:34.185Z] 91320369b822: Download complete [2024-07-31T02:49:34.751Z] bcf3aedb951c: Verifying Checksum [2024-07-31T02:49:34.751Z] bcf3aedb951c: Download complete [2024-07-31T02:49:38.084Z] 91320369b822: Pull complete [2024-07-31T02:49:38.085Z] 0406650e8295: Pull complete [2024-07-31T02:49:38.085Z] 4f4fb700ef54: Pull complete [2024-07-31T02:49:38.343Z] 96d80e3f36e1: Pull complete [2024-07-31T02:49:41.628Z] bcf3aedb951c: Pull complete [2024-07-31T02:49:41.628Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-07-31T02:49:41.628Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-07-31T02:49:41.628Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:49:41.731Z] prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container [2024-07-31T02:49:41.758Z] $ 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-07-31T02:49:51.715Z] $ docker top 99022ade1e85918971d9b93c5d45be2c3bc116cc03d41fd16f27ff2257a41045 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:49:52.073Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] echo [2024-07-31T02:49:52.082Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2024-07-31T02:49:52.359Z] + set -o pipefail [2024-07-31T02:49:52.359Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2024-07-31T02:49:58.927Z] [2024-07-31T02:49:58.927Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2024-07-31T02:49:58.927Z] [2024-07-31T02:49:58.927Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/9d7b2b31-f697-4750-913c-575a35a00c1a/history/69c6a5e9-411c-47eb-a2d5-abc69e1e6737 [2024-07-31T02:49:58.927Z] [2024-07-31T02:49:58.927Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2024-07-31T02:49:58.927Z] [2024-07-31T02:49:58.927Z] [2024-07-31T02:49:58.927Z] You have reached your monthly limit of 401 private tests for your edgex-jenkins org. [2024-07-31T02:49:58.927Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2024-07-31T02:49:58.935Z] $ docker stop --time=1 99022ade1e85918971d9b93c5d45be2c3bc116cc03d41fd16f27ff2257a41045 [2024-07-31T02:50:04.192Z] $ docker rm -f --volumes 99022ade1e85918971d9b93c5d45be2c3bc116cc03d41fd16f27ff2257a41045 [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-07-31T02:50:05.107Z] + git log --format=format:%s -1 6d0ab58f28452a8136c6dc245895717e20b3b293 [Pipeline] sh [2024-07-31T02:50:05.398Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:50:05.398Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:50:05.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:50:05.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:50:05.790Z] prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container [2024-07-31T02:50:05.818Z] $ 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-07-31T02:50:06.420Z] $ docker top cecd202b250339a5db92e7ea00106a3264bcf5d1a8ceefc552761af5dbf40185 -eo pid,comm [2024-07-31T02:50:06.469Z] 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-07-31T02:50:06.469Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:50:06.545Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:50:06.545Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:50:06.652Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:50:06.652Z] $ docker exec cecd202b250339a5db92e7ea00106a3264bcf5d1a8ceefc552761af5dbf40185 ssh-agent [2024-07-31T02:50:06.760Z] SSH_AUTH_SOCK=/tmp/ssh-LHvaL0sinyUj/agent.32 [2024-07-31T02:50:06.760Z] SSH_AGENT_PID=38 [2024-07-31T02:50:06.765Z] Running ssh-add (command line suppressed) [2024-07-31T02:50:06.863Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_935848825544441271.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_935848825544441271.key) [2024-07-31T02:50:06.878Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:50:07.176Z] + git semver tag [2024-07-31T02:50:07.434Z] 2024-07-31 02:50:07,392 [run_tag] DEBUG tag force:False [2024-07-31T02:50:07.434Z] 2024-07-31 02:50:07,392 [check_head_tag] DEBUG check head tag [2024-07-31T02:50:07.434Z] 2024-07-31 02:50:07,393 [execute] INFO git cat-file --batch-check [2024-07-31T02:50:07.434Z] 2024-07-31 02:50:07,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-07-31T02:50:07.434Z] 2024-07-31 02:50:07,397 [execute] INFO git cat-file --batch [2024-07-31T02:50:07.434Z] 2024-07-31 02:50:07,397 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2024-07-31T02:50:07.434Z] 2024-07-31 02:50:07,422 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-31T02:50:07.434Z] 2024-07-31 02:50:07,422 [execute] INFO git tag -a v3.2.0-dev.19 -m v3.2.0-dev.19 [2024-07-31T02:50:07.434Z] 2024-07-31 02:50:07,423 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.19', '-m', 'v3.2.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2024-07-31T02:50:07.434Z] 2024-07-31 02:50:07,429 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-31T02:50:07.434Z] 3.2.0-dev.19 [Pipeline] } [2024-07-31T02:50:07.697Z] $ docker exec --env ******** --env ******** cecd202b250339a5db92e7ea00106a3264bcf5d1a8ceefc552761af5dbf40185 ssh-agent -k [2024-07-31T02:50:07.795Z] unset SSH_AUTH_SOCK; [2024-07-31T02:50:07.796Z] unset SSH_AGENT_PID; [2024-07-31T02:50:07.796Z] echo Agent pid 38 killed; [2024-07-31T02:50:07.807Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:50:08.135Z] + git semver [Pipeline] } [2024-07-31T02:50:08.402Z] $ docker stop --time=1 cecd202b250339a5db92e7ea00106a3264bcf5d1a8ceefc552761af5dbf40185 [2024-07-31T02:50:09.673Z] $ docker rm -f --volumes cecd202b250339a5db92e7ea00106a3264bcf5d1a8ceefc552761af5dbf40185 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:50:10.096Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-31T02:50:10.096Z] [2024-07-31T02:50:10.096Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:50:10.395Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-31T02:50:10.395Z] 0.23.1-centos7: Pulling from edgex-lftools [2024-07-31T02:50:10.395Z] ab5ef0e58194: Pulling fs layer [2024-07-31T02:50:10.395Z] 9712f1f96733: Pulling fs layer [2024-07-31T02:50:10.395Z] 63f879dbbcfc: Pulling fs layer [2024-07-31T02:50:10.395Z] 0d9ebad4ef96: Pulling fs layer [2024-07-31T02:50:10.395Z] e9a5061849ea: Pulling fs layer [2024-07-31T02:50:10.395Z] d747dcd14b5f: Pulling fs layer [2024-07-31T02:50:10.395Z] 2de7ff778b66: Pulling fs layer [2024-07-31T02:50:10.395Z] d747dcd14b5f: Waiting [2024-07-31T02:50:10.395Z] e9a5061849ea: Waiting [2024-07-31T02:50:10.395Z] 2de7ff778b66: Waiting [2024-07-31T02:50:10.395Z] 0d9ebad4ef96: Waiting [2024-07-31T02:50:10.395Z] 9712f1f96733: Verifying Checksum [2024-07-31T02:50:10.395Z] 9712f1f96733: Download complete [2024-07-31T02:50:10.656Z] 63f879dbbcfc: Verifying Checksum [2024-07-31T02:50:10.656Z] 63f879dbbcfc: Download complete [2024-07-31T02:50:10.915Z] e9a5061849ea: Verifying Checksum [2024-07-31T02:50:10.915Z] e9a5061849ea: Download complete [2024-07-31T02:50:10.915Z] d747dcd14b5f: Verifying Checksum [2024-07-31T02:50:10.915Z] d747dcd14b5f: Download complete [2024-07-31T02:50:10.915Z] 0d9ebad4ef96: Verifying Checksum [2024-07-31T02:50:10.915Z] 0d9ebad4ef96: Download complete [2024-07-31T02:50:10.915Z] ab5ef0e58194: Verifying Checksum [2024-07-31T02:50:10.915Z] ab5ef0e58194: Download complete [2024-07-31T02:50:10.915Z] 2de7ff778b66: Verifying Checksum [2024-07-31T02:50:10.915Z] 2de7ff778b66: Download complete [2024-07-31T02:50:13.663Z] ab5ef0e58194: Pull complete [2024-07-31T02:50:13.663Z] 9712f1f96733: Pull complete [2024-07-31T02:50:14.248Z] 63f879dbbcfc: Pull complete [2024-07-31T02:50:18.439Z] 0d9ebad4ef96: Pull complete [2024-07-31T02:50:18.439Z] e9a5061849ea: Pull complete [2024-07-31T02:50:18.439Z] d747dcd14b5f: Pull complete [2024-07-31T02:50:19.374Z] 2de7ff778b66: Pull complete [2024-07-31T02:50:19.375Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2024-07-31T02:50:19.633Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2024-07-31T02:50:19.633Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:50:19.740Z] prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container [2024-07-31T02:50:19.770Z] $ 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-07-31T02:50:26.800Z] $ docker top e468a98f9ce1b5614f3b43cf3d823f17ff433ff5a5001899103c7646114636b7 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:50:26.887Z] provisioning config files... [2024-07-31T02:50:26.897Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17198843592928411227tmp [2024-07-31T02:50:26.907Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12932747915127982252tmp [2024-07-31T02:50:26.915Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config715252693760822540tmp [Pipeline] { [Pipeline] echo [2024-07-31T02:50:26.994Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:27.293Z] ---> sigul-configuration.sh [2024-07-31T02:50:27.293Z] gpg: directory `/root/.gnupg' created [2024-07-31T02:50:27.293Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2024-07-31T02:50:27.293Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2024-07-31T02:50:27.293Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2024-07-31T02:50:27.293Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2024-07-31T02:50:27.293Z] gpg: CAST5 encrypted data [2024-07-31T02:50:27.293Z] gpg: encrypted with 1 passphrase [2024-07-31T02:50:27.293Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2024-07-31T02:50:27.592Z] + mkdir /home/jenkins [2024-07-31T02:50:27.592Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2024-07-31T02:50:27.892Z] + 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-07-31T02:50:27.905Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:28.196Z] ---> sigul-install.sh [2024-07-31T02:50:28.196Z] Sigul already installed; skipping installation. [Pipeline] sh [2024-07-31T02:50:28.496Z] + git tag --list [2024-07-31T02:50:28.496Z] v1.0.0 [2024-07-31T02:50:28.496Z] v1.1.0 [2024-07-31T02:50:28.496Z] v1.1.1 [2024-07-31T02:50:28.496Z] v1.1.2 [2024-07-31T02:50:28.496Z] v1.2.0 [2024-07-31T02:50:28.496Z] v1.2.1 [2024-07-31T02:50:28.497Z] v2.0.0 [2024-07-31T02:50:28.497Z] v2.1.0 [2024-07-31T02:50:28.497Z] v2.1.1 [2024-07-31T02:50:28.497Z] v2.2.0 [2024-07-31T02:50:28.497Z] v2.3.0 [2024-07-31T02:50:28.497Z] v3.0 [2024-07-31T02:50:28.497Z] v3.0.0 [2024-07-31T02:50:28.497Z] v3.1 [2024-07-31T02:50:28.497Z] v3.1.0 [2024-07-31T02:50:28.497Z] v3.1.0-dev.1 [2024-07-31T02:50:28.497Z] v3.1.0-dev.10 [2024-07-31T02:50:28.497Z] v3.1.0-dev.11 [2024-07-31T02:50:28.497Z] v3.1.0-dev.12 [2024-07-31T02:50:28.497Z] v3.1.0-dev.13 [2024-07-31T02:50:28.497Z] v3.1.0-dev.14 [2024-07-31T02:50:28.497Z] v3.1.0-dev.15 [2024-07-31T02:50:28.497Z] v3.1.0-dev.16 [2024-07-31T02:50:28.497Z] v3.1.0-dev.17 [2024-07-31T02:50:28.497Z] v3.1.0-dev.18 [2024-07-31T02:50:28.497Z] v3.1.0-dev.19 [2024-07-31T02:50:28.497Z] v3.1.0-dev.2 [2024-07-31T02:50:28.497Z] v3.1.0-dev.20 [2024-07-31T02:50:28.497Z] v3.1.0-dev.21 [2024-07-31T02:50:28.497Z] v3.1.0-dev.22 [2024-07-31T02:50:28.497Z] v3.1.0-dev.23 [2024-07-31T02:50:28.497Z] v3.1.0-dev.24 [2024-07-31T02:50:28.497Z] v3.1.0-dev.25 [2024-07-31T02:50:28.497Z] v3.1.0-dev.26 [2024-07-31T02:50:28.497Z] v3.1.0-dev.27 [2024-07-31T02:50:28.497Z] v3.1.0-dev.28 [2024-07-31T02:50:28.497Z] v3.1.0-dev.29 [2024-07-31T02:50:28.497Z] v3.1.0-dev.3 [2024-07-31T02:50:28.497Z] v3.1.0-dev.30 [2024-07-31T02:50:28.497Z] v3.1.0-dev.31 [2024-07-31T02:50:28.497Z] v3.1.0-dev.32 [2024-07-31T02:50:28.497Z] v3.1.0-dev.4 [2024-07-31T02:50:28.497Z] v3.1.0-dev.5 [2024-07-31T02:50:28.497Z] v3.1.0-dev.6 [2024-07-31T02:50:28.497Z] v3.1.0-dev.7 [2024-07-31T02:50:28.497Z] v3.1.0-dev.8 [2024-07-31T02:50:28.497Z] v3.1.0-dev.9 [2024-07-31T02:50:28.497Z] v3.1.1 [2024-07-31T02:50:28.497Z] v3.2.0-dev.1 [2024-07-31T02:50:28.497Z] v3.2.0-dev.10 [2024-07-31T02:50:28.497Z] v3.2.0-dev.11 [2024-07-31T02:50:28.497Z] v3.2.0-dev.12 [2024-07-31T02:50:28.497Z] v3.2.0-dev.13 [2024-07-31T02:50:28.497Z] v3.2.0-dev.14 [2024-07-31T02:50:28.497Z] v3.2.0-dev.15 [2024-07-31T02:50:28.497Z] v3.2.0-dev.16 [2024-07-31T02:50:28.497Z] v3.2.0-dev.17 [2024-07-31T02:50:28.497Z] v3.2.0-dev.18 [2024-07-31T02:50:28.497Z] v3.2.0-dev.19 [2024-07-31T02:50:28.497Z] v3.2.0-dev.2 [2024-07-31T02:50:28.497Z] v3.2.0-dev.3 [2024-07-31T02:50:28.497Z] v3.2.0-dev.4 [2024-07-31T02:50:28.497Z] v3.2.0-dev.5 [2024-07-31T02:50:28.497Z] v3.2.0-dev.6 [2024-07-31T02:50:28.497Z] v3.2.0-dev.7 [2024-07-31T02:50:28.497Z] v3.2.0-dev.8 [2024-07-31T02:50:28.497Z] v3.2.0-dev.9 [Pipeline] sh [2024-07-31T02:50:28.832Z] + lftools sign git-tag v3.2.0-dev.19 [2024-07-31T02:50:29.400Z] Signing Git tag with Sigul... [2024-07-31T02:50:29.400Z] Signing v3.2.0-dev.19 [Pipeline] echo [2024-07-31T02:50:29.674Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:29.965Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2024-07-31T02:50:29.973Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2024-07-31T02:50:29.999Z] $ docker stop --time=1 e468a98f9ce1b5614f3b43cf3d823f17ff433ff5a5001899103c7646114636b7 [2024-07-31T02:50:31.286Z] $ docker rm -f --volumes e468a98f9ce1b5614f3b43cf3d823f17ff433ff5a5001899103c7646114636b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2024-07-31T02:50:31.767Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:50:31.767Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:50:32.082Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:50:32.083Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:50:32.168Z] prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container [2024-07-31T02:50:32.197Z] $ 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-07-31T02:50:32.544Z] $ docker top 7a1a0e164be0fcb7743f04957a4987d0c671e0e9ab515d6f16e1727b3804cce8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:50:32.654Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:50:32.655Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:50:32.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:50:32.757Z] $ docker exec 7a1a0e164be0fcb7743f04957a4987d0c671e0e9ab515d6f16e1727b3804cce8 ssh-agent [2024-07-31T02:50:32.867Z] SSH_AUTH_SOCK=/tmp/ssh-hGJsSLDWcE61/agent.31 [2024-07-31T02:50:32.867Z] SSH_AGENT_PID=37 [2024-07-31T02:50:32.870Z] Running ssh-add (command line suppressed) [2024-07-31T02:50:32.978Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9159092183565447143.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9159092183565447143.key) [2024-07-31T02:50:32.993Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:50:33.289Z] + git semver bump pre [2024-07-31T02:50:33.548Z] 2024-07-31 02:50:33,467 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-31T02:50:33.548Z] 2024-07-31 02:50:33,467 [bump_version] DEBUG bumping version:3.2.0-dev.19 on axis:pre with prefix:dev [2024-07-31T02:50:33.548Z] 2024-07-31 02:50:33,467 [bump_version] DEBUG bumped version:3.2.0-dev.20 [2024-07-31T02:50:33.548Z] 2024-07-31 02:50:33,467 [write_version] DEBUG write version:3.2.0-dev.20 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2024-07-31T02:50:33.548Z] 2024-07-31 02:50:33,467 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-31T02:50:33.548Z] 2024-07-31 02:50:33,468 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-31T02:50:33.548Z] 2024-07-31 02:50:33,469 [execute] INFO git cat-file --batch-check [2024-07-31T02:50:33.548Z] 2024-07-31 02:50:33,469 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T02:50:33.548Z] 2024-07-31 02:50:33,475 [execute] INFO git cat-file --batch [2024-07-31T02:50:33.548Z] 2024-07-31 02:50:33,475 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T02:50:33.548Z] 2024-07-31 02:50:33,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-31T02:50:33.548Z] 3.2.0-dev.20 [Pipeline] } [2024-07-31T02:50:33.554Z] $ docker exec --env ******** --env ******** 7a1a0e164be0fcb7743f04957a4987d0c671e0e9ab515d6f16e1727b3804cce8 ssh-agent -k [2024-07-31T02:50:33.651Z] unset SSH_AUTH_SOCK; [2024-07-31T02:50:33.651Z] unset SSH_AGENT_PID; [2024-07-31T02:50:33.651Z] echo Agent pid 37 killed; [2024-07-31T02:50:33.663Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:50:33.993Z] + git semver [Pipeline] } [2024-07-31T02:50:34.263Z] $ docker stop --time=1 7a1a0e164be0fcb7743f04957a4987d0c671e0e9ab515d6f16e1727b3804cce8 [2024-07-31T02:50:35.504Z] $ docker rm -f --volumes 7a1a0e164be0fcb7743f04957a4987d0c671e0e9ab515d6f16e1727b3804cce8 [Pipeline] // withDockerContainer [Pipeline] sh [2024-07-31T02:50:35.858Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-07-31T02:50:35.858Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:50:36.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-07-31T02:50:36.173Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:50:36.257Z] prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container [2024-07-31T02:50:36.283Z] $ 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-07-31T02:50:36.596Z] $ docker top 40efa707d96b9d28bee71d61e4ed66767787268ad9fc9027a3998d4a7b8c7481 -eo pid,comm [2024-07-31T02:50:36.653Z] 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-07-31T02:50:36.653Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-07-31T02:50:36.714Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-07-31T02:50:36.714Z] [ssh-agent] Looking for ssh-agent implementation... [2024-07-31T02:50:36.816Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-07-31T02:50:36.816Z] $ docker exec 40efa707d96b9d28bee71d61e4ed66767787268ad9fc9027a3998d4a7b8c7481 ssh-agent [2024-07-31T02:50:36.936Z] SSH_AUTH_SOCK=/tmp/ssh-4TMkXOytTaxW/agent.31 [2024-07-31T02:50:36.936Z] SSH_AGENT_PID=37 [2024-07-31T02:50:36.940Z] Running ssh-add (command line suppressed) [2024-07-31T02:50:37.047Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6343945065040836315.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6343945065040836315.key) [2024-07-31T02:50:37.064Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-07-31T02:50:37.356Z] + git semver push [2024-07-31T02:50:37.616Z] 2024-07-31 02:50:37,514 [run_push] DEBUG push [2024-07-31T02:50:37.616Z] 2024-07-31 02:50:37,515 [execute] INFO git cat-file --batch-check [2024-07-31T02:50:37.616Z] 2024-07-31 02:50:37,515 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2024-07-31T02:50:37.616Z] 2024-07-31 02:50:37,517 [execute] INFO git rev-list 35970c2a0bbba75fec223ee24a7d0b4ca605e1d0 -- [2024-07-31T02:50:37.616Z] 2024-07-31 02:50:37,518 [execute] DEBUG Popen(['git', 'rev-list', '35970c2a0bbba75fec223ee24a7d0b4ca605e1d0', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-31T02:50:37.616Z] 2024-07-31 02:50:37,525 [execute] INFO git fetch -v origin [2024-07-31T02:50:37.616Z] 2024-07-31 02:50:37,525 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2024-07-31T02:50:38.195Z] 2024-07-31 02:50:37,973 [run_push] DEBUG no remote changes detected [2024-07-31T02:50:38.195Z] 2024-07-31 02:50:37,974 [execute] INFO git push origin semver [2024-07-31T02:50:38.195Z] 2024-07-31 02:50:37,974 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2024-07-31T02:50:38.764Z] 2024-07-31 02:50:38,690 [run_push] DEBUG push all version tags [2024-07-31T02:50:38.764Z] 2024-07-31 02:50:38,691 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2024-07-31T02:50:38.764Z] 2024-07-31 02:50:38,691 [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-07-31T02:50:39.700Z] 2024-07-31 02:50:39,439 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2024-07-31T02:50:39.700Z] 3.2.0-dev.20 [Pipeline] } [2024-07-31T02:50:39.705Z] $ docker exec --env ******** --env ******** 40efa707d96b9d28bee71d61e4ed66767787268ad9fc9027a3998d4a7b8c7481 ssh-agent -k [2024-07-31T02:50:39.794Z] unset SSH_AUTH_SOCK; [2024-07-31T02:50:39.794Z] unset SSH_AGENT_PID; [2024-07-31T02:50:39.794Z] echo Agent pid 37 killed; [2024-07-31T02:50:39.810Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-07-31T02:50:40.138Z] + git semver [Pipeline] } [2024-07-31T02:50:40.405Z] $ docker stop --time=1 40efa707d96b9d28bee71d61e4ed66767787268ad9fc9027a3998d4a7b8c7481 [2024-07-31T02:50:41.763Z] $ docker rm -f --volumes 40efa707d96b9d28bee71d61e4ed66767787268ad9fc9027a3998d4a7b8c7481 [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-07-31T02:50:42.423Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2024-07-31T02:50:42.423Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-07-31T02:50:42.423Z] total 16 [2024-07-31T02:50:42.423Z] drwxr-xr-x 3 root root 4096 Jul 31 02:34 . [2024-07-31T02:50:42.423Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 02:50 .. [2024-07-31T02:50:42.423Z] drwxr-xr-x 2 root root 4096 Jul 31 02:34 cost [2024-07-31T02:50:42.423Z] -rw-r--r-- 1 root root 86 Jul 31 02:34 cost.csv [2024-07-31T02:50:42.423Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-07-31T02:50:42.423Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2024-07-31T02:50:42.423Z] total 16 [2024-07-31T02:50:42.423Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 31 02:34 . [2024-07-31T02:50:42.423Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 31 02:50 .. [2024-07-31T02:50:42.423Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 31 02:34 cost [2024-07-31T02:50:42.423Z] -rw-r--r-- 1 jenkins jenkins 86 Jul 31 02:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:42.716Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:43.579Z] ---> package-listing.sh [2024-07-31T02:50:43.579Z] ++ facter osfamily [2024-07-31T02:50:43.579Z] ++ tr '[:upper:]' '[:lower:]' [2024-07-31T02:50:43.841Z] + OS_FAMILY=debian [2024-07-31T02:50:43.841Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2024-07-31T02:50:43.841Z] + START_PACKAGES=/tmp/packages_start.txt [2024-07-31T02:50:43.841Z] + END_PACKAGES=/tmp/packages_end.txt [2024-07-31T02:50:43.841Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-07-31T02:50:43.841Z] + PACKAGES=/tmp/packages_start.txt [2024-07-31T02:50:43.841Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-07-31T02:50:43.841Z] + PACKAGES=/tmp/packages_end.txt [2024-07-31T02:50:43.841Z] + case "${OS_FAMILY}" in [2024-07-31T02:50:43.841Z] + grep '^ii' [2024-07-31T02:50:43.841Z] + dpkg -l [2024-07-31T02:50:43.841Z] + '[' -f /tmp/packages_start.txt ']' [2024-07-31T02:50:43.841Z] + '[' -f /tmp/packages_end.txt ']' [2024-07-31T02:50:43.841Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-07-31T02:50:43.841Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2024-07-31T02:50:43.841Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2024-07-31T02:50:43.841Z] + 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-07-31T02:50:43.852Z] 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-07-31T02:50:45.864Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-07-31T02:50:46.170Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-07-31T02:50:46.170Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-07-31T02:50:46.258Z] prd-ubuntu20.04-docker-8c-8g-6810 does not seem to be running inside a container [2024-07-31T02:50:46.290Z] $ 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-07-31T02:50:46.495Z] $ docker top eebd45e4686db545209efc239b04146def153ef894fe4a937417b9d90cf6850e -eo pid,comm [Pipeline] { [Pipeline] sh [2024-07-31T02:50:46.857Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-07-31T02:50:47.145Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-07-31T02:50:47.438Z] + ls /var/log/sa-host [2024-07-31T02:50:47.439Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-07-31T02:50:47.535Z] provisioning config files... [2024-07-31T02:50:47.544Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5027315441562518230tmp [Pipeline] { [Pipeline] echo [2024-07-31T02:50:47.563Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:47.843Z] ---> create-netrc.sh [Pipeline] } [2024-07-31T02:50:47.851Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:48.186Z] ---> python-tools-install.sh [Pipeline] echo [2024-07-31T02:50:48.194Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:48.474Z] ---> sudo-logs.sh [2024-07-31T02:50:48.475Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-07-31T02:50:48.507Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:48.786Z] ---> job-cost.sh [2024-07-31T02:50:48.787Z] lf-activate-venv: SKIPPING [2024-07-31T02:50:48.787Z] DEBUG: total: 0.2199999988079071 [2024-07-31T02:50:48.787Z] INFO: Retrieving Stack Cost... [2024-07-31T02:50:49.047Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-07-31T02:50:49.306Z] INFO: Archiving Costs [Pipeline] echo [2024-07-31T02:50:49.318Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-07-31T02:50:49.597Z] ---> logs-deploy.sh [2024-07-31T02:50:49.597Z] lf-activate-venv: SKIPPING [2024-07-31T02:50:49.597Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/171 [2024-07-31T02:50:49.597Z] INFO: archiving workspace using pattern(s): [2024-07-31T02:50:50.537Z] Archives upload complete. [2024-07-31T02:50:50.538Z] INFO: archiving logs to Nexus